@fileverse-dev/dsheet 2.0.13 → 2.0.15
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/{es-BlJgGKjh.js → es-BonrkVxY.js} +6 -0
- package/dist/{hi-D1Y_nSHB.js → hi-Ca55EZ4A.js} +6 -0
- package/dist/index.es.js +19992 -19170
- package/dist/sheet-engine/core/context.d.ts +1 -0
- package/dist/sheet-engine/core/index.d.ts +1 -1
- package/dist/sheet-engine/core/locale/en.d.ts +6 -0
- package/dist/sheet-engine/core/locale/es.d.ts +6 -0
- package/dist/sheet-engine/core/locale/hi.d.ts +6 -0
- package/dist/sheet-engine/core/locale/zh.d.ts +6 -0
- package/dist/sheet-engine/core/locale/zh_tw.d.ts +6 -0
- package/dist/sheet-engine/core/modules/filter.d.ts +2 -0
- package/dist/sheet-engine/core/modules/index.d.ts +3 -2
- package/dist/sheet-engine/core/modules/rowVisibility.d.ts +12 -0
- package/dist/sheet-engine/core/modules/rowcol.d.ts +2 -0
- package/dist/sheet-engine/core/modules/sort.d.ts +1 -0
- package/dist/sheet-engine/core/types.d.ts +8 -0
- package/dist/sheet-engine/react/components/Toolbar/SortPopoverContent.d.ts +18 -0
- package/dist/sheet-engine/react/components/Toolbar/index.d.ts +1 -1
- package/dist/style.css +1 -1
- package/dist/{zh-CI0obLTH.js → zh-BfQYzoDQ.js} +6 -0
- package/dist/{zh_tw-CbdDuByE.js → zh_tw-CINWHD2H.js} +6 -0
- package/package.json +1 -1
|
@@ -7,7 +7,7 @@ export { defaultSettings } from './settings';
|
|
|
7
7
|
export type { Settings, Hooks, DateBaseLocale } from './settings';
|
|
8
8
|
export { handleCopy, handleGlobalKeyDown, handlePaste, handlePasteByClick, fixPositionOnFrozenCells, handleCellAreaMouseDown, handleCellAreaDoubleClick, handleContextMenu, mouseRender, handleOverlayMouseMove, handleOverlayMouseUp, handleRowHeaderMouseDown, handleColumnHeaderMouseDown, handleColSizeHandleMouseDown, handleColSizeHandleDoubleClick, handleRowSizeHandleMouseDown, handleColFreezeHandleMouseDown, handleRowFreezeHandleMouseDown, } from './events';
|
|
9
9
|
export * from './locale';
|
|
10
|
-
export { getBorderInfoComputeRange, getBorderInfoCompute, normalizedCellAttr, normalizedAttr, getCellValue, setCellValue, getRealCellValue, mergeBorder, cancelNormalSelected, updateCell, getRangetxt, getRangeByTxt, getInlineStringHTML, applyLinkToSelection, getHyperlinksFromInlineSegments, getUniformLinkFromWindowSelectionInEditor, getHyperlinkAtCaretInContentEditable, getStyleByCell, clearSelectedCellFormat, clearRowsCellsFormat, clearColumnsCellsFormat, clipboard, moveToEnd, getRangeRectsByCharacterOffset, getDateBaseLocale, getCanonicalDateEditFormat, getDateEditFormatForCell, isUsDateBaseLocale, normalizeDateBaseLocale, shouldPreserveDateFormatForEdit, setDateBaseLocale, update, is_date, valueShowEs, isTypedCurrencyDisplayFormat, isCurrencyLikeNumberFormat, FormulaCache, groupValuesRefresh, execFunctionGroup, setCaretPosition, getrangeseleciton, getFormulaEditorOwner, rangeHightlightselected, handleFormulaInput, israngeseleciton, createRangeHightlight, maybeRecoverDirtyRangeSelection, getFormulaRangeIndexAtCaret, isCaretAtValidFormulaRangeInsertionPoint, isLegacyFormulaRangeMode, markRangeSelectionDirty, setFormulaEditorOwner, functionHTMLGenerate, suppressFormulaRangeSelectionForInitialEdit, rangeSetValue, getFormulaRangeIndexForKeyboardSync, createFormulaRangeSelect, isFormulaReferenceInputMode, seedFormulaFuncSelectedRangeFromLastSelection, initFreeze, isInlineStringCell, getInlineStringNoStyle, rowLocation, rowLocationByIndex, colLocation, colLocationByIndex, insertRowCol, deleteRowCol, hideSelected, showSelected, isShowHidenCR, scrollToHighlightCell, selectTitlesMap, selectTitlesRange, normalizeSelection, syncPrimaryCellActiveFromSelection, selectionIsExactlyOneMergeBlock, setPrimaryCellActive, advancePrimaryCellInLastMultiSelection, snapSheetSelectionFocusToCellPreserveMultiRange, moveHighlightCell, deleteSelectedCellText, selectAll, fixRowStyleOverflowInFreeze, fixColumnStyleOverflowInFreeze, calcSelectionInfo, addSheet, deleteSheet, editSheetName, changeSheet, updateFormat, autoSelectionFormula, handleBold, handleItalic, handleStrikeThrough, handleUnderline, handleHorizontalAlign, handleVerticalAlign, handleTextColor, handleTextBackground, handleBorder, handleMerge, mergeSelectionHasValues, handleSort, handleFreeze, handleTextSize, handleSum, handleLink, captureLinkEditorOpenSnapshot, isHyperlinkCreationBlocked, toolbarItemClickHandler, toolbarItemSelectedFunc, handleScreenShot, insertImage, showImgChooser, drawArrow, setEditingComment, removeEditingComment, newComment, editComment, deleteComment, showComments, showHideComment, showHideAllComments, onCommentBoxMoveStart, removeActiveImage, cancelActiveImgItem, onImageMoveStart, onImageResizeStart, createDropCellRange, sortSelection, searchAll, searchNext, replace, replaceAll, getSearchIndexArr, getSearchIndexArrAsync, getFindRangeOnCurrentSheet, getQuickSearchIndexArr, getQuickSearchHiddenConfig, getCellHyperlinks, getHyperlinkDisplayTextInCell, getInlineLinkPlainRange, getUniformLinkCoveringPlainRange, getUniformLinkAtPlainOffset, removeHyperlinkForLink, updateHyperlinkForLink, syncLinkCardAfterHyperlinkChange, expandCellRectForMerge, shouldQuickSearchUseAsync, runQuickSearchIndexArrAsync, QUICK_SEARCH_ASYNC_ROW_THRESHOLD, parseRangeText, getCellRowColumn, getCellHyperlink, saveHyperlink, removeHyperlink, showLinkCard, goToLink, isLinkValid, createFilterOptions, clearFilter, createFilter, getFilterColumnValues, getFilterColumnColors, orderbydatafiler, saveFilter, onCellsMoveStart, cfSplitRange, updateMoreCell, getRegStr, getDataArr, applyLocation, getOptionValue, getSelectRange, getDropdownList, setDropdownValue, confirmMessage, setConditionRules, handleOverlayTouchStart, handleOverlayTouchEnd, MAX_ZOOM_RATIO, MIN_ZOOM_RATIO, handleKeydownForZoom, jfrefreshgrid, sanitizeDuneUrl, insertDuneChart, onIframeMoveStart, onIframeResizeStart, onIframeMove, onIframeMoveEnd, onIframeResize, onIframeResizeEnd, setCellError, clearCellError, detectDateFormat, isdatatypemulti, diff, isdatetime, isRealNull, isRealNum, isNumericCellType, iscelldata, getcellrange, cancelFunctionrangeSelected, seletedHighlistByindex, spillSortResult, execfunction, insertUpdateFunctionGroup, remapFormulaReferencesByMap, checkCF, getComputeMap, cancelPaintModel, hideCRCount, getdatabyselection, } from './modules';
|
|
10
|
+
export { getBorderInfoComputeRange, getBorderInfoCompute, normalizedCellAttr, normalizedAttr, getCellValue, setCellValue, getRealCellValue, mergeBorder, cancelNormalSelected, updateCell, getRangetxt, getRangeByTxt, getInlineStringHTML, applyLinkToSelection, getHyperlinksFromInlineSegments, getUniformLinkFromWindowSelectionInEditor, getHyperlinkAtCaretInContentEditable, getStyleByCell, clearSelectedCellFormat, clearRowsCellsFormat, clearColumnsCellsFormat, clipboard, moveToEnd, getRangeRectsByCharacterOffset, getDateBaseLocale, getCanonicalDateEditFormat, getDateEditFormatForCell, isUsDateBaseLocale, normalizeDateBaseLocale, shouldPreserveDateFormatForEdit, setDateBaseLocale, update, is_date, valueShowEs, isTypedCurrencyDisplayFormat, isCurrencyLikeNumberFormat, FormulaCache, groupValuesRefresh, execFunctionGroup, setCaretPosition, getrangeseleciton, getFormulaEditorOwner, rangeHightlightselected, handleFormulaInput, israngeseleciton, createRangeHightlight, maybeRecoverDirtyRangeSelection, getFormulaRangeIndexAtCaret, isCaretAtValidFormulaRangeInsertionPoint, isLegacyFormulaRangeMode, markRangeSelectionDirty, setFormulaEditorOwner, functionHTMLGenerate, suppressFormulaRangeSelectionForInitialEdit, rangeSetValue, getFormulaRangeIndexForKeyboardSync, createFormulaRangeSelect, isFormulaReferenceInputMode, seedFormulaFuncSelectedRangeFromLastSelection, initFreeze, isInlineStringCell, getInlineStringNoStyle, rowLocation, rowLocationByIndex, colLocation, colLocationByIndex, insertRowCol, deleteRowCol, hideSelected, showSelected, isShowHidenCR, getFilterHiddenRowsUnionFromFilterMap, getFilterHiddenRowsUnion, ensureManualHiddenInitialized, rebuildRowHiddenUnion, scrollToHighlightCell, selectTitlesMap, selectTitlesRange, normalizeSelection, syncPrimaryCellActiveFromSelection, selectionIsExactlyOneMergeBlock, setPrimaryCellActive, advancePrimaryCellInLastMultiSelection, snapSheetSelectionFocusToCellPreserveMultiRange, moveHighlightCell, deleteSelectedCellText, selectAll, fixRowStyleOverflowInFreeze, fixColumnStyleOverflowInFreeze, calcSelectionInfo, addSheet, deleteSheet, editSheetName, changeSheet, updateFormat, autoSelectionFormula, handleBold, handleItalic, handleStrikeThrough, handleUnderline, handleHorizontalAlign, handleVerticalAlign, handleTextColor, handleTextBackground, handleBorder, handleMerge, mergeSelectionHasValues, handleSort, handleFreeze, handleTextSize, handleSum, handleLink, captureLinkEditorOpenSnapshot, isHyperlinkCreationBlocked, toolbarItemClickHandler, toolbarItemSelectedFunc, handleScreenShot, insertImage, showImgChooser, drawArrow, setEditingComment, removeEditingComment, newComment, editComment, deleteComment, showComments, showHideComment, showHideAllComments, onCommentBoxMoveStart, removeActiveImage, cancelActiveImgItem, onImageMoveStart, onImageResizeStart, createDropCellRange, sortSelection, sortSheetBySelectedColumn, searchAll, searchNext, replace, replaceAll, getSearchIndexArr, getSearchIndexArrAsync, getFindRangeOnCurrentSheet, getQuickSearchIndexArr, getQuickSearchHiddenConfig, getCellHyperlinks, getHyperlinkDisplayTextInCell, getInlineLinkPlainRange, getUniformLinkCoveringPlainRange, getUniformLinkAtPlainOffset, removeHyperlinkForLink, updateHyperlinkForLink, syncLinkCardAfterHyperlinkChange, expandCellRectForMerge, shouldQuickSearchUseAsync, runQuickSearchIndexArrAsync, QUICK_SEARCH_ASYNC_ROW_THRESHOLD, parseRangeText, getCellRowColumn, getCellHyperlink, saveHyperlink, removeHyperlink, showLinkCard, goToLink, isLinkValid, createFilterOptions, clearFilter, clearFilterForColumn, toggleViewerFilter, createFilter, getFilterColumnValues, getFilterColumnColors, orderbydatafiler, saveFilter, onCellsMoveStart, cfSplitRange, updateMoreCell, getRegStr, getDataArr, applyLocation, getOptionValue, getSelectRange, getDropdownList, setDropdownValue, confirmMessage, setConditionRules, handleOverlayTouchStart, handleOverlayTouchEnd, MAX_ZOOM_RATIO, MIN_ZOOM_RATIO, handleKeydownForZoom, jfrefreshgrid, sanitizeDuneUrl, insertDuneChart, onIframeMoveStart, onIframeResizeStart, onIframeMove, onIframeMoveEnd, onIframeResize, onIframeResizeEnd, setCellError, clearCellError, detectDateFormat, isdatatypemulti, diff, isdatetime, isRealNull, isRealNum, isNumericCellType, iscelldata, getcellrange, cancelFunctionrangeSelected, seletedHighlistByindex, spillSortResult, execfunction, insertUpdateFunctionGroup, remapFormulaReferencesByMap, checkCF, getComputeMap, cancelPaintModel, hideCRCount, getdatabyselection, } from './modules';
|
|
11
11
|
export type { FilterDate, FilterValue, FilterColor } from './modules';
|
|
12
12
|
export { getFreezeState, toggleFreeze, indexToColumnChar, escapeScriptTag, escapeHTMLTag, getSheetIndex, replaceHtml, isAllowEdit, isAllowEditReadOnly, filterPatch, patchToOp, opToPatch, inverseRowColOptions, } from './utils';
|
|
13
13
|
export type { PatchOptions, ChangedSheet } from './utils';
|
|
@@ -259,6 +259,12 @@ declare const _default: {
|
|
|
259
259
|
sortTitle: string;
|
|
260
260
|
sortRangeTitle: string;
|
|
261
261
|
sortRangeTitleTo: string;
|
|
262
|
+
sortSheet: string;
|
|
263
|
+
sortRange: string;
|
|
264
|
+
sortSheetByColumnAZ: string;
|
|
265
|
+
sortSheetByColumnZA: string;
|
|
266
|
+
sortRangeByColumnAZ: string;
|
|
267
|
+
sortRangeByColumnZA: string;
|
|
262
268
|
noRangeError: string;
|
|
263
269
|
mergeError: string;
|
|
264
270
|
};
|
|
@@ -428,6 +428,12 @@ declare const _default: {
|
|
|
428
428
|
sortTitle: string;
|
|
429
429
|
sortRangeTitle: string;
|
|
430
430
|
sortRangeTitleTo: string;
|
|
431
|
+
sortSheet: string;
|
|
432
|
+
sortRange: string;
|
|
433
|
+
sortSheetByColumnAZ: string;
|
|
434
|
+
sortSheetByColumnZA: string;
|
|
435
|
+
sortRangeByColumnAZ: string;
|
|
436
|
+
sortRangeByColumnZA: string;
|
|
431
437
|
noRangeError: string;
|
|
432
438
|
mergeError: string;
|
|
433
439
|
};
|
|
@@ -298,6 +298,12 @@ declare const _default: {
|
|
|
298
298
|
sortTitle: string;
|
|
299
299
|
sortRangeTitle: string;
|
|
300
300
|
sortRangeTitleTo: string;
|
|
301
|
+
sortSheet: string;
|
|
302
|
+
sortRange: string;
|
|
303
|
+
sortSheetByColumnAZ: string;
|
|
304
|
+
sortSheetByColumnZA: string;
|
|
305
|
+
sortRangeByColumnAZ: string;
|
|
306
|
+
sortRangeByColumnZA: string;
|
|
301
307
|
noRangeError: string;
|
|
302
308
|
mergeError: string;
|
|
303
309
|
};
|
|
@@ -315,6 +315,12 @@ declare const _default: {
|
|
|
315
315
|
sortTitle: string;
|
|
316
316
|
sortRangeTitle: string;
|
|
317
317
|
sortRangeTitleTo: string;
|
|
318
|
+
sortSheet: string;
|
|
319
|
+
sortRange: string;
|
|
320
|
+
sortSheetByColumnAZ: string;
|
|
321
|
+
sortSheetByColumnZA: string;
|
|
322
|
+
sortRangeByColumnAZ: string;
|
|
323
|
+
sortRangeByColumnZA: string;
|
|
318
324
|
noRangeError: string;
|
|
319
325
|
mergeError: string;
|
|
320
326
|
};
|
|
@@ -461,6 +461,12 @@ declare const _default: {
|
|
|
461
461
|
sortTitle: string;
|
|
462
462
|
sortRangeTitle: string;
|
|
463
463
|
sortRangeTitleTo: string;
|
|
464
|
+
sortSheet: string;
|
|
465
|
+
sortRange: string;
|
|
466
|
+
sortSheetByColumnAZ: string;
|
|
467
|
+
sortSheetByColumnZA: string;
|
|
468
|
+
sortRangeByColumnAZ: string;
|
|
469
|
+
sortRangeByColumnZA: string;
|
|
464
470
|
noRangeError: string;
|
|
465
471
|
mergeError: string;
|
|
466
472
|
};
|
|
@@ -7,6 +7,8 @@ export declare function createFilterOptions(ctx: Context, luckysheet_filter_save
|
|
|
7
7
|
column: number[];
|
|
8
8
|
} | undefined, sheetId: string | undefined, filterObj?: any, saveData?: boolean): void;
|
|
9
9
|
export declare function clearFilter(ctx: Context): void;
|
|
10
|
+
export declare function toggleViewerFilter(ctx: Context): void;
|
|
11
|
+
export declare function clearFilterForColumn(ctx: Context, cindex: number, startCol: number): void;
|
|
10
12
|
export declare function createFilter(ctx: Context): void;
|
|
11
13
|
export type FilterDate = {
|
|
12
14
|
key: string;
|
|
@@ -9,6 +9,7 @@ export { initFreeze } from './freeze';
|
|
|
9
9
|
export { isInlineStringCell, getInlineStringNoStyle, applyLinkToSelection, getHyperlinksFromInlineSegments, getUniformLinkFromWindowSelectionInEditor, getHyperlinkAtCaretInContentEditable, } from './inline-string';
|
|
10
10
|
export { rowLocation, rowLocationByIndex, colLocation, colLocationByIndex, } from './location';
|
|
11
11
|
export { insertRowCol, deleteRowCol, hideSelected, showSelected, isShowHidenCR, hideCRCount, } from './rowcol';
|
|
12
|
+
export { getFilterHiddenRowsUnionFromFilterMap, getFilterHiddenRowsUnion, ensureManualHiddenInitialized, rebuildRowHiddenUnion, } from './rowVisibility';
|
|
12
13
|
export { scrollToHighlightCell, seletedHighlistByindex, selectTitlesMap, selectTitlesRange, normalizeSelection, syncPrimaryCellActiveFromSelection, selectionIsExactlyOneMergeBlock, setPrimaryCellActive, advancePrimaryCellInLastMultiSelection, snapSheetSelectionFocusToCellPreserveMultiRange, moveHighlightCell, deleteSelectedCellText, selectAll, fixRowStyleOverflowInFreeze, fixColumnStyleOverflowInFreeze, calcSelectionInfo, rangeValueToHtml, } from './selection';
|
|
13
14
|
export { addSheet, deleteSheet, editSheetName, changeSheet, updateSheet, } from './sheet';
|
|
14
15
|
export { updateFormat, autoSelectionFormula, handleBold, handleItalic, handleStrikeThrough, handleUnderline, handleHorizontalAlign, handleVerticalAlign, handleTextColor, handleTextBackground, handleBorder, handleMerge, handleSort, handleFreeze, handleTextSize, handleSum, handleLink, captureLinkEditorOpenSnapshot, isHyperlinkCreationBlocked, toolbarItemClickHandler, toolbarItemSelectedFunc, updateFormatCell, cancelPaintModel, } from './toolbar';
|
|
@@ -17,11 +18,11 @@ export { drawArrow, setEditingComment, removeEditingComment, newComment, editCom
|
|
|
17
18
|
export { showImgChooser, insertImage, removeActiveImage, cancelActiveImgItem, onImageMoveStart, onImageResizeStart, onImageMove, onImageMoveEnd, onImageResize, onImageResizeEnd, } from './image';
|
|
18
19
|
export { createDropCellRange, dropCellCache, getTypeItemHide, updateDropCell, } from './dropCell';
|
|
19
20
|
export { mergeCells, mergeSelectionHasValues } from './merge';
|
|
20
|
-
export { sortSelection, spillSortResult } from './sort';
|
|
21
|
+
export { sortSelection, sortSheetBySelectedColumn, spillSortResult, } from './sort';
|
|
21
22
|
export { searchAll, searchNext, replace, replaceAll, getSearchIndexArr, getSearchIndexArrAsync, getFindRangeOnCurrentSheet, getQuickSearchIndexArr, getQuickSearchHiddenConfig, expandCellRectForMerge, shouldQuickSearchUseAsync, runQuickSearchIndexArrAsync, QUICK_SEARCH_ASYNC_ROW_THRESHOLD, parseRangeText, } from './searchReplace';
|
|
22
23
|
export type { CheckModes, HyperlinkMap, FindSearchScope, SearchHiddenConfig, SearchNextResult, ReplaceAllResult, } from './searchReplace';
|
|
23
24
|
export { getCellRowColumn, getCellHyperlink, getCellHyperlinks, getHyperlinkDisplayTextInCell, getInlineLinkPlainRange, getUniformLinkCoveringPlainRange, getUniformLinkAtPlainOffset, saveHyperlink, removeHyperlink, removeHyperlinkForLink, updateHyperlinkForLink, syncLinkCardAfterHyperlinkChange, showLinkCard, goToLink, isLinkValid, } from './hyperlink';
|
|
24
|
-
export { createFilterOptions, clearFilter, createFilter, getFilterColumnValues, getFilterColumnColors, orderbydatafiler, saveFilter, } from './filter';
|
|
25
|
+
export { createFilterOptions, clearFilter, clearFilterForColumn, toggleViewerFilter, createFilter, getFilterColumnValues, getFilterColumnColors, orderbydatafiler, saveFilter, } from './filter';
|
|
25
26
|
export type { FilterDate, FilterValue, FilterColor } from './filter';
|
|
26
27
|
export { onCellsMoveStart, onCellsMove, onCellsMoveEnd } from './moveCells';
|
|
27
28
|
export { cfSplitRange } from './conditionalFormat';
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import { Context } from '../context';
|
|
2
|
+
|
|
3
|
+
export declare function getFilterHiddenRowsUnionFromFilterMap(filter: Context['filter'] | null | undefined): Record<string, number>;
|
|
4
|
+
export declare function getFilterHiddenRowsUnion(ctx: Context): Record<string, number>;
|
|
5
|
+
/**
|
|
6
|
+
* Migration/initialization helper:
|
|
7
|
+
* - If `rowhidden_manual` exists, keep it.
|
|
8
|
+
* - Otherwise, derive it from existing `rowhidden` by subtracting active filter-hidden rows
|
|
9
|
+
* (if a filter is active), else treat all `rowhidden` as manual.
|
|
10
|
+
*/
|
|
11
|
+
export declare function ensureManualHiddenInitialized(ctx: Context): void;
|
|
12
|
+
export declare function rebuildRowHiddenUnion(ctx: Context): void;
|
|
@@ -25,6 +25,8 @@ export declare function deleteRowCol(ctx: Context, op: {
|
|
|
25
25
|
start: number;
|
|
26
26
|
end: number;
|
|
27
27
|
id?: string;
|
|
28
|
+
/** Internal: when true, do not re-split row ranges by visibility under filter. */
|
|
29
|
+
skipFilterVisibleOnly?: boolean;
|
|
28
30
|
}): void;
|
|
29
31
|
export declare function computeRowlenArr(ctx: Context, rowHeight: number, cfg: any): number[];
|
|
30
32
|
export declare function hideSelected(ctx: Context, type: string): "" | "noMulti";
|
|
@@ -6,5 +6,6 @@ export declare function orderbydata(isAsc: boolean, index: number, data: (Cell |
|
|
|
6
6
|
};
|
|
7
7
|
export declare function sortDataRange(ctx: Context, sheetData: CellMatrix, dataRange: CellMatrix, index: number, isAsc: boolean, str: number, edr: number, stc: number, edc: number): void;
|
|
8
8
|
export declare function sortSelection(ctx: Context, isAsc: boolean, colIndex?: number): void;
|
|
9
|
+
export declare function sortSheetBySelectedColumn(ctx: Context, isAsc: boolean): void;
|
|
9
10
|
export declare function spillSortResult(ctx: Context, startRow: number, startCol: number, formulaResult: any, // expects { f: string, v: any[][] }
|
|
10
11
|
flowdata?: CellMatrix): boolean;
|
|
@@ -125,6 +125,14 @@ export type SheetConfig = {
|
|
|
125
125
|
rowlen?: Record<string, number>;
|
|
126
126
|
columnlen?: Record<string, number>;
|
|
127
127
|
rowhidden?: Record<string, number>;
|
|
128
|
+
/**
|
|
129
|
+
* Manually hidden rows (provenance-safe). `rowhidden` remains the render-time union of
|
|
130
|
+
* manual + filter-hidden rows. This map stores only manual hides so filters can be
|
|
131
|
+
* cleared without losing manual state.
|
|
132
|
+
*/
|
|
133
|
+
rowhidden_manual?: Record<string, number>;
|
|
134
|
+
/** Cached union of all filter-hidden rows on the sheet (derived from `ctx.filter[*].rowhidden`). */
|
|
135
|
+
rowhidden_filter?: Record<string, number>;
|
|
128
136
|
colhidden?: Record<string, number>;
|
|
129
137
|
customHeight?: Record<string, number>;
|
|
130
138
|
customWidth?: Record<string, number>;
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
import { default as React } from 'react';
|
|
2
|
+
import { Context } from '../../../core';
|
|
3
|
+
|
|
4
|
+
export type SortLocaleLabels = {
|
|
5
|
+
sortSheet: string;
|
|
6
|
+
sortRange: string;
|
|
7
|
+
sortSheetByColumnAZ: string;
|
|
8
|
+
sortSheetByColumnZA: string;
|
|
9
|
+
sortRangeByColumnAZ: string;
|
|
10
|
+
sortRangeByColumnZA: string;
|
|
11
|
+
};
|
|
12
|
+
declare const SortPopoverContent: React.FC<{
|
|
13
|
+
context: Context;
|
|
14
|
+
setContext: (updater: (draftCtx: Context) => void) => void;
|
|
15
|
+
sortLocale: SortLocaleLabels;
|
|
16
|
+
setOpen: React.Dispatch<React.SetStateAction<boolean>>;
|
|
17
|
+
}>;
|
|
18
|
+
export default SortPopoverContent;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { default as React } from 'react';
|
|
2
2
|
import { Cell } from '../../../core';
|
|
3
3
|
|
|
4
|
-
export declare const getLucideIcon: (title: string) => "Undo" | "Redo" | "Underline" | "Border" | "Filter" | "Link" | "Search" | "" | "Percent" | "Ethereum" | "ChevronDown" | "Bold" | "Italic" | "Strikethrough" | "PaintBucket" | "PaintRoller" | "AlignLeft" | "AlignCenter" | "AlignRight" | "ArrowUpFromLine" | "AlignVerticalMiddle" | "ArrowDownToLine" | "TextOverflow" | "WrapText" | "TextClip" | "Baseline" | "MergeHorizontal" | "DollarSign" | "DecimalsArrowLeft" | "DecimalsArrowRight" | "PaintbrushVertical" | "MessageSquarePlus" | "Image" | "Sigma" | "ShieldCheck" | "DuneChart" | "Ellipsis";
|
|
4
|
+
export declare const getLucideIcon: (title: string) => "Undo" | "Redo" | "Underline" | "Border" | "Filter" | "Link" | "Search" | "" | "Percent" | "Ethereum" | "ChevronDown" | "Bold" | "Italic" | "Strikethrough" | "PaintBucket" | "PaintRoller" | "AlignLeft" | "AlignCenter" | "AlignRight" | "ArrowUpFromLine" | "AlignVerticalMiddle" | "ArrowDownToLine" | "TextOverflow" | "WrapText" | "TextClip" | "Baseline" | "MergeHorizontal" | "DollarSign" | "DecimalsArrowLeft" | "DecimalsArrowRight" | "PaintbrushVertical" | "ArrowDownUp" | "MessageSquarePlus" | "Image" | "Sigma" | "ShieldCheck" | "DuneChart" | "Ellipsis";
|
|
5
5
|
export declare const CurrencySelector: ({ cell, defaultTextFormat, toolTipText, }: {
|
|
6
6
|
cell: Cell | null | undefined;
|
|
7
7
|
defaultTextFormat: string;
|