@luck-design-biz/luckda 0.0.24-2 → 0.0.25

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 (217) hide show
  1. package/es/components/LDActions/index.js +130 -0
  2. package/es/components/LDActions/index.less +48 -0
  3. package/es/components/LdFormList/index.js +1 -1
  4. package/es/components/LdGrid/index.js +9 -3
  5. package/es/components/LdTree/index.js +32 -5
  6. package/es/components/LdTree/index.less +6 -1
  7. package/es/index.js +1 -0
  8. package/es/locales/zh-CN.js +151 -0
  9. package/es/lowcode/constants/api-url.js +71 -12
  10. package/es/lowcode/constants/index.js +3 -1
  11. package/es/lowcode/engine/factory/panel-item-factory/CheckboxStrategy.js +32 -0
  12. package/es/lowcode/engine/factory/panel-item-factory/index.js +2 -0
  13. package/es/lowcode/engine/meta/box.props.default.json +1 -3
  14. package/es/lowcode/engine/meta/box.props.json +1 -3
  15. package/es/lowcode/engine/meta/button.props.default.json +1 -1
  16. package/es/lowcode/engine/meta/button.props.json +1 -1
  17. package/es/lowcode/engine/meta/cardlist.props.default.json +0 -1
  18. package/es/lowcode/engine/meta/cardlist.props.json +1 -2
  19. package/es/lowcode/engine/meta/dialog.props.default.json +0 -1
  20. package/es/lowcode/engine/meta/dialog.props.json +0 -1
  21. package/es/lowcode/engine/meta/drawer.props.default.json +0 -1
  22. package/es/lowcode/engine/meta/drawer.props.json +0 -1
  23. package/es/lowcode/engine/meta/form.props.default.json +0 -1
  24. package/es/lowcode/engine/meta/form.props.json +1 -2
  25. package/es/lowcode/engine/meta/iframe.props.default.json +1 -1
  26. package/es/lowcode/engine/meta/iframe.props.json +1 -1
  27. package/es/lowcode/engine/meta/image.props.default.json +1 -1
  28. package/es/lowcode/engine/meta/image.props.json +1 -1
  29. package/es/lowcode/engine/meta/imex.props.default.json +1 -1
  30. package/es/lowcode/engine/meta/imex.props.json +1 -1
  31. package/es/lowcode/engine/meta/js-editor/auto-complete.json +132 -26
  32. package/es/lowcode/engine/meta/jsx.props.default.json +1 -1
  33. package/es/lowcode/engine/meta/jsx.props.json +1 -1
  34. package/es/lowcode/engine/meta/layout.props.default.json +1 -1
  35. package/es/lowcode/engine/meta/layout.props.json +1 -1
  36. package/es/lowcode/engine/meta/link.props.default.json +1 -1
  37. package/es/lowcode/engine/meta/link.props.json +1 -1
  38. package/es/lowcode/engine/meta/local/local.zh-cn.js +97 -0
  39. package/es/lowcode/engine/meta/section.props.default.json +1 -1
  40. package/es/lowcode/engine/meta/section.props.json +1 -1
  41. package/es/lowcode/engine/meta/split.props.default.json +1 -1
  42. package/es/lowcode/engine/meta/split.props.json +1 -1
  43. package/es/lowcode/engine/meta/table.props.default.json +18 -2
  44. package/es/lowcode/engine/meta/table.props.json +207 -32
  45. package/es/lowcode/engine/meta/tabs.props.default.json +0 -1
  46. package/es/lowcode/engine/meta/tabs.props.json +0 -1
  47. package/es/lowcode/engine/meta/text.props.default.json +1 -1
  48. package/es/lowcode/engine/meta/text.props.json +1 -1
  49. package/es/lowcode/engine/meta/tree.props.default.json +9 -4
  50. package/es/lowcode/engine/meta/tree.props.json +101 -55
  51. package/es/lowcode/engine/provider/{ContextProvider.js → ContextProvider/index.js} +71 -41
  52. package/es/lowcode/engine/tools/helper.js +29 -1
  53. package/es/lowcode/engine/tools/usePromiseState.js +7 -6
  54. package/es/lowcode/painter/Panel.js +50 -133
  55. package/es/lowcode/painter/Ribbon.js +1 -1
  56. package/es/lowcode/painter/components/ActionBindModal.js +180 -0
  57. package/es/lowcode/painter/components/AdvancePanel.js +68 -0
  58. package/es/lowcode/painter/components/AttrsPanel.js +134 -0
  59. package/es/lowcode/painter/components/Collapse.js +12 -7
  60. package/es/lowcode/painter/components/FieldSelector.js +44 -0
  61. package/es/lowcode/painter/components/ListEditor.js +4 -2
  62. package/es/lowcode/painter/components/PopConfirm.js +10 -3
  63. package/es/lowcode/painter/components/code-editor/BaseEditor.js +14 -2
  64. package/es/lowcode/painter/components/code-editor/JSEditor.js +25 -14
  65. package/es/lowcode/painter/components/code-editor/JsonEditor.js +41 -0
  66. package/es/lowcode/painter/{components/actions-editor → panel-section/ActionsEditor}/ActionEditor.js +10 -3
  67. package/es/lowcode/painter/{components/actions-editor → panel-section/ActionsEditor}/index.js +36 -8
  68. package/es/lowcode/painter/panel-section/ImpExp.js +91 -0
  69. package/es/lowcode/painter/panel-section/JSEditor.js +48 -0
  70. package/es/lowcode/painter/panel-section/StylePanel/MainPanel.js +2 -2
  71. package/es/lowcode/painter/panel-section/StylePanel/StyleContext.js +1 -1
  72. package/es/lowcode/painter/panel-section/TableTopFilter.js +306 -0
  73. package/es/lowcode/painter/style/action-bind-modal.less +99 -0
  74. package/es/lowcode/painter/style/design.less +1 -1
  75. package/es/lowcode/painter/style/impexp.less +7 -0
  76. package/es/lowcode/painter/style/panel-attrs.less +43 -0
  77. package/es/lowcode/painter/style/panel.less +6 -37
  78. package/es/lowcode/painter/style/pop-confirm.less +9 -2
  79. package/es/lowcode/view/lc-components/Box/index.js +20 -4
  80. package/es/lowcode/view/lc-components/Box/index.less +0 -1
  81. package/es/lowcode/view/lc-components/Box/meta.json +1 -3
  82. package/es/lowcode/view/lc-components/Button/meta.json +1 -1
  83. package/es/lowcode/view/lc-components/CardList/meta.json +1 -2
  84. package/es/lowcode/view/lc-components/Dialog/meta.json +0 -1
  85. package/es/lowcode/view/lc-components/Drawer/index.js +16 -0
  86. package/es/lowcode/view/lc-components/Drawer/meta.json +0 -1
  87. package/es/lowcode/view/lc-components/Form/meta.json +1 -2
  88. package/es/lowcode/view/lc-components/Iframe/meta.json +1 -1
  89. package/es/lowcode/view/lc-components/ImEx/meta.json +1 -1
  90. package/es/lowcode/view/lc-components/Image/meta.json +1 -1
  91. package/es/lowcode/view/lc-components/JSX/meta.json +1 -1
  92. package/es/lowcode/view/lc-components/Layout/FunctionDesign.js +6 -9
  93. package/es/lowcode/view/lc-components/Layout/meta.json +1 -1
  94. package/es/lowcode/view/lc-components/Link/meta.json +1 -1
  95. package/es/lowcode/view/lc-components/Section/meta.json +1 -1
  96. package/es/lowcode/view/lc-components/Split/meta.json +1 -1
  97. package/es/lowcode/view/lc-components/Table/FunctionDesign.js +35 -2
  98. package/es/lowcode/view/lc-components/Table/components/TopFilter.js +96 -0
  99. package/es/lowcode/view/lc-components/Table/index.js +255 -35
  100. package/es/lowcode/view/lc-components/Table/meta.json +179 -32
  101. package/es/lowcode/view/lc-components/Tabs/meta.json +0 -1
  102. package/es/lowcode/view/lc-components/Text/meta.json +1 -1
  103. package/es/lowcode/view/lc-components/Tree/FunctionDesign.js +48 -3
  104. package/es/lowcode/view/lc-components/Tree/index.js +77 -6
  105. package/es/lowcode/view/lc-components/Tree/index.less +2 -0
  106. package/es/lowcode/view/lc-components/Tree/meta.json +97 -55
  107. package/es/lowcode/view/lc-components/Wrapper.js +2 -2
  108. package/lib/components/LDActions/index.js +138 -0
  109. package/lib/components/LDActions/index.less +48 -0
  110. package/lib/components/LdFormList/index.js +1 -1
  111. package/lib/components/LdGrid/index.js +8 -2
  112. package/lib/components/LdTree/index.js +31 -4
  113. package/lib/components/LdTree/index.less +6 -1
  114. package/lib/index.js +8 -0
  115. package/lib/locales/zh-CN.js +157 -0
  116. package/lib/lowcode/constants/api-url.js +71 -12
  117. package/lib/lowcode/constants/index.js +4 -2
  118. package/lib/lowcode/engine/factory/panel-item-factory/CheckboxStrategy.js +38 -0
  119. package/lib/lowcode/engine/factory/panel-item-factory/index.js +2 -0
  120. package/lib/lowcode/engine/meta/box.props.default.json +1 -3
  121. package/lib/lowcode/engine/meta/box.props.json +1 -3
  122. package/lib/lowcode/engine/meta/button.props.default.json +1 -1
  123. package/lib/lowcode/engine/meta/button.props.json +1 -1
  124. package/lib/lowcode/engine/meta/cardlist.props.default.json +0 -1
  125. package/lib/lowcode/engine/meta/cardlist.props.json +1 -2
  126. package/lib/lowcode/engine/meta/dialog.props.default.json +0 -1
  127. package/lib/lowcode/engine/meta/dialog.props.json +0 -1
  128. package/lib/lowcode/engine/meta/drawer.props.default.json +0 -1
  129. package/lib/lowcode/engine/meta/drawer.props.json +0 -1
  130. package/lib/lowcode/engine/meta/form.props.default.json +0 -1
  131. package/lib/lowcode/engine/meta/form.props.json +1 -2
  132. package/lib/lowcode/engine/meta/iframe.props.default.json +1 -1
  133. package/lib/lowcode/engine/meta/iframe.props.json +1 -1
  134. package/lib/lowcode/engine/meta/image.props.default.json +1 -1
  135. package/lib/lowcode/engine/meta/image.props.json +1 -1
  136. package/lib/lowcode/engine/meta/imex.props.default.json +1 -1
  137. package/lib/lowcode/engine/meta/imex.props.json +1 -1
  138. package/lib/lowcode/engine/meta/js-editor/auto-complete.json +132 -26
  139. package/lib/lowcode/engine/meta/jsx.props.default.json +1 -1
  140. package/lib/lowcode/engine/meta/jsx.props.json +1 -1
  141. package/lib/lowcode/engine/meta/layout.props.default.json +1 -1
  142. package/lib/lowcode/engine/meta/layout.props.json +1 -1
  143. package/lib/lowcode/engine/meta/link.props.default.json +1 -1
  144. package/lib/lowcode/engine/meta/link.props.json +1 -1
  145. package/lib/lowcode/engine/meta/local/local.zh-cn.js +103 -0
  146. package/lib/lowcode/engine/meta/section.props.default.json +1 -1
  147. package/lib/lowcode/engine/meta/section.props.json +1 -1
  148. package/lib/lowcode/engine/meta/split.props.default.json +1 -1
  149. package/lib/lowcode/engine/meta/split.props.json +1 -1
  150. package/lib/lowcode/engine/meta/table.props.default.json +18 -2
  151. package/lib/lowcode/engine/meta/table.props.json +207 -32
  152. package/lib/lowcode/engine/meta/tabs.props.default.json +0 -1
  153. package/lib/lowcode/engine/meta/tabs.props.json +0 -1
  154. package/lib/lowcode/engine/meta/text.props.default.json +1 -1
  155. package/lib/lowcode/engine/meta/text.props.json +1 -1
  156. package/lib/lowcode/engine/meta/tree.props.default.json +9 -4
  157. package/lib/lowcode/engine/meta/tree.props.json +101 -55
  158. package/lib/lowcode/engine/provider/{ContextProvider.js → ContextProvider/index.js} +70 -40
  159. package/lib/lowcode/engine/tools/helper.js +31 -0
  160. package/lib/lowcode/engine/tools/usePromiseState.js +6 -5
  161. package/lib/lowcode/painter/Panel.js +48 -131
  162. package/lib/lowcode/painter/Ribbon.js +1 -1
  163. package/lib/lowcode/painter/components/ActionBindModal.js +188 -0
  164. package/lib/lowcode/painter/components/AdvancePanel.js +76 -0
  165. package/lib/lowcode/painter/components/AttrsPanel.js +142 -0
  166. package/lib/lowcode/painter/components/Collapse.js +12 -7
  167. package/lib/lowcode/painter/components/FieldSelector.js +52 -0
  168. package/lib/lowcode/painter/components/ListEditor.js +4 -2
  169. package/lib/lowcode/painter/components/PopConfirm.js +10 -3
  170. package/lib/lowcode/painter/components/code-editor/BaseEditor.js +14 -2
  171. package/lib/lowcode/painter/components/code-editor/JSEditor.js +25 -14
  172. package/lib/lowcode/painter/components/code-editor/JsonEditor.js +48 -0
  173. package/lib/lowcode/painter/{components/actions-editor → panel-section/ActionsEditor}/ActionEditor.js +10 -3
  174. package/lib/lowcode/painter/{components/actions-editor → panel-section/ActionsEditor}/index.js +35 -7
  175. package/lib/lowcode/painter/panel-section/ImpExp.js +98 -0
  176. package/lib/lowcode/painter/panel-section/JSEditor.js +56 -0
  177. package/lib/lowcode/painter/panel-section/StylePanel/MainPanel.js +2 -2
  178. package/lib/lowcode/painter/panel-section/StylePanel/StyleContext.js +1 -1
  179. package/lib/lowcode/painter/panel-section/TableTopFilter.js +314 -0
  180. package/lib/lowcode/painter/style/action-bind-modal.less +99 -0
  181. package/lib/lowcode/painter/style/design.less +1 -1
  182. package/lib/lowcode/painter/style/impexp.less +7 -0
  183. package/lib/lowcode/painter/style/panel-attrs.less +43 -0
  184. package/lib/lowcode/painter/style/panel.less +6 -37
  185. package/lib/lowcode/painter/style/pop-confirm.less +9 -2
  186. package/lib/lowcode/view/lc-components/Box/index.js +17 -2
  187. package/lib/lowcode/view/lc-components/Box/index.less +0 -1
  188. package/lib/lowcode/view/lc-components/Box/meta.json +1 -3
  189. package/lib/lowcode/view/lc-components/Button/meta.json +1 -1
  190. package/lib/lowcode/view/lc-components/CardList/meta.json +1 -2
  191. package/lib/lowcode/view/lc-components/Dialog/meta.json +0 -1
  192. package/lib/lowcode/view/lc-components/Drawer/index.js +16 -0
  193. package/lib/lowcode/view/lc-components/Drawer/meta.json +0 -1
  194. package/lib/lowcode/view/lc-components/Form/meta.json +1 -2
  195. package/lib/lowcode/view/lc-components/Iframe/meta.json +1 -1
  196. package/lib/lowcode/view/lc-components/ImEx/meta.json +1 -1
  197. package/lib/lowcode/view/lc-components/Image/meta.json +1 -1
  198. package/lib/lowcode/view/lc-components/JSX/meta.json +1 -1
  199. package/lib/lowcode/view/lc-components/Layout/FunctionDesign.js +6 -9
  200. package/lib/lowcode/view/lc-components/Layout/meta.json +1 -1
  201. package/lib/lowcode/view/lc-components/Link/meta.json +1 -1
  202. package/lib/lowcode/view/lc-components/Section/meta.json +1 -1
  203. package/lib/lowcode/view/lc-components/Split/meta.json +1 -1
  204. package/lib/lowcode/view/lc-components/Table/FunctionDesign.js +37 -3
  205. package/lib/lowcode/view/lc-components/Table/components/TopFilter.js +104 -0
  206. package/lib/lowcode/view/lc-components/Table/index.js +255 -35
  207. package/lib/lowcode/view/lc-components/Table/meta.json +179 -32
  208. package/lib/lowcode/view/lc-components/Tabs/meta.json +0 -1
  209. package/lib/lowcode/view/lc-components/Text/meta.json +1 -1
  210. package/lib/lowcode/view/lc-components/Tree/FunctionDesign.js +49 -3
  211. package/lib/lowcode/view/lc-components/Tree/index.js +77 -6
  212. package/lib/lowcode/view/lc-components/Tree/index.less +2 -0
  213. package/lib/lowcode/view/lc-components/Tree/meta.json +97 -55
  214. package/lib/lowcode/view/lc-components/Wrapper.js +2 -2
  215. package/package.json +10 -5
  216. package/es/lowcode/painter/panel-section/TableActions.js +0 -19
  217. package/lib/lowcode/painter/panel-section/TableActions.js +0 -26
