@fileverse-dev/fortune-core 1.0.2-mod-25-patch-1 → 1.0.2-mod-26
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 +22 -113
- package/dist/index.js +21 -114
- package/dist/locale/en.d.ts +0 -2
- package/dist/locale/es.d.ts +0 -1
- package/dist/locale/hi.d.ts +0 -1
- package/dist/locale/index.d.ts +0 -2
- package/dist/locale/zh.d.ts +0 -2
- package/dist/locale/zh_tw.d.ts +0 -1
- package/dist/utils/index.d.ts +0 -1
- package/package.json +2 -2
- package/dist/utils/freeze.d.ts +0 -7
package/dist/index.esm.js
CHANGED
|
@@ -9075,7 +9075,6 @@ var en = {
|
|
|
9075
9075
|
},
|
|
9076
9076
|
button: {
|
|
9077
9077
|
confirm: "OK",
|
|
9078
|
-
apply: "Apply",
|
|
9079
9078
|
cancel: "Cancel",
|
|
9080
9079
|
close: "Close",
|
|
9081
9080
|
update: "Update",
|
|
@@ -9925,8 +9924,8 @@ var en = {
|
|
|
9925
9924
|
rangeRCOverError: "The frozen pane is beyond the visible range, which will lead to abnormal operation. Please reset the frozen area."
|
|
9926
9925
|
},
|
|
9927
9926
|
sort: {
|
|
9928
|
-
asc: "Ascending",
|
|
9929
|
-
desc: "Descending",
|
|
9927
|
+
asc: "Ascending ",
|
|
9928
|
+
desc: "Descending ",
|
|
9930
9929
|
custom: "Custom sort",
|
|
9931
9930
|
hasTitle: "Data has a header row",
|
|
9932
9931
|
sortBy: "Sort by",
|
|
@@ -9942,7 +9941,7 @@ var en = {
|
|
|
9942
9941
|
mergeError: "There are merged cells in the selection, this operation cannot be performed!"
|
|
9943
9942
|
},
|
|
9944
9943
|
filter: {
|
|
9945
|
-
filter: "
|
|
9944
|
+
filter: "create filter",
|
|
9946
9945
|
sortByAsc: "Ascending sort",
|
|
9947
9946
|
sortByDesc: "Descending sort",
|
|
9948
9947
|
filterByColor: "Filter by color",
|
|
@@ -10059,8 +10058,7 @@ var en = {
|
|
|
10059
10058
|
cannotInsertOnRowReadOnly: "Cannot insert on read-only row",
|
|
10060
10059
|
cannotInsertOnColumnReadOnly: "Cannot insert into read-only column",
|
|
10061
10060
|
rowOverLimit: "10000 row limit exceeded",
|
|
10062
|
-
columnOverLimit: "1000 column limit exceeded"
|
|
10063
|
-
conditionFormat: "Conditional formatting"
|
|
10061
|
+
columnOverLimit: "1000 column limit exceeded"
|
|
10064
10062
|
},
|
|
10065
10063
|
comment: {
|
|
10066
10064
|
insert: "Insert",
|
|
@@ -10203,29 +10201,29 @@ var en = {
|
|
|
10203
10201
|
sheetNamecannotIsEmptyError: "Sheet name cannot be empty"
|
|
10204
10202
|
},
|
|
10205
10203
|
conditionformat: {
|
|
10206
|
-
conditionformat_greaterThan: "
|
|
10204
|
+
conditionformat_greaterThan: "Conditionformat-GreaterThan",
|
|
10207
10205
|
conditionformat_greaterThan_title: "Format cells greater than",
|
|
10208
|
-
conditionformat_lessThan: "
|
|
10206
|
+
conditionformat_lessThan: "Conditionformat-LessThan",
|
|
10209
10207
|
conditionformat_lessThan_title: "Format cells smaller than",
|
|
10210
|
-
conditionformat_between: "
|
|
10208
|
+
conditionformat_between: "Conditionformat-Betweenness",
|
|
10211
10209
|
conditionformat_between_title: "Format cells with values between",
|
|
10212
|
-
conditionformat_equal: "
|
|
10210
|
+
conditionformat_equal: "Conditionformat-Equal",
|
|
10213
10211
|
conditionformat_equal_title: "Format cells equal to",
|
|
10214
|
-
conditionformat_textContains: "
|
|
10212
|
+
conditionformat_textContains: "Conditionformat-TextContains",
|
|
10215
10213
|
conditionformat_textContains_title: "Format cells containing the following text",
|
|
10216
|
-
conditionformat_occurrenceDate: "
|
|
10214
|
+
conditionformat_occurrenceDate: "Conditionformat-OccurrenceDate",
|
|
10217
10215
|
conditionformat_occurrenceDate_title: "Format cells containing the following dates",
|
|
10218
|
-
conditionformat_duplicateValue: "
|
|
10216
|
+
conditionformat_duplicateValue: "Conditionformat-DuplicateValue",
|
|
10219
10217
|
conditionformat_duplicateValue_title: "Format cells containing the following types of values",
|
|
10220
|
-
conditionformat_top10: "
|
|
10221
|
-
conditionformat_top10_percent: "
|
|
10218
|
+
conditionformat_top10: "Conditionformat-Top10",
|
|
10219
|
+
conditionformat_top10_percent: "Conditionformat-Top10%",
|
|
10222
10220
|
conditionformat_top10_title: "Format the cells with the highest value",
|
|
10223
|
-
conditionformat_last10: "
|
|
10224
|
-
conditionformat_last10_percent: "
|
|
10221
|
+
conditionformat_last10: "Conditionformat-Last10",
|
|
10222
|
+
conditionformat_last10_percent: "Conditionformat-Last10%",
|
|
10225
10223
|
conditionformat_last10_title: "Format the cells with the smallest value",
|
|
10226
|
-
conditionformat_aboveAverage: "
|
|
10224
|
+
conditionformat_aboveAverage: "Conditionformat-AboveAverage",
|
|
10227
10225
|
conditionformat_aboveAverage_title: "Format cells above average",
|
|
10228
|
-
conditionformat_belowAverage: "
|
|
10226
|
+
conditionformat_belowAverage: "Conditionformat-SubAverage",
|
|
10229
10227
|
conditionformat_belowAverage_title: "Format cells below average",
|
|
10230
10228
|
rule: "Rule",
|
|
10231
10229
|
newRule: "New rule",
|
|
@@ -10242,7 +10240,7 @@ var en = {
|
|
|
10242
10240
|
setFormat: "Set format",
|
|
10243
10241
|
setAs: "Set as",
|
|
10244
10242
|
setAsByArea: "For the selected area, set to",
|
|
10245
|
-
applyRange: "Apply
|
|
10243
|
+
applyRange: "Apply range",
|
|
10246
10244
|
selectRange: "Select application range",
|
|
10247
10245
|
selectRange_percent: "Percentage of selected range",
|
|
10248
10246
|
selectRange_average: "Average value of selected range",
|
|
@@ -10411,7 +10409,7 @@ var en = {
|
|
|
10411
10409
|
}],
|
|
10412
10410
|
dataVerification: {
|
|
10413
10411
|
cellRange: "Cell range",
|
|
10414
|
-
selectCellRange: "
|
|
10412
|
+
selectCellRange: "Click to select a cell range",
|
|
10415
10413
|
selectCellRange2: "Please select a range of cells",
|
|
10416
10414
|
verificationCondition: "Verification condition",
|
|
10417
10415
|
allowMultiSelect: "Allow multiple selection",
|
|
@@ -19613,7 +19611,6 @@ var zh = {
|
|
|
19613
19611
|
},
|
|
19614
19612
|
button: {
|
|
19615
19613
|
confirm: "确定",
|
|
19616
|
-
apply: "应用",
|
|
19617
19614
|
cancel: "取消",
|
|
19618
19615
|
close: "关闭",
|
|
19619
19616
|
update: "Update",
|
|
@@ -20629,8 +20626,7 @@ var zh = {
|
|
|
20629
20626
|
cannotInsertOnRowReadOnly: "无法对只读行插入",
|
|
20630
20627
|
cannotInsertOnColumnReadOnly: "无法对只读列插入",
|
|
20631
20628
|
rowOverLimit: "超出10000行限制",
|
|
20632
|
-
columnOverLimit: "超出1000列限制"
|
|
20633
|
-
conditionFormat: "条件格式"
|
|
20629
|
+
columnOverLimit: "超出1000列限制"
|
|
20634
20630
|
},
|
|
20635
20631
|
comment: {
|
|
20636
20632
|
insert: "新建批注",
|
|
@@ -30171,7 +30167,6 @@ var es = {
|
|
|
30171
30167
|
},
|
|
30172
30168
|
button: {
|
|
30173
30169
|
confirm: "Vale",
|
|
30174
|
-
apply: "Aplicar",
|
|
30175
30170
|
cancel: "Cancelar",
|
|
30176
30171
|
close: "Cerrar",
|
|
30177
30172
|
update: "Actualizar",
|
|
@@ -40208,7 +40203,6 @@ var hi = {
|
|
|
40208
40203
|
},
|
|
40209
40204
|
button: {
|
|
40210
40205
|
confirm: "ठीक है",
|
|
40211
|
-
apply: "लागू करें",
|
|
40212
40206
|
cancel: "रद्द करें",
|
|
40213
40207
|
close: "बंद करें",
|
|
40214
40208
|
update: "अपडेट करें",
|
|
@@ -50734,7 +50728,6 @@ var zh_tw = {
|
|
|
50734
50728
|
},
|
|
50735
50729
|
button: {
|
|
50736
50730
|
confirm: "確定",
|
|
50737
|
-
apply: "應用",
|
|
50738
50731
|
cancel: "取消",
|
|
50739
50732
|
close: "關閉",
|
|
50740
50733
|
update: "Update",
|
|
@@ -75464,90 +75457,6 @@ function inverseRowColOptions(options) {
|
|
|
75464
75457
|
return options;
|
|
75465
75458
|
}
|
|
75466
75459
|
|
|
75467
|
-
var getFreezeState = function getFreezeState(ctx) {
|
|
75468
|
-
var _ctx$luckysheetfile$s, _ctx$luckysheet_selec, _frozen$range, _frozen$range2;
|
|
75469
|
-
var sheetIndex = getSheetIndex(ctx, ctx.currentSheetId);
|
|
75470
|
-
if (sheetIndex == null) return {
|
|
75471
|
-
isRowFrozen: false,
|
|
75472
|
-
isColFrozen: false
|
|
75473
|
-
};
|
|
75474
|
-
var frozen = (_ctx$luckysheetfile$s = ctx.luckysheetfile[sheetIndex]) === null || _ctx$luckysheetfile$s === void 0 ? void 0 : _ctx$luckysheetfile$s.frozen;
|
|
75475
|
-
var selection = (_ctx$luckysheet_selec = ctx.luckysheet_select_save) === null || _ctx$luckysheet_selec === void 0 ? void 0 : _ctx$luckysheet_selec[0];
|
|
75476
|
-
if (!selection) return {
|
|
75477
|
-
isRowFrozen: false,
|
|
75478
|
-
isColFrozen: false
|
|
75479
|
-
};
|
|
75480
|
-
var frozenRow = frozen === null || frozen === void 0 ? void 0 : (_frozen$range = frozen.range) === null || _frozen$range === void 0 ? void 0 : _frozen$range.row_focus;
|
|
75481
|
-
var frozenCol = frozen === null || frozen === void 0 ? void 0 : (_frozen$range2 = frozen.range) === null || _frozen$range2 === void 0 ? void 0 : _frozen$range2.column_focus;
|
|
75482
|
-
var isRowFrozen = typeof frozenRow === "number" && frozenRow === selection.row_focus;
|
|
75483
|
-
var isColFrozen = typeof frozenCol === "number" && frozenCol === selection.column_focus;
|
|
75484
|
-
return {
|
|
75485
|
-
isRowFrozen: isRowFrozen,
|
|
75486
|
-
isColFrozen: isColFrozen
|
|
75487
|
-
};
|
|
75488
|
-
};
|
|
75489
|
-
var toggleFreeze = function toggleFreeze(ctx, type) {
|
|
75490
|
-
var _ctx$luckysheet_selec2, _sheet$frozen, _frozen$range3, _selection$row_focus, _selection$column_foc, _selection$row_focus2, _selection$column_foc2;
|
|
75491
|
-
var selection = (_ctx$luckysheet_selec2 = ctx.luckysheet_select_save) === null || _ctx$luckysheet_selec2 === void 0 ? void 0 : _ctx$luckysheet_selec2[0];
|
|
75492
|
-
if (!selection) return;
|
|
75493
|
-
var sheetIndex = getSheetIndex(ctx, ctx.currentSheetId);
|
|
75494
|
-
var sheet = ctx.luckysheetfile[sheetIndex];
|
|
75495
|
-
var frozen = (_sheet$frozen = sheet.frozen) !== null && _sheet$frozen !== void 0 ? _sheet$frozen : {
|
|
75496
|
-
range: {
|
|
75497
|
-
row_focus: -1,
|
|
75498
|
-
column_focus: -1
|
|
75499
|
-
}
|
|
75500
|
-
};
|
|
75501
|
-
var _ref = (_frozen$range3 = frozen.range) !== null && _frozen$range3 !== void 0 ? _frozen$range3 : {
|
|
75502
|
-
row_focus: -1,
|
|
75503
|
-
column_focus: -1
|
|
75504
|
-
},
|
|
75505
|
-
row_focus = _ref.row_focus,
|
|
75506
|
-
column_focus = _ref.column_focus;
|
|
75507
|
-
switch (type) {
|
|
75508
|
-
case "row":
|
|
75509
|
-
row_focus = (_selection$row_focus = selection.row_focus) !== null && _selection$row_focus !== void 0 ? _selection$row_focus : -1;
|
|
75510
|
-
break;
|
|
75511
|
-
case "column":
|
|
75512
|
-
column_focus = (_selection$column_foc = selection.column_focus) !== null && _selection$column_foc !== void 0 ? _selection$column_foc : -1;
|
|
75513
|
-
break;
|
|
75514
|
-
case "both":
|
|
75515
|
-
row_focus = (_selection$row_focus2 = selection.row_focus) !== null && _selection$row_focus2 !== void 0 ? _selection$row_focus2 : -1;
|
|
75516
|
-
column_focus = (_selection$column_foc2 = selection.column_focus) !== null && _selection$column_foc2 !== void 0 ? _selection$column_foc2 : -1;
|
|
75517
|
-
break;
|
|
75518
|
-
case "unfreeze-row":
|
|
75519
|
-
row_focus = -1;
|
|
75520
|
-
break;
|
|
75521
|
-
case "unfreeze-column":
|
|
75522
|
-
column_focus = -1;
|
|
75523
|
-
break;
|
|
75524
|
-
case "unfreeze-all":
|
|
75525
|
-
delete sheet.frozen;
|
|
75526
|
-
return;
|
|
75527
|
-
}
|
|
75528
|
-
var hasRow = row_focus >= 0;
|
|
75529
|
-
var hasCol = column_focus >= 0;
|
|
75530
|
-
if (!hasRow && !hasCol) {
|
|
75531
|
-
delete sheet.frozen;
|
|
75532
|
-
return;
|
|
75533
|
-
}
|
|
75534
|
-
var newType;
|
|
75535
|
-
if (hasRow && hasCol) {
|
|
75536
|
-
newType = "both";
|
|
75537
|
-
} else if (hasRow) {
|
|
75538
|
-
newType = "row";
|
|
75539
|
-
} else {
|
|
75540
|
-
newType = "column";
|
|
75541
|
-
}
|
|
75542
|
-
sheet.frozen = {
|
|
75543
|
-
type: newType,
|
|
75544
|
-
range: {
|
|
75545
|
-
row_focus: row_focus,
|
|
75546
|
-
column_focus: column_focus
|
|
75547
|
-
}
|
|
75548
|
-
};
|
|
75549
|
-
};
|
|
75550
|
-
|
|
75551
75460
|
function generateRandomSheetName(file, isPivotTable, ctx) {
|
|
75552
75461
|
var index = file.length;
|
|
75553
75462
|
var locale_pivotTable = locale(ctx).pivotTable;
|
|
@@ -76405,7 +76314,7 @@ var defaultSettings = {
|
|
|
76405
76314
|
defaultRowHeight: 19,
|
|
76406
76315
|
defaultFontSize: 10,
|
|
76407
76316
|
toolbarItems: ["undo", "redo", "format-painter", "clear-format", "|", "currency-format", "percentage-format", "number-decrease", "number-increase", "format", "|", "font", "|", "font-size", "|", "bold", "italic", "strike-through", "underline", "|", "font-color", "background", "border", "merge-cell", "|", "horizontal-align", "vertical-align", "text-wrap", "text-rotation", "|", "freeze", "conditionFormat", "filter", "link", "image", "comment", "quick-formula", "dataVerification", "splitColumn", "locationCondition", "screenshot", "search"],
|
|
76408
|
-
cellContextMenu: ["copy", "paste", "
|
|
76317
|
+
cellContextMenu: ["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", "comment"],
|
|
76409
76318
|
headerContextMenu: ["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"],
|
|
76410
76319
|
sheetTabContextMenu: ["delete", "copy", "rename", "color", "hide", "|", "move"],
|
|
76411
76320
|
filterContextMenu: ["sort-by-asc", "sort-by-desc", "|", "filter-by-color", "|", "filter-by-value"],
|
|
@@ -79935,4 +79844,4 @@ function handlePasteByClick(ctx, clipboardData, triggerType) {
|
|
|
79935
79844
|
} else ;
|
|
79936
79845
|
}
|
|
79937
79846
|
|
|
79938
|
-
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, 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, escapeScriptTag, execFunctionGroup, execfunction, expandRowsAndColumns, extractFormulaCellOps, filterPatch, fixColumnStyleOverflowInFreeze, fixPositionOnFrozenCells, fixRowStyleOverflowInFreeze, functionCopy, functionHTMLGenerate, functionStrChange, genarate, generateRandomId, generateRandomSheetName, getAllFunctionGroup, getArrowCanvasSize, getBorderInfoCompute, getBorderInfoComputeRange, getCellHyperlink, getCellRowColumn, getCellTextInfo, getCellTopRightPostion, getCellValue, getColMerge, getColorGradation, getCommentBoxByRC, getCommentBoxPosition, getComputeMap, getCurrentRules, getDataArr, getDataBySelectionNoCopy, getDropdownList, getFailureText, getFilterColumnColors, getFilterColumnValues, getFlattenedRange, getFlowdata, getFontSet, getFontStyleByCell,
|
|
79847
|
+
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, 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, escapeScriptTag, execFunctionGroup, execfunction, expandRowsAndColumns, extractFormulaCellOps, filterPatch, fixColumnStyleOverflowInFreeze, fixPositionOnFrozenCells, fixRowStyleOverflowInFreeze, functionCopy, functionHTMLGenerate, functionStrChange, genarate, generateRandomId, generateRandomSheetName, getAllFunctionGroup, getArrowCanvasSize, getBorderInfoCompute, getBorderInfoComputeRange, getCellHyperlink, getCellRowColumn, getCellTextInfo, getCellTopRightPostion, getCellValue, getColMerge, getColorGradation, getCommentBoxByRC, getCommentBoxPosition, getComputeMap, getCurrentRules, getDataArr, getDataBySelectionNoCopy, getDropdownList, getFailureText, getFilterColumnColors, getFilterColumnValues, getFlattenedRange, getFlowdata, getFontSet, getFontStyleByCell, getFrozenHandleLeft, getFrozenHandleTop, 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, handleCellAreaMouseDown, handleClearFormat, handleColFreezeHandleMouseDown, handleColSizeHandleMouseDown, handleColumnHeaderMouseDown, handleContextMenu, handleCopy, handleCurrencyFormat, handleFormatPainter, handleFormulaInput, handleFreeze, handleGlobalEnter, handleGlobalKeyDown, handleGlobalWheel, handleHorizontalAlign, handleItalic, handleKeydownForZoom, handleLink, handleMerge, handleNumberDecrease, handleNumberIncrease, handleOverlayMouseMove, handleOverlayMouseUp, handleOverlayTouchEnd, handleOverlayTouchMove, handleOverlayTouchStart, handlePaste, handlePasteByClick, 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, removeOverShowComment, 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, 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
|
@@ -9085,7 +9085,6 @@ var en = {
|
|
|
9085
9085
|
},
|
|
9086
9086
|
button: {
|
|
9087
9087
|
confirm: "OK",
|
|
9088
|
-
apply: "Apply",
|
|
9089
9088
|
cancel: "Cancel",
|
|
9090
9089
|
close: "Close",
|
|
9091
9090
|
update: "Update",
|
|
@@ -9935,8 +9934,8 @@ var en = {
|
|
|
9935
9934
|
rangeRCOverError: "The frozen pane is beyond the visible range, which will lead to abnormal operation. Please reset the frozen area."
|
|
9936
9935
|
},
|
|
9937
9936
|
sort: {
|
|
9938
|
-
asc: "Ascending",
|
|
9939
|
-
desc: "Descending",
|
|
9937
|
+
asc: "Ascending ",
|
|
9938
|
+
desc: "Descending ",
|
|
9940
9939
|
custom: "Custom sort",
|
|
9941
9940
|
hasTitle: "Data has a header row",
|
|
9942
9941
|
sortBy: "Sort by",
|
|
@@ -9952,7 +9951,7 @@ var en = {
|
|
|
9952
9951
|
mergeError: "There are merged cells in the selection, this operation cannot be performed!"
|
|
9953
9952
|
},
|
|
9954
9953
|
filter: {
|
|
9955
|
-
filter: "
|
|
9954
|
+
filter: "create filter",
|
|
9956
9955
|
sortByAsc: "Ascending sort",
|
|
9957
9956
|
sortByDesc: "Descending sort",
|
|
9958
9957
|
filterByColor: "Filter by color",
|
|
@@ -10069,8 +10068,7 @@ var en = {
|
|
|
10069
10068
|
cannotInsertOnRowReadOnly: "Cannot insert on read-only row",
|
|
10070
10069
|
cannotInsertOnColumnReadOnly: "Cannot insert into read-only column",
|
|
10071
10070
|
rowOverLimit: "10000 row limit exceeded",
|
|
10072
|
-
columnOverLimit: "1000 column limit exceeded"
|
|
10073
|
-
conditionFormat: "Conditional formatting"
|
|
10071
|
+
columnOverLimit: "1000 column limit exceeded"
|
|
10074
10072
|
},
|
|
10075
10073
|
comment: {
|
|
10076
10074
|
insert: "Insert",
|
|
@@ -10213,29 +10211,29 @@ var en = {
|
|
|
10213
10211
|
sheetNamecannotIsEmptyError: "Sheet name cannot be empty"
|
|
10214
10212
|
},
|
|
10215
10213
|
conditionformat: {
|
|
10216
|
-
conditionformat_greaterThan: "
|
|
10214
|
+
conditionformat_greaterThan: "Conditionformat-GreaterThan",
|
|
10217
10215
|
conditionformat_greaterThan_title: "Format cells greater than",
|
|
10218
|
-
conditionformat_lessThan: "
|
|
10216
|
+
conditionformat_lessThan: "Conditionformat-LessThan",
|
|
10219
10217
|
conditionformat_lessThan_title: "Format cells smaller than",
|
|
10220
|
-
conditionformat_between: "
|
|
10218
|
+
conditionformat_between: "Conditionformat-Betweenness",
|
|
10221
10219
|
conditionformat_between_title: "Format cells with values between",
|
|
10222
|
-
conditionformat_equal: "
|
|
10220
|
+
conditionformat_equal: "Conditionformat-Equal",
|
|
10223
10221
|
conditionformat_equal_title: "Format cells equal to",
|
|
10224
|
-
conditionformat_textContains: "
|
|
10222
|
+
conditionformat_textContains: "Conditionformat-TextContains",
|
|
10225
10223
|
conditionformat_textContains_title: "Format cells containing the following text",
|
|
10226
|
-
conditionformat_occurrenceDate: "
|
|
10224
|
+
conditionformat_occurrenceDate: "Conditionformat-OccurrenceDate",
|
|
10227
10225
|
conditionformat_occurrenceDate_title: "Format cells containing the following dates",
|
|
10228
|
-
conditionformat_duplicateValue: "
|
|
10226
|
+
conditionformat_duplicateValue: "Conditionformat-DuplicateValue",
|
|
10229
10227
|
conditionformat_duplicateValue_title: "Format cells containing the following types of values",
|
|
10230
|
-
conditionformat_top10: "
|
|
10231
|
-
conditionformat_top10_percent: "
|
|
10228
|
+
conditionformat_top10: "Conditionformat-Top10",
|
|
10229
|
+
conditionformat_top10_percent: "Conditionformat-Top10%",
|
|
10232
10230
|
conditionformat_top10_title: "Format the cells with the highest value",
|
|
10233
|
-
conditionformat_last10: "
|
|
10234
|
-
conditionformat_last10_percent: "
|
|
10231
|
+
conditionformat_last10: "Conditionformat-Last10",
|
|
10232
|
+
conditionformat_last10_percent: "Conditionformat-Last10%",
|
|
10235
10233
|
conditionformat_last10_title: "Format the cells with the smallest value",
|
|
10236
|
-
conditionformat_aboveAverage: "
|
|
10234
|
+
conditionformat_aboveAverage: "Conditionformat-AboveAverage",
|
|
10237
10235
|
conditionformat_aboveAverage_title: "Format cells above average",
|
|
10238
|
-
conditionformat_belowAverage: "
|
|
10236
|
+
conditionformat_belowAverage: "Conditionformat-SubAverage",
|
|
10239
10237
|
conditionformat_belowAverage_title: "Format cells below average",
|
|
10240
10238
|
rule: "Rule",
|
|
10241
10239
|
newRule: "New rule",
|
|
@@ -10252,7 +10250,7 @@ var en = {
|
|
|
10252
10250
|
setFormat: "Set format",
|
|
10253
10251
|
setAs: "Set as",
|
|
10254
10252
|
setAsByArea: "For the selected area, set to",
|
|
10255
|
-
applyRange: "Apply
|
|
10253
|
+
applyRange: "Apply range",
|
|
10256
10254
|
selectRange: "Select application range",
|
|
10257
10255
|
selectRange_percent: "Percentage of selected range",
|
|
10258
10256
|
selectRange_average: "Average value of selected range",
|
|
@@ -10421,7 +10419,7 @@ var en = {
|
|
|
10421
10419
|
}],
|
|
10422
10420
|
dataVerification: {
|
|
10423
10421
|
cellRange: "Cell range",
|
|
10424
|
-
selectCellRange: "
|
|
10422
|
+
selectCellRange: "Click to select a cell range",
|
|
10425
10423
|
selectCellRange2: "Please select a range of cells",
|
|
10426
10424
|
verificationCondition: "Verification condition",
|
|
10427
10425
|
allowMultiSelect: "Allow multiple selection",
|
|
@@ -19623,7 +19621,6 @@ var zh = {
|
|
|
19623
19621
|
},
|
|
19624
19622
|
button: {
|
|
19625
19623
|
confirm: "确定",
|
|
19626
|
-
apply: "应用",
|
|
19627
19624
|
cancel: "取消",
|
|
19628
19625
|
close: "关闭",
|
|
19629
19626
|
update: "Update",
|
|
@@ -20639,8 +20636,7 @@ var zh = {
|
|
|
20639
20636
|
cannotInsertOnRowReadOnly: "无法对只读行插入",
|
|
20640
20637
|
cannotInsertOnColumnReadOnly: "无法对只读列插入",
|
|
20641
20638
|
rowOverLimit: "超出10000行限制",
|
|
20642
|
-
columnOverLimit: "超出1000列限制"
|
|
20643
|
-
conditionFormat: "条件格式"
|
|
20639
|
+
columnOverLimit: "超出1000列限制"
|
|
20644
20640
|
},
|
|
20645
20641
|
comment: {
|
|
20646
20642
|
insert: "新建批注",
|
|
@@ -30181,7 +30177,6 @@ var es = {
|
|
|
30181
30177
|
},
|
|
30182
30178
|
button: {
|
|
30183
30179
|
confirm: "Vale",
|
|
30184
|
-
apply: "Aplicar",
|
|
30185
30180
|
cancel: "Cancelar",
|
|
30186
30181
|
close: "Cerrar",
|
|
30187
30182
|
update: "Actualizar",
|
|
@@ -40218,7 +40213,6 @@ var hi = {
|
|
|
40218
40213
|
},
|
|
40219
40214
|
button: {
|
|
40220
40215
|
confirm: "ठीक है",
|
|
40221
|
-
apply: "लागू करें",
|
|
40222
40216
|
cancel: "रद्द करें",
|
|
40223
40217
|
close: "बंद करें",
|
|
40224
40218
|
update: "अपडेट करें",
|
|
@@ -50744,7 +50738,6 @@ var zh_tw = {
|
|
|
50744
50738
|
},
|
|
50745
50739
|
button: {
|
|
50746
50740
|
confirm: "確定",
|
|
50747
|
-
apply: "應用",
|
|
50748
50741
|
cancel: "取消",
|
|
50749
50742
|
close: "關閉",
|
|
50750
50743
|
update: "Update",
|
|
@@ -75474,90 +75467,6 @@ function inverseRowColOptions(options) {
|
|
|
75474
75467
|
return options;
|
|
75475
75468
|
}
|
|
75476
75469
|
|
|
75477
|
-
var getFreezeState = function getFreezeState(ctx) {
|
|
75478
|
-
var _ctx$luckysheetfile$s, _ctx$luckysheet_selec, _frozen$range, _frozen$range2;
|
|
75479
|
-
var sheetIndex = getSheetIndex(ctx, ctx.currentSheetId);
|
|
75480
|
-
if (sheetIndex == null) return {
|
|
75481
|
-
isRowFrozen: false,
|
|
75482
|
-
isColFrozen: false
|
|
75483
|
-
};
|
|
75484
|
-
var frozen = (_ctx$luckysheetfile$s = ctx.luckysheetfile[sheetIndex]) === null || _ctx$luckysheetfile$s === void 0 ? void 0 : _ctx$luckysheetfile$s.frozen;
|
|
75485
|
-
var selection = (_ctx$luckysheet_selec = ctx.luckysheet_select_save) === null || _ctx$luckysheet_selec === void 0 ? void 0 : _ctx$luckysheet_selec[0];
|
|
75486
|
-
if (!selection) return {
|
|
75487
|
-
isRowFrozen: false,
|
|
75488
|
-
isColFrozen: false
|
|
75489
|
-
};
|
|
75490
|
-
var frozenRow = frozen === null || frozen === void 0 ? void 0 : (_frozen$range = frozen.range) === null || _frozen$range === void 0 ? void 0 : _frozen$range.row_focus;
|
|
75491
|
-
var frozenCol = frozen === null || frozen === void 0 ? void 0 : (_frozen$range2 = frozen.range) === null || _frozen$range2 === void 0 ? void 0 : _frozen$range2.column_focus;
|
|
75492
|
-
var isRowFrozen = typeof frozenRow === "number" && frozenRow === selection.row_focus;
|
|
75493
|
-
var isColFrozen = typeof frozenCol === "number" && frozenCol === selection.column_focus;
|
|
75494
|
-
return {
|
|
75495
|
-
isRowFrozen: isRowFrozen,
|
|
75496
|
-
isColFrozen: isColFrozen
|
|
75497
|
-
};
|
|
75498
|
-
};
|
|
75499
|
-
var toggleFreeze = function toggleFreeze(ctx, type) {
|
|
75500
|
-
var _ctx$luckysheet_selec2, _sheet$frozen, _frozen$range3, _selection$row_focus, _selection$column_foc, _selection$row_focus2, _selection$column_foc2;
|
|
75501
|
-
var selection = (_ctx$luckysheet_selec2 = ctx.luckysheet_select_save) === null || _ctx$luckysheet_selec2 === void 0 ? void 0 : _ctx$luckysheet_selec2[0];
|
|
75502
|
-
if (!selection) return;
|
|
75503
|
-
var sheetIndex = getSheetIndex(ctx, ctx.currentSheetId);
|
|
75504
|
-
var sheet = ctx.luckysheetfile[sheetIndex];
|
|
75505
|
-
var frozen = (_sheet$frozen = sheet.frozen) !== null && _sheet$frozen !== void 0 ? _sheet$frozen : {
|
|
75506
|
-
range: {
|
|
75507
|
-
row_focus: -1,
|
|
75508
|
-
column_focus: -1
|
|
75509
|
-
}
|
|
75510
|
-
};
|
|
75511
|
-
var _ref = (_frozen$range3 = frozen.range) !== null && _frozen$range3 !== void 0 ? _frozen$range3 : {
|
|
75512
|
-
row_focus: -1,
|
|
75513
|
-
column_focus: -1
|
|
75514
|
-
},
|
|
75515
|
-
row_focus = _ref.row_focus,
|
|
75516
|
-
column_focus = _ref.column_focus;
|
|
75517
|
-
switch (type) {
|
|
75518
|
-
case "row":
|
|
75519
|
-
row_focus = (_selection$row_focus = selection.row_focus) !== null && _selection$row_focus !== void 0 ? _selection$row_focus : -1;
|
|
75520
|
-
break;
|
|
75521
|
-
case "column":
|
|
75522
|
-
column_focus = (_selection$column_foc = selection.column_focus) !== null && _selection$column_foc !== void 0 ? _selection$column_foc : -1;
|
|
75523
|
-
break;
|
|
75524
|
-
case "both":
|
|
75525
|
-
row_focus = (_selection$row_focus2 = selection.row_focus) !== null && _selection$row_focus2 !== void 0 ? _selection$row_focus2 : -1;
|
|
75526
|
-
column_focus = (_selection$column_foc2 = selection.column_focus) !== null && _selection$column_foc2 !== void 0 ? _selection$column_foc2 : -1;
|
|
75527
|
-
break;
|
|
75528
|
-
case "unfreeze-row":
|
|
75529
|
-
row_focus = -1;
|
|
75530
|
-
break;
|
|
75531
|
-
case "unfreeze-column":
|
|
75532
|
-
column_focus = -1;
|
|
75533
|
-
break;
|
|
75534
|
-
case "unfreeze-all":
|
|
75535
|
-
delete sheet.frozen;
|
|
75536
|
-
return;
|
|
75537
|
-
}
|
|
75538
|
-
var hasRow = row_focus >= 0;
|
|
75539
|
-
var hasCol = column_focus >= 0;
|
|
75540
|
-
if (!hasRow && !hasCol) {
|
|
75541
|
-
delete sheet.frozen;
|
|
75542
|
-
return;
|
|
75543
|
-
}
|
|
75544
|
-
var newType;
|
|
75545
|
-
if (hasRow && hasCol) {
|
|
75546
|
-
newType = "both";
|
|
75547
|
-
} else if (hasRow) {
|
|
75548
|
-
newType = "row";
|
|
75549
|
-
} else {
|
|
75550
|
-
newType = "column";
|
|
75551
|
-
}
|
|
75552
|
-
sheet.frozen = {
|
|
75553
|
-
type: newType,
|
|
75554
|
-
range: {
|
|
75555
|
-
row_focus: row_focus,
|
|
75556
|
-
column_focus: column_focus
|
|
75557
|
-
}
|
|
75558
|
-
};
|
|
75559
|
-
};
|
|
75560
|
-
|
|
75561
75470
|
function generateRandomSheetName(file, isPivotTable, ctx) {
|
|
75562
75471
|
var index = file.length;
|
|
75563
75472
|
var locale_pivotTable = locale(ctx).pivotTable;
|
|
@@ -76415,7 +76324,7 @@ var defaultSettings = {
|
|
|
76415
76324
|
defaultRowHeight: 19,
|
|
76416
76325
|
defaultFontSize: 10,
|
|
76417
76326
|
toolbarItems: ["undo", "redo", "format-painter", "clear-format", "|", "currency-format", "percentage-format", "number-decrease", "number-increase", "format", "|", "font", "|", "font-size", "|", "bold", "italic", "strike-through", "underline", "|", "font-color", "background", "border", "merge-cell", "|", "horizontal-align", "vertical-align", "text-wrap", "text-rotation", "|", "freeze", "conditionFormat", "filter", "link", "image", "comment", "quick-formula", "dataVerification", "splitColumn", "locationCondition", "screenshot", "search"],
|
|
76418
|
-
cellContextMenu: ["copy", "paste", "
|
|
76327
|
+
cellContextMenu: ["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", "comment"],
|
|
76419
76328
|
headerContextMenu: ["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"],
|
|
76420
76329
|
sheetTabContextMenu: ["delete", "copy", "rename", "color", "hide", "|", "move"],
|
|
76421
76330
|
filterContextMenu: ["sort-by-asc", "sort-by-desc", "|", "filter-by-color", "|", "filter-by-value"],
|
|
@@ -80050,7 +79959,6 @@ exports.getFlattenedRange = getFlattenedRange;
|
|
|
80050
79959
|
exports.getFlowdata = getFlowdata;
|
|
80051
79960
|
exports.getFontSet = getFontSet;
|
|
80052
79961
|
exports.getFontStyleByCell = getFontStyleByCell;
|
|
80053
|
-
exports.getFreezeState = getFreezeState;
|
|
80054
79962
|
exports.getFrozenHandleLeft = getFrozenHandleLeft;
|
|
80055
79963
|
exports.getFrozenHandleTop = getFrozenHandleTop;
|
|
80056
79964
|
exports.getHintText = getHintText;
|
|
@@ -80253,7 +80161,6 @@ exports.showSelected = showSelected;
|
|
|
80253
80161
|
exports.sortDataRange = sortDataRange;
|
|
80254
80162
|
exports.sortSelection = sortSelection;
|
|
80255
80163
|
exports.storeSheetParamALL = storeSheetParamALL;
|
|
80256
|
-
exports.toggleFreeze = toggleFreeze;
|
|
80257
80164
|
exports.toolbarItemClickHandler = toolbarItemClickHandler;
|
|
80258
80165
|
exports.toolbarItemSelectedFunc = toolbarItemSelectedFunc;
|
|
80259
80166
|
exports.update = update;
|
package/dist/locale/en.d.ts
CHANGED
|
@@ -101,7 +101,6 @@ declare const _default: {
|
|
|
101
101
|
};
|
|
102
102
|
button: {
|
|
103
103
|
confirm: string;
|
|
104
|
-
apply: string;
|
|
105
104
|
cancel: string;
|
|
106
105
|
close: string;
|
|
107
106
|
update: string;
|
|
@@ -378,7 +377,6 @@ declare const _default: {
|
|
|
378
377
|
cannotInsertOnColumnReadOnly: string;
|
|
379
378
|
rowOverLimit: string;
|
|
380
379
|
columnOverLimit: string;
|
|
381
|
-
conditionFormat: string;
|
|
382
380
|
};
|
|
383
381
|
comment: {
|
|
384
382
|
insert: string;
|
package/dist/locale/es.d.ts
CHANGED
package/dist/locale/hi.d.ts
CHANGED
package/dist/locale/index.d.ts
CHANGED
|
@@ -143,7 +143,6 @@ declare function locale(ctx: Context): {
|
|
|
143
143
|
};
|
|
144
144
|
button: {
|
|
145
145
|
confirm: string;
|
|
146
|
-
apply: string;
|
|
147
146
|
cancel: string;
|
|
148
147
|
close: string;
|
|
149
148
|
update: string;
|
|
@@ -438,7 +437,6 @@ declare function locale(ctx: Context): {
|
|
|
438
437
|
cannotInsertOnColumnReadOnly: string;
|
|
439
438
|
rowOverLimit: string;
|
|
440
439
|
columnOverLimit: string;
|
|
441
|
-
conditionFormat: string;
|
|
442
440
|
};
|
|
443
441
|
comment: {
|
|
444
442
|
insert: string;
|
package/dist/locale/zh.d.ts
CHANGED
|
@@ -142,7 +142,6 @@ declare const _default: {
|
|
|
142
142
|
};
|
|
143
143
|
button: {
|
|
144
144
|
confirm: string;
|
|
145
|
-
apply: string;
|
|
146
145
|
cancel: string;
|
|
147
146
|
close: string;
|
|
148
147
|
update: string;
|
|
@@ -437,7 +436,6 @@ declare const _default: {
|
|
|
437
436
|
cannotInsertOnColumnReadOnly: string;
|
|
438
437
|
rowOverLimit: string;
|
|
439
438
|
columnOverLimit: string;
|
|
440
|
-
conditionFormat: string;
|
|
441
439
|
};
|
|
442
440
|
comment: {
|
|
443
441
|
insert: string;
|
package/dist/locale/zh_tw.d.ts
CHANGED
package/dist/utils/index.d.ts
CHANGED
|
@@ -1,7 +1,6 @@
|
|
|
1
1
|
import { Context } from "../context";
|
|
2
2
|
import { Sheet } from "../types";
|
|
3
3
|
export * from "./patch";
|
|
4
|
-
export * from "./freeze";
|
|
5
4
|
export declare function generateRandomSheetName(file: Sheet[], isPivotTable: boolean, ctx: Context): string;
|
|
6
5
|
export declare function rgbToHex(color: string): string;
|
|
7
6
|
export declare function indexToColumnChar(n: number): string;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@fileverse-dev/fortune-core",
|
|
3
|
-
"version": "1.0.2-mod-
|
|
3
|
+
"version": "1.0.2-mod-26",
|
|
4
4
|
"main": "dist/index.js",
|
|
5
5
|
"module": "dist/index.esm.js",
|
|
6
6
|
"typings": "dist/index.d.ts",
|
|
@@ -10,7 +10,7 @@
|
|
|
10
10
|
"repository": "https://github.com/ruilisi/fortune-sheet",
|
|
11
11
|
"license": "MIT",
|
|
12
12
|
"dependencies": {
|
|
13
|
-
"@fileverse-dev/formula-parser": "^0.2.13-mod-
|
|
13
|
+
"@fileverse-dev/formula-parser": "^0.2.13-mod-5",
|
|
14
14
|
"dayjs": "^1.11.0",
|
|
15
15
|
"immer": "^9.0.12",
|
|
16
16
|
"lodash": "^4.17.21",
|
package/dist/utils/freeze.d.ts
DELETED
|
@@ -1,7 +0,0 @@
|
|
|
1
|
-
import { Context } from "../context";
|
|
2
|
-
export declare const getFreezeState: (ctx: Context) => {
|
|
3
|
-
isRowFrozen: boolean;
|
|
4
|
-
isColFrozen: boolean;
|
|
5
|
-
};
|
|
6
|
-
export type FreezeType = "row" | "column" | "both" | "unfreeze-row" | "unfreeze-column" | "unfreeze-all";
|
|
7
|
-
export declare const toggleFreeze: (ctx: Context, type: FreezeType) => void;
|