@odoo/o-spreadsheet 17.1.28 → 17.1.29

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 17.1.28
6
- * @date 2024-08-19T08:08:59.669Z
7
- * @hash 9674f1b
5
+ * @version 17.1.29
6
+ * @date 2024-08-26T13:49:00.557Z
7
+ * @hash 52753da
8
8
  */
9
9
 
10
10
  'use strict';
@@ -38002,7 +38002,10 @@ class HeaderSizePlugin extends CorePlugin {
38002
38002
  handle(cmd) {
38003
38003
  switch (cmd.type) {
38004
38004
  case "CREATE_SHEET": {
38005
- this.history.update("sizes", cmd.sheetId, { COL: [], ROW: [] });
38005
+ this.history.update("sizes", cmd.sheetId, {
38006
+ COL: Array(this.getters.getNumberCols(cmd.sheetId)).fill(undefined),
38007
+ ROW: Array(this.getters.getNumberRows(cmd.sheetId)).fill(undefined),
38008
+ });
38006
38009
  break;
38007
38010
  }
38008
38011
  case "DUPLICATE_SHEET":
@@ -57928,6 +57931,6 @@ exports.setTranslationMethod = setTranslationMethod;
57928
57931
  exports.tokenize = tokenize;
57929
57932
 
57930
57933
 
57931
- __info__.version = "17.1.28";
57932
- __info__.date = "2024-08-19T08:08:59.669Z";
57933
- __info__.hash = "9674f1b";
57934
+ __info__.version = "17.1.29";
57935
+ __info__.date = "2024-08-26T13:49:00.557Z";
57936
+ __info__.hash = "52753da";
@@ -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 17.1.28
6
- * @date 2024-08-19T08:08:59.669Z
7
- * @hash 9674f1b
5
+ * @version 17.1.29
6
+ * @date 2024-08-26T13:49:00.557Z
7
+ * @hash 52753da
8
8
  */
9
9
 
10
10
  import { Component, useRef, onMounted, onWillUnmount, useEffect, onWillPatch, useState, onWillUpdateProps, onPatched, useComponent, useExternalListener, onWillStart, xml, useChildSubEnv, useSubEnv, markRaw } from '@odoo/owl';
@@ -38000,7 +38000,10 @@ class HeaderSizePlugin extends CorePlugin {
38000
38000
  handle(cmd) {
38001
38001
  switch (cmd.type) {
38002
38002
  case "CREATE_SHEET": {
38003
- this.history.update("sizes", cmd.sheetId, { COL: [], ROW: [] });
38003
+ this.history.update("sizes", cmd.sheetId, {
38004
+ COL: Array(this.getters.getNumberCols(cmd.sheetId)).fill(undefined),
38005
+ ROW: Array(this.getters.getNumberRows(cmd.sheetId)).fill(undefined),
38006
+ });
38004
38007
  break;
38005
38008
  }
38006
38009
  case "DUPLICATE_SHEET":
@@ -57890,6 +57893,6 @@ const constants = {
57890
57893
  export { AbstractChart, CellErrorType, CommandResult, CorePlugin, DispatchResult, EvaluationError, Model, Registry, Revision, SPREADSHEET_DIMENSIONS, Spreadsheet, UIPlugin, __info__, addFunction, astToFormula, compile, compileTokens, components, constants, convertAstNodes, coreTypes, findCellInNewZone, functionCache, helpers, hooks, invalidateCFEvaluationCommands, invalidateDependenciesCommands, invalidateEvaluationCommands, iterateAstNodes, links, load, parse, parseTokens, readonlyAllowedCommands, registries, setDefaultSheetViewSize, setTranslationMethod, tokenize };
57891
57894
 
57892
57895
 
57893
- __info__.version = "17.1.28";
57894
- __info__.date = "2024-08-19T08:08:59.669Z";
57895
- __info__.hash = "9674f1b";
57896
+ __info__.version = "17.1.29";
57897
+ __info__.date = "2024-08-26T13:49:00.557Z";
57898
+ __info__.hash = "52753da";
@@ -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 17.1.28
6
- * @date 2024-08-19T08:08:59.669Z
7
- * @hash 9674f1b
5
+ * @version 17.1.29
6
+ * @date 2024-08-26T13:49:00.557Z
7
+ * @hash 52753da
8
8
  */
9
9
 
10
10
  (function (exports, owl) {
@@ -38001,7 +38001,10 @@
38001
38001
  handle(cmd) {
38002
38002
  switch (cmd.type) {
38003
38003
  case "CREATE_SHEET": {
38004
- this.history.update("sizes", cmd.sheetId, { COL: [], ROW: [] });
38004
+ this.history.update("sizes", cmd.sheetId, {
38005
+ COL: Array(this.getters.getNumberCols(cmd.sheetId)).fill(undefined),
38006
+ ROW: Array(this.getters.getNumberRows(cmd.sheetId)).fill(undefined),
38007
+ });
38005
38008
  break;
38006
38009
  }
38007
38010
  case "DUPLICATE_SHEET":
@@ -57927,9 +57930,9 @@
57927
57930
  exports.tokenize = tokenize;
57928
57931
 
57929
57932
 
57930
- __info__.version = "17.1.28";
57931
- __info__.date = "2024-08-19T08:08:59.669Z";
57932
- __info__.hash = "9674f1b";
57933
+ __info__.version = "17.1.29";
57934
+ __info__.date = "2024-08-26T13:49:00.557Z";
57935
+ __info__.hash = "52753da";
57933
57936
 
57934
57937
 
57935
57938
  })(this.o_spreadsheet = this.o_spreadsheet || {}, owl);