@fileverse-dev/dsheet 2.1.1-test-1 → 2.1.2-dropIn-1
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/editor/components/comments/comment-actions-dropdown.d.ts +19 -0
- package/dist/editor/components/comments/comment-cell-popup.d.ts +4 -0
- package/dist/editor/components/comments/comment-input.d.ts +4 -0
- package/dist/editor/components/comments/comment-item.d.ts +4 -0
- package/dist/editor/components/comments/comment-sidebar-empty.d.ts +4 -0
- package/dist/editor/components/comments/comment-sidebar.d.ts +4 -0
- package/dist/editor/components/comments/ens/ens-cache.d.ts +10 -0
- package/dist/editor/components/comments/ens/use-ens-status.d.ts +10 -0
- package/dist/editor/components/comments/use-comment-cell-popup.d.ts +12 -0
- package/dist/editor/components/comments/use-comment-permissions.d.ts +15 -0
- package/dist/editor/components/editor-workbook.d.ts +4 -9
- package/dist/editor/components/sidebar/editor-right-sidebar.d.ts +20 -0
- package/dist/editor/components/sidebar/right-sidebar.d.ts +14 -0
- package/dist/editor/components/sidebar/sidebar-context.d.ts +17 -0
- package/dist/editor/components/sidebar/use-right-panels.d.ts +12 -0
- package/dist/editor/components/sidebars/conditional-format.d.ts +2 -0
- package/dist/editor/components/sidebars/data-verification.d.ts +2 -0
- package/dist/editor/components/sidebars/function/function-categories-logic.d.ts +11 -0
- package/dist/editor/components/sidebars/function/function-categories.d.ts +6 -0
- package/dist/editor/components/sidebars/function/function-metadata.d.ts +7 -0
- package/dist/editor/components/sidebars/function/functionList.d.ts +8 -0
- package/dist/editor/components/sidebars/function/types.d.ts +24 -0
- package/dist/editor/components/sidebars/function/use-functions.d.ts +20 -0
- package/dist/editor/components/sidebars/function-content.d.ts +8 -0
- package/dist/editor/components/sidebars/template-ui.d.ts +22 -0
- package/dist/editor/components/sidebars/templates.d.ts +9 -0
- package/dist/editor/contexts/editor-context.d.ts +2 -2
- package/dist/editor/dsheet-editor.d.ts +1 -1
- package/dist/editor/types/comments.d.ts +128 -0
- package/dist/editor/types.d.ts +19 -5
- package/dist/editor/utils/api-keys-local-storage.d.ts +17 -0
- package/dist/editor/utils/cell-comment-marker.d.ts +29 -0
- package/dist/editor/utils/comment-key-utils.d.ts +7 -0
- package/dist/editor/utils/sheet-editor-safe.d.ts +26 -0
- package/dist/{executeStringFunction-tdvZ0KTi.js → executeStringFunction-CGbxAbbw.js} +436 -423
- package/dist/formula.js +1 -1
- package/dist/{index-C6jhrs-0.js → index-5D_WjAlq.js} +21979 -19435
- package/dist/index.d.ts +8 -1
- package/dist/index.es.js +55 -48
- package/dist/sheet-engine/core/index.d.ts +2 -1
- package/dist/sheet-engine/core/locale/en.d.ts +13 -0
- package/dist/sheet-engine/core/modules/index.d.ts +2 -0
- package/dist/sheet-engine/core/modules/removeDuplicates.d.ts +29 -0
- package/dist/sheet-engine/react/components/RemoveDuplicates/index.d.ts +12 -0
- package/dist/style.css +1 -1
- package/dist/{use-xlsx-import-impl-Dz78ftRU.js → use-xlsx-import-impl-Dr0Yvje-.js} +2 -2
- package/dist/{xlsx-export-impl-CxR7izBI.js → xlsx-export-impl-D5W76OCB.js} +2 -2
- package/package.json +3 -2
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
import { RefObject } from 'react';
|
|
2
|
+
import { SheetEditorRef } from '../types/comments';
|
|
3
|
+
|
|
4
|
+
type SheetEditorRefLike = RefObject<SheetEditorRef | null> | null | undefined;
|
|
5
|
+
type WorkbookSheetLike = {
|
|
6
|
+
id?: string;
|
|
7
|
+
order?: number;
|
|
8
|
+
name?: string;
|
|
9
|
+
};
|
|
10
|
+
export declare function isWorkbookReady(ref: SheetEditorRefLike): boolean;
|
|
11
|
+
export declare function getCurrentSheetSafe(ref: SheetEditorRefLike): WorkbookSheetLike | null;
|
|
12
|
+
export declare function getCurrentSheetOrderSafe(ref: SheetEditorRefLike): number;
|
|
13
|
+
export declare function getCurrentSheetIdSafe(ref: SheetEditorRefLike): string;
|
|
14
|
+
export declare function getAllSheetsSafe(ref: SheetEditorRefLike): WorkbookSheetLike[];
|
|
15
|
+
export declare function buildSheetOrderNameMap(ref: SheetEditorRefLike): Map<number, string>;
|
|
16
|
+
/**
|
|
17
|
+
* Returns a map keyed by BOTH the sheet's immutable id AND its numeric
|
|
18
|
+
* order-as-string so that both new (UUID) and legacy (order) comment keys
|
|
19
|
+
* resolve to the correct display name in a single lookup.
|
|
20
|
+
*/
|
|
21
|
+
export declare function buildSheetIdNameMap(ref: SheetEditorRefLike): Map<string, string>;
|
|
22
|
+
export declare function findSheetById(ref: SheetEditorRefLike, id: string): WorkbookSheetLike | null;
|
|
23
|
+
export declare function activateSheetById(ref: SheetEditorRefLike, id: string): boolean;
|
|
24
|
+
export declare function findSheetByOrder(ref: SheetEditorRefLike, order: number): WorkbookSheetLike | null;
|
|
25
|
+
export declare function activateSheetByOrder(ref: SheetEditorRefLike, order: number): boolean;
|
|
26
|
+
export {};
|