@odoo/o-spreadsheet 19.4.8 → 19.4.10

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.4.8
5
- @date 2026-08-19T09:25:14.798Z
6
- @hash 9dd828e
4
+ @version 19.4.10
5
+ @date 2026-08-29T09:17:28.397Z
6
+ @hash d7a0f18
7
7
  -->
8
8
  <odoo>
9
9
  <t t-name="o-spreadsheet-ValidationMessages">
@@ -16,7 +16,7 @@
16
16
  <t t-else="" t-call="o-spreadsheet-Icon.TRIANGLE_EXCLAMATION"/>
17
17
  </div>
18
18
  <div class="d-flex flex-column overflow-hidden">
19
- <span class="ps-2 text-truncate" t-out="msg"/>
19
+ <span class="ps-2" t-out="msg"/>
20
20
  </div>
21
21
  </div>
22
22
  </div>
@@ -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
  */
@@ -48,8 +49,9 @@ export declare class Session extends EventBus<CollaborativeEvent> {
48
49
  * between all connected clients
49
50
  * @param serverRevisionId
50
51
  * @param commandSquisher used to squish and unsquish commands to reduce the size of messages sent to the server
52
+ * @param shouldVerifySquish either the commands should be unsquished and verified before being sent to the server
51
53
  */
52
- constructor(revisions: RevisionLog<Revision>, transportService: TransportService<CollaborationMessage>, serverRevisionId: UID | undefined, commandSquisher: ICommandSquisher);
54
+ constructor(revisions: RevisionLog<Revision>, transportService: TransportService<CollaborationMessage>, serverRevisionId: UID | undefined, commandSquisher: ICommandSquisher, shouldVerifySquish?: boolean);
53
55
  canApplyOptimisticUpdate(): boolean;
54
56
  /**
55
57
  * 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.4.8",
3
+ "version": "19.4.10",
4
4
  "description": "A spreadsheet component",
5
5
  "type": "module",
6
6
  "main": "dist/o_spreadsheet.cjs",
@@ -141,7 +141,7 @@
141
141
  "xmlSelfClosingSpace": false
142
142
  },
143
143
  "dependencies": {
144
- "@odoo/owl": "3.0.0-alpha.45",
144
+ "@odoo/owl": "3.0.0-alpha.47",
145
145
  "bootstrap": "5.3.3",
146
146
  "font-awesome": "^4.7.0",
147
147
  "rbush": "^3.0.1"