@riil-frontend/component-topology 6.0.12 → 6.0.14

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.
@@ -14,6 +14,9 @@
14
14
  }
15
15
  .content{
16
16
  display: flex;
17
+ word-break: break-all;
18
+ word-wrap: break-word;
19
+ white-space: pre-wrap;
17
20
  }
18
21
  .list{
19
22
  flex: 1;
@@ -75,6 +75,7 @@ var useTopoEdit = function useTopoEdit(params) {
75
75
 
76
76
  var reset = function reset() {
77
77
  topoEditDispatchers.reset();
78
+ topo.historyManager.destroy();
78
79
  };
79
80
 
80
81
  var onBindData = function onBindData(eventData) {};
@@ -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.12" === 'string' ? "6.0.12" : null;
26
+ var version = typeof "6.0.14" === 'string' ? "6.0.14" : null;
27
27
  console.info("\u62D3\u6251\u7248\u672C: " + version);
28
28
  /**
29
29
  * 拓扑显示和编辑
@@ -14,6 +14,9 @@
14
14
  }
15
15
  .content{
16
16
  display: flex;
17
+ word-break: break-all;
18
+ word-wrap: break-word;
19
+ white-space: pre-wrap;
17
20
  }
18
21
  .list{
19
22
  flex: 1;
@@ -97,6 +97,7 @@ var useTopoEdit = function useTopoEdit(params) {
97
97
 
98
98
  var reset = function reset() {
99
99
  topoEditDispatchers.reset();
100
+ topo.historyManager.destroy();
100
101
  };
101
102
 
102
103
  var onBindData = function onBindData(eventData) {};
@@ -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.12" === 'string' ? "6.0.12" : null;
57
+ var version = typeof "6.0.14" === 'string' ? "6.0.14" : 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.12",
3
+ "version": "6.0.14",
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.12/build/index.html",
119
+ "homepage": "https://unpkg.com/@riil-frontend/component-topology@6.0.14/build/index.html",
120
120
  "gitHead": "2da19ffccbb7ca60a8acf396e39f542c68bb33f5"
121
121
  }