@riil-frontend/component-topology 11.0.6 → 11.0.10

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.
@@ -1,2 +1,2 @@
1
- import MultipleTypeAttributeSelectDrawer from "./components/MultipleTypeAttributeSelectDrawer";
2
- export default MultipleTypeAttributeSelectDrawer;
1
+ import ModelAttrSelectDrawer from "./components/ModelAttrSelectDrawer";
2
+ export default ModelAttrSelectDrawer;
@@ -3,7 +3,6 @@ import React from 'react';
3
3
  import PropTypes from 'prop-types';
4
4
  import { DEFAULT_NODE_TAG_COMMON_CONFIG } from "../../../constants/ResourceInfoDisplay";
5
5
  import BasicConfig from "./ResourceDisplay/BasicConfig";
6
- import NodeAttrSettingDrawer from "./components/NodeAttrSettingDrawer";
7
6
  var defaultCommonOptions = [{
8
7
  value: 'graph:name',
9
8
  label: '图片名称'
@@ -20,17 +19,15 @@ var defaultCommonOptions = [{
20
19
  var NodeTag = /*#__PURE__*/React.forwardRef(function (props, ref) {
21
20
  var commonOptions = props.commonOptions;
22
21
  return /*#__PURE__*/React.createElement(BasicConfig, _extends({
23
- ref: ref,
22
+ ref: ref
23
+ }, props, {
24
24
  limit: 3,
25
25
  elementType: "node",
26
26
  showType: "tag",
27
27
  commonOptions: commonOptions || defaultCommonOptions,
28
28
  defaultCommonConfig: DEFAULT_NODE_TAG_COMMON_CONFIG,
29
- customSettingDrawer: function customSettingDrawer(params) {
30
- return /*#__PURE__*/React.createElement(NodeAttrSettingDrawer, params);
31
- },
32
29
  type: "node"
33
- }, props));
30
+ }));
34
31
  });
35
32
  NodeTag.displayName = 'NodeTag';
36
33
  NodeTag.propTypes = {
@@ -3,7 +3,6 @@ import React from 'react';
3
3
  import PropTypes from 'prop-types';
4
4
  import { DEFAULT_TIP_COMMON_CONFIG } from "../../../constants/ResourceInfoDisplay";
5
5
  import BasicConfig from "./ResourceDisplay/BasicConfig";
6
- import NodeAttrSettingDrawer from "./components/NodeAttrSettingDrawer";
7
6
  var defaultCommonOptions = [{
8
7
  value: 'attribute:display_name',
9
8
  label: '显示名称'
@@ -20,16 +19,14 @@ var defaultCommonOptions = [{
20
19
  var NodeTip = /*#__PURE__*/React.forwardRef(function (props, ref) {
21
20
  var commonOptions = props.commonOptions;
22
21
  return /*#__PURE__*/React.createElement(BasicConfig, _extends({
23
- ref: ref,
22
+ ref: ref
23
+ }, props, {
24
24
  limit: 4,
25
25
  elementType: "node",
26
26
  showType: "tip",
27
27
  commonOptions: commonOptions || defaultCommonOptions,
28
- defaultCommonConfig: DEFAULT_TIP_COMMON_CONFIG,
29
- customSettingDrawer: function customSettingDrawer(params) {
30
- return /*#__PURE__*/React.createElement(NodeAttrSettingDrawer, params);
31
- }
32
- }, props));
28
+ defaultCommonConfig: DEFAULT_TIP_COMMON_CONFIG
29
+ }));
33
30
  });
34
31
  NodeTip.propTypes = {
35
32
  commonOptions: PropTypes.array
@@ -1,88 +1,4 @@
1
- import { getCiTypesFromCiElements } from "../../../utils/topoData";
2
- /**
3
- * 获取节点标注、悬浮框配置
4
- * @param {*} topo
5
- * @returns
6
- */
7
-
8
- export function getNodeModels(topo) {
9
- var data = topo.store.getModelState('topoMod').data;
10
- var ciTypeMap = topo.ciTyeCache.ciTypes;
11
- return getNodeModSet();
12
-
13
- function getNodeModSet() {
14
- var ciTypes = getCiTypesFromCiElements(data.nodes);
15
- return getMods(ciTypes);
16
- }
17
- /**
18
- *
19
- * @param {array} ciTypeCodes
20
- * @returns
21
- */
22
-
23
-
24
- function getMods(ciTypeCodes) {
25
- return Object.keys(ciTypeMap).filter(function (item) {
26
- return ciTypeCodes.includes(item);
27
- }).map(function (key) {
28
- var ciTypeObj = ciTypeMap[key];
29
- return {
30
- id: ciTypeObj.code,
31
- label: ciTypeObj.displayName,
32
- icon: ciTypeObj.icon,
33
- list: ciModfilter(ciTypeObj, 'node')
34
- };
35
- });
36
- }
37
- /**
38
- * 过滤ci元数据中的属性和指标,用于属性和指标显示设置
39
- * @param {} ciTypeObj
40
- * @returns
41
- */
42
-
43
-
44
- function ciModfilter(ciTypeObj, type) {
45
- var custom = [];
46
-
47
- if (type === 'node') {
48
- custom.push.apply(custom, [{
49
- id: 'graph:name',
50
- code: 'name',
51
- name: '图片名称',
52
- type: 'custom'
53
- }, {
54
- id: 'ciType:display_name',
55
- code: 'ciType',
56
- name: '资源类型',
57
- type: 'custom'
58
- }]);
59
- }
60
-
61
- var attributes = ciTypeObj.attributes.filter(function (attr) {
62
- return !!attr.userVisible;
63
- }).map(function (item) {
64
- return {
65
- type: 'attribute',
66
- id: "attribute:" + item.code,
67
- code: "attribute:" + item.code,
68
- name: item.name,
69
- typeName: '属性'
70
- };
71
- });
72
- var metrics = ciTypeObj.metrics.map(function (item) {
73
- return {
74
- type: 'metric',
75
- id: "metric:" + item.code,
76
- code: "metric:" + item.code,
77
- name: item.name,
78
- typeName: '指标'
79
- };
80
- });
81
- return [].concat(custom, attributes, metrics);
82
- }
83
-
84
- ;
85
- } // 资源类型含有属性和指标集合
1
+ import { getCiTypesFromCiElements } from "../../../utils/topoData"; // 资源类型含有属性和指标集合
86
2
 
87
3
  export function getNodeCiModSet(params) {
88
4
  var topo = params.topo;
@@ -113,7 +29,8 @@ export function getNodeCiModSet(params) {
113
29
  icon: ciTypeObj.icon,
114
30
  list: ciModfilter(ciTypeObj, globalConfig, 'node', ciTypeObj.code)
115
31
  };
116
- });
32
+ }); // console.log("modSet--------------------", modSet);
33
+
117
34
  return modSet;
118
35
  }
