@fileverse-dev/fortune-react 1.2.50-patch-4 → 1.2.50-patch-5
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.
|
@@ -280,6 +280,7 @@ var ContextMenu = function ContextMenu() {
|
|
|
280
280
|
return /*#__PURE__*/React.createElement(Menu, {
|
|
281
281
|
key: name,
|
|
282
282
|
onClick: function onClick() {
|
|
283
|
+
console.log("dataVerification clicked uoo");
|
|
283
284
|
window.dataVerificationClick(context.luckysheet_select_save);
|
|
284
285
|
}
|
|
285
286
|
}, /*#__PURE__*/React.createElement("div", {
|
|
@@ -4,7 +4,6 @@ import DataVerification from "../DataVerification";
|
|
|
4
4
|
var DataVerificationPortal = function DataVerificationPortal(_a) {
|
|
5
5
|
var visible = _a.visible;
|
|
6
6
|
var container = document.getElementById("placeholder-data-verification");
|
|
7
|
-
console.log(container, !visible, !container);
|
|
8
7
|
if (!visible || !container) return null;
|
|
9
8
|
return /*#__PURE__*/createPortal(/*#__PURE__*/React.createElement(DataVerification, null), container);
|
|
10
9
|
};
|
|
@@ -289,6 +289,7 @@ var ContextMenu = function ContextMenu() {
|
|
|
289
289
|
return /*#__PURE__*/_react.default.createElement(_Menu.default, {
|
|
290
290
|
key: name,
|
|
291
291
|
onClick: function onClick() {
|
|
292
|
+
console.log("dataVerification clicked uoo");
|
|
292
293
|
window.dataVerificationClick(context.luckysheet_select_save);
|
|
293
294
|
}
|
|
294
295
|
}, /*#__PURE__*/_react.default.createElement("div", {
|
|
@@ -11,7 +11,6 @@ function _interopRequireDefault(e) { return e && e.__esModule ? e : { default: e
|
|
|
11
11
|
var DataVerificationPortal = function DataVerificationPortal(_a) {
|
|
12
12
|
var visible = _a.visible;
|
|
13
13
|
var container = document.getElementById("placeholder-data-verification");
|
|
14
|
-
console.log(container, !visible, !container);
|
|
15
14
|
if (!visible || !container) return null;
|
|
16
15
|
return /*#__PURE__*/(0, _reactDom.createPortal)(/*#__PURE__*/_react.default.createElement(_DataVerification.default, null), container);
|
|
17
16
|
};
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@fileverse-dev/fortune-react",
|
|
3
|
-
"version": "1.2.50-patch-
|
|
3
|
+
"version": "1.2.50-patch-5",
|
|
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.50-patch-
|
|
19
|
+
"@fileverse-dev/fortune-core": "1.2.50-patch-5",
|
|
20
20
|
"@fileverse/ui": "^4.1.7-patch-40",
|
|
21
21
|
"@tippyjs/react": "^4.2.6",
|
|
22
22
|
"@types/regenerator-runtime": "^0.13.6",
|