@riil-frontend/component-topology 10.0.19 → 10.0.20
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/editor/components/Toolbar/widgets/BoxBackgroundButton/BoxBackgroundSetting.js +2 -2
- package/es/core/editor/components/Toolbar/widgets/BoxBackgroundButton/BoxBackgroundUtil.js +1 -1
- package/es/core/models/TopoApp.js +1 -1
- package/lib/core/editor/components/Toolbar/widgets/BoxBackgroundButton/BoxBackgroundSetting.js +2 -2
- package/lib/core/editor/components/Toolbar/widgets/BoxBackgroundButton/BoxBackgroundUtil.js +1 -1
- package/lib/core/models/TopoApp.js +1 -1
- package/package.json +2 -2
package/es/core/editor/components/Toolbar/widgets/BoxBackgroundButton/BoxBackgroundSetting.js
CHANGED
@@ -184,7 +184,7 @@ function BoxBackgroundSetting(props) {
|
|
184
184
|
}, /*#__PURE__*/React.createElement("span", null, "\u8FB9\u6846"), /*#__PURE__*/React.createElement("div", {
|
185
185
|
className: styles.borderWidth
|
186
186
|
}, /*#__PURE__*/React.createElement("img", {
|
187
|
-
src: "/img/topo/editor/toolbar/\u80CC\u666F\u586B\u5145\u53CA\u8FB9\u6846/\
|
187
|
+
src: "/img/topo/editor/toolbar/\u80CC\u666F\u586B\u5145\u53CA\u8FB9\u6846/\u8FB9\u6846.svg"
|
188
188
|
}), /*#__PURE__*/React.createElement(FontColorRange, {
|
189
189
|
max: 10,
|
190
190
|
min: 1,
|
@@ -195,7 +195,7 @@ function BoxBackgroundSetting(props) {
|
|
195
195
|
})), /*#__PURE__*/React.createElement("div", {
|
196
196
|
className: styles.backOpacity
|
197
197
|
}, /*#__PURE__*/React.createElement("img", {
|
198
|
-
src: "/img/topo/editor/toolbar/\u80CC\u666F\u586B\u5145\u53CA\u8FB9\u6846/\
|
198
|
+
src: "/img/topo/editor/toolbar/\u80CC\u666F\u586B\u5145\u53CA\u8FB9\u6846/\u80CC\u666F\u586B\u5145.svg"
|
199
199
|
}), /*#__PURE__*/React.createElement(FontColorRange, {
|
200
200
|
max: 100,
|
201
201
|
min: 0,
|
@@ -124,7 +124,7 @@ export function setGroupStyle(element, style, tagStyle) {
|
|
124
124
|
} else {
|
125
125
|
borderCurrentColor = {
|
126
126
|
background: prevStyle.background,
|
127
|
-
opacity: style.
|
127
|
+
opacity: style.borderOpacity === undefined ? 1 : style.borderOpacity
|
128
128
|
};
|
129
129
|
}
|
130
130
|
|
@@ -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.20" === 'string' ? "10.0.20" : null;
|
28
28
|
console.info("\u62D3\u6251\u7248\u672C: " + version);
|
29
29
|
/**
|
30
30
|
* 拓扑显示和编辑
|
package/lib/core/editor/components/Toolbar/widgets/BoxBackgroundButton/BoxBackgroundSetting.js
CHANGED
@@ -201,7 +201,7 @@ function BoxBackgroundSetting(props) {
|
|
201
201
|
}, /*#__PURE__*/_react["default"].createElement("span", null, "\u8FB9\u6846"), /*#__PURE__*/_react["default"].createElement("div", {
|
202
202
|
className: _BoxbackgroundSettingsModule["default"].borderWidth
|
203
203
|
}, /*#__PURE__*/_react["default"].createElement("img", {
|
204
|
-
src: "/img/topo/editor/toolbar/\u80CC\u666F\u586B\u5145\u53CA\u8FB9\u6846/\
|
204
|
+
src: "/img/topo/editor/toolbar/\u80CC\u666F\u586B\u5145\u53CA\u8FB9\u6846/\u8FB9\u6846.svg"
|
205
205
|
}), /*#__PURE__*/_react["default"].createElement(_FontColorRange["default"], {
|
206
206
|
max: 10,
|
207
207
|
min: 1,
|
@@ -212,7 +212,7 @@ function BoxBackgroundSetting(props) {
|
|
212
212
|
})), /*#__PURE__*/_react["default"].createElement("div", {
|
213
213
|
className: _BoxbackgroundSettingsModule["default"].backOpacity
|
214
214
|
}, /*#__PURE__*/_react["default"].createElement("img", {
|
215
|
-
src: "/img/topo/editor/toolbar/\u80CC\u666F\u586B\u5145\u53CA\u8FB9\u6846/\
|
215
|
+
src: "/img/topo/editor/toolbar/\u80CC\u666F\u586B\u5145\u53CA\u8FB9\u6846/\u80CC\u666F\u586B\u5145.svg"
|
216
216
|
}), /*#__PURE__*/_react["default"].createElement(_FontColorRange["default"], {
|
217
217
|
max: 100,
|
218
218
|
min: 0,
|
@@ -142,7 +142,7 @@ function setGroupStyle(element, style, tagStyle) {
|
|
142
142
|
} else {
|
143
143
|
borderCurrentColor = {
|
144
144
|
background: prevStyle.background,
|
145
|
-
opacity: style.
|
145
|
+
opacity: style.borderOpacity === undefined ? 1 : style.borderOpacity
|
146
146
|
};
|
147
147
|
}
|
148
148
|
|
@@ -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.20" === 'string' ? "10.0.20" : 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.20",
|
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.20/build/index.html",
|
120
120
|
"gitHead": "2da19ffccbb7ca60a8acf396e39f542c68bb33f5"
|
121
121
|
}
|