119
36
  /**
@@ -143,7 +60,13 @@ export function getNodeCiModSet(params) {
143
60
  (_tags$data$code = tags.data[code]) === null || _tags$data$code === void 0 ? void 0 : _tags$data$code.map(function (item) {
144
61
  tagArr.push(item.code + "-" + item.type);
145
62
  });
146
- }
63
+ } // rlog.debug(
64
+ // "过滤ci元数据中的属性和指标,用于属性和指标显示设置",
65
+ // globalSetting,
66
+ // tipArr,
67
+ // tagArr
68
+ // );
69
+
147
70
 
148
71
  var custom = [];
149
72
 
@@ -234,8 +234,7 @@ var useTopoEdit = function useTopoEdit(params) {
234
234
  content: "是否仅删除区域或将区域包含的内容一同删除?",
235
235
  //footer:()=>{return <><Button type="primary" onClick={doDeleteOnlyGroup}>仅删除区域</Button><Button type="primary" onClick={doDeleteOnlyGroup}>确定</Button></>},
236
236
  okProps: {
237
- children: "仅删除区域",
238
- type: "normal"
237
+ children: "仅删除区域"
239
238
  },
240
239
  cancelProps: {
241
240
  children: "全部删除"
@@ -290,30 +289,27 @@ var useTopoEdit = function useTopoEdit(params) {
290
289
  });
291
290
 
292
291
  function doDeleteOnlyGroup() {
293
- topo.historyManager.beginTransaction(); // console.log("仅删除区域", topo.view.topoClient, data);
294
-
292
+ // console.log("仅删除区域", topo.view.topoClient, data);
295
293
  var children = getGroupChildren(group);
296
294
  children.map(function (child) {
297
- child.setParent(null); // var viewRect = topo.getGraphView().getViewRect();
298
- // var nodeRect = child.getRect();
299
- // child.setPosition(
300
- // viewRect.x + nodeRect.width + 2,
301
- // viewRect.y + nodeRect.height + 4
302
- // ); // 解决集群从区域内移出时,连线位置未更新的问题
295
+ child.setParent(null);
296
+ var viewRect = topo.getGraphView().getViewRect();
297
+ var nodeRect = child.getRect();
298
+ child.setPosition(viewRect.x + nodeRect.width + 2, viewRect.y + nodeRect.height + 4); // 解决集群从区域内移出时,连线位置未更新的问题
303
299
 
304
300
  setTimeout(function () {
305
301
  child.iv();
306
302
  topo.historyManager.endTransaction();
307
303
  }, 50);
308
304
  });
309
- topo.view.topoClient.deleteGroup(data);
310
- topo.historyManager.endTransaction(); // console.log("仅删除区域", children, group);
305
+ topo.view.topoClient.deleteGroup(data); // console.log("仅删除区域", children, group);
311
306
  }
312
307
 
313
308
  function doDelete() {
314
309
  topo.historyManager.beginTransaction(); // FIXME 。如果命中其他的动态条件,则立即显示
315
310
 
316
311
  topo.view.topoClient.deleteGroup(data);
312
+ topo.historyManager.endTransaction();
317
313
  }
318
314
  };
319
315
 
@@ -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 "11.0.6" === 'string' ? "11.0.6" : null;
27
+ var version = typeof "11.0.10" === 'string' ? "11.0.10" : null;
28
28
  console.info("\u62D3\u6251\u7248\u672C: " + version);
29
29
  /**
30
30
  * 拓扑显示和编辑
@@ -70,7 +70,7 @@ var ElementTagTipConfig = /*#__PURE__*/function () {
70
70
 
71
71
  _proto.getNodeFiedldMap = function getNodeFiedldMap() {
72
72
  var mtCodes = getNodeMtCodes(this.topoData);
73
- return this.getFiedldMapByMtCodes(mtCodes, 'node');
73
+ return this.getFiedldMapByType(mtCodes, 'node');
74
74
  }
75
75
  /**
76
76
  * 获得节点字段配置项map
@@ -79,13 +79,8 @@ var ElementTagTipConfig = /*#__PURE__*/function () {
79
79
 
80
80
  _proto.getLinkFidldMap = function getLinkFidldMap() {
81
81
  var mtCodes = getLinkMtCodes(this.topoData);
82
- return this.getFiedldMapByMtCodes(mtCodes, 'link');
83
- }
84
- /**
85
- * 获取链路标注悬浮框属性配置数据
86
- * @returns
87
- */
88
- ;
82
+ return this.getFiedldMapByType(mtCodes, 'link');
83
+ };
89
84
 
90
85
  _proto.getLinkConfigItems = function getLinkConfigItems() {
91
86
  var mtCodes = getLinkMtCodes(this.topoData);
@@ -115,48 +110,47 @@ var ElementTagTipConfig = /*#__PURE__*/function () {
115
110
  // ]
116
111
  };
117
112
 
118
- _proto.getFiedldMapByMtCodes = function getFiedldMapByMtCodes(mtCodes, type) {
113
+ _proto.getFiedldMapByType = function getFiedldMapByType(mtCodes, type) {
119
114
  var _this = this;
120
115
 
121
116
  var map = {};
122
117
  mtCodes.forEach(function (mtCode) {
123
118
  var ciType = _this.mtCiTypeMap[mtCode];
124
- map[mtCode] = _this.getFiedldMapByType(ciType, type, mtCode);
125
- });
126
- return map;
127
- };
128
119
 
129
- _proto.getFiedldMapByType = function getFiedldMapByType(ciType, type, mtCode) {
130
- var attributes = this.topo.ciTyeCache.getCiType(ciType).attributes.filter(function (attr) {
131
- return !!attr.userVisible;
120
+ var attributes = _this.topo.ciTyeCache.getCiType(ciType).attributes.filter(function (attr) {
121
+ return !!attr.userVisible;
122
+ });
123
+
124
+ var metrics = _this.getMtMetricModels(mtCode);
125
+
126
+ var extItems = type === 'node' ? [{
127
+ lavel: '图片名称',
128
+ value: 'graph:name',
129
+ typeName: null
130
+ }, {
131
+ lavel: '资源类型',
132
+ value: 'ciType:name',
133
+ typeName: null
134
+ }] : [];
135
+ map[mtCode] = [].concat(extItems, attributes.map(function (item) {
136
+ return {
137
+ type: 'attribute',
138
+ id: "attribute:" + item.code,
139
+ code: "attribute:" + item.code,
140
+ name: item.name,
141
+ typeName: '属性'
142
+ };
143
+ }), metrics.map(function (item) {
144
+ return {
145
+ type: 'metric',
146
+ id: "metric:" + item.code,
147
+ code: "metric:" + item.code,
148
+ name: item.name,
149
+ typeName: '指标'
150
+ };
151
+ }));
132
152
  });
133
- var metrics = this.getMtMetricModels(mtCode);
134
- var extItems = type === 'node' ? [{
135
- lavel: '图片名称',
136
- value: 'graph:name',
137
- typeName: null
138
- }, {
139
- lavel: '资源类型',
140
- value: 'ciType:name',
141
- typeName: null
142
- }] : [];
143
- return [].concat(extItems, attributes.map(function (item) {
144
- return {
145
- type: 'attribute',
146
- id: "attribute:" + item.code,
147
- code: "attribute:" + item.code,
148
- name: item.name,
149
- typeName: '属性'
150
- };
151
- }), metrics.map(function (item) {
152
- return {
153
- type: 'metric',
154
- id: "metric:" + item.code,
155
- code: "metric:" + item.code,
156
- name: item.name,
157
- typeName: '指标'
158
- };
159
- }));
153
+ return map;
160
154
  };
161
155
 
162
156
  _proto.getMtMetricModels = function getMtMetricModels(mtCode) {
@@ -5,7 +5,7 @@ var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefau
5
5
  exports.__esModule = true;
6
6
  exports["default"] = void 0;
7
7
 
8
- var _MultipleTypeAttributeSelectDrawer = _interopRequireDefault(require("./components/MultipleTypeAttributeSelectDrawer"));
8
+ var _ModelAttrSelectDrawer = _interopRequireDefault(require("./components/ModelAttrSelectDrawer"));
9
9
 
10
- var _default = _MultipleTypeAttributeSelectDrawer["default"];
10
+ var _default = _ModelAttrSelectDrawer["default"];
11
11
  exports["default"] = _default;
@@ -15,8 +15,6 @@ var _ResourceInfoDisplay = require("../../../constants/ResourceInfoDisplay");
15
15
 
16
16
  var _BasicConfig = _interopRequireDefault(require("./ResourceDisplay/BasicConfig"));
17
17
 
18
- var _NodeAttrSettingDrawer = _interopRequireDefault(require("./components/NodeAttrSettingDrawer"));
19
-
20
18
  var defaultCommonOptions = [{
21
19
  value: 'graph:name',
22
20
  label: '图片名称'
@@ -33,17 +31,15 @@ var defaultCommonOptions = [{
33
31
  var NodeTag = /*#__PURE__*/_react["default"].forwardRef(function (props, ref) {
34
32
  var commonOptions = props.commonOptions;
35
33
  return /*#__PURE__*/_react["default"].createElement(_BasicConfig["default"], (0, _extends2["default"])({
36
- ref: ref,
34
+ ref: ref
35
+ }, props, {
37
36
  limit: 3,
38
37
  elementType: "node",
39
38
  showType: "tag",
40
39
  commonOptions: commonOptions || defaultCommonOptions,
41
40
  defaultCommonConfig: _ResourceInfoDisplay.DEFAULT_NODE_TAG_COMMON_CONFIG,
42
- customSettingDrawer: function customSettingDrawer(params) {
43
- return /*#__PURE__*/_react["default"].createElement(_NodeAttrSettingDrawer["default"], params);
44
- },
45
41
  type: "node"
46
- }, props));
42
+ }));
47
43
  });
48
44
 
49
45
  NodeTag.displayName = 'NodeTag';
@@ -15,8 +15,6 @@ var _ResourceInfoDisplay = require("../../../constants/ResourceInfoDisplay");
15
15
 
16
16
  var _BasicConfig = _interopRequireDefault(require("./ResourceDisplay/BasicConfig"));
17
17
 
18
- var _NodeAttrSettingDrawer = _interopRequireDefault(require("./components/NodeAttrSettingDrawer"));
19
-
20
18
  var defaultCommonOptions = [{
21
19
  value: 'attribute:display_name',
22
20
  label: '显示名称'
@@ -33,16 +31,14 @@ var defaultCommonOptions = [{
33
31
  var NodeTip = /*#__PURE__*/_react["default"].forwardRef(function (props, ref) {
34
32
  var commonOptions = props.commonOptions;
35
33
  return /*#__PURE__*/_react["default"].createElement(_BasicConfig["default"], (0, _extends2["default"])({
36
- ref: ref,
34
+ ref: ref
35
+ }, props, {
37
36
  limit: 4,
38
37
  elementType: "node",
39
38
  showType: "tip",
40
39
  commonOptions: commonOptions || defaultCommonOptions,
41
- defaultCommonConfig: _ResourceInfoDisplay.DEFAULT_TIP_COMMON_CONFIG,
42
- customSettingDrawer: function customSettingDrawer(params) {
43
- return /*#__PURE__*/_react["default"].createElement(_NodeAttrSettingDrawer["default"], params);
44
- }
45
- }, props));
40
+ defaultCommonConfig: _ResourceInfoDisplay.DEFAULT_TIP_COMMON_CONFIG
41
+ }));
46
42
  });
47
43
 
48
44
  NodeTip.propTypes = {
@@ -2,95 +2,10 @@
2
2
 
3
3
  exports.__esModule = true;
4
4
  exports.getNodeCiModSet = getNodeCiModSet;
5
- exports.getNodeModels = getNodeModels;
6
5
 
7
6
  var _topoData = require("../../../utils/topoData");
8
7
 
9
- /**
10
- * 获取节点标注、悬浮框配置
11
- * @param {*} topo
12
- * @returns
13
- */
14
- function getNodeModels(topo) {
15
- var data = topo.store.getModelState('topoMod').data;
16
- var ciTypeMap = topo.ciTyeCache.ciTypes;
17
- return getNodeModSet();
18
-
19
- function getNodeModSet() {
20
- var ciTypes = (0, _topoData.getCiTypesFromCiElements)(data.nodes);
21
- return getMods(ciTypes);
22
- }
23
- /**
24
- *
25
- * @param {array} ciTypeCodes
26
- * @returns
27
- */
28
-
29
-
30
- function getMods(ciTypeCodes) {
31
- return Object.keys(ciTypeMap).filter(function (item) {
32
- return ciTypeCodes.includes(item);
33
- }).map(function (key) {
34
- var ciTypeObj = ciTypeMap[key];
35
- return {
36
- id: ciTypeObj.code,
37
- label: ciTypeObj.displayName,
38
- icon: ciTypeObj.icon,
39
- list: ciModfilter(ciTypeObj, 'node')
40
- };
41
- });
42
- }
43
- /**
44
- * 过滤ci元数据中的属性和指标,用于属性和指标显示设置
45
- * @param {} ciTypeObj
46
- * @returns
47
- */
48
-
49
-
50
- function ciModfilter(ciTypeObj, type) {
51
- var custom = [];
52
-
53
- if (type === 'node') {
54
- custom.push.apply(custom, [{
55
- id: 'graph:name',
56
- code: 'name',
57
- name: '图片名称',
58
- type: 'custom'
59
- }, {
60
- id: 'ciType:display_name',
61
- code: 'ciType',
62
- name: '资源类型',
63
- type: 'custom'
64
- }]);
65
- }
66
-
67
- var attributes = ciTypeObj.attributes.filter(function (attr) {
68
- return !!attr.userVisible;
69
- }).map(function (item) {
70
- return {
71
- type: 'attribute',
72
- id: "attribute:" + item.code,
73
- code: "attribute:" + item.code,
74
- name: item.name,
75
- typeName: '属性'
76
- };
77
- });
78
- var metrics = ciTypeObj.metrics.map(function (item) {
79
- return {
80
- type: 'metric',
81
- id: "metric:" + item.code,
82
- code: "metric:" + item.code,
83
- name: item.name,
84
- typeName: '指标'
85
- };
86
- });
87
- return [].concat(custom, attributes, metrics);
88
- }
89
-
90
- ;
91
- } // 资源类型含有属性和指标集合
92
-
93
-
8
+ // 资源类型含有属性和指标集合
94
9
  function getNodeCiModSet(params) {
95
10
  var topo = params.topo;
96
11
  var data = topo.store.getModelState('topoMod').data;
@@ -120,7 +35,8 @@ function getNodeCiModSet(params) {
120
35
  icon: ciTypeObj.icon,
121
36
  list: ciModfilter(ciTypeObj, globalConfig, 'node', ciTypeObj.code)
122
37
  };
123
- });
38
+ }); // console.log("modSet--------------------", modSet);
39
+
124
40
  return modSet;
125
41
  }
126
42
  /**
@@ -150,7 +66,13 @@ function getNodeCiModSet(params) {
150
66
  (_tags$data$code = tags.data[code]) === null || _tags$data$code === void 0 ? void 0 : _tags$data$code.map(function (item) {
151
67
  tagArr.push(item.code + "-" + item.type);
152
68
  });
153
- }
69
+ } // rlog.debug(
70
+ // "过滤ci元数据中的属性和指标,用于属性和指标显示设置",
71
+ // globalSetting,
72
+ // tipArr,
73
+ // tagArr
74
+ // );
75
+
154
76
 
155
77
  var custom = [];
156
78
 
@@ -263,8 +263,7 @@ var useTopoEdit = function useTopoEdit(params) {
263
263
  content: "是否仅删除区域或将区域包含的内容一同删除?",
264
264
  //footer:()=>{return <><Button type="primary" onClick={doDeleteOnlyGroup}>仅删除区域</Button><Button type="primary" onClick={doDeleteOnlyGroup}>确定</Button></>},
265
265
  okProps: {
266
- children: "仅删除区域",
267
- type: "normal"
266
+ children: "仅删除区域"
268
267
  },
269
268
  cancelProps: {
270
269
  children: "全部删除"
@@ -319,30 +318,27 @@ var useTopoEdit = function useTopoEdit(params) {
319
318
  });
320
319
 
321
320
  function doDeleteOnlyGroup() {
322
- topo.historyManager.beginTransaction(); // console.log("仅删除区域", topo.view.topoClient, data);
323
-
321
+ // console.log("仅删除区域", topo.view.topoClient, data);
324
322
  var children = (0, _htElementUtils.getGroupChildren)(group);
325
323
  children.map(function (child) {
326
- child.setParent(null); // var viewRect = topo.getGraphView().getViewRect();
327
- // var nodeRect = child.getRect();
328
- // child.setPosition(
329
- // viewRect.x + nodeRect.width + 2,
330
- // viewRect.y + nodeRect.height + 4
331
- // ); // 解决集群从区域内移出时,连线位置未更新的问题
324
+ child.setParent(null);
325
+ var viewRect = topo.getGraphView().getViewRect();
326
+ var nodeRect = child.getRect();
327
+ child.setPosition(viewRect.x + nodeRect.width + 2, viewRect.y + nodeRect.height + 4); // 解决集群从区域内移出时,连线位置未更新的问题
332
328
 
333
329
  setTimeout(function () {
334
330
  child.iv();
335
331
  topo.historyManager.endTransaction();
336
332
  }, 50);
337
333
  });
338
- topo.view.topoClient.deleteGroup(data);
339
- topo.historyManager.endTransaction(); // console.log("仅删除区域", children, group);
334
+ topo.view.topoClient.deleteGroup(data); // console.log("仅删除区域", children, group);
340
335
  }
341
336
 
342
337
  function doDelete() {
343
338
  topo.historyManager.beginTransaction(); // FIXME 。如果命中其他的动态条件,则立即显示
344
339
 
345
340
  topo.view.topoClient.deleteGroup(data);
341
+ topo.historyManager.endTransaction();
346
342
  }
347
343
  };
348
344
 
@@ -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 "11.0.6" === 'string' ? "11.0.6" : null;
59
+ var version = typeof "11.0.10" === 'string' ? "11.0.10" : null;
60
60
  console.info("\u62D3\u6251\u7248\u672C: " + version);
61
61
  /**
62
62
  * 拓扑显示和编辑