@fileverse-dev/fortune-react 1.0.2-mod-4 → 1.0.2-mod-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.
package/dist/index.esm.js CHANGED
@@ -1,4 +1,4 @@
1
- import { defaultContext, defaultSettings, getSheetIndex, colLocationByIndex, fixPositionOnFrozenCells, colLocation, getFlowdata, isAllowEdit, handleColumnHeaderMouseDown, handleColSizeHandleMouseDown, handleColFreezeHandleMouseDown, handleContextMenu, selectTitlesMap, selectTitlesRange, fixColumnStyleOverflowInFreeze, rowLocationByIndex, rowLocation, handleRowHeaderMouseDown, handleRowSizeHandleMouseDown, handleRowFreezeHandleMouseDown, fixRowStyleOverflowInFreeze, locale, getStyleByCell, getCellValue, createRangeHightlight, isInlineStringCell, getInlineStringHTML, valueShowEs, escapeHTMLTag, escapeScriptTag, moveToEnd, isShowHidenCR, getrangeseleciton, cancelNormalSelected, moveHighlightCell, israngeseleciton, handleFormulaInput, onSearchDialogMoveStart, replaceAll, replace, searchAll, searchNext, normalizeSelection, scrollToHighlightCell, isLinkValid, getRangetxt, goToLink, replaceHtml, removeHyperlink, onRangeSelectionModalMoveStart, saveHyperlink, createFilterOptions, onImageMoveStart, onImageResizeStart, showComments, setEditingComment, onCommentBoxMoveStart, onCommentBoxResizeStart, confirmMessage, getRangeByTxt, getDropdownList, setCellValue, setConditionRules, mergeBorder, setDropcownValue, handleCellAreaMouseDown, handleCellAreaDoubleClick, selectAll, showLinkCard, getCellRowColumn, getCellHyperlink, handleOverlayMouseMove, handleOverlayMouseUp, handleKeydownForZoom, handleOverlayTouchStart, handleOverlayTouchMove, handleOverlayTouchEnd, insertRowCol, drawArrow, onCellsMoveStart, createDropCellRange, updateContextWithSheetData, updateContextWithCanvas, initFreeze, Canvas, handleGlobalWheel, setCaretPosition, getDataArr, updateMoreCell, getRegStr, getOptionValue, getSelectRange, applyLocation, updateItem, update, normalizedCellAttr, updateFormat, handleTextSize, handleHorizontalAlign, handleVerticalAlign, handleScreenShot, showImgChooser, insertImage, editComment, deleteComment, showHideComment, showHideAllComments, newComment, handleSum, autoSelectionFormula, handleMerge, handleBorder, handleFreeze, handleSort, createFilter, clearFilter, toolbarItemSelectedFunc, toolbarItemClickHandler, handleTextColor, handleTextBackground, getInlineStringNoStyle, rangeHightlightselected, updateCell, editSheetName, cancelActiveImgItem, MAX_ZOOM_RATIO, MIN_ZOOM_RATIO, addSheet, indexToColumnChar, sortSelection, handleCopy, deleteRowCol, hideSelected, showSelected, api, removeActiveImage, deleteSelectedCellText, jfrefreshgrid, handleLink, handlePasteByClick, deleteSheet, opToPatch, orderbydatafiler, getFilterColumnValues, getFilterColumnColors, saveFilter, calcSelectionInfo, patchToOp, filterPatch, inverseRowColOptions, ensureSheetIndex, initSheetIndex, handleGlobalKeyDown, handlePaste, groupValuesRefresh } from '@fileverse-dev/fortune-core';
1
+ import { defaultContext, defaultSettings, getSheetIndex, colLocationByIndex, fixPositionOnFrozenCells, colLocation, getFlowdata, isAllowEdit, handleColumnHeaderMouseDown, handleColSizeHandleMouseDown, handleColFreezeHandleMouseDown, handleContextMenu, selectTitlesMap, selectTitlesRange, fixColumnStyleOverflowInFreeze, rowLocationByIndex, rowLocation, handleRowHeaderMouseDown, handleRowSizeHandleMouseDown, handleRowFreezeHandleMouseDown, fixRowStyleOverflowInFreeze, locale, getStyleByCell, getCellValue, escapeHTMLTag, escapeScriptTag, createRangeHightlight, isInlineStringCell, getInlineStringHTML, valueShowEs, moveToEnd, isShowHidenCR, getrangeseleciton, cancelNormalSelected, moveHighlightCell, israngeseleciton, handleFormulaInput, onSearchDialogMoveStart, replaceAll, replace, searchAll, searchNext, normalizeSelection, scrollToHighlightCell, isLinkValid, getRangetxt, goToLink, replaceHtml, removeHyperlink, onRangeSelectionModalMoveStart, saveHyperlink, createFilterOptions, onImageMoveStart, onImageResizeStart, showComments, setEditingComment, onCommentBoxMoveStart, onCommentBoxResizeStart, confirmMessage, getRangeByTxt, getDropdownList, setCellValue, setConditionRules, mergeBorder, setDropcownValue, handleCellAreaMouseDown, handleCellAreaDoubleClick, selectAll, showLinkCard, getCellRowColumn, getCellHyperlink, handleOverlayMouseMove, handleOverlayMouseUp, handleKeydownForZoom, handleOverlayTouchStart, handleOverlayTouchMove, handleOverlayTouchEnd, insertRowCol, drawArrow, onCellsMoveStart, createDropCellRange, updateContextWithSheetData, updateContextWithCanvas, initFreeze, Canvas, handleGlobalWheel, setCaretPosition, getDataArr, updateMoreCell, getRegStr, getOptionValue, getSelectRange, applyLocation, updateItem, update, normalizedCellAttr, updateFormat, handleTextSize, handleHorizontalAlign, handleVerticalAlign, handleScreenShot, showImgChooser, insertImage, editComment, deleteComment, showHideComment, showHideAllComments, newComment, handleSum, autoSelectionFormula, handleMerge, handleBorder, handleFreeze, handleSort, createFilter, clearFilter, toolbarItemSelectedFunc, toolbarItemClickHandler, handleTextColor, handleTextBackground, getInlineStringNoStyle, rangeHightlightselected, updateCell, editSheetName, cancelActiveImgItem, MAX_ZOOM_RATIO, MIN_ZOOM_RATIO, addSheet, indexToColumnChar, sortSelection, handleCopy, deleteRowCol, hideSelected, showSelected, api, removeActiveImage, deleteSelectedCellText, jfrefreshgrid, handleLink, handlePasteByClick, deleteSheet, opToPatch, orderbydatafiler, getFilterColumnValues, getFilterColumnColors, saveFilter, calcSelectionInfo, patchToOp, filterPatch, inverseRowColOptions, ensureSheetIndex, initSheetIndex, handleGlobalKeyDown, handlePaste, groupValuesRefresh } from '@fileverse-dev/fortune-core';
2
2
  import React, { useContext, useRef, useState, useMemo, useCallback, useEffect, useLayoutEffect, useImperativeHandle } from 'react';
