@odoo/o-spreadsheet 18.0.47 → 18.0.48

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.0.47
6
- * @date 2025-10-16T06:38:31.658Z
7
- * @hash 0216b06
5
+ * @version 18.0.48
6
+ * @date 2025-11-12T14:15:38.406Z
7
+ * @hash d1efb0b
8
8
  */
9
9
 
10
10
  'use strict';
@@ -26326,7 +26326,7 @@ let ScorecardChart$1 = class ScorecardChart extends AbstractChart {
26326
26326
  return {
26327
26327
  background: context.background,
26328
26328
  type: "scorecard",
26329
- keyValue: context.range ? context.range[0].dataRange : undefined,
26329
+ keyValue: context.range?.[0]?.dataRange,
26330
26330
  title: context.title || { text: "" },
26331
26331
  baselineMode: DEFAULT_SCORECARD_BASELINE_MODE,
26332
26332
  baselineColorUp: DEFAULT_SCORECARD_BASELINE_COLOR_UP,
@@ -30516,7 +30516,7 @@ class GaugeChart extends AbstractChart {
30516
30516
  background: context.background,
30517
30517
  title: context.title || { text: "" },
30518
30518
  type: "gauge",
30519
- dataRange: context.range ? context.range[0].dataRange : undefined,
30519
+ dataRange: context.range?.[0]?.dataRange,
30520
30520
  sectionRule: {
30521
30521
  colors: {
30522
30522
  lowerColor: DEFAULT_GAUGE_LOWER_COLOR,
@@ -55273,7 +55273,7 @@ class RangeAdapter {
55273
55273
  let sheetName = "";
55274
55274
  if (prefixSheet) {
55275
55275
  if (rangeImpl.invalidSheetName) {
55276
- sheetName = rangeImpl.invalidSheetName;
55276
+ sheetName = getCanonicalSymbolName(rangeImpl.invalidSheetName);
55277
55277
  }
55278
55278
  else {
55279
55279
  sheetName = getCanonicalSymbolName(this.getters.getSheetName(rangeImpl.sheetId));
@@ -74763,6 +74763,6 @@ exports.tokenColors = tokenColors;
74763
74763
  exports.tokenize = tokenize;
74764
74764
 
74765
74765
 
74766
- __info__.version = "18.0.47";
74767
- __info__.date = "2025-10-16T06:38:31.658Z";
74768
- __info__.hash = "0216b06";
74766
+ __info__.version = "18.0.48";
74767
+ __info__.date = "2025-11-12T14:15:38.406Z";
74768
+ __info__.hash = "d1efb0b";
@@ -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.0.47
6
- * @date 2025-10-16T06:38:31.658Z
7
- * @hash 0216b06
5
+ * @version 18.0.48
6
+ * @date 2025-11-12T14:15:38.406Z
7
+ * @hash d1efb0b
8
8
  */
9
9
 
10
10
  import { useEnv, useSubEnv, onWillUnmount, useComponent, status, Component, useRef, onMounted, useEffect, useState, onPatched, onWillPatch, onWillUpdateProps, useExternalListener, onWillStart, xml, useChildSubEnv, markRaw, toRaw } from '@odoo/owl';
@@ -26324,7 +26324,7 @@ let ScorecardChart$1 = class ScorecardChart extends AbstractChart {
26324
26324
  return {
26325
26325
  background: context.background,
26326
26326
  type: "scorecard",
26327
- keyValue: context.range ? context.range[0].dataRange : undefined,
26327
+ keyValue: context.range?.[0]?.dataRange,
26328
26328
  title: context.title || { text: "" },
26329
26329
  baselineMode: DEFAULT_SCORECARD_BASELINE_MODE,
26330
26330
  baselineColorUp: DEFAULT_SCORECARD_BASELINE_COLOR_UP,
@@ -30514,7 +30514,7 @@ class GaugeChart extends AbstractChart {
30514
30514
  background: context.background,
30515
30515
  title: context.title || { text: "" },
30516
30516
  type: "gauge",
30517
- dataRange: context.range ? context.range[0].dataRange : undefined,
30517
+ dataRange: context.range?.[0]?.dataRange,
30518
30518
  sectionRule: {
30519
30519
  colors: {
30520
30520
  lowerColor: DEFAULT_GAUGE_LOWER_COLOR,
@@ -55271,7 +55271,7 @@ class RangeAdapter {
55271
55271
  let sheetName = "";
55272
55272
  if (prefixSheet) {
55273
55273
  if (rangeImpl.invalidSheetName) {
55274
- sheetName = rangeImpl.invalidSheetName;
55274
+ sheetName = getCanonicalSymbolName(rangeImpl.invalidSheetName);
55275
55275
  }
55276
55276
  else {
55277
55277
  sheetName = getCanonicalSymbolName(this.getters.getSheetName(rangeImpl.sheetId));
@@ -74718,6 +74718,6 @@ const constants = {
74718
74718
  export { AbstractCellClipboardHandler, AbstractChart, AbstractFigureClipboardHandler, CellErrorType, CommandResult, CorePlugin, DispatchResult, EvaluationError, Model, PivotRuntimeDefinition, Registry, Revision, SPREADSHEET_DIMENSIONS, Spreadsheet, SpreadsheetPivotTable, UIPlugin, __info__, addFunction, addRenderingLayer, astToFormula, 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 };
74719
74719
 
74720
74720
 
74721
- __info__.version = "18.0.47";
74722
- __info__.date = "2025-10-16T06:38:31.658Z";
74723
- __info__.hash = "0216b06";
74721
+ __info__.version = "18.0.48";
74722
+ __info__.date = "2025-11-12T14:15:38.406Z";
74723
+ __info__.hash = "d1efb0b";
@@ -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.0.47
6
- * @date 2025-10-16T06:38:31.658Z
7
- * @hash 0216b06
5
+ * @version 18.0.48
6
+ * @date 2025-11-12T14:15:38.406Z
7
+ * @hash d1efb0b
8
8
  */
9
9
 
10
10
  (function (exports, owl) {
@@ -26325,7 +26325,7 @@ stores.inject(MyMetaStore, storeInstance);
26325
26325
  return {
26326
26326
  background: context.background,
26327
26327
  type: "scorecard",
26328
- keyValue: context.range ? context.range[0].dataRange : undefined,
26328
+ keyValue: context.range?.[0]?.dataRange,
26329
26329
  title: context.title || { text: "" },
26330
26330
  baselineMode: DEFAULT_SCORECARD_BASELINE_MODE,
26331
26331
  baselineColorUp: DEFAULT_SCORECARD_BASELINE_COLOR_UP,
@@ -30515,7 +30515,7 @@ stores.inject(MyMetaStore, storeInstance);
30515
30515
  background: context.background,
30516
30516
  title: context.title || { text: "" },
30517
30517
  type: "gauge",
30518
- dataRange: context.range ? context.range[0].dataRange : undefined,
30518
+ dataRange: context.range?.[0]?.dataRange,
30519
30519
  sectionRule: {
30520
30520
  colors: {
30521
30521
  lowerColor: DEFAULT_GAUGE_LOWER_COLOR,
@@ -55272,7 +55272,7 @@ stores.inject(MyMetaStore, storeInstance);
55272
55272
  let sheetName = "";
55273
55273
  if (prefixSheet) {
55274
55274
  if (rangeImpl.invalidSheetName) {
55275
- sheetName = rangeImpl.invalidSheetName;
55275
+ sheetName = getCanonicalSymbolName(rangeImpl.invalidSheetName);
55276
55276
  }
55277
55277
  else {
55278
55278
  sheetName = getCanonicalSymbolName(this.getters.getSheetName(rangeImpl.sheetId));
@@ -74762,9 +74762,9 @@ stores.inject(MyMetaStore, storeInstance);
74762
74762
  exports.tokenize = tokenize;
74763
74763
 
74764
74764
 
74765
- __info__.version = "18.0.47";
74766
- __info__.date = "2025-10-16T06:38:31.658Z";
74767
- __info__.hash = "0216b06";
74765
+ __info__.version = "18.0.48";
74766
+ __info__.date = "2025-11-12T14:15:38.406Z";
74767
+ __info__.hash = "d1efb0b";
74768
74768
 
74769
74769
 
74770
74770
  })(this.o_spreadsheet = this.o_spreadsheet || {}, owl);