@odoo/o-spreadsheet 17.2.11 → 17.2.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.
@@ -3,9 +3,9 @@
3
3
  /**
4
4
  * This file is generated by o-spreadsheet build tools. Do not edit it.
5
5
  * @see https://github.com/odoo/o-spreadsheet
6
- * @version 17.2.11
7
- * @date 2024-06-14T10:03:05.033Z
8
- * @hash 7704cc4
6
+ * @version 17.2.12
7
+ * @date 2024-06-21T19:58:15.248Z
8
+ * @hash 1aaacc4
9
9
  */
10
10
 
11
11
  'use strict';
@@ -8881,10 +8881,8 @@ class ComposerStore extends SpreadsheetStore {
8881
8881
  const refRange = this.getters.getRangeFromSheetXC(activeSheetId, xc);
8882
8882
  return isEqual(this.getters.expandZone(activeSheetId, refRange.zone), oldZone);
8883
8883
  });
8884
- // this function assumes that the previous range is always found because
8885
- // it's called when changing a highlight, which exists by definition
8886
8884
  if (!previousRefToken) {
8887
- throw new Error("Previous range not found");
8885
+ return;
8888
8886
  }
8889
8887
  const previousRange = this.getters.getRangeFromSheetXC(activeSheetId, previousRefToken.value);
8890
8888
  this.selectionStart = previousRefToken.start;
@@ -60786,6 +60784,6 @@ exports.tokenColors = tokenColors;
60786
60784
  exports.tokenize = tokenize;
60787
60785
 
60788
60786
 
60789
- __info__.version = "17.2.11";
60790
- __info__.date = "2024-06-14T10:03:05.033Z";
60791
- __info__.hash = "7704cc4";
60787
+ __info__.version = "17.2.12";
60788
+ __info__.date = "2024-06-21T19:58:15.248Z";
60789
+ __info__.hash = "1aaacc4";
@@ -3,9 +3,9 @@
3
3
  /**
4
4
  * This file is generated by o-spreadsheet build tools. Do not edit it.
5
5
  * @see https://github.com/odoo/o-spreadsheet
6
- * @version 17.2.11
7
- * @date 2024-06-14T10:03:05.033Z
8
- * @hash 7704cc4
6
+ * @version 17.2.12
7
+ * @date 2024-06-21T19:58:15.248Z
8
+ * @hash 1aaacc4
9
9
  */
10
10
 
11
11
  import { useEnv, useSubEnv, onWillUnmount, useComponent, status, Component, useRef, onMounted, useEffect, useState, onPatched, onWillPatch, onWillUpdateProps, useExternalListener, onWillStart, xml, useChildSubEnv, markRaw } from '@odoo/owl';
@@ -8879,10 +8879,8 @@ class ComposerStore extends SpreadsheetStore {
8879
8879
  const refRange = this.getters.getRangeFromSheetXC(activeSheetId, xc);
8880
8880
  return isEqual(this.getters.expandZone(activeSheetId, refRange.zone), oldZone);
8881
8881
  });
8882
- // this function assumes that the previous range is always found because
8883
- // it's called when changing a highlight, which exists by definition
8884
8882
  if (!previousRefToken) {
8885
- throw new Error("Previous range not found");
8883
+ return;
8886
8884
  }
8887
8885
  const previousRange = this.getters.getRangeFromSheetXC(activeSheetId, previousRefToken.value);
8888
8886
  this.selectionStart = previousRefToken.start;
@@ -60743,6 +60741,6 @@ const constants = {
60743
60741
  export { AbstractCellClipboardHandler, AbstractChart, AbstractFigureClipboardHandler, CellErrorType, CommandResult, CorePlugin, DispatchResult, EvaluationError, Model, Registry, Revision, SPREADSHEET_DIMENSIONS, Spreadsheet, UIPlugin, __info__, addFunction, addRenderingLayer, astToFormula, 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 };
60744
60742
 
60745
60743
 
60746
- __info__.version = "17.2.11";
60747
- __info__.date = "2024-06-14T10:03:05.033Z";
60748
- __info__.hash = "7704cc4";
60744
+ __info__.version = "17.2.12";
60745
+ __info__.date = "2024-06-21T19:58:15.248Z";
60746
+ __info__.hash = "1aaacc4";
@@ -3,9 +3,9 @@
3
3
  /**
4
4
  * This file is generated by o-spreadsheet build tools. Do not edit it.
5
5
  * @see https://github.com/odoo/o-spreadsheet
6
- * @version 17.2.11
7
- * @date 2024-06-14T10:03:05.033Z
8
- * @hash 7704cc4
6
+ * @version 17.2.12
7
+ * @date 2024-06-21T19:58:15.248Z
8
+ * @hash 1aaacc4
9
9
  */
10
10
 
11
11
  (function (exports, owl) {
@@ -8880,10 +8880,8 @@ stores.inject(MyMetaStore, storeInstance);
8880
8880
  const refRange = this.getters.getRangeFromSheetXC(activeSheetId, xc);
8881
8881
  return isEqual(this.getters.expandZone(activeSheetId, refRange.zone), oldZone);
8882
8882
  });
8883
- // this function assumes that the previous range is always found because
8884
- // it's called when changing a highlight, which exists by definition
8885
8883
  if (!previousRefToken) {
8886
- throw new Error("Previous range not found");
8884
+ return;
8887
8885
  }
8888
8886
  const previousRange = this.getters.getRangeFromSheetXC(activeSheetId, previousRefToken.value);
8889
8887
  this.selectionStart = previousRefToken.start;
@@ -60785,9 +60783,9 @@ stores.inject(MyMetaStore, storeInstance);
60785
60783
  exports.tokenize = tokenize;
60786
60784
 
60787
60785
 
60788
- __info__.version = "17.2.11";
60789
- __info__.date = "2024-06-14T10:03:05.033Z";
60790
- __info__.hash = "7704cc4";
60786
+ __info__.version = "17.2.12";
60787
+ __info__.date = "2024-06-21T19:58:15.248Z";
60788
+ __info__.hash = "1aaacc4";
60791
60789
 
60792
60790
 
60793
60791
  })(this.o_spreadsheet = this.o_spreadsheet || {}, owl);