3
3
  import produce, { applyPatches, enablePatches, produceWithPatches } from 'immer';
4
4
  import _ from 'lodash';
@@ -1082,12 +1082,20 @@ var InputBox = function InputBox() {
1082
1082
  return {};
1083
1083
  }, [context.luckysheetfile, context.currentSheetId, context.luckysheetCellUpdate, firstSelection]);
1084
1084
  useLayoutEffect(function () {
1085
+ if (firstSelection.column_focus === 2 && firstSelection.row_focus === 4 && localStorage.getItem('onboardingComplete') !== 'true') {
1086
+ var _inputRef$current;
1087
+ if (((_inputRef$current = inputRef.current) === null || _inputRef$current === void 0 ? void 0 : _inputRef$current.innerHTML) !== "") return;
1088
+ var flowdata = getFlowdata(context);
1089
+ var value = getCellValue(row_index, col_index, flowdata, "f");
1090
+ inputRef.current.innerHTML = escapeHTMLTag(escapeScriptTag(value));
1091
+ return;
1092
+ }
1085
1093
  if (!context.allowEdit) {
1086
1094
  setContext(function (ctx) {
1087
1095
  var flowdata = getFlowdata(ctx);
1088
1096
  if (!_.isNil(flowdata) && ctx.forceFormulaRef) {
1089
- var value = getCellValue(row_index, col_index, flowdata, "f");
1090
- createRangeHightlight(ctx, value);
1097
+ var _value = getCellValue(row_index, col_index, flowdata, "f");
1098
+ createRangeHightlight(ctx, _value);
1091
1099
  }
1092
1100
  });
1093
1101
  }
@@ -1100,26 +1108,26 @@ var InputBox = function InputBox() {
1100
1108
  if (_.isEqual(prevCellUpdate, context.luckysheetCellUpdate) && prevSheetId === context.currentSheetId) {
1101
1109
  return;
1102
1110
  }
1103
- var flowdata = getFlowdata(context);
1104
- var cell = flowdata === null || flowdata === void 0 ? void 0 : (_flowdata$row_index = flowdata[row_index]) === null || _flowdata$row_index === void 0 ? void 0 : _flowdata$row_index[col_index];
1105
- var value = "";
1111
+ var _flowdata = getFlowdata(context);
1112
+ var cell = _flowdata === null || _flowdata === void 0 ? void 0 : (_flowdata$row_index = _flowdata[row_index]) === null || _flowdata$row_index === void 0 ? void 0 : _flowdata$row_index[col_index];
1113
+ var _value2 = "";
1106
1114
  if (cell && !refs.globalCache.overwriteCell) {
1107
1115
  if (isInlineStringCell(cell)) {
1108
- value = getInlineStringHTML(row_index, col_index, flowdata);
1116
+ _value2 = getInlineStringHTML(row_index, col_index, _flowdata);
1109
1117
  } else if (cell.f) {
1110
- value = getCellValue(row_index, col_index, flowdata, "f");
1118
+ _value2 = getCellValue(row_index, col_index, _flowdata, "f");
1111
1119
  setContext(function (ctx) {
1112
- createRangeHightlight(ctx, value);
1120
+ createRangeHightlight(ctx, _value2);
1113
1121
  });
1114
1122
  } else {
1115
- value = valueShowEs(row_index, col_index, flowdata);
1123
+ _value2 = valueShowEs(row_index, col_index, _flowdata);
1116
1124
  if (Number(cell.qp) === 1) {
1117
- value = value ? "".concat(value) : value;
1125
+ _value2 = _value2 ? "".concat(_value2) : _value2;
1118
1126
  }
1119
1127
  }
1120
1128
  }
1121
1129
  refs.globalCache.overwriteCell = false;
1122
- if (!refs.globalCache.ignoreWriteCell) inputRef.current.innerHTML = escapeHTMLTag(escapeScriptTag(value));
1130
+ if (!refs.globalCache.ignoreWriteCell) inputRef.current.innerHTML = escapeHTMLTag(escapeScriptTag(_value2));
1123
1131
  refs.globalCache.ignoreWriteCell = false;
1124
1132
  if (!refs.globalCache.doNotFocus) {
1125
1133
  setTimeout(function () {
@@ -1191,6 +1199,9 @@ var InputBox = function InputBox() {
1191
1199
  }
1192
1200
  }, [getActiveFormula, setContext]);
1193
1201
  var onKeyDown = useCallback(function (e) {
1202
+ if (e.key === "Backspace" && firstSelection.column_focus === 2 && firstSelection.row_focus === 4 && localStorage.getItem('onboardingComplete') !== 'true') {
1203
+ inputRef.current.innerHTML = "";
1204
+ }
1194
1205
  lastKeyDownEventRef.current = new KeyboardEvent(e.type, e.nativeEvent);
1195
1206
  preText.current = inputRef.current.innerText;
1196
1207
  if (e.key === "Escape" && context.luckysheetCellUpdate.length > 0) {
@@ -1239,7 +1250,7 @@ var InputBox = function InputBox() {
1239
1250
  }
1240
1251
  e.preventDefault();
1241
1252
  }
1242
- }, [clearSearchItemActiveClass, context.luckysheetCellUpdate.length, selectActiveFormula, setContext]);
1253
+ }, [clearSearchItemActiveClass, context.luckysheetCellUpdate.length, selectActiveFormula, setContext, firstSelection]);
1243
1254
  var onChange = useCallback(function (__, isBlur) {
1244
1255
  var e = lastKeyDownEventRef.current;
1245
1256
  if (!e) return;
@@ -1269,7 +1280,7 @@ var InputBox = function InputBox() {
1269
1280
  style: firstSelection && !((_context$rangeDialog = context.rangeDialog) === null || _context$rangeDialog === void 0 ? void 0 : _context$rangeDialog.show) ? {
1270
1281
  left: firstSelection.left,
1271
1282
  top: firstSelection.top,
1272
- zIndex: _.isEmpty(context.luckysheetCellUpdate) ? -1 : 19,
1283
+ zIndex: _.isEmpty(context.luckysheetCellUpdate) ? firstSelection.column_focus === 2 && firstSelection.row_focus === 4 && localStorage.getItem('onboardingComplete') !== 'true' ? 19 : -1 : 19,
1273
1284
  display: "block"
1274
1285
  } : {
1275
1286
  left: -10000,
package/dist/index.js CHANGED
@@ -1093,12 +1093,20 @@ var InputBox = function InputBox() {
1093
1093
  return {};
1094
1094
  }, [context.luckysheetfile, context.currentSheetId, context.luckysheetCellUpdate, firstSelection]);
1095
1095
  React.useLayoutEffect(function () {
1096
+ if (firstSelection.column_focus === 2 && firstSelection.row_focus === 4 && localStorage.getItem('onboardingComplete') !== 'true') {
1097
+ var _inputRef$current;
1098
+ if (((_inputRef$current = inputRef.current) === null || _inputRef$current === void 0 ? void 0 : _inputRef$current.innerHTML) !== "") return;
1099
+ var flowdata = fortuneCore.getFlowdata(context);
1100
+ var value = fortuneCore.getCellValue(row_index, col_index, flowdata, "f");
1101
+ inputRef.current.innerHTML = fortuneCore.escapeHTMLTag(fortuneCore.escapeScriptTag(value));
1102
+ return;
1103
+ }
1096
1104
  if (!context.allowEdit) {
1097
1105
  setContext(function (ctx) {
1098
1106
  var flowdata = fortuneCore.getFlowdata(ctx);
1099
1107
  if (!___default['default'].isNil(flowdata) && ctx.forceFormulaRef) {
1100
- var value = fortuneCore.getCellValue(row_index, col_index, flowdata, "f");
1101
- fortuneCore.createRangeHightlight(ctx, value);
1108
+ var _value = fortuneCore.getCellValue(row_index, col_index, flowdata, "f");
1109
+ fortuneCore.createRangeHightlight(ctx, _value);
1102
1110
  }
1103
1111
  });
1104
1112
  }
@@ -1111,26 +1119,26 @@ var InputBox = function InputBox() {
1111
1119
  if (___default['default'].isEqual(prevCellUpdate, context.luckysheetCellUpdate) && prevSheetId === context.currentSheetId) {
1112
1120
  return;
1113
1121
  }
1114
- var flowdata = fortuneCore.getFlowdata(context);
1115
- var cell = flowdata === null || flowdata === void 0 ? void 0 : (_flowdata$row_index = flowdata[row_index]) === null || _flowdata$row_index === void 0 ? void 0 : _flowdata$row_index[col_index];
1116
- var value = "";
1122
+ var _flowdata = fortuneCore.getFlowdata(context);
1123
+ var cell = _flowdata === null || _flowdata === void 0 ? void 0 : (_flowdata$row_index = _flowdata[row_index]) === null || _flowdata$row_index === void 0 ? void 0 : _flowdata$row_index[col_index];
1124
+ var _value2 = "";
1117
1125
  if (cell && !refs.globalCache.overwriteCell) {
1118
1126
  if (fortuneCore.isInlineStringCell(cell)) {
1119
- value = fortuneCore.getInlineStringHTML(row_index, col_index, flowdata);
1127
+ _value2 = fortuneCore.getInlineStringHTML(row_index, col_index, _flowdata);
1120
1128
  } else if (cell.f) {
1121
- value = fortuneCore.getCellValue(row_index, col_index, flowdata, "f");
1129
+ _value2 = fortuneCore.getCellValue(row_index, col_index, _flowdata, "f");
1122
1130
  setContext(function (ctx) {
1123
- fortuneCore.createRangeHightlight(ctx, value);
1131
+ fortuneCore.createRangeHightlight(ctx, _value2);
1124
1132
  });
1125
1133
  } else {
1126
- value = fortuneCore.valueShowEs(row_index, col_index, flowdata);
1134
+ _value2 = fortuneCore.valueShowEs(row_index, col_index, _flowdata);
1127
1135
  if (Number(cell.qp) === 1) {
1128
- value = value ? "".concat(value) : value;
1136
+ _value2 = _value2 ? "".concat(_value2) : _value2;
1129
1137
  }
1130
1138
  }
1131
1139
  }
1132
1140
  refs.globalCache.overwriteCell = false;
1133
- if (!refs.globalCache.ignoreWriteCell) inputRef.current.innerHTML = fortuneCore.escapeHTMLTag(fortuneCore.escapeScriptTag(value));
1141
+ if (!refs.globalCache.ignoreWriteCell) inputRef.current.innerHTML = fortuneCore.escapeHTMLTag(fortuneCore.escapeScriptTag(_value2));
1134
1142
  refs.globalCache.ignoreWriteCell = false;
1135
1143
  if (!refs.globalCache.doNotFocus) {
1136
1144
  setTimeout(function () {
@@ -1202,6 +1210,9 @@ var InputBox = function InputBox() {
1202
1210
  }
1203
1211
  }, [getActiveFormula, setContext]);
1204
1212
  var onKeyDown = React.useCallback(function (e) {
1213
+ if (e.key === "Backspace" && firstSelection.column_focus === 2 && firstSelection.row_focus === 4 && localStorage.getItem('onboardingComplete') !== 'true') {
1214
+ inputRef.current.innerHTML = "";
1215
+ }
1205
1216
  lastKeyDownEventRef.current = new KeyboardEvent(e.type, e.nativeEvent);
1206
1217
  preText.current = inputRef.current.innerText;
1207
1218
  if (e.key === "Escape" && context.luckysheetCellUpdate.length > 0) {
@@ -1250,7 +1261,7 @@ var InputBox = function InputBox() {
1250
1261
  }
1251
1262
  e.preventDefault();
1252
1263
  }
1253
- }, [clearSearchItemActiveClass, context.luckysheetCellUpdate.length, selectActiveFormula, setContext]);
1264
+ }, [clearSearchItemActiveClass, context.luckysheetCellUpdate.length, selectActiveFormula, setContext, firstSelection]);
1254
1265
  var onChange = React.useCallback(function (__, isBlur) {
1255
1266
  var e = lastKeyDownEventRef.current;
1256
1267
  if (!e) return;
@@ -1280,7 +1291,7 @@ var InputBox = function InputBox() {
1280
1291
  style: firstSelection && !((_context$rangeDialog = context.rangeDialog) === null || _context$rangeDialog === void 0 ? void 0 : _context$rangeDialog.show) ? {
1281
1292
  left: firstSelection.left,
1282
1293
  top: firstSelection.top,
1283
- zIndex: ___default['default'].isEmpty(context.luckysheetCellUpdate) ? -1 : 19,
1294
+ zIndex: ___default['default'].isEmpty(context.luckysheetCellUpdate) ? firstSelection.column_focus === 2 && firstSelection.row_focus === 4 && localStorage.getItem('onboardingComplete') !== 'true' ? 19 : -1 : 19,
1284
1295
  display: "block"
1285
1296
  } : {
1286
1297
  left: -10000,
package/dist/index.umd.js CHANGED
@@ -41155,12 +41155,20 @@
41155
41155
  return {};
41156
41156
  }, [context.luckysheetfile, context.currentSheetId, context.luckysheetCellUpdate, firstSelection]);
41157
41157
  React.useLayoutEffect(function () {
41158
+ if (firstSelection.column_focus === 2 && firstSelection.row_focus === 4 && localStorage.getItem('onboardingComplete') !== 'true') {
41159
+ var _inputRef$current;
41160
+ if (((_inputRef$current = inputRef.current) === null || _inputRef$current === void 0 ? void 0 : _inputRef$current.innerHTML) !== "") return;
41161
+ var flowdata = getFlowdata(context);
41162
+ var value = getCellValue(row_index, col_index, flowdata, "f");
41163
+ inputRef.current.innerHTML = escapeHTMLTag(escapeScriptTag(value));
41164
+ return;
41165
+ }
41158
41166
  if (!context.allowEdit) {
41159
41167
  setContext(function (ctx) {
41160
41168
  var flowdata = getFlowdata(ctx);
41161
41169
  if (!lodash.isNil(flowdata) && ctx.forceFormulaRef) {
41162
- var value = getCellValue(row_index, col_index, flowdata, "f");
41163
- createRangeHightlight(ctx, value);
41170
+ var _value = getCellValue(row_index, col_index, flowdata, "f");
41171
+ createRangeHightlight(ctx, _value);
41164
41172
  }
41165
41173
  });
41166
41174
  }
@@ -41173,26 +41181,26 @@
41173
41181
  if (lodash.isEqual(prevCellUpdate, context.luckysheetCellUpdate) && prevSheetId === context.currentSheetId) {
41174
41182
  return;
41175
41183
  }
41176
- var flowdata = getFlowdata(context);
41177
- var cell = flowdata === null || flowdata === void 0 ? void 0 : (_flowdata$row_index = flowdata[row_index]) === null || _flowdata$row_index === void 0 ? void 0 : _flowdata$row_index[col_index];
41178
- var value = "";
41184
+ var _flowdata = getFlowdata(context);
41185
+ var cell = _flowdata === null || _flowdata === void 0 ? void 0 : (_flowdata$row_index = _flowdata[row_index]) === null || _flowdata$row_index === void 0 ? void 0 : _flowdata$row_index[col_index];
41186
+ var _value2 = "";
41179
41187
  if (cell && !refs.globalCache.overwriteCell) {
41180
41188
  if (isInlineStringCell(cell)) {
41181
- value = getInlineStringHTML(row_index, col_index, flowdata);
41189
+ _value2 = getInlineStringHTML(row_index, col_index, _flowdata);
41182
41190
  } else if (cell.f) {
41183
- value = getCellValue(row_index, col_index, flowdata, "f");
41191
+ _value2 = getCellValue(row_index, col_index, _flowdata, "f");
41184
41192
  setContext(function (ctx) {
41185
- createRangeHightlight(ctx, value);
41193
+ createRangeHightlight(ctx, _value2);
41186
41194
  });
41187
41195
  } else {
41188
- value = valueShowEs(row_index, col_index, flowdata);
41196
+ _value2 = valueShowEs(row_index, col_index, _flowdata);
41189
41197
  if (Number(cell.qp) === 1) {
41190
- value = value ? "".concat(value) : value;
41198
+ _value2 = _value2 ? "".concat(_value2) : _value2;
41191
41199
  }
41192
41200
  }
41193
41201
  }
41194
41202
  refs.globalCache.overwriteCell = false;
41195
- if (!refs.globalCache.ignoreWriteCell) inputRef.current.innerHTML = escapeHTMLTag(escapeScriptTag(value));
41203
+ if (!refs.globalCache.ignoreWriteCell) inputRef.current.innerHTML = escapeHTMLTag(escapeScriptTag(_value2));
41196
41204
  refs.globalCache.ignoreWriteCell = false;
41197
41205
  if (!refs.globalCache.doNotFocus) {
41198
41206
  setTimeout(function () {
@@ -41264,6 +41272,9 @@
41264
41272
  }
41265
41273
  }, [getActiveFormula, setContext]);
41266
41274
  var onKeyDown = React.useCallback(function (e) {
41275
+ if (e.key === "Backspace" && firstSelection.column_focus === 2 && firstSelection.row_focus === 4 && localStorage.getItem('onboardingComplete') !== 'true') {
41276
+ inputRef.current.innerHTML = "";
41277
+ }
41267
41278
  lastKeyDownEventRef.current = new KeyboardEvent(e.type, e.nativeEvent);
41268
41279
  preText.current = inputRef.current.innerText;
41269
41280
  if (e.key === "Escape" && context.luckysheetCellUpdate.length > 0) {
@@ -41312,7 +41323,7 @@
41312
41323
  }
41313
41324
  e.preventDefault();
41314
41325
  }
41315
- }, [clearSearchItemActiveClass, context.luckysheetCellUpdate.length, selectActiveFormula, setContext]);
41326
+ }, [clearSearchItemActiveClass, context.luckysheetCellUpdate.length, selectActiveFormula, setContext, firstSelection]);
41316
41327
  var onChange = React.useCallback(function (__, isBlur) {
41317
41328
  var e = lastKeyDownEventRef.current;
41318
41329
  if (!e) return;
@@ -41342,7 +41353,7 @@
41342
41353
  style: firstSelection && !((_context$rangeDialog = context.rangeDialog) === null || _context$rangeDialog === void 0 ? void 0 : _context$rangeDialog.show) ? {
41343
41354
  left: firstSelection.left,
41344
41355
  top: firstSelection.top,
41345
- zIndex: lodash.isEmpty(context.luckysheetCellUpdate) ? -1 : 19,
41356
+ zIndex: lodash.isEmpty(context.luckysheetCellUpdate) ? firstSelection.column_focus === 2 && firstSelection.row_focus === 4 && localStorage.getItem('onboardingComplete') !== 'true' ? 19 : -1 : 19,
41346
41357
  display: "block"
41347
41358
  } : {
41348
41359
  left: -10000,