diff --git a/addons/spreadsheet/static/src/o_spreadsheet/o_spreadsheet.js b/addons/spreadsheet/static/src/o_spreadsheet/o_spreadsheet.js index e034a3d839e..d52bb7221d2 100644 --- a/addons/spreadsheet/static/src/o_spreadsheet/o_spreadsheet.js +++ b/addons/spreadsheet/static/src/o_spreadsheet/o_spreadsheet.js @@ -2831,6 +2831,7 @@ "SET_FORMULA_VISIBILITY", "OPEN_CELL_POPOVER", "CLOSE_CELL_POPOVER", + "UPDATE_FILTER", ]); const coreTypes = new Set([ /** CELLS */ @@ -20422,6 +20423,12 @@ target: this.env.model.getters.getSelectedZones(), }); }, + BACKSPACE: () => { + this.env.model.dispatch("DELETE_CONTENT", { + sheetId: this.env.model.getters.getActiveSheetId(), + target: this.env.model.getters.getSelectedZones(), + }); + }, "CTRL+A": () => this.env.model.selection.loopSelection(), "CTRL+S": () => { var _a, _b; @@ -31196,7 +31203,6 @@ } } HeaderVisibilityUIPlugin.getters = [ - "getNextVisibleCellPosition", "getNextVisibleCellPosition", "findVisibleHeader", "findLastVisibleColRowIndex", @@ -39828,6 +39834,9 @@ if (!(name in plugin)) { throw new Error(`Invalid getter name: ${name} for plugin ${plugin.constructor}`); } + if (name in this.getters) { + throw new Error(`Getter "${name}" is already defined.`); + } this.getters[name] = plugin[name].bind(plugin); } this.uiPlugins.push(plugin); @@ -39847,6 +39856,9 @@ if (!(name in plugin)) { throw new Error(`Invalid getter name: ${name} for plugin ${plugin.constructor}`); } + if (name in this.coreGetters) { + throw new Error(`Getter "${name}" is already defined.`); + } this.coreGetters[name] = plugin[name].bind(plugin); } plugin.import(data); @@ -40116,8 +40128,8 @@ Object.defineProperty(exports, '__esModule', { value: true }); exports.__info__.version = '2.0.0'; - exports.__info__.date = '2022-10-07T17:05:50.112Z'; - exports.__info__.hash = '3558537'; + exports.__info__.date = '2022-10-10T07:43:36.847Z'; + exports.__info__.hash = '1af8ad3'; })(this.o_spreadsheet = this.o_spreadsheet || {}, owl); //# sourceMappingURL=o_spreadsheet.js.map