@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.
- package/es/components/LDActions/index.js +130 -0
- package/es/components/LDActions/index.less +48 -0
- package/es/components/LdFormList/index.js +1 -1
- package/es/components/LdGrid/index.js +9 -3
- package/es/components/LdTree/index.js +32 -5
- package/es/components/LdTree/index.less +6 -1
- package/es/index.js +1 -0
- package/es/locales/zh-CN.js +151 -0
- package/es/lowcode/constants/api-url.js +71 -12
- package/es/lowcode/constants/index.js +3 -1
- package/es/lowcode/engine/factory/panel-item-factory/CheckboxStrategy.js +32 -0
- package/es/lowcode/engine/factory/panel-item-factory/index.js +2 -0
- package/es/lowcode/engine/meta/box.props.default.json +1 -3
- package/es/lowcode/engine/meta/box.props.json +1 -3
- package/es/lowcode/engine/meta/button.props.default.json +1 -1
- package/es/lowcode/engine/meta/button.props.json +1 -1
- package/es/lowcode/engine/meta/cardlist.props.default.json +0 -1
- package/es/lowcode/engine/meta/cardlist.props.json +1 -2
- package/es/lowcode/engine/meta/dialog.props.default.json +0 -1
- package/es/lowcode/engine/meta/dialog.props.json +0 -1
- package/es/lowcode/engine/meta/drawer.props.default.json +0 -1
- package/es/lowcode/engine/meta/drawer.props.json +0 -1
- package/es/lowcode/engine/meta/form.props.default.json +0 -1
- package/es/lowcode/engine/meta/form.props.json +1 -2
- package/es/lowcode/engine/meta/iframe.props.default.json +1 -1
- package/es/lowcode/engine/meta/iframe.props.json +1 -1
- package/es/lowcode/engine/meta/image.props.default.json +1 -1
- package/es/lowcode/engine/meta/image.props.json +1 -1
- package/es/lowcode/engine/meta/imex.props.default.json +1 -1
- package/es/lowcode/engine/meta/imex.props.json +1 -1
- package/es/lowcode/engine/meta/js-editor/auto-complete.json +132 -26
- package/es/lowcode/engine/meta/jsx.props.default.json +1 -1
- package/es/lowcode/engine/meta/jsx.props.json +1 -1
- package/es/lowcode/engine/meta/layout.props.default.json +1 -1
- package/es/lowcode/engine/meta/layout.props.json +1 -1
- package/es/lowcode/engine/meta/link.props.default.json +1 -1
- package/es/lowcode/engine/meta/link.props.json +1 -1
- package/es/lowcode/engine/meta/local/local.zh-cn.js +97 -0
- package/es/lowcode/engine/meta/section.props.default.json +1 -1
- package/es/lowcode/engine/meta/section.props.json +1 -1
- package/es/lowcode/engine/meta/split.props.default.json +1 -1
- package/es/lowcode/engine/meta/split.props.json +1 -1
- package/es/lowcode/engine/meta/table.props.default.json +18 -2
- package/es/lowcode/engine/meta/table.props.json +207 -32
- package/es/lowcode/engine/meta/tabs.props.default.json +0 -1
- package/es/lowcode/engine/meta/tabs.props.json +0 -1
- package/es/lowcode/engine/meta/text.props.default.json +1 -1
- package/es/lowcode/engine/meta/text.props.json +1 -1
- package/es/lowcode/engine/meta/tree.props.default.json +9 -4
- package/es/lowcode/engine/meta/tree.props.json +101 -55
- package/es/lowcode/engine/provider/{ContextProvider.js → ContextProvider/index.js} +71 -41
- package/es/lowcode/engine/tools/helper.js +29 -1
- package/es/lowcode/engine/tools/usePromiseState.js +7 -6
- package/es/lowcode/painter/Panel.js +50 -133
- package/es/lowcode/painter/Ribbon.js +1 -1
- package/es/lowcode/painter/components/ActionBindModal.js +180 -0
- package/es/lowcode/painter/components/AdvancePanel.js +68 -0
- package/es/lowcode/painter/components/AttrsPanel.js +134 -0
- package/es/lowcode/painter/components/Collapse.js +12 -7
- package/es/lowcode/painter/components/FieldSelector.js +44 -0
- package/es/lowcode/painter/components/ListEditor.js +4 -2
- package/es/lowcode/painter/components/PopConfirm.js +10 -3
- package/es/lowcode/painter/components/code-editor/BaseEditor.js +14 -2
- package/es/lowcode/painter/components/code-editor/JSEditor.js +25 -14
- package/es/lowcode/painter/components/code-editor/JsonEditor.js +41 -0
- package/es/lowcode/painter/{components/actions-editor → panel-section/ActionsEditor}/ActionEditor.js +10 -3
- package/es/lowcode/painter/{components/actions-editor → panel-section/ActionsEditor}/index.js +36 -8
- package/es/lowcode/painter/panel-section/ImpExp.js +91 -0
- package/es/lowcode/painter/panel-section/JSEditor.js +48 -0
- package/es/lowcode/painter/panel-section/StylePanel/MainPanel.js +2 -2
- package/es/lowcode/painter/panel-section/StylePanel/StyleContext.js +1 -1
- package/es/lowcode/painter/panel-section/TableTopFilter.js +306 -0
- package/es/lowcode/painter/style/action-bind-modal.less +99 -0
- package/es/lowcode/painter/style/design.less +1 -1
- package/es/lowcode/painter/style/impexp.less +7 -0
- package/es/lowcode/painter/style/panel-attrs.less +43 -0
- package/es/lowcode/painter/style/panel.less +6 -37
- package/es/lowcode/painter/style/pop-confirm.less +9 -2
- package/es/lowcode/view/lc-components/Box/index.js +20 -4
- package/es/lowcode/view/lc-components/Box/index.less +0 -1
- package/es/lowcode/view/lc-components/Box/meta.json +1 -3
- package/es/lowcode/view/lc-components/Button/meta.json +1 -1
- package/es/lowcode/view/lc-components/CardList/meta.json +1 -2
- package/es/lowcode/view/lc-components/Dialog/meta.json +0 -1
- package/es/lowcode/view/lc-components/Drawer/index.js +16 -0
- package/es/lowcode/view/lc-components/Drawer/meta.json +0 -1
- package/es/lowcode/view/lc-components/Form/meta.json +1 -2
- package/es/lowcode/view/lc-components/Iframe/meta.json +1 -1
- package/es/lowcode/view/lc-components/ImEx/meta.json +1 -1
- package/es/lowcode/view/lc-components/Image/meta.json +1 -1
- package/es/lowcode/view/lc-components/JSX/meta.json +1 -1
- package/es/lowcode/view/lc-components/Layout/FunctionDesign.js +6 -9
- package/es/lowcode/view/lc-components/Layout/meta.json +1 -1
- package/es/lowcode/view/lc-components/Link/meta.json +1 -1
- package/es/lowcode/view/lc-components/Section/meta.json +1 -1
- package/es/lowcode/view/lc-components/Split/meta.json +1 -1
- package/es/lowcode/view/lc-components/Table/FunctionDesign.js +35 -2
- package/es/lowcode/view/lc-components/Table/components/TopFilter.js +96 -0
- package/es/lowcode/view/lc-components/Table/index.js +255 -35
- package/es/lowcode/view/lc-components/Table/meta.json +179 -32
- package/es/lowcode/view/lc-components/Tabs/meta.json +0 -1
- package/es/lowcode/view/lc-components/Text/meta.json +1 -1
- package/es/lowcode/view/lc-components/Tree/FunctionDesign.js +48 -3
- package/es/lowcode/view/lc-components/Tree/index.js +77 -6
- package/es/lowcode/view/lc-components/Tree/index.less +2 -0
- package/es/lowcode/view/lc-components/Tree/meta.json +97 -55
- package/es/lowcode/view/lc-components/Wrapper.js +2 -2
- package/lib/components/LDActions/index.js +138 -0
- package/lib/components/LDActions/index.less +48 -0
- package/lib/components/LdFormList/index.js +1 -1
- package/lib/components/LdGrid/index.js +8 -2
- package/lib/components/LdTree/index.js +31 -4
- package/lib/components/LdTree/index.less +6 -1
- package/lib/index.js +8 -0
- package/lib/locales/zh-CN.js +157 -0
- package/lib/lowcode/constants/api-url.js +71 -12
- package/lib/lowcode/constants/index.js +4 -2
- package/lib/lowcode/engine/factory/panel-item-factory/CheckboxStrategy.js +38 -0
- package/lib/lowcode/engine/factory/panel-item-factory/index.js +2 -0
- package/lib/lowcode/engine/meta/box.props.default.json +1 -3
- package/lib/lowcode/engine/meta/box.props.json +1 -3
- package/lib/lowcode/engine/meta/button.props.default.json +1 -1
- package/lib/lowcode/engine/meta/button.props.json +1 -1
- package/lib/lowcode/engine/meta/cardlist.props.default.json +0 -1
- package/lib/lowcode/engine/meta/cardlist.props.json +1 -2
- package/lib/lowcode/engine/meta/dialog.props.default.json +0 -1
- package/lib/lowcode/engine/meta/dialog.props.json +0 -1
- package/lib/lowcode/engine/meta/drawer.props.default.json +0 -1
- package/lib/lowcode/engine/meta/drawer.props.json +0 -1
- package/lib/lowcode/engine/meta/form.props.default.json +0 -1
- package/lib/lowcode/engine/meta/form.props.json +1 -2
- package/lib/lowcode/engine/meta/iframe.props.default.json +1 -1
- package/lib/lowcode/engine/meta/iframe.props.json +1 -1
- package/lib/lowcode/engine/meta/image.props.default.json +1 -1
- package/lib/lowcode/engine/meta/image.props.json +1 -1
- package/lib/lowcode/engine/meta/imex.props.default.json +1 -1
- package/lib/lowcode/engine/meta/imex.props.json +1 -1
- package/lib/lowcode/engine/meta/js-editor/auto-complete.json +132 -26
- package/lib/lowcode/engine/meta/jsx.props.default.json +1 -1
- package/lib/lowcode/engine/meta/jsx.props.json +1 -1
- package/lib/lowcode/engine/meta/layout.props.default.json +1 -1
- package/lib/lowcode/engine/meta/layout.props.json +1 -1
- package/lib/lowcode/engine/meta/link.props.default.json +1 -1
- package/lib/lowcode/engine/meta/link.props.json +1 -1
- package/lib/lowcode/engine/meta/local/local.zh-cn.js +103 -0
- package/lib/lowcode/engine/meta/section.props.default.json +1 -1
- package/lib/lowcode/engine/meta/section.props.json +1 -1
- package/lib/lowcode/engine/meta/split.props.default.json +1 -1
- package/lib/lowcode/engine/meta/split.props.json +1 -1
- package/lib/lowcode/engine/meta/table.props.default.json +18 -2
- package/lib/lowcode/engine/meta/table.props.json +207 -32
- package/lib/lowcode/engine/meta/tabs.props.default.json +0 -1
- package/lib/lowcode/engine/meta/tabs.props.json +0 -1
- package/lib/lowcode/engine/meta/text.props.default.json +1 -1
- package/lib/lowcode/engine/meta/text.props.json +1 -1
- package/lib/lowcode/engine/meta/tree.props.default.json +9 -4
- package/lib/lowcode/engine/meta/tree.props.json +101 -55
- package/lib/lowcode/engine/provider/{ContextProvider.js → ContextProvider/index.js} +70 -40
- package/lib/lowcode/engine/tools/helper.js +31 -0
- package/lib/lowcode/engine/tools/usePromiseState.js +6 -5
- package/lib/lowcode/painter/Panel.js +48 -131
- package/lib/lowcode/painter/Ribbon.js +1 -1
- package/lib/lowcode/painter/components/ActionBindModal.js +188 -0
- package/lib/lowcode/painter/components/AdvancePanel.js +76 -0
- package/lib/lowcode/painter/components/AttrsPanel.js +142 -0
- package/lib/lowcode/painter/components/Collapse.js +12 -7
- package/lib/lowcode/painter/components/FieldSelector.js +52 -0
- package/lib/lowcode/painter/components/ListEditor.js +4 -2
- package/lib/lowcode/painter/components/PopConfirm.js +10 -3
- package/lib/lowcode/painter/components/code-editor/BaseEditor.js +14 -2
- package/lib/lowcode/painter/components/code-editor/JSEditor.js +25 -14
- package/lib/lowcode/painter/components/code-editor/JsonEditor.js +48 -0
- package/lib/lowcode/painter/{components/actions-editor → panel-section/ActionsEditor}/ActionEditor.js +10 -3
- package/lib/lowcode/painter/{components/actions-editor → panel-section/ActionsEditor}/index.js +35 -7
- package/lib/lowcode/painter/panel-section/ImpExp.js +98 -0
- package/lib/lowcode/painter/panel-section/JSEditor.js +56 -0
- package/lib/lowcode/painter/panel-section/StylePanel/MainPanel.js +2 -2
- package/lib/lowcode/painter/panel-section/StylePanel/StyleContext.js +1 -1
- package/lib/lowcode/painter/panel-section/TableTopFilter.js +314 -0
- package/lib/lowcode/painter/style/action-bind-modal.less +99 -0
- package/lib/lowcode/painter/style/design.less +1 -1
- package/lib/lowcode/painter/style/impexp.less +7 -0
- package/lib/lowcode/painter/style/panel-attrs.less +43 -0
- package/lib/lowcode/painter/style/panel.less +6 -37
- package/lib/lowcode/painter/style/pop-confirm.less +9 -2
- package/lib/lowcode/view/lc-components/Box/index.js +17 -2
- package/lib/lowcode/view/lc-components/Box/index.less +0 -1
- package/lib/lowcode/view/lc-components/Box/meta.json +1 -3
- package/lib/lowcode/view/lc-components/Button/meta.json +1 -1
- package/lib/lowcode/view/lc-components/CardList/meta.json +1 -2
- package/lib/lowcode/view/lc-components/Dialog/meta.json +0 -1
- package/lib/lowcode/view/lc-components/Drawer/index.js +16 -0
- package/lib/lowcode/view/lc-components/Drawer/meta.json +0 -1
- package/lib/lowcode/view/lc-components/Form/meta.json +1 -2
- package/lib/lowcode/view/lc-components/Iframe/meta.json +1 -1
- package/lib/lowcode/view/lc-components/ImEx/meta.json +1 -1
- package/lib/lowcode/view/lc-components/Image/meta.json +1 -1
- package/lib/lowcode/view/lc-components/JSX/meta.json +1 -1
- package/lib/lowcode/view/lc-components/Layout/FunctionDesign.js +6 -9
- package/lib/lowcode/view/lc-components/Layout/meta.json +1 -1
- package/lib/lowcode/view/lc-components/Link/meta.json +1 -1
- package/lib/lowcode/view/lc-components/Section/meta.json +1 -1
- package/lib/lowcode/view/lc-components/Split/meta.json +1 -1
- package/lib/lowcode/view/lc-components/Table/FunctionDesign.js +37 -3
- package/lib/lowcode/view/lc-components/Table/components/TopFilter.js +104 -0
- package/lib/lowcode/view/lc-components/Table/index.js +255 -35
- package/lib/lowcode/view/lc-components/Table/meta.json +179 -32
- package/lib/lowcode/view/lc-components/Tabs/meta.json +0 -1
- package/lib/lowcode/view/lc-components/Text/meta.json +1 -1
- package/lib/lowcode/view/lc-components/Tree/FunctionDesign.js +49 -3
- package/lib/lowcode/view/lc-components/Tree/index.js +77 -6
- package/lib/lowcode/view/lc-components/Tree/index.less +2 -0
- package/lib/lowcode/view/lc-components/Tree/meta.json +97 -55
- package/lib/lowcode/view/lc-components/Wrapper.js +2 -2
- package/package.json +10 -5
- package/es/lowcode/painter/panel-section/TableActions.js +0 -19
- 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);
|
|
@@ -14,7 +14,7 @@
|
|
|
14
14
|
"disabled": true
|
|
15
15
|
},
|
|
16
16
|
{
|
|
17
|
-
"key": "
|
|
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
|
{
|
|
@@ -14,7 +14,7 @@
|
|
|
14
14
|
"disabled": true
|
|
15
15
|
},
|
|
16
16
|
{
|
|
17
|
-
"key": "
|
|
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
|
{
|
|
@@ -1,29 +1,135 @@
|
|
|
1
1
|
[
|
|
2
2
|
{
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
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
|
+
]
|
|
@@ -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
|
+
};
|
|
@@ -8,19 +8,35 @@
|
|
|
8
8
|
"order": 1,
|
|
9
9
|
"autoLoad": true,
|
|
10
10
|
"readOnly": false,
|
|
11
|
-
"
|
|
12
|
-
|
|
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,
|