@fileverse-dev/dsheet 2.0.34 → 2.0.36-rtc
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/{constants-CnhOvijG.js → constants-yStXQJiK.js} +35 -14
- package/dist/constants.d.ts +4 -0
- package/dist/constants.js +6 -3
- package/dist/editor/components/collab-status-chip.d.ts +8 -0
- package/dist/editor/contexts/editor-context.d.ts +15 -5
- package/dist/editor/dsheet-editor.d.ts +1 -1
- package/dist/editor/hooks/use-collab-awareness.d.ts +17 -0
- package/dist/editor/hooks/use-editor-data.d.ts +2 -1
- package/dist/editor/hooks/use-editor-sync.d.ts +9 -6
- package/dist/editor/types.d.ts +2 -2
- package/dist/editor/utils/after-update-cell.d.ts +12 -0
- package/dist/editor/utils/formula-ui-sync.d.ts +3 -1
- package/dist/{executeStringFunction-CqY9CxQI.js → executeStringFunction-F9mb-SpN.js} +4489 -4490
- package/dist/formula.js +1 -1
- package/dist/index-CFOs3Loc.js +50962 -0
- package/dist/index.d.ts +2 -0
- package/dist/index.es.js +31 -30
- package/dist/sheet-engine/core/index.d.ts +1 -1
- package/dist/sheet-engine/core/modules/format.d.ts +6 -0
- package/dist/sheet-engine/core/modules/index.d.ts +1 -1
- package/dist/sheet-engine/core/settings.d.ts +3 -0
- package/dist/sheet-engine/core/types.d.ts +1 -0
- package/dist/sheet-engine/react/constants.d.ts +12 -2
- package/dist/sheet-engine/react/utils/convertCellsToCrypto.d.ts +1 -1
- package/dist/style.css +1 -1
- package/dist/sync-local/SyncManager.d.ts +67 -0
- package/dist/sync-local/collabStateMachine.d.ts +23 -0
- package/dist/sync-local/crypto/index.d.ts +6 -0
- package/dist/sync-local/index.d.ts +3 -0
- package/dist/sync-local/socketClient.d.ts +68 -0
- package/dist/sync-local/types/index.d.ts +211 -0
- package/dist/sync-local/useSyncManager.d.ts +12 -0
- package/dist/sync-local/utils/createAwarenessUpdateHandler.d.ts +8 -0
- package/dist/sync-local/utils/objectToFile.d.ts +1 -0
- package/dist/{use-xlsx-import-impl-DgedLtO_.js → use-xlsx-import-impl-B8AzRFwd.js} +2 -2
- package/dist/{xlsx-export-impl-1HOQoC6f.js → xlsx-export-impl-Q1Pec91B.js} +293 -295
- package/package.json +13 -9
- package/dist/editor/hooks/use-editor-collaboration.d.ts +0 -9
- package/dist/index-D9nJayaD.js +0 -40174
- package/dist/sheet-engine/core/api/emit-cell-ydoc.d.ts +0 -12
|
@@ -1,12 +0,0 @@
|
|
|
1
|
-
import { Context } from '../context';
|
|
2
|
-
|
|
3
|
-
/**
|
|
4
|
-
* Emit a single-cell change to the collaboration (Yjs) doc via the
|
|
5
|
-
* `updateCellYdoc` hook. No-op outside collaborative sessions (the hook is only
|
|
6
|
-
* registered when collaboration is enabled).
|
|
7
|
-
*
|
|
8
|
-
* Imperative cell writes (`setCellValue` without `callAfterUpdate`,
|
|
9
|
-
* `setCellFormat`) otherwise stay local to the editing client; this keeps them
|
|
10
|
-
* in sync with collaborators without scanning the whole sheet.
|
|
11
|
-
*/
|
|
12
|
-
export declare const emitCellYdocUpdate: (ctx: Context, sheetId: string, row: number, column: number, cell: unknown) => void;
|