@fileverse-dev/dsheet 4.1.27-stabilise-package-2 → 4.1.28
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/README.md +0 -10
- package/dist/editor/components/skeleton-loader.d.ts +1 -2
- package/dist/editor/contexts/editor-context.d.ts +0 -10
- package/dist/editor/hooks/use-celldata-compaction.d.ts +2 -44
- package/dist/editor/hooks/use-editor-data.d.ts +0 -1
- package/dist/editor/hooks/use-editor-sync.d.ts +1 -5
- package/dist/editor/types.d.ts +1 -47
- package/dist/editor/utils/after-update-cell.d.ts +0 -6
- package/dist/editor/utils/apply-comment-markers.d.ts +1 -3
- package/dist/editor/utils/editor-handle.d.ts +1 -1
- package/dist/editor/utils/remote-apply-guard.d.ts +0 -45
- package/dist/editor/utils/sheet-ydoc-sync-utils.d.ts +4 -13
- package/dist/editor/utils/update-ydoc.d.ts +1 -9
- package/dist/editor/utils/xlsx-export-impl.d.ts +0 -1
- package/dist/editor/utils/xlsx-export.d.ts +0 -1
- package/dist/{executeStringFunction-D1SB3Bwm.js → executeStringFunction-KWYZ3QNg.js} +13304 -14042
- package/dist/formula.js +1 -1
- package/dist/{index-DuRBkNo8.js → index-DiA_gqm4.js} +22384 -23650
- package/dist/index.d.ts +2 -3
- package/dist/index.es.js +55 -58
- package/dist/persistence-utils-BXFajzvq.js +98 -0
- package/dist/persistence-utils.d.ts +0 -2
- package/dist/persistence.d.ts +0 -13
- package/dist/persistence.js +74 -122
- package/dist/sheet-engine/core/api/cell.d.ts +1 -25
- package/dist/sheet-engine/core/api/sheet-flowdata-lifecycle.d.ts +0 -1
- package/dist/sheet-engine/core/index.d.ts +1 -1
- package/dist/sheet-engine/core/modules/border.d.ts +0 -9
- package/dist/sheet-engine/core/modules/dataVerification.d.ts +0 -15
- package/dist/sheet-engine/core/modules/formula-async-eval.d.ts +0 -5
- package/dist/sheet-engine/core/modules/formula-snapshot-eval.d.ts +0 -2
- package/dist/sheet-engine/core/modules/formula-transitive-deps.d.ts +1 -26
- package/dist/sheet-engine/core/modules/formula.d.ts +1 -87
- package/dist/sheet-engine/core/modules/index.d.ts +2 -3
- package/dist/sheet-engine/core/modules/rowcol.d.ts +0 -8
- package/dist/sheet-engine/core/paste-helpers/calculate-range-cell-size.d.ts +0 -14
- package/dist/sheet-engine/core/settings.d.ts +1 -11
- package/dist/sheet-engine/core/utils/filter-selection.d.ts +3 -0
- package/dist/sheet-engine/core/utils/ydoc-celldata-changes.d.ts +2 -29
- package/dist/sheet-engine/react/components/ContextMenu/FilterMenu.d.ts +2 -2
- package/dist/sheet-engine/react/components/ContextMenu/SheetTab.d.ts +2 -2
- package/dist/sheet-engine/react/components/ContextMenu/index.d.ts +2 -2
- package/dist/sheet-engine/react/components/SVGDefines.d.ts +2 -2
- package/dist/sheet-engine/react/components/SheetTab/index.d.ts +2 -2
- package/dist/sheet-engine/react/components/Toolbar/index.d.ts +2 -2
- package/dist/sheet-engine/react/components/Workbook/api.d.ts +0 -4
- package/dist/sheet-engine/react/components/Workbook/index.d.ts +0 -2
- package/dist/sheet-engine/react/context/index.d.ts +0 -15
- package/dist/style.css +1 -1
- package/dist/sync-local/SyncManager.d.ts +2 -2
- package/dist/sync-local/socketClient.d.ts +0 -2
- package/dist/sync-local/types/index.d.ts +1 -5
- package/dist/{use-xlsx-import-impl-DflJ_tOs.js → use-xlsx-import-impl-DVsVdpLm.js} +119 -120
- package/dist/{xlsx-defined-names-Bz4lZarM.js → xlsx-defined-names-BqMo-DgB.js} +2 -2
- package/dist/xlsx-export-impl-D2KWcmcg.js +880 -0
- package/dist/{xlsx-hyperlink-inline-DPSsT1W8.js → xlsx-hyperlink-inline-D15rKG4m.js} +2 -2
- package/package.json +1 -1
- package/dist/editor/utils/active-sheet-keeper.test.d.ts +0 -1
- package/dist/editor/utils/after-update-cell.test.d.ts +0 -1
- package/dist/editor/utils/apply-comment-markers.test.d.ts +0 -1
- package/dist/editor/utils/calc-chain-ydoc-update.test.d.ts +0 -1
- package/dist/editor/utils/content-change.d.ts +0 -48
- package/dist/editor/utils/content-change.test.d.ts +0 -1
- package/dist/editor/utils/content-fingerprint.d.ts +0 -37
- package/dist/editor/utils/content-fingerprint.test.d.ts +0 -1
- package/dist/editor/utils/format-gate.d.ts +0 -27
- package/dist/editor/utils/format-gate.test.d.ts +0 -1
- package/dist/editor/utils/legacy-on-change.d.ts +0 -20
- package/dist/editor/utils/legacy-on-change.test.d.ts +0 -1
- package/dist/editor/utils/patch-plain-celldata.d.ts +0 -19
- package/dist/editor/utils/patch-plain-celldata.test.d.ts +0 -1
- package/dist/editor/utils/rebuild-indexeddb-store.d.ts +0 -19
- package/dist/editor/utils/rebuild-indexeddb-store.failure.test.d.ts +0 -1
- package/dist/editor/utils/rebuild-indexeddb-store.test.d.ts +0 -1
- package/dist/editor/utils/remote-apply-guard.test.d.ts +0 -1
- package/dist/editor/utils/sheet-ydoc-sync-utils.test.d.ts +0 -1
- package/dist/editor/utils/structural-edit-formula-sync.test.d.ts +0 -1
- package/dist/editor/utils/structural-edit-other-tabs.test.d.ts +0 -1
- package/dist/editor/utils/wait-for-sync.d.ts +0 -43
- package/dist/editor/utils/wait-for-sync.test.d.ts +0 -1
- package/dist/persistence-utils-CSKBobX8.js +0 -151
- package/dist/persistence.append.test.d.ts +0 -1
- package/dist/persistence.fingerprint.test.d.ts +0 -1
- package/dist/sheet-engine/core/api/remote-apply.test.d.ts +0 -1
- package/dist/sheet-engine/core/api/sheet-flowdata-lifecycle.test.d.ts +0 -1
- package/dist/sheet-engine/core/modules/b6-ydoc-writes.test.d.ts +0 -1
- package/dist/sheet-engine/core/modules/cell-shift-dep-graph.test.d.ts +0 -1
- package/dist/sheet-engine/core/modules/cell-shift.d.ts +0 -11
- package/dist/sheet-engine/core/modules/cell.commit-ydoc.test.d.ts +0 -1
- package/dist/sheet-engine/core/modules/engine-hot-spots.test.d.ts +0 -1
- package/dist/sheet-engine/core/modules/formula-dep-text.d.ts +0 -23
- package/dist/sheet-engine/core/modules/formula-dep-text.test.d.ts +0 -1
- package/dist/sheet-engine/core/modules/formula-edge-update.d.ts +0 -13
- package/dist/sheet-engine/core/modules/formula-narrowing.test.d.ts +0 -1
- package/dist/sheet-engine/core/modules/formula-tab-load.test.d.ts +0 -1
- package/dist/sheet-engine/core/modules/formula-warmup.d.ts +0 -33
- package/dist/sheet-engine/core/modules/formula-warmup.test.d.ts +0 -1
- package/dist/sheet-engine/core/modules/formula-wide-grid-growth.test.d.ts +0 -1
- package/dist/sheet-engine/core/modules/formula.dep-graph.test.d.ts +0 -1
- package/dist/sheet-engine/core/modules/formula.str-change.test.d.ts +0 -1
- package/dist/sheet-engine/core/modules/formula.wide-seed.test.d.ts +0 -1
- package/dist/sheet-engine/core/modules/history-calc-chain.d.ts +0 -39
- package/dist/sheet-engine/core/modules/history-calc-chain.test.d.ts +0 -1
- package/dist/sheet-engine/core/modules/history-celldata.d.ts +0 -25
- package/dist/sheet-engine/core/modules/history-grid-size.d.ts +0 -16
- package/dist/sheet-engine/core/modules/history-grid-size.test.d.ts +0 -1
- package/dist/sheet-engine/core/modules/rowcol-dep-graph.test.d.ts +0 -1
- package/dist/sheet-engine/core/modules/rowcol-refused-edit.test.d.ts +0 -1
- package/dist/sheet-engine/core/modules/rowcol-unloaded-history.test.d.ts +0 -1
- package/dist/sheet-engine/core/modules/structural-edit-prep.d.ts +0 -36
- package/dist/sheet-engine/core/modules/structural-edit-prep.test.d.ts +0 -1
- package/dist/sheet-engine/core/paste/paste-dep-graph.test.d.ts +0 -1
- package/dist/sheet-engine/core/paste-helpers/calculate-range-cell-size.test.d.ts +0 -1
- package/dist/sheet-engine/react/components/NotationBoxes/shown-comments.d.ts +0 -20
- package/dist/sheet-engine/react/components/NotationBoxes/shown-comments.test.d.ts +0 -1
- package/dist/sheet-engine/react/components/SheetOverlay/editing-as-formula.d.ts +0 -7
- package/dist/sheet-engine/react/components/SheetOverlay/editing-as-formula.test.d.ts +0 -1
- package/dist/sheet-engine/react/components/SheetOverlay/hover-tracker.d.ts +0 -44
- package/dist/sheet-engine/react/components/SheetOverlay/hover-tracker.test.d.ts +0 -1
- package/dist/sheet-engine/react/components/Toolbar/FunctionList/group-functions.d.ts +0 -9
- package/dist/sheet-engine/react/components/Toolbar/FunctionList/group-functions.test.d.ts +0 -1
- package/dist/sheet-engine/react/components/Workbook/denomination-scan.d.ts +0 -16
- package/dist/sheet-engine/react/components/Workbook/denomination-scan.test.d.ts +0 -1
- package/dist/sheet-engine/react/components/Workbook/stable-handle.d.ts +0 -8
- package/dist/sheet-engine/react/components/Workbook/stable-handle.test.d.ts +0 -1
- package/dist/sheet-engine/react/context/use-workbook-store.d.ts +0 -30
- package/dist/sheet-engine/react/context/workbook-store.d.ts +0 -30
- package/dist/sheet-engine/react/context/workbook-store.test.d.ts +0 -1
- package/dist/sync-local/SyncManager.remote-apply.test.d.ts +0 -1
- package/dist/sync-local/SyncManager.test.d.ts +0 -1
- package/dist/sync-local/socketClient.test.d.ts +0 -1
- package/dist/xlsx-export-impl-CxEnpZJO.js +0 -903
- /package/dist/editor/{hooks/use-celldata-compaction.test.d.ts → utils/filter-select-ydoc-update.test.d.ts} +0 -0
- /package/dist/{editor/hooks/use-editor-sync.test.d.ts → sheet-engine/core/modules/filter.test.d.ts} +0 -0
|
@@ -43,10 +43,10 @@ export declare class SyncManager {
|
|
|
43
43
|
private _awarenessUpdateHandler;
|
|
44
44
|
private ydoc;
|
|
45
45
|
private callbacksRef;
|
|
46
|
-
private
|
|
46
|
+
private onLocalUpdate?;
|
|
47
47
|
constructor(config: SyncManagerConfig, onCollabStateChange: (state: CollabState) => void);
|
|
48
48
|
/** Called by useSyncManager on every render to keep refs fresh */
|
|
49
|
-
updateRefs(_services: CollabServices | undefined, callbacks: CollabCallbacks | undefined,
|
|
49
|
+
updateRefs(_services: CollabServices | undefined, callbacks: CollabCallbacks | undefined, onLocalUpdate?: (updatedDocContent: string, updateChunk: string) => void): void;
|
|
50
50
|
get isConnected(): boolean;
|
|
51
51
|
get isReady(): boolean;
|
|
52
52
|
get awareness(): Awareness | null;
|
|
@@ -8,7 +8,6 @@ interface ISocketClientConfig {
|
|
|
8
8
|
ownerEdSecret?: string;
|
|
9
9
|
contractAddress?: string;
|
|
10
10
|
ownerAddress?: string;
|
|
11
|
-
appFileId?: string;
|
|
12
11
|
editLock?: string;
|
|
13
12
|
encryptedTitle?: string;
|
|
14
13
|
identityToken?: string;
|
|
@@ -73,7 +72,6 @@ export declare class SocketClient {
|
|
|
73
72
|
private collaborationUcan?;
|
|
74
73
|
private serverClock;
|
|
75
74
|
private ownerAddress?;
|
|
76
|
-
private appFileId?;
|
|
77
75
|
private editLock?;
|
|
78
76
|
private encryptedTitle?;
|
|
79
77
|
private identityToken?;
|
|
@@ -77,8 +77,6 @@ export interface CollabConnectionConfig {
|
|
|
77
77
|
ownerEdSecret?: string;
|
|
78
78
|
contractAddress?: string;
|
|
79
79
|
ownerAddress?: string;
|
|
80
|
-
/** Host signal (opaque-link sheets): the on-chain dsheetId, sent to the server as ddocId alongside the public room id. */
|
|
81
|
-
appFileId?: string;
|
|
82
80
|
roomInfo?: {
|
|
83
81
|
documentTitle: string;
|
|
84
82
|
portalAddress: string;
|
|
@@ -190,8 +188,7 @@ export interface SyncManagerConfig {
|
|
|
190
188
|
ydoc: Y.Doc;
|
|
191
189
|
services?: CollabServices;
|
|
192
190
|
callbacks?: CollabCallbacks;
|
|
193
|
-
|
|
194
|
-
onRemoteApplied?: (update: Uint8Array) => void;
|
|
191
|
+
onLocalUpdate?: (updatedDocContent: string, updateChunk: string) => void;
|
|
195
192
|
/** Origins to ignore in the ydoc update handler (e.g. IndexedDB provider) */
|
|
196
193
|
ignoredOrigins?: Array<{
|
|
197
194
|
current: unknown;
|
|
@@ -302,7 +299,6 @@ export interface IAuthArgs {
|
|
|
302
299
|
ownerToken?: string;
|
|
303
300
|
ownerAddress?: string;
|
|
304
301
|
contractAddress?: string;
|
|
305
|
-
ddocId?: string;
|
|
306
302
|
sessionDid?: string;
|
|
307
303
|
roomInfo?: string;
|
|
308
304
|
identityToken?: string;
|