@odoo/o-spreadsheet 18.2.24 → 18.2.25

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.
@@ -2,9 +2,9 @@
2
2
  /**
3
3
  * This file is generated by o-spreadsheet build tools. Do not edit it.
4
4
  * @see https://github.com/odoo/o-spreadsheet
5
- * @version 18.2.24
6
- * @date 2025-08-04T06:52:37.759Z
7
- * @hash 5709b1b
5
+ * @version 18.2.25
6
+ * @date 2025-08-18T08:16:31.368Z
7
+ * @hash 6b63aad
8
8
  */
9
9
 
10
10
  'use strict';
@@ -19671,7 +19671,7 @@ const OFFSET = {
19671
19671
  right: startingCol + offsetWidth - 1,
19672
19672
  bottom: startingRow + offsetHeight - 1,
19673
19673
  };
19674
- const range = this.getters.getRangeFromZone(this.__originSheetId, dependencyZone);
19674
+ const range = this.getters.getRangeFromZone(sheetId, dependencyZone);
19675
19675
  if (range.invalidXc || range.invalidSheetName) {
19676
19676
  return new InvalidReferenceError();
19677
19677
  }
@@ -46072,7 +46072,7 @@ class PivotLayoutConfigurator extends owl.Component {
46072
46072
  this.props.onDimensionsUpdated(update);
46073
46073
  }
