@riil-frontend/component-topology 10.0.12 → 10.0.15
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/build/1.js +2 -2
- package/build/2.js +1 -1
- package/build/index.css +1 -1
- package/build/index.js +18 -18
- package/es/components/ColorPanel/components/FontColorRange/index.module.scss +0 -1
- package/es/core/editor/components/Toolbar/widgets/BoxBackgroundButton/BoxBackgroundSetting.js +3 -3
- package/es/core/editor/components/Toolbar/widgets/BoxBackgroundButton/BoxbackgroundSettings.module.scss +5 -4
- package/es/core/editor/components/Toolbar/widgets/EdgeTypeButton/EdgeType.js +1 -1
- package/es/core/editor/components/Toolbar/widgets/FontSizeWidget.js +1 -1
- package/es/core/editor/components/Toolbar/widgets/IconSelect/IconSelect.js +1 -1
- package/es/core/editor/components/Toolbar/widgets/IconSelect/index.module.scss +12 -11
- package/es/core/editor/components/settings/common/AlignSetting/AlignTypeList.js +13 -16
- package/es/core/editor/components/settings/propertyViews/node/NodeIconSelect.js +2 -1
- package/es/core/editor/components/settings/propertyViews/node/Setting/BasicSetting.js +8 -2
- package/es/core/editor/utils/edgeTypeStyleUtil.js +0 -1
- package/es/core/models/TopoApp.js +1 -1
- package/lib/components/ColorPanel/components/FontColorRange/index.module.scss +0 -1
- package/lib/core/editor/components/Toolbar/widgets/BoxBackgroundButton/BoxBackgroundSetting.js +3 -3
- package/lib/core/editor/components/Toolbar/widgets/BoxBackgroundButton/BoxbackgroundSettings.module.scss +5 -4
- package/lib/core/editor/components/Toolbar/widgets/EdgeTypeButton/EdgeType.js +1 -1
- package/lib/core/editor/components/Toolbar/widgets/FontSizeWidget.js +1 -1
- package/lib/core/editor/components/Toolbar/widgets/IconSelect/IconSelect.js +1 -1
- package/lib/core/editor/components/Toolbar/widgets/IconSelect/index.module.scss +12 -11
- package/lib/core/editor/components/settings/common/AlignSetting/AlignTypeList.js +13 -17
- package/lib/core/editor/components/settings/propertyViews/node/NodeIconSelect.js +1 -0
- package/lib/core/editor/components/settings/propertyViews/node/Setting/BasicSetting.js +8 -2
- package/lib/core/editor/utils/edgeTypeStyleUtil.js +0 -1
- package/lib/core/models/TopoApp.js +1 -1
- package/package.json +2 -2
package/es/core/editor/components/Toolbar/widgets/BoxBackgroundButton/BoxBackgroundSetting.js
CHANGED
@@ -189,7 +189,7 @@ function BoxBackgroundSetting(props) {
|
|
189
189
|
max: 10,
|
190
190
|
min: 1,
|
191
191
|
unit: "px",
|
192
|
-
list: [
|
192
|
+
list: [0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10],
|
193
193
|
onChange: borderWidthChange,
|
194
194
|
defaultValue: width ? width : 0
|
195
195
|
})), /*#__PURE__*/React.createElement("div", {
|
@@ -216,7 +216,7 @@ function BoxBackgroundSetting(props) {
|
|
216
216
|
className: styles.leftInput,
|
217
217
|
value: leftInputVal,
|
218
218
|
min: 0,
|
219
|
-
max:
|
219
|
+
max: 10,
|
220
220
|
onChange: leftInputChange
|
221
221
|
}), /*#__PURE__*/React.createElement("span", {
|
222
222
|
className: styles.backOpacityLable
|
@@ -228,7 +228,7 @@ function BoxBackgroundSetting(props) {
|
|
228
228
|
className: styles.rightInput,
|
229
229
|
value: rightInputVal,
|
230
230
|
min: 0,
|
231
|
-
max:
|
231
|
+
max: 10,
|
232
232
|
onChange: rightInputChange
|
233
233
|
})), /*#__PURE__*/React.createElement("div", {
|
234
234
|
style: {
|
@@ -1,8 +1,5 @@
|
|
1
|
-
@import "@alifd/next/variables";
|
2
|
-
|
3
1
|
.content {
|
4
2
|
margin: 4px 0px 0px 6px;
|
5
|
-
color:$color-text1-4;
|
6
3
|
.fontColor{
|
7
4
|
width: 100%;
|
8
5
|
margin-bottom: 16px;
|
@@ -14,6 +11,7 @@
|
|
14
11
|
font-size: 12px;
|
15
12
|
font-family: PingFangSC-Regular, PingFang SC;
|
16
13
|
font-weight: 400;
|
14
|
+
color: #4D6277;
|
17
15
|
line-height: 17px;
|
18
16
|
}
|
19
17
|
|
@@ -27,8 +25,10 @@
|
|
27
25
|
}
|
28
26
|
&>span{
|
29
27
|
font-size: 12px;
|
28
|
+
color: black;
|
30
29
|
font-family: PingFangSC-Regular, PingFang SC;
|
31
30
|
font-weight: 400;
|
31
|
+
color: #4D6277;
|
32
32
|
line-height: 17px;
|
33
33
|
}
|
34
34
|
.backOpacity{
|
@@ -49,8 +49,10 @@
|
|
49
49
|
}
|
50
50
|
&>span{
|
51
51
|
font-size: 12px;
|
52
|
+
color: black;
|
52
53
|
font-family: PingFangSC-Regular, PingFang SC;
|
53
54
|
font-weight: 400;
|
55
|
+
color: #4D6277;
|
54
56
|
line-height: 17px;
|
55
57
|
}
|
56
58
|
.borderWidth{
|
@@ -70,7 +72,6 @@
|
|
70
72
|
margin-left: 16px;
|
71
73
|
line-height: 22px;
|
72
74
|
margin-right: 5px;
|
73
|
-
color:$color-text1-6;
|
74
75
|
}
|
75
76
|
:global{
|
76
77
|
.next-number-picker-normal.next-small{
|
@@ -82,7 +82,7 @@ function getValuesByEdges(topo) {
|
|
82
82
|
edgeValues.push({
|
83
83
|
baseAgreement: false,
|
84
84
|
//,
|
85
|
-
lineButton: edge.
|
85
|
+
lineButton: edge.s('edge.type'),
|
86
86
|
startPoint: getStartPoint(edge),
|
87
87
|
endPoint: getEndPoint(edge),
|
88
88
|
lineMold: edge.a('lineMode') || 'solidLine'
|
@@ -7,7 +7,7 @@ function FontSizeSelect(props) {
|
|
7
7
|
var value = props.value,
|
8
8
|
disabled = props.disabled,
|
9
9
|
onChange = props.onChange;
|
10
|
-
var items = [
|
10
|
+
var items = [12, 14, 16, 18, 20, 24, 30, 36, 48, 60, 80];
|
11
11
|
return /*#__PURE__*/React.createElement(DropdownMenu, {
|
12
12
|
value: "" + (value || ''),
|
13
13
|
valueRender: function valueRender(val) {
|
@@ -93,7 +93,7 @@ var TopoIconSelect = function TopoIconSelect(props, ref) {
|
|
93
93
|
return /*#__PURE__*/React.createElement("div", {
|
94
94
|
className: styles.TopoIconSelect
|
95
95
|
}, /*#__PURE__*/React.createElement(_Select, {
|
96
|
-
placeholder: "\u8BF7\u9009\
|
96
|
+
placeholder: "\u8BF7\u9009\u62E92",
|
97
97
|
visible: visible,
|
98
98
|
className: styles.iconSelect,
|
99
99
|
onVisibleChange: onVisibleChange,
|
@@ -10,8 +10,9 @@
|
|
10
10
|
}
|
11
11
|
|
12
12
|
.iconCollapse {
|
13
|
-
width:
|
14
|
-
|
13
|
+
width: 292px;
|
14
|
+
height: 365px;
|
15
|
+
max-height: 365px;
|
15
16
|
overflow-y: auto;
|
16
17
|
border: none;
|
17
18
|
|
@@ -55,9 +56,9 @@
|
|
55
56
|
|
56
57
|
.iconImgWrapper {
|
57
58
|
display: inline-block;
|
58
|
-
width:
|
59
|
-
height:
|
60
|
-
line-height:
|
59
|
+
width: 32px;
|
60
|
+
height: 32px;
|
61
|
+
line-height: 32px;
|
61
62
|
text-align: center;
|
62
63
|
// vertical-align: middle;
|
63
64
|
}
|
@@ -66,8 +67,8 @@
|
|
66
67
|
display: inline-block;
|
67
68
|
width: auto;
|
68
69
|
height: auto;
|
69
|
-
max-width:
|
70
|
-
max-height:
|
70
|
+
max-width: 32px;
|
71
|
+
max-height: 32px;
|
71
72
|
vertical-align: middle;
|
72
73
|
}
|
73
74
|
|
@@ -102,7 +103,7 @@
|
|
102
103
|
|
103
104
|
|
104
105
|
.iconli {
|
105
|
-
width:
|
106
|
+
width: 64px;
|
106
107
|
height: 68px;
|
107
108
|
text-align: center;
|
108
109
|
//border: 2px solid #FFF;
|
@@ -114,7 +115,7 @@
|
|
114
115
|
height: 32px;
|
115
116
|
line-height: 32px;
|
116
117
|
text-align: center;
|
117
|
-
margin: 5px
|
118
|
+
margin: 5px 16px 5px 16px;
|
118
119
|
}
|
119
120
|
|
120
121
|
.iconImg {
|
@@ -127,8 +128,8 @@
|
|
127
128
|
}
|
128
129
|
|
129
130
|
.icontitle {
|
130
|
-
width:
|
131
|
-
max-width:
|
131
|
+
width: 64px;
|
132
|
+
max-width: 64px;
|
132
133
|
text-align: center;
|
133
134
|
font-size: 12px;
|
134
135
|
-webkit-text-size-adjust: none;
|
@@ -1,4 +1,3 @@
|
|
1
|
-
import _Balloon from "@alifd/next/es/balloon";
|
2
1
|
import _Button from "@alifd/next/es/button";
|
3
2
|
import _Icon from "@alifd/next/es/icon";
|
4
3
|
import _Divider from "@alifd/next/es/divider";
|
@@ -62,21 +61,19 @@ var AlignTypeList = function AlignTypeList(props) {
|
|
62
61
|
return item.value === 'divide' ? /*#__PURE__*/React.createElement(_Divider, {
|
63
62
|
key: index,
|
64
63
|
direction: "ver"
|
65
|
-
}) : /*#__PURE__*/React.createElement(
|
66
|
-
|
67
|
-
|
68
|
-
|
69
|
-
|
70
|
-
|
71
|
-
|
72
|
-
|
73
|
-
|
74
|
-
|
75
|
-
|
76
|
-
|
77
|
-
|
78
|
-
align: "b"
|
79
|
-
}, item.label);
|
64
|
+
}) : /*#__PURE__*/React.createElement(_Button, {
|
65
|
+
key: index,
|
66
|
+
className: "" + styles.redioBtn,
|
67
|
+
text: true,
|
68
|
+
onClick: function onClick() {
|
69
|
+
handleChange(item);
|
70
|
+
},
|
71
|
+
title: item.label // eslint-disable-next-line no-unneeded-ternary
|
72
|
+
,
|
73
|
+
disabled: (item.value === 'distributeHorizontal' || item.value === 'distributeVertical') && distributionDisabled
|
74
|
+
}, /*#__PURE__*/React.createElement(_Icon, {
|
75
|
+
type: item.icon
|
76
|
+
}));
|
80
77
|
}));
|
81
78
|
};
|
82
79
|
|
@@ -1,5 +1,6 @@
|
|
1
1
|
import React, { forwardRef, useImperativeHandle } from 'react';
|
2
|
-
import IconSelect from '@riil-frontend/component-topo-icon-select';
|
2
|
+
import IconSelect from '@riil-frontend/component-topo-icon-select'; // import IconSelect from '@/core/editor/components/Toolbar/widgets/IconSelect;
|
3
|
+
|
3
4
|
import { useNodeIcons } from "../../../../../common/icons/useIcons";
|
4
5
|
|
5
6
|
function NodeIconSelect(props, ref) {
|
@@ -38,12 +38,18 @@ export default function BasicSetting(props) {
|
|
38
38
|
field: field,
|
39
39
|
labelAlign: "top",
|
40
40
|
style: {
|
41
|
-
margin:
|
41
|
+
margin: "12px 16px 0 32px"
|
42
42
|
}
|
43
43
|
}, /*#__PURE__*/React.createElement(_Form.Item, {
|
44
44
|
label: "\u56FE\u7247\u540D\u79F0"
|
45
45
|
}, /*#__PURE__*/React.createElement(NameInput, {
|
46
46
|
name: "attrObject.customName",
|
47
47
|
topo: topo
|
48
|
-
})
|
48
|
+
}), /*#__PURE__*/React.createElement("span", {
|
49
|
+
style: {
|
50
|
+
color: "#638DB7",
|
51
|
+
marginTop: '2px',
|
52
|
+
display: 'block'
|
53
|
+
}
|
54
|
+
}, "\u70B9\u51FB\u56DE\u8F66\u952E\u53EF\u624B\u52A8\u6298\u884C")));
|
49
55
|
}
|
@@ -24,7 +24,7 @@ import ElementTagTipConfig from "./tagstips/ElementTagTipConfig";
|
|
24
24
|
import SelectionModel from "./SelectionModel";
|
25
25
|
import CiCache from "./cache/CiCache"; // eslint-disable-next-line no-undef
|
26
26
|
|
27
|
-
var version = typeof "10.0.
|
27
|
+
var version = typeof "10.0.15" === 'string' ? "10.0.15" : null;
|
28
28
|
console.info("\u62D3\u6251\u7248\u672C: " + version);
|
29
29
|
/**
|
30
30
|
* 拓扑显示和编辑
|
package/lib/core/editor/components/Toolbar/widgets/BoxBackgroundButton/BoxBackgroundSetting.js
CHANGED
@@ -206,7 +206,7 @@ function BoxBackgroundSetting(props) {
|
|
206
206
|
max: 10,
|
207
207
|
min: 1,
|
208
208
|
unit: "px",
|
209
|
-
list: [
|
209
|
+
list: [0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10],
|
210
210
|
onChange: borderWidthChange,
|
211
211
|
defaultValue: width ? width : 0
|
212
212
|
})), /*#__PURE__*/_react["default"].createElement("div", {
|
@@ -233,7 +233,7 @@ function BoxBackgroundSetting(props) {
|
|
233
233
|
className: _BoxbackgroundSettingsModule["default"].leftInput,
|
234
234
|
value: leftInputVal,
|
235
235
|
min: 0,
|
236
|
-
max:
|
236
|
+
max: 10,
|
237
237
|
onChange: leftInputChange
|
238
238
|
}), /*#__PURE__*/_react["default"].createElement("span", {
|
239
239
|
className: _BoxbackgroundSettingsModule["default"].backOpacityLable
|
@@ -245,7 +245,7 @@ function BoxBackgroundSetting(props) {
|
|
245
245
|
className: _BoxbackgroundSettingsModule["default"].rightInput,
|
246
246
|
value: rightInputVal,
|
247
247
|
min: 0,
|
248
|
-
max:
|
248
|
+
max: 10,
|
249
249
|
onChange: rightInputChange
|
250
250
|
})), /*#__PURE__*/_react["default"].createElement("div", {
|
251
251
|
style: {
|
@@ -1,8 +1,5 @@
|
|
1
|
-
@import "@alifd/next/variables";
|
2
|
-
|
3
1
|
.content {
|
4
2
|
margin: 4px 0px 0px 6px;
|
5
|
-
color:$color-text1-4;
|
6
3
|
.fontColor{
|
7
4
|
width: 100%;
|
8
5
|
margin-bottom: 16px;
|
@@ -14,6 +11,7 @@
|
|
14
11
|
font-size: 12px;
|
15
12
|
font-family: PingFangSC-Regular, PingFang SC;
|
16
13
|
font-weight: 400;
|
14
|
+
color: #4D6277;
|
17
15
|
line-height: 17px;
|
18
16
|
}
|
19
17
|
|
@@ -27,8 +25,10 @@
|
|
27
25
|
}
|
28
26
|
&>span{
|
29
27
|
font-size: 12px;
|
28
|
+
color: black;
|
30
29
|
font-family: PingFangSC-Regular, PingFang SC;
|
31
30
|
font-weight: 400;
|
31
|
+
color: #4D6277;
|
32
32
|
line-height: 17px;
|
33
33
|
}
|
34
34
|
.backOpacity{
|
@@ -49,8 +49,10 @@
|
|
49
49
|
}
|
50
50
|
&>span{
|
51
51
|
font-size: 12px;
|
52
|
+
color: black;
|
52
53
|
font-family: PingFangSC-Regular, PingFang SC;
|
53
54
|
font-weight: 400;
|
55
|
+
color: #4D6277;
|
54
56
|
line-height: 17px;
|
55
57
|
}
|
56
58
|
.borderWidth{
|
@@ -70,7 +72,6 @@
|
|
70
72
|
margin-left: 16px;
|
71
73
|
line-height: 22px;
|
72
74
|
margin-right: 5px;
|
73
|
-
color:$color-text1-6;
|
74
75
|
}
|
75
76
|
:global{
|
76
77
|
.next-number-picker-normal.next-small{
|
@@ -100,7 +100,7 @@ function getValuesByEdges(topo) {
|
|
100
100
|
edgeValues.push({
|
101
101
|
baseAgreement: false,
|
102
102
|
//,
|
103
|
-
lineButton: edge.
|
103
|
+
lineButton: edge.s('edge.type'),
|
104
104
|
startPoint: getStartPoint(edge),
|
105
105
|
endPoint: getEndPoint(edge),
|
106
106
|
lineMold: edge.a('lineMode') || 'solidLine'
|
@@ -21,7 +21,7 @@ function FontSizeSelect(props) {
|
|
21
21
|
var value = props.value,
|
22
22
|
disabled = props.disabled,
|
23
23
|
onChange = props.onChange;
|
24
|
-
var items = [
|
24
|
+
var items = [12, 14, 16, 18, 20, 24, 30, 36, 48, 60, 80];
|
25
25
|
return /*#__PURE__*/_react["default"].createElement(_DropdownMenu["default"], {
|
26
26
|
value: "" + (value || ''),
|
27
27
|
valueRender: function valueRender(val) {
|
@@ -108,7 +108,7 @@ var TopoIconSelect = function TopoIconSelect(props, ref) {
|
|
108
108
|
return /*#__PURE__*/_react["default"].createElement("div", {
|
109
109
|
className: _indexModule["default"].TopoIconSelect
|
110
110
|
}, /*#__PURE__*/_react["default"].createElement(_select["default"], {
|
111
|
-
placeholder: "\u8BF7\u9009\
|
111
|
+
placeholder: "\u8BF7\u9009\u62E92",
|
112
112
|
visible: visible,
|
113
113
|
className: _indexModule["default"].iconSelect,
|
114
114
|
onVisibleChange: onVisibleChange,
|
@@ -10,8 +10,9 @@
|
|
10
10
|
}
|
11
11
|
|
12
12
|
.iconCollapse {
|
13
|
-
width:
|
14
|
-
|
13
|
+
width: 292px;
|
14
|
+
height: 365px;
|
15
|
+
max-height: 365px;
|
15
16
|
overflow-y: auto;
|
16
17
|
border: none;
|
17
18
|
|
@@ -55,9 +56,9 @@
|
|
55
56
|
|
56
57
|
.iconImgWrapper {
|
57
58
|
display: inline-block;
|
58
|
-
width:
|
59
|
-
height:
|
60
|
-
line-height:
|
59
|
+
width: 32px;
|
60
|
+
height: 32px;
|
61
|
+
line-height: 32px;
|
61
62
|
text-align: center;
|
62
63
|
// vertical-align: middle;
|
63
64
|
}
|
@@ -66,8 +67,8 @@
|
|
66
67
|
display: inline-block;
|
67
68
|
width: auto;
|
68
69
|
height: auto;
|
69
|
-
max-width:
|
70
|
-
max-height:
|
70
|
+
max-width: 32px;
|
71
|
+
max-height: 32px;
|
71
72
|
vertical-align: middle;
|
72
73
|
}
|
73
74
|
|
@@ -102,7 +103,7 @@
|
|
102
103
|
|
103
104
|
|
104
105
|
.iconli {
|
105
|
-
width:
|
106
|
+
width: 64px;
|
106
107
|
height: 68px;
|
107
108
|
text-align: center;
|
108
109
|
//border: 2px solid #FFF;
|
@@ -114,7 +115,7 @@
|
|
114
115
|
height: 32px;
|
115
116
|
line-height: 32px;
|
116
117
|
text-align: center;
|
117
|
-
margin: 5px
|
118
|
+
margin: 5px 16px 5px 16px;
|
118
119
|
}
|
119
120
|
|
120
121
|
.iconImg {
|
@@ -127,8 +128,8 @@
|
|
127
128
|
}
|
128
129
|
|
129
130
|
.icontitle {
|
130
|
-
width:
|
131
|
-
max-width:
|
131
|
+
width: 64px;
|
132
|
+
max-width: 64px;
|
132
133
|
text-align: center;
|
133
134
|
font-size: 12px;
|
134
135
|
-webkit-text-size-adjust: none;
|
@@ -5,8 +5,6 @@ var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefau
|
|
5
5
|
exports.__esModule = true;
|
6
6
|
exports["default"] = void 0;
|
7
7
|
|
8
|
-
var _balloon = _interopRequireDefault(require("@alifd/next/lib/balloon"));
|
9
|
-
|
10
8
|
var _button = _interopRequireDefault(require("@alifd/next/lib/button"));
|
11
9
|
|
12
10
|
var _icon = _interopRequireDefault(require("@alifd/next/lib/icon"));
|
@@ -79,21 +77,19 @@ var AlignTypeList = function AlignTypeList(props) {
|
|
79
77
|
return item.value === 'divide' ? /*#__PURE__*/_react["default"].createElement(_divider["default"], {
|
80
78
|
key: index,
|
81
79
|
direction: "ver"
|
82
|
-
}) : /*#__PURE__*/_react["default"].createElement(
|
83
|
-
|
84
|
-
|
85
|
-
|
86
|
-
|
87
|
-
|
88
|
-
|
89
|
-
|
90
|
-
|
91
|
-
|
92
|
-
|
93
|
-
|
94
|
-
|
95
|
-
align: "b"
|
96
|
-
}, item.label);
|
80
|
+
}) : /*#__PURE__*/_react["default"].createElement(_button["default"], {
|
81
|
+
key: index,
|
82
|
+
className: "" + _AlignSettingModule["default"].redioBtn,
|
83
|
+
text: true,
|
84
|
+
onClick: function onClick() {
|
85
|
+
handleChange(item);
|
86
|
+
},
|
87
|
+
title: item.label // eslint-disable-next-line no-unneeded-ternary
|
88
|
+
,
|
89
|
+
disabled: (item.value === 'distributeHorizontal' || item.value === 'distributeVertical') && distributionDisabled
|
90
|
+
}, /*#__PURE__*/_react["default"].createElement(_icon["default"], {
|
91
|
+
type: item.icon
|
92
|
+
}));
|
97
93
|
}));
|
98
94
|
};
|
99
95
|
|
@@ -15,6 +15,7 @@ function _getRequireWildcardCache(nodeInterop) { if (typeof WeakMap !== "functio
|
|
15
15
|
|
16
16
|
function _interopRequireWildcard(obj, nodeInterop) { if (!nodeInterop && obj && obj.__esModule) { return obj; } if (obj === null || typeof obj !== "object" && typeof obj !== "function") { return { "default": obj }; } var cache = _getRequireWildcardCache(nodeInterop); if (cache && cache.has(obj)) { return cache.get(obj); } var newObj = {}; var hasPropertyDescriptor = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var key in obj) { if (key !== "default" && Object.prototype.hasOwnProperty.call(obj, key)) { var desc = hasPropertyDescriptor ? Object.getOwnPropertyDescriptor(obj, key) : null; if (desc && (desc.get || desc.set)) { Object.defineProperty(newObj, key, desc); } else { newObj[key] = obj[key]; } } } newObj["default"] = obj; if (cache) { cache.set(obj, newObj); } return newObj; }
|
17
17
|
|
18
|
+
// import IconSelect from '@/core/editor/components/Toolbar/widgets/IconSelect;
|
18
19
|
function NodeIconSelect(props, ref) {
|
19
20
|
var value = props.value,
|
20
21
|
onChange = props.onChange,
|
@@ -53,12 +53,18 @@ function BasicSetting(props) {
|
|
53
53
|
field: field,
|
54
54
|
labelAlign: "top",
|
55
55
|
style: {
|
56
|
-
margin:
|
56
|
+
margin: "12px 16px 0 32px"
|
57
57
|
}
|
58
58
|
}, /*#__PURE__*/_react["default"].createElement(_form["default"].Item, {
|
59
59
|
label: "\u56FE\u7247\u540D\u79F0"
|
60
60
|
}, /*#__PURE__*/_react["default"].createElement(_NameInput["default"], {
|
61
61
|
name: "attrObject.customName",
|
62
62
|
topo: topo
|
63
|
-
})
|
63
|
+
}), /*#__PURE__*/_react["default"].createElement("span", {
|
64
|
+
style: {
|
65
|
+
color: "#638DB7",
|
66
|
+
marginTop: '2px',
|
67
|
+
display: 'block'
|
68
|
+
}
|
69
|
+
}, "\u70B9\u51FB\u56DE\u8F66\u952E\u53EF\u624B\u52A8\u6298\u884C")));
|
64
70
|
}
|
@@ -56,7 +56,7 @@ var _SelectionModel = _interopRequireDefault(require("./SelectionModel"));
|
|
56
56
|
var _CiCache = _interopRequireDefault(require("./cache/CiCache"));
|
57
57
|
|
58
58
|
// eslint-disable-next-line no-undef
|
59
|
-
var version = typeof "10.0.
|
59
|
+
var version = typeof "10.0.15" === 'string' ? "10.0.15" : null;
|
60
60
|
console.info("\u62D3\u6251\u7248\u672C: " + version);
|
61
61
|
/**
|
62
62
|
* 拓扑显示和编辑
|
package/package.json
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
{
|
2
2
|
"name": "@riil-frontend/component-topology",
|
3
|
-
"version": "10.0.
|
3
|
+
"version": "10.0.15",
|
4
4
|
"description": "拓扑",
|
5
5
|
"scripts": {
|
6
6
|
"start": "build-scripts start",
|
@@ -116,6 +116,6 @@
|
|
116
116
|
"access": "public"
|
117
117
|
},
|
118
118
|
"license": "MIT",
|
119
|
-
"homepage": "https://unpkg.com/@riil-frontend/component-topology@10.0.
|
119
|
+
"homepage": "https://unpkg.com/@riil-frontend/component-topology@10.0.15/build/index.html",
|
120
120
|
"gitHead": "2da19ffccbb7ca60a8acf396e39f542c68bb33f5"
|
121
121
|
}
|