@leankylin-sheet/react 5.2.49 → 5.2.50

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.css CHANGED
@@ -288,15 +288,15 @@ html::-webkit-scrollbar-button {
288
288
 
289
289
  .luckysheet-cs-fillhandle {
290
290
  position: absolute;
291
- width: 6px;
292
- height: 6px;
293
- bottom: -5px;
291
+ width: 9px;
292
+ height: 9px;
293
+ bottom: -7px;
294
294
  cursor: crosshair;
295
295
  background-color: #0188fb;
296
296
  border: solid 1px #fff;
297
297
  z-index: 16;
298
298
  pointer-events: auto;
299
- right: -5px;
299
+ right: -7px;
300
300
  }
301
301
 
302
302
  .luckysheet-cs-draghandle {
@@ -288,15 +288,15 @@ html::-webkit-scrollbar-button {
288
288
 
289
289
  .luckysheet-cs-fillhandle {
290
290
  position: absolute;
291
- width: 6px;
292
- height: 6px;
293
- bottom: -5px;
291
+ width: 9px;
292
+ height: 9px;
293
+ bottom: -7px;
294
294
  cursor: crosshair;
295
295
  background-color: #0188fb;
296
296
  border: solid 1px #fff;
297
297
  z-index: 16;
298
298
  pointer-events: auto;
299
- right: -5px;
299
+ right: -7px;
300
300
  }
301
301
 
302
302
  .luckysheet-cs-draghandle {
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, functionHTMLGenerate, locale, getCellValue, createRangeHightlight, isInlineStringCell, getInlineStringHTML, valueShowEs, escapeHTMLTag, escapeScriptTag, isShowHidenCR, cancelNormalSelected, moveHighlightCell, updateCell, israngeseleciton, handleFormulaInput, onSearchDialogMoveStart, replaceAll, replace, searchAll, searchNext, changeSheet, normalizeSelection, scrollToHighlightCell, isLinkValid, getRangetxt, goToLink, replaceHtml, removeHyperlink, onRangeSelectionModalMoveStart, saveHyperlink, createFilterOptions, onImageMoveStart, onImageResizeStart, showComments, setEditingComment, onCommentBoxMoveStart, onCommentBoxResizeStart, confirmMessage, getRangeByTxt, getDropdownList, setCellValue, setConditionRules, mergeBorder, setDropcownValue, handleCellAreaMouseDown, handleCellAreaMouseMove, handleCellAreaDragOver, handleCellDrop, handleCellAreaDoubleClick, selectAll, showLinkCard, getCellRowColumn, getCellHyperlink, handleOverlayMouseMove, handleOverlayMouseUp, handleKeydownForZoom, handleOverlayTouchStart, handleOverlayTouchMove, handleOverlayTouchEnd, 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, getDataBySelectionNoCopy, getInlineStringNoStyle, rangeHightlightselected, editSheetName, setNextSheet, MAX_ZOOM_RATIO, MIN_ZOOM_RATIO, addSheet, indexToColumnChar, sortSelection, handleCopy, insertRowCol, deleteRowCol, hideSelected, showSelected, api, removeActiveImage, deleteSelectedCellText, jfrefreshgrid, handleLink, deleteSheet, opToPatch, orderbydatafiler, getFilterColumnValues, getFilterColumnColors, saveFilter, cancelActiveImgItem, patchToOp, filterPatch, inverseRowColOptions, ensureSheetIndex, initSheetIndex, handleGlobalKeyDown, handlePasteByLeanklin, groupValuesRefresh } from '@leankylin-sheet/core';
1
+ import { defaultContext, defaultSettings, getSheetIndex, colLocationByIndex, fixPositionOnFrozenCells, colLocation, getFlowdata, isAllowEdit, handleColumnHeaderMouseDown, handleColSizeHandleMouseDown, handleColFreezeHandleMouseDown, handleContextMenu, selectTitlesMap, selectTitlesRange, fixColumnStyleOverflowInFreeze, rowLocationByIndex, rowLocation, handleRowHeaderMouseDown, handleRowSizeHandleMouseDown, handleRowFreezeHandleMouseDown, fixRowStyleOverflowInFreeze, functionHTMLGenerate, locale, getCellValue, createRangeHightlight, isInlineStringCell, getInlineStringHTML, valueShowEs, escapeHTMLTag, escapeScriptTag, isShowHidenCR, cancelNormalSelected, moveHighlightCell, updateCell, israngeseleciton, handleFormulaInput, onSearchDialogMoveStart, replaceAll, replace, searchAll, searchNext, changeSheet, normalizeSelection, scrollToHighlightCell, isLinkValid, getRangetxt, goToLink, replaceHtml, removeHyperlink, onRangeSelectionModalMoveStart, saveHyperlink, createFilterOptions, onImageMoveStart, onImageResizeStart, showComments, setEditingComment, onCommentBoxMoveStart, onCommentBoxResizeStart, confirmMessage, getRangeByTxt, getDropdownList, setCellValue, setConditionRules, mergeBorder, setDropcownValue, handleCellAreaMouseDown, handleCellAreaMouseMove, handleCellAreaDragOver, handleCellDrop, handleCellAreaDoubleClick, selectAll, showLinkCard, getCellRowColumn, getCellHyperlink, handleOverlayMouseMove, handleOverlayMouseUp, handleKeydownForZoom, handleOverlayTouchStart, handleOverlayTouchMove, handleOverlayTouchEnd, onCellsMoveStart, createDropCellRange, handleDropCellDoubleClick, 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, getDataBySelectionNoCopy, getInlineStringNoStyle, rangeHightlightselected, editSheetName, setNextSheet, MAX_ZOOM_RATIO, MIN_ZOOM_RATIO, addSheet, indexToColumnChar, sortSelection, handleCopy, insertRowCol, deleteRowCol, hideSelected, showSelected, api, removeActiveImage, deleteSelectedCellText, jfrefreshgrid, handleLink, deleteSheet, opToPatch, orderbydatafiler, getFilterColumnValues, getFilterColumnColors, saveFilter, cancelActiveImgItem, patchToOp, filterPatch, inverseRowColOptions, ensureSheetIndex, initSheetIndex, handleGlobalKeyDown, handlePasteByLeanklin, groupValuesRefresh } from '@leankylin-sheet/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';
@@ -4218,6 +4218,12 @@ var SheetOverlay = function SheetOverlay() {
4218
4218
  createDropCellRange(draftContext, nativeEvent, containerRef.current);
4219
4219
  });
4220
4220
  e.stopPropagation();
4221
+ },
4222
+ onDoubleClick: function onDoubleClick(e) {
4223
+ e.stopPropagation();
4224
+ setContext(function (draftContext) {
4225
+ handleDropCellDoubleClick(draftContext, containerRef.current);
4226
+ });
4221
4227
  }
4222
4228
  }), /*#__PURE__*/React.createElement("div", {
4223
4229
  className: "luckysheet-cs-inner-border"
package/dist/index.js CHANGED
@@ -4228,6 +4228,12 @@ var SheetOverlay = function SheetOverlay() {
4228
4228
  core.createDropCellRange(draftContext, nativeEvent, containerRef.current);
4229
4229
  });
4230
4230
  e.stopPropagation();
4231
+ },
4232
+ onDoubleClick: function onDoubleClick(e) {
4233
+ e.stopPropagation();
4234
+ setContext(function (draftContext) {
4235
+ core.handleDropCellDoubleClick(draftContext, containerRef.current);
4236
+ });
4231
4237
  }
4232
4238
  }), /*#__PURE__*/React__default['default'].createElement("div", {
4233
4239
  className: "luckysheet-cs-inner-border"
@@ -288,15 +288,15 @@ html::-webkit-scrollbar-button {
288
288
 
289
289
  .luckysheet-cs-fillhandle {
290
290
  position: absolute;
291
- width: 6px;
292
- height: 6px;
293
- bottom: -5px;
291
+ width: 9px;
292
+ height: 9px;
293
+ bottom: -7px;
294
294
  cursor: crosshair;
295
295
  background-color: #0188fb;
296
296
  border: solid 1px #fff;
297
297
  z-index: 16;
298
298
  pointer-events: auto;
299
- right: -5px;
299
+ right: -7px;
300
300
  }
301
301
 
302
302
  .luckysheet-cs-draghandle {