@riil-frontend/component-topology 12.1.0-dev.6 → 12.1.0-dev.8

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.
@@ -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 "12.1.0-dev.6" === 'string' ? "12.1.0-dev.6" : null;
27
+ var version = typeof "12.1.0-dev.8" === 'string' ? "12.1.0-dev.8" : null;
28
28
  console.info("\u62D3\u6251\u7248\u672C: " + version);
29
29
  /**
30
30
  * 拓扑显示和编辑
@@ -63,9 +63,8 @@ function useElementDetailManager(props) {
63
63
  }
64
64
 
65
65
  function openByHtElement(htElement) {
66
- var isEdgeGroupAgent = isEdgeGroupAgent(htElement);
67
66
  open({
68
- id: isEdgeGroupAgent || !htElement.getTag() ? "ht:" + htElement.getId() : htElement.getTag(),
67
+ id: isEdgeGroupAgent(htElement) || !htElement.getTag() ? "ht:" + htElement.getId() : htElement.getTag(),
69
68
  htElement: htElement
70
69
  });
71
70
  }
@@ -190,7 +190,7 @@ function buildGlobal(_ref2) {
190
190
  // 是否可编辑----控制[编辑]按钮
191
191
  moveable: true,
192
192
  // 节点是否可移动
193
- toggleGroupByDblClick: false
193
+ toggleGroupByDblClick: true
194
194
  }, (result === null || result === void 0 ? void 0 : (_result$global2 = result.global) === null || _result$global2 === void 0 ? void 0 : _result$global2.control) || {}, (result === null || result === void 0 ? void 0 : (_result$customGlobal = result.customGlobal) === null || _result$customGlobal === void 0 ? void 0 : _result$customGlobal.control) || {}),
195
195
  topoDisplayConfig: _extends({
196
196
  // alarmSwitch: (result.global || {}).alarmSwitch ?? true,
@@ -54,7 +54,7 @@ var _SelectionModel = _interopRequireDefault(require("./SelectionModel"));
54
54
  var _CiCache = _interopRequireDefault(require("./cache/CiCache"));
55
55
 
56
56
  // eslint-disable-next-line no-undef
57
- var version = typeof "12.1.0-dev.6" === 'string' ? "12.1.0-dev.6" : null;
57
+ var version = typeof "12.1.0-dev.8" === 'string' ? "12.1.0-dev.8" : null;
58
58
  console.info("\u62D3\u6251\u7248\u672C: " + version);
59
59
  /**
60
60
  * 拓扑显示和编辑
@@ -76,9 +76,8 @@ function useElementDetailManager(props) {
76
76
  }
77
77
 
78
78
  function openByHtElement(htElement) {
79
- var isEdgeGroupAgent = isEdgeGroupAgent(htElement);
80
79
  open({
81
- id: isEdgeGroupAgent || !htElement.getTag() ? "ht:" + htElement.getId() : htElement.getTag(),
80
+ id: (0, _htElementUtils.isEdgeGroupAgent)(htElement) || !htElement.getTag() ? "ht:" + htElement.getId() : htElement.getTag(),
82
81
  htElement: htElement
83
82
  });
84
83
  }
@@ -231,7 +231,7 @@ function buildGlobal(_ref2) {
231
231
  // 是否可编辑----控制[编辑]按钮
232
232
  moveable: true,
233
233
  // 节点是否可移动
234
- toggleGroupByDblClick: false
234
+ toggleGroupByDblClick: true
235
235
  }, (result === null || result === void 0 ? void 0 : (_result$global2 = result.global) === null || _result$global2 === void 0 ? void 0 : _result$global2.control) || {}, (result === null || result === void 0 ? void 0 : (_result$customGlobal = result.customGlobal) === null || _result$customGlobal === void 0 ? void 0 : _result$customGlobal.control) || {}),
236
236
  topoDisplayConfig: (0, _extends2["default"])({
237
237
  // alarmSwitch: (result.global || {}).alarmSwitch ?? true,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@riil-frontend/component-topology",
3
- "version": "12.1.0-dev.6",
3
+ "version": "12.1.0-dev.8",
4
4
  "description": "拓扑",
5
5
  "scripts": {
6
6
  "start": "build-scripts start",
@@ -123,6 +123,6 @@
123
123
  "access": "public"
124
124
  },
125
125
  "license": "MIT",
126
- "homepage": "https://unpkg.com/@riil-frontend/component-topology@12.1.0-dev.6/build/index.html",
126
+ "homepage": "https://unpkg.com/@riil-frontend/component-topology@12.1.0-dev.8/build/index.html",
127
127
  "gitHead": "2da19ffccbb7ca60a8acf396e39f542c68bb33f5"
128
128
  }