@univerjs-pro/collaboration 0.11.0-nightly.202511151013 → 0.12.0-nightly.202511220628
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.
|
@@ -16,6 +16,7 @@ export interface IChangeset {
|
|
|
16
16
|
sid?: string;
|
|
17
17
|
/** reqId works with sid, should be monotonically increasing and begin with 1 in the same edit session */
|
|
18
18
|
reqId?: number;
|
|
19
|
+
mutationSize?: number | undefined;
|
|
19
20
|
}
|
|
20
21
|
export declare function parseProtocolChangeset(protocolChangeset: IProtocolChangeset): IChangeset;
|
|
21
22
|
export declare function parseProtocolCommand(protocolCommands: IProtocolCommand[]): ICommandInfo[];
|
|
@@ -44,6 +44,11 @@ export declare class TransformService extends Disposable implements ITransformSe
|
|
|
44
44
|
registerTransformAlgorithm(algorithm: IMutationTransformAlgorithm): void;
|
|
45
45
|
transformMutation(m1: IMutationInfo, m2: IMutationInfo): ITransformMutationResult;
|
|
46
46
|
transformMutation(m1: IMutationInfo, m2: IMutationInfo, onlyLater: true): IFailureTransformMutationResult | Omit<ISuccessTransformMutationResult, 'm1Prime'>;
|
|
47
|
+
/**
|
|
48
|
+
* Preprocess mutation to decompress colWidth/rowHeight parameters if they are in compressed format.
|
|
49
|
+
* This ensures all algorithms receive uncompressed data.
|
|
50
|
+
*/
|
|
51
|
+
private _preprocessMutation;
|
|
47
52
|
transformMutations(m1: IMutationInfo[], m2: IMutationInfo[]): ITransformMutationsResult;
|
|
48
53
|
transformMutations(m1: IMutationInfo[], m2: IMutationInfo[], onlyLater: true): IFailureTransformMutationsResult | Omit<ISuccessTransformMutationsResult, 'm1Prime'>;
|
|
49
54
|
/**
|