@odoo/o-spreadsheet 18.4.11 → 18.4.12

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.11
6
- * @date 2025-09-19T07:25:39.033Z
7
- * @hash c7e71ac
5
+ * @version 18.4.12
6
+ * @date 2025-09-23T12:37:43.708Z
7
+ * @hash 0c91305
8
8
  */
9
9
 
10
10
  'use strict';
@@ -71657,7 +71657,10 @@ class SortPlugin extends UIPlugin {
71657
71657
  return "Success" /* CommandResult.Success */;
71658
71658
  }
71659
71659
  checkArrayFormulaInSortZone({ sheetId, zone }) {
71660
- const arrayFormulaInZone = positions(zone).some(({ col, row }) => this.getters.getArrayFormulaSpreadingOn({ sheetId, col, row }));
71660
+ const arrayFormulaInZone = positions(zone).some(({ col, row }) => {
71661
+ const originPosition = this.getters.getArrayFormulaSpreadingOn({ sheetId, col, row });
71662
+ return originPosition && !deepEquals(originPosition, { sheetId, col, row });
71663
+ });
71661
71664
  return arrayFormulaInZone ? "SortZoneWithArrayFormulas" /* CommandResult.SortZoneWithArrayFormulas */ : "Success" /* CommandResult.Success */;
71662
71665
  }
71663
71666
  /**
@@ -84856,6 +84859,6 @@ exports.tokenColors = tokenColors;
84856
84859
  exports.tokenize = tokenize;
84857
84860
 
84858
84861
 
84859
- __info__.version = "18.4.11";
84860
- __info__.date = "2025-09-19T07:25:39.033Z";
84861
- __info__.hash = "c7e71ac";
84862
+ __info__.version = "18.4.12";
84863
+ __info__.date = "2025-09-23T12:37:43.708Z";
84864
+ __info__.hash = "0c91305";
@@ -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.11
6
- * @date 2025-09-19T07:25:39.033Z
7
- * @hash c7e71ac
5
+ * @version 18.4.12
6
+ * @date 2025-09-23T12:37:43.708Z
7
+ * @hash 0c91305
8
8
  */
9
9
 
10
10
  import { useEnv, useSubEnv, onWillUnmount, useComponent, status, Component, useRef, onMounted, useEffect, App, blockDom, useState, onPatched, useExternalListener, onWillUpdateProps, onWillStart, onWillPatch, xml, useChildSubEnv, markRaw, toRaw } from '@odoo/owl';
@@ -71655,7 +71655,10 @@ class SortPlugin extends UIPlugin {
71655
71655
  return "Success" /* CommandResult.Success */;
71656
71656
  }
71657
71657
  checkArrayFormulaInSortZone({ sheetId, zone }) {
71658
- const arrayFormulaInZone = positions(zone).some(({ col, row }) => this.getters.getArrayFormulaSpreadingOn({ sheetId, col, row }));
71658
+ const arrayFormulaInZone = positions(zone).some(({ col, row }) => {
71659
+ const originPosition = this.getters.getArrayFormulaSpreadingOn({ sheetId, col, row });
71660
+ return originPosition && !deepEquals(originPosition, { sheetId, col, row });
71661
+ });
71659
71662
  return arrayFormulaInZone ? "SortZoneWithArrayFormulas" /* CommandResult.SortZoneWithArrayFormulas */ : "Success" /* CommandResult.Success */;
71660
71663
  }
71661
71664
  /**
@@ -84806,6 +84809,6 @@ const chartHelpers = { ...CHART_HELPERS, ...CHART_RUNTIME_HELPERS };
84806
84809
  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 };
84807
84810
 
84808
84811
 
84809
- __info__.version = "18.4.11";
84810
- __info__.date = "2025-09-19T07:25:39.033Z";
84811
- __info__.hash = "c7e71ac";
84812
+ __info__.version = "18.4.12";
84813
+ __info__.date = "2025-09-23T12:37:43.708Z";
84814
+ __info__.hash = "0c91305";
@@ -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.11
6
- * @date 2025-09-19T07:25:39.033Z
7
- * @hash c7e71ac
5
+ * @version 18.4.12
6
+ * @date 2025-09-23T12:37:43.708Z
7
+ * @hash 0c91305
8
8
  */
9
9
 
10
10
  (function (exports, owl) {
@@ -71656,7 +71656,10 @@ stores.inject(MyMetaStore, storeInstance);
71656
71656
  return "Success" /* CommandResult.Success */;
71657
71657
  }
71658
71658
  checkArrayFormulaInSortZone({ sheetId, zone }) {
71659
- const arrayFormulaInZone = positions(zone).some(({ col, row }) => this.getters.getArrayFormulaSpreadingOn({ sheetId, col, row }));
71659
+ const arrayFormulaInZone = positions(zone).some(({ col, row }) => {
71660
+ const originPosition = this.getters.getArrayFormulaSpreadingOn({ sheetId, col, row });
71661
+ return originPosition && !deepEquals(originPosition, { sheetId, col, row });
71662
+ });
71660
71663
  return arrayFormulaInZone ? "SortZoneWithArrayFormulas" /* CommandResult.SortZoneWithArrayFormulas */ : "Success" /* CommandResult.Success */;
71661
71664
  }
71662
71665
  /**
@@ -84855,9 +84858,9 @@ stores.inject(MyMetaStore, storeInstance);
84855
84858
  exports.tokenize = tokenize;
84856
84859
 
84857
84860
 
84858
- __info__.version = "18.4.11";
84859
- __info__.date = "2025-09-19T07:25:39.033Z";
84860
- __info__.hash = "c7e71ac";
84861
+ __info__.version = "18.4.12";
84862
+ __info__.date = "2025-09-23T12:37:43.708Z";
84863
+ __info__.hash = "0c91305";
84861
84864
 
84862
84865
 
84863
84866
  })(this.o_spreadsheet = this.o_spreadsheet || {}, owl);