@riil-frontend/component-topology 13.0.0-dev.11 → 13.0.0-dev.13
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.
- package/build/index.js +1 -1
- package/es/core/models/TopoApp.js +1 -1
- package/es/core/viewer/components/plugins/ResourceDetail/components/ResourceOverview/ResourceOverview.js +2 -1
- package/es/core/viewer/components/plugins/ResourceDetail/components/ResourceOverview/components/LinkTopo/LinkTopoCard.js +4 -2
- package/lib/core/models/TopoApp.js +1 -1
- package/lib/core/viewer/components/plugins/ResourceDetail/components/ResourceOverview/ResourceOverview.js +2 -1
- package/lib/core/viewer/components/plugins/ResourceDetail/components/ResourceOverview/components/LinkTopo/LinkTopoCard.js +4 -2
- package/package.json +2 -2
@@ -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 "13.0.0-dev.
|
27
|
+
var version = typeof "13.0.0-dev.13" === 'string' ? "13.0.0-dev.13" : null;
|
28
28
|
console.info("\u62D3\u6251\u7248\u672C: " + version);
|
29
29
|
/**
|
30
30
|
* 拓扑显示和编辑
|
@@ -883,7 +883,8 @@ export default function ResourceOverview(props) {
|
|
883
883
|
return item.code;
|
884
884
|
}),
|
885
885
|
getOverviewConfig: resourceOverviewProps.getOverviewConfig,
|
886
|
-
saveOverviewConfig: resourceOverviewProps.saveOverviewConfig
|
886
|
+
saveOverviewConfig: resourceOverviewProps.saveOverviewConfig,
|
887
|
+
jumpto: topo.viewProps.jumpto
|
887
888
|
}) : /*#__PURE__*/React.createElement(BlockBox, {
|
888
889
|
headerTitle: "\u5173\u952E\u6307\u6807",
|
889
890
|
headerExtra: /*#__PURE__*/React.createElement(Configurator, {
|
@@ -13,7 +13,8 @@ export default function LinkTopoCard(props) {
|
|
13
13
|
defaultCols = props.defaultCols,
|
14
14
|
metricCol = props.metricCol,
|
15
15
|
metricColChange = props.metricColChange,
|
16
|
-
metricCodes = props.metricCodes
|
16
|
+
metricCodes = props.metricCodes,
|
17
|
+
jumpto = props.jumpto; // eslint-disable-next-line camelcase
|
17
18
|
|
18
19
|
var supportTemplates = (data === null || data === void 0 ? void 0 : (_data$attributes = data.attributes) === null || _data$attributes === void 0 ? void 0 : _data$attributes.support_templates) || ''; // 该资源监控模板
|
19
20
|
|
@@ -104,6 +105,7 @@ export default function LinkTopoCard(props) {
|
|
104
105
|
linkMetricCodes: openFlow && openFlow.name == '查看流量构成' ? metricCodes : metricCodes.filter(function (i) {
|
105
106
|
return i != 'netDelayRatio' && i != 'retansRatio';
|
106
107
|
}),
|
107
|
-
openFlow: openFlow
|
108
|
+
openFlow: openFlow,
|
109
|
+
jumpto: jumpto
|
108
110
|
}));
|
109
111
|
}
|
@@ -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 "13.0.0-dev.
|
57
|
+
var version = typeof "13.0.0-dev.13" === 'string' ? "13.0.0-dev.13" : null;
|
58
58
|
console.info("\u62D3\u6251\u7248\u672C: " + version);
|
59
59
|
/**
|
60
60
|
* 拓扑显示和编辑
|
@@ -920,7 +920,8 @@ function ResourceOverview(props) {
|
|
920
920
|
return item.code;
|
921
921
|
}),
|
922
922
|
getOverviewConfig: resourceOverviewProps.getOverviewConfig,
|
923
|
-
saveOverviewConfig: resourceOverviewProps.saveOverviewConfig
|
923
|
+
saveOverviewConfig: resourceOverviewProps.saveOverviewConfig,
|
924
|
+
jumpto: topo.viewProps.jumpto
|
924
925
|
}) : /*#__PURE__*/_react["default"].createElement(_BlockBox["default"], {
|
925
926
|
headerTitle: "\u5173\u952E\u6307\u6807",
|
926
927
|
headerExtra: /*#__PURE__*/_react["default"].createElement(_Configurator["default"], {
|
@@ -31,7 +31,8 @@ function LinkTopoCard(props) {
|
|
31
31
|
defaultCols = props.defaultCols,
|
32
32
|
metricCol = props.metricCol,
|
33
33
|
metricColChange = props.metricColChange,
|
34
|
-
metricCodes = props.metricCodes
|
34
|
+
metricCodes = props.metricCodes,
|
35
|
+
jumpto = props.jumpto; // eslint-disable-next-line camelcase
|
35
36
|
|
36
37
|
var supportTemplates = (data === null || data === void 0 ? void 0 : (_data$attributes = data.attributes) === null || _data$attributes === void 0 ? void 0 : _data$attributes.support_templates) || ''; // 该资源监控模板
|
37
38
|
|
@@ -122,6 +123,7 @@ function LinkTopoCard(props) {
|
|
122
123
|
linkMetricCodes: openFlow && openFlow.name == '查看流量构成' ? metricCodes : metricCodes.filter(function (i) {
|
123
124
|
return i != 'netDelayRatio' && i != 'retansRatio';
|
124
125
|
}),
|
125
|
-
openFlow: openFlow
|
126
|
+
openFlow: openFlow,
|
127
|
+
jumpto: jumpto
|
126
128
|
}));
|
127
129
|
}
|
package/package.json
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
{
|
2
2
|
"name": "@riil-frontend/component-topology",
|
3
|
-
"version": "13.0.0-dev.
|
3
|
+
"version": "13.0.0-dev.13",
|
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@13.0.0-dev.
|
126
|
+
"homepage": "https://unpkg.com/@riil-frontend/component-topology@13.0.0-dev.13/build/index.html",
|
127
127
|
"gitHead": "2da19ffccbb7ca60a8acf396e39f542c68bb33f5"
|
128
128
|
}
|