@fileverse-dev/fortune-react 1.1.73-patch-1 → 1.1.74
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.
|
@@ -44,6 +44,8 @@ var NotationBoxes = function NotationBoxes() {
|
|
|
44
44
|
rc = commentBox.rc,
|
|
45
45
|
left = commentBox.left,
|
|
46
46
|
top = commentBox.top,
|
|
47
|
+
width = commentBox.width,
|
|
48
|
+
height = commentBox.height,
|
|
47
49
|
size = commentBox.size;
|
|
48
50
|
var isEditing = ((_a = context.editingCommentBox) === null || _a === void 0 ? void 0 : _a.rc) === rc;
|
|
49
51
|
var commentId = "comment-box-".concat(rc);
|
|
@@ -63,12 +65,19 @@ var NotationBoxes = function NotationBoxes() {
|
|
|
63
65
|
}
|
|
64
66
|
}), /*#__PURE__*/React.createElement("div", {
|
|
65
67
|
id: commentId,
|
|
68
|
+
className: "luckysheet-postil-show-main",
|
|
66
69
|
style: {
|
|
70
|
+
width: width,
|
|
71
|
+
height: height,
|
|
72
|
+
color: "#000",
|
|
73
|
+
padding: 5,
|
|
74
|
+
border: "1px solid #000",
|
|
75
|
+
backgroundColor: "rgb(255,255,225)",
|
|
67
76
|
position: "absolute",
|
|
68
77
|
left: left,
|
|
69
78
|
top: top,
|
|
70
|
-
|
|
71
|
-
|
|
79
|
+
boxSizing: "border-box",
|
|
80
|
+
zIndex: isEditing ? 200 : 100
|
|
72
81
|
},
|
|
73
82
|
onMouseDown: function onMouseDown(e) {
|
|
74
83
|
var nativeEvent = e.nativeEvent;
|
|
@@ -53,6 +53,8 @@ var NotationBoxes = function NotationBoxes() {
|
|
|
53
53
|
rc = commentBox.rc,
|
|
54
54
|
left = commentBox.left,
|
|
55
55
|
top = commentBox.top,
|
|
56
|
+
width = commentBox.width,
|
|
57
|
+
height = commentBox.height,
|
|
56
58
|
size = commentBox.size;
|
|
57
59
|
var isEditing = ((_a = context.editingCommentBox) === null || _a === void 0 ? void 0 : _a.rc) === rc;
|
|
58
60
|
var commentId = "comment-box-".concat(rc);
|
|
@@ -72,12 +74,19 @@ var NotationBoxes = function NotationBoxes() {
|
|
|
72
74
|
}
|
|
73
75
|
}), /*#__PURE__*/_react.default.createElement("div", {
|
|
74
76
|
id: commentId,
|
|
77
|
+
className: "luckysheet-postil-show-main",
|
|
75
78
|
style: {
|
|
79
|
+
width: width,
|
|
80
|
+
height: height,
|
|
81
|
+
color: "#000",
|
|
82
|
+
padding: 5,
|
|
83
|
+
border: "1px solid #000",
|
|
84
|
+
backgroundColor: "rgb(255,255,225)",
|
|
76
85
|
position: "absolute",
|
|
77
86
|
left: left,
|
|
78
87
|
top: top,
|
|
79
|
-
|
|
80
|
-
|
|
88
|
+
boxSizing: "border-box",
|
|
89
|
+
zIndex: isEditing ? 200 : 100
|
|
81
90
|
},
|
|
82
91
|
onMouseDown: function onMouseDown(e) {
|
|
83
92
|
var nativeEvent = e.nativeEvent;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@fileverse-dev/fortune-react",
|
|
3
|
-
"version": "1.1.
|
|
3
|
+
"version": "1.1.74",
|
|
4
4
|
"main": "lib/index.js",
|
|
5
5
|
"types": "lib/index.d.ts",
|
|
6
6
|
"module": "es/index.js",
|
|
@@ -16,7 +16,7 @@
|
|
|
16
16
|
"tsc": "tsc"
|
|
17
17
|
},
|
|
18
18
|
"dependencies": {
|
|
19
|
-
"@fileverse-dev/fortune-core": "1.1.
|
|
19
|
+
"@fileverse-dev/fortune-core": "1.1.74",
|
|
20
20
|
"@fileverse/ui": "^4.1.7-patch-21",
|
|
21
21
|
"@tippyjs/react": "^4.2.6",
|
|
22
22
|
"@types/regenerator-runtime": "^0.13.6",
|