@odoo/o-spreadsheet 16.0.15 → 16.0.16

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.
@@ -28870,7 +28870,7 @@ class HeaderSizePlugin extends CorePlugin {
28870
28870
  this.sizes = {};
28871
28871
  }
28872
28872
  handle(cmd) {
28873
- var _a, _b, _c;
28873
+ var _a, _b;
28874
28874
  switch (cmd.type) {
28875
28875
  case "CREATE_SHEET": {
28876
28876
  const computedSizes = this.computeSheetSizes(cmd.sheetId);
@@ -28958,7 +28958,8 @@ class HeaderSizePlugin extends CorePlugin {
28958
28958
  }
28959
28959
  break;
28960
28960
  case "UPDATE_CELL":
28961
- if (!((_c = (_b = (_a = this.sizes[cmd.sheetId]) === null || _a === void 0 ? void 0 : _a["ROW"]) === null || _b === void 0 ? void 0 : _b[cmd.row]) === null || _c === void 0 ? void 0 : _c.manualSize)) {
28961
+ const row = (_b = (_a = this.sizes[cmd.sheetId]) === null || _a === void 0 ? void 0 : _a["ROW"]) === null || _b === void 0 ? void 0 : _b[cmd.row];
28962
+ if (row && !row.manualSize) {
28962
28963
  const { sheetId, row } = cmd;
28963
28964
  this.history.update("sizes", sheetId, "ROW", row, "computedSize", lazy(() => this.getRowTallestCellSize(sheetId, row)));
28964
28965
  }
@@ -33325,11 +33326,15 @@ class FindAndReplacePlugin extends UIPlugin {
33325
33326
  break;
33326
33327
  case "EVALUATE_CELLS":
33327
33328
  case "UPDATE_CELL":
33329
+ case "REMOVE_FILTER_TABLE":
33330
+ case "UPDATE_FILTER":
33328
33331
  this.isSearchDirty = true;
33329
33332
  break;
33330
33333
  case "UNDO":
33331
33334
  case "REDO":
33332
33335
  case "REMOVE_COLUMNS_ROWS":
33336
+ case "HIDE_COLUMNS_ROWS":
33337
+ case "UNHIDE_COLUMNS_ROWS":
33333
33338
  case "ADD_COLUMNS_ROWS":
33334
33339
  case "ACTIVATE_SHEET":
33335
33340
  this.refreshSearch();
@@ -42855,6 +42860,6 @@ exports.setTranslationMethod = setTranslationMethod;
42855
42860
  exports.tokenize = tokenize;
42856
42861
 
42857
42862
 
42858
- __info__.version = '16.0.15';
42859
- __info__.date = '2023-07-26T12:11:24.020Z';
42860
- __info__.hash = '18da14b';
42863
+ __info__.version = '16.0.16';
42864
+ __info__.date = '2023-08-07T09:01:50.801Z';
42865
+ __info__.hash = '2b5ecd8';
@@ -28866,7 +28866,7 @@ class HeaderSizePlugin extends CorePlugin {
28866
28866
  this.sizes = {};
28867
28867
  }
28868
28868
  handle(cmd) {
28869
- var _a, _b, _c;
28869
+ var _a, _b;
28870
28870
  switch (cmd.type) {
28871
28871
  case "CREATE_SHEET": {
28872
28872
  const computedSizes = this.computeSheetSizes(cmd.sheetId);
@@ -28954,7 +28954,8 @@ class HeaderSizePlugin extends CorePlugin {
28954
28954
  }
28955
28955
  break;
28956
28956
  case "UPDATE_CELL":
28957
- if (!((_c = (_b = (_a = this.sizes[cmd.sheetId]) === null || _a === void 0 ? void 0 : _a["ROW"]) === null || _b === void 0 ? void 0 : _b[cmd.row]) === null || _c === void 0 ? void 0 : _c.manualSize)) {
28957
+ const row = (_b = (_a = this.sizes[cmd.sheetId]) === null || _a === void 0 ? void 0 : _a["ROW"]) === null || _b === void 0 ? void 0 : _b[cmd.row];
28958
+ if (row && !row.manualSize) {
28958
28959
  const { sheetId, row } = cmd;
28959
28960
  this.history.update("sizes", sheetId, "ROW", row, "computedSize", lazy(() => this.getRowTallestCellSize(sheetId, row)));
28960
28961
  }
@@ -33321,11 +33322,15 @@ class FindAndReplacePlugin extends UIPlugin {
33321
33322
  break;
33322
33323
  case "EVALUATE_CELLS":
33323
33324
  case "UPDATE_CELL":
33325
+ case "REMOVE_FILTER_TABLE":
33326
+ case "UPDATE_FILTER":
33324
33327
  this.isSearchDirty = true;
33325
33328
  break;
33326
33329
  case "UNDO":
33327
33330
  case "REDO":
33328
33331
  case "REMOVE_COLUMNS_ROWS":
33332
+ case "HIDE_COLUMNS_ROWS":
33333
+ case "UNHIDE_COLUMNS_ROWS":
33329
33334
  case "ADD_COLUMNS_ROWS":
33330
33335
  case "ACTIVATE_SHEET":
33331
33336
  this.refreshSearch();
@@ -42823,6 +42828,6 @@ function addFunction(functionName, functionDescription) {
42823
42828
  export { AbstractChart, CommandResult, CorePlugin, DATETIME_FORMAT, DispatchResult, EvaluationError, Model, Registry, Revision, SPREADSHEET_DIMENSIONS, Spreadsheet, UIPlugin, __info__, addFunction, astToFormula, cellTypes, compile, components, convertAstNodes, coreTypes, findCellInNewZone, functionCache, helpers, invalidateEvaluationCommands, load, parse, readonlyAllowedCommands, registries, setTranslationMethod, tokenize };
42824
42829
 
42825
42830
 
42826
- __info__.version = '16.0.15';
42827
- __info__.date = '2023-07-26T12:11:24.020Z';
42828
- __info__.hash = '18da14b';
42831
+ __info__.version = '16.0.16';
42832
+ __info__.date = '2023-08-07T09:01:50.801Z';
42833
+ __info__.hash = '2b5ecd8';
@@ -28867,7 +28867,7 @@ day_count_convention (number, default=${DEFAULT_DAY_COUNT_CONVENTION} ) ${_lt("A
28867
28867
  this.sizes = {};
28868
28868
  }
28869
28869
  handle(cmd) {
28870
- var _a, _b, _c;
28870
+ var _a, _b;
28871
28871
  switch (cmd.type) {
28872
28872
  case "CREATE_SHEET": {
28873
28873
  const computedSizes = this.computeSheetSizes(cmd.sheetId);
@@ -28955,7 +28955,8 @@ day_count_convention (number, default=${DEFAULT_DAY_COUNT_CONVENTION} ) ${_lt("A
28955
28955
  }
28956
28956
  break;
28957
28957
  case "UPDATE_CELL":
28958
- if (!((_c = (_b = (_a = this.sizes[cmd.sheetId]) === null || _a === void 0 ? void 0 : _a["ROW"]) === null || _b === void 0 ? void 0 : _b[cmd.row]) === null || _c === void 0 ? void 0 : _c.manualSize)) {
28958
+ const row = (_b = (_a = this.sizes[cmd.sheetId]) === null || _a === void 0 ? void 0 : _a["ROW"]) === null || _b === void 0 ? void 0 : _b[cmd.row];
28959
+ if (row && !row.manualSize) {
28959
28960
  const { sheetId, row } = cmd;
28960
28961
  this.history.update("sizes", sheetId, "ROW", row, "computedSize", lazy(() => this.getRowTallestCellSize(sheetId, row)));
28961
28962
  }
@@ -33322,11 +33323,15 @@ day_count_convention (number, default=${DEFAULT_DAY_COUNT_CONVENTION} ) ${_lt("A
33322
33323
  break;
33323
33324
  case "EVALUATE_CELLS":
33324
33325
  case "UPDATE_CELL":
33326
+ case "REMOVE_FILTER_TABLE":
33327
+ case "UPDATE_FILTER":
33325
33328
  this.isSearchDirty = true;
33326
33329
  break;
33327
33330
  case "UNDO":
33328
33331
  case "REDO":
33329
33332
  case "REMOVE_COLUMNS_ROWS":
33333
+ case "HIDE_COLUMNS_ROWS":
33334
+ case "UNHIDE_COLUMNS_ROWS":
33330
33335
  case "ADD_COLUMNS_ROWS":
33331
33336
  case "ACTIVATE_SHEET":
33332
33337
  this.refreshSearch();
@@ -42854,9 +42859,9 @@ day_count_convention (number, default=${DEFAULT_DAY_COUNT_CONVENTION} ) ${_lt("A
42854
42859
  Object.defineProperty(exports, '__esModule', { value: true });
42855
42860
 
42856
42861
 
42857
- __info__.version = '16.0.15';
42858
- __info__.date = '2023-07-26T12:11:24.020Z';
42859
- __info__.hash = '18da14b';
42862
+ __info__.version = '16.0.16';
42863
+ __info__.date = '2023-08-07T09:01:50.801Z';
42864
+ __info__.hash = '2b5ecd8';
42860
42865
 
42861
42866
 
42862
42867
  })(this.o_spreadsheet = this.o_spreadsheet || {}, owl);