@odoo/o-spreadsheet 18.0.73 → 18.0.75

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.73
6
- * @date 2026-07-01T05:00:54.172Z
7
- * @hash 1a9c761
5
+ * @version 18.0.75
6
+ * @date 2026-07-20T10:59:04.011Z
7
+ * @hash ea26af9
8
8
  */
9
9
 
10
10
  import { Component, markRaw, onMounted, onPatched, onWillPatch, onWillStart, onWillUnmount, onWillUpdateProps, status, toRaw, useChildSubEnv, useComponent, useEffect, useEnv, useExternalListener, useRef, useState, useSubEnv, xml } from "@odoo/owl";
@@ -33916,7 +33916,7 @@ var ScorecardChartConfigPanel = class extends Component {
33916
33916
  return !!this.state.keyValueDispatchResult?.isCancelledBecause("InvalidScorecardKeyValue");
33917
33917
  }
33918
33918
  get isBaselineInvalid() {
33919
- return !!this.state.keyValueDispatchResult?.isCancelledBecause("InvalidScorecardBaseline");
33919
+ return !!this.state.baselineDispatchResult?.isCancelledBecause("InvalidScorecardBaseline");
33920
33920
  }
33921
33921
  onKeyValueRangeChanged(ranges) {
33922
33922
  this.keyValue = ranges[0];
@@ -52789,10 +52789,10 @@ var EvaluationConditionalFormatPlugin = class extends UIPlugin {
52789
52789
  const minValue = this.parsePoint(sheetId, range, rule.minimum, "min");
52790
52790
  const midValue = rule.midpoint ? this.parsePoint(sheetId, range, rule.midpoint) : null;
52791
52791
  const maxValue = this.parsePoint(sheetId, range, rule.maximum, "max");
52792
- if (minValue === null || maxValue === null || minValue >= maxValue || midValue && (minValue >= midValue || midValue >= maxValue)) return;
52792
+ if (minValue === null || maxValue === null || minValue >= maxValue || midValue !== null && (minValue >= midValue || midValue >= maxValue)) return;
52793
52793
  const zone = this.getters.getRangeFromSheetXC(sheetId, range).zone;
52794
52794
  const colorCellArgs = [];
52795
- if (rule.midpoint && midValue) {
52795
+ if (rule.midpoint && midValue !== null) {
52796
52796
  colorCellArgs.push({
52797
52797
  minValue,
52798
52798
  minColor: rule.minimum.color,
@@ -52817,7 +52817,7 @@ var EvaluationConditionalFormatPlugin = class extends UIPlugin {
52817
52817
  if (cell.type === "number") {
52818
52818
  const value = clip(cell.value, minValue, maxValue);
52819
52819
  let color;
52820
- if (colorCellArgs.length === 2 && midValue) color = value <= midValue ? this.colorCell(value, colorCellArgs[0].minValue, colorCellArgs[0].minColor, colorCellArgs[0].colorDiffUnit) : this.colorCell(value, colorCellArgs[1].minValue, colorCellArgs[1].minColor, colorCellArgs[1].colorDiffUnit);
52820
+ if (colorCellArgs.length === 2 && midValue !== null) color = value <= midValue ? this.colorCell(value, colorCellArgs[0].minValue, colorCellArgs[0].minColor, colorCellArgs[0].colorDiffUnit) : this.colorCell(value, colorCellArgs[1].minValue, colorCellArgs[1].minColor, colorCellArgs[1].colorDiffUnit);
52821
52821
  else color = this.colorCell(value, colorCellArgs[0].minValue, colorCellArgs[0].minColor, colorCellArgs[0].colorDiffUnit);
52822
52822
  if (!computedStyle[col]) computedStyle[col] = [];
52823
52823
  computedStyle[col][row] = computedStyle[col]?.[row] || {};
@@ -66346,6 +66346,6 @@ const constants = {
66346
66346
  //#endregion
66347
66347
  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 };
66348
66348
 
66349
- __info__.version = "18.0.73";
66350
- __info__.date = "2026-07-01T05:00:54.172Z";
66351
- __info__.hash = "1a9c761";
66349
+ __info__.version = "18.0.75";
66350
+ __info__.date = "2026-07-20T10:59:04.011Z";
66351
+ __info__.hash = "ea26af9";
@@ -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.73
6
- * @date 2026-07-01T05:00:54.172Z
7
- * @hash 1a9c761
5
+ * @version 18.0.75
6
+ * @date 2026-07-20T10:59:04.011Z
7
+ * @hash ea26af9
8
8
  */
9
9
 
10
10
  (function(exports, _odoo_owl) {
@@ -33918,7 +33918,7 @@ stores.inject(MyMetaStore, storeInstance);
33918
33918
  return !!this.state.keyValueDispatchResult?.isCancelledBecause("InvalidScorecardKeyValue");
33919
33919
  }
33920
33920
  get isBaselineInvalid() {
33921
- return !!this.state.keyValueDispatchResult?.isCancelledBecause("InvalidScorecardBaseline");
33921
+ return !!this.state.baselineDispatchResult?.isCancelledBecause("InvalidScorecardBaseline");
33922
33922
  }
33923
33923
  onKeyValueRangeChanged(ranges) {
33924
33924
  this.keyValue = ranges[0];
@@ -52791,10 +52791,10 @@ stores.inject(MyMetaStore, storeInstance);
52791
52791
  const minValue = this.parsePoint(sheetId, range, rule.minimum, "min");
52792
52792
  const midValue = rule.midpoint ? this.parsePoint(sheetId, range, rule.midpoint) : null;
52793
52793
  const maxValue = this.parsePoint(sheetId, range, rule.maximum, "max");
52794
- if (minValue === null || maxValue === null || minValue >= maxValue || midValue && (minValue >= midValue || midValue >= maxValue)) return;
52794
+ if (minValue === null || maxValue === null || minValue >= maxValue || midValue !== null && (minValue >= midValue || midValue >= maxValue)) return;
52795
52795
  const zone = this.getters.getRangeFromSheetXC(sheetId, range).zone;
52796
52796
  const colorCellArgs = [];
52797
- if (rule.midpoint && midValue) {
52797
+ if (rule.midpoint && midValue !== null) {
52798
52798
  colorCellArgs.push({
52799
52799
  minValue,
52800
52800
  minColor: rule.minimum.color,
@@ -52819,7 +52819,7 @@ stores.inject(MyMetaStore, storeInstance);
52819
52819
  if (cell.type === "number") {
52820
52820
  const value = clip(cell.value, minValue, maxValue);
52821
52821
  let color;
52822
- if (colorCellArgs.length === 2 && midValue) color = value <= midValue ? this.colorCell(value, colorCellArgs[0].minValue, colorCellArgs[0].minColor, colorCellArgs[0].colorDiffUnit) : this.colorCell(value, colorCellArgs[1].minValue, colorCellArgs[1].minColor, colorCellArgs[1].colorDiffUnit);
52822
+ if (colorCellArgs.length === 2 && midValue !== null) color = value <= midValue ? this.colorCell(value, colorCellArgs[0].minValue, colorCellArgs[0].minColor, colorCellArgs[0].colorDiffUnit) : this.colorCell(value, colorCellArgs[1].minValue, colorCellArgs[1].minColor, colorCellArgs[1].colorDiffUnit);
52823
52823
  else color = this.colorCell(value, colorCellArgs[0].minValue, colorCellArgs[0].minColor, colorCellArgs[0].colorDiffUnit);
52824
52824
  if (!computedStyle[col]) computedStyle[col] = [];
52825
52825
  computedStyle[col][row] = computedStyle[col]?.[row] || {};
@@ -66392,8 +66392,8 @@ exports.stores = stores;
66392
66392
  exports.tokenColors = tokenColors;
66393
66393
  exports.tokenize = tokenize;
66394
66394
 
66395
- __info__.version = "18.0.73";
66396
- __info__.date = "2026-07-01T05:00:54.172Z";
66397
- __info__.hash = "1a9c761";
66395
+ __info__.version = "18.0.75";
66396
+ __info__.date = "2026-07-20T10:59:04.011Z";
66397
+ __info__.hash = "ea26af9";
66398
66398
 
66399
66399
  })(this.o_spreadsheet = this.o_spreadsheet || {}, owl);