@@ -0,0 +1,32 @@
1
+ import _classCallCheck from "@babel/runtime/helpers/esm/classCallCheck";
2
+ import _createClass from "@babel/runtime/helpers/esm/createClass";
3
+ import _assertThisInitialized from "@babel/runtime/helpers/esm/assertThisInitialized";
4
+ import _inherits from "@babel/runtime/helpers/esm/inherits";
5
+ import _createSuper from "@babel/runtime/helpers/esm/createSuper";
6
+ import { Checkbox } from 'luck-design/antd';
7
+ import Strategy from "./Strategy";
8
+ var _TYPE_ = 'checkbox';
9
+ var CheckboxStrategy = /*#__PURE__*/function (_Strategy) {
10
+ _inherits(CheckboxStrategy, _Strategy);
11
+ var _super = _createSuper(CheckboxStrategy);
12
+ function CheckboxStrategy(factory) {
13
+ var _this;
14
+ _classCallCheck(this, CheckboxStrategy);
15
+ _this = _super.call(this, _TYPE_);
16
+ factory.register(_TYPE_, _assertThisInitialized(_this));
17
+ return _this;
18
+ }
19
+ _createClass(CheckboxStrategy, [{
20
+ key: "match",
21
+ value: function match(type) {
22
+ return type === _TYPE_;
23
+ }
24
+ }, {
25
+ key: "builder",
26
+ value: function builder() {
27
+ return Checkbox.Group;
28
+ }
29
+ }]);
30
+ return CheckboxStrategy;
31
+ }(Strategy);
32
+ export { CheckboxStrategy as default };
@@ -4,6 +4,7 @@ import StringStrategy from "./StringStrategy";
4
4
  import NumberStrategy from "./NumberStrategy";
