@riil-frontend/component-topology 9.0.0-a.27 → 9.0.0-a.28

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 "9.0.0-a.27" === 'string' ? "9.0.0-a.27" : null;
27
+ var version = typeof "9.0.0-a.28" === 'string' ? "9.0.0-a.28" : null;
28
28
  console.info("\u62D3\u6251\u7248\u672C: " + version);
29
29
  /**
30
30
  * 拓扑显示和编辑
@@ -15,11 +15,11 @@ function isIpHtNode(node, ip) {
15
15
  return node.a("bindType") === 'ip' && node.a("bindIp") === ip;
16
16
  }
17
17
 
18
- function buildIpNode(ip) {
18
+ export function buildIpNode(ip) {
19
19
  return {
20
- 'id': "ip:" + ip,
21
- 'name': ip,
22
- bindType: 'ip',
20
+ id: "ip:" + ip,
21
+ name: ip,
22
+ bindType: "ip",
23
23
  // 绑定资源类型。关联资源 值为空,关联IP ip
24
24
  bindIp: ip,
25
25
  // TODO 所属区域,从序列化拿
@@ -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 "9.0.0-a.27" === 'string' ? "9.0.0-a.27" : null;
59
+ var version = typeof "9.0.0-a.28" === 'string' ? "9.0.0-a.28" : null;
60
60
  console.info("\u62D3\u6251\u7248\u672C: " + version);
61
61
  /**
62
62
  * 拓扑显示和编辑
@@ -3,6 +3,7 @@
3
3
  var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault");
4
4
 
5
5
  exports.__esModule = true;
6
+ exports.buildIpNode = buildIpNode;
6
7
  exports.isUniqueIp = isUniqueIp;
7
8
  exports.processByConditionResult = processByConditionResult;
8
9
  exports.processExitLink = processExitLink;
@@ -27,9 +28,9 @@ function isIpHtNode(node, ip) {
27
28
 
28
29
  function buildIpNode(ip) {
29
30
  return {
30
- 'id': "ip:" + ip,
31
- 'name': ip,
32
- bindType: 'ip',
31
+ id: "ip:" + ip,
32
+ name: ip,
33
+ bindType: "ip",
33
34
  // 绑定资源类型。关联资源 值为空,关联IP ip
34
35
  bindIp: ip,
35
36
  // TODO 所属区域,从序列化拿
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@riil-frontend/component-topology",
3
- "version": "9.0.0-a.27",
3
+ "version": "9.0.0-a.28",
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@9.0.0-a.27/build/index.html",
119
+ "homepage": "https://unpkg.com/@riil-frontend/component-topology@9.0.0-a.28/build/index.html",
120
120
  "gitHead": "2da19ffccbb7ca60a8acf396e39f542c68bb33f5"
121
121
  }