@leankylin-sheet/core 6.0.4 → 7.0.2
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/api/range.d.ts +1 -1
- package/dist/events/mouse.d.ts +1 -0
- package/dist/index.esm.js +47 -13
- package/dist/index.js +47 -12
- package/package.json +2 -2
package/dist/api/range.d.ts
CHANGED
|
@@ -28,5 +28,5 @@ export declare function registerExecFunctionExist(ctx: Context, sheet: {
|
|
|
28
28
|
c: number;
|
|
29
29
|
}>): void;
|
|
30
30
|
export declare function setCellValuesByRange(ctx: Context, data: any[][], range: SingleRange, cellInput: HTMLDivElement | null, options?: CommonOptions, setMerge?: boolean): void;
|
|
31
|
-
export declare function setCellValues(ctx: Context, data: any[], cellInput: HTMLDivElement | null): void;
|
|
31
|
+
export declare function setCellValues(ctx: Context, data: any[], cellInput: HTMLDivElement | null, skipCalcDev?: boolean): void;
|
|
32
32
|
export declare function setCellFormatByRange(ctx: Context, attr: keyof Cell, value: any, range: Range | SingleRange, options?: CommonOptions): void;
|
package/dist/events/mouse.d.ts
CHANGED
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import { Freezen } from "..";
|
|
2
|
+
export declare const PAINT_MODEL_CURSOR = "url(\"data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24'><path fill='%23525C6F' stroke='%23FFFFFF' stroke-width='1.4' stroke-linejoin='round' paint-order='stroke' d='M15.1004 6.5L6.90039 6.5V9.8L15.1004 9.8L15.1004 6.5ZM15.1004 5C15.9288 5 16.6004 5.67157 16.6004 6.5V9.8C16.6004 10.6284 15.9288 11.3 15.1004 11.3H6.90039C6.07196 11.3 5.40039 10.6284 5.40039 9.8V6.5C5.40039 5.67157 6.07196 5 6.90039 5H15.1004Z'/><path fill='%23525C6F' stroke='%23FFFFFF' stroke-width='1.4' stroke-linejoin='round' paint-order='stroke' d='M17.7174 8.90039H15.3262V7.40039H18.4674C18.8816 7.40039 19.2174 7.73618 19.2174 8.15039V13.7859C19.2174 14.163 18.9374 14.4814 18.5634 14.5297L10.8174 15.5299V19.0004H9.31738V14.8705C9.31738 14.4934 9.59736 14.175 9.97134 14.1267L17.7174 13.1265V8.90039Z'/></svg>\") 6 6, pointer";
|
|
2
3
|
import { Context } from "../context";
|
|
3
4
|
import { Settings } from "../settings";
|
|
4
5
|
import { GlobalCache } from "../types";
|
package/dist/index.esm.js
CHANGED
|
@@ -35760,6 +35760,7 @@ function getcellrange(ctx, txt, formulaId) {
|
|
|
35760
35760
|
return true;
|
|
35761
35761
|
});
|
|
35762
35762
|
} else {
|
|
35763
|
+
var _ctx$active_f;
|
|
35763
35764
|
var _i = formulaId;
|
|
35764
35765
|
if (_.isNil(_i)) {
|
|
35765
35766
|
_i = ctx.currentSheetId;
|
|
@@ -35772,7 +35773,7 @@ function getcellrange(ctx, txt, formulaId) {
|
|
|
35772
35773
|
return null;
|
|
35773
35774
|
}
|
|
35774
35775
|
sheettxt = luckysheetfile[index].name;
|
|
35775
|
-
sheetId = luckysheetfile[index].id;
|
|
35776
|
+
sheetId = ((_ctx$active_f = ctx.active_f) === null || _ctx$active_f === void 0 ? void 0 : _ctx$active_f.sheetId) || luckysheetfile[index].id;
|
|
35776
35777
|
sheetdata = flowdata;
|
|
35777
35778
|
rangetxt = txt;
|
|
35778
35779
|
}
|
|
@@ -37588,7 +37589,7 @@ function functionStrChange(txt, type, rc, orient, stindex, step, sheetName, isCu
|
|
|
37588
37589
|
return function_str;
|
|
37589
37590
|
}
|
|
37590
37591
|
function rangeSetValue(ctx, cellInput, selected, fxInput) {
|
|
37591
|
-
var _document$activeEleme, _ctx$
|
|
37592
|
+
var _document$activeEleme, _ctx$active_f2;
|
|
37592
37593
|
var $editor = cellInput;
|
|
37593
37594
|
var $copyTo = fxInput;
|
|
37594
37595
|
if (((_document$activeEleme = document.activeElement) === null || _document$activeEleme === void 0 ? void 0 : _document$activeEleme.id) === "luckysheet-functionbox-cell") {
|
|
@@ -37602,7 +37603,7 @@ function rangeSetValue(ctx, cellInput, selected, fxInput) {
|
|
|
37602
37603
|
var range = "";
|
|
37603
37604
|
var rf = selected.row[0];
|
|
37604
37605
|
var cf = selected.column[0];
|
|
37605
|
-
var sheetId = ((_ctx$
|
|
37606
|
+
var sheetId = ((_ctx$active_f2 = ctx.active_f) === null || _ctx$active_f2 === void 0 ? void 0 : _ctx$active_f2.sheetId) || ctx.formulaCache.rangetosheet;
|
|
37606
37607
|
if (ctx.config.merge != null && "".concat(rf, "_").concat(cf) in ctx.config.merge) {
|
|
37607
37608
|
range = getRangetxt(ctx, ctx.currentSheetId, {
|
|
37608
37609
|
column: [cf, cf],
|
|
@@ -47632,6 +47633,9 @@ function setNextSheet(draftCtx, nextSheetId, refs) {
|
|
|
47632
47633
|
draftCtx.zoomRatio = sheet.zoomRatio || 1;
|
|
47633
47634
|
cancelActiveImgItem(draftCtx, refs.globalCache);
|
|
47634
47635
|
cancelNormalSelected(draftCtx);
|
|
47636
|
+
if (draftCtx.active_f) {
|
|
47637
|
+
createRangeHightlight(draftCtx, refs.cellInput.current.innerHTML);
|
|
47638
|
+
}
|
|
47635
47639
|
if (isBack) {
|
|
47636
47640
|
draftCtx.luckysheetCellUpdate = luckysheetCellUpdate;
|
|
47637
47641
|
draftCtx.active_f = undefined;
|
|
@@ -49161,6 +49165,7 @@ function autoSelectionFormula(ctx, cellInput, fxInput, formula, cache) {
|
|
|
49161
49165
|
}
|
|
49162
49166
|
function cancelPaintModel(ctx) {
|
|
49163
49167
|
var _ctx$luckysheet_copy_;
|
|
49168
|
+
ctx.luckysheetPaintModelOn = false;
|
|
49164
49169
|
if (ctx.luckysheet_copy_save === null) return;
|
|
49165
49170
|
if (((_ctx$luckysheet_copy_ = ctx.luckysheet_copy_save) === null || _ctx$luckysheet_copy_ === void 0 ? void 0 : _ctx$luckysheet_copy_.dataSheetId) === ctx.currentSheetId) {
|
|
49166
49171
|
ctx.luckysheet_selection_range = [];
|
|
@@ -49358,6 +49363,10 @@ function handleVerticalAlign(ctx, cellInput, value) {
|
|
|
49358
49363
|
function handleFormatPainter(ctx) {
|
|
49359
49364
|
var allowEdit = isAllowEdit(ctx);
|
|
49360
49365
|
if (!allowEdit) return;
|
|
49366
|
+
if (ctx.luckysheetPaintModelOn) {
|
|
49367
|
+
cancelPaintModel(ctx);
|
|
49368
|
+
return;
|
|
49369
|
+
}
|
|
49361
49370
|
if (ctx.luckysheet_select_save == null || ctx.luckysheet_select_save.length === 0) {
|
|
49362
49371
|
return;
|
|
49363
49372
|
}
|
|
@@ -57212,6 +57221,7 @@ function setCellValuesByRange(ctx, data, range, cellInput) {
|
|
|
57212
57221
|
}
|
|
57213
57222
|
function setCellValues(ctx, data, cellInput) {
|
|
57214
57223
|
var _data$, _data$2;
|
|
57224
|
+
var skipCalcDev = arguments.length > 3 && arguments[3] !== undefined ? arguments[3] : false;
|
|
57215
57225
|
if (data == null) {
|
|
57216
57226
|
throw INVALID_PARAMS;
|
|
57217
57227
|
}
|
|
@@ -57234,7 +57244,12 @@ function setCellValues(ctx, data, cellInput) {
|
|
|
57234
57244
|
c = _data$j.c,
|
|
57235
57245
|
v = _data$j.v,
|
|
57236
57246
|
ops = _data$j.ops;
|
|
57237
|
-
|
|
57247
|
+
if (skipCalcDev) {
|
|
57248
|
+
var _sheet = getSheet(ctx, ops || {});
|
|
57249
|
+
setCellValueInBatch(ctx, _sheet, r, c, v, cellInput, []);
|
|
57250
|
+
} else {
|
|
57251
|
+
setCellValue$1(ctx, r, c, v, cellInput, ops);
|
|
57252
|
+
}
|
|
57238
57253
|
}
|
|
57239
57254
|
cancelNormalSelected(ctx);
|
|
57240
57255
|
return;
|
|
@@ -57256,7 +57271,7 @@ function setCellValues(ctx, data, cellInput) {
|
|
|
57256
57271
|
}
|
|
57257
57272
|
setCellValueInBatch(ctx, sheet, _r, _c, _v, cellInput, formulaCells);
|
|
57258
57273
|
}
|
|
57259
|
-
if (formulaCells.length === 0 && changedData.length === 0) {
|
|
57274
|
+
if (skipCalcDev || formulaCells.length === 0 && changedData.length === 0) {
|
|
57260
57275
|
cancelNormalSelected(ctx);
|
|
57261
57276
|
return;
|
|
57262
57277
|
}
|
|
@@ -57475,7 +57490,7 @@ var defaultSettings = {
|
|
|
57475
57490
|
defaultColWidth: 73,
|
|
57476
57491
|
defaultRowHeight: 19,
|
|
57477
57492
|
defaultFontSize: 10,
|
|
57478
|
-
toolbarItems: ["undo", "redo", "|", "format", "|", "font", "|", "font-size", "|", "bold", "italic", "strike-through", "underline", "|", "font-color", "background", "border", "merge-cell", "|", "horizontal-align", "vertical-align", "text-wrap", "text-rotation", "|", "search"],
|
|
57493
|
+
toolbarItems: ["undo", "redo", "format-painter", "clear-format", "|", "format", "|", "font", "|", "font-size", "|", "bold", "italic", "strike-through", "underline", "|", "font-color", "background", "border", "merge-cell", "|", "horizontal-align", "vertical-align", "text-wrap", "text-rotation", "|", "search"],
|
|
57479
57494
|
cellContextMenu: function cellContextMenu() {
|
|
57480
57495
|
return ["insert-comment", "copy", "paste", "|", "insert-row", "insert-column", "delete-row", "delete-column", "delete-cell", "hide-row", "hide-column", "set-row-height", "set-column-width", "|", "clear", "sort", "orderAZ", "orderZA", "filter", "chart", "image", "link", "data", "cell-format"];
|
|
57481
57496
|
},
|
|
@@ -57823,6 +57838,7 @@ function handleGlobalKeyDown(ctx, cellInput, fxInput, e, cache, handleUndo, hand
|
|
|
57823
57838
|
e.stopPropagation();
|
|
57824
57839
|
}
|
|
57825
57840
|
|
|
57841
|
+
var PAINT_MODEL_CURSOR = "url(\"data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24'><path fill='%23525C6F' stroke='%23FFFFFF' stroke-width='1.4' stroke-linejoin='round' paint-order='stroke' d='M15.1004 6.5L6.90039 6.5V9.8L15.1004 9.8L15.1004 6.5ZM15.1004 5C15.9288 5 16.6004 5.67157 16.6004 6.5V9.8C16.6004 10.6284 15.9288 11.3 15.1004 11.3H6.90039C6.07196 11.3 5.40039 10.6284 5.40039 9.8V6.5C5.40039 5.67157 6.07196 5 6.90039 5H15.1004Z'/><path fill='%23525C6F' stroke='%23FFFFFF' stroke-width='1.4' stroke-linejoin='round' paint-order='stroke' d='M17.7174 8.90039H15.3262V7.40039H18.4674C18.8816 7.40039 19.2174 7.73618 19.2174 8.15039V13.7859C19.2174 14.163 18.9374 14.4814 18.5634 14.5297L10.8174 15.5299V19.0004H9.31738V14.8705C9.31738 14.4934 9.59736 14.175 9.97134 14.1267L17.7174 13.1265V8.90039Z'/></svg>\") 6 6, pointer";
|
|
57826
57842
|
function handleGlobalWheel(ctx, e, cache, scrollbarX, scrollbarY) {
|
|
57827
57843
|
var _cache$searchDialog;
|
|
57828
57844
|
if (((_cache$searchDialog = cache.searchDialog) === null || _cache$searchDialog === void 0 ? void 0 : _cache$searchDialog.mouseEnter) && ctx.showSearch && ctx.showReplace) return;
|
|
@@ -58244,8 +58260,12 @@ function handleCellDrop(ctx, globalCache, e, container) {
|
|
|
58244
58260
|
var currentCellValue = JSON.parse(JSON.stringify(((_flowdata$row_index4 = flowdata[row_index]) === null || _flowdata$row_index4 === void 0 ? void 0 : _flowdata$row_index4[col_index]) || null));
|
|
58245
58261
|
var box = document.querySelector(".leankylin-cell-area");
|
|
58246
58262
|
if (box) {
|
|
58247
|
-
|
|
58248
|
-
|
|
58263
|
+
if (ctx.luckysheetPaintModelOn) {
|
|
58264
|
+
box.style.cursor = PAINT_MODEL_CURSOR;
|
|
58265
|
+
} else {
|
|
58266
|
+
var _currentCellValue$cu;
|
|
58267
|
+
box.style.cursor = (_currentCellValue$cu = currentCellValue === null || currentCellValue === void 0 ? void 0 : currentCellValue.cu) !== null && _currentCellValue$cu !== void 0 ? _currentCellValue$cu : "default";
|
|
58268
|
+
}
|
|
58249
58269
|
}
|
|
58250
58270
|
var yOut = y < 0 || y > ctx.visibledatarow[ctx.visibledatarow.length - 1];
|
|
58251
58271
|
var xOut = x < 0 || x > ctx.visibledatacolumn[ctx.visibledatacolumn.length - 1];
|
|
@@ -58309,8 +58329,12 @@ function handleCellAreaDragOver(ctx, globalCache, e, container) {
|
|
|
58309
58329
|
var currentCellValue = JSON.parse(JSON.stringify((_flowdata$row_index5 = flowdata[row_index]) === null || _flowdata$row_index5 === void 0 ? void 0 : _flowdata$row_index5[col_index]));
|
|
58310
58330
|
var box = document.querySelector(".leankylin-cell-area");
|
|
58311
58331
|
if (box) {
|
|
58312
|
-
|
|
58313
|
-
|
|
58332
|
+
if (ctx.luckysheetPaintModelOn) {
|
|
58333
|
+
box.style.cursor = PAINT_MODEL_CURSOR;
|
|
58334
|
+
} else {
|
|
58335
|
+
var _currentCellValue$cu2;
|
|
58336
|
+
box.style.cursor = (_currentCellValue$cu2 = currentCellValue === null || currentCellValue === void 0 ? void 0 : currentCellValue.cu) !== null && _currentCellValue$cu2 !== void 0 ? _currentCellValue$cu2 : "default";
|
|
58337
|
+
}
|
|
58314
58338
|
}
|
|
58315
58339
|
var yOut = y < 0 || y > ctx.visibledatarow[ctx.visibledatarow.length - 1];
|
|
58316
58340
|
var xOut = x < 0 || x > ctx.visibledatacolumn[ctx.visibledatacolumn.length - 1];
|
|
@@ -58338,6 +58362,12 @@ function handleCellAreaDragOver(ctx, globalCache, e, container) {
|
|
|
58338
58362
|
}
|
|
58339
58363
|
function handleCellAreaMouseMove(ctx, globalCache, e, container) {
|
|
58340
58364
|
var _globalCache$freezen4, _flowdata$row_index6;
|
|
58365
|
+
if (ctx.luckysheetPaintModelOn) {
|
|
58366
|
+
var paintBox = document.querySelector(".leankylin-cell-area");
|
|
58367
|
+
if (paintBox) {
|
|
58368
|
+
paintBox.style.cursor = PAINT_MODEL_CURSOR;
|
|
58369
|
+
}
|
|
58370
|
+
}
|
|
58341
58371
|
var afterCellMouseMove = ctx.hooks.afterCellMouseMove;
|
|
58342
58372
|
if (!afterCellMouseMove) {
|
|
58343
58373
|
return;
|
|
@@ -58365,8 +58395,12 @@ function handleCellAreaMouseMove(ctx, globalCache, e, container) {
|
|
|
58365
58395
|
var currentCellValue = JSON.parse(JSON.stringify(((_flowdata$row_index6 = flowdata[row_index]) === null || _flowdata$row_index6 === void 0 ? void 0 : _flowdata$row_index6[col_index]) || null));
|
|
58366
58396
|
var box = document.querySelector(".leankylin-cell-area");
|
|
58367
58397
|
if (box) {
|
|
58368
|
-
|
|
58369
|
-
|
|
58398
|
+
if (ctx.luckysheetPaintModelOn) {
|
|
58399
|
+
box.style.cursor = PAINT_MODEL_CURSOR;
|
|
58400
|
+
} else {
|
|
58401
|
+
var _currentCellValue$cu3;
|
|
58402
|
+
box.style.cursor = (_currentCellValue$cu3 = currentCellValue === null || currentCellValue === void 0 ? void 0 : currentCellValue.cu) !== null && _currentCellValue$cu3 !== void 0 ? _currentCellValue$cu3 : "default";
|
|
58403
|
+
}
|
|
58370
58404
|
}
|
|
58371
58405
|
var yOut = y < 0 || y > ctx.visibledatarow[ctx.visibledatarow.length - 1];
|
|
58372
58406
|
var xOut = x < 0 || x > ctx.visibledatacolumn[ctx.visibledatacolumn.length - 1];
|
|
@@ -61375,4 +61409,4 @@ function handlePasteByClick(ctx, triggerType) {
|
|
|
61375
61409
|
} else if (data.indexOf("leankylin-copy-action-image") > -1) ; else ;
|
|
61376
61410
|
}
|
|
61377
61411
|
|
|
61378
|
-
export { CFSplitRange, Canvas, FormulaCache, MAX_ZOOM_RATIO, MIN_ZOOM_RATIO, addSheet, index as api, applyLocation, attrToCssName, autoSelectionFormula, calcSelectionInfo, cancelActiveImgItem, cancelFunctionrangeSelected, cancelNormalSelected, cancelPaintModel, cellFocus, cfSplitRange, changeSheet, chatatABC, checkCF, checkCellIsLocked, checkProtectionAllSelected, checkProtectionFormatCells, checkProtectionSelectLockedOrUnLockedCells, checkboxChange, clearFilter, clearMeasureTextCache, colHasMerged, colLocation, colLocationByIndex, colors, columnCharToIndex, commentBoxProps, compute, computeRowlenArr, confirmMessage, convertCssToStyleList, convertSpanToShareString, copy, copy2, createDropCellRange, createFilter, createFilterOptions, createFormulaRangeSelect, createRangeHightlight, dataRangeSelection, datenum_local, defaultContext, defaultFont, defaultSettings, defaultStyle, delFunctionGroup, deleteCellInSave, deleteComment, deleteRowCol, deleteSelectedCellText, deleteSheet, diff, drawArrow, drawLineInfo, dropCellCache, editComment, editSheetName, ensureSheetIndex, error, escapeHTMLTag, escapeRegExpStr, escapeScriptTag, execFunctionGroup, execfunction, expandRowsAndColumns, extractFormulaCellOps, filterPatch, fixColumnStyleOverflowInFreeze, fixPositionOnFrozenCells, fixRowStyleOverflowInFreeze, functionCopy, functionHTMLGenerate, functionStrChange, genarate, generateRandomId, generateRandomSheetName, getAllFunctionGroup, getArrowCanvasSize, getBorderInfoCompute, getBorderInfoComputeRange, getCellHyperlink, getCellHyperlinkWithPayload, getCellRowColumn, getCellTextInfo, getCellTopRightPostion, getCellValue, getClipboardContent, getColMerge, getColorGradation, getCommentBoxByRC, getCommentBoxPosition, getComputeMap, getCurrentRules, getDataArr, getDataBySelectionNoCopy, getDropdownList, getFailureText, getFilterColumnColors, getFilterColumnValues, getFlattenedRange, getFlowdata, getFontSet, getFontStyleByCell, getFrozenHandleLeft, getFrozenHandleTop, getHLColor, getHintText, getHistoryRules, getInlineStringHTML, getInlineStringNoStyle, getMeasureText, getNowDateTime, getNullData, getOptionValue, getOrigincell, getQKBorder, getRange, getRangeArr, getRangeByTxt, getRangetxt, getRealCellValue, getRegExpStr, getRegStr, getRowMerge, getSearchIndexArr, getSelectRange, getSheetByIndex, getSheetIdByName, getSheetIndex, getStyleByCell, getTypeItemHide, getcellFormula, getcellrange, getdatabyselection, getrangeseleciton, goToLink, groupValuesRefresh, handleArrowKey, handleBold, handleBorder, handleCellAreaDoubleClick, handleCellAreaDragOver, handleCellAreaMouseDown, handleCellAreaMouseMove, handleCellDrop, handleClearFormat, handleColFreezeHandleMouseDown, handleColSizeHandleMouseDown, handleColumnHeaderMouseDown, handleContextMenu, handleCopy, handleCurrencyFormat, handleDropCellDoubleClick, handleFormatPainter, handleFormulaInput, handleFreeze, handleGlobalEnter, handleGlobalKeyDown, handleGlobalWheel, handleHorizontalAlign, handleItalic, handleKeydownForZoom, handleLink, handleMerge, handleNumberDecrease, handleNumberIncrease, handleOverlayMouseMove, handleOverlayMouseUp, handleOverlayTouchEnd, handleOverlayTouchMove, handleOverlayTouchStart, handlePaste, handlePasteByClick, handlePasteByLeanklin, handlePercentageFormat, handleRowFreezeHandleMouseDown, handleRowHeaderMouseDown, handleRowSizeHandleMouseDown, handleScreenShot, handleSort, handleStrikeThrough, handleSum, handleTextBackground, handleTextColor, handleTextSize, handleUnderline, handleVerticalAlign, handleWithCtrlOrMetaKey, hasChinaword, hasPartMC, hideCRCount, hideDropCellSelection, hideSelected, imageProps, indexToColumnChar, initFreeze, initSheetIndex, inlineStyleAffectAttribute, inlineStyleAffectCssName, insertImage, insertRowCol, insertUpdateFunctionGroup, inverseRowColOptions, isAllSelectedCellsInStatus, isAllowEdit, isInlineStringCT, isInlineStringCell, isLinkValid, isRealNull, isRealNum, isShowHidenCR, isSupportBoundingBox, is_date, iscelldata, isdatatype, isdatatypemulti, isdatetime, israngeseleciton, jfrefreshgrid, labelFilterOptionState, locale, luckysheetUpdateCell, mergeBorder, mergeCells, mergeMoveMain, mousePosition, moveHighlightCell, moveHighlightRange, moveToEnd, newComment, normalizeSelection, normalizedAttr, normalizedCellAttr, onCellsMove, onCellsMoveEnd, onCellsMoveStart, onCommentBoxMove, onCommentBoxMoveEnd, onCommentBoxMoveStart, onCommentBoxResize, onCommentBoxResizeEnd, onCommentBoxResizeStart, onDropCellSelect, onDropCellSelectEnd, onFormulaRangeDragEnd, onImageMove, onImageMoveEnd, onImageMoveStart, onImageResize, onImageResizeEnd, onImageResizeStart, onRangeSelectionModalMove, onRangeSelectionModalMoveEnd, onRangeSelectionModalMoveStart, onSearchDialogMove, onSearchDialogMoveEnd, onSearchDialogMoveStart, opToPatch, orderbydata, orderbydatafiler, overShowComment, pasteHandlerOfPaintModel, patchToOp, rangeDrag, rangeDragColumn, rangeDragRow, rangeHightlightselected, rangeSetValue, rangeValueToHtml, removeActiveImage, removeEditingComment, removeHyperlink, replace, replaceAll, replaceHtml, rgbToHex, rowHasMerged, rowLocation, rowLocationByIndex, saveFilter, saveHyperlink, saveImage, scrollToFrozenRowCol, scrollToHighlightCell, searchAll, searchNext, selectAll, selectIsOverlap, selectTextContent, selectTextContentCross, selectTitlesMap, selectTitlesRange, selectionCache, selectionCopyShow, seletedHighlistByindex, setCaretPosition, setCellValue, setConditionRules, setDropcownValue, setEditingComment, setNextSheet, showComments, showDropCellSelection, showHideAllComments, showHideComment, showImgChooser, showLinkCard, showSelected, sortDataRange, sortSelection, storeSheetParamALL, toolbarItemClickHandler, toolbarItemSelectedFunc, update, updateCell, updateContextWithCanvas, updateContextWithSheetData, updateDropCell, updateFormat, updateFormatCell, updateInlineStringFormat, updateInlineStringFormatOutside, updateItem, updateMoreCell, updateSheet, validateCellData, validateIdCard, valueIsError, valueShowEs };
|
|
61412
|
+
export { CFSplitRange, Canvas, FormulaCache, MAX_ZOOM_RATIO, MIN_ZOOM_RATIO, PAINT_MODEL_CURSOR, addSheet, index as api, applyLocation, attrToCssName, autoSelectionFormula, calcSelectionInfo, cancelActiveImgItem, cancelFunctionrangeSelected, cancelNormalSelected, cancelPaintModel, cellFocus, cfSplitRange, changeSheet, chatatABC, checkCF, checkCellIsLocked, checkProtectionAllSelected, checkProtectionFormatCells, checkProtectionSelectLockedOrUnLockedCells, checkboxChange, clearFilter, clearMeasureTextCache, colHasMerged, colLocation, colLocationByIndex, colors, columnCharToIndex, commentBoxProps, compute, computeRowlenArr, confirmMessage, convertCssToStyleList, convertSpanToShareString, copy, copy2, createDropCellRange, createFilter, createFilterOptions, createFormulaRangeSelect, createRangeHightlight, dataRangeSelection, datenum_local, defaultContext, defaultFont, defaultSettings, defaultStyle, delFunctionGroup, deleteCellInSave, deleteComment, deleteRowCol, deleteSelectedCellText, deleteSheet, diff, drawArrow, drawLineInfo, dropCellCache, editComment, editSheetName, ensureSheetIndex, error, escapeHTMLTag, escapeRegExpStr, escapeScriptTag, execFunctionGroup, execfunction, expandRowsAndColumns, extractFormulaCellOps, filterPatch, fixColumnStyleOverflowInFreeze, fixPositionOnFrozenCells, fixRowStyleOverflowInFreeze, functionCopy, functionHTMLGenerate, functionStrChange, genarate, generateRandomId, generateRandomSheetName, getAllFunctionGroup, getArrowCanvasSize, getBorderInfoCompute, getBorderInfoComputeRange, getCellHyperlink, getCellHyperlinkWithPayload, getCellRowColumn, getCellTextInfo, getCellTopRightPostion, getCellValue, getClipboardContent, getColMerge, getColorGradation, getCommentBoxByRC, getCommentBoxPosition, getComputeMap, getCurrentRules, getDataArr, getDataBySelectionNoCopy, getDropdownList, getFailureText, getFilterColumnColors, getFilterColumnValues, getFlattenedRange, getFlowdata, getFontSet, getFontStyleByCell, getFrozenHandleLeft, getFrozenHandleTop, getHLColor, getHintText, getHistoryRules, getInlineStringHTML, getInlineStringNoStyle, getMeasureText, getNowDateTime, getNullData, getOptionValue, getOrigincell, getQKBorder, getRange, getRangeArr, getRangeByTxt, getRangetxt, getRealCellValue, getRegExpStr, getRegStr, getRowMerge, getSearchIndexArr, getSelectRange, getSheetByIndex, getSheetIdByName, getSheetIndex, getStyleByCell, getTypeItemHide, getcellFormula, getcellrange, getdatabyselection, getrangeseleciton, goToLink, groupValuesRefresh, handleArrowKey, handleBold, handleBorder, handleCellAreaDoubleClick, handleCellAreaDragOver, handleCellAreaMouseDown, handleCellAreaMouseMove, handleCellDrop, handleClearFormat, handleColFreezeHandleMouseDown, handleColSizeHandleMouseDown, handleColumnHeaderMouseDown, handleContextMenu, handleCopy, handleCurrencyFormat, handleDropCellDoubleClick, handleFormatPainter, handleFormulaInput, handleFreeze, handleGlobalEnter, handleGlobalKeyDown, handleGlobalWheel, handleHorizontalAlign, handleItalic, handleKeydownForZoom, handleLink, handleMerge, handleNumberDecrease, handleNumberIncrease, handleOverlayMouseMove, handleOverlayMouseUp, handleOverlayTouchEnd, handleOverlayTouchMove, handleOverlayTouchStart, handlePaste, handlePasteByClick, handlePasteByLeanklin, handlePercentageFormat, handleRowFreezeHandleMouseDown, handleRowHeaderMouseDown, handleRowSizeHandleMouseDown, handleScreenShot, handleSort, handleStrikeThrough, handleSum, handleTextBackground, handleTextColor, handleTextSize, handleUnderline, handleVerticalAlign, handleWithCtrlOrMetaKey, hasChinaword, hasPartMC, hideCRCount, hideDropCellSelection, hideSelected, imageProps, indexToColumnChar, initFreeze, initSheetIndex, inlineStyleAffectAttribute, inlineStyleAffectCssName, insertImage, insertRowCol, insertUpdateFunctionGroup, inverseRowColOptions, isAllSelectedCellsInStatus, isAllowEdit, isInlineStringCT, isInlineStringCell, isLinkValid, isRealNull, isRealNum, isShowHidenCR, isSupportBoundingBox, is_date, iscelldata, isdatatype, isdatatypemulti, isdatetime, israngeseleciton, jfrefreshgrid, labelFilterOptionState, locale, luckysheetUpdateCell, mergeBorder, mergeCells, mergeMoveMain, mousePosition, moveHighlightCell, moveHighlightRange, moveToEnd, newComment, normalizeSelection, normalizedAttr, normalizedCellAttr, onCellsMove, onCellsMoveEnd, onCellsMoveStart, onCommentBoxMove, onCommentBoxMoveEnd, onCommentBoxMoveStart, onCommentBoxResize, onCommentBoxResizeEnd, onCommentBoxResizeStart, onDropCellSelect, onDropCellSelectEnd, onFormulaRangeDragEnd, onImageMove, onImageMoveEnd, onImageMoveStart, onImageResize, onImageResizeEnd, onImageResizeStart, onRangeSelectionModalMove, onRangeSelectionModalMoveEnd, onRangeSelectionModalMoveStart, onSearchDialogMove, onSearchDialogMoveEnd, onSearchDialogMoveStart, opToPatch, orderbydata, orderbydatafiler, overShowComment, pasteHandlerOfPaintModel, patchToOp, rangeDrag, rangeDragColumn, rangeDragRow, rangeHightlightselected, rangeSetValue, rangeValueToHtml, removeActiveImage, removeEditingComment, removeHyperlink, replace, replaceAll, replaceHtml, rgbToHex, rowHasMerged, rowLocation, rowLocationByIndex, saveFilter, saveHyperlink, saveImage, scrollToFrozenRowCol, scrollToHighlightCell, searchAll, searchNext, selectAll, selectIsOverlap, selectTextContent, selectTextContentCross, selectTitlesMap, selectTitlesRange, selectionCache, selectionCopyShow, seletedHighlistByindex, setCaretPosition, setCellValue, setConditionRules, setDropcownValue, setEditingComment, setNextSheet, showComments, showDropCellSelection, showHideAllComments, showHideComment, showImgChooser, showLinkCard, showSelected, sortDataRange, sortSelection, storeSheetParamALL, toolbarItemClickHandler, toolbarItemSelectedFunc, update, updateCell, updateContextWithCanvas, updateContextWithSheetData, updateDropCell, updateFormat, updateFormatCell, updateInlineStringFormat, updateInlineStringFormatOutside, updateItem, updateMoreCell, updateSheet, validateCellData, validateIdCard, valueIsError, valueShowEs };
|
package/dist/index.js
CHANGED
|
@@ -35770,6 +35770,7 @@ function getcellrange(ctx, txt, formulaId) {
|
|
|
35770
35770
|
return true;
|
|
35771
35771
|
});
|
|
35772
35772
|
} else {
|
|
35773
|
+
var _ctx$active_f;
|
|
35773
35774
|
var _i = formulaId;
|
|
35774
35775
|
if (___default['default'].isNil(_i)) {
|
|
35775
35776
|
_i = ctx.currentSheetId;
|
|
@@ -35782,7 +35783,7 @@ function getcellrange(ctx, txt, formulaId) {
|
|
|
35782
35783
|
return null;
|
|
35783
35784
|
}
|
|
35784
35785
|
sheettxt = luckysheetfile[index].name;
|
|
35785
|
-
sheetId = luckysheetfile[index].id;
|
|
35786
|
+
sheetId = ((_ctx$active_f = ctx.active_f) === null || _ctx$active_f === void 0 ? void 0 : _ctx$active_f.sheetId) || luckysheetfile[index].id;
|
|
35786
35787
|
sheetdata = flowdata;
|
|
35787
35788
|
rangetxt = txt;
|
|
35788
35789
|
}
|
|
@@ -37598,7 +37599,7 @@ function functionStrChange(txt, type, rc, orient, stindex, step, sheetName, isCu
|
|
|
37598
37599
|
return function_str;
|
|
37599
37600
|
}
|
|
37600
37601
|
function rangeSetValue(ctx, cellInput, selected, fxInput) {
|
|
37601
|
-
var _document$activeEleme, _ctx$
|
|
37602
|
+
var _document$activeEleme, _ctx$active_f2;
|
|
37602
37603
|
var $editor = cellInput;
|
|
37603
37604
|
var $copyTo = fxInput;
|
|
37604
37605
|
if (((_document$activeEleme = document.activeElement) === null || _document$activeEleme === void 0 ? void 0 : _document$activeEleme.id) === "luckysheet-functionbox-cell") {
|
|
@@ -37612,7 +37613,7 @@ function rangeSetValue(ctx, cellInput, selected, fxInput) {
|
|
|
37612
37613
|
var range = "";
|
|
37613
37614
|
var rf = selected.row[0];
|
|
37614
37615
|
var cf = selected.column[0];
|
|
37615
|
-
var sheetId = ((_ctx$
|
|
37616
|
+
var sheetId = ((_ctx$active_f2 = ctx.active_f) === null || _ctx$active_f2 === void 0 ? void 0 : _ctx$active_f2.sheetId) || ctx.formulaCache.rangetosheet;
|
|
37616
37617
|
if (ctx.config.merge != null && "".concat(rf, "_").concat(cf) in ctx.config.merge) {
|
|
37617
37618
|
range = getRangetxt(ctx, ctx.currentSheetId, {
|
|
37618
37619
|
column: [cf, cf],
|
|
@@ -47642,6 +47643,9 @@ function setNextSheet(draftCtx, nextSheetId, refs) {
|
|
|
47642
47643
|
draftCtx.zoomRatio = sheet.zoomRatio || 1;
|
|
47643
47644
|
cancelActiveImgItem(draftCtx, refs.globalCache);
|
|
47644
47645
|
cancelNormalSelected(draftCtx);
|
|
47646
|
+
if (draftCtx.active_f) {
|
|
47647
|
+
createRangeHightlight(draftCtx, refs.cellInput.current.innerHTML);
|
|
47648
|
+
}
|
|
47645
47649
|
if (isBack) {
|
|
47646
47650
|
draftCtx.luckysheetCellUpdate = luckysheetCellUpdate;
|
|
47647
47651
|
draftCtx.active_f = undefined;
|
|
@@ -49171,6 +49175,7 @@ function autoSelectionFormula(ctx, cellInput, fxInput, formula, cache) {
|
|
|
49171
49175
|
}
|
|
49172
49176
|
function cancelPaintModel(ctx) {
|
|
49173
49177
|
var _ctx$luckysheet_copy_;
|
|
49178
|
+
ctx.luckysheetPaintModelOn = false;
|
|
49174
49179
|
if (ctx.luckysheet_copy_save === null) return;
|
|
49175
49180
|
if (((_ctx$luckysheet_copy_ = ctx.luckysheet_copy_save) === null || _ctx$luckysheet_copy_ === void 0 ? void 0 : _ctx$luckysheet_copy_.dataSheetId) === ctx.currentSheetId) {
|
|
49176
49181
|
ctx.luckysheet_selection_range = [];
|
|
@@ -49368,6 +49373,10 @@ function handleVerticalAlign(ctx, cellInput, value) {
|
|
|
49368
49373
|
function handleFormatPainter(ctx) {
|
|
49369
49374
|
var allowEdit = isAllowEdit(ctx);
|
|
49370
49375
|
if (!allowEdit) return;
|
|
49376
|
+
if (ctx.luckysheetPaintModelOn) {
|
|
49377
|
+
cancelPaintModel(ctx);
|
|
49378
|
+
return;
|
|
49379
|
+
}
|
|
49371
49380
|
if (ctx.luckysheet_select_save == null || ctx.luckysheet_select_save.length === 0) {
|
|
49372
49381
|
return;
|
|
49373
49382
|
}
|
|
@@ -57222,6 +57231,7 @@ function setCellValuesByRange(ctx, data, range, cellInput) {
|
|
|
57222
57231
|
}
|
|
57223
57232
|
function setCellValues(ctx, data, cellInput) {
|
|
57224
57233
|
var _data$, _data$2;
|
|
57234
|
+
var skipCalcDev = arguments.length > 3 && arguments[3] !== undefined ? arguments[3] : false;
|
|
57225
57235
|
if (data == null) {
|
|
57226
57236
|
throw INVALID_PARAMS;
|
|
57227
57237
|
}
|
|
@@ -57244,7 +57254,12 @@ function setCellValues(ctx, data, cellInput) {
|
|
|
57244
57254
|
c = _data$j.c,
|
|
57245
57255
|
v = _data$j.v,
|
|
57246
57256
|
ops = _data$j.ops;
|
|
57247
|
-
|
|
57257
|
+
if (skipCalcDev) {
|
|
57258
|
+
var _sheet = getSheet(ctx, ops || {});
|
|
57259
|
+
setCellValueInBatch(ctx, _sheet, r, c, v, cellInput, []);
|
|
57260
|
+
} else {
|
|
57261
|
+
setCellValue$1(ctx, r, c, v, cellInput, ops);
|
|
57262
|
+
}
|
|
57248
57263
|
}
|
|
57249
57264
|
cancelNormalSelected(ctx);
|
|
57250
57265
|
return;
|
|
@@ -57266,7 +57281,7 @@ function setCellValues(ctx, data, cellInput) {
|
|
|
57266
57281
|
}
|
|
57267
57282
|
setCellValueInBatch(ctx, sheet, _r, _c, _v, cellInput, formulaCells);
|
|
57268
57283
|
}
|
|
57269
|
-
if (formulaCells.length === 0 && changedData.length === 0) {
|
|
57284
|
+
if (skipCalcDev || formulaCells.length === 0 && changedData.length === 0) {
|
|
57270
57285
|
cancelNormalSelected(ctx);
|
|
57271
57286
|
return;
|
|
57272
57287
|
}
|
|
@@ -57485,7 +57500,7 @@ var defaultSettings = {
|
|
|
57485
57500
|
defaultColWidth: 73,
|
|
57486
57501
|
defaultRowHeight: 19,
|
|
57487
57502
|
defaultFontSize: 10,
|
|
57488
|
-
toolbarItems: ["undo", "redo", "|", "format", "|", "font", "|", "font-size", "|", "bold", "italic", "strike-through", "underline", "|", "font-color", "background", "border", "merge-cell", "|", "horizontal-align", "vertical-align", "text-wrap", "text-rotation", "|", "search"],
|
|
57503
|
+
toolbarItems: ["undo", "redo", "format-painter", "clear-format", "|", "format", "|", "font", "|", "font-size", "|", "bold", "italic", "strike-through", "underline", "|", "font-color", "background", "border", "merge-cell", "|", "horizontal-align", "vertical-align", "text-wrap", "text-rotation", "|", "search"],
|
|
57489
57504
|
cellContextMenu: function cellContextMenu() {
|
|
57490
57505
|
return ["insert-comment", "copy", "paste", "|", "insert-row", "insert-column", "delete-row", "delete-column", "delete-cell", "hide-row", "hide-column", "set-row-height", "set-column-width", "|", "clear", "sort", "orderAZ", "orderZA", "filter", "chart", "image", "link", "data", "cell-format"];
|
|
57491
57506
|
},
|
|
@@ -57833,6 +57848,7 @@ function handleGlobalKeyDown(ctx, cellInput, fxInput, e, cache, handleUndo, hand
|
|
|
57833
57848
|
e.stopPropagation();
|
|
57834
57849
|
}
|
|
57835
57850
|
|
|
57851
|
+
var PAINT_MODEL_CURSOR = "url(\"data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24'><path fill='%23525C6F' stroke='%23FFFFFF' stroke-width='1.4' stroke-linejoin='round' paint-order='stroke' d='M15.1004 6.5L6.90039 6.5V9.8L15.1004 9.8L15.1004 6.5ZM15.1004 5C15.9288 5 16.6004 5.67157 16.6004 6.5V9.8C16.6004 10.6284 15.9288 11.3 15.1004 11.3H6.90039C6.07196 11.3 5.40039 10.6284 5.40039 9.8V6.5C5.40039 5.67157 6.07196 5 6.90039 5H15.1004Z'/><path fill='%23525C6F' stroke='%23FFFFFF' stroke-width='1.4' stroke-linejoin='round' paint-order='stroke' d='M17.7174 8.90039H15.3262V7.40039H18.4674C18.8816 7.40039 19.2174 7.73618 19.2174 8.15039V13.7859C19.2174 14.163 18.9374 14.4814 18.5634 14.5297L10.8174 15.5299V19.0004H9.31738V14.8705C9.31738 14.4934 9.59736 14.175 9.97134 14.1267L17.7174 13.1265V8.90039Z'/></svg>\") 6 6, pointer";
|
|
57836
57852
|
function handleGlobalWheel(ctx, e, cache, scrollbarX, scrollbarY) {
|
|
57837
57853
|
var _cache$searchDialog;
|
|
57838
57854
|
if (((_cache$searchDialog = cache.searchDialog) === null || _cache$searchDialog === void 0 ? void 0 : _cache$searchDialog.mouseEnter) && ctx.showSearch && ctx.showReplace) return;
|
|
@@ -58254,8 +58270,12 @@ function handleCellDrop(ctx, globalCache, e, container) {
|
|
|
58254
58270
|
var currentCellValue = JSON.parse(JSON.stringify(((_flowdata$row_index4 = flowdata[row_index]) === null || _flowdata$row_index4 === void 0 ? void 0 : _flowdata$row_index4[col_index]) || null));
|
|
58255
58271
|
var box = document.querySelector(".leankylin-cell-area");
|
|
58256
58272
|
if (box) {
|
|
58257
|
-
|
|
58258
|
-
|
|
58273
|
+
if (ctx.luckysheetPaintModelOn) {
|
|
58274
|
+
box.style.cursor = PAINT_MODEL_CURSOR;
|
|
58275
|
+
} else {
|
|
58276
|
+
var _currentCellValue$cu;
|
|
58277
|
+
box.style.cursor = (_currentCellValue$cu = currentCellValue === null || currentCellValue === void 0 ? void 0 : currentCellValue.cu) !== null && _currentCellValue$cu !== void 0 ? _currentCellValue$cu : "default";
|
|
58278
|
+
}
|
|
58259
58279
|
}
|
|
58260
58280
|
var yOut = y < 0 || y > ctx.visibledatarow[ctx.visibledatarow.length - 1];
|
|
58261
58281
|
var xOut = x < 0 || x > ctx.visibledatacolumn[ctx.visibledatacolumn.length - 1];
|
|
@@ -58319,8 +58339,12 @@ function handleCellAreaDragOver(ctx, globalCache, e, container) {
|
|
|
58319
58339
|
var currentCellValue = JSON.parse(JSON.stringify((_flowdata$row_index5 = flowdata[row_index]) === null || _flowdata$row_index5 === void 0 ? void 0 : _flowdata$row_index5[col_index]));
|
|
58320
58340
|
var box = document.querySelector(".leankylin-cell-area");
|
|
58321
58341
|
if (box) {
|
|
58322
|
-
|
|
58323
|
-
|
|
58342
|
+
if (ctx.luckysheetPaintModelOn) {
|
|
58343
|
+
box.style.cursor = PAINT_MODEL_CURSOR;
|
|
58344
|
+
} else {
|
|
58345
|
+
var _currentCellValue$cu2;
|
|
58346
|
+
box.style.cursor = (_currentCellValue$cu2 = currentCellValue === null || currentCellValue === void 0 ? void 0 : currentCellValue.cu) !== null && _currentCellValue$cu2 !== void 0 ? _currentCellValue$cu2 : "default";
|
|
58347
|
+
}
|
|
58324
58348
|
}
|
|
58325
58349
|
var yOut = y < 0 || y > ctx.visibledatarow[ctx.visibledatarow.length - 1];
|
|
58326
58350
|
var xOut = x < 0 || x > ctx.visibledatacolumn[ctx.visibledatacolumn.length - 1];
|
|
@@ -58348,6 +58372,12 @@ function handleCellAreaDragOver(ctx, globalCache, e, container) {
|
|
|
58348
58372
|
}
|
|
58349
58373
|
function handleCellAreaMouseMove(ctx, globalCache, e, container) {
|
|
58350
58374
|
var _globalCache$freezen4, _flowdata$row_index6;
|
|
58375
|
+
if (ctx.luckysheetPaintModelOn) {
|
|
58376
|
+
var paintBox = document.querySelector(".leankylin-cell-area");
|
|
58377
|
+
if (paintBox) {
|
|
58378
|
+
paintBox.style.cursor = PAINT_MODEL_CURSOR;
|
|
58379
|
+
}
|
|
58380
|
+
}
|
|
58351
58381
|
var afterCellMouseMove = ctx.hooks.afterCellMouseMove;
|
|
58352
58382
|
if (!afterCellMouseMove) {
|
|
58353
58383
|
return;
|
|
@@ -58375,8 +58405,12 @@ function handleCellAreaMouseMove(ctx, globalCache, e, container) {
|
|
|
58375
58405
|
var currentCellValue = JSON.parse(JSON.stringify(((_flowdata$row_index6 = flowdata[row_index]) === null || _flowdata$row_index6 === void 0 ? void 0 : _flowdata$row_index6[col_index]) || null));
|
|
58376
58406
|
var box = document.querySelector(".leankylin-cell-area");
|
|
58377
58407
|
if (box) {
|
|
58378
|
-
|
|
58379
|
-
|
|
58408
|
+
if (ctx.luckysheetPaintModelOn) {
|
|
58409
|
+
box.style.cursor = PAINT_MODEL_CURSOR;
|
|
58410
|
+
} else {
|
|
58411
|
+
var _currentCellValue$cu3;
|
|
58412
|
+
box.style.cursor = (_currentCellValue$cu3 = currentCellValue === null || currentCellValue === void 0 ? void 0 : currentCellValue.cu) !== null && _currentCellValue$cu3 !== void 0 ? _currentCellValue$cu3 : "default";
|
|
58413
|
+
}
|
|
58380
58414
|
}
|
|
58381
58415
|
var yOut = y < 0 || y > ctx.visibledatarow[ctx.visibledatarow.length - 1];
|
|
58382
58416
|
var xOut = x < 0 || x > ctx.visibledatacolumn[ctx.visibledatacolumn.length - 1];
|
|
@@ -61390,6 +61424,7 @@ exports.Canvas = Canvas;
|
|
|
61390
61424
|
exports.FormulaCache = FormulaCache;
|
|
61391
61425
|
exports.MAX_ZOOM_RATIO = MAX_ZOOM_RATIO;
|
|
61392
61426
|
exports.MIN_ZOOM_RATIO = MIN_ZOOM_RATIO;
|
|
61427
|
+
exports.PAINT_MODEL_CURSOR = PAINT_MODEL_CURSOR;
|
|
61393
61428
|
exports.addSheet = addSheet;
|
|
61394
61429
|
exports.api = index;
|
|
61395
61430
|
exports.applyLocation = applyLocation;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@leankylin-sheet/core",
|
|
3
|
-
"version": "
|
|
3
|
+
"version": "7.0.2",
|
|
4
4
|
"main": "dist/index.js",
|
|
5
5
|
"module": "dist/index.esm.js",
|
|
6
6
|
"typings": "dist/index.d.ts",
|
|
@@ -13,7 +13,7 @@
|
|
|
13
13
|
"build": "father-build"
|
|
14
14
|
},
|
|
15
15
|
"dependencies": {
|
|
16
|
-
"@leankylin-sheet/formula-parser": "
|
|
16
|
+
"@leankylin-sheet/formula-parser": "7.0.2",
|
|
17
17
|
"dayjs": "^1.11.0",
|
|
18
18
|
"immer": "^9.0.12",
|
|
19
19
|
"lodash": "^4.17.21",
|