@luck-design-biz/luckda 1.0.1-12 → 1.0.1-14
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.less +3 -1
- package/es/components/LdCard/index.js +154 -67
- package/es/components/LdTree/index.js +14 -8
- package/es/components/LdTree/index.less +2 -0
- package/es/helper/ldBuilder.js +1 -1
- package/es/locales/zh-CN.js +4 -2
- package/es/lowcode/engine/meta/cardlist.props.default.json +27 -7
- package/es/lowcode/engine/meta/cardlist.props.json +252 -71
- package/es/lowcode/engine/meta/components-list.json +24 -0
- package/es/lowcode/engine/meta/iframe.props.default.json +1 -2
- package/es/lowcode/engine/meta/iframe.props.json +2 -4
- package/es/lowcode/engine/meta/image.props.default.json +3 -3
- package/es/lowcode/engine/meta/image.props.json +50 -16
- package/es/lowcode/engine/meta/js-editor/auto-complete.json +14 -1
- package/es/lowcode/engine/meta/link.props.default.json +1 -2
- package/es/lowcode/engine/meta/link.props.json +8 -9
- package/es/lowcode/painter/DesignToolbar.js +1 -1
- package/es/lowcode/painter/Ribbon.js +12 -0
- package/es/lowcode/painter/components/code-editor/BaseEditor.js +2 -1
- package/es/lowcode/painter/components/field-setting/FieldAttrs.js +2 -2
- package/es/lowcode/painter/panel-section/ActionsEditor/ActionEditor.js +20 -2
- package/es/lowcode/painter/panel-section/ActionsEditor/index.js +18 -3
- package/es/lowcode/painter/panel-section/GroupClassSelector.js +1 -1
- package/es/lowcode/painter/panel-section/StylePanel/MainPanel.js +1 -0
- package/es/lowcode/painter/panel-section/TableTopFilter.js +3 -3
- package/es/lowcode/painter/style/action-bind-modal.less +5 -3
- package/es/lowcode/painter/style/design.less +10 -7
- package/es/lowcode/painter/style/list-editor.less +5 -3
- package/es/lowcode/painter/style/number-input.less +3 -1
- package/es/lowcode/painter/style/outline.less +3 -1
- package/es/lowcode/painter/style/panel-attrs.less +7 -3
- package/es/lowcode/painter/style/panel.less +9 -7
- package/es/lowcode/painter/style/radio.less +1 -1
- package/es/lowcode/painter/style/ribbon.less +4 -2
- package/es/lowcode/view/lc-components/CardList/index.js +476 -12
- package/es/lowcode/view/lc-components/CardList/meta.json +253 -72
- package/es/lowcode/view/lc-components/GroupTree/index.js +24 -8
- package/es/lowcode/view/lc-components/Iframe/index.js +57 -7
- package/es/lowcode/view/lc-components/Iframe/meta.json +2 -4
- package/es/lowcode/view/lc-components/Image/index.js +82 -6
- package/es/lowcode/view/lc-components/Image/index.less +27 -0
- package/es/lowcode/view/lc-components/Image/meta.json +50 -16
- package/es/lowcode/view/lc-components/Link/index.js +53 -5
- package/es/lowcode/view/lc-components/Link/index.less +15 -0
- package/es/lowcode/view/lc-components/Link/meta.json +8 -9
- package/es/lowcode/view/lc-components/Table/index.js +3 -5
- package/es/lowcode/view/lc-components/Tree/index.js +18 -11
- package/lib/components/LDActions/index.less +3 -1
- package/lib/components/LdCard/index.js +153 -66
- package/lib/components/LdTree/index.js +14 -8
- package/lib/components/LdTree/index.less +2 -0
- package/lib/helper/ldBuilder.js +2 -2
- package/lib/locales/zh-CN.js +4 -2
- package/lib/lowcode/engine/meta/cardlist.props.default.json +27 -7
- package/lib/lowcode/engine/meta/cardlist.props.json +252 -71
- package/lib/lowcode/engine/meta/components-list.json +24 -0
- package/lib/lowcode/engine/meta/iframe.props.default.json +1 -2
- package/lib/lowcode/engine/meta/iframe.props.json +2 -4
- package/lib/lowcode/engine/meta/image.props.default.json +3 -3
- package/lib/lowcode/engine/meta/image.props.json +50 -16
- package/lib/lowcode/engine/meta/js-editor/auto-complete.json +14 -1
- package/lib/lowcode/engine/meta/link.props.default.json +1 -2
- package/lib/lowcode/engine/meta/link.props.json +8 -9
- package/lib/lowcode/painter/DesignToolbar.js +1 -1
- package/lib/lowcode/painter/Ribbon.js +12 -0
- package/lib/lowcode/painter/components/code-editor/BaseEditor.js +2 -1
- package/lib/lowcode/painter/components/field-setting/FieldAttrs.js +2 -2
- package/lib/lowcode/painter/panel-section/ActionsEditor/ActionEditor.js +19 -1
- package/lib/lowcode/painter/panel-section/ActionsEditor/index.js +18 -3
- package/lib/lowcode/painter/panel-section/GroupClassSelector.js +1 -1
- package/lib/lowcode/painter/panel-section/StylePanel/MainPanel.js +1 -0
- package/lib/lowcode/painter/panel-section/TableTopFilter.js +3 -3
- package/lib/lowcode/painter/style/action-bind-modal.less +5 -3
- package/lib/lowcode/painter/style/design.less +10 -7
- package/lib/lowcode/painter/style/list-editor.less +5 -3
- package/lib/lowcode/painter/style/number-input.less +3 -1
- package/lib/lowcode/painter/style/outline.less +3 -1
- package/lib/lowcode/painter/style/panel-attrs.less +7 -3
- package/lib/lowcode/painter/style/panel.less +9 -7
- package/lib/lowcode/painter/style/radio.less +1 -1
- package/lib/lowcode/painter/style/ribbon.less +4 -2
- package/lib/lowcode/view/lc-components/CardList/index.js +475 -11
- package/lib/lowcode/view/lc-components/CardList/meta.json +253 -72
- package/lib/lowcode/view/lc-components/GroupTree/index.js +22 -6
- package/lib/lowcode/view/lc-components/Iframe/index.js +55 -5
- package/lib/lowcode/view/lc-components/Iframe/meta.json +2 -4
- package/lib/lowcode/view/lc-components/Image/index.js +80 -4
- package/lib/lowcode/view/lc-components/Image/index.less +27 -0
- package/lib/lowcode/view/lc-components/Image/meta.json +50 -16
- package/lib/lowcode/view/lc-components/Link/index.js +52 -4
- package/lib/lowcode/view/lc-components/Link/index.less +15 -0
- package/lib/lowcode/view/lc-components/Link/meta.json +8 -9
- package/lib/lowcode/view/lc-components/Table/index.js +3 -5
- package/lib/lowcode/view/lc-components/Tree/index.js +17 -10
- package/package.json +5 -5
|
@@ -426,7 +426,7 @@ var DesignToolbar = function DesignToolbar(_ref) {
|
|
|
426
426
|
},
|
|
427
427
|
bodyStyle: {
|
|
428
428
|
height: 'calc(100% - 54px)',
|
|
429
|
-
backgroundColor: '
|
|
429
|
+
backgroundColor: 'var(--ant-component-background,#F0F2F5)'
|
|
430
430
|
},
|
|
431
431
|
visible: showPreview,
|
|
432
432
|
destroyOnClose: true,
|
|
@@ -76,6 +76,10 @@ var Ribbon = function Ribbon() {
|
|
|
76
76
|
})
|
|
77
77
|
}, /*#__PURE__*/_react.default.createElement(_antd.Icon, {
|
|
78
78
|
type: "apartment",
|
|
79
|
+
style: {
|
|
80
|
+
color: (drawer === null || drawer === void 0 ? void 0 : drawer.key) === _DRAWER_OUTLINE_.key && '#1d79f2',
|
|
81
|
+
fontSize: 20
|
|
82
|
+
},
|
|
79
83
|
onClick: function onClick() {
|
|
80
84
|
return setDrawer((drawer === null || drawer === void 0 ? void 0 : drawer.key) === _DRAWER_OUTLINE_.key ? null : _DRAWER_OUTLINE_);
|
|
81
85
|
}
|
|
@@ -87,6 +91,10 @@ var Ribbon = function Ribbon() {
|
|
|
87
91
|
})
|
|
88
92
|
}, /*#__PURE__*/_react.default.createElement(_antd.Icon, {
|
|
89
93
|
type: "appstore",
|
|
94
|
+
style: {
|
|
95
|
+
color: (drawer === null || drawer === void 0 ? void 0 : drawer.key) === _DRAWER_COMPONENTS_.key && '#1d79f2',
|
|
96
|
+
fontSize: 20
|
|
97
|
+
},
|
|
90
98
|
onClick: function onClick() {
|
|
91
99
|
return setDrawer((drawer === null || drawer === void 0 ? void 0 : drawer.key) === _DRAWER_COMPONENTS_.key ? null : _DRAWER_COMPONENTS_);
|
|
92
100
|
}
|
|
@@ -98,6 +106,10 @@ var Ribbon = function Ribbon() {
|
|
|
98
106
|
})
|
|
99
107
|
}, /*#__PURE__*/_react.default.createElement(_antd.Icon, {
|
|
100
108
|
type: "global",
|
|
109
|
+
style: {
|
|
110
|
+
color: (drawer === null || drawer === void 0 ? void 0 : drawer.key) === _DRAWER_I18N_.key && '#1d79f2',
|
|
111
|
+
fontSize: 20
|
|
112
|
+
},
|
|
101
113
|
onClick: function onClick() {
|
|
102
114
|
return setDrawer((drawer === null || drawer === void 0 ? void 0 : drawer.key) === _DRAWER_I18N_.key ? null : _DRAWER_I18N_);
|
|
103
115
|
}
|
|
@@ -83,7 +83,8 @@ var BaseEditor = /*#__PURE__*/(0, _react.forwardRef)(function (_ref, ref) {
|
|
|
83
83
|
onDidChangeStorage: function onDidChangeStorage() {}
|
|
84
84
|
}
|
|
85
85
|
});
|
|
86
|
-
|
|
86
|
+
// 监听布局变化,重新赋值,解决编辑器全屏切换时,编辑器空白的问题
|
|
87
|
+
editorInstance.current.onDidLayoutChange(function (event) {
|
|
87
88
|
if (onChange) onChange(editorInstance.current.getValue(), event);
|
|
88
89
|
});
|
|
89
90
|
}
|
|
@@ -36,8 +36,8 @@ var LeftBox = _styledComponents.default.div.withConfig({
|
|
|
36
36
|
var Option = _styledComponents.default.div.withConfig({
|
|
37
37
|
displayName: "Option",
|
|
38
38
|
componentId: "luckda-6530__sc-rwt684-3"
|
|
39
|
-
})(["width:100%;height:32px;cursor:pointer;line-height:32px;padding:0 8px;display:flex;justify-content:space-between;align-items:center;", " &:hover{background-color
|
|
40
|
-
return props.actived ? 'background-color: #e8e8e8;' : void 0;
|
|
39
|
+
})(["width:100%;height:32px;cursor:pointer;line-height:32px;padding:0 8px;display:flex;justify-content:space-between;align-items:center;", " &:hover{background-color:var(--ant-border-color-base,#e8e8e8);}"], function (props) {
|
|
40
|
+
return props.actived ? 'background-color: var(--ant-border-color-base, #e8e8e8);' : void 0;
|
|
41
41
|
});
|
|
42
42
|
var RightBox = _styledComponents.default.div.withConfig({
|
|
43
43
|
displayName: "RightBox",
|
|
@@ -13,6 +13,8 @@ var _lodash = require("lodash");
|
|
|
13
13
|
var _PopForm = require("../../components/PopForm");
|
|
14
14
|
var _SerialsSelector = _interopRequireDefault(require("../SerialsSelector"));
|
|
15
15
|
var _utils = require("@luck-design-biz/base/utils");
|
|
16
|
+
var _Icon = _interopRequireDefault(require("../Icon"));
|
|
17
|
+
var _IconSelector = _interopRequireDefault(require("../IconSelector"));
|
|
16
18
|
var _I18N_PREFIX_ = 'luckda.lowcode.painter.panel-section.actionEditor';
|
|
17
19
|
var _SERIAL_EFFECT_OPTIONS_ = [{
|
|
18
20
|
label: (0, _utils.formatMessage)({
|
|
@@ -56,6 +58,8 @@ var ActionEditor = function ActionEditor(_ref) {
|
|
|
56
58
|
var action = _ref.action,
|
|
57
59
|
onChange = _ref.onChange,
|
|
58
60
|
suppressName = _ref.suppressName,
|
|
61
|
+
_ref$suppressIcon = _ref.suppressIcon,
|
|
62
|
+
suppressIcon = _ref$suppressIcon === void 0 ? true : _ref$suppressIcon,
|
|
59
63
|
suppressRiskLevel = _ref.suppressRiskLevel;
|
|
60
64
|
var valueRef = (0, _react.useRef)((0, _lodash.cloneDeep)(action));
|
|
61
65
|
var handleChange = (0, _ahooks.useMemoizedFn)(function (field, value) {
|
|
@@ -75,7 +79,21 @@ var ActionEditor = function ActionEditor(_ref) {
|
|
|
75
79
|
id: "".concat(_I18N_PREFIX_, ".name.placeholder"),
|
|
76
80
|
label: '请输入行为名称'
|
|
77
81
|
})
|
|
78
|
-
}))), /*#__PURE__*/_react.default.createElement(_PopForm.PopFormItem, null, /*#__PURE__*/_react.default.createElement(_PopForm.PopFormItemLeft, null, (0, _utils.formatMessage)({
|
|
82
|
+
}))), !suppressIcon && /*#__PURE__*/_react.default.createElement(_PopForm.PopFormItem, null, /*#__PURE__*/_react.default.createElement(_PopForm.PopFormItemLeft, null, (0, _utils.formatMessage)({
|
|
83
|
+
id: "".concat(_I18N_PREFIX_, ".icon"),
|
|
84
|
+
label: '图标'
|
|
85
|
+
})), /*#__PURE__*/_react.default.createElement(_PopForm.PopFormItemRight, null, /*#__PURE__*/_react.default.createElement(_antd.Popover, {
|
|
86
|
+
placement: "left",
|
|
87
|
+
content: /*#__PURE__*/_react.default.createElement(_IconSelector.default, {
|
|
88
|
+
value: action.icon,
|
|
89
|
+
onChange: function onChange(value) {
|
|
90
|
+
return handleChange('icon', value);
|
|
91
|
+
}
|
|
92
|
+
}),
|
|
93
|
+
trigger: "click"
|
|
94
|
+
}, /*#__PURE__*/_react.default.createElement(_Icon.default, {
|
|
95
|
+
value: action.icon
|
|
96
|
+
})))), /*#__PURE__*/_react.default.createElement(_PopForm.PopFormItem, null, /*#__PURE__*/_react.default.createElement(_PopForm.PopFormItemLeft, null, (0, _utils.formatMessage)({
|
|
79
97
|
id: "".concat(_I18N_PREFIX_, ".serial"),
|
|
80
98
|
label: '资源串'
|
|
81
99
|
})), /*#__PURE__*/_react.default.createElement(_PopForm.PopFormItemRight, null, /*#__PURE__*/_react.default.createElement(_SerialsSelector.default, {
|
|
@@ -20,6 +20,7 @@ var _PopConfirm = _interopRequireDefault(require("../../components/PopConfirm"))
|
|
|
20
20
|
var _ActionBindModal = _interopRequireDefault(require("../../components/ActionBindModal"));
|
|
21
21
|
var _utils = require("@luck-design-biz/base/utils");
|
|
22
22
|
var _helper = require("../../../engine/tools/helper");
|
|
23
|
+
var _IconFont = _interopRequireDefault(require("../../../../components/IconFont"));
|
|
23
24
|
var _actionsEditor = _interopRequireDefault(require("../../style/actions-editor.less"));
|
|
24
25
|
var _I18N_PREFIX_ = 'luckda.lowcode.painter.panel-section.actionsEditor';
|
|
25
26
|
var _DISPLAY_OPTIONS_ = [{
|
|
@@ -40,6 +41,8 @@ var ActionsEditor = function ActionsEditor(_ref) {
|
|
|
40
41
|
defaultValue = _ref.defaultValue,
|
|
41
42
|
onChange = _ref.onChange,
|
|
42
43
|
suppressDisplay = _ref.suppressDisplay,
|
|
44
|
+
_ref$suppressIcon = _ref.suppressIcon,
|
|
45
|
+
suppressIcon = _ref$suppressIcon === void 0 ? true : _ref$suppressIcon,
|
|
43
46
|
suppressMax = _ref.suppressMax,
|
|
44
47
|
suppressMore = _ref.suppressMore,
|
|
45
48
|
defaultCode = _ref.defaultCode;
|
|
@@ -61,7 +64,8 @@ var ActionsEditor = function ActionsEditor(_ref) {
|
|
|
61
64
|
serial: void 0,
|
|
62
65
|
serialEffect: 'hidden',
|
|
63
66
|
riskLevel: 'default',
|
|
64
|
-
actionPool: []
|
|
67
|
+
actionPool: [],
|
|
68
|
+
icon: suppressIcon ? null : 'iconyingyongguanli'
|
|
65
69
|
},
|
|
66
70
|
callback: function callback(newActions) {
|
|
67
71
|
valueRef.current.todoList = newActions;
|
|
@@ -118,7 +122,8 @@ var ActionsEditor = function ActionsEditor(_ref) {
|
|
|
118
122
|
action: action,
|
|
119
123
|
onChange: function onChange(value) {
|
|
120
124
|
return handleValueChange('action', value);
|
|
121
|
-
}
|
|
125
|
+
},
|
|
126
|
+
suppressIcon: suppressIcon
|
|
122
127
|
})
|
|
123
128
|
}, /*#__PURE__*/_react.default.createElement(_antd.Icon, {
|
|
124
129
|
type: "edit",
|
|
@@ -215,11 +220,21 @@ var ActionsEditor = function ActionsEditor(_ref) {
|
|
|
215
220
|
}),
|
|
216
221
|
handleAdd: handleAdd
|
|
217
222
|
}, todoList.map(function (action) {
|
|
223
|
+
var _action$icon;
|
|
218
224
|
return /*#__PURE__*/_react.default.createElement(_SortBox.SortItem, {
|
|
219
225
|
key: action.id,
|
|
220
226
|
id: action.id
|
|
221
227
|
}, /*#__PURE__*/_react.default.createElement(_ListEditor.ListEditorItem, {
|
|
222
|
-
left: /*#__PURE__*/_react.default.createElement("
|
|
228
|
+
left: /*#__PURE__*/_react.default.createElement("p", {
|
|
229
|
+
style: {
|
|
230
|
+
margin: 0
|
|
231
|
+
}
|
|
232
|
+
}, suppressIcon ? null : /*#__PURE__*/_react.default.createElement(_IconFont.default, {
|
|
233
|
+
type: (_action$icon = action.icon) !== null && _action$icon !== void 0 ? _action$icon : 'iconyingyongguanli',
|
|
234
|
+
style: {
|
|
235
|
+
marginRight: '4px'
|
|
236
|
+
}
|
|
237
|
+
}), /*#__PURE__*/_react.default.createElement("span", null, action.name)),
|
|
223
238
|
right: renderItemRight(action),
|
|
224
239
|
item: action,
|
|
225
240
|
dispatch: dispatch
|
|
@@ -12,7 +12,7 @@ var _slicedToArray2 = _interopRequireDefault(require("@babel/runtime/helpers/sli
|
|
|
12
12
|
var _react = _interopRequireWildcard(require("react"));
|
|
13
13
|
var _ahooks = require("ahooks");
|
|
14
14
|
var _antd = require("luck-design/antd");
|
|
15
|
-
var _services = require("@luck-design-biz/base/sys/services");
|
|
15
|
+
var _services = require("@luck-design-biz/base/lib/sys/services");
|
|
16
16
|
var GroupClassSelector = function GroupClassSelector(_ref) {
|
|
17
17
|
var defaultValue = _ref.defaultValue,
|
|
18
18
|
_onChange = _ref.onChange;
|
|
@@ -38,6 +38,7 @@ var MainPanel = function MainPanel() {
|
|
|
38
38
|
type: 'code',
|
|
39
39
|
payload: code
|
|
40
40
|
});
|
|
41
|
+
editorRef.current.editor.setValue(code);
|
|
41
42
|
}, []);
|
|
42
43
|
var handleEditorLoad = (0, _react.useCallback)(function () {
|
|
43
44
|
(0, _StyleContext.styleToEditor)(style).then(function (css) {
|
|
@@ -168,9 +168,9 @@ var TableTopFilter = function TableTopFilter(_ref) {
|
|
|
168
168
|
id: "".concat(_I18N_PREFIX_, ".field.placeholder"),
|
|
169
169
|
label: '请选择过滤字段'
|
|
170
170
|
}),
|
|
171
|
-
onChange: function onChange(
|
|
171
|
+
onChange: function onChange(value) {
|
|
172
172
|
return handleChange((0, _objectSpread2.default)((0, _objectSpread2.default)({}, opt), {}, {
|
|
173
|
-
field:
|
|
173
|
+
field: value
|
|
174
174
|
}));
|
|
175
175
|
}
|
|
176
176
|
}))))
|
|
@@ -192,7 +192,7 @@ var TableTopFilter = function TableTopFilter(_ref) {
|
|
|
192
192
|
cursor: 'pointer'
|
|
193
193
|
},
|
|
194
194
|
onClick: function onClick() {
|
|
195
|
-
return handleDelete(
|
|
195
|
+
return handleDelete(opt);
|
|
196
196
|
}
|
|
197
197
|
})));
|
|
198
198
|
});
|
|
@@ -1,3 +1,5 @@
|
|
|
1
|
+
@import '~@luck-helper/ui-design/es/style/themes/default.less';
|
|
2
|
+
|
|
1
3
|
.lc-painter-panel-action-bind-modal {
|
|
2
4
|
&-body {
|
|
3
5
|
width: 100%;
|
|
@@ -11,7 +13,7 @@
|
|
|
11
13
|
.selector-box {
|
|
12
14
|
width: 100%;
|
|
13
15
|
height: 620px;
|
|
14
|
-
border: 1px solid
|
|
16
|
+
border: 1px solid @border-color-base;
|
|
15
17
|
border-radius: 6px;
|
|
16
18
|
display: flex;
|
|
17
19
|
|
|
@@ -46,7 +48,7 @@
|
|
|
46
48
|
}
|
|
47
49
|
.selector-box-ul.action-category {
|
|
48
50
|
width: 120px;
|
|
49
|
-
border-right: 1px solid
|
|
51
|
+
border-right: 1px solid @border-color-base;
|
|
50
52
|
}
|
|
51
53
|
|
|
52
54
|
.selecter-items-box {
|
|
@@ -69,7 +71,7 @@
|
|
|
69
71
|
.code-box {
|
|
70
72
|
width: 100%;
|
|
71
73
|
height: 620px;
|
|
72
|
-
border: 1px solid
|
|
74
|
+
border: 1px solid @border-color-base;
|
|
73
75
|
border-radius: 6px;
|
|
74
76
|
overflow: hidden;
|
|
75
77
|
display: flex;
|
|
@@ -1,3 +1,5 @@
|
|
|
1
|
+
@import '~@luck-helper/ui-design/es/style/themes/default.less';
|
|
2
|
+
|
|
1
3
|
.box {
|
|
2
4
|
position: absolute;
|
|
3
5
|
width: 0;
|
|
@@ -32,8 +34,8 @@
|
|
|
32
34
|
width: 100%;
|
|
33
35
|
height: 40px;
|
|
34
36
|
padding: 8px 16px;
|
|
35
|
-
border-bottom: 1px solid
|
|
36
|
-
background-color:
|
|
37
|
+
border-bottom: 1px solid @border-color-base;
|
|
38
|
+
background-color: @component-background;
|
|
37
39
|
display: flex;
|
|
38
40
|
align-items: center;
|
|
39
41
|
justify-content: flex-end;
|
|
@@ -52,16 +54,16 @@
|
|
|
52
54
|
margin: 0 2px;
|
|
53
55
|
cursor: pointer;
|
|
54
56
|
text-align: center;
|
|
55
|
-
color:
|
|
57
|
+
color: @text-color-secondary_luck;
|
|
56
58
|
}
|
|
57
59
|
|
|
58
60
|
.toolbar-item:hover {
|
|
59
|
-
color:
|
|
61
|
+
color: @text-color;
|
|
60
62
|
}
|
|
61
63
|
|
|
62
64
|
.toolbar-item.actived {
|
|
63
|
-
color:
|
|
64
|
-
background:
|
|
65
|
+
color: @text-color-secondary_luck;
|
|
66
|
+
background: @layout-body-background;
|
|
65
67
|
}
|
|
66
68
|
|
|
67
69
|
.toolbar-item.disabled {
|
|
@@ -96,7 +98,8 @@
|
|
|
96
98
|
.ant-modal-close,
|
|
97
99
|
.ant-modal-footer,
|
|
98
100
|
.ant-drawer-header,
|
|
99
|
-
.ant-drawer-footer
|
|
101
|
+
.ant-drawer-footer,
|
|
102
|
+
.luck-card-list {
|
|
100
103
|
pointer-events: none;
|
|
101
104
|
}
|
|
102
105
|
.luck-grid-table {
|
|
@@ -1,3 +1,5 @@
|
|
|
1
|
+
@import '~@luck-helper/ui-design/es/style/themes/default.less';
|
|
2
|
+
|
|
1
3
|
.lc-painter-panel-section-components-listeditor {
|
|
2
4
|
display: flex;
|
|
3
5
|
align-items: center;
|
|
@@ -8,8 +10,8 @@
|
|
|
8
10
|
.list-item {
|
|
9
11
|
height: 28px;
|
|
10
12
|
position: relative;
|
|
11
|
-
background:
|
|
12
|
-
border: 1px solid
|
|
13
|
+
background: @component-background;
|
|
14
|
+
border: 1px solid @border-color-base;
|
|
13
15
|
border-radius: 6px;
|
|
14
16
|
margin-bottom: 8px;
|
|
15
17
|
display: flex;
|
|
@@ -62,7 +64,7 @@
|
|
|
62
64
|
border-radius: 10px;
|
|
63
65
|
font-weight: bold;
|
|
64
66
|
font-size: 14px;
|
|
65
|
-
background-color:
|
|
67
|
+
background-color: @component-background;
|
|
66
68
|
padding: 0 8px;
|
|
67
69
|
display: flex;
|
|
68
70
|
align-items: center;
|
|
@@ -1,3 +1,5 @@
|
|
|
1
|
+
@import '~@luck-helper/ui-design/es/style/themes/default.less';
|
|
2
|
+
|
|
1
3
|
.lc-painter-panel-section-components-number-input {
|
|
2
4
|
.num-input-wrap {
|
|
3
5
|
position: relative;
|
|
@@ -10,7 +12,7 @@
|
|
|
10
12
|
display: inline-block;
|
|
11
13
|
position: absolute;
|
|
12
14
|
right: 26px;
|
|
13
|
-
color:
|
|
15
|
+
color: @text-color;
|
|
14
16
|
cursor: pointer;
|
|
15
17
|
}
|
|
16
18
|
}
|
|
@@ -1,3 +1,7 @@
|
|
|
1
|
+
@import '~@luck-helper/ui-design/es/style/themes/default.less';
|
|
2
|
+
|
|
3
|
+
@colorful-prefix: ~'@{luck-ant-prefix}-colorful';
|
|
4
|
+
|
|
1
5
|
.lc-painter-panel-attrs {
|
|
2
6
|
position: relative;
|
|
3
7
|
width: 100%;
|
|
@@ -13,7 +17,7 @@
|
|
|
13
17
|
|
|
14
18
|
&-header {
|
|
15
19
|
height: 28px;
|
|
16
|
-
background-color:
|
|
20
|
+
background-color: var(~'--@{colorful-prefix}-primary-dark-2',#e8e8e8);
|
|
17
21
|
display: flex;
|
|
18
22
|
align-items: center;
|
|
19
23
|
justify-content: space-between;
|
|
@@ -21,14 +25,14 @@
|
|
|
21
25
|
font-size: 12px;
|
|
22
26
|
}
|
|
23
27
|
&-header:hover {
|
|
24
|
-
background-color:
|
|
28
|
+
background-color: var(~'--@{colorful-prefix}-primary-dark-1',#e3e3e3);
|
|
25
29
|
cursor: pointer;
|
|
26
30
|
}
|
|
27
31
|
|
|
28
32
|
&-body {
|
|
29
33
|
flex: 1;
|
|
30
34
|
overflow-y: auto;
|
|
31
|
-
background-color:
|
|
35
|
+
background-color: @component-background;
|
|
32
36
|
padding: 16px 0 8px;
|
|
33
37
|
}
|
|
34
38
|
}
|
|
@@ -1,11 +1,13 @@
|
|
|
1
|
+
@import '~@luck-helper/ui-design/es/style/themes/default.less';
|
|
2
|
+
|
|
1
3
|
.lc-painter-panel {
|
|
2
4
|
position: relative;
|
|
3
5
|
width: 320px;
|
|
4
6
|
height: 100%;
|
|
5
|
-
border-left: 1px solid
|
|
7
|
+
border-left: 1px solid @border-color-base;
|
|
6
8
|
display: flex;
|
|
7
9
|
flex-direction: column;
|
|
8
|
-
background-color:
|
|
10
|
+
background-color: @component-background;
|
|
9
11
|
|
|
10
12
|
&-empty {
|
|
11
13
|
position: absolute;
|
|
@@ -25,8 +27,8 @@
|
|
|
25
27
|
width: 100%;
|
|
26
28
|
height: 40px;
|
|
27
29
|
padding: 8px 16px;
|
|
28
|
-
border-bottom: 1px solid
|
|
29
|
-
background-color:
|
|
30
|
+
border-bottom: 1px solid @border-color-base;
|
|
31
|
+
background-color: @component-background;
|
|
30
32
|
display: flex;
|
|
31
33
|
align-items: center;
|
|
32
34
|
.active-node-level:hover {
|
|
@@ -52,11 +54,11 @@
|
|
|
52
54
|
align-items: center;
|
|
53
55
|
|
|
54
56
|
&:hover {
|
|
55
|
-
color:
|
|
57
|
+
color: @text-color;
|
|
56
58
|
}
|
|
57
59
|
|
|
58
60
|
&.actived {
|
|
59
|
-
color:
|
|
61
|
+
color: @text-color;
|
|
60
62
|
}
|
|
61
63
|
|
|
62
64
|
& > i {
|
|
@@ -66,7 +68,7 @@
|
|
|
66
68
|
|
|
67
69
|
:global {
|
|
68
70
|
li#header-active {
|
|
69
|
-
color:
|
|
71
|
+
color: @text-color;
|
|
70
72
|
position: relative;
|
|
71
73
|
}
|
|
72
74
|
}
|