46074
46074
  getMeasureId(fieldName, aggregator) {
46075
- const baseId = fieldName + (aggregator ? `:${aggregator}` : "");
46075
+ const baseId = fieldName.replaceAll("'", "") + (aggregator ? `:${aggregator}` : "");
46076
46076
  let id = baseId;
46077
46077
  let i = 2;
46078
46078
  while (this.props.definition.measures.some((m) => m.id === id)) {
@@ -71077,9 +71077,7 @@ class ClickableCellsStore extends SpreadsheetStore {
71077
71077
  }
71078
71078
  if (!(xc in clickableCells[sheetId])) {
71079
71079
  const clickableCell = this.findClickableItem(position);
71080
- if (clickableCell) {
71081
- clickableCells[sheetId][xc] = clickableCell;
71082
- }
71080
+ clickableCells[sheetId][xc] = clickableCell;
71083
71081
  }
71084
71082
  return clickableCells[sheetId][xc];
71085
71083
  }
@@ -77259,6 +77257,6 @@ exports.tokenColors = tokenColors;
77259
77257
  exports.tokenize = tokenize;
77260
77258
 
77261
77259
 
77262
- __info__.version = "18.2.24";
77263
- __info__.date = "2025-08-04T06:52:37.759Z";
77264
- __info__.hash = "5709b1b";
77260
+ __info__.version = "18.2.25";
77261
+ __info__.date = "2025-08-18T08:16:31.368Z";
77262
+ __info__.hash = "6b63aad";
@@ -2,9 +2,9 @@
2
2
  /**
3
3
  * This file is generated by o-spreadsheet build tools. Do not edit it.
4
4
  * @see https://github.com/odoo/o-spreadsheet
5
- * @version 18.2.24
6
- * @date 2025-08-04T06:52:37.759Z
7
- * @hash 5709b1b
5
+ * @version 18.2.25
6
+ * @date 2025-08-18T08:16:31.368Z
7
+ * @hash 6b63aad
8
8
  */
9
9
 
10
10
  import { useEnv, useSubEnv, onWillUnmount, useComponent, status, Component, useRef, onMounted, useEffect, App, blockDom, useState, onPatched, onWillPatch, onWillUpdateProps, useExternalListener, onWillStart, xml, useChildSubEnv, markRaw, toRaw } from '@odoo/owl';
@@ -19669,7 +19669,7 @@ const OFFSET = {
19669
19669
  right: startingCol + offsetWidth - 1,
19670
19670
  bottom: startingRow + offsetHeight - 1,
19671
19671
  };
19672
- const range = this.getters.getRangeFromZone(this.__originSheetId, dependencyZone);
19672
+ const range = this.getters.getRangeFromZone(sheetId, dependencyZone);
19673
19673
  if (range.invalidXc || range.invalidSheetName) {
19674
19674
  return new InvalidReferenceError();
19675
19675
  }
@@ -46070,7 +46070,7 @@ class PivotLayoutConfigurator extends Component {
46070
46070
  this.props.onDimensionsUpdated(update);
46071
46071
  }
46072
46072
  getMeasureId(fieldName, aggregator) {
46073
- const baseId = fieldName + (aggregator ? `:${aggregator}` : "");
46073
+ const baseId = fieldName.replaceAll("'", "") + (aggregator ? `:${aggregator}` : "");
46074
46074
  let id = baseId;
46075
46075
  let i = 2;
46076
46076
  while (this.props.definition.measures.some((m) => m.id === id)) {
@@ -71075,9 +71075,7 @@ class ClickableCellsStore extends SpreadsheetStore {
71075
71075
  }
71076
71076
  if (!(xc in clickableCells[sheetId])) {
71077
71077
  const clickableCell = this.findClickableItem(position);
71078
- if (clickableCell) {
71079
- clickableCells[sheetId][xc] = clickableCell;
71080
- }
71078
+ clickableCells[sheetId][xc] = clickableCell;
71081
71079
  }
71082
71080
  return clickableCells[sheetId][xc];
71083
71081
  }
@@ -77212,6 +77210,6 @@ const chartHelpers = { ...CHART_HELPERS, ...CHART_RUNTIME_HELPERS };
77212
77210
  export { AbstractCellClipboardHandler, AbstractChart, AbstractFigureClipboardHandler, CellErrorType, CommandResult, CorePlugin, CoreViewPlugin, DispatchResult, EvaluationError, Model, PivotRuntimeDefinition, Registry, Revision, SPREADSHEET_DIMENSIONS, Spreadsheet, SpreadsheetPivotTable, UIPlugin, __info__, addFunction, addRenderingLayer, astToFormula, chartHelpers, compile, compileTokens, components, constants, convertAstNodes, coreTypes, findCellInNewZone, functionCache, helpers, hooks, invalidateCFEvaluationCommands, invalidateDependenciesCommands, invalidateEvaluationCommands, iterateAstNodes, links, load, parse, parseTokens, readonlyAllowedCommands, registries, setDefaultSheetViewSize, setTranslationMethod, stores, tokenColors, tokenize };
77213
77211
 
77214
77212
 
77215
- __info__.version = "18.2.24";
77216
- __info__.date = "2025-08-04T06:52:37.759Z";
77217
- __info__.hash = "5709b1b";
77213
+ __info__.version = "18.2.25";
77214
+ __info__.date = "2025-08-18T08:16:31.368Z";
77215
+ __info__.hash = "6b63aad";
@@ -2,9 +2,9 @@
2
2
  /**
3
3
  * This file is generated by o-spreadsheet build tools. Do not edit it.
4
4
  * @see https://github.com/odoo/o-spreadsheet
5
- * @version 18.2.24
6
- * @date 2025-08-04T06:52:37.759Z
7
- * @hash 5709b1b
5
+ * @version 18.2.25
6
+ * @date 2025-08-18T08:16:31.368Z
7
+ * @hash 6b63aad
8
8
  */
9
9
 
10
10
  (function (exports, owl) {
@@ -19670,7 +19670,7 @@ stores.inject(MyMetaStore, storeInstance);
19670
19670
  right: startingCol + offsetWidth - 1,
19671
19671
  bottom: startingRow + offsetHeight - 1,
19672
19672
  };
19673
- const range = this.getters.getRangeFromZone(this.__originSheetId, dependencyZone);
19673
+ const range = this.getters.getRangeFromZone(sheetId, dependencyZone);
19674
19674
  if (range.invalidXc || range.invalidSheetName) {
19675
19675
  return new InvalidReferenceError();
19676
19676
  }
@@ -46071,7 +46071,7 @@ stores.inject(MyMetaStore, storeInstance);
46071
46071
  this.props.onDimensionsUpdated(update);
46072
46072
  }
46073
46073
  getMeasureId(fieldName, aggregator) {
46074
- const baseId = fieldName + (aggregator ? `:${aggregator}` : "");
46074
+ const baseId = fieldName.replaceAll("'", "") + (aggregator ? `:${aggregator}` : "");
46075
46075
  let id = baseId;
46076
46076
  let i = 2;
46077
46077
  while (this.props.definition.measures.some((m) => m.id === id)) {
@@ -71076,9 +71076,7 @@ stores.inject(MyMetaStore, storeInstance);
71076
71076
  }
71077
71077
  if (!(xc in clickableCells[sheetId])) {
71078
71078
  const clickableCell = this.findClickableItem(position);
71079
- if (clickableCell) {
71080
- clickableCells[sheetId][xc] = clickableCell;
71081
- }
71079
+ clickableCells[sheetId][xc] = clickableCell;
71082
71080
  }
71083
71081
  return clickableCells[sheetId][xc];
71084
71082
  }
@@ -77258,9 +77256,9 @@ stores.inject(MyMetaStore, storeInstance);
77258
77256
  exports.tokenize = tokenize;
77259
77257
 
77260
77258
 
77261
- __info__.version = "18.2.24";
77262
- __info__.date = "2025-08-04T06:52:37.759Z";
77263
- __info__.hash = "5709b1b";
77259
+ __info__.version = "18.2.25";
77260
+ __info__.date = "2025-08-18T08:16:31.368Z";
77261
+ __info__.hash = "6b63aad";
77264
77262
 
77265
77263
 
77266
77264
  })(this.o_spreadsheet = this.o_spreadsheet || {}, owl);