@riil-frontend/component-topology 10.0.43 → 10.0.45
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 +2 -2
- package/build/2.js +1 -1
- package/build/index.css +1 -1
- package/build/index.js +17 -17
- package/es/core/editor/components/settings/propertyViews/node/data/BindIpInput.js +12 -5
- package/es/core/models/TopoApp.js +1 -1
- package/lib/core/editor/components/settings/propertyViews/node/data/BindIpInput.js +12 -5
- package/lib/core/models/TopoApp.js +1 -1
- package/package.json +2 -2
@@ -68,27 +68,34 @@ export default function BindIpInput(props) {
|
|
68
68
|
|
69
69
|
return /*#__PURE__*/React.createElement("div", {
|
70
70
|
style: {
|
71
|
-
display: "flex"
|
71
|
+
display: "flex",
|
72
|
+
width: "100%"
|
72
73
|
}
|
73
74
|
}, /*#__PURE__*/React.createElement(FormItem, {
|
74
75
|
label: "\u5173\u8054IP",
|
75
76
|
pattern: /^((25[0-5]|2[0-4]\d|((1\d{2})|([1-9]?\d)))\.){3}(25[0-5]|2[0-4]\d|((1\d{2})|([1-9]?\d)))$/,
|
76
77
|
patternTrigger: "onBlur",
|
77
78
|
patternMessage: "IP\u5730\u5740\u683C\u5F0F\u4E0D\u6B63\u786E",
|
78
|
-
validator: checkIp
|
79
|
+
validator: checkIp,
|
80
|
+
style: {
|
81
|
+
width: "100%"
|
82
|
+
}
|
79
83
|
}, /*#__PURE__*/React.createElement(_Input, {
|
80
|
-
placeholder: "\u8BF7\u8F93\
|
84
|
+
placeholder: "\u8BF7\u8F93\u5165IP\u5730\u5740",
|
81
85
|
name: "attrObject.bindIp",
|
82
86
|
state: error,
|
83
87
|
value: txtValue,
|
84
88
|
maxLength: 128,
|
85
|
-
onChange: inputChange
|
89
|
+
onChange: inputChange,
|
90
|
+
style: {
|
91
|
+
width: 200
|
92
|
+
}
|
86
93
|
})), /*#__PURE__*/React.createElement(_Button, {
|
87
94
|
type: "primary",
|
88
95
|
text: true,
|
89
96
|
onClick: saveIp,
|
90
97
|
style: {
|
91
|
-
marginLeft:
|
98
|
+
marginLeft: 8,
|
92
99
|
marginTop: 27
|
93
100
|
}
|
94
101
|
}, "\u4FDD\u5B58"));
|
@@ -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.
|
27
|
+
var version = typeof "10.0.45" === 'string' ? "10.0.45" : null;
|
28
28
|
console.info("\u62D3\u6251\u7248\u672C: " + version);
|
29
29
|
/**
|
30
30
|
* 拓扑显示和编辑
|
@@ -84,27 +84,34 @@ function BindIpInput(props) {
|
|
84
84
|
|
85
85
|
return /*#__PURE__*/_react["default"].createElement("div", {
|
86
86
|
style: {
|
87
|
-
display: "flex"
|
87
|
+
display: "flex",
|
88
|
+
width: "100%"
|
88
89
|
}
|
89
90
|
}, /*#__PURE__*/_react["default"].createElement(FormItem, {
|
90
91
|
label: "\u5173\u8054IP",
|
91
92
|
pattern: /^((25[0-5]|2[0-4]\d|((1\d{2})|([1-9]?\d)))\.){3}(25[0-5]|2[0-4]\d|((1\d{2})|([1-9]?\d)))$/,
|
92
93
|
patternTrigger: "onBlur",
|
93
94
|
patternMessage: "IP\u5730\u5740\u683C\u5F0F\u4E0D\u6B63\u786E",
|
94
|
-
validator: checkIp
|
95
|
+
validator: checkIp,
|
96
|
+
style: {
|
97
|
+
width: "100%"
|
98
|
+
}
|
95
99
|
}, /*#__PURE__*/_react["default"].createElement(_input["default"], {
|
96
|
-
placeholder: "\u8BF7\u8F93\
|
100
|
+
placeholder: "\u8BF7\u8F93\u5165IP\u5730\u5740",
|
97
101
|
name: "attrObject.bindIp",
|
98
102
|
state: error,
|
99
103
|
value: txtValue,
|
100
104
|
maxLength: 128,
|
101
|
-
onChange: inputChange
|
105
|
+
onChange: inputChange,
|
106
|
+
style: {
|
107
|
+
width: 200
|
108
|
+
}
|
102
109
|
})), /*#__PURE__*/_react["default"].createElement(_button["default"], {
|
103
110
|
type: "primary",
|
104
111
|
text: true,
|
105
112
|
onClick: saveIp,
|
106
113
|
style: {
|
107
|
-
marginLeft:
|
114
|
+
marginLeft: 8,
|
108
115
|
marginTop: 27
|
109
116
|
}
|
110
117
|
}, "\u4FDD\u5B58"));
|
@@ -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.
|
59
|
+
var version = typeof "10.0.45" === 'string' ? "10.0.45" : 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.
|
3
|
+
"version": "10.0.45",
|
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.
|
119
|
+
"homepage": "https://unpkg.com/@riil-frontend/component-topology@10.0.45/build/index.html",
|
120
120
|
"gitHead": "2da19ffccbb7ca60a8acf396e39f542c68bb33f5"
|
121
121
|
}
|