@odoo/o-spreadsheet 17.2.35 → 17.2.36

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.35
7
- * @date 2025-02-05T07:12:34.721Z
8
- * @hash 76b12a1
6
+ * @version 17.2.36
7
+ * @date 2025-02-10T08:59:25.719Z
8
+ * @hash 5a942bd
9
9
  */
10
10
 
11
11
  'use strict';
@@ -606,9 +606,16 @@ function deepEquals(o1, o2) {
606
606
  }
607
607
  return true;
608
608
  }
609
- /** Check if the given array contains all the values of the other array. */
609
+ /**
610
+ * Check if the given array contains all the values of the other array.
611
+ * It makes the assumption that both array do not contain duplicates.
612
+ */
610
613
  function includesAll(arr, values) {
611
- return values.every((value) => arr.includes(value));
614
+ if (arr.length < values.length) {
615
+ return false;
616
+ }
617
+ const set = new Set(arr);
618
+ return values.every((value) => set.has(value));
612
619
  }
613
620
  /**
614
621
  * Return an object with all the keys in the object that have a falsy value removed.
@@ -61171,6 +61178,6 @@ exports.tokenColors = tokenColors;
61171
61178
  exports.tokenize = tokenize;
61172
61179
 
61173
61180
 
61174
- __info__.version = "17.2.35";
61175
- __info__.date = "2025-02-05T07:12:34.721Z";
61176
- __info__.hash = "76b12a1";
61181
+ __info__.version = "17.2.36";
61182
+ __info__.date = "2025-02-10T08:59:25.719Z";
61183
+ __info__.hash = "5a942bd";
@@ -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.35
7
- * @date 2025-02-05T07:12:34.721Z
8
- * @hash 76b12a1
6
+ * @version 17.2.36
7
+ * @date 2025-02-10T08:59:25.719Z
8
+ * @hash 5a942bd
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';
@@ -604,9 +604,16 @@ function deepEquals(o1, o2) {
604
604
  }
605
605
  return true;
606
606
  }
607
- /** Check if the given array contains all the values of the other array. */
607
+ /**
608
+ * Check if the given array contains all the values of the other array.
609
+ * It makes the assumption that both array do not contain duplicates.
610
+ */
608
611
  function includesAll(arr, values) {
609
- return values.every((value) => arr.includes(value));
612
+ if (arr.length < values.length) {
613
+ return false;
614
+ }
615
+ const set = new Set(arr);
616
+ return values.every((value) => set.has(value));
610
617
  }
611
618
  /**
612
619
  * Return an object with all the keys in the object that have a falsy value removed.
@@ -61128,6 +61135,6 @@ const constants = {
61128
61135
  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 };
61129
61136
 
61130
61137
 
61131
- __info__.version = "17.2.35";
61132
- __info__.date = "2025-02-05T07:12:34.721Z";
61133
- __info__.hash = "76b12a1";
61138
+ __info__.version = "17.2.36";
61139
+ __info__.date = "2025-02-10T08:59:25.719Z";
61140
+ __info__.hash = "5a942bd";
@@ -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.35
7
- * @date 2025-02-05T07:12:34.721Z
8
- * @hash 76b12a1
6
+ * @version 17.2.36
7
+ * @date 2025-02-10T08:59:25.719Z
8
+ * @hash 5a942bd
9
9
  */
10
10
 
11
11
  (function (exports, owl) {
@@ -605,9 +605,16 @@
605
605
  }
606
606
  return true;
607
607
  }
608
- /** Check if the given array contains all the values of the other array. */
608
+ /**
609
+ * Check if the given array contains all the values of the other array.
610
+ * It makes the assumption that both array do not contain duplicates.
611
+ */
609
612
  function includesAll(arr, values) {
610
- return values.every((value) => arr.includes(value));
613
+ if (arr.length < values.length) {
614
+ return false;
615
+ }
616
+ const set = new Set(arr);
617
+ return values.every((value) => set.has(value));
611
618
  }
612
619
  /**
613
620
  * Return an object with all the keys in the object that have a falsy value removed.
@@ -61170,9 +61177,9 @@ stores.inject(MyMetaStore, storeInstance);
61170
61177
  exports.tokenize = tokenize;
61171
61178
 
61172
61179
 
61173
- __info__.version = "17.2.35";
61174
- __info__.date = "2025-02-05T07:12:34.721Z";
61175
- __info__.hash = "76b12a1";
61180
+ __info__.version = "17.2.36";
61181
+ __info__.date = "2025-02-10T08:59:25.719Z";
61182
+ __info__.hash = "5a942bd";
61176
61183
 
61177
61184
 
61178
61185
  })(this.o_spreadsheet = this.o_spreadsheet || {}, owl);