@luck-design-biz/luckda 0.0.25-10 → 0.0.25-12

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 (436) hide show
  1. package/LICENSE +21 -21
  2. package/README.md +40 -40
  3. package/es/components/LDActions/index.less +68 -68
  4. package/es/components/LdAutoForm/index.js +24 -2
  5. package/es/components/LdFormList/index.js +4 -2
  6. package/es/components/LdGrid/index.js +6 -5
  7. package/es/components/LdGridForm/index.js +5 -1
  8. package/es/components/LdGridForm/index.less +7 -7
  9. package/es/components/LdTree/index.js +27 -5
  10. package/es/components/LdTree/index.less +40 -40
  11. package/es/helper/action.js +6 -6
  12. package/es/helper/form.js +15 -15
  13. package/es/helper/index.less +7 -7
  14. package/es/index.js +0 -1
  15. package/es/lowcode/constants/api-url.js +84 -84
  16. package/es/lowcode/constants/event-topics.js +1 -0
  17. package/es/lowcode/engine/factory/panel-item-factory/StringStrategy.js +1 -1
  18. package/es/lowcode/engine/launcher.js +5 -0
  19. package/es/lowcode/engine/meta/box.props.default.json +1 -1
  20. package/es/lowcode/engine/meta/box.props.json +1 -1
  21. package/es/lowcode/engine/meta/components-list.json +6 -6
  22. package/es/lowcode/engine/meta/fieldcolor.props.json +9 -3
  23. package/es/lowcode/engine/meta/fieldcomplex.props.json +7 -1
  24. package/es/lowcode/engine/meta/fielddatadic.props.default.json +16 -0
  25. package/es/lowcode/engine/meta/fielddatadic.props.json +73 -0
  26. package/es/lowcode/engine/meta/fielddate.props.json +7 -1
  27. package/es/lowcode/engine/meta/fielddict.props.json +7 -1
  28. package/es/lowcode/engine/meta/fieldeditor.props.json +7 -1
  29. package/es/lowcode/engine/meta/fieldgroup.props.json +7 -1
  30. package/es/lowcode/engine/meta/fieldnumber.props.json +8 -2
  31. package/es/lowcode/engine/meta/fieldradio.props.json +9 -3
  32. package/es/lowcode/engine/meta/fieldregion.props.json +9 -3
  33. package/es/lowcode/engine/meta/fieldselect.props.json +9 -3
  34. package/es/lowcode/engine/meta/fieldstring.props.default.json +0 -4
  35. package/es/lowcode/engine/meta/fieldstring.props.json +14 -12
  36. package/es/lowcode/engine/meta/fieldswitch.props.json +8 -2
  37. package/es/lowcode/engine/meta/fieldtextarea.props.json +11 -5
  38. package/es/lowcode/engine/meta/fieldupload.props.json +8 -2
  39. package/es/lowcode/engine/meta/fielduser.props.json +7 -1
  40. package/es/lowcode/engine/meta/fieldyear.props.json +26 -3
  41. package/es/lowcode/engine/meta/form.props.json +22 -2
  42. package/es/lowcode/engine/meta/js-editor/auto-complete.json +17 -17
  43. package/es/lowcode/engine/meta/page.props.json +6 -6
  44. package/es/lowcode/engine/provider/ContextProvider/index.js +34 -34
  45. package/es/lowcode/engine/provider/RemoteSourceProvider.js +30 -8
  46. package/es/lowcode/engine/tools/dataProcess.js +76 -76
  47. package/es/lowcode/engine/tools/diff.js +5 -5
  48. package/es/lowcode/engine/tools/helper.js +60 -5
  49. package/es/lowcode/engine/tools/usePageDataStore.js +10 -5
  50. package/es/lowcode/index.js +1 -4
  51. package/es/lowcode/painter/Components.js +2 -2
  52. package/es/lowcode/painter/Design.js +4 -4
  53. package/es/lowcode/painter/DesignOperator.js +1 -1
  54. package/es/lowcode/painter/DesignToolbar.js +7 -4
  55. package/es/lowcode/painter/components/ActionBindModal.js +7 -1
  56. package/es/lowcode/painter/components/Collapse.js +26 -26
  57. package/es/lowcode/painter/components/ColorInput.js +24 -24
  58. package/es/lowcode/painter/components/ListEditor.js +24 -24
  59. package/es/lowcode/painter/components/NumberInput.js +28 -28
  60. package/es/lowcode/painter/components/PanelItem.js +24 -24
  61. package/es/lowcode/painter/components/PopConfirm.js +8 -8
  62. package/es/lowcode/painter/components/PopForm.js +27 -27
  63. package/es/lowcode/painter/components/RuleInput.js +30 -31
  64. package/es/lowcode/painter/components/SortBox.js +22 -22
  65. package/es/lowcode/painter/components/code-editor/BaseEditor.js +32 -32
  66. package/es/lowcode/painter/components/code-editor/CssEditor.js +25 -25
  67. package/es/lowcode/painter/components/code-editor/FullScreenEditor.js +23 -23
  68. package/es/lowcode/painter/components/code-editor/JSEditor.js +44 -34
  69. package/es/lowcode/painter/components/code-editor/JsonEditor.js +25 -25
  70. package/es/lowcode/painter/panel-section/ActionsEditor/index.js +3 -1
  71. package/es/lowcode/painter/panel-section/ComponentSelector.js +36 -0
  72. package/es/lowcode/painter/panel-section/I18nInput.js +2 -1
  73. package/es/lowcode/painter/panel-section/Icon.js +23 -23
  74. package/es/lowcode/painter/panel-section/IconSelector.js +16 -16
  75. package/es/lowcode/painter/panel-section/LayoutRatio.js +21 -21
  76. package/es/lowcode/painter/panel-section/SplitDisplay.js +3 -2
  77. package/es/lowcode/painter/panel-section/StylePanel/BackGround.js +2 -2
  78. package/es/lowcode/painter/panel-section/StylePanel/Border.js +2 -2
  79. package/es/lowcode/painter/panel-section/StylePanel/BorderRadius.js +2 -2
  80. package/es/lowcode/painter/panel-section/StylePanel/BorderRadiusSelector.js +2 -2
  81. package/es/lowcode/painter/panel-section/StylePanel/BorderSelector.js +2 -2
  82. package/es/lowcode/painter/panel-section/StylePanel/Display.js +2 -2
  83. package/es/lowcode/painter/panel-section/StylePanel/Font.js +2 -2
  84. package/es/lowcode/painter/panel-section/StylePanel/FontEditor.js +2 -2
  85. package/es/lowcode/painter/panel-section/StylePanel/GapSelector.js +2 -2
  86. package/es/lowcode/painter/panel-section/StylePanel/HighLightPanel.js +2 -2
  87. package/es/lowcode/painter/panel-section/StylePanel/HighLigthtSpan.js +2 -2
  88. package/es/lowcode/painter/panel-section/StylePanel/HightLightSvg.js +2 -2
  89. package/es/lowcode/painter/panel-section/StylePanel/MainPanel.js +2 -2
  90. package/es/lowcode/painter/panel-section/StylePanel/Margin.js +2 -2
  91. package/es/lowcode/painter/panel-section/StylePanel/Opacity.js +2 -2
  92. package/es/lowcode/painter/panel-section/StylePanel/Padding.js +2 -2
  93. package/es/lowcode/painter/panel-section/StylePanel/Pointer.js +2 -2
  94. package/es/lowcode/painter/panel-section/StylePanel/Shadow.js +2 -2
  95. package/es/lowcode/painter/panel-section/StylePanel/Size.js +2 -2
  96. package/es/lowcode/painter/panel-section/StylePanel/StyleContext.js +2 -2
  97. package/es/lowcode/painter/panel-section/StylePanel/StyleRow.js +2 -2
  98. package/es/lowcode/painter/panel-section/StylePanel/WidthHeight.js +2 -2
  99. package/es/lowcode/painter/panel-section/StylePanel/index.js +15 -15
  100. package/es/lowcode/painter/panel-section/TreeRootEditor.js +10 -2
  101. package/es/lowcode/painter/style/action-bind-modal.less +102 -102
  102. package/es/lowcode/painter/style/actions-editor.less +15 -15
  103. package/es/lowcode/painter/style/border-editor.less +36 -36
  104. package/es/lowcode/painter/style/border-radius-selector.less +42 -42
  105. package/es/lowcode/painter/style/border-selector.less +39 -39
  106. package/es/lowcode/painter/style/button-type.less +5 -5
  107. package/es/lowcode/painter/style/collapse.less +28 -28
  108. package/es/lowcode/painter/style/color-input.less +19 -19
  109. package/es/lowcode/painter/style/components.less +91 -91
  110. package/es/lowcode/painter/style/design.less +158 -152
  111. package/es/lowcode/painter/style/display.less +17 -17
  112. package/es/lowcode/painter/style/dragdrop.less +10 -10
  113. package/es/lowcode/painter/style/fields-setting.less +25 -25
  114. package/es/lowcode/painter/style/font-editor.less +9 -9
  115. package/es/lowcode/painter/style/fullscreen-editor.less +17 -17
  116. package/es/lowcode/painter/style/icon-selector.less +22 -22
  117. package/es/lowcode/painter/style/icon.less +10 -10
  118. package/es/lowcode/painter/style/impexp.less +7 -7
  119. package/es/lowcode/painter/style/index.less +6 -6
  120. package/es/lowcode/painter/style/layout-ratio.less +51 -51
  121. package/es/lowcode/painter/style/list-editor.less +95 -95
  122. package/es/lowcode/painter/style/number-input.less +17 -17
  123. package/es/lowcode/painter/style/outline.less +28 -28
  124. package/es/lowcode/painter/style/page-layout-display.less +27 -27
  125. package/es/lowcode/painter/style/panel-attrs.less +43 -43
  126. package/es/lowcode/painter/style/panel-item.less +54 -54
  127. package/es/lowcode/painter/style/panel.less +98 -98
  128. package/es/lowcode/painter/style/pop-confirm.less +17 -17
  129. package/es/lowcode/painter/style/pop-form.less +19 -19
  130. package/es/lowcode/painter/style/radio.less +24 -24
  131. package/es/lowcode/painter/style/ribbon.less +5 -5
  132. package/es/lowcode/painter/style/rule-input.less +12 -12
  133. package/es/lowcode/painter/style/split-display.less +18 -18
  134. package/es/lowcode/painter/style/style-panel.less +37 -37
  135. package/es/lowcode/painter/style/tabitems.less +90 -90
  136. package/es/lowcode/painter/style/treedragdrop.less +19 -19
  137. package/es/lowcode/view/Canvas.js +20 -6
  138. package/es/lowcode/view/Page.js +3 -4
  139. package/es/lowcode/view/lc-components/Box/FunctionDesign.js +7 -2
  140. package/es/lowcode/view/lc-components/Box/index.js +4 -4
  141. package/es/lowcode/view/lc-components/Box/index.less +14 -14
  142. package/es/lowcode/view/lc-components/Box/meta.json +40 -40
  143. package/es/lowcode/view/lc-components/Button/index.js +33 -33
  144. package/es/lowcode/view/lc-components/Button/meta.json +127 -127
  145. package/es/lowcode/view/lc-components/Button/style.less +2 -2
  146. package/es/lowcode/view/lc-components/CardList/meta.json +153 -153
  147. package/es/lowcode/view/lc-components/Dialog/index.js +19 -13
  148. package/es/lowcode/view/lc-components/Dialog/index.less +3 -3
  149. package/es/lowcode/view/lc-components/Dialog/meta.json +150 -150
  150. package/es/lowcode/view/lc-components/Drawer/index.js +15 -12
  151. package/es/lowcode/view/lc-components/Drawer/index.less +9 -9
  152. package/es/lowcode/view/lc-components/Drawer/meta.json +131 -131
  153. package/es/lowcode/view/lc-components/FieldColor/meta.json +69 -63
  154. package/es/lowcode/view/lc-components/FieldComplex/meta.json +45 -39
  155. package/es/lowcode/view/lc-components/FieldDate/meta.json +51 -45
  156. package/es/lowcode/view/lc-components/FieldDict/meta.json +50 -44
  157. package/es/lowcode/view/lc-components/FieldEditor/meta.json +50 -44
  158. package/es/lowcode/view/lc-components/FieldGroup/meta.json +79 -73
  159. package/es/lowcode/view/lc-components/FieldNumber/meta.json +54 -48
  160. package/es/lowcode/view/lc-components/FieldRadio/meta.json +26 -20
  161. package/es/lowcode/view/lc-components/FieldRegion/meta.json +32 -26
  162. package/es/lowcode/view/lc-components/FieldSelect/meta.json +64 -58
  163. package/es/lowcode/view/lc-components/FieldString/meta.json +64 -62
  164. package/es/lowcode/view/lc-components/FieldSwitch/meta.json +37 -31
  165. package/es/lowcode/view/lc-components/FieldTextarea/meta.json +55 -49
  166. package/es/lowcode/view/lc-components/FieldUpload/meta.json +77 -71
  167. package/es/lowcode/view/lc-components/FieldUser/meta.json +88 -82
  168. package/es/lowcode/view/lc-components/FieldYear/meta.json +41 -20
  169. package/es/lowcode/view/lc-components/Form/index.js +118 -25
  170. package/es/lowcode/view/lc-components/Form/index.less +4 -4
  171. package/es/lowcode/view/lc-components/Form/meta.json +616 -605
  172. package/es/lowcode/view/lc-components/Iframe/meta.json +32 -32
  173. package/es/lowcode/view/lc-components/ImEx/index.js +29 -29
  174. package/es/lowcode/view/lc-components/ImEx/index.less +7 -7
  175. package/es/lowcode/view/lc-components/ImEx/meta.json +113 -113
  176. package/es/lowcode/view/lc-components/Image/meta.json +114 -114
  177. package/es/{components/LdRuntimeCom/index.js → lowcode/view/lc-components/JSX/RuntimeComp.js} +12 -15
  178. package/es/lowcode/view/lc-components/JSX/index.js +5 -6
  179. package/es/lowcode/view/lc-components/JSX/meta.json +28 -28
  180. package/es/lowcode/view/lc-components/Layout/index.js +19 -17
  181. package/es/lowcode/view/lc-components/Layout/index.less +5 -5
  182. package/es/lowcode/view/lc-components/Layout/meta.json +107 -107
  183. package/es/lowcode/view/lc-components/Link/index.js +3 -0
  184. package/es/lowcode/view/lc-components/Link/meta.json +112 -112
  185. package/es/lowcode/view/lc-components/Page/meta.json +49 -49
  186. package/es/lowcode/view/lc-components/PageContent/index.js +3 -1
  187. package/es/lowcode/view/lc-components/PageContent/meta.json +9 -9
  188. package/es/lowcode/view/lc-components/PageFooter/index.js +3 -0
  189. package/es/lowcode/view/lc-components/PageFooter/meta.json +9 -9
  190. package/es/lowcode/view/lc-components/PageHeader/index.js +3 -0
  191. package/es/lowcode/view/lc-components/PageHeader/meta.json +9 -9
  192. package/es/lowcode/view/lc-components/PageLayout/index.js +3 -0
  193. package/es/lowcode/view/lc-components/PageLayout/meta.json +47 -47
  194. package/es/lowcode/view/lc-components/Section/index.js +6 -3
  195. package/es/lowcode/view/lc-components/Section/index.less +7 -7
  196. package/es/lowcode/view/lc-components/Section/meta.json +107 -107
  197. package/es/lowcode/view/lc-components/Split/index.js +3 -0
  198. package/es/lowcode/view/lc-components/Split/meta.json +53 -53
  199. package/es/lowcode/view/lc-components/Table/index.js +160 -167
  200. package/es/lowcode/view/lc-components/Table/meta.json +405 -405
  201. package/es/lowcode/view/lc-components/Tabs/index.js +49 -36
  202. package/es/lowcode/view/lc-components/Tabs/meta.json +113 -113
  203. package/es/lowcode/view/lc-components/Text/index.js +3 -0
  204. package/es/lowcode/view/lc-components/Text/meta.json +66 -66
  205. package/es/lowcode/view/lc-components/Tree/index.js +96 -96
  206. package/es/lowcode/view/lc-components/Tree/index.less +4 -4
  207. package/es/lowcode/view/lc-components/Tree/meta.json +363 -363
  208. package/es/lowcode/view/lc-components/Wrapper.js +1 -0
  209. package/es/lowcode/view/style/canvas.less +5 -5
  210. package/es/lowcode/view/style/loading.less +84 -84
  211. package/es/lowcode/view/style/page.less +7 -7
  212. package/es/upload/FilesWall/index.js +13 -13
  213. package/es/upload/FilesWall/index.less +74 -74
  214. package/es/upload/Form/index.less +7 -7
  215. package/es/upload/FormItem/index.js +15 -15
  216. package/es/utils/form.js +21 -21
  217. package/es/utils/grid.js +1 -1
  218. package/lib/components/LDActions/index.less +68 -68
  219. package/lib/components/LdAutoForm/index.js +23 -1
  220. package/lib/components/LdFormList/index.js +4 -2
  221. package/lib/components/LdGrid/index.js +6 -5
  222. package/lib/components/LdGridForm/index.js +5 -1
  223. package/lib/components/LdGridForm/index.less +7 -7
  224. package/lib/components/LdTree/index.js +25 -3
  225. package/lib/components/LdTree/index.less +40 -40
  226. package/lib/helper/action.js +6 -6
  227. package/lib/helper/form.js +15 -15
  228. package/lib/helper/index.less +7 -7
  229. package/lib/index.js +1 -9
  230. package/lib/lowcode/constants/api-url.js +84 -84
  231. package/lib/lowcode/constants/event-topics.js +2 -1
  232. package/lib/lowcode/engine/factory/panel-item-factory/StringStrategy.js +1 -1
  233. package/lib/lowcode/engine/launcher.js +11 -0
  234. package/lib/lowcode/engine/meta/box.props.default.json +1 -1
  235. package/lib/lowcode/engine/meta/box.props.json +1 -1
  236. package/lib/lowcode/engine/meta/components-list.json +6 -6
  237. package/lib/lowcode/engine/meta/fieldcolor.props.json +9 -3
  238. package/lib/lowcode/engine/meta/fieldcomplex.props.json +7 -1
  239. package/lib/lowcode/engine/meta/fielddatadic.props.default.json +16 -0
  240. package/lib/lowcode/engine/meta/fielddatadic.props.json +73 -0
  241. package/lib/lowcode/engine/meta/fielddate.props.json +7 -1
  242. package/lib/lowcode/engine/meta/fielddict.props.json +7 -1
  243. package/lib/lowcode/engine/meta/fieldeditor.props.json +7 -1
  244. package/lib/lowcode/engine/meta/fieldgroup.props.json +7 -1
  245. package/lib/lowcode/engine/meta/fieldnumber.props.json +8 -2
  246. package/lib/lowcode/engine/meta/fieldradio.props.json +9 -3
  247. package/lib/lowcode/engine/meta/fieldregion.props.json +9 -3
  248. package/lib/lowcode/engine/meta/fieldselect.props.json +9 -3
  249. package/lib/lowcode/engine/meta/fieldstring.props.default.json +0 -4
  250. package/lib/lowcode/engine/meta/fieldstring.props.json +14 -12
  251. package/lib/lowcode/engine/meta/fieldswitch.props.json +8 -2
  252. package/lib/lowcode/engine/meta/fieldtextarea.props.json +11 -5
  253. package/lib/lowcode/engine/meta/fieldupload.props.json +8 -2
  254. package/lib/lowcode/engine/meta/fielduser.props.json +7 -1
  255. package/lib/lowcode/engine/meta/fieldyear.props.json +26 -3
  256. package/lib/lowcode/engine/meta/form.props.json +22 -2
  257. package/lib/lowcode/engine/meta/js-editor/auto-complete.json +17 -17
  258. package/lib/lowcode/engine/meta/page.props.json +6 -6
  259. package/lib/lowcode/engine/provider/ContextProvider/index.js +34 -34
  260. package/lib/lowcode/engine/provider/RemoteSourceProvider.js +30 -8
  261. package/lib/lowcode/engine/tools/dataProcess.js +76 -76
  262. package/lib/lowcode/engine/tools/diff.js +5 -5
  263. package/lib/lowcode/engine/tools/helper.js +61 -4
  264. package/lib/lowcode/engine/tools/usePageDataStore.js +9 -4
  265. package/lib/lowcode/index.js +1 -5
  266. package/lib/lowcode/painter/Components.js +2 -2
  267. package/lib/lowcode/painter/Design.js +4 -4
  268. package/lib/lowcode/painter/DesignOperator.js +1 -1
  269. package/lib/lowcode/painter/DesignToolbar.js +7 -4
  270. package/lib/lowcode/painter/components/ActionBindModal.js +6 -0
  271. package/lib/lowcode/painter/components/Collapse.js +26 -26
  272. package/lib/lowcode/painter/components/ColorInput.js +24 -24
  273. package/lib/lowcode/painter/components/ListEditor.js +24 -24
  274. package/lib/lowcode/painter/components/NumberInput.js +28 -28
  275. package/lib/lowcode/painter/components/PanelItem.js +24 -24
  276. package/lib/lowcode/painter/components/PopConfirm.js +8 -8
  277. package/lib/lowcode/painter/components/PopForm.js +27 -27
  278. package/lib/lowcode/painter/components/RuleInput.js +30 -31
  279. package/lib/lowcode/painter/components/SortBox.js +22 -22
  280. package/lib/lowcode/painter/components/code-editor/BaseEditor.js +32 -32
  281. package/lib/lowcode/painter/components/code-editor/CssEditor.js +25 -25
  282. package/lib/lowcode/painter/components/code-editor/FullScreenEditor.js +23 -23
  283. package/lib/lowcode/painter/components/code-editor/JSEditor.js +44 -34
  284. package/lib/lowcode/painter/components/code-editor/JsonEditor.js +25 -25
  285. package/lib/lowcode/painter/panel-section/ActionsEditor/index.js +3 -1
  286. package/lib/lowcode/painter/panel-section/ComponentSelector.js +43 -0
  287. package/lib/lowcode/painter/panel-section/I18nInput.js +2 -1
  288. package/lib/lowcode/painter/panel-section/Icon.js +23 -23
  289. package/lib/lowcode/painter/panel-section/IconSelector.js +16 -16
  290. package/lib/lowcode/painter/panel-section/LayoutRatio.js +21 -21
  291. package/lib/lowcode/painter/panel-section/SplitDisplay.js +3 -2
  292. package/lib/lowcode/painter/panel-section/StylePanel/BackGround.js +2 -2
  293. package/lib/lowcode/painter/panel-section/StylePanel/Border.js +2 -2
  294. package/lib/lowcode/painter/panel-section/StylePanel/BorderRadius.js +2 -2
  295. package/lib/lowcode/painter/panel-section/StylePanel/BorderRadiusSelector.js +2 -2
  296. package/lib/lowcode/painter/panel-section/StylePanel/BorderSelector.js +2 -2
  297. package/lib/lowcode/painter/panel-section/StylePanel/Display.js +2 -2
  298. package/lib/lowcode/painter/panel-section/StylePanel/Font.js +2 -2
  299. package/lib/lowcode/painter/panel-section/StylePanel/FontEditor.js +2 -2
  300. package/lib/lowcode/painter/panel-section/StylePanel/GapSelector.js +2 -2
  301. package/lib/lowcode/painter/panel-section/StylePanel/HighLightPanel.js +2 -2
  302. package/lib/lowcode/painter/panel-section/StylePanel/HighLigthtSpan.js +2 -2
  303. package/lib/lowcode/painter/panel-section/StylePanel/HightLightSvg.js +2 -2
  304. package/lib/lowcode/painter/panel-section/StylePanel/MainPanel.js +2 -2
  305. package/lib/lowcode/painter/panel-section/StylePanel/Margin.js +2 -2
  306. package/lib/lowcode/painter/panel-section/StylePanel/Opacity.js +2 -2
  307. package/lib/lowcode/painter/panel-section/StylePanel/Padding.js +2 -2
  308. package/lib/lowcode/painter/panel-section/StylePanel/Pointer.js +2 -2
  309. package/lib/lowcode/painter/panel-section/StylePanel/Shadow.js +2 -2
  310. package/lib/lowcode/painter/panel-section/StylePanel/Size.js +2 -2
  311. package/lib/lowcode/painter/panel-section/StylePanel/StyleContext.js +2 -2
  312. package/lib/lowcode/painter/panel-section/StylePanel/StyleRow.js +2 -2
  313. package/lib/lowcode/painter/panel-section/StylePanel/WidthHeight.js +2 -2
  314. package/lib/lowcode/painter/panel-section/StylePanel/index.js +15 -15
  315. package/lib/lowcode/painter/panel-section/TreeRootEditor.js +10 -2
  316. package/lib/lowcode/painter/style/action-bind-modal.less +102 -102
  317. package/lib/lowcode/painter/style/actions-editor.less +15 -15
  318. package/lib/lowcode/painter/style/border-editor.less +36 -36
  319. package/lib/lowcode/painter/style/border-radius-selector.less +42 -42
  320. package/lib/lowcode/painter/style/border-selector.less +39 -39
  321. package/lib/lowcode/painter/style/button-type.less +5 -5
  322. package/lib/lowcode/painter/style/collapse.less +28 -28
  323. package/lib/lowcode/painter/style/color-input.less +19 -19
  324. package/lib/lowcode/painter/style/components.less +91 -91
  325. package/lib/lowcode/painter/style/design.less +158 -152
  326. package/lib/lowcode/painter/style/display.less +17 -17
  327. package/lib/lowcode/painter/style/dragdrop.less +10 -10
  328. package/lib/lowcode/painter/style/fields-setting.less +25 -25
  329. package/lib/lowcode/painter/style/font-editor.less +9 -9
  330. package/lib/lowcode/painter/style/fullscreen-editor.less +17 -17
  331. package/lib/lowcode/painter/style/icon-selector.less +22 -22
  332. package/lib/lowcode/painter/style/icon.less +10 -10
  333. package/lib/lowcode/painter/style/impexp.less +7 -7
  334. package/lib/lowcode/painter/style/index.less +6 -6
  335. package/lib/lowcode/painter/style/layout-ratio.less +51 -51
  336. package/lib/lowcode/painter/style/list-editor.less +95 -95
  337. package/lib/lowcode/painter/style/number-input.less +17 -17
  338. package/lib/lowcode/painter/style/outline.less +28 -28
  339. package/lib/lowcode/painter/style/page-layout-display.less +27 -27
  340. package/lib/lowcode/painter/style/panel-attrs.less +43 -43
  341. package/lib/lowcode/painter/style/panel-item.less +54 -54
  342. package/lib/lowcode/painter/style/panel.less +98 -98
  343. package/lib/lowcode/painter/style/pop-confirm.less +17 -17
  344. package/lib/lowcode/painter/style/pop-form.less +19 -19
  345. package/lib/lowcode/painter/style/radio.less +24 -24
  346. package/lib/lowcode/painter/style/ribbon.less +5 -5
  347. package/lib/lowcode/painter/style/rule-input.less +12 -12
  348. package/lib/lowcode/painter/style/split-display.less +18 -18
  349. package/lib/lowcode/painter/style/style-panel.less +37 -37
  350. package/lib/lowcode/painter/style/tabitems.less +90 -90
  351. package/lib/lowcode/painter/style/treedragdrop.less +19 -19
  352. package/lib/lowcode/view/Canvas.js +20 -5
  353. package/lib/lowcode/view/Page.js +3 -4
  354. package/lib/lowcode/view/lc-components/Box/FunctionDesign.js +7 -2
  355. package/lib/lowcode/view/lc-components/Box/index.js +4 -4
  356. package/lib/lowcode/view/lc-components/Box/index.less +14 -14
  357. package/lib/lowcode/view/lc-components/Box/meta.json +40 -40
  358. package/lib/lowcode/view/lc-components/Button/index.js +33 -33
  359. package/lib/lowcode/view/lc-components/Button/meta.json +127 -127
  360. package/lib/lowcode/view/lc-components/Button/style.less +2 -2
  361. package/lib/lowcode/view/lc-components/CardList/meta.json +153 -153
  362. package/lib/lowcode/view/lc-components/Dialog/index.js +19 -13
  363. package/lib/lowcode/view/lc-components/Dialog/index.less +3 -3
  364. package/lib/lowcode/view/lc-components/Dialog/meta.json +150 -150
  365. package/lib/lowcode/view/lc-components/Drawer/index.js +15 -12
  366. package/lib/lowcode/view/lc-components/Drawer/index.less +9 -9
  367. package/lib/lowcode/view/lc-components/Drawer/meta.json +131 -131
  368. package/lib/lowcode/view/lc-components/FieldColor/meta.json +69 -63
  369. package/lib/lowcode/view/lc-components/FieldComplex/meta.json +45 -39
  370. package/lib/lowcode/view/lc-components/FieldDate/meta.json +51 -45
  371. package/lib/lowcode/view/lc-components/FieldDict/meta.json +50 -44
  372. package/lib/lowcode/view/lc-components/FieldEditor/meta.json +50 -44
  373. package/lib/lowcode/view/lc-components/FieldGroup/meta.json +79 -73
  374. package/lib/lowcode/view/lc-components/FieldNumber/meta.json +54 -48
  375. package/lib/lowcode/view/lc-components/FieldRadio/meta.json +26 -20
  376. package/lib/lowcode/view/lc-components/FieldRegion/meta.json +32 -26
  377. package/lib/lowcode/view/lc-components/FieldSelect/meta.json +64 -58
  378. package/lib/lowcode/view/lc-components/FieldString/meta.json +64 -62
  379. package/lib/lowcode/view/lc-components/FieldSwitch/meta.json +37 -31
  380. package/lib/lowcode/view/lc-components/FieldTextarea/meta.json +55 -49
  381. package/lib/lowcode/view/lc-components/FieldUpload/meta.json +77 -71
  382. package/lib/lowcode/view/lc-components/FieldUser/meta.json +88 -82
  383. package/lib/lowcode/view/lc-components/FieldYear/meta.json +41 -20
  384. package/lib/lowcode/view/lc-components/Form/index.js +117 -24
  385. package/lib/lowcode/view/lc-components/Form/index.less +4 -4
  386. package/lib/lowcode/view/lc-components/Form/meta.json +616 -605
  387. package/lib/lowcode/view/lc-components/Iframe/meta.json +32 -32
  388. package/lib/lowcode/view/lc-components/ImEx/index.js +29 -29
  389. package/lib/lowcode/view/lc-components/ImEx/index.less +7 -7
  390. package/lib/lowcode/view/lc-components/ImEx/meta.json +113 -113
  391. package/lib/lowcode/view/lc-components/Image/meta.json +114 -114
  392. package/lib/{components/LdRuntimeCom/index.js → lowcode/view/lc-components/JSX/RuntimeComp.js} +13 -16
  393. package/lib/lowcode/view/lc-components/JSX/index.js +5 -6
  394. package/lib/lowcode/view/lc-components/JSX/meta.json +28 -28
  395. package/lib/lowcode/view/lc-components/Layout/index.js +19 -17
  396. package/lib/lowcode/view/lc-components/Layout/index.less +5 -5
  397. package/lib/lowcode/view/lc-components/Layout/meta.json +107 -107
  398. package/lib/lowcode/view/lc-components/Link/index.js +3 -0
  399. package/lib/lowcode/view/lc-components/Link/meta.json +112 -112
  400. package/lib/lowcode/view/lc-components/Page/meta.json +49 -49
  401. package/lib/lowcode/view/lc-components/PageContent/index.js +2 -0
  402. package/lib/lowcode/view/lc-components/PageContent/meta.json +9 -9
  403. package/lib/lowcode/view/lc-components/PageFooter/index.js +3 -0
  404. package/lib/lowcode/view/lc-components/PageFooter/meta.json +9 -9
  405. package/lib/lowcode/view/lc-components/PageHeader/index.js +3 -0
  406. package/lib/lowcode/view/lc-components/PageHeader/meta.json +9 -9
  407. package/lib/lowcode/view/lc-components/PageLayout/index.js +3 -0
  408. package/lib/lowcode/view/lc-components/PageLayout/meta.json +47 -47
  409. package/lib/lowcode/view/lc-components/Section/index.js +6 -3
  410. package/lib/lowcode/view/lc-components/Section/index.less +7 -7
  411. package/lib/lowcode/view/lc-components/Section/meta.json +107 -107
  412. package/lib/lowcode/view/lc-components/Split/index.js +3 -0
  413. package/lib/lowcode/view/lc-components/Split/meta.json +53 -53
  414. package/lib/lowcode/view/lc-components/Table/index.js +160 -167
  415. package/lib/lowcode/view/lc-components/Table/meta.json +405 -405
  416. package/lib/lowcode/view/lc-components/Tabs/index.js +48 -35
  417. package/lib/lowcode/view/lc-components/Tabs/meta.json +113 -113
  418. package/lib/lowcode/view/lc-components/Text/index.js +3 -0
  419. package/lib/lowcode/view/lc-components/Text/meta.json +66 -66
  420. package/lib/lowcode/view/lc-components/Tree/index.js +96 -96
  421. package/lib/lowcode/view/lc-components/Tree/index.less +4 -4
  422. package/lib/lowcode/view/lc-components/Tree/meta.json +363 -363
  423. package/lib/lowcode/view/lc-components/Wrapper.js +1 -0
  424. package/lib/lowcode/view/style/canvas.less +5 -5
  425. package/lib/lowcode/view/style/loading.less +84 -84
  426. package/lib/lowcode/view/style/page.less +7 -7
  427. package/lib/upload/FilesWall/index.js +13 -13
  428. package/lib/upload/FilesWall/index.less +74 -74
  429. package/lib/upload/Form/index.less +7 -7
  430. package/lib/upload/FormItem/index.js +15 -15
  431. package/lib/utils/form.js +21 -21
  432. package/lib/utils/grid.js +1 -1
  433. package/lowcode.js +1 -1
  434. package/package.json +173 -173
  435. package/upload.js +1 -1
  436. package/utils.js +1 -1
