@fileverse-dev/fortune-react 1.2.22-patch-2 → 1.2.22-patch-3
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.
|
@@ -87,17 +87,6 @@ var NotationBoxes = function NotationBoxes() {
|
|
|
87
87
|
boxShadow: "0 1px 1px #0000002e,0 4px 8px #0000001a"
|
|
88
88
|
},
|
|
89
89
|
onMouseDown: function onMouseDown(e) {
|
|
90
|
-
var nativeEvent = e.nativeEvent;
|
|
91
|
-
setContext(function (draftContext) {
|
|
92
|
-
if (flowdata) {
|
|
93
|
-
setEditingComment(draftContext, flowdata, r, c);
|
|
94
|
-
}
|
|
95
|
-
});
|
|
96
|
-
onCommentBoxMoveStart(context, refs.globalCache, nativeEvent, {
|
|
97
|
-
r: r,
|
|
98
|
-
c: c,
|
|
99
|
-
rc: rc
|
|
100
|
-
}, commentId);
|
|
101
90
|
e.stopPropagation();
|
|
102
91
|
}
|
|
103
92
|
}, /*#__PURE__*/React.createElement("div", {
|
|
@@ -96,17 +96,6 @@ var NotationBoxes = function NotationBoxes() {
|
|
|
96
96
|
boxShadow: "0 1px 1px #0000002e,0 4px 8px #0000001a"
|
|
97
97
|
},
|
|
98
98
|
onMouseDown: function onMouseDown(e) {
|
|
99
|
-
var nativeEvent = e.nativeEvent;
|
|
100
|
-
setContext(function (draftContext) {
|
|
101
|
-
if (flowdata) {
|
|
102
|
-
(0, _fortuneCore.setEditingComment)(draftContext, flowdata, r, c);
|
|
103
|
-
}
|
|
104
|
-
});
|
|
105
|
-
(0, _fortuneCore.onCommentBoxMoveStart)(context, refs.globalCache, nativeEvent, {
|
|
106
|
-
r: r,
|
|
107
|
-
c: c,
|
|
108
|
-
rc: rc
|
|
109
|
-
}, commentId);
|
|
110
99
|
e.stopPropagation();
|
|
111
100
|
}
|
|
112
101
|
}, /*#__PURE__*/_react.default.createElement("div", {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@fileverse-dev/fortune-react",
|
|
3
|
-
"version": "1.2.22-patch-
|
|
3
|
+
"version": "1.2.22-patch-3",
|
|
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.2.22-patch-
|
|
19
|
+
"@fileverse-dev/fortune-core": "1.2.22-patch-3",
|
|
20
20
|
"@fileverse/ui": "^4.1.7-patch-40",
|
|
21
21
|
"@tippyjs/react": "^4.2.6",
|
|
22
22
|
"@types/regenerator-runtime": "^0.13.6",
|