@fileverse-dev/ddoc 3.0.80-tab-arch-v2 → 3.0.80-tab-arch-v4
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/index.es.js +5964 -5954
- package/dist/package/components/tabs/utils/tab-utils.d.ts +2 -2
- package/package.json +1 -1
|
@@ -26,14 +26,14 @@ export declare const EMOJI_ROOT_KEY = "tabs_emoji_registry";
|
|
|
26
26
|
export declare const STATE_ROOT_KEY = "tabs_state";
|
|
27
27
|
export declare const DELETED_ROOT_KEY = "tabs_delete_registry";
|
|
28
28
|
export declare const ACTIVE_TAB_STATE_KEY = "activeTabId";
|
|
29
|
-
export declare function syncTabState(doc: Y.Doc, options?: TabSyncOptions): boolean;
|
|
29
|
+
export declare function syncTabState(doc: Y.Doc, options?: TabSyncOptions, transactionOrigin?: unknown): boolean;
|
|
30
30
|
export declare function deriveTabsFromEncodedState(yjsEncodedState: string | string[] | null | undefined, doc: Y.Doc, options?: TabSyncOptions): {
|
|
31
31
|
tabList: Tab[];
|
|
32
32
|
activeTabId: string;
|
|
33
33
|
didWrite: boolean;
|
|
34
34
|
};
|
|
35
35
|
export declare function getTabsYdocNodes(doc: Y.Doc): TabsYdocNodes;
|
|
36
|
-
export declare function syncTabStateAndGetNodes(doc: Y.Doc, options?: TabSyncOptions): SyncedTabsYdocNodes;
|
|
36
|
+
export declare function syncTabStateAndGetNodes(doc: Y.Doc, options?: TabSyncOptions, transactionOrigin?: unknown): SyncedTabsYdocNodes;
|
|
37
37
|
export declare function mergeTabAwareYjsUpdates(encodedUpdates: string[], options?: TabSyncOptions): string;
|
|
38
38
|
export declare function getActiveTabIdFromNodes(tabNodes: Pick<TabsYdocNodes, 'tabState'>): string | null;
|
|
39
39
|
export declare function getTabMetadata(tabNodes: Pick<TabsYdocNodes, 'nameById' | 'emojiById'>, tabId: string): {
|