@odoo/o-spreadsheet 18.2.30 → 18.2.31

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.2.30
6
- * @date 2025-09-19T07:24:27.894Z
7
- * @hash 16428fd
5
+ * @version 18.2.31
6
+ * @date 2025-09-23T12:31:15.573Z
7
+ * @hash 839667e
8
8
  */
9
9
 
10
10
  'use strict';
@@ -66455,7 +66455,10 @@ class SortPlugin extends UIPlugin {
66455
66455
  return "Success" /* CommandResult.Success */;
66456
66456
  }
66457
66457
  checkArrayFormulaInSortZone({ sheetId, zone }) {
66458
- const arrayFormulaInZone = positions(zone).some(({ col, row }) => this.getters.getArrayFormulaSpreadingOn({ sheetId, col, row }));
66458
+ const arrayFormulaInZone = positions(zone).some(({ col, row }) => {
66459
+ const originPosition = this.getters.getArrayFormulaSpreadingOn({ sheetId, col, row });
66460
+ return originPosition && !deepEquals(originPosition, { sheetId, col, row });
66461
+ });
66459
66462
  return arrayFormulaInZone ? "SortZoneWithArrayFormulas" /* CommandResult.SortZoneWithArrayFormulas */ : "Success" /* CommandResult.Success */;
66460
66463
  }
66461
66464
  /**
@@ -77350,6 +77353,6 @@ exports.tokenColors = tokenColors;
77350
77353
  exports.tokenize = tokenize;
77351
77354
 
77352
77355
 
77353
- __info__.version = "18.2.30";
77354
- __info__.date = "2025-09-19T07:24:27.894Z";
77355
- __info__.hash = "16428fd";
77356
+ __info__.version = "18.2.31";
77357
+ __info__.date = "2025-09-23T12:31:15.573Z";
77358
+ __info__.hash = "839667e";
@@ -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.2.30
6
- * @date 2025-09-19T07:24:27.894Z
7
- * @hash 16428fd
5
+ * @version 18.2.31
6
+ * @date 2025-09-23T12:31:15.573Z
7
+ * @hash 839667e
8
8
  */
9
9
 
10
10
  import { useEnv, useSubEnv, onWillUnmount, useComponent, status, Component, useRef, onMounted, useEffect, App, blockDom, useState, onPatched, onWillPatch, onWillUpdateProps, useExternalListener, onWillStart, xml, useChildSubEnv, markRaw, toRaw } from '@odoo/owl';
@@ -66453,7 +66453,10 @@ class SortPlugin extends UIPlugin {
66453
66453
  return "Success" /* CommandResult.Success */;
66454
66454
  }
66455
66455
  checkArrayFormulaInSortZone({ sheetId, zone }) {
66456
- const arrayFormulaInZone = positions(zone).some(({ col, row }) => this.getters.getArrayFormulaSpreadingOn({ sheetId, col, row }));
66456
+ const arrayFormulaInZone = positions(zone).some(({ col, row }) => {
66457
+ const originPosition = this.getters.getArrayFormulaSpreadingOn({ sheetId, col, row });
66458
+ return originPosition && !deepEquals(originPosition, { sheetId, col, row });
66459
+ });
66457
66460
  return arrayFormulaInZone ? "SortZoneWithArrayFormulas" /* CommandResult.SortZoneWithArrayFormulas */ : "Success" /* CommandResult.Success */;
66458
66461
  }
66459
66462
  /**
@@ -77303,6 +77306,6 @@ const chartHelpers = { ...CHART_HELPERS, ...CHART_RUNTIME_HELPERS };
77303
77306
  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, invalidateDependenciesCommands, invalidateEvaluationCommands, iterateAstNodes, links, load, parse, parseTokens, readonlyAllowedCommands, registries, setDefaultSheetViewSize, setTranslationMethod, stores, tokenColors, tokenize };
77304
77307
 
77305
77308
 
77306
- __info__.version = "18.2.30";
77307
- __info__.date = "2025-09-19T07:24:27.894Z";
77308
- __info__.hash = "16428fd";
77309
+ __info__.version = "18.2.31";
77310
+ __info__.date = "2025-09-23T12:31:15.573Z";
77311
+ __info__.hash = "839667e";
@@ -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.2.30
6
- * @date 2025-09-19T07:24:27.894Z
7
- * @hash 16428fd
5
+ * @version 18.2.31
6
+ * @date 2025-09-23T12:31:15.573Z
7
+ * @hash 839667e
8
8
  */
9
9
 
10
10
  (function (exports, owl) {
@@ -66454,7 +66454,10 @@ stores.inject(MyMetaStore, storeInstance);
66454
66454
  return "Success" /* CommandResult.Success */;
66455
66455
  }
66456
66456
  checkArrayFormulaInSortZone({ sheetId, zone }) {
66457
- const arrayFormulaInZone = positions(zone).some(({ col, row }) => this.getters.getArrayFormulaSpreadingOn({ sheetId, col, row }));
66457
+ const arrayFormulaInZone = positions(zone).some(({ col, row }) => {
66458
+ const originPosition = this.getters.getArrayFormulaSpreadingOn({ sheetId, col, row });
66459
+ return originPosition && !deepEquals(originPosition, { sheetId, col, row });
66460
+ });
66458
66461
  return arrayFormulaInZone ? "SortZoneWithArrayFormulas" /* CommandResult.SortZoneWithArrayFormulas */ : "Success" /* CommandResult.Success */;
66459
66462
  }
66460
66463
  /**
@@ -77349,9 +77352,9 @@ stores.inject(MyMetaStore, storeInstance);
77349
77352
  exports.tokenize = tokenize;
77350
77353
 
77351
77354
 
77352
- __info__.version = "18.2.30";
77353
- __info__.date = "2025-09-19T07:24:27.894Z";
77354
- __info__.hash = "16428fd";
77355
+ __info__.version = "18.2.31";
77356
+ __info__.date = "2025-09-23T12:31:15.573Z";
77357
+ __info__.hash = "839667e";
77355
77358
 
77356
77359
 
77357
77360
  })(this.o_spreadsheet = this.o_spreadsheet || {}, owl);