@fileverse-dev/fortune-react 1.2.23 → 1.2.24
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.
|
@@ -224,7 +224,7 @@ var FxEditor = function FxEditor() {
|
|
|
224
224
|
onKeyDown: onKeyDown,
|
|
225
225
|
onChange: onChange,
|
|
226
226
|
tabIndex: 0,
|
|
227
|
-
allowEdit: allowEdit
|
|
227
|
+
allowEdit: allowEdit && !context.isFlvReadOnly
|
|
228
228
|
}), showSearchHint && /*#__PURE__*/React.createElement(FormulaSearch, {
|
|
229
229
|
onMouseMove: function onMouseMove(e) {
|
|
230
230
|
if (document.getElementById("luckysheet-formula-search-c")) {
|
|
@@ -233,7 +233,7 @@ var FxEditor = function FxEditor() {
|
|
|
233
233
|
onKeyDown: onKeyDown,
|
|
234
234
|
onChange: onChange,
|
|
235
235
|
tabIndex: 0,
|
|
236
|
-
allowEdit: allowEdit
|
|
236
|
+
allowEdit: allowEdit && !context.isFlvReadOnly
|
|
237
237
|
}), showSearchHint && /*#__PURE__*/_react.default.createElement(_FormulaSearch.default, {
|
|
238
238
|
onMouseMove: function onMouseMove(e) {
|
|
239
239
|
if (document.getElementById("luckysheet-formula-search-c")) {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@fileverse-dev/fortune-react",
|
|
3
|
-
"version": "1.2.
|
|
3
|
+
"version": "1.2.24",
|
|
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.
|
|
19
|
+
"@fileverse-dev/fortune-core": "1.2.24",
|
|
20
20
|
"@fileverse/ui": "^4.1.7-patch-40",
|
|
21
21
|
"@tippyjs/react": "^4.2.6",
|
|
22
22
|
"@types/regenerator-runtime": "^0.13.6",
|