@odoo/o-spreadsheet 18.4.46 → 18.4.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.4.46
6
- * @date 2026-07-01T05:02:58.175Z
7
- * @hash 26297b3
5
+ * @version 18.4.48
6
+ * @date 2026-07-20T11:00:09.964Z
7
+ * @hash a4662a5
8
8
  */
9
9
  /* Originates from src/components/top_bar/top_bar.scss */
10
10
  @media (max-width: 1200px) {
@@ -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.4.46
6
- * @date 2026-07-01T05:02:56.676Z
7
- * @hash 26297b3
5
+ * @version 18.4.48
6
+ * @date 2026-07-20T11:00:08.319Z
7
+ * @hash a4662a5
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";
@@ -45155,7 +45155,7 @@ var ScorecardChartConfigPanel = class extends Component {
45155
45155
  return !!this.state.keyValueDispatchResult?.isCancelledBecause("InvalidScorecardKeyValue");
45156
45156
  }
45157
45157
  get isBaselineInvalid() {
45158
- return !!this.state.keyValueDispatchResult?.isCancelledBecause("InvalidScorecardBaseline");
45158
+ return !!this.state.baselineDispatchResult?.isCancelledBecause("InvalidScorecardBaseline");
45159
45159
  }
45160
45160
  onKeyValueRangeChanged(ranges) {
45161
45161
  this.keyValue = ranges[0];
@@ -59022,13 +59022,13 @@ var EvaluationConditionalFormatPlugin = class extends CoreViewPlugin {
59022
59022
  const minValue = this.parsePoint(sheetId, range, rule.minimum, "min");
59023
59023
  const midValue = rule.midpoint ? this.parsePoint(sheetId, range, rule.midpoint) : null;
59024
59024
  const maxValue = this.parsePoint(sheetId, range, rule.maximum, "max");
59025
- if (minValue === null || maxValue === null || minValue >= maxValue || midValue && (minValue >= midValue || midValue >= maxValue)) return;
59025
+ if (minValue === null || maxValue === null || minValue >= maxValue || midValue !== null && (minValue >= midValue || midValue >= maxValue)) return;
59026
59026
  const zone = this.getters.getRangeFromSheetXC(sheetId, range).zone;
59027
59027
  const colorThresholds = [{
59028
59028
  value: minValue,
59029
59029
  color: rule.minimum.color
59030
59030
  }];
59031
- if (rule.midpoint && midValue) colorThresholds.push({
59031
+ if (rule.midpoint && midValue !== null) colorThresholds.push({
59032
59032
  value: midValue,
59033
59033
  color: rule.midpoint.color
59034
59034
  });
@@ -75379,6 +75379,6 @@ const chartHelpers = {
75379
75379
  //#endregion
75380
75380
  export { AbstractCellClipboardHandler, AbstractChart, AbstractFigureClipboardHandler, CellErrorType, ClientDisconnectedError, CommandResult, CorePlugin, CoreViewPlugin, DispatchResult, EvaluationError, LocalTransportService, 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 };
75381
75381
 
75382
- __info__.version = "18.4.46";
75383
- __info__.date = "2026-07-01T05:02:56.676Z";
75384
- __info__.hash = "26297b3";
75382
+ __info__.version = "18.4.48";
75383
+ __info__.date = "2026-07-20T11:00:08.319Z";
75384
+ __info__.hash = "a4662a5";
@@ -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.4.46
6
- * @date 2026-07-01T05:02:56.676Z
7
- * @hash 26297b3
5
+ * @version 18.4.48
6
+ * @date 2026-07-20T11:00:08.319Z
7
+ * @hash a4662a5
8
8
  */
9
9
 
10
10
  (function(exports, _odoo_owl) {
@@ -45157,7 +45157,7 @@ stores.inject(MyMetaStore, storeInstance);
45157
45157
  return !!this.state.keyValueDispatchResult?.isCancelledBecause("InvalidScorecardKeyValue");
45158
45158
  }
45159
45159
  get isBaselineInvalid() {
45160
- return !!this.state.keyValueDispatchResult?.isCancelledBecause("InvalidScorecardBaseline");
45160
+ return !!this.state.baselineDispatchResult?.isCancelledBecause("InvalidScorecardBaseline");
45161
45161
  }
45162
45162
  onKeyValueRangeChanged(ranges) {
45163
45163
  this.keyValue = ranges[0];
@@ -59024,13 +59024,13 @@ stores.inject(MyMetaStore, storeInstance);
59024
59024
  const minValue = this.parsePoint(sheetId, range, rule.minimum, "min");
59025
59025
  const midValue = rule.midpoint ? this.parsePoint(sheetId, range, rule.midpoint) : null;
59026
59026
  const maxValue = this.parsePoint(sheetId, range, rule.maximum, "max");
59027
- if (minValue === null || maxValue === null || minValue >= maxValue || midValue && (minValue >= midValue || midValue >= maxValue)) return;
59027
+ if (minValue === null || maxValue === null || minValue >= maxValue || midValue !== null && (minValue >= midValue || midValue >= maxValue)) return;
59028
59028
  const zone = this.getters.getRangeFromSheetXC(sheetId, range).zone;
59029
59029
  const colorThresholds = [{
59030
59030
  value: minValue,
59031
59031
  color: rule.minimum.color
59032
59032
  }];
59033
- if (rule.midpoint && midValue) colorThresholds.push({
59033
+ if (rule.midpoint && midValue !== null) colorThresholds.push({
59034
59034
  value: midValue,
59035
59035
  color: rule.midpoint.color
59036
59036
  });
@@ -75430,8 +75430,8 @@ exports.stores = stores;
75430
75430
  exports.tokenColors = tokenColors;
75431
75431
  exports.tokenize = tokenize;
75432
75432
 
75433
- __info__.version = "18.4.46";
75434
- __info__.date = "2026-07-01T05:02:56.676Z";
75435
- __info__.hash = "26297b3";
75433
+ __info__.version = "18.4.48";
75434
+ __info__.date = "2026-07-20T11:00:08.319Z";
75435
+ __info__.hash = "a4662a5";
75436
75436
 
75437
75437
  })(this.o_spreadsheet = this.o_spreadsheet || {}, owl);