@odoo/o-spreadsheet 19.3.12 → 19.3.13

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.12
5
- @date 2026-07-20T11:02:45.434Z
6
- @hash 2b42707
4
+ @version 19.3.13
5
+ @date 2026-07-23T07:41:07.163Z
6
+ @hash 2059bd0
7
7
  -->
8
8
  <odoo>
9
9
  <t t-name="o-spreadsheet-ValidationMessages">
@@ -6950,10 +6950,7 @@
6950
6950
  />
6951
6951
  <canvas t-ref="canvas"/>
6952
6952
  <t t-set="focused" t-value="focusedClients"/>
6953
- <t
6954
- t-foreach="env.model.getters.getClientsToDisplay()"
6955
- t-as="client"
6956
- t-key="getClientPositionKey(client)">
6953
+ <t t-foreach="this.clientsToDisplay" t-as="client" t-key="getClientPositionKey(client)">
6957
6954
  <ClientTag
6958
6955
  name="client.name"
6959
6956
  color="client.color"
@@ -119,5 +119,6 @@ export declare class Grid extends Component<Props, SpreadsheetChildEnv> {
119
119
  onComposerContentFocused(): void;
120
120
  get staticTables(): Table[];
121
121
  get displaySelectionHandler(): boolean;
122
+ get clientsToDisplay(): Required<Client>[];
122
123
  }
123
124
  export {};
@@ -1,3 +1,4 @@
1
+ import { UID } from "../..";
1
2
  import { Client, ClientId, ClientWithColor } from "../../types/collaborative/session";
2
3
  import { GridRenderingContext } from "../../types/rendering";
3
4
  import { UIPlugin, UIPluginConfig } from "../ui_plugin";
@@ -18,7 +19,7 @@ export declare class CollaborativePlugin extends UIPlugin {
18
19
  * Get the list of others connected clients which are present in the same sheet
19
20
  * and with a valid position
20
21
  */
21
- getClientsToDisplay(): ClientToDisplay[];
22
+ getClientsToDisplay(sheetId: UID): ClientToDisplay[];
22
23
  drawLayer(renderingContext: GridRenderingContext): void;
23
24
  }
24
25
  export {};
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@odoo/o-spreadsheet",
3
- "version": "19.3.12",
3
+ "version": "19.3.13",
4
4
  "description": "A spreadsheet component",
5
5
  "type": "module",
6
6
  "main": "dist/o_spreadsheet.cjs",