@fileverse-dev/fortune-core 1.0.2-mod-23 → 1.0.2-mod-20-patch-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/index.esm.js +6 -90
- package/dist/index.js +5 -91
- package/dist/utils/index.d.ts +0 -1
- package/package.json +1 -1
- package/dist/utils/freeze.d.ts +0 -7
package/dist/index.esm.js
CHANGED
|
@@ -10145,15 +10145,15 @@ var en = {
|
|
|
10145
10145
|
locationExample: "Location",
|
|
10146
10146
|
lessTwoRowTip: "Please select at least two rows",
|
|
10147
10147
|
lessTwoColumnTip: "Please select at least two columns",
|
|
10148
|
-
findTextbox: "Find",
|
|
10149
|
-
replaceTextbox: "Replace
|
|
10148
|
+
findTextbox: "Find Content",
|
|
10149
|
+
replaceTextbox: "Replace Content",
|
|
10150
10150
|
regexTextbox: "Regular Expression",
|
|
10151
10151
|
wholeTextbox: "Whole word",
|
|
10152
10152
|
distinguishTextbox: "Case sensitive",
|
|
10153
|
-
allReplaceBtn: "Replace
|
|
10153
|
+
allReplaceBtn: "Replace All",
|
|
10154
10154
|
replaceBtn: "Replace",
|
|
10155
|
-
allFindBtn: "Find
|
|
10156
|
-
findBtn: "Find",
|
|
10155
|
+
allFindBtn: "Find All",
|
|
10156
|
+
findBtn: "Find next",
|
|
10157
10157
|
noFindTip: "The content was not found",
|
|
10158
10158
|
modeTip: "This operation is not available in this mode",
|
|
10159
10159
|
searchTargetSheet: "Sheet",
|
|
@@ -75457,90 +75457,6 @@ function inverseRowColOptions(options) {
|
|
|
75457
75457
|
return options;
|
|
75458
75458
|
}
|
|
75459
75459
|
|
|
75460
|
-
var getFreezeState = function getFreezeState(ctx) {
|
|
75461
|
-
var _ctx$luckysheetfile$s, _ctx$luckysheet_selec, _frozen$range, _frozen$range2;
|
|
75462
|
-
var sheetIndex = getSheetIndex(ctx, ctx.currentSheetId);
|
|
75463
|
-
if (sheetIndex == null) return {
|
|
75464
|
-
isRowFrozen: false,
|
|
75465
|
-
isColFrozen: false
|
|
75466
|
-
};
|
|
75467
|
-
var frozen = (_ctx$luckysheetfile$s = ctx.luckysheetfile[sheetIndex]) === null || _ctx$luckysheetfile$s === void 0 ? void 0 : _ctx$luckysheetfile$s.frozen;
|
|
75468
|
-
var selection = (_ctx$luckysheet_selec = ctx.luckysheet_select_save) === null || _ctx$luckysheet_selec === void 0 ? void 0 : _ctx$luckysheet_selec[0];
|
|
75469
|
-
if (!selection) return {
|
|
75470
|
-
isRowFrozen: false,
|
|
75471
|
-
isColFrozen: false
|
|
75472
|
-
};
|
|
75473
|
-
var frozenRow = frozen === null || frozen === void 0 ? void 0 : (_frozen$range = frozen.range) === null || _frozen$range === void 0 ? void 0 : _frozen$range.row_focus;
|
|
75474
|
-
var frozenCol = frozen === null || frozen === void 0 ? void 0 : (_frozen$range2 = frozen.range) === null || _frozen$range2 === void 0 ? void 0 : _frozen$range2.column_focus;
|
|
75475
|
-
var isRowFrozen = typeof frozenRow === "number" && frozenRow === selection.row_focus;
|
|
75476
|
-
var isColFrozen = typeof frozenCol === "number" && frozenCol === selection.column_focus;
|
|
75477
|
-
return {
|
|
75478
|
-
isRowFrozen: isRowFrozen,
|
|
75479
|
-
isColFrozen: isColFrozen
|
|
75480
|
-
};
|
|
75481
|
-
};
|
|
75482
|
-
var toggleFreeze = function toggleFreeze(ctx, type) {
|
|
75483
|
-
var _ctx$luckysheet_selec2, _sheet$frozen, _frozen$range3, _selection$row_focus, _selection$column_foc, _selection$row_focus2, _selection$column_foc2;
|
|
75484
|
-
var selection = (_ctx$luckysheet_selec2 = ctx.luckysheet_select_save) === null || _ctx$luckysheet_selec2 === void 0 ? void 0 : _ctx$luckysheet_selec2[0];
|
|
75485
|
-
if (!selection) return;
|
|
75486
|
-
var sheetIndex = getSheetIndex(ctx, ctx.currentSheetId);
|
|
75487
|
-
var sheet = ctx.luckysheetfile[sheetIndex];
|
|
75488
|
-
var frozen = (_sheet$frozen = sheet.frozen) !== null && _sheet$frozen !== void 0 ? _sheet$frozen : {
|
|
75489
|
-
range: {
|
|
75490
|
-
row_focus: -1,
|
|
75491
|
-
column_focus: -1
|
|
75492
|
-
}
|
|
75493
|
-
};
|
|
75494
|
-
var _ref = (_frozen$range3 = frozen.range) !== null && _frozen$range3 !== void 0 ? _frozen$range3 : {
|
|
75495
|
-
row_focus: -1,
|
|
75496
|
-
column_focus: -1
|
|
75497
|
-
},
|
|
75498
|
-
row_focus = _ref.row_focus,
|
|
75499
|
-
column_focus = _ref.column_focus;
|
|
75500
|
-
switch (type) {
|
|
75501
|
-
case "row":
|
|
75502
|
-
row_focus = (_selection$row_focus = selection.row_focus) !== null && _selection$row_focus !== void 0 ? _selection$row_focus : -1;
|
|
75503
|
-
break;
|
|
75504
|
-
case "column":
|
|
75505
|
-
column_focus = (_selection$column_foc = selection.column_focus) !== null && _selection$column_foc !== void 0 ? _selection$column_foc : -1;
|
|
75506
|
-
break;
|
|
75507
|
-
case "both":
|
|
75508
|
-
row_focus = (_selection$row_focus2 = selection.row_focus) !== null && _selection$row_focus2 !== void 0 ? _selection$row_focus2 : -1;
|
|
75509
|
-
column_focus = (_selection$column_foc2 = selection.column_focus) !== null && _selection$column_foc2 !== void 0 ? _selection$column_foc2 : -1;
|
|
75510
|
-
break;
|
|
75511
|
-
case "unfreeze-row":
|
|
75512
|
-
row_focus = -1;
|
|
75513
|
-
break;
|
|
75514
|
-
case "unfreeze-column":
|
|
75515
|
-
column_focus = -1;
|
|
75516
|
-
break;
|
|
75517
|
-
case "unfreeze-all":
|
|
75518
|
-
delete sheet.frozen;
|
|
75519
|
-
return;
|
|
75520
|
-
}
|
|
75521
|
-
var hasRow = row_focus >= 0;
|
|
75522
|
-
var hasCol = column_focus >= 0;
|
|
75523
|
-
if (!hasRow && !hasCol) {
|
|
75524
|
-
delete sheet.frozen;
|
|
75525
|
-
return;
|
|
75526
|
-
}
|
|
75527
|
-
var newType;
|
|
75528
|
-
if (hasRow && hasCol) {
|
|
75529
|
-
newType = "both";
|
|
75530
|
-
} else if (hasRow) {
|
|
75531
|
-
newType = "row";
|
|
75532
|
-
} else {
|
|
75533
|
-
newType = "column";
|
|
75534
|
-
}
|
|
75535
|
-
sheet.frozen = {
|
|
75536
|
-
type: newType,
|
|
75537
|
-
range: {
|
|
75538
|
-
row_focus: row_focus,
|
|
75539
|
-
column_focus: column_focus
|
|
75540
|
-
}
|
|
75541
|
-
};
|
|
75542
|
-
};
|
|
75543
|
-
|
|
75544
75460
|
function generateRandomSheetName(file, isPivotTable, ctx) {
|
|
75545
75461
|
var index = file.length;
|
|
75546
75462
|
var locale_pivotTable = locale(ctx).pivotTable;
|
|
@@ -79928,4 +79844,4 @@ function handlePasteByClick(ctx, clipboardData, triggerType) {
|
|
|
79928
79844
|
} else ;
|
|
79929
79845
|
}
|
|
79930
79846
|
|
|
79931
|
-
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
|
@@ -10155,15 +10155,15 @@ var en = {
|
|
|
10155
10155
|
locationExample: "Location",
|
|
10156
10156
|
lessTwoRowTip: "Please select at least two rows",
|
|
10157
10157
|
lessTwoColumnTip: "Please select at least two columns",
|
|
10158
|
-
findTextbox: "Find",
|
|
10159
|
-
replaceTextbox: "Replace
|
|
10158
|
+
findTextbox: "Find Content",
|
|
10159
|
+
replaceTextbox: "Replace Content",
|
|
10160
10160
|
regexTextbox: "Regular Expression",
|
|
10161
10161
|
wholeTextbox: "Whole word",
|
|
10162
10162
|
distinguishTextbox: "Case sensitive",
|
|
10163
|
-
allReplaceBtn: "Replace
|
|
10163
|
+
allReplaceBtn: "Replace All",
|
|
10164
10164
|
replaceBtn: "Replace",
|
|
10165
|
-
allFindBtn: "Find
|
|
10166
|
-
findBtn: "Find",
|
|
10165
|
+
allFindBtn: "Find All",
|
|
10166
|
+
findBtn: "Find next",
|
|
10167
10167
|
noFindTip: "The content was not found",
|
|
10168
10168
|
modeTip: "This operation is not available in this mode",
|
|
10169
10169
|
searchTargetSheet: "Sheet",
|
|
@@ -75467,90 +75467,6 @@ function inverseRowColOptions(options) {
|
|
|
75467
75467
|
return options;
|
|
75468
75468
|
}
|
|
75469
75469
|
|
|
75470
|
-
var getFreezeState = function getFreezeState(ctx) {
|
|
75471
|
-
var _ctx$luckysheetfile$s, _ctx$luckysheet_selec, _frozen$range, _frozen$range2;
|
|
75472
|
-
var sheetIndex = getSheetIndex(ctx, ctx.currentSheetId);
|
|
75473
|
-
if (sheetIndex == null) return {
|
|
75474
|
-
isRowFrozen: false,
|
|
75475
|
-
isColFrozen: false
|
|
75476
|
-
};
|
|
75477
|
-
var frozen = (_ctx$luckysheetfile$s = ctx.luckysheetfile[sheetIndex]) === null || _ctx$luckysheetfile$s === void 0 ? void 0 : _ctx$luckysheetfile$s.frozen;
|
|
75478
|
-
var selection = (_ctx$luckysheet_selec = ctx.luckysheet_select_save) === null || _ctx$luckysheet_selec === void 0 ? void 0 : _ctx$luckysheet_selec[0];
|
|
75479
|
-
if (!selection) return {
|
|
75480
|
-
isRowFrozen: false,
|
|
75481
|
-
isColFrozen: false
|
|
75482
|
-
};
|
|
75483
|
-
var frozenRow = frozen === null || frozen === void 0 ? void 0 : (_frozen$range = frozen.range) === null || _frozen$range === void 0 ? void 0 : _frozen$range.row_focus;
|
|
75484
|
-
var frozenCol = frozen === null || frozen === void 0 ? void 0 : (_frozen$range2 = frozen.range) === null || _frozen$range2 === void 0 ? void 0 : _frozen$range2.column_focus;
|
|
75485
|
-
var isRowFrozen = typeof frozenRow === "number" && frozenRow === selection.row_focus;
|
|
75486
|
-
var isColFrozen = typeof frozenCol === "number" && frozenCol === selection.column_focus;
|
|
75487
|
-
return {
|
|
75488
|
-
isRowFrozen: isRowFrozen,
|
|
75489
|
-
isColFrozen: isColFrozen
|
|
75490
|
-
};
|
|
75491
|
-
};
|
|
75492
|
-
var toggleFreeze = function toggleFreeze(ctx, type) {
|
|
75493
|
-
var _ctx$luckysheet_selec2, _sheet$frozen, _frozen$range3, _selection$row_focus, _selection$column_foc, _selection$row_focus2, _selection$column_foc2;
|
|
75494
|
-
var selection = (_ctx$luckysheet_selec2 = ctx.luckysheet_select_save) === null || _ctx$luckysheet_selec2 === void 0 ? void 0 : _ctx$luckysheet_selec2[0];
|
|
75495
|
-
if (!selection) return;
|
|
75496
|
-
var sheetIndex = getSheetIndex(ctx, ctx.currentSheetId);
|
|
75497
|
-
var sheet = ctx.luckysheetfile[sheetIndex];
|
|
75498
|
-
var frozen = (_sheet$frozen = sheet.frozen) !== null && _sheet$frozen !== void 0 ? _sheet$frozen : {
|
|
75499
|
-
range: {
|
|
75500
|
-
row_focus: -1,
|
|
75501
|
-
column_focus: -1
|
|
75502
|
-
}
|
|
75503
|
-
};
|
|
75504
|
-
var _ref = (_frozen$range3 = frozen.range) !== null && _frozen$range3 !== void 0 ? _frozen$range3 : {
|
|
75505
|
-
row_focus: -1,
|
|
75506
|
-
column_focus: -1
|
|
75507
|
-
},
|
|
75508
|
-
row_focus = _ref.row_focus,
|
|
75509
|
-
column_focus = _ref.column_focus;
|
|
75510
|
-
switch (type) {
|
|
75511
|
-
case "row":
|
|
75512
|
-
row_focus = (_selection$row_focus = selection.row_focus) !== null && _selection$row_focus !== void 0 ? _selection$row_focus : -1;
|
|
75513
|
-
break;
|
|
75514
|
-
case "column":
|
|
75515
|
-
column_focus = (_selection$column_foc = selection.column_focus) !== null && _selection$column_foc !== void 0 ? _selection$column_foc : -1;
|
|
75516
|
-
break;
|
|
75517
|
-
case "both":
|
|
75518
|
-
row_focus = (_selection$row_focus2 = selection.row_focus) !== null && _selection$row_focus2 !== void 0 ? _selection$row_focus2 : -1;
|
|
75519
|
-
column_focus = (_selection$column_foc2 = selection.column_focus) !== null && _selection$column_foc2 !== void 0 ? _selection$column_foc2 : -1;
|
|
75520
|
-
break;
|
|
75521
|
-
case "unfreeze-row":
|
|
75522
|
-
row_focus = -1;
|
|
75523
|
-
break;
|
|
75524
|
-
case "unfreeze-column":
|
|
75525
|
-
column_focus = -1;
|
|
75526
|
-
break;
|
|
75527
|
-
case "unfreeze-all":
|
|
75528
|
-
delete sheet.frozen;
|
|
75529
|
-
return;
|
|
75530
|
-
}
|
|
75531
|
-
var hasRow = row_focus >= 0;
|
|
75532
|
-
var hasCol = column_focus >= 0;
|
|
75533
|
-
if (!hasRow && !hasCol) {
|
|
75534
|
-
delete sheet.frozen;
|
|
75535
|
-
return;
|
|
75536
|
-
}
|
|
75537
|
-
var newType;
|
|
75538
|
-
if (hasRow && hasCol) {
|
|
75539
|
-
newType = "both";
|
|
75540
|
-
} else if (hasRow) {
|
|
75541
|
-
newType = "row";
|
|
75542
|
-
} else {
|
|
75543
|
-
newType = "column";
|
|
75544
|
-
}
|
|
75545
|
-
sheet.frozen = {
|
|
75546
|
-
type: newType,
|
|
75547
|
-
range: {
|
|
75548
|
-
row_focus: row_focus,
|
|
75549
|
-
column_focus: column_focus
|
|
75550
|
-
}
|
|
75551
|
-
};
|
|
75552
|
-
};
|
|
75553
|
-
|
|
75554
75470
|
function generateRandomSheetName(file, isPivotTable, ctx) {
|
|
75555
75471
|
var index = file.length;
|
|
75556
75472
|
var locale_pivotTable = locale(ctx).pivotTable;
|
|
@@ -80043,7 +79959,6 @@ exports.getFlattenedRange = getFlattenedRange;
|
|
|
80043
79959
|
exports.getFlowdata = getFlowdata;
|
|
80044
79960
|
exports.getFontSet = getFontSet;
|
|
80045
79961
|
exports.getFontStyleByCell = getFontStyleByCell;
|
|
80046
|
-
exports.getFreezeState = getFreezeState;
|
|
80047
79962
|
exports.getFrozenHandleLeft = getFrozenHandleLeft;
|
|
80048
79963
|
exports.getFrozenHandleTop = getFrozenHandleTop;
|
|
80049
79964
|
exports.getHintText = getHintText;
|
|
@@ -80246,7 +80161,6 @@ exports.showSelected = showSelected;
|
|
|
80246
80161
|
exports.sortDataRange = sortDataRange;
|
|
80247
80162
|
exports.sortSelection = sortSelection;
|
|
80248
80163
|
exports.storeSheetParamALL = storeSheetParamALL;
|
|
80249
|
-
exports.toggleFreeze = toggleFreeze;
|
|
80250
80164
|
exports.toolbarItemClickHandler = toolbarItemClickHandler;
|
|
80251
80165
|
exports.toolbarItemSelectedFunc = toolbarItemSelectedFunc;
|
|
80252
80166
|
exports.update = update;
|
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
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;
|