@odoo/o-spreadsheet 19.1.26 → 19.1.27

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.1.26
6
- * @date 2026-07-01T05:03:33.170Z
7
- * @hash 44237c0
5
+ * @version 19.1.27
6
+ * @date 2026-07-13T06:25:27.934Z
7
+ * @hash 6eb95de
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.1.26
6
- * @date 2026-07-01T05:03:31.665Z
7
- * @hash 44237c0
5
+ * @version 19.1.27
6
+ * @date 2026-07-13T06:25:26.922Z
7
+ * @hash 6eb95de
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";
@@ -60417,13 +60417,13 @@ var EvaluationConditionalFormatPlugin = class extends CoreViewPlugin {
60417
60417
  const minValue = this.parsePoint(sheetId, range, rule.minimum, "min");
60418
60418
  const midValue = rule.midpoint ? this.parsePoint(sheetId, range, rule.midpoint) : null;
60419
60419
  const maxValue = this.parsePoint(sheetId, range, rule.maximum, "max");
60420
- if (minValue === null || maxValue === null || minValue >= maxValue || midValue && (minValue >= midValue || midValue >= maxValue)) return;
60420
+ if (minValue === null || maxValue === null || minValue >= maxValue || midValue !== null && (minValue >= midValue || midValue >= maxValue)) return;
60421
60421
  const zone = this.getters.getRangeFromSheetXC(sheetId, range).zone;
60422
60422
  const colorThresholds = [{
60423
60423
  value: minValue,
60424
60424
  color: rule.minimum.color
60425
60425
  }];
60426
- if (rule.midpoint && midValue) colorThresholds.push({
60426
+ if (rule.midpoint && midValue !== null) colorThresholds.push({
60427
60427
  value: midValue,
60428
60428
  color: rule.midpoint.color
60429
60429
  });
@@ -79099,6 +79099,6 @@ const chartHelpers = {
79099
79099
  //#endregion
79100
79100
  export { AbstractCellClipboardHandler, AbstractChart, AbstractFigureClipboardHandler, CellErrorType, ClientDisconnectedError, CommandResult, CorePlugin, CoreViewPlugin, DEFAULT_LOCALE, DEFAULT_LOCALES, DispatchResult, EvaluationError, LocalTransportService, Model, PivotRuntimeDefinition, Registry, Revision, SPREADSHEET_DIMENSIONS, Spreadsheet, SpreadsheetPivotTable, UIPlugin, __info__, addFunction, addRenderingLayer, astToFormula, categories, chartHelpers, components, constants, convertAstNodes, coreTypes, createAutocompleteArgumentsProvider, findCellInNewZone, functionCache, getCaretDownSvg, getCaretUpSvg, helpers, hooks, invalidateCFEvaluationCommands, invalidateChartEvaluationCommands, invalidateDependenciesCommands, invalidateEvaluationCommands, iterateAstNodes, links, load, parse, parseTokens, readonlyAllowedCommands, registries, setDefaultSheetViewSize, setTranslationMethod, stores, tokenColors, tokenize };
79101
79101
 
79102
- __info__.version = "19.1.26";
79103
- __info__.date = "2026-07-01T05:03:31.665Z";
79104
- __info__.hash = "44237c0";
79102
+ __info__.version = "19.1.27";
79103
+ __info__.date = "2026-07-13T06:25:26.922Z";
79104
+ __info__.hash = "6eb95de";
@@ -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.1.26
6
- * @date 2026-07-01T05:03:31.665Z
7
- * @hash 44237c0
5
+ * @version 19.1.27
6
+ * @date 2026-07-13T06:25:26.922Z
7
+ * @hash 6eb95de
8
8
  */
9
9
 
10
10
  (function(exports, _odoo_owl) {
@@ -60419,13 +60419,13 @@ stores.inject(MyMetaStore, storeInstance);
60419
60419
  const minValue = this.parsePoint(sheetId, range, rule.minimum, "min");
60420
60420
  const midValue = rule.midpoint ? this.parsePoint(sheetId, range, rule.midpoint) : null;
60421
60421
  const maxValue = this.parsePoint(sheetId, range, rule.maximum, "max");
60422
- if (minValue === null || maxValue === null || minValue >= maxValue || midValue && (minValue >= midValue || midValue >= maxValue)) return;
60422
+ if (minValue === null || maxValue === null || minValue >= maxValue || midValue !== null && (minValue >= midValue || midValue >= maxValue)) return;
60423
60423
  const zone = this.getters.getRangeFromSheetXC(sheetId, range).zone;
60424
60424
  const colorThresholds = [{
60425
60425
  value: minValue,
60426
60426
  color: rule.minimum.color
60427
60427
  }];
60428
- if (rule.midpoint && midValue) colorThresholds.push({
60428
+ if (rule.midpoint && midValue !== null) colorThresholds.push({
60429
60429
  value: midValue,
60430
60430
  color: rule.midpoint.color
60431
60431
  });
@@ -79154,8 +79154,8 @@ exports.stores = stores;
79154
79154
  exports.tokenColors = tokenColors;
79155
79155
  exports.tokenize = tokenize;
79156
79156
 
79157
- __info__.version = "19.1.26";
79158
- __info__.date = "2026-07-01T05:03:31.665Z";
79159
- __info__.hash = "44237c0";
79157
+ __info__.version = "19.1.27";
79158
+ __info__.date = "2026-07-13T06:25:26.922Z";
79159
+ __info__.hash = "6eb95de";
79160
79160
 
79161
79161
  })(this.o_spreadsheet = this.o_spreadsheet || {}, owl);