@odoo/o-spreadsheet 18.3.15 → 18.3.16

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.3.15
6
- * @date 2025-08-04T06:51:38.674Z
7
- * @hash 9499d98
5
+ * @version 18.3.16
6
+ * @date 2025-08-18T08:15:07.809Z
7
+ * @hash 68ef497
8
8
  */
9
9
 
10
10
  'use strict';
@@ -18957,7 +18957,7 @@ const OFFSET = {
18957
18957
  right: startingCol + offsetWidth - 1,
18958
18958
  bottom: startingRow + offsetHeight - 1,
18959
18959
  };
18960
- const range = this.getters.getRangeFromZone(this.__originSheetId, dependencyZone);
18960
+ const range = this.getters.getRangeFromZone(sheetId, dependencyZone);
18961
18961
  if (range.invalidXc || range.invalidSheetName) {
18962
18962
  return new InvalidReferenceError();
18963
18963
  }
@@ -48789,7 +48789,7 @@ class PivotLayoutConfigurator extends owl.Component {
48789
48789
  this.props.onDimensionsUpdated(update);
48790
48790
  }
48791
48791
  getMeasureId(fieldName, aggregator) {
48792
- const baseId = fieldName + (aggregator ? `:${aggregator}` : "");
48792
+ const baseId = fieldName.replaceAll("'", "") + (aggregator ? `:${aggregator}` : "");
48793
48793
  let id = baseId;
48794
48794
  let i = 2;
48795
48795
  while (this.props.definition.measures.some((m) => m.id === id)) {
@@ -74356,9 +74356,7 @@ class ClickableCellsStore extends SpreadsheetStore {
74356
74356
  }
74357
74357
  if (!(xc in clickableCells[sheetId])) {
74358
74358
  const clickableCell = this.findClickableItem(position);
74359
- if (clickableCell) {
74360
- clickableCells[sheetId][xc] = clickableCell;
74361
- }
74359
+ clickableCells[sheetId][xc] = clickableCell;
74362
74360
  }
74363
74361
  return clickableCells[sheetId][xc];
74364
74362
  }
@@ -80922,6 +80920,6 @@ exports.tokenColors = tokenColors;
80922
80920
  exports.tokenize = tokenize;
80923
80921
 
80924
80922
 
80925
- __info__.version = "18.3.15";
80926
- __info__.date = "2025-08-04T06:51:38.674Z";
80927
- __info__.hash = "9499d98";
80923
+ __info__.version = "18.3.16";
80924
+ __info__.date = "2025-08-18T08:15:07.809Z";
80925
+ __info__.hash = "68ef497";
@@ -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.3.15
6
- * @date 2025-08-04T06:51:38.674Z
7
- * @hash 9499d98
5
+ * @version 18.3.16
6
+ * @date 2025-08-18T08:15:07.809Z
7
+ * @hash 68ef497
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';
@@ -18955,7 +18955,7 @@ const OFFSET = {
18955
18955
  right: startingCol + offsetWidth - 1,
18956
18956
  bottom: startingRow + offsetHeight - 1,
18957
18957
  };
18958
- const range = this.getters.getRangeFromZone(this.__originSheetId, dependencyZone);
18958
+ const range = this.getters.getRangeFromZone(sheetId, dependencyZone);
18959
18959
  if (range.invalidXc || range.invalidSheetName) {
18960
18960
  return new InvalidReferenceError();
18961
18961
  }
@@ -48787,7 +48787,7 @@ class PivotLayoutConfigurator extends Component {
48787
48787
  this.props.onDimensionsUpdated(update);
48788
48788
  }
48789
48789
  getMeasureId(fieldName, aggregator) {
48790
- const baseId = fieldName + (aggregator ? `:${aggregator}` : "");
48790
+ const baseId = fieldName.replaceAll("'", "") + (aggregator ? `:${aggregator}` : "");
48791
48791
  let id = baseId;
48792
48792
  let i = 2;
48793
48793
  while (this.props.definition.measures.some((m) => m.id === id)) {
@@ -74354,9 +74354,7 @@ class ClickableCellsStore extends SpreadsheetStore {
74354
74354
  }
74355
74355
  if (!(xc in clickableCells[sheetId])) {
74356
74356
  const clickableCell = this.findClickableItem(position);
74357
- if (clickableCell) {
74358
- clickableCells[sheetId][xc] = clickableCell;
74359
- }
74357
+ clickableCells[sheetId][xc] = clickableCell;
74360
74358
  }
74361
74359
  return clickableCells[sheetId][xc];
74362
74360
  }
@@ -80874,6 +80872,6 @@ const chartHelpers = { ...CHART_HELPERS, ...CHART_RUNTIME_HELPERS };
80874
80872
  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, invalidateChartEvaluationCommands, invalidateDependenciesCommands, invalidateEvaluationCommands, iterateAstNodes, links, load, parse, parseTokens, readonlyAllowedCommands, registries, setDefaultSheetViewSize, setTranslationMethod, stores, tokenColors, tokenize };
80875
80873
 
80876
80874
 
80877
- __info__.version = "18.3.15";
80878
- __info__.date = "2025-08-04T06:51:38.674Z";
80879
- __info__.hash = "9499d98";
80875
+ __info__.version = "18.3.16";
80876
+ __info__.date = "2025-08-18T08:15:07.809Z";
80877
+ __info__.hash = "68ef497";
@@ -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.3.15
6
- * @date 2025-08-04T06:51:38.674Z
7
- * @hash 9499d98
5
+ * @version 18.3.16
6
+ * @date 2025-08-18T08:15:07.809Z
7
+ * @hash 68ef497
8
8
  */
9
9
 
10
10
  (function (exports, owl) {
@@ -18956,7 +18956,7 @@ stores.inject(MyMetaStore, storeInstance);
18956
18956
  right: startingCol + offsetWidth - 1,
18957
18957
  bottom: startingRow + offsetHeight - 1,
18958
18958
  };
18959
- const range = this.getters.getRangeFromZone(this.__originSheetId, dependencyZone);
18959
+ const range = this.getters.getRangeFromZone(sheetId, dependencyZone);
18960
18960
  if (range.invalidXc || range.invalidSheetName) {
18961
18961
  return new InvalidReferenceError();
18962
18962
  }
@@ -48788,7 +48788,7 @@ stores.inject(MyMetaStore, storeInstance);
48788
48788
  this.props.onDimensionsUpdated(update);
48789
48789
  }
48790
48790
  getMeasureId(fieldName, aggregator) {
48791
- const baseId = fieldName + (aggregator ? `:${aggregator}` : "");
48791
+ const baseId = fieldName.replaceAll("'", "") + (aggregator ? `:${aggregator}` : "");
48792
48792
  let id = baseId;
48793
48793
  let i = 2;
48794
48794
  while (this.props.definition.measures.some((m) => m.id === id)) {
@@ -74355,9 +74355,7 @@ stores.inject(MyMetaStore, storeInstance);
74355
74355
  }
74356
74356
  if (!(xc in clickableCells[sheetId])) {
74357
74357
  const clickableCell = this.findClickableItem(position);
74358
- if (clickableCell) {
74359
- clickableCells[sheetId][xc] = clickableCell;
74360
- }
74358
+ clickableCells[sheetId][xc] = clickableCell;
74361
74359
  }
74362
74360
  return clickableCells[sheetId][xc];
74363
74361
  }
@@ -80921,9 +80919,9 @@ stores.inject(MyMetaStore, storeInstance);
80921
80919
  exports.tokenize = tokenize;
80922
80920
 
80923
80921
 
80924
- __info__.version = "18.3.15";
80925
- __info__.date = "2025-08-04T06:51:38.674Z";
80926
- __info__.hash = "9499d98";
80922
+ __info__.version = "18.3.16";
80923
+ __info__.date = "2025-08-18T08:15:07.809Z";
80924
+ __info__.hash = "68ef497";
80927
80925
 
80928
80926
 
80929
80927
  })(this.o_spreadsheet = this.o_spreadsheet || {}, owl);