@@ -1,17 +1,17 @@
1
- .lc-painter-components-fullscreen-editor {
2
- .actions {
3
- display: flex;
4
- justify-content: right;
5
- margin-bottom: 4px;
6
- font-size: 12px;
7
- cursor: pointer;
8
- }
9
-
10
- .fullscreen {
11
- :global {
12
- .monaco-editor {
13
- padding: 12px;
14
- }
15
- }
16
- }
17
- }
1
+ .lc-painter-components-fullscreen-editor {
2
+ .actions {
3
+ display: flex;
4
+ justify-content: right;
5
+ margin-bottom: 4px;
6
+ font-size: 12px;
7
+ cursor: pointer;
8
+ }
9
+
10
+ .fullscreen {
11
+ :global {
12
+ .monaco-editor {
13
+ padding: 12px;
14
+ }
15
+ }
16
+ }
17
+ }
@@ -1,22 +1,22 @@
1
- .lc-painter-panel-section-iconselector {
2
-
3
- .components-search {
4
- padding: 0 20px;
5
- }
6
-
7
- .icon-warp {
8
- display: grid;
9
- grid-template-columns: repeat(4, 1fr);
10
- .icon-box {
11
- cursor: pointer;
12
- height: 40px;
13
- display: flex;
14
- justify-content: center;
15
- align-items: center;
16
-
17
- .icon-item {
18
- font-size: 20px;
19
- }
20
- }
21
- }
22
- }
1
+ .lc-painter-panel-section-iconselector {
2
+
3
+ .components-search {
4
+ padding: 0 20px;
5
+ }
6
+
7
+ .icon-warp {
8
+ display: grid;
9
+ grid-template-columns: repeat(4, 1fr);
10
+ .icon-box {
11
+ cursor: pointer;
12
+ height: 40px;
13
+ display: flex;
14
+ justify-content: center;
15
+ align-items: center;
16
+
17
+ .icon-item {
18
+ font-size: 20px;
19
+ }
20
+ }
21
+ }
22
+ }
@@ -1,11 +1,11 @@
1
- .lc-painter-panel-section-icon {
2
- height: 28px;
3
- display: flex;
4
- align-items: center;
5
- cursor: pointer;
6
-
7
- .selecor{
8
- font-size: 12px;
9
- margin-left: 6px;
10
- }
1
+ .lc-painter-panel-section-icon {
2
+ height: 28px;
3
+ display: flex;
4
+ align-items: center;
5
+ cursor: pointer;
6
+
7
+ .selecor{
8
+ font-size: 12px;
9
+ margin-left: 6px;
10
+ }
11
11
  }
@@ -1,7 +1,7 @@
1
- .lc-painter-panel-section-impexp {
2
- :global {
3
- .ant-checkbox-wrapper {
4
- font-size: 12px;
5
- }
6
- }
7
- }
1
+ .lc-painter-panel-section-impexp {
2
+ :global {
3
+ .ant-checkbox-wrapper {
4
+ font-size: 12px;
5
+ }
6
+ }
7
+ }
@@ -1,6 +1,6 @@
1
- .lc-painter {
2
- width: 100%;
3
- height: 100%;
4
- position: relative;
5
- display: flex;
6
- }
1
+ .lc-painter {
2
+ width: 100%;
3
+ height: 100%;
4
+ position: relative;
5
+ display: flex;
6
+ }
@@ -1,51 +1,51 @@
1
- .lc-painter-panel-section-layoutratio {
2
- @gridbox-width: 58px; // 定义变量
3
- @grid-gap: 10px; // 间隔变量
4
- @grid-items-per-row: 4; // 每行的gridbox数量
5
-
6
- margin: 0;
7
- align-items: center;
8
-
9
- .ratio-view {
10
- display: flex;
11
- justify-content: center;
12
- align-items: flex-start;
13
-
14
- .gridbox-container {
15
- width: calc(@grid-items-per-row * @gridbox-width + (@grid-items-per-row - 1) * @grid-gap);
16
- margin: 0 auto; // 保持这个居中
17
- display: flex;
18
- flex-direction: row;
19
- flex-wrap: wrap;
20
- gap: @grid-gap;
21
- }
22
-
23
- .gridbox {
24
- display: grid;
25
- grid-template-columns: repeat(12, 1fr);
26
- gap: 2px;
27
- width: @gridbox-width;
28
- height: 34px;
29
- border-radius: 5px;
30
- border: 1px solid rgba(0, 0, 0, 0.2);
31
- padding: 3px;
32
-
33
- &:hover {
34
- cursor: pointer;
35
- border-color: #3478ff;
36
- }
37
-
38
- &.current {
39
- border-color: #3478ff;
40
- }
41
-
42
- .girditem {
43
- background-color: rgb(192, 194, 196);
44
- }
45
- }
46
- }
47
-
48
- .ratio-input {
49
- margin-top: 20px;
50
- }
51
- }
1
+ .lc-painter-panel-section-layoutratio {
2
+ @gridbox-width: 58px; // 定义变量
3
+ @grid-gap: 10px; // 间隔变量
4
+ @grid-items-per-row: 4; // 每行的gridbox数量
5
+
6
+ margin: 0;
7
+ align-items: center;
8
+
9
+ .ratio-view {
10
+ display: flex;
11
+ justify-content: center;
12
+ align-items: flex-start;
13
+
14
+ .gridbox-container {
15
+ width: calc(@grid-items-per-row * @gridbox-width + (@grid-items-per-row - 1) * @grid-gap);
16
+ margin: 0 auto; // 保持这个居中
17
+ display: flex;
18
+ flex-direction: row;
19
+ flex-wrap: wrap;
20
+ gap: @grid-gap;
21
+ }
22
+
23
+ .gridbox {
24
+ display: grid;
25
+ grid-template-columns: repeat(12, 1fr);
26
+ gap: 2px;
27
+ width: @gridbox-width;
28
+ height: 34px;
29
+ border-radius: 5px;
30
+ border: 1px solid rgba(0, 0, 0, 0.2);
31
+ padding: 3px;
32
+
33
+ &:hover {
34
+ cursor: pointer;
35
+ border-color: #3478ff;
36
+ }
37
+
38
+ &.current {
39
+ border-color: #3478ff;
40
+ }
41
+
42
+ .girditem {
43
+ background-color: rgb(192, 194, 196);
44
+ }
45
+ }
46
+ }
47
+
48
+ .ratio-input {
49
+ margin-top: 20px;
50
+ }
51
+ }
@@ -1,95 +1,95 @@
1
- .lc-painter-panel-section-components-listeditor {
2
- display: flex;
3
- align-items: center;
4
- flex-direction: column;
5
-
6
- .list-box {
7
- width: 100%;
8
- .list-item {
9
- height: 28px;
10
- position: relative;
11
- background: #fff;
12
- border: 1px solid #e5e6e8;
13
- border-radius: 6px;
14
- margin-bottom: 8px;
15
- display: flex;
16
- align-items: center;
17
- justify-content: space-between;
18
- font-size: 12px;
19
- gap: 2px;
20
-
21
- .list-item-left {
22
- display: flex;
23
- align-items: center;
24
- padding: 0 4px;
25
-
26
- .dragicon {
27
- cursor: move;
28
- }
29
- }
30
-
31
- .list-item-right {
32
- display: flex;
33
- align-items: center;
34
- padding: 0 4px;
35
- gap: 4px;
36
-
37
- .list-item-action {
38
- cursor: pointer;
39
- }
40
- }
41
-
42
- .list-item-bottom-line {
43
- width: 100%;
44
- height: 8px;
45
- border-bottom: solid 1px var(--ant-primary-color);
46
- position: absolute;
47
- left: 0;
48
- bottom: -6px;
49
- padding-top: 4px;
50
- display: none;
51
- align-items: center;
52
- justify-content: center;
53
- cursor: pointer;
54
- z-index: 10;
55
- }
56
- .list-item-bottom-line::after {
57
- content: "+";
58
- height: 12px;
59
- margin-top: 4px;
60
- color: var(--ant-primary-color);
61
- border: solid 1px var(--ant-primary-color);
62
- border-radius: 10px;
63
- font-weight: bold;
64
- font-size: 14px;
65
- background-color: white;
66
- padding: 0 8px;
67
- display: flex;
68
- align-items: center;
69
- justify-content: center;
70
- }
71
- &:hover {
72
- .list-item-bottom-line {
73
- display: flex;
74
- }
75
- }
76
- }
77
- }
78
-
79
- .list-actions {
80
- width: 100%;
81
- .list-action {
82
- cursor: pointer;
83
- height: 28px;
84
- background: #fff;
85
- border: 1px solid #e5e6e8;
86
- border-radius: 6px;
87
- display: flex;
88
- justify-content: center;
89
- align-items: center;
90
- font-size: 12px;
91
- gap: 4px;
92
- border-style: dashed;
93
- }
94
- }
95
- }
1
+ .lc-painter-panel-section-components-listeditor {
2
+ display: flex;
3
+ align-items: center;
4
+ flex-direction: column;
5
+
6
+ .list-box {
7
+ width: 100%;
8
+ .list-item {
9
+ height: 28px;
10
+ position: relative;
11
+ background: #fff;
12
+ border: 1px solid #e5e6e8;
13
+ border-radius: 6px;
14
+ margin-bottom: 8px;
15
+ display: flex;
16
+ align-items: center;
17
+ justify-content: space-between;
18
+ font-size: 12px;
19
+ gap: 2px;
20
+
21
+ .list-item-left {
22
+ display: flex;
23
+ align-items: center;
24
+ padding: 0 4px;
25
+
26
+ .dragicon {
27
+ cursor: move;
28
+ }
29
+ }
30
+
31
+ .list-item-right {
32
+ display: flex;
33
+ align-items: center;
34
+ padding: 0 4px;
35
+ gap: 4px;
36
+
37
+ .list-item-action {
38
+ cursor: pointer;
39
+ }
40
+ }
41
+
42
+ .list-item-bottom-line {
43
+ width: 100%;
44
+ height: 8px;
45
+ border-bottom: solid 1px var(--ant-primary-color);
46
+ position: absolute;
47
+ left: 0;
48
+ bottom: -6px;
49
+ padding-top: 4px;
50
+ display: none;
51
+ align-items: center;
52
+ justify-content: center;
53
+ cursor: pointer;
54
+ z-index: 10;
55
+ }
56
+ .list-item-bottom-line::after {
57
+ content: "+";
58
+ height: 12px;
59
+ margin-top: 4px;
60
+ color: var(--ant-primary-color);
61
+ border: solid 1px var(--ant-primary-color);
62
+ border-radius: 10px;
63
+ font-weight: bold;
64
+ font-size: 14px;
65
+ background-color: white;
66
+ padding: 0 8px;
67
+ display: flex;
68
+ align-items: center;
69
+ justify-content: center;
70
+ }
71
+ &:hover {
72
+ .list-item-bottom-line {
73
+ display: flex;
74
+ }
75
+ }
76
+ }
77
+ }
78
+
79
+ .list-actions {
80
+ width: 100%;
81
+ .list-action {
82
+ cursor: pointer;
83
+ height: 28px;
84
+ background: #fff;
85
+ border: 1px solid #e5e6e8;
86
+ border-radius: 6px;
87
+ display: flex;
88
+ justify-content: center;
89
+ align-items: center;
90
+ font-size: 12px;
91
+ gap: 4px;
92
+ border-style: dashed;
93
+ }
94
+ }
95
+ }
@@ -1,17 +1,17 @@
1
- .lc-painter-panel-section-components-number-input {
2
- .num-input-wrap {
3
- position: relative;
4
-
5
- .num-input {
6
- width: 100%;
7
- }
8
-
9
- .num-option {
10
- display: inline-block;
11
- position: absolute;
12
- right: 26px;
13
- color: rgba(0, 0, 0, 0.6);
14
- cursor: pointer;
15
- }
16
- }
17
- }
1
+ .lc-painter-panel-section-components-number-input {
2
+ .num-input-wrap {
3
+ position: relative;
4
+
5
+ .num-input {
6
+ width: 100%;
7
+ }
8
+
9
+ .num-option {
10
+ display: inline-block;
11
+ position: absolute;
12
+ right: 26px;
13
+ color: rgba(0, 0, 0, 0.6);
14
+ cursor: pointer;
15
+ }
16
+ }
17
+ }
@@ -1,28 +1,28 @@
1
- .lc-painter-outline {
2
- background-color: #fff;
3
-
4
- .page-node {
5
- cursor: pointer;
6
- display: flex;
7
- -webkit-box-align: center;
8
- align-items: center;
9
- height: 32px;
10
- box-sizing: border-box;
11
- position: relative;
12
- transform: translateZ(0);
13
- padding: 0 5px;
14
- }
15
- .page-node:hover,
16
- .page-node.page-node-active {
17
- background-color: #f6f7f8;
18
- }
19
-
20
- :global {
21
- .ant-tree.ant-tree-show-line li:not(:last-child)::before {
22
- height: calc(100% - 34px);
23
- }
24
- .ant-tree-switcher-noop svg {
25
- display: none;
26
- }
27
- }
28
- }
1
+ .lc-painter-outline {
2
+ background-color: #fff;
3
+
4
+ .page-node {
5
+ cursor: pointer;
6
+ display: flex;
7
+ -webkit-box-align: center;
8
+ align-items: center;
9
+ height: 32px;
10
+ box-sizing: border-box;
11
+ position: relative;
12
+ transform: translateZ(0);
13
+ padding: 0 5px;
14
+ }
15
+ .page-node:hover,
16
+ .page-node.page-node-active {
17
+ background-color: #f6f7f8;
18
+ }
19
+
20
+ :global {
21
+ .ant-tree.ant-tree-show-line li:not(:last-child)::before {
22
+ height: calc(100% - 34px);
23
+ }
24
+ .ant-tree-switcher-noop svg {
25
+ display: none;
26
+ }
27
+ }
28
+ }
@@ -1,28 +1,28 @@
1
- .lc-painter-panel-section-pagelayoutdisplay {
2
- .display-type-box {
3
- display: grid;
4
- grid-template-columns: repeat(3, 1fr);
5
- grid-column-gap: 4px;
6
-
7
- .display-type-item {
8
- border: 1px solid rgba(0, 0, 0, 0.2);
9
- border-radius: 4px;
10
- padding: 3px;
11
- height: 42px;
12
- display: flex;
13
-
14
- &:hover {
15
- cursor: pointer;
16
- border-color: var(--ant-primary-color);
17
- }
18
-
19
- &.active {
20
- border-color: var(--ant-primary-color);
21
- }
22
-
23
- .item-block {
24
- background-color: rgb(192, 194, 196);
25
- }
26
- }
27
- }
1
+ .lc-painter-panel-section-pagelayoutdisplay {
2
+ .display-type-box {
3
+ display: grid;
4
+ grid-template-columns: repeat(3, 1fr);
5
+ grid-column-gap: 4px;
6
+
7
+ .display-type-item {
8
+ border: 1px solid rgba(0, 0, 0, 0.2);
9
+ border-radius: 4px;
10
+ padding: 3px;
11
+ height: 42px;
12
+ display: flex;
13
+
14
+ &:hover {
15
+ cursor: pointer;
16
+ border-color: var(--ant-primary-color);
17
+ }
18
+
19
+ &.active {
20
+ border-color: var(--ant-primary-color);
21
+ }
22
+
23
+ .item-block {
24
+ background-color: rgb(192, 194, 196);
25
+ }
26
+ }
27
+ }
28
28
  }
@@ -1,43 +1,43 @@
1
- .lc-painter-panel-attrs {
2
- position: relative;
3
- width: 100%;
4
- flex: 1;
5
- overflow-x: hidden;
6
- overflow-y: auto;
7
- padding: 8px 0;
8
-
9
- &-next {
10
- height: 100%;
11
- display: flex;
12
- flex-direction: column;
13
-
14
- &-header {
15
- height: 28px;
16
- background-color: #e8e8e8;
17
- display: flex;
18
- align-items: center;
19
- justify-content: space-between;
20
- padding: 0 4px;
21
- font-size: 12px;
22
- }
23
- &-header:hover {
24
- background-color: #e3e3e3;
25
- cursor: pointer;
26
- }
27
-
28
- &-body {
29
- flex: 1;
30
- overflow-y: auto;
31
- background-color: white;
32
- padding: 16px 0 8px;
33
- }
34
- }
35
- }
36
-
37
- .lc-painter-panel-attrs.hidden {
38
- display: none;
39
- }
40
-
41
- .lc-painter-panel-attrs.showNext {
42
- overflow: hidden;
43
- }
1
+ .lc-painter-panel-attrs {
2
+ position: relative;
3
+ width: 100%;
4
+ flex: 1;
5
+ overflow-x: hidden;
6
+ overflow-y: auto;
7
+ padding: 8px 0;
8
+
9
+ &-next {
10
+ height: 100%;
11
+ display: flex;
12
+ flex-direction: column;
13
+
14
+ &-header {
15
+ height: 28px;
16
+ background-color: #e8e8e8;
17
+ display: flex;
18
+ align-items: center;
19
+ justify-content: space-between;
20
+ padding: 0 4px;
21
+ font-size: 12px;
22
+ }
23
+ &-header:hover {
24
+ background-color: #e3e3e3;
25
+ cursor: pointer;
26
+ }
27
+
28
+ &-body {
29
+ flex: 1;
30
+ overflow-y: auto;
31
+ background-color: white;
32
+ padding: 16px 0 8px;
33
+ }
34
+ }
35
+ }
36
+
37
+ .lc-painter-panel-attrs.hidden {
38
+ display: none;
39
+ }
40
+
41
+ .lc-painter-panel-attrs.showNext {
42
+ overflow: hidden;
43
+ }