@odoo/o-spreadsheet 15.0.18 → 15.0.19

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.
@@ -10719,6 +10719,9 @@ class FigurePlugin extends CorePlugin {
10719
10719
  this.figures[cmd.sheetId] = {};
10720
10720
  break;
10721
10721
  case "DELETE_SHEET":
10722
+ this.getters.getFigures(cmd.sheetId).forEach((figure) => {
10723
+ this.dispatch("DELETE_FIGURE", { id: figure.id, sheetId: cmd.sheetId });
10724
+ });
10722
10725
  this.deleteSheet(cmd.sheetId);
10723
10726
  break;
10724
10727
  case "CREATE_FIGURE":
@@ -31505,6 +31508,6 @@ exports.registries = registries;
31505
31508
  exports.setTranslationMethod = setTranslationMethod;
31506
31509
 
31507
31510
 
31508
- __info__.version = '15.0.18';
31509
- __info__.date = '2024-02-02T13:41:26.005Z';
31510
- __info__.hash = 'd1605d8';
31511
+ __info__.version = '15.0.19';
31512
+ __info__.date = '2024-03-15T10:55:52.497Z';
31513
+ __info__.hash = '277ed99';
@@ -10696,6 +10696,9 @@ class FigurePlugin extends CorePlugin {
10696
10696
  this.figures[cmd.sheetId] = {};
10697
10697
  break;
10698
10698
  case "DELETE_SHEET":
10699
+ this.getters.getFigures(cmd.sheetId).forEach((figure) => {
10700
+ this.dispatch("DELETE_FIGURE", { id: figure.id, sheetId: cmd.sheetId });
10701
+ });
10699
10702
  this.deleteSheet(cmd.sheetId);
10700
10703
  break;
10701
10704
  case "CREATE_FIGURE":
@@ -31460,6 +31463,6 @@ const helpers = {
31460
31463
  export { CommandResult, CorePlugin, DATETIME_FORMAT, DataSource, DispatchResult, Model, Revision, SPREADSHEET_DIMENSIONS, Spreadsheet, UIPlugin, DEBUG as __DEBUG__, __info__, astToFormula, cellTypes, convertAstNodes, coreTypes, functionCache, helpers, invalidateEvaluationCommands, normalize, parse, readonlyAllowedCommands, registries, setTranslationMethod };
31461
31464
 
31462
31465
 
31463
- __info__.version = '15.0.18';
31464
- __info__.date = '2024-02-02T13:41:26.005Z';
31465
- __info__.hash = 'd1605d8';
31466
+ __info__.version = '15.0.19';
31467
+ __info__.date = '2024-03-15T10:55:52.497Z';
31468
+ __info__.hash = '277ed99';
@@ -10716,6 +10716,9 @@
10716
10716
  this.figures[cmd.sheetId] = {};
10717
10717
  break;
10718
10718
  case "DELETE_SHEET":
10719
+ this.getters.getFigures(cmd.sheetId).forEach((figure) => {
10720
+ this.dispatch("DELETE_FIGURE", { id: figure.id, sheetId: cmd.sheetId });
10721
+ });
10719
10722
  this.deleteSheet(cmd.sheetId);
10720
10723
  break;
10721
10724
  case "CREATE_FIGURE":
@@ -31504,9 +31507,9 @@
31504
31507
  Object.defineProperty(exports, '__esModule', { value: true });
31505
31508
 
31506
31509
 
31507
- __info__.version = '15.0.18';
31508
- __info__.date = '2024-02-02T13:41:26.005Z';
31509
- __info__.hash = 'd1605d8';
31510
+ __info__.version = '15.0.19';
31511
+ __info__.date = '2024-03-15T10:55:52.497Z';
31512
+ __info__.hash = '277ed99';
31510
31513
 
31511
31514
 
31512
31515
  })(this.o_spreadsheet = this.o_spreadsheet || {}, owl);