@odoo/o-spreadsheet 19.3.17 → 19.3.18

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.
@@ -1,9 +1,9 @@
1
1
  <!--
2
2
  This file is generated by o-spreadsheet build tools. Do not edit it.
3
3
  @see https://github.com/odoo/o-spreadsheet
4
- @version 19.3.17
5
- @date 2026-08-21T15:31:51.753Z
6
- @hash cf8c614
4
+ @version 19.3.18
5
+ @date 2026-08-29T09:16:29.279Z
6
+ @hash 1f4b1ae
7
7
  -->
8
8
  <odoo>
9
9
  <t t-name="o-spreadsheet-ValidationMessages">
@@ -15,6 +15,7 @@ export declare class Session extends EventBus<CollaborativeEvent> {
15
15
  private transportService;
16
16
  private serverRevisionId;
17
17
  private commandSquisher;
18
+ private shouldVerifySquish;
18
19
  /**
19
20
  * Positions of the others client.
20
21
  */
@@ -49,8 +50,9 @@ export declare class Session extends EventBus<CollaborativeEvent> {
49
50
  * between all connected clients
50
51
  * @param serverRevisionId
51
52
  * @param commandSquisher used to squish and unsquish commands to reduce the size of messages sent to the server
53
+ * @param shouldVerifySquish either the commands should be unsquished and verified before being sent to the server
52
54
  */
53
- constructor(revisions: RevisionLog<Revision>, transportService: TransportService<CollaborationMessage>, serverRevisionId: UID | undefined, commandSquisher: ICommandSquisher);
55
+ constructor(revisions: RevisionLog<Revision>, transportService: TransportService<CollaborationMessage>, serverRevisionId: UID | undefined, commandSquisher: ICommandSquisher, shouldVerifySquish?: boolean);
54
56
  canApplyOptimisticUpdate(): boolean;
55
57
  /**
56
58
  * Add a new revision to the collaborative session.
@@ -32,6 +32,7 @@ export declare class Squisher {
32
32
  private baseFormulaWasTransformed;
33
33
  private rangeToStringOptions;
34
34
  private baseNumber;
35
+ private baseNumberFormat;
35
36
  constructor(getters: CoreGetters);
36
37
  /** Build the result object based on a transformation. Joins the numbers into a single string, tries to do the same
37
38
  * with references (unless they contain a sheet name that contains the separator). */
@@ -40,6 +41,8 @@ export declare class Squisher {
40
41
  resetBaseTo(formula: CompiledFormula): void;
41
42
  /** Reset the base formula to undefined, resetting all offsets */
42
43
  resetBaseFormula(): void;
44
+ /** Reset the base number literal chain, so the next literal number cannot be squished as an offset of it */
45
+ resetBaseNumber(): void;
43
46
  /**
44
47
  * Takes a cell and squish their formulas against the previous one (in the previous call).
45
48
  * We should call this method for each cell in the sheet, in order from top to bottom, then from left to right (all cells of a columns, for each columns left to right).
@@ -16,6 +16,7 @@ export interface RemoteRevisionMessage extends AbstractMessage {
16
16
  }
17
17
  export interface RemoteRevisionsSquishedMessage extends Omit<RemoteRevisionMessage, "commands"> {
18
18
  commands: (CoreCommand | SquishedCoreCommand)[];
19
+ squishedFailed?: boolean;
19
20
  }
20
21
  export interface RevisionUndoneMessage extends AbstractMessage {
21
22
  type: "REVISION_UNDONE";
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@odoo/o-spreadsheet",
3
- "version": "19.3.17",
3
+ "version": "19.3.18",
4
4
  "description": "A spreadsheet component",
5
5
  "type": "module",
6
6
  "main": "dist/o_spreadsheet.cjs",