@riil-frontend/component-topology 5.0.9 → 5.0.11
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/1.js +1 -1
- package/build/index.js +14 -14
- package/es/core/components/DisplaySettingDrawer/DisplaySetting.js +6 -5
- package/es/core/components/DisplaySettingDrawer/LineExpandAllRadioGroup.js +76 -6
- package/es/core/editor/components/settings/propertyViews/view/GlobalEdgeToggle.js +11 -1
- package/es/core/models/TopoApp.js +1 -1
- package/es/core/models/utils/linkUtils.js +54 -2
- package/es/core/utils/edgeUtil.js +21 -7
- package/es/networkTopo/components/TopoView.js +8 -2
- package/lib/core/components/DisplaySettingDrawer/DisplaySetting.js +6 -5
- package/lib/core/components/DisplaySettingDrawer/LineExpandAllRadioGroup.js +83 -6
- package/lib/core/editor/components/settings/propertyViews/view/GlobalEdgeToggle.js +12 -1
- package/lib/core/models/TopoApp.js +1 -1
- package/lib/core/models/utils/linkUtils.js +60 -1
- package/lib/core/utils/edgeUtil.js +22 -7
- package/lib/networkTopo/components/TopoView.js +9 -2
- package/package.json +3 -3
|
@@ -43,6 +43,8 @@ var _LinkTagV = _interopRequireDefault(require("./viewer/displaySetting/LinkTagV
|
|
|
43
43
|
|
|
44
44
|
var _useEdgeExpand = _interopRequireDefault(require("../hooks/useEdgeExpand"));
|
|
45
45
|
|
|
46
|
+
var _linkUtils = require("../../core/models/utils/linkUtils");
|
|
47
|
+
|
|
46
48
|
var _excluded = ["topo", "titleBar", "onEnterEdit", "nodataPage", "notfoundPageProps", "noPermissionPageProps"];
|
|
47
49
|
|
|
48
50
|
function _getRequireWildcardCache(nodeInterop) { if (typeof WeakMap !== "function") return null; var cacheBabelInterop = new WeakMap(); var cacheNodeInterop = new WeakMap(); return (_getRequireWildcardCache = function _getRequireWildcardCache(nodeInterop) { return nodeInterop ? cacheNodeInterop : cacheBabelInterop; })(nodeInterop); }
|
|
@@ -86,7 +88,12 @@ function NetworkTopologyCore(props) {
|
|
|
86
88
|
switch (_context.prev = _context.next) {
|
|
87
89
|
case 0:
|
|
88
90
|
// 单多链路切换
|
|
89
|
-
|
|
91
|
+
(0, _linkUtils.showLinkByConfig)({
|
|
92
|
+
topo: topo,
|
|
93
|
+
showType: config.expandAllEdges
|
|
94
|
+
});
|
|
95
|
+
|
|
96
|
+
if (config.expandAllEdges !== 1) {
|
|
90
97
|
topo.getHtTopo().expandAllEdgeGroups();
|
|
91
98
|
} else {
|
|
92
99
|
topo.getHtTopo().collapseAllEdgeGroups();
|
|
@@ -97,7 +104,7 @@ function NetworkTopologyCore(props) {
|
|
|
97
104
|
topo.linkDynamicStyleExecutor.execute();
|
|
98
105
|
}
|
|
99
106
|
|
|
100
|
-
case
|
|
107
|
+
case 3:
|
|
101
108
|
case "end":
|
|
102
109
|
return _context.stop();
|
|
103
110
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@riil-frontend/component-topology",
|
|
3
|
-
"version": "5.0.
|
|
3
|
+
"version": "5.0.11",
|
|
4
4
|
"description": "拓扑",
|
|
5
5
|
"scripts": {
|
|
6
6
|
"start": "build-scripts start",
|
|
@@ -59,9 +59,9 @@
|
|
|
59
59
|
"@formily/next-components": "1.3.13",
|
|
60
60
|
"@iceworks/spec": "^1.0.0",
|
|
61
61
|
"@riil-frontend/component-action-tree": "^1.0.13",
|
|
62
|
-
"@riil-frontend/component-crucial-link-topo": "0.0.1-alpha.2",
|
|
63
62
|
"@riil-frontend/component-common-res-list": "^1.0.13",
|
|
64
63
|
"@riil-frontend/component-condition-res-list": "^1.0.18",
|
|
64
|
+
"@riil-frontend/component-crucial-link-topo": "0.0.1-alpha.2",
|
|
65
65
|
"@riil-frontend/component-extra-title": "^1.0.3",
|
|
66
66
|
"@riil-frontend/component-more-buttons-menu": "^2.0.1",
|
|
67
67
|
"@riil-frontend/component-no-data-page": "^3.0.4",
|
|
@@ -115,6 +115,6 @@
|
|
|
115
115
|
"access": "public"
|
|
116
116
|
},
|
|
117
117
|
"license": "MIT",
|
|
118
|
-
"homepage": "https://unpkg.com/@riil-frontend/component-topology@5.0.
|
|
118
|
+
"homepage": "https://unpkg.com/@riil-frontend/component-topology@5.0.11/build/index.html",
|
|
119
119
|
"gitHead": "2da19ffccbb7ca60a8acf396e39f542c68bb33f5"
|
|
120
120
|
}
|