@riil-frontend/component-topology 2.15.39 → 2.15.40

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.
@@ -20,6 +20,8 @@ var Drawer = function Drawer(props) {
20
20
  disabled = props.disabled,
21
21
  loading = props.loading,
22
22
  title = props.title,
23
+ _props$showButtons = props.showButtons,
24
+ showButtons = _props$showButtons === void 0 ? true : _props$showButtons,
23
25
  _props$buttons = props.buttons,
24
26
  buttons = _props$buttons === void 0 ? props.buttons || ['保存', '取消'] : _props$buttons,
25
27
  onClose = props.onClose,
@@ -37,7 +39,7 @@ var Drawer = function Drawer(props) {
37
39
  }, drawerProps, {
38
40
  visible: visible,
39
41
  onClose: onClose
40
- }), children, /*#__PURE__*/React.createElement("div", {
42
+ }), children, showButtons && /*#__PURE__*/React.createElement("div", {
41
43
  className: styles.footer
42
44
  }, /*#__PURE__*/React.createElement(_Button, {
43
45
  className: styles.button,
@@ -24,6 +24,10 @@
24
24
  line-height: 24px;
25
25
  }
26
26
 
27
+ .listTitleLink:hover {
28
+ color: #75A8FF;
29
+ }
30
+
27
31
  :global {
28
32
  .#{$css-prefix}dialog-body {
29
33
  padding: 0px;
@@ -20,7 +20,7 @@ import { updateEdgeExpanded } from "../utils/edgeUtil";
20
20
  import PluginManager from "./PluginManager";
21
21
  import topoFactory from "./topoFactory"; // eslint-disable-next-line no-undef
22
22
 
23
- var version = typeof "2.15.39" === 'string' ? "2.15.39" : null;
23
+ var version = typeof "2.15.40" === 'string' ? "2.15.40" : null;
24
24
  console.info("\u62D3\u6251\u7248\u672C: " + version);
25
25
  /**
26
26
  * 拓扑显示和编辑
@@ -353,7 +353,7 @@ export default function EditLinkInfo(props) {
353
353
  type: "primary",
354
354
  loading: loading,
355
355
  onClick: saveHandleChange
356
- }, "\u786E\u5B9A"), /*#__PURE__*/React.createElement(_Button, {
356
+ }, isAdd ? "确定" : "保存"), /*#__PURE__*/React.createElement(_Button, {
357
357
  className: styles.button,
358
358
  onClick: onClose
359
359
  }, "\u53D6\u6D88")));
@@ -32,6 +32,8 @@ var Drawer = function Drawer(props) {
32
32
  disabled = props.disabled,
33
33
  loading = props.loading,
34
34
  title = props.title,
35
+ _props$showButtons = props.showButtons,
36
+ showButtons = _props$showButtons === void 0 ? true : _props$showButtons,
35
37
  _props$buttons = props.buttons,
36
38
  buttons = _props$buttons === void 0 ? props.buttons || ['保存', '取消'] : _props$buttons,
37
39
  onClose = props.onClose,
@@ -49,7 +51,7 @@ var Drawer = function Drawer(props) {
49
51
  }, drawerProps, {
50
52
  visible: visible,
51
53
  onClose: onClose
52
- }), children, /*#__PURE__*/_react["default"].createElement("div", {
54
+ }), children, showButtons && /*#__PURE__*/_react["default"].createElement("div", {
53
55
  className: _indexModule["default"].footer
54
56
  }, /*#__PURE__*/_react["default"].createElement(_button["default"], {
55
57
  className: _indexModule["default"].button,
@@ -24,6 +24,10 @@
24
24
  line-height: 24px;
25
25
  }
26
26
 
27
+ .listTitleLink:hover {
28
+ color: #75A8FF;
29
+ }
30
+
27
31
  :global {
28
32
  .#{$css-prefix}dialog-body {
29
33
  padding: 0px;
@@ -48,7 +48,7 @@ var _PluginManager = _interopRequireDefault(require("./PluginManager"));
48
48
  var _topoFactory = _interopRequireDefault(require("./topoFactory"));
49
49
 
50
50
  // eslint-disable-next-line no-undef
51
- var version = typeof "2.15.39" === 'string' ? "2.15.39" : null;
51
+ var version = typeof "2.15.40" === 'string' ? "2.15.40" : null;
52
52
  console.info("\u62D3\u6251\u7248\u672C: " + version);
53
53
  /**
54
54
  * 拓扑显示和编辑
@@ -383,7 +383,7 @@ function EditLinkInfo(props) {
383
383
  type: "primary",
384
384
  loading: loading,
385
385
  onClick: saveHandleChange
386
- }, "\u786E\u5B9A"), /*#__PURE__*/_react["default"].createElement(_button["default"], {
386
+ }, isAdd ? "确定" : "保存"), /*#__PURE__*/_react["default"].createElement(_button["default"], {
387
387
  className: _indexModule["default"].button,
388
388
  onClick: onClose
389
389
  }, "\u53D6\u6D88")));
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@riil-frontend/component-topology",
3
- "version": "2.15.39",
3
+ "version": "2.15.40",
4
4
  "description": "拓扑",
5
5
  "scripts": {
6
6
  "start": "build-scripts start",
@@ -110,6 +110,6 @@
110
110
  "access": "public"
111
111
  },
112
112
  "license": "MIT",
113
- "homepage": "https://unpkg.com/@riil-frontend/component-topology@2.15.39/build/index.html",
113
+ "homepage": "https://unpkg.com/@riil-frontend/component-topology@2.15.40/build/index.html",
114
114
  "gitHead": "2da19ffccbb7ca60a8acf396e39f542c68bb33f5"
115
115
  }