@riil-frontend/component-topology 10.0.5 → 10.0.7

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.
@@ -3,7 +3,7 @@ import { getCiTypesFromCiElements } from "../../../utils/topoData"; // 资源类
3
3
  export function getNodeCiModSet(params) {
4
4
  var topo = params.topo;
5
5
  var data = topo.store.getModelState('topoMod').data;
6
- var globalConfig = data.global.extraConfig;
6
+ var globalConfig = topo.store.getModelState('displayConfig');
7
7
  var ciTypeMap = topo.ciTyeCache.ciTypes;
8
8
 
9
9
  function getNodeModSet() {
@@ -182,7 +182,7 @@ function FontColorButton(props) {
182
182
  fieldDisabled = props.fieldDisabled;
183
183
  return /*#__PURE__*/React.createElement(WidgetBox, {
184
184
  label: "\u6587\u5B57\u989C\u8272",
185
- tooltip: "\u66F4\u6539\u6587\u5B57\u989C\u8272",
185
+ tooltip: "\u6587\u5B57\u989C\u8272",
186
186
  showLabel: showLabel
187
187
  }, /*#__PURE__*/React.createElement(FontColorDropdown, {
188
188
  color: style.color,
@@ -35,7 +35,7 @@ function FontFamilyWidget(props) {
35
35
  setStyle = props.setStyle;
36
36
  return /*#__PURE__*/React.createElement(WidgetBox, {
37
37
  label: "\u5B57\u4F53",
38
- tooltip: "\u9009\u53D6\u6587\u5B57\u7684\u65B0\u5B57\u4F53",
38
+ tooltip: "\u5B57\u4F53",
39
39
  showLabel: showLabel
40
40
  }, /*#__PURE__*/React.createElement(FontFamilySelect, {
41
41
  value: style.fontFamily,
@@ -40,7 +40,7 @@ function FontSizeWidget(props) {
40
40
  useEffect(function () {}, [selection]);
41
41
  return /*#__PURE__*/React.createElement(WidgetBox, {
42
42
  label: "\u5B57\u53F7",
43
- tooltip: "\u66F4\u6539\u6587\u5B57\u5927\u5C0F",
43
+ tooltip: "\u5B57\u53F7",
44
44
  showLabel: showLabel,
45
45
  disabled: disabled
46
46
  }, /*#__PURE__*/React.createElement(FontSizeSelect, {
@@ -74,7 +74,7 @@ function NodeSizeButton(props) {
74
74
  return /*#__PURE__*/React.createElement(WidgetBox, {
75
75
  label: "\u56FE\u7247\u5C3A\u5BF8",
76
76
  disabled: disabled,
77
- tooltip: "\u5C3A\u5BF8\u8BBE\u7F6E",
77
+ tooltip: "\u56FE\u7247\u5C3A\u5BF8",
78
78
  showLabel: showLabel
79
79
  }, /*#__PURE__*/React.createElement("div", {
80
80
  className: styles.toolbarNodeSizeSetting
@@ -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 "10.0.5" === 'string' ? "10.0.5" : null;
27
+ var version = typeof "10.0.7" === 'string' ? "10.0.7" : null;
28
28
  console.info("\u62D3\u6251\u7248\u672C: " + version);
29
29
  /**
30
30
  * 拓扑显示和编辑
@@ -9,7 +9,7 @@ var _topoData = require("../../../utils/topoData");
9
9
  function getNodeCiModSet(params) {
10
10
  var topo = params.topo;
11
11
  var data = topo.store.getModelState('topoMod').data;
12
- var globalConfig = data.global.extraConfig;
12
+ var globalConfig = topo.store.getModelState('displayConfig');
13
13
  var ciTypeMap = topo.ciTyeCache.ciTypes;
14
14
 
15
15
  function getNodeModSet() {
@@ -200,7 +200,7 @@ function FontColorButton(props) {
200
200
  fieldDisabled = props.fieldDisabled;
201
201
  return /*#__PURE__*/_react["default"].createElement(_WidgetBox["default"], {
202
202
  label: "\u6587\u5B57\u989C\u8272",
203
- tooltip: "\u66F4\u6539\u6587\u5B57\u989C\u8272",
203
+ tooltip: "\u6587\u5B57\u989C\u8272",
204
204
  showLabel: showLabel
205
205
  }, /*#__PURE__*/_react["default"].createElement(FontColorDropdown, {
206
206
  color: style.color,
@@ -49,7 +49,7 @@ function FontFamilyWidget(props) {
49
49
  setStyle = props.setStyle;
50
50
  return /*#__PURE__*/_react["default"].createElement(_WidgetBox["default"], {
51
51
  label: "\u5B57\u4F53",
52
- tooltip: "\u9009\u53D6\u6587\u5B57\u7684\u65B0\u5B57\u4F53",
52
+ tooltip: "\u5B57\u4F53",
53
53
  showLabel: showLabel
54
54
  }, /*#__PURE__*/_react["default"].createElement(FontFamilySelect, {
55
55
  value: style.fontFamily,
@@ -54,7 +54,7 @@ function FontSizeWidget(props) {
54
54
  (0, _react.useEffect)(function () {}, [selection]);
55
55
  return /*#__PURE__*/_react["default"].createElement(_WidgetBox["default"], {
56
56
  label: "\u5B57\u53F7",
57
- tooltip: "\u66F4\u6539\u6587\u5B57\u5927\u5C0F",
57
+ tooltip: "\u5B57\u53F7",
58
58
  showLabel: showLabel,
59
59
  disabled: disabled
60
60
  }, /*#__PURE__*/_react["default"].createElement(FontSizeSelect, {
@@ -92,7 +92,7 @@ function NodeSizeButton(props) {
92
92
  return /*#__PURE__*/_react["default"].createElement(_WidgetBox["default"], {
93
93
  label: "\u56FE\u7247\u5C3A\u5BF8",
94
94
  disabled: disabled,
95
- tooltip: "\u5C3A\u5BF8\u8BBE\u7F6E",
95
+ tooltip: "\u56FE\u7247\u5C3A\u5BF8",
96
96
  showLabel: showLabel
97
97
  }, /*#__PURE__*/_react["default"].createElement("div", {
98
98
  className: _NodeSizeButtonModule["default"].toolbarNodeSizeSetting
@@ -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 "10.0.5" === 'string' ? "10.0.5" : null;
59
+ var version = typeof "10.0.7" === 'string' ? "10.0.7" : null;
60
60
  console.info("\u62D3\u6251\u7248\u672C: " + version);
61
61
  /**
62
62
  * 拓扑显示和编辑
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@riil-frontend/component-topology",
3
- "version": "10.0.5",
3
+ "version": "10.0.7",
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@10.0.5/build/index.html",
119
+ "homepage": "https://unpkg.com/@riil-frontend/component-topology@10.0.7/build/index.html",
120
120
  "gitHead": "2da19ffccbb7ca60a8acf396e39f542c68bb33f5"
121
121
  }