@odoo/o-spreadsheet 18.3.21 → 18.3.22

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.21
6
- * @date 2025-09-19T07:25:12.089Z
7
- * @hash b64ee85
5
+ * @version 18.3.22
6
+ * @date 2025-09-23T12:28:52.149Z
7
+ * @hash fb227d7
8
8
  */
9
9
 
10
10
  'use strict';
@@ -69496,7 +69496,10 @@ class SortPlugin extends UIPlugin {
69496
69496
  return "Success" /* CommandResult.Success */;
69497
69497
  }
69498
69498
  checkArrayFormulaInSortZone({ sheetId, zone }) {
69499
- const arrayFormulaInZone = positions(zone).some(({ col, row }) => this.getters.getArrayFormulaSpreadingOn({ sheetId, col, row }));
69499
+ const arrayFormulaInZone = positions(zone).some(({ col, row }) => {
69500
+ const originPosition = this.getters.getArrayFormulaSpreadingOn({ sheetId, col, row });
69501
+ return originPosition && !deepEquals(originPosition, { sheetId, col, row });
69502
+ });
69500
69503
  return arrayFormulaInZone ? "SortZoneWithArrayFormulas" /* CommandResult.SortZoneWithArrayFormulas */ : "Success" /* CommandResult.Success */;
69501
69504
  }
69502
69505
  /**
@@ -81031,6 +81034,6 @@ exports.tokenColors = tokenColors;
81031
81034
  exports.tokenize = tokenize;
81032
81035
 
81033
81036
 
81034
- __info__.version = "18.3.21";
81035
- __info__.date = "2025-09-19T07:25:12.089Z";
81036
- __info__.hash = "b64ee85";
81037
+ __info__.version = "18.3.22";
81038
+ __info__.date = "2025-09-23T12:28:52.149Z";
81039
+ __info__.hash = "fb227d7";
@@ -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.21
6
- * @date 2025-09-19T07:25:12.089Z
7
- * @hash b64ee85
5
+ * @version 18.3.22
6
+ * @date 2025-09-23T12:28:52.149Z
7
+ * @hash fb227d7
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';
@@ -69494,7 +69494,10 @@ class SortPlugin extends UIPlugin {
69494
69494
  return "Success" /* CommandResult.Success */;
69495
69495
  }
69496
69496
  checkArrayFormulaInSortZone({ sheetId, zone }) {
69497
- const arrayFormulaInZone = positions(zone).some(({ col, row }) => this.getters.getArrayFormulaSpreadingOn({ sheetId, col, row }));
69497
+ const arrayFormulaInZone = positions(zone).some(({ col, row }) => {
69498
+ const originPosition = this.getters.getArrayFormulaSpreadingOn({ sheetId, col, row });
69499
+ return originPosition && !deepEquals(originPosition, { sheetId, col, row });
69500
+ });
69498
69501
  return arrayFormulaInZone ? "SortZoneWithArrayFormulas" /* CommandResult.SortZoneWithArrayFormulas */ : "Success" /* CommandResult.Success */;
69499
69502
  }
69500
69503
  /**
@@ -80983,6 +80986,6 @@ const chartHelpers = { ...CHART_HELPERS, ...CHART_RUNTIME_HELPERS };
80983
80986
  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 };
80984
80987
 
80985
80988
 
80986
- __info__.version = "18.3.21";
80987
- __info__.date = "2025-09-19T07:25:12.089Z";
80988
- __info__.hash = "b64ee85";
80989
+ __info__.version = "18.3.22";
80990
+ __info__.date = "2025-09-23T12:28:52.149Z";
80991
+ __info__.hash = "fb227d7";
@@ -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.21
6
- * @date 2025-09-19T07:25:12.089Z
7
- * @hash b64ee85
5
+ * @version 18.3.22
6
+ * @date 2025-09-23T12:28:52.149Z
7
+ * @hash fb227d7
8
8
  */
9
9
 
10
10
  (function (exports, owl) {
@@ -69495,7 +69495,10 @@ stores.inject(MyMetaStore, storeInstance);
69495
69495
  return "Success" /* CommandResult.Success */;
69496
69496
  }
69497
69497
  checkArrayFormulaInSortZone({ sheetId, zone }) {
69498
- const arrayFormulaInZone = positions(zone).some(({ col, row }) => this.getters.getArrayFormulaSpreadingOn({ sheetId, col, row }));
69498
+ const arrayFormulaInZone = positions(zone).some(({ col, row }) => {
69499
+ const originPosition = this.getters.getArrayFormulaSpreadingOn({ sheetId, col, row });
69500
+ return originPosition && !deepEquals(originPosition, { sheetId, col, row });
69501
+ });
69499
69502
  return arrayFormulaInZone ? "SortZoneWithArrayFormulas" /* CommandResult.SortZoneWithArrayFormulas */ : "Success" /* CommandResult.Success */;
69500
69503
  }
69501
69504
  /**
@@ -81030,9 +81033,9 @@ stores.inject(MyMetaStore, storeInstance);
81030
81033
  exports.tokenize = tokenize;
81031
81034
 
81032
81035
 
81033
- __info__.version = "18.3.21";
81034
- __info__.date = "2025-09-19T07:25:12.089Z";
81035
- __info__.hash = "b64ee85";
81036
+ __info__.version = "18.3.22";
81037
+ __info__.date = "2025-09-23T12:28:52.149Z";
81038
+ __info__.hash = "fb227d7";
81036
81039
 
81037
81040
 
81038
81041
  })(this.o_spreadsheet = this.o_spreadsheet || {}, owl);