@odoo/o-spreadsheet 17.0.78 → 17.0.79

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.0.78
6
- * @date 2025-11-24T07:39:26.523Z
7
- * @hash 498c3fc
5
+ * @version 17.0.79
6
+ * @date 2025-12-02T05:30:46.853Z
7
+ * @hash ab9f15e
8
8
  */
9
9
 
10
10
  'use strict';
@@ -28777,6 +28777,7 @@ class GridOverlay extends owl.Component {
28777
28777
  // not main button, probably a context menu
28778
28778
  return;
28779
28779
  }
28780
+ ev.preventDefault();
28780
28781
  const [col, row] = this.getCartesianCoordinates(ev);
28781
28782
  this.props.onCellClicked(col, row, {
28782
28783
  expandZone: ev.shiftKey,
@@ -49588,7 +49589,9 @@ class EditionPlugin extends UIPlugin {
49588
49589
  case "CHANGE_COMPOSER_CURSOR_SELECTION":
49589
49590
  this.selectionStart = cmd.start;
49590
49591
  this.selectionEnd = cmd.end;
49591
- this.mode = "editing";
49592
+ if (this.isSelectingForComposer()) {
49593
+ this.mode = "editing";
49594
+ }
49592
49595
  break;
49593
49596
  case "STOP_COMPOSER_RANGE_SELECTION":
49594
49597
  if (this.isSelectingForComposer()) {
@@ -58517,6 +58520,6 @@ exports.setTranslationMethod = setTranslationMethod;
58517
58520
  exports.tokenize = tokenize;
58518
58521
 
58519
58522
 
58520
- __info__.version = "17.0.78";
58521
- __info__.date = "2025-11-24T07:39:26.523Z";
58522
- __info__.hash = "498c3fc";
58523
+ __info__.version = "17.0.79";
58524
+ __info__.date = "2025-12-02T05:30:46.853Z";
58525
+ __info__.hash = "ab9f15e";
@@ -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.0.78
6
- * @date 2025-11-24T07:39:26.523Z
7
- * @hash 498c3fc
5
+ * @version 17.0.79
6
+ * @date 2025-12-02T05:30:46.853Z
7
+ * @hash ab9f15e
8
8
  */
9
9
 
10
10
  import { Component, useRef, onMounted, useEffect, onWillPatch, useState, onWillUpdateProps, onPatched, useComponent, useExternalListener, onWillUnmount, onWillStart, xml, useChildSubEnv, useSubEnv, markRaw } from '@odoo/owl';
@@ -28775,6 +28775,7 @@ class GridOverlay extends Component {
28775
28775
  // not main button, probably a context menu
28776
28776
  return;
28777
28777
  }
28778
+ ev.preventDefault();
28778
28779
  const [col, row] = this.getCartesianCoordinates(ev);
28779
28780
  this.props.onCellClicked(col, row, {
28780
28781
  expandZone: ev.shiftKey,
@@ -49586,7 +49587,9 @@ class EditionPlugin extends UIPlugin {
49586
49587
  case "CHANGE_COMPOSER_CURSOR_SELECTION":
49587
49588
  this.selectionStart = cmd.start;
49588
49589
  this.selectionEnd = cmd.end;
49589
- this.mode = "editing";
49590
+ if (this.isSelectingForComposer()) {
49591
+ this.mode = "editing";
49592
+ }
49590
49593
  break;
49591
49594
  case "STOP_COMPOSER_RANGE_SELECTION":
49592
49595
  if (this.isSelectingForComposer()) {
@@ -58480,6 +58483,6 @@ const constants = {
58480
58483
  export { AbstractChart, 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 };
58481
58484
 
58482
58485
 
58483
- __info__.version = "17.0.78";
58484
- __info__.date = "2025-11-24T07:39:26.523Z";
58485
- __info__.hash = "498c3fc";
58486
+ __info__.version = "17.0.79";
58487
+ __info__.date = "2025-12-02T05:30:46.853Z";
58488
+ __info__.hash = "ab9f15e";
@@ -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.0.78
6
- * @date 2025-11-24T07:39:26.523Z
7
- * @hash 498c3fc
5
+ * @version 17.0.79
6
+ * @date 2025-12-02T05:30:46.853Z
7
+ * @hash ab9f15e
8
8
  */
9
9
 
10
10
  (function (exports, owl) {
@@ -28776,6 +28776,7 @@
28776
28776
  // not main button, probably a context menu
28777
28777
  return;
28778
28778
  }
28779
+ ev.preventDefault();
28779
28780
  const [col, row] = this.getCartesianCoordinates(ev);
28780
28781
  this.props.onCellClicked(col, row, {
28781
28782
  expandZone: ev.shiftKey,
@@ -49587,7 +49588,9 @@
49587
49588
  case "CHANGE_COMPOSER_CURSOR_SELECTION":
49588
49589
  this.selectionStart = cmd.start;
49589
49590
  this.selectionEnd = cmd.end;
49590
- this.mode = "editing";
49591
+ if (this.isSelectingForComposer()) {
49592
+ this.mode = "editing";
49593
+ }
49591
49594
  break;
49592
49595
  case "STOP_COMPOSER_RANGE_SELECTION":
49593
49596
  if (this.isSelectingForComposer()) {
@@ -58516,9 +58519,9 @@
58516
58519
  exports.tokenize = tokenize;
58517
58520
 
58518
58521
 
58519
- __info__.version = "17.0.78";
58520
- __info__.date = "2025-11-24T07:39:26.523Z";
58521
- __info__.hash = "498c3fc";
58522
+ __info__.version = "17.0.79";
58523
+ __info__.date = "2025-12-02T05:30:46.853Z";
58524
+ __info__.hash = "ab9f15e";
58522
58525
 
58523
58526
 
58524
58527
  })(this.o_spreadsheet = this.o_spreadsheet || {}, owl);