@odoo/o-spreadsheet 19.2.19 → 19.2.20

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 19.2.19
6
- * @date 2026-07-01T05:04:30.157Z
7
- * @hash 3529978
5
+ * @version 19.2.20
6
+ * @date 2026-07-13T06:27:12.484Z
7
+ * @hash 99a9aef
8
8
  */
9
9
  :root {
10
10
  --os-gray-100: light-dark(#f9fafb, #1b1d26);
@@ -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 19.2.19
6
- * @date 2026-07-01T05:04:28.638Z
7
- * @hash 3529978
5
+ * @version 19.2.20
6
+ * @date 2026-07-13T06:27:10.918Z
7
+ * @hash 99a9aef
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, whenReady, xml } from "@odoo/owl";
@@ -62626,13 +62626,13 @@ var EvaluationConditionalFormatPlugin = class extends CoreViewPlugin {
62626
62626
  const minValue = this.parsePoint(sheetId, range, rule.minimum, "min");
62627
62627
  const midValue = rule.midpoint ? this.parsePoint(sheetId, range, rule.midpoint) : null;
62628
62628
  const maxValue = this.parsePoint(sheetId, range, rule.maximum, "max");
62629
- if (minValue === null || maxValue === null || minValue >= maxValue || midValue && (minValue >= midValue || midValue >= maxValue)) return;
62629
+ if (minValue === null || maxValue === null || minValue >= maxValue || midValue !== null && (minValue >= midValue || midValue >= maxValue)) return;
62630
62630
  const zone = this.getters.getRangeFromSheetXC(sheetId, range).zone;
62631
62631
  const colorThresholds = [{
62632
62632
  value: minValue,
62633
62633
  color: rule.minimum.color
62634
62634
  }];
62635
- if (rule.midpoint && midValue) colorThresholds.push({
62635
+ if (rule.midpoint && midValue !== null) colorThresholds.push({
62636
62636
  value: midValue,
62637
62637
  color: rule.midpoint.color
62638
62638
  });
@@ -81664,6 +81664,6 @@ const chartHelpers = {
81664
81664
  //#endregion
81665
81665
  export { AbstractCellClipboardHandler, AbstractChart, AbstractFigureClipboardHandler, CellErrorType, ClientDisconnectedError, CommandResult, CompiledFormula, CorePlugin, CoreViewPlugin, DEFAULT_LOCALE, DEFAULT_LOCALES, DispatchResult, EvaluationError, LocalTransportService, Model, PivotRuntimeDefinition, Registry, Revision, SPREADSHEET_DIMENSIONS, Spreadsheet, SpreadsheetPivotTable, UIPlugin, __info__, addFunction, addRenderingLayer, astToFormula, canExecuteInReadonly, categories, chartHelpers, components, constants, convertAstNodes, coreTypes, createAutocompleteArgumentsProvider, findCellInNewZone, functionCache, getCaretDownSvg, getCaretUpSvg, helpers, hooks, invalidateCFEvaluationCommands, invalidateChartEvaluationCommands, invalidateDependenciesCommands, invalidateEvaluationCommands, isCoreCommand, isSheetDependent, iterateAstNodes, links, load, lockedSheetAllowedCommands, parse, parseTokens, readonlyAllowedCommands, registries, setDefaultSheetViewSize, setTranslationMethod, stores, tokenColors, tokenize };
81666
81666
 
81667
- __info__.version = "19.2.19";
81668
- __info__.date = "2026-07-01T05:04:28.638Z";
81669
- __info__.hash = "3529978";
81667
+ __info__.version = "19.2.20";
81668
+ __info__.date = "2026-07-13T06:27:10.918Z";
81669
+ __info__.hash = "99a9aef";
@@ -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 19.2.19
6
- * @date 2026-07-01T05:04:28.638Z
7
- * @hash 3529978
5
+ * @version 19.2.20
6
+ * @date 2026-07-13T06:27:10.918Z
7
+ * @hash 99a9aef
8
8
  */
9
9
 
10
10
  (function(exports, _odoo_owl) {
@@ -62628,13 +62628,13 @@ stores.inject(MyMetaStore, storeInstance);
62628
62628
  const minValue = this.parsePoint(sheetId, range, rule.minimum, "min");
62629
62629
  const midValue = rule.midpoint ? this.parsePoint(sheetId, range, rule.midpoint) : null;
62630
62630
  const maxValue = this.parsePoint(sheetId, range, rule.maximum, "max");
62631
- if (minValue === null || maxValue === null || minValue >= maxValue || midValue && (minValue >= midValue || midValue >= maxValue)) return;
62631
+ if (minValue === null || maxValue === null || minValue >= maxValue || midValue !== null && (minValue >= midValue || midValue >= maxValue)) return;
62632
62632
  const zone = this.getters.getRangeFromSheetXC(sheetId, range).zone;
62633
62633
  const colorThresholds = [{
62634
62634
  value: minValue,
62635
62635
  color: rule.minimum.color
62636
62636
  }];
62637
- if (rule.midpoint && midValue) colorThresholds.push({
62637
+ if (rule.midpoint && midValue !== null) colorThresholds.push({
62638
62638
  value: midValue,
62639
62639
  color: rule.midpoint.color
62640
62640
  });
@@ -81724,8 +81724,8 @@ exports.stores = stores;
81724
81724
  exports.tokenColors = tokenColors;
81725
81725
  exports.tokenize = tokenize;
81726
81726
 
81727
- __info__.version = "19.2.19";
81728
- __info__.date = "2026-07-01T05:04:28.638Z";
81729
- __info__.hash = "3529978";
81727
+ __info__.version = "19.2.20";
81728
+ __info__.date = "2026-07-13T06:27:10.918Z";
81729
+ __info__.hash = "99a9aef";
81730
81730
 
81731
81731
  })(this.o_spreadsheet = this.o_spreadsheet || {}, owl);