@odoo/o-spreadsheet 18.3.54 → 18.3.56

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.54
6
- * @date 2026-07-01T05:01:46.026Z
7
- * @hash d00e4b6
5
+ * @version 18.3.56
6
+ * @date 2026-07-20T10:59:24.232Z
7
+ * @hash a8d15b9
8
8
  */
9
9
  /* Originates from src/components/top_bar/top_bar.scss */
10
10
  @media (max-width: 900px) {
@@ -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.54
6
- * @date 2026-07-01T05:01:44.424Z
7
- * @hash d00e4b6
5
+ * @version 18.3.56
6
+ * @date 2026-07-20T10:59:22.640Z
7
+ * @hash a8d15b9
8
8
  */
9
9
 
10
10
  import { App, Component, blockDom, markRaw, onMounted, onPatched, onWillPatch, onWillStart, onWillUnmount, onWillUpdateProps, status, toRaw, useChildSubEnv, useComponent, useEffect, useEnv, useExternalListener, useRef, useState, useSubEnv, xml } from "@odoo/owl";
@@ -39296,7 +39296,7 @@ var ScorecardChartConfigPanel = class extends Component {
39296
39296
  return !!this.state.keyValueDispatchResult?.isCancelledBecause("InvalidScorecardKeyValue");
39297
39297
  }
39298
39298
  get isBaselineInvalid() {
39299
- return !!this.state.keyValueDispatchResult?.isCancelledBecause("InvalidScorecardBaseline");
39299
+ return !!this.state.baselineDispatchResult?.isCancelledBecause("InvalidScorecardBaseline");
39300
39300
  }
39301
39301
  onKeyValueRangeChanged(ranges) {
39302
39302
  this.keyValue = ranges[0];
@@ -57978,13 +57978,13 @@ var EvaluationConditionalFormatPlugin = class extends CoreViewPlugin {
57978
57978
  const minValue = this.parsePoint(sheetId, range, rule.minimum, "min");
57979
57979
  const midValue = rule.midpoint ? this.parsePoint(sheetId, range, rule.midpoint) : null;
57980
57980
  const maxValue = this.parsePoint(sheetId, range, rule.maximum, "max");
57981
- if (minValue === null || maxValue === null || minValue >= maxValue || midValue && (minValue >= midValue || midValue >= maxValue)) return;
57981
+ if (minValue === null || maxValue === null || minValue >= maxValue || midValue !== null && (minValue >= midValue || midValue >= maxValue)) return;
57982
57982
  const zone = this.getters.getRangeFromSheetXC(sheetId, range).zone;
57983
57983
  const colorThresholds = [{
57984
57984
  value: minValue,
57985
57985
  color: rule.minimum.color
57986
57986
  }];
57987
- if (rule.midpoint && midValue) colorThresholds.push({
57987
+ if (rule.midpoint && midValue !== null) colorThresholds.push({
57988
57988
  value: midValue,
57989
57989
  color: rule.midpoint.color
57990
57990
  });
@@ -72237,6 +72237,6 @@ const chartHelpers = {
72237
72237
  //#endregion
72238
72238
  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 };
72239
72239
 
72240
- __info__.version = "18.3.54";
72241
- __info__.date = "2026-07-01T05:01:44.424Z";
72242
- __info__.hash = "d00e4b6";
72240
+ __info__.version = "18.3.56";
72241
+ __info__.date = "2026-07-20T10:59:22.640Z";
72242
+ __info__.hash = "a8d15b9";
@@ -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.54
6
- * @date 2026-07-01T05:01:44.424Z
7
- * @hash d00e4b6
5
+ * @version 18.3.56
6
+ * @date 2026-07-20T10:59:22.640Z
7
+ * @hash a8d15b9
8
8
  */
9
9
 
10
10
  (function(exports, _odoo_owl) {
@@ -39298,7 +39298,7 @@ stores.inject(MyMetaStore, storeInstance);
39298
39298
  return !!this.state.keyValueDispatchResult?.isCancelledBecause("InvalidScorecardKeyValue");
39299
39299
  }
39300
39300
  get isBaselineInvalid() {
39301
- return !!this.state.keyValueDispatchResult?.isCancelledBecause("InvalidScorecardBaseline");
39301
+ return !!this.state.baselineDispatchResult?.isCancelledBecause("InvalidScorecardBaseline");
39302
39302
  }
39303
39303
  onKeyValueRangeChanged(ranges) {
39304
39304
  this.keyValue = ranges[0];
@@ -57980,13 +57980,13 @@ stores.inject(MyMetaStore, storeInstance);
57980
57980
  const minValue = this.parsePoint(sheetId, range, rule.minimum, "min");
57981
57981
  const midValue = rule.midpoint ? this.parsePoint(sheetId, range, rule.midpoint) : null;
57982
57982
  const maxValue = this.parsePoint(sheetId, range, rule.maximum, "max");
57983
- if (minValue === null || maxValue === null || minValue >= maxValue || midValue && (minValue >= midValue || midValue >= maxValue)) return;
57983
+ if (minValue === null || maxValue === null || minValue >= maxValue || midValue !== null && (minValue >= midValue || midValue >= maxValue)) return;
57984
57984
  const zone = this.getters.getRangeFromSheetXC(sheetId, range).zone;
57985
57985
  const colorThresholds = [{
57986
57986
  value: minValue,
57987
57987
  color: rule.minimum.color
57988
57988
  }];
57989
- if (rule.midpoint && midValue) colorThresholds.push({
57989
+ if (rule.midpoint && midValue !== null) colorThresholds.push({
57990
57990
  value: midValue,
57991
57991
  color: rule.midpoint.color
57992
57992
  });
@@ -72286,8 +72286,8 @@ exports.stores = stores;
72286
72286
  exports.tokenColors = tokenColors;
72287
72287
  exports.tokenize = tokenize;
72288
72288
 
72289
- __info__.version = "18.3.54";
72290
- __info__.date = "2026-07-01T05:01:44.424Z";
72291
- __info__.hash = "d00e4b6";
72289
+ __info__.version = "18.3.56";
72290
+ __info__.date = "2026-07-20T10:59:22.640Z";
72291
+ __info__.hash = "a8d15b9";
72292
72292
 
72293
72293
  })(this.o_spreadsheet = this.o_spreadsheet || {}, owl);