@odoo/o-spreadsheet 19.4.3 → 19.4.4

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.3
5
- @date 2026-07-20T11:02:37.915Z
6
- @hash d32e61b
4
+ @version 19.4.4
5
+ @date 2026-07-23T07:49:23.288Z
6
+ @hash 6b3c312
7
7
  -->
8
8
  <odoo>
9
9
  <t t-name="o-spreadsheet-ValidationMessages">
@@ -7451,10 +7451,7 @@
7451
7451
  />
7452
7452
  <canvas t-ref="this.canvasRef" class="os-theme-dependant pe-none"/>
7453
7453
  <t t-set="focused" t-value="this.focusedClients"/>
7454
- <t
7455
- t-foreach="this.env.model.getters.getClientsToDisplay()"
7456
- t-as="client"
7457
- t-key="this.getClientPositionKey(client)">
7454
+ <t t-foreach="this.clientsToDisplay" t-as="client" t-key="this.getClientPositionKey(client)">
7458
7455
  <ClientTag
7459
7456
  name="client.name"
7460
7457
  color="client.color"
@@ -120,4 +120,5 @@ export declare class Grid extends Component<SpreadsheetChildEnv> {
120
120
  onComposerContentFocused(): void;
121
121
  get staticTables(): Table[];
122
122
  get displaySelectionHandler(): boolean;
123
+ get clientsToDisplay(): Required<Client>[];
123
124
  }
@@ -233,6 +233,7 @@ import { StandaloneComposer } from "./components/composer/standalone_composer/st
233
233
  import { Select } from "./components/select/select";
234
234
  import { ChartRangeDataSourceComponent } from "./components/side_panel/chart/building_blocks/range_data_source/range_data_source";
235
235
  import { TopBar } from "./components/top_bar/top_bar";
236
+ import { PositionMap } from "./helpers/cells/position_map";
236
237
  import { parseFormat } from "./helpers/format/format_parser";
237
238
  import { replaceSymbolInFormula } from "./helpers/formulas";
238
239
  import { getFirstPivotFunction, getNumberOfPivotFunctions } from "./helpers/pivot/pivot_composer_helpers";
@@ -312,6 +313,7 @@ export declare const helpers: {
312
313
  collapseHierarchicalDisplayName: typeof collapseHierarchicalDisplayName;
313
314
  getCanonicalSymbolName: typeof getCanonicalSymbolName;
314
315
  fuzzyLookup: typeof fuzzyLookup;
316
+ PositionMap: typeof PositionMap;
315
317
  replaceSymbolInFormula: typeof replaceSymbolInFormula;
316
318
  };
317
319
  export declare const links: {
@@ -15,9 +15,12 @@ export declare class PivotUIPlugin extends CoreViewPlugin {
15
15
  private pivots;
16
16
  private unusedPivotsInFormulas?;
17
17
  private custom;
18
+ private pivotPositionCache;
19
+ private shouldInvalidateCache;
18
20
  constructor(config: CoreViewPluginConfig);
19
21
  beforeHandle(cmd: Command): void;
20
22
  handle(cmd: Command): void;
23
+ finalize(): void;
21
24
  /**
22
25
  * Get the id of the first pivot in the formula at the given position. Returns undefined if there
23
26
  * is no pivot at this position
@@ -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.4.3",
3
+ "version": "19.4.4",
4
4
  "description": "A spreadsheet component",
5
5
  "type": "module",
6
6
  "main": "dist/o_spreadsheet.cjs",