@riil-frontend/component-topology 6.0.0-alpha.66 → 6.0.0-alpha.68

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.
@@ -34,6 +34,10 @@ function ColorPanel(props) {
34
34
  active = _useState2[0],
35
35
  setActive = _useState2[1];
36
36
 
37
+ var _useState3 = useState(false),
38
+ visible = _useState3[0],
39
+ setVisible = _useState3[1];
40
+
37
41
  var colorChange = function colorChange(value, type, key) {
38
42
  setActive(key);
39
43
  onChange(getColor16(value), type);
@@ -66,21 +70,7 @@ function ColorPanel(props) {
66
70
  };
67
71
 
68
72
  var handleChange = function handleChange(color) {
69
- var prevValue = color.hex;
70
- var rgb = color.rgb;
71
- var rgba = "rgba(" + rgb.r + "," + rgb.g + "," + rgb.b + "," + rgb.a + ")";
72
-
73
- if (data !== prevValue) {
74
- setData({
75
- hex: prevValue,
76
- rgb: rgb
77
- });
78
- }
79
- };
80
-
81
- var pickerBlur = function pickerBlur() {
82
- onChange(data, 'change');
83
- onPickerBlur();
73
+ setData(color); // onChange(color,'change');
84
74
  };
85
75
 
86
76
  var getColor16 = function getColor16(color) {
@@ -118,11 +108,23 @@ function ColorPanel(props) {
118
108
  return that;
119
109
  };
120
110
 
111
+ var open = function open() {
112
+ setVisible(true);
113
+ onPickerFocus();
114
+ };
115
+
116
+ var close = function close() {
117
+ setVisible(false);
118
+ onPickerBlur();
119
+ onChange(data, 'select');
120
+ };
121
+
121
122
  var defaultTrigger = /*#__PURE__*/React.createElement("div", {
122
123
  className: styles.swatch,
123
124
  style: {
124
125
  background: value
125
- }
126
+ },
127
+ onClick: open
126
128
  }, /*#__PURE__*/React.createElement("img", {
127
129
  src: "/img/topo/editor/toolbar/\u6587\u5B57\u989C\u8272\u53CA\u586B\u5145/\u66F4\u591A\u989C\u8272.svg",
128
130
  alt: ""
@@ -151,6 +153,7 @@ function ColorPanel(props) {
151
153
  changClick('17');
152
154
  }
153
155
  }, /*#__PURE__*/React.createElement(_Balloon, {
156
+ visible: visible,
154
157
  trigger: defaultTrigger,
155
158
  closable: false,
156
159
  triggerType: "click",
@@ -161,8 +164,7 @@ function ColorPanel(props) {
161
164
  style: {
162
165
  paddingBottom: 0
163
166
  },
164
- onBlur: pickerBlur,
165
- onFocus: onPickerFocus
167
+ onClose: close
166
168
  }, /*#__PURE__*/React.createElement(SketchPicker, {
167
169
  color: data // width={230}
168
170
  ,
@@ -50,7 +50,8 @@ function useCanvasThemeConfig(props) {
50
50
  return function setCanvasTheme(_x) {
51
51
  return _ref.apply(this, arguments);
52
52
  };
53
- }();
53
+ }(); // 设置资源/链路标注样式
54
+
54
55
 
55
56
  function setGlobalTagTheme(_x2) {
56
57
  return _setGlobalTagTheme.apply(this, arguments);
@@ -58,27 +59,23 @@ function useCanvasThemeConfig(props) {
58
59
 
59
60
  function _setGlobalTagTheme() {
60
61
  _setGlobalTagTheme = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime.mark(function _callee2(themeConfig) {
61
- var _topo$store$getModelS, nodeLabelStyle, defaultEdgeLabelStyle, globalNodeLabelStyle, globalEdgeTagStyle;
62
+ var _topo$store$getModelS, nodeLabelStyle, defaultEdgeLabelStyle;
62
63
 
63
64
  return _regeneratorRuntime.wrap(function _callee2$(_context2) {
64
65
  while (1) {
65
66
  switch (_context2.prev = _context2.next) {
66
67
  case 0:
67
- // 设置资源/链路标注样式
68
+ topo.getHtTopo().setGlobalNodeLabelStyle(themeConfig.globalNodeLabelStyle);
69
+ topo.getHtTopo().setGlobalEdgeTagStyle(themeConfig.globalEdgeTagStyle); // 更新默认配置
70
+
68
71
  _topo$store$getModelS = topo.store.getModelState('displayConfig'), nodeLabelStyle = _topo$store$getModelS.nodeLabelStyle, defaultEdgeLabelStyle = _topo$store$getModelS.defaultEdgeLabelStyle;
69
- globalNodeLabelStyle = _extends({}, nodeLabelStyle, {
70
- color: themeConfig.globalNodeLabelColor
71
- });
72
- topo.getHtTopo().setGlobalNodeLabelStyle(globalNodeLabelStyle);
73
- globalEdgeTagStyle = _extends({}, defaultEdgeLabelStyle, themeConfig.globalEdgeTagStyle);
74
- topo.getHtTopo().setGlobalEdgeTagStyle(globalEdgeTagStyle);
75
- _context2.next = 7;
72
+ _context2.next = 5;
76
73
  return displayConfigDispatchers.update({
77
- nodeLabelStyle: globalNodeLabelStyle,
78
- defaultEdgeLabelStyle: globalEdgeTagStyle
74
+ nodeLabelStyle: _extends({}, nodeLabelStyle, themeConfig.globalNodeLabelStyle),
75
+ defaultEdgeLabelStyle: _extends({}, defaultEdgeLabelStyle, themeConfig.globalEdgeTagStyle)
79
76
  });
80
77
 
81
- case 7:
78
+ case 5:
82
79
  case "end":
83
80
  return _context2.stop();
84
81
  }
@@ -1,3 +1,6 @@
1
+ import _asyncToGenerator from "@babel/runtime/helpers/asyncToGenerator";
2
+ import _regeneratorRuntime from "@babel/runtime/regenerator";
3
+
1
4
  /* eslint-disable jsx-a11y/alt-text */
2
5
  import React, { useState } from 'react';
3
6
  import DropdownButton from "./components/DropdownButton";
@@ -10,7 +13,8 @@ import textStyleSettingRouter from "./components/textStyleSetting/textStyleSetti
10
13
  function FontColorDropdown(props) {
11
14
  var onChange = props.onChange,
12
15
  topo = props.topo,
13
- opacity = props.opacity;
16
+ opacity = props.opacity,
17
+ setStyle = props.setStyle;
14
18
 
15
19
  var _useState = useState(false),
16
20
  disabled = _useState[0],
@@ -24,36 +28,90 @@ function FontColorDropdown(props) {
24
28
  topo.historyManager.endTransaction();
25
29
  };
26
30
 
27
- var colorBackgroundChanges = function colorBackgroundChanges(type, name, value) {
28
- if (type === 'select') topo.historyManager.beginTransaction();
29
-
30
- if (name === 'color') {
31
- onChange({
32
- color: value
33
- });
34
- } else {
35
- onChange({
36
- background: value
37
- });
38
- }
31
+ var colorChang = /*#__PURE__*/function () {
32
+ var _ref = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime.mark(function _callee(value, type) {
33
+ return _regeneratorRuntime.wrap(function _callee$(_context) {
34
+ while (1) {
35
+ switch (_context.prev = _context.next) {
36
+ case 0:
37
+ if (!(type === 'select')) {
38
+ _context.next = 7;
39
+ break;
40
+ }
39
41
 
40
- if (type === 'select') topo.historyManager.endTransaction();
41
- };
42
+ topo.historyManager.beginTransaction();
43
+ _context.next = 4;
44
+ return setStyle({
45
+ color: value
46
+ });
42
47
 
43
- var colorChang = function colorChang(value, type) {
44
- colorBackgroundChanges(type, 'color', value);
45
- };
48
+ case 4:
49
+ topo.historyManager.endTransaction();
50
+ _context.next = 8;
51
+ break;
46
52
 
47
- var backgroundChang = function backgroundChang(value, type) {
48
- colorBackgroundChanges(type, 'background', value);
49
- };
53
+ case 7:
54
+ setStyle({
55
+ background: value
56
+ });
50
57
 
51
- var onFocus = function onFocus() {
52
- topo.historyManager.beginTransaction();
58
+ case 8:
59
+ case "end":
60
+ return _context.stop();
61
+ }
62
+ }
63
+ }, _callee);
64
+ }));
65
+
66
+ return function colorChang(_x, _x2) {
67
+ return _ref.apply(this, arguments);
68
+ };
69
+ }();
70
+
71
+ var backgroundChang = /*#__PURE__*/function () {
72
+ var _ref2 = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime.mark(function _callee2(value, type) {
73
+ return _regeneratorRuntime.wrap(function _callee2$(_context2) {
74
+ while (1) {
75
+ switch (_context2.prev = _context2.next) {
76
+ case 0:
77
+ if (!(type === 'select')) {
78
+ _context2.next = 7;
79
+ break;
80
+ }
81
+
82
+ topo.historyManager.beginTransaction();
83
+ _context2.next = 4;
84
+ return setStyle({
85
+ background: value
86
+ });
87
+
88
+ case 4:
89
+ topo.historyManager.endTransaction();
90
+ _context2.next = 8;
91
+ break;
92
+
93
+ case 7:
94
+ setStyle({
95
+ background: value
96
+ });
97
+
98
+ case 8:
99
+ case "end":
100
+ return _context2.stop();
101
+ }
102
+ }
103
+ }, _callee2);
104
+ }));
105
+
106
+ return function backgroundChang(_x3, _x4) {
107
+ return _ref2.apply(this, arguments);
108
+ };
109
+ }();
110
+
111
+ var onFocus = function onFocus() {// topo.historyManager.beginTransaction();
53
112
  };
54
113
 
55
- var onBlur = function onBlur() {
56
- topo.historyManager.endTransaction();
114
+ var onBlur = function onBlur() {// topo.historyManager.endTransaction();
57
115
  };
58
116
 
59
117
  var icon = disabled ? /*#__PURE__*/React.createElement("img", {
@@ -119,9 +177,9 @@ function FontColorButton(props) {
119
177
  color: style.color,
120
178
  background: style.background,
121
179
  opacity: style.opacity,
180
+ setStyle: setStyle,
122
181
  onChange: function onChange(val) {
123
182
  setStyle(val);
124
- topo.historyManager.endTransaction();
125
183
  },
126
184
  topo: topo
127
185
  }));
@@ -26,10 +26,6 @@ function DropdownButton(props) {
26
26
  }, buttonBoxProps), trigger);
27
27
 
28
28
  var renderContent = function renderContent() {
29
- if (!visible) {
30
- return /*#__PURE__*/React.createElement("div", null);
31
- }
32
-
33
29
  if (showContainer) {
34
30
  return /*#__PURE__*/React.createElement(PopupCard, null, children);
35
31
  }
@@ -2,6 +2,9 @@ import _extends from "@babel/runtime/helpers/extends";
2
2
  var baseLightTheme = {
3
3
  color: '#FFFFFF',
4
4
  globalNodeLabelColor: '#4d6277',
5
+ globalNodeLabelStyle: {
6
+ color: '#4d6277'
7
+ },
5
8
  globalEdgeTagStyle: {
6
9
  color: '#777B9A',
7
10
  background: '#FFFFFF',
@@ -61,7 +64,9 @@ var THEMES = [_extends({}, baseLightTheme, {
61
64
  label: '深色',
62
65
  color: '#031425',
63
66
  toolsTheme: 'black',
64
- globalNodeLabelColor: '#ffffff',
67
+ globalNodeLabelStyle: {
68
+ color: '#ffffff'
69
+ },
65
70
  globalEdgeTagStyle: {
66
71
  color: '#E4E9EE',
67
72
  background: '#063658',
@@ -23,7 +23,7 @@ import topoFactory from "./topoFactory";
23
23
  import ElementTagTipConfig from "./tagstips/ElementTagTipConfig";
24
24
  import SelectionModel from "./SelectionModel"; // eslint-disable-next-line no-undef
25
25
 
26
- var version = typeof "6.0.0-alpha.66" === 'string' ? "6.0.0-alpha.66" : null;
26
+ var version = typeof "6.0.0-alpha.68" === 'string' ? "6.0.0-alpha.68" : null;
27
27
  console.info("\u62D3\u6251\u7248\u672C: " + version);
28
28
  /**
29
29
  * 拓扑显示和编辑
@@ -50,6 +50,10 @@ function ColorPanel(props) {
50
50
  active = _useState2[0],
51
51
  setActive = _useState2[1];
52
52
 
53
+ var _useState3 = (0, _react.useState)(false),
54
+ visible = _useState3[0],
55
+ setVisible = _useState3[1];
56
+
53
57
  var colorChange = function colorChange(value, type, key) {
54
58
  setActive(key);
55
59
  onChange(getColor16(value), type);
@@ -82,21 +86,7 @@ function ColorPanel(props) {
82
86
  };
83
87
 
84
88
  var handleChange = function handleChange(color) {
85
- var prevValue = color.hex;
86
- var rgb = color.rgb;
87
- var rgba = "rgba(" + rgb.r + "," + rgb.g + "," + rgb.b + "," + rgb.a + ")";
88
-
89
- if (data !== prevValue) {
90
- setData({
91
- hex: prevValue,
92
- rgb: rgb
93
- });
94
- }
95
- };
96
-
97
- var pickerBlur = function pickerBlur() {
98
- onChange(data, 'change');
99
- onPickerBlur();
89
+ setData(color); // onChange(color,'change');
100
90
  };
101
91
 
102
92
  var getColor16 = function getColor16(color) {
@@ -134,11 +124,23 @@ function ColorPanel(props) {
134
124
  return that;
135
125
  };
136
126
 
127
+ var open = function open() {
128
+ setVisible(true);
129
+ onPickerFocus();
130
+ };
131
+
132
+ var close = function close() {
133
+ setVisible(false);
134
+ onPickerBlur();
135
+ onChange(data, 'select');
136
+ };
137
+
137
138
  var defaultTrigger = /*#__PURE__*/_react["default"].createElement("div", {
138
139
  className: _indexModule["default"].swatch,
139
140
  style: {
140
141
  background: value
141
- }
142
+ },
143
+ onClick: open
142
144
  }, /*#__PURE__*/_react["default"].createElement("img", {
143
145
  src: "/img/topo/editor/toolbar/\u6587\u5B57\u989C\u8272\u53CA\u586B\u5145/\u66F4\u591A\u989C\u8272.svg",
144
146
  alt: ""
@@ -168,6 +170,7 @@ function ColorPanel(props) {
168
170
  changClick('17');
169
171
  }
170
172
  }, /*#__PURE__*/_react["default"].createElement(_balloon["default"], {
173
+ visible: visible,
171
174
  trigger: defaultTrigger,
172
175
  closable: false,
173
176
  triggerType: "click",
@@ -178,8 +181,7 @@ function ColorPanel(props) {
178
181
  style: {
179
182
  paddingBottom: 0
180
183
  },
181
- onBlur: pickerBlur,
182
- onFocus: onPickerFocus
184
+ onClose: close
183
185
  }, /*#__PURE__*/_react["default"].createElement(_reactColor.SketchPicker, {
184
186
  color: data // width={230}
185
187
  ,
@@ -63,7 +63,8 @@ function useCanvasThemeConfig(props) {
63
63
  return function setCanvasTheme(_x) {
64
64
  return _ref.apply(this, arguments);
65
65
  };
66
- }();
66
+ }(); // 设置资源/链路标注样式
67
+
67
68
 
68
69
  function setGlobalTagTheme(_x2) {
69
70
  return _setGlobalTagTheme.apply(this, arguments);
@@ -71,27 +72,23 @@ function useCanvasThemeConfig(props) {
71
72
 
72
73
  function _setGlobalTagTheme() {
73
74
  _setGlobalTagTheme = (0, _asyncToGenerator2["default"])( /*#__PURE__*/_regenerator["default"].mark(function _callee2(themeConfig) {
74
- var _topo$store$getModelS, nodeLabelStyle, defaultEdgeLabelStyle, globalNodeLabelStyle, globalEdgeTagStyle;
75
+ var _topo$store$getModelS, nodeLabelStyle, defaultEdgeLabelStyle;
75
76
 
76
77
  return _regenerator["default"].wrap(function _callee2$(_context2) {
77
78
  while (1) {
78
79
  switch (_context2.prev = _context2.next) {
79
80
  case 0:
80
- // 设置资源/链路标注样式
81
+ topo.getHtTopo().setGlobalNodeLabelStyle(themeConfig.globalNodeLabelStyle);
82
+ topo.getHtTopo().setGlobalEdgeTagStyle(themeConfig.globalEdgeTagStyle); // 更新默认配置
83
+
81
84
  _topo$store$getModelS = topo.store.getModelState('displayConfig'), nodeLabelStyle = _topo$store$getModelS.nodeLabelStyle, defaultEdgeLabelStyle = _topo$store$getModelS.defaultEdgeLabelStyle;
82
- globalNodeLabelStyle = (0, _extends2["default"])({}, nodeLabelStyle, {
83
- color: themeConfig.globalNodeLabelColor
84
- });
85
- topo.getHtTopo().setGlobalNodeLabelStyle(globalNodeLabelStyle);
86
- globalEdgeTagStyle = (0, _extends2["default"])({}, defaultEdgeLabelStyle, themeConfig.globalEdgeTagStyle);
87
- topo.getHtTopo().setGlobalEdgeTagStyle(globalEdgeTagStyle);
88
- _context2.next = 7;
85
+ _context2.next = 5;
89
86
  return displayConfigDispatchers.update({
90
- nodeLabelStyle: globalNodeLabelStyle,
91
- defaultEdgeLabelStyle: globalEdgeTagStyle
87
+ nodeLabelStyle: (0, _extends2["default"])({}, nodeLabelStyle, themeConfig.globalNodeLabelStyle),
88
+ defaultEdgeLabelStyle: (0, _extends2["default"])({}, defaultEdgeLabelStyle, themeConfig.globalEdgeTagStyle)
92
89
  });
93
90
 
94
- case 7:
91
+ case 5:
95
92
  case "end":
96
93
  return _context2.stop();
97
94
  }
@@ -5,6 +5,10 @@ var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefau
5
5
  exports.__esModule = true;
6
6
  exports["default"] = void 0;
7
7
 
8
+ var _regenerator = _interopRequireDefault(require("@babel/runtime/regenerator"));
9
+
10
+ var _asyncToGenerator2 = _interopRequireDefault(require("@babel/runtime/helpers/asyncToGenerator"));
11
+
8
12
  var _react = _interopRequireWildcard(require("react"));
9
13
 
10
14
  var _DropdownButton = _interopRequireDefault(require("./components/DropdownButton"));
@@ -27,7 +31,8 @@ function _interopRequireWildcard(obj, nodeInterop) { if (!nodeInterop && obj &&
27
31
  function FontColorDropdown(props) {
28
32
  var onChange = props.onChange,
29
33
  topo = props.topo,
30
- opacity = props.opacity;
34
+ opacity = props.opacity,
35
+ setStyle = props.setStyle;
31
36
 
32
37
  var _useState = (0, _react.useState)(false),
33
38
  disabled = _useState[0],
@@ -41,36 +46,90 @@ function FontColorDropdown(props) {
41
46
  topo.historyManager.endTransaction();
42
47
  };
43
48
 
44
- var colorBackgroundChanges = function colorBackgroundChanges(type, name, value) {
45
- if (type === 'select') topo.historyManager.beginTransaction();
46
-
47
- if (name === 'color') {
48
- onChange({
49
- color: value
50
- });
51
- } else {
52
- onChange({
53
- background: value
54
- });
55
- }
56
-
57
- if (type === 'select') topo.historyManager.endTransaction();
58
- };
59
-
60
- var colorChang = function colorChang(value, type) {
61
- colorBackgroundChanges(type, 'color', value);
49
+ var colorChang = /*#__PURE__*/function () {
50
+ var _ref = (0, _asyncToGenerator2["default"])( /*#__PURE__*/_regenerator["default"].mark(function _callee(value, type) {
51
+ return _regenerator["default"].wrap(function _callee$(_context) {
52
+ while (1) {
53
+ switch (_context.prev = _context.next) {
54
+ case 0:
55
+ if (!(type === 'select')) {
56
+ _context.next = 7;
57
+ break;
58
+ }
59
+
60
+ topo.historyManager.beginTransaction();
61
+ _context.next = 4;
62
+ return setStyle({
63
+ color: value
64
+ });
65
+
66
+ case 4:
67
+ topo.historyManager.endTransaction();
68
+ _context.next = 8;
69
+ break;
70
+
71
+ case 7:
72
+ setStyle({
73
+ background: value
74
+ });
75
+
76
+ case 8:
77
+ case "end":
78
+ return _context.stop();
79
+ }
80
+ }
81
+ }, _callee);
82
+ }));
83
+
84
+ return function colorChang(_x, _x2) {
85
+ return _ref.apply(this, arguments);
86
+ };
87
+ }();
88
+
89
+ var backgroundChang = /*#__PURE__*/function () {
90
+ var _ref2 = (0, _asyncToGenerator2["default"])( /*#__PURE__*/_regenerator["default"].mark(function _callee2(value, type) {
91
+ return _regenerator["default"].wrap(function _callee2$(_context2) {
92
+ while (1) {
93
+ switch (_context2.prev = _context2.next) {
94
+ case 0:
95
+ if (!(type === 'select')) {
96
+ _context2.next = 7;
97
+ break;
98
+ }
99
+
100
+ topo.historyManager.beginTransaction();
101
+ _context2.next = 4;
102
+ return setStyle({
103
+ background: value
104
+ });
105
+
106
+ case 4:
107
+ topo.historyManager.endTransaction();
108
+ _context2.next = 8;
109
+ break;
110
+
111
+ case 7:
112
+ setStyle({
113
+ background: value
114
+ });
115
+
116
+ case 8:
117
+ case "end":
118
+ return _context2.stop();
119
+ }
120
+ }
121
+ }, _callee2);
122
+ }));
123
+
124
+ return function backgroundChang(_x3, _x4) {
125
+ return _ref2.apply(this, arguments);
126
+ };
127
+ }();
128
+
129
+ var onFocus = function onFocus() {// topo.historyManager.beginTransaction();
62
130
  };
63
131
 
64
- var backgroundChang = function backgroundChang(value, type) {
65
- colorBackgroundChanges(type, 'background', value);
66
- };
67
-
68
- var onFocus = function onFocus() {
69
- topo.historyManager.beginTransaction();
70
- };
71
-
72
- var onBlur = function onBlur() {
73
- topo.historyManager.endTransaction();
132
+ var onBlur = function onBlur() {// topo.historyManager.endTransaction();
74
133
  };
75
134
 
76
135
  var icon = disabled ? /*#__PURE__*/_react["default"].createElement("img", {
@@ -136,9 +195,9 @@ function FontColorButton(props) {
136
195
  color: style.color,
137
196
  background: style.background,
138
197
  opacity: style.opacity,
198
+ setStyle: setStyle,
139
199
  onChange: function onChange(val) {
140
200
  setStyle(val);
141
- topo.historyManager.endTransaction();
142
201
  },
143
202
  topo: topo
144
203
  }));
@@ -42,10 +42,6 @@ function DropdownButton(props) {
42
42
  }, buttonBoxProps), trigger);
43
43
 
44
44
  var renderContent = function renderContent() {
45
- if (!visible) {
46
- return /*#__PURE__*/_react["default"].createElement("div", null);
47
- }
48
-
49
45
  if (showContainer) {
50
46
  return /*#__PURE__*/_react["default"].createElement(PopupCard, null, children);
51
47
  }
@@ -10,6 +10,9 @@ var _extends2 = _interopRequireDefault(require("@babel/runtime/helpers/extends")
10
10
  var baseLightTheme = {
11
11
  color: '#FFFFFF',
12
12
  globalNodeLabelColor: '#4d6277',
13
+ globalNodeLabelStyle: {
14
+ color: '#4d6277'
15
+ },
13
16
  globalEdgeTagStyle: {
14
17
  color: '#777B9A',
15
18
  background: '#FFFFFF',
@@ -69,7 +72,9 @@ var THEMES = [(0, _extends2["default"])({}, baseLightTheme, {
69
72
  label: '深色',
70
73
  color: '#031425',
71
74
  toolsTheme: 'black',
72
- globalNodeLabelColor: '#ffffff',
75
+ globalNodeLabelStyle: {
76
+ color: '#ffffff'
77
+ },
73
78
  globalEdgeTagStyle: {
74
79
  color: '#E4E9EE',
75
80
  background: '#063658',
@@ -54,7 +54,7 @@ var _ElementTagTipConfig = _interopRequireDefault(require("./tagstips/ElementTag
54
54
  var _SelectionModel = _interopRequireDefault(require("./SelectionModel"));
55
55
 
56
56
  // eslint-disable-next-line no-undef
57
- var version = typeof "6.0.0-alpha.66" === 'string' ? "6.0.0-alpha.66" : null;
57
+ var version = typeof "6.0.0-alpha.68" === 'string' ? "6.0.0-alpha.68" : null;
58
58
  console.info("\u62D3\u6251\u7248\u672C: " + version);
59
59
  /**
60
60
  * 拓扑显示和编辑
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@riil-frontend/component-topology",
3
- "version": "6.0.0-alpha.66",
3
+ "version": "6.0.0-alpha.68",
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@6.0.0-alpha.66/build/index.html",
119
+ "homepage": "https://unpkg.com/@riil-frontend/component-topology@6.0.0-alpha.68/build/index.html",
120
120
  "gitHead": "2da19ffccbb7ca60a8acf396e39f542c68bb33f5"
121
121
  }