5
5
  import SelectStrategy from "./SelectStrategy";
6
6
  import SwitchStrategy from "./SwitchStrategy";
7
+ import CheckboxStrategy from "./CheckboxStrategy";
7
8
  import SegmentedStrategy from "./SegmentedStrategy";
8
9
  import DynamicStrategy from "./DynamicStrategy";
9
10
  import GroupStrategy from "./GroupStrategy";
@@ -20,6 +21,7 @@ var Factory = /*#__PURE__*/function () {
20
21
  new NumberStrategy(this);
21
22
  new DynamicStrategy(this);
22
23
  new SelectStrategy(this);
24
+ new CheckboxStrategy(this);
23
25
  new SegmentedStrategy(this);
24
26
  new SwitchStrategy(this);
25
27
  new GroupStrategy(this);
@@ -6,7 +6,5 @@
6
6
  "group": "container",
7
7
  "groupName": "布局",
8
8
  "order": 3,
9
- "style": {
10
- "height": "60px"
11
- }
9
+ "css": "height:60px; width: auto; background-color: #fff;"
12
10
  }
@@ -14,9 +14,7 @@
14
14
  "disabled": true
15
15
  }
16
16
  ],
17
- "style": {
18
- "height": "60px"
19
- },
17
+ "css": "height:60px; width: auto; background-color: #fff;",
20
18
  "advance": {
21
19
  "events": [
22
20
  {
@@ -6,7 +6,7 @@
6
6
  "group": "basic",
7
7
  "groupName": "基础",
8
8
  "order": 1,
9
- "style": {},
9
+ "css": {},
10
10
  "title": "按钮",
11
11
  "type": "default",
12
12
  "size": "middle",
@@ -101,7 +101,7 @@
101
101
  "default": "hidden"
102
102
  }
103
103
  ],
104
- "style": {},
104
+ "css": {},
105
105
  "advance": {
106
106
  "events": [
107
107
  {
@@ -6,7 +6,6 @@
6
6
  "group": "advance",
7
7
  "groupName": "高级",
8
8
  "order": 1,
9
- "style": {},
10
9
  "autoLoad": true,
11
10
  "readOnly": false,
12
11
  "isFlow": false,
@@ -14,7 +14,7 @@
14
14
  "disabled": true
15
15
  },
16
16
  {
17
- "key": "dateset",
17
+ "key": "dataset",
18
18
  "name": "首次数据自动加载",
19
19
  "desc": "选择系统中的可用树形数据集",
20
20
  "type": "_DataSetSelector"
@@ -94,7 +94,6 @@
94
94
  "type": "_ActionSelector"
95
95
  }
96
96
  ],
97
- "style": {},
98
97
  "advance": {
99
98
  "events": [
100
99
  {
@@ -6,7 +6,6 @@
6
6
  "group": "basic",
7
7
  "groupName": "基础",
8
8
  "order": 1,
9
- "style": {},
10
9
  "title": "对话框",
11
10
  "width": "700px",
12
11
  "height": "60vh",
@@ -83,7 +83,6 @@
83
83
  "type": "_ActionSelector"
84
84
  }
85
85
  ],
86
- "style": {},
87
86
  "advance": {
88
87
  "events": [
89
88
  {
@@ -6,7 +6,6 @@
6
6
  "group": "basic",
7
7
  "groupName": "基础",
8
8
  "order": 1,
9
- "style": {},
10
9
  "title": "抽屉",
11
10
  "width": 420,
12
11
  "height": 360,
@@ -94,7 +94,6 @@
94
94
  "type": "_ActionSelector"
95
95
  }
96
96
  ],
97
- "style": {},
98
97
  "advance": {
99
98
  "events": [
100
99
  {
@@ -6,7 +6,6 @@
6
6
  "group": "advance",
7
7
  "groupName": "高级",
8
8
  "order": 1,
9
- "style": {},
10
9
  "type": "auto",
11
10
  "saveBtnTitle": "保存",
12
11
  "defaultColumnCount": 4
@@ -14,7 +14,7 @@
14
14
  "disabled": true
15
15
  },
16
16
  {
17
- "key": "dateset",
17
+ "key": "dataset",
18
18
  "name": "首次数据自动加载",
19
19
  "desc": "选择系统中的可用树形数据集",
20
20
  "type": "_DataSetSelector"
@@ -85,7 +85,6 @@
85
85
  "type": "number"
86
86
  }
87
87
  ],
88
- "style": {},
89
88
  "advance": {
90
89
  "events": [
91
90
  {
@@ -6,6 +6,6 @@
6
6
  "group": "basic",
7
7
  "groupName": "基础",
8
8
  "order": 1,
9
- "style": {},
9
+ "css": {},
10
10
  "supportFullScreen": true
11
11
  }
@@ -27,6 +27,6 @@
27
27
  "default": true
28
28
  }
29
29
  ],
30
- "style": {},
30
+ "css": {},
31
31
  "advance": {}
32
32
  }
@@ -6,7 +6,7 @@
6
6
  "groupName": "基础",
7
7
  "desc": "用于显示图像或照片。以便用户可以轻松地创建具有自定义图片样式和布局的界面。",
8
8
  "order": 1,
9
- "style": {},
9
+ "css": {},
10
10
  "width": 350,
11
11
  "height": 200,
12
12
  "autoWidth": false,
@@ -88,7 +88,7 @@
88
88
  "default": false
89
89
  }
90
90
  ],
91
- "style": {},
91
+ "css": {},
92
92
  "advance": {
93
93
  "events": [
94
94
  {
@@ -6,7 +6,7 @@
6
6
  "group": "basic",
7
7
  "groupName": "基础",
8
8
  "order": 1,
9
- "style": {},
9
+ "css": {},
10
10
  "type": "export",
11
11
  "title": "导入|导出"
12
12
  }
@@ -50,7 +50,7 @@
50
50
  "type": "string"
51
51
  }
52
52
  ],
53
- "style": {},
53
+ "css": {},
54
54
  "advance": {
55
55
  "events": [
56
56
  {
@@ -1,29 +1,135 @@
1
1
  [
2
2
  {
3
- "name":"Botton",
4
- "triggerWord": "btn",
5
- "completions": [
6
- {
7
- "label": "onClick",
8
- "kind": "Method",
9
- "insertText": "onClick(event=>{\n\t\n})"
10
- }
11
- ]
12
- },
13
- {
14
- "name":"Context",
15
- "triggerWord": "ctx",
16
- "completions": [
17
- {
18
- "label": "customMethod",
19
- "kind": "Method",
20
- "insertText": "customMethod((btn,event)=>{\n\t\n})"
21
- },
22
- {
23
- "label": "customProperty",
24
- "kind": "Property",
25
- "insertText": "customProperty"
26
- }
27
- ]
3
+ "name": "Box",
4
+ "triggerWord": "box",
5
+ "completions": []
6
+ },
7
+ {
8
+ "name": "Button",
9
+ "triggerWord": "button",
10
+ "completions": []
11
+ },
12
+ {
13
+ "name": "CardList",
14
+ "triggerWord": "cardlist",
15
+ "completions": []
16
+ },
17
+ {
18
+ "name": "Dialog",
19
+ "triggerWord": "dialog",
20
+ "completions": []
21
+ },
22
+ {
23
+ "name": "Drawer",
24
+ "triggerWord": "drawer",
25
+ "completions": [
26
+ {
27
+ "label": "open",
28
+ "kind": "property",
29
+ "insertText": "open",
30
+ "documentation": " /**\r\n * 是否打开\r\n * @property\r\n */\r"
31
+ },
32
+ {
33
+ "label": "doOpen",
34
+ "kind": "method",
35
+ "insertText": "doOpen",
36
+ "documentation": " /**\r\n * 打开弹窗\r\n * @method\r\n */\r"
37
+ },
38
+ {
39
+ "label": "doClose",
40
+ "kind": "method",
41
+ "insertText": "doClose",
42
+ "documentation": " /**\r\n * 关闭弹窗\r\n * @method\r\n */\r"
43
+ },
44
+ {
45
+ "label": "toggle",
46
+ "kind": "method",
47
+ "insertText": "toggle",
48
+ "documentation": " /**\r\n * @method\r\n * 切换弹窗\r\n */\r"
49
+ }
50
+ ]
51
+ },
52
+ {
53
+ "name": "Form",
54
+ "triggerWord": "form",
55
+ "completions": []
56
+ },
57
+ {
58
+ "name": "Iframe",
59
+ "triggerWord": "iframe",
60
+ "completions": []
61
+ },
62
+ {
63
+ "name": "Image",
64
+ "triggerWord": "image",
65
+ "completions": []
66
+ },
67
+ {
68
+ "name": "ImEx",
69
+ "triggerWord": "imex",
70
+ "completions": []
71
+ },
72
+ {
73
+ "name": "JSX",
74
+ "triggerWord": "jsx",
75
+ "completions": []
76
+ },
77
+ {
78
+ "name": "Layout",
79
+ "triggerWord": "layout",
80
+ "completions": []
81
+ },
82
+ {
83
+ "name": "Link",
84
+ "triggerWord": "link",
85
+ "completions": []
86
+ },
87
+ {
88
+ "name": "Section",
89
+ "triggerWord": "section",
90
+ "completions": []
91
+ },
92
+ {
93
+ "name": "Split",
94
+ "triggerWord": "split",
95
+ "completions": []
96
+ },
97
+ {
98
+ "name": "Table",
99
+ "triggerWord": "table",
100
+ "completions": []
101
+ },
102
+ {
103
+ "name": "Tabs",
104
+ "triggerWord": "tabs",
105
+ "completions": []
106
+ },
107
+ {
108
+ "name": "Text",
109
+ "triggerWord": "text",
110
+ "completions": []
111
+ },
112
+ {
113
+ "name": "Tree",
114
+ "triggerWord": "tree",
115
+ "completions": []
116
+ },
117
+ {
118
+ "name": "ContextProvider",
119
+ "triggerWord": "ctx",
120
+ "completions": [
121
+ {
122
+ "label": "getParentElement",
123
+ "kind": "method",
124
+ "insertText": "getParentElement(id)",
125
+ "documentation": " /**\r\n * @method\r\n * @param {string} id - 组件id\r\n * @return {object}\r\n */\r"
126
+ },
127
+ {
128
+ "label": "getUrlParams",
129
+ "kind": "method",
130
+ "insertText": "getUrlParams",
131
+ "documentation": " /**\r\n * @method\r\n * @return {object}\r\n */\r"
132
+ }
133
+ ]
28
134
  }
29
- ]
135
+ ]
@@ -6,5 +6,5 @@
6
6
  "group": "basic",
7
7
  "groupName": "基础",
8
8
  "order": 1,
9
- "style": {}
9
+ "css": {}
10
10
  }
@@ -20,6 +20,6 @@
20
20
  "type": "_CodeEditor"
21
21
  }
22
22
  ],
23
- "style": {},
23
+ "css": {},
24
24
  "advance": {}
25
25
  }
@@ -6,7 +6,7 @@
6
6
  "groupName": "布局",
7
7
  "desc": "布局容器是一种提供列比例、列间距、行间距和样式等配置选项的元素,用于创建灵活的页面布局。它使用户能够轻松组织和排列组件,并实现各种复杂的布局需求。",
8
8
  "order": 1,
9
- "style": {},
9
+ "css": {},
10
10
  "columnRatio": "12:3:9",
11
11
  "columnSpacing": 16,
12
12
  "lineSpacing": 16
@@ -88,7 +88,7 @@
88
88
  "default": 16
89
89
  }
90
90
  ],
91
- "style": {},
91
+ "css": {},
92
92
  "advance": {
93
93
  "events": [
94
94
  {
@@ -6,7 +6,7 @@
6
6
  "groupName": "基础",
7
7
  "desc": "用于创建可点击的链接,以便用户可以跳转到其他页面或访问相关内容。超链组件提供了简单而直观的方式来创建和管理链接。",
8
8
  "order": 1,
9
- "style": {},
9
+ "css": {},
10
10
  "textOverflow": false,
11
11
  "type": "page",
12
12
  "isLayer": false,
@@ -86,7 +86,7 @@
86
86
  "default": "hidden"
87
87
  }
88
88
  ],
89
- "style": {},
89
+ "css": {},
90
90
  "advance": {
91
91
  "events": [
92
92
  {
@@ -0,0 +1,97 @@
1
+ export default {
2
+ "luckda.lowcode.page": "页面",
3
+ "luckda.lowcode.modal": "模态视图层",
4
+ "luckda.lowcode.painter.I18n.search": "搜索文案",
5
+ "luckda.lowcode.painter.I18n.add": "新增文案",
6
+ "luckda.lowcode.painter.components.search": "搜索组件",
7
+ "ccm.dev.page.set.components.base": "基础组件",
8
+ "ccm.dev.page.set.components.dataset": "数据集字段",
9
+ "luckda.lowcode.painter.panel-section.width-height": "请输入数值",
10
+ "luckda.lowcode.painter.edit": "编辑",
11
+ "luckda.lowcode.painter.delete": "删除",
12
+ "luckda.lowcode.painter.panel-section.tabsitems.edit": "添加",
13
+ "luckda.lowcode.painter.panel-section.tabsitems.delete": "删除",
14
+ "luckda.lowcode.painter.panel-section.tabsitems.editor.tabname": "名称",
15
+ "luckda.lowcode.painter.panel-section.tabsitems.editor.tabname.placeholder": "请输入标签名称",
16
+ "luckda.lowcode.painter.panel-section.tabsitems.editor.id": "编号",
17
+ "luckda.lowcode.painter.panel-section.tabsitems.editor.reskey": "控制效果",
18
+ "luckda.lowcode.painter.panel-section.tabsitems.editor.reskey.placeholder": "请输入资源串",
19
+ "luckda.lowcode.painter.panel-section.Layoutratio.err": "必须是数字或者数字加:号的组合,且数字之和必须等于12",
20
+ "luckda.lowcode.painter.panel-section.Layoutratio.label": "列比例",
21
+ "luckda.lowcode.painter.panel-section.Layoutratio.placeholder": "请输入列比例",
22
+ "luckda.lowcode.painter.panel-section.style-panel.sourceedit": "源码编辑",
23
+ "luckda.lowcode.painter.import": "导入",
24
+ "luckda.lowcode.painter.export": "导出",
25
+ "luckda.lowcode.painter.panel-section.style-panel.box-shadow.big": "大",
26
+ "luckda.lowcode.painter.panel-section.style-panel.box-shadow.middle": "中",
27
+ "luckda.lowcode.painter.panel-section.style-panel.box-shadow.small": "小",
28
+ "luckda.lowcode.painter.panel-section.style-panel.box-shadow.none": "无",
29
+ "luckda.lowcode.painter.panel-section.style-panel.box-shadow.custom": "自定义",
30
+ "luckda.lowcode.painter.panel-section.style-panel.box-shadow.detail.color": "颜色",
31
+ "luckda.lowcode.painter.panel-section.style-panel.padding.top": "上边距",
32
+ "luckda.lowcode.painter.panel-section.style-panel.padding.right": "右边距",
33
+ "luckda.lowcode.painter.panel-section.style-panel.padding.down": "下边距",
34
+ "luckda.lowcode.painter.panel-section.style-panel.padding.left": "左边距",
35
+ "luckda.lowcode.painter.panel-section.style-panel.margin.top": "上间距",
36
+ "luckda.lowcode.painter.panel-section.style-panel.margin.right": "右间距",
37
+ "luckda.lowcode.painter.panel-section.style-panel.margin.down": "下间距",
38
+ "luckda.lowcode.painter.panel-section.style-panel.margin.left": "左间距",
39
+ "luckda.lowcode.painter.panel-section.style-panel.group-name": "样式设置",
40
+ "luckda.lowcode.painter.panel-section.style-panel.width": "请输入宽高度",
41
+ "luckda.lowcode.painter.panel-section.style-panel.display": "显示",
42
+ "luckda.lowcode.painter.panel-section.style-panel.margin.superbig": "超大(24px)",
43
+ "luckda.lowcode.painter.panel-section.style-panel.margin.big": "大(20px)",
44
+ "luckda.lowcode.painter.panel-section.style-panel.margin.middle": "中(16px)",
45
+ "luckda.lowcode.painter.panel-section.style-panel.margin.small": "小(12px)",
46
+ "luckda.lowcode.painter.panel-section.style-panel.margin.supersmall": "超小(8px)",
47
+ "luckda.lowcode.painter.panel-section.style-panel.margin.none": "无(0px)",
48
+ "luckda.lowcode.painter.panel-section.style-panel.margin.default": "默认",
49
+ "luckda.lowcode.painter.panel-section.style-panel.font.weight": "字重",
50
+ "luckda.lowcode.painter.panel-section.style-panel.font.style": "样式",
51
+ "luckda.lowcode.painter.panel-section.style-panel.font.color": "字体颜色",
52
+ "luckda.lowcode.painter.panel-section.style-panel.font.size": "字体大小",
53
+ "luckda.lowcode.painter.panel-section.style-panel.font.align": "对齐",
54
+ "luckda.lowcode.painter.panel-section.style-panel.font.align.left": "左对齐",
55
+ "luckda.lowcode.painter.panel-section.style-panel.font.align.center": "自适应",
56
+ "luckda.lowcode.painter.panel-section.style-panel.font.style.none": "无",
57
+ "luckda.lowcode.painter.panel-section.style-panel.font.style.underline": "下划线",
58
+ "luckda.lowcode.painter.panel-section.style-panel.font.style.line-through": "中划线",
59
+ "luckda.lowcode.painter.panel-section.style-panel.font": "文字",
60
+ "luckda.lowcode.painter.panel-section.style-panel.font.h1": "一级标题",
61
+ "luckda.lowcode.painter.panel-section.style-panel.font.h2": "二级标题",
62
+ "luckda.lowcode.painter.panel-section.style-panel.font.h3": "三级标题",
63
+ "luckda.lowcode.painter.panel-section.style-panel.font.paragraph": "段落",
64
+ "luckda.lowcode.painter.panel-section.style-panel.font.default": "无",
65
+ "luckda.lowcode.painter.panel-section.style-panel.font.custom": "自定义",
66
+ "luckda.lowcode.painter.panel-section.style-panel.display.block": "块",
67
+ "luckda.lowcode.painter.panel-section.style-panel.display.inline-block": "行内块",
68
+ "luckda.lowcode.painter.panel-section.style-panel.display.inline": "行内",
69
+ "luckda.lowcode.painter.panel-section.style-panel.display.flex": "弹性",
70
+ "luckda.lowcode.painter.panel-section.style-panel.display.direct.row": "方向:横向",
71
+ "luckda.lowcode.painter.panel-section.style-panel.display.direct.column": "方向:纵向反转",
72
+ "luckda.lowcode.painter.panel-section.style-panel.display.align-items.flex-start": "交叉轴:起始对齐",
73
+ "luckda.lowcode.painter.panel-section.style-panel.display.align-items.center": "交叉轴:居中",
74
+ "luckda.lowcode.painter.panel-section.style-panel.display.align-items.flex-end": "交叉轴:终点对齐",
75
+ "luckda.lowcode.painter.panel-section.style-panel.display.align-items.stretch": "交叉轴:拉伸",
76
+ "luckda.lowcode.painter.panel-section.style-panel.display.align-items.baseline": "交叉轴:基线",
77
+ "luckda.lowcode.painter.panel-section.style-panel.display.justify.flex-start": "水平轴:起始对齐",
78
+ "luckda.lowcode.painter.panel-section.style-panel.display.justify.center": "水平轴:居中对齐",
79
+ "luckda.lowcode.painter.panel-section.style-panel.display.justify.flex-end": "水平轴:结束对齐",
80
+ "luckda.lowcode.painter.panel-section.style-panel.display.justify.space-between": "水平轴:两端对齐",
81
+ "luckda.lowcode.painter.panel-section.style-panel.display.justify.space-around": "水平轴:均匀对齐,项目周围间隔相等",
82
+ "luckda.lowcode.painter.panel-section.style-panel.display.justify.space-evenly": "水平轴:均匀分布,所有项目与容器边缘的间隔相等",
83
+ "luckda.lowcode.painter.panel-section.style-panel.border-radius": " 圆角",
84
+ "luckda.lowcode.painter.panel-section.style-panel.border-radius.width": "半径",
85
+ "luckda.lowcode.painter.panel-section.style-panel.border": "边框",
86
+ "luckda.lowcode.painter.panel-section.style-panel.border.style": "边框",
87
+ "luckda.lowcode.painter.panel-section.style-panel.border.style.none": "无",
88
+ "luckda.lowcode.painter.panel-section.style-panel.border.style.solid": "实线条",
89
+ "luckda.lowcode.painter.panel-section.style-panel.border.style.dotted": "点线",
90
+ "luckda.lowcode.painter.panel-section.style-panel.border.style.dashed": "虚线",
91
+ "luckda.lowcode.painter.panel-section.style-panel.border.width": "线宽",
92
+ "luckda.lowcode.painter.panel-section.style-panel.border.color": "颜色",
93
+ "luckda.lowcode.painter.panel-section.style-panel.background": "背景",
94
+ "luckda.lowcode.painter.coder": "编码器",
95
+ "luckda.lowcode.painter.panel-section.components.listeditor.add": "添加一项",
96
+ "luckda.lowcode.painter.components.fullscreen.tip": "全屏"
97
+ };
@@ -6,7 +6,7 @@
6
6
  "groupName": "布局",
7
7
  "desc": "分组组件用于将相关组件或内容进行分组和组织。使用户能够轻松创建具有分组效果的界面,并根据需要进行定制。s",
8
8
  "order": 1,
9
- "style": {},
9
+ "css": {},
10
10
  "collapse": true,
11
11
  "showHeader": true,
12
12
  "title": "分组",
@@ -88,7 +88,7 @@
88
88
  "default": true
89
89
  }
90
90
  ],
91
- "style": {},
91
+ "css": {},
92
92
  "advance": {
93
93
  "events": [
94
94
  {
@@ -6,7 +6,7 @@
6
6
  "groupName": "布局",
7
7
  "desc": "分割面板容器是一种可以通过拖拽分割线调整面板大小的容器组件,用于创建页面布局或需要调整可视区域的布局场景",
8
8
  "order": 1,
9
- "style": {},
9
+ "css": {},
10
10
  "display": "normal",
11
11
  "split": "vertical",
12
12
  "ratio": "1:3"
@@ -46,7 +46,7 @@
46
46
  "default": "1:3"
47
47
  }
48
48
  ],
49
- "style": {},
49
+ "css": {},
50
50
  "advance": {
51
51
  "events": [
52
52
  {
@@ -8,19 +8,35 @@
8
8
  "order": 1,
9
9
  "autoLoad": true,
10
10
  "readOnly": false,
11
- "suppressPreset": false,
12
- "actionsColumn": true,
11
+ "topActionGroup": {
12
+ "display": "button",
13
+ "max": 2,
14
+ "moreText": "操作",
15
+ "todoList": []
16
+ },
13
17
  "suppressActions": false,
14
18
  "actionsColumnWidth": 160,
15
19
  "actions": {
16
20
  "display": "text",
17
21
  "max": 2,
22
+ "moreText": "更多操作",
18
23
  "todoList": []
19
24
  },
25
+ "rowSelection": false,
26
+ "suppressRowSelectionPagination": false,
27
+ "rowSelectionMode": "multiple",
28
+ "bantchActions": {
29
+ "todoList": []
30
+ },
31
+ "impexp": {
32
+ "export": true
33
+ },
20
34
  "width": "100%",
21
35
  "height": "100%",
22
36
  "zebra": false,
37
+ "suppressPreset": false,
23
38
  "bordered": false,
39
+ "renderIndex": true,
24
40
  "pagination": true,
25
41
  "showSizeChanger": true,
26
42
  "showQuickJumper": true,