@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.
Files changed (40) hide show
  1. package/dist/{constants-CnhOvijG.js → constants-yStXQJiK.js} +35 -14
  2. package/dist/constants.d.ts +4 -0
  3. package/dist/constants.js +6 -3
  4. package/dist/editor/components/collab-status-chip.d.ts +8 -0
  5. package/dist/editor/contexts/editor-context.d.ts +15 -5
  6. package/dist/editor/dsheet-editor.d.ts +1 -1
  7. package/dist/editor/hooks/use-collab-awareness.d.ts +17 -0
  8. package/dist/editor/hooks/use-editor-data.d.ts +2 -1
  9. package/dist/editor/hooks/use-editor-sync.d.ts +9 -6
  10. package/dist/editor/types.d.ts +2 -2
  11. package/dist/editor/utils/after-update-cell.d.ts +12 -0
  12. package/dist/editor/utils/formula-ui-sync.d.ts +3 -1
  13. package/dist/{executeStringFunction-CqY9CxQI.js → executeStringFunction-F9mb-SpN.js} +4489 -4490
  14. package/dist/formula.js +1 -1
  15. package/dist/index-CFOs3Loc.js +50962 -0
  16. package/dist/index.d.ts +2 -0
  17. package/dist/index.es.js +31 -30
  18. package/dist/sheet-engine/core/index.d.ts +1 -1
  19. package/dist/sheet-engine/core/modules/format.d.ts +6 -0
  20. package/dist/sheet-engine/core/modules/index.d.ts +1 -1
  21. package/dist/sheet-engine/core/settings.d.ts +3 -0
  22. package/dist/sheet-engine/core/types.d.ts +1 -0
  23. package/dist/sheet-engine/react/constants.d.ts +12 -2
  24. package/dist/sheet-engine/react/utils/convertCellsToCrypto.d.ts +1 -1
  25. package/dist/style.css +1 -1
  26. package/dist/sync-local/SyncManager.d.ts +67 -0
  27. package/dist/sync-local/collabStateMachine.d.ts +23 -0
  28. package/dist/sync-local/crypto/index.d.ts +6 -0
  29. package/dist/sync-local/index.d.ts +3 -0
  30. package/dist/sync-local/socketClient.d.ts +68 -0
  31. package/dist/sync-local/types/index.d.ts +211 -0
  32. package/dist/sync-local/useSyncManager.d.ts +12 -0
  33. package/dist/sync-local/utils/createAwarenessUpdateHandler.d.ts +8 -0
  34. package/dist/sync-local/utils/objectToFile.d.ts +1 -0
  35. package/dist/{use-xlsx-import-impl-DgedLtO_.js → use-xlsx-import-impl-B8AzRFwd.js} +2 -2
  36. package/dist/{xlsx-export-impl-1HOQoC6f.js → xlsx-export-impl-Q1Pec91B.js} +293 -295
  37. package/package.json +13 -9
  38. package/dist/editor/hooks/use-editor-collaboration.d.ts +0 -9
  39. package/dist/index-D9nJayaD.js +0 -40174
  40. 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;