@riil-frontend/component-topology 2.14.2-alpha.13 → 2.14.2-alpha.15
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.css +1 -1
- package/build/index.js +27 -27
- package/es/core/components/DisplaySettingDrawer/DisplaySettingDrawer.js +1 -1
- package/es/core/services/overview.js +29 -0
- package/es/core/utils/exportData.js +1 -1
- package/es/core/viewer/components/plugins/BaseInfo/components/ResourceOverview/index.js +326 -136
- package/es/core/viewer/components/plugins/BaseInfo/components/ResourceOverview/index.module.scss +12 -1
- package/es/core/viewer/components/plugins/BaseInfo/index.js +6 -4
- package/es/core/viewer/components/plugins/BaseInfo/index.module.scss +1 -1
- package/lib/core/components/DisplaySettingDrawer/DisplaySettingDrawer.js +1 -1
- package/lib/core/services/overview.js +40 -0
- package/lib/core/utils/exportData.js +1 -1
- package/lib/core/viewer/components/plugins/BaseInfo/components/ResourceOverview/index.js +335 -136
- package/lib/core/viewer/components/plugins/BaseInfo/components/ResourceOverview/index.module.scss +12 -1
- package/lib/core/viewer/components/plugins/BaseInfo/index.js +6 -4
- package/lib/core/viewer/components/plugins/BaseInfo/index.module.scss +1 -1
- package/package.json +2 -2
package/lib/core/viewer/components/plugins/BaseInfo/components/ResourceOverview/index.module.scss
CHANGED
|
@@ -67,7 +67,18 @@
|
|
|
67
67
|
}
|
|
68
68
|
}
|
|
69
69
|
}
|
|
70
|
-
.alarm{
|
|
70
|
+
.alarm {
|
|
71
71
|
margin-top: 12px;
|
|
72
|
+
.alarm-color-icon {
|
|
73
|
+
width: 12px;
|
|
74
|
+
height: 12px;
|
|
75
|
+
font-size: 12px;
|
|
76
|
+
margin-right: 4px;
|
|
77
|
+
}
|
|
78
|
+
:global {
|
|
79
|
+
.#{$css-prefix}btn-helper{
|
|
80
|
+
vertical-align: baseline;
|
|
81
|
+
}
|
|
82
|
+
}
|
|
72
83
|
}
|
|
73
84
|
}
|
|
@@ -74,7 +74,8 @@ function BaseInfo(props) {
|
|
|
74
74
|
name: '',
|
|
75
75
|
type: '',
|
|
76
76
|
// 类型: node、link
|
|
77
|
-
ciType: ''
|
|
77
|
+
ciType: '',
|
|
78
|
+
ciName: ''
|
|
78
79
|
}),
|
|
79
80
|
activeData = _useState2[0],
|
|
80
81
|
setActiveData = _useState2[1];
|
|
@@ -92,12 +93,14 @@ function BaseInfo(props) {
|
|
|
92
93
|
var id = data.id,
|
|
93
94
|
name = data.name,
|
|
94
95
|
type = data.type,
|
|
95
|
-
ciType = data.ciType
|
|
96
|
+
ciType = data.ciType,
|
|
97
|
+
ciName = data.ciName;
|
|
96
98
|
setActiveData({
|
|
97
99
|
id: id,
|
|
98
100
|
name: name,
|
|
99
101
|
type: type,
|
|
100
|
-
ciType: ciType
|
|
102
|
+
ciType: ciType,
|
|
103
|
+
ciName: ciName
|
|
101
104
|
});
|
|
102
105
|
|
|
103
106
|
var _topo$ciTyeCache$getC = topo.ciTyeCache.getCiType(ciType),
|
|
@@ -141,6 +144,5 @@ function BaseInfo(props) {
|
|
|
141
144
|
}, /*#__PURE__*/_react["default"].createElement(_ResourceOverview["default"], (0, _extends2["default"])({}, props, activeData))))));
|
|
142
145
|
}
|
|
143
146
|
|
|
144
|
-
;
|
|
145
147
|
var _default = BaseInfo;
|
|
146
148
|
exports["default"] = _default;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@riil-frontend/component-topology",
|
|
3
|
-
"version": "2.14.2-alpha.
|
|
3
|
+
"version": "2.14.2-alpha.15",
|
|
4
4
|
"description": "拓扑",
|
|
5
5
|
"scripts": {
|
|
6
6
|
"start": "build-scripts start",
|
|
@@ -111,6 +111,6 @@
|
|
|
111
111
|
"access": "public"
|
|
112
112
|
},
|
|
113
113
|
"license": "MIT",
|
|
114
|
-
"homepage": "https://unpkg.com/@riil-frontend/component-topology@2.14.2-alpha.
|
|
114
|
+
"homepage": "https://unpkg.com/@riil-frontend/component-topology@2.14.2-alpha.15/build/index.html",
|
|
115
115
|
"gitHead": "2da19ffccbb7ca60a8acf396e39f542c68bb33f5"
|
|
116
116
|
}
|