@odoo/o-spreadsheet 19.1.29 → 19.1.30

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 19.1.29
6
- * @date 2026-07-23T07:39:45.650Z
7
- * @hash c880860
5
+ * @version 19.1.30
6
+ * @date 2026-07-30T06:53:53.625Z
7
+ * @hash b4f7ab8
8
8
  */
9
9
  :root {
10
10
  --os-gray-100: light-dark(#f9fafb, #1b1d26);
@@ -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 19.1.29
6
- * @date 2026-07-23T07:39:44.019Z
7
- * @hash c880860
5
+ * @version 19.1.30
6
+ * @date 2026-07-30T06:53:51.978Z
7
+ * @hash b4f7ab8
8
8
  */
9
9
 
10
10
  import { App, Component, blockDom, markRaw, onMounted, onPatched, onWillPatch, onWillStart, onWillUnmount, onWillUpdateProps, status, toRaw, useChildSubEnv, useComponent, useEffect, useEnv, useExternalListener, useRef, useState, useSubEnv, whenReady, xml } from "@odoo/owl";
@@ -65425,7 +65425,7 @@ var SheetUIPlugin = class extends UIPlugin {
65425
65425
  if (contentWidth === 0) return 0;
65426
65426
  contentWidth += 2 * 4;
65427
65427
  if (style.wrapping === "wrap") {
65428
- const colWidth = this.getters.getColSize(this.getters.getActiveSheetId(), position.col);
65428
+ const colWidth = this.getters.getColSize(position.sheetId, position.col);
65429
65429
  return Math.min(colWidth, contentWidth);
65430
65430
  }
65431
65431
  return contentWidth;
@@ -70613,6 +70613,7 @@ var SpreadsheetDashboard = class extends Component {
70613
70613
  return toRaw(this.clickableCellsStore.clickableCells);
70614
70614
  }
70615
70615
  selectClickableCell(ev, clickableCell) {
70616
+ if (![0, 1].includes(ev.button)) return;
70616
70617
  const { position, action } = clickableCell;
70617
70618
  action(position, this.env, isMiddleClickOrCtrlClick(ev));
70618
70619
  }
@@ -79118,6 +79119,6 @@ const chartHelpers = {
79118
79119
  //#endregion
79119
79120
  export { AbstractCellClipboardHandler, AbstractChart, AbstractFigureClipboardHandler, CellErrorType, ClientDisconnectedError, CommandResult, CorePlugin, CoreViewPlugin, DEFAULT_LOCALE, DEFAULT_LOCALES, DispatchResult, EvaluationError, LocalTransportService, Model, PivotRuntimeDefinition, Registry, Revision, SPREADSHEET_DIMENSIONS, Spreadsheet, SpreadsheetPivotTable, UIPlugin, __info__, addFunction, addRenderingLayer, astToFormula, categories, chartHelpers, components, constants, convertAstNodes, coreTypes, createAutocompleteArgumentsProvider, findCellInNewZone, functionCache, getCaretDownSvg, getCaretUpSvg, helpers, hooks, invalidateCFEvaluationCommands, invalidateChartEvaluationCommands, invalidateDependenciesCommands, invalidateEvaluationCommands, iterateAstNodes, links, load, parse, parseTokens, readonlyAllowedCommands, registries, setDefaultSheetViewSize, setTranslationMethod, stores, tokenColors, tokenize };
79120
79121
 
79121
- __info__.version = "19.1.29";
79122
- __info__.date = "2026-07-23T07:39:44.019Z";
79123
- __info__.hash = "c880860";
79122
+ __info__.version = "19.1.30";
79123
+ __info__.date = "2026-07-30T06:53:51.978Z";
79124
+ __info__.hash = "b4f7ab8";
@@ -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 19.1.29
6
- * @date 2026-07-23T07:39:44.019Z
7
- * @hash c880860
5
+ * @version 19.1.30
6
+ * @date 2026-07-30T06:53:51.978Z
7
+ * @hash b4f7ab8
8
8
  */
9
9
 
10
10
  (function(exports, _odoo_owl) {
@@ -65427,7 +65427,7 @@ stores.inject(MyMetaStore, storeInstance);
65427
65427
  if (contentWidth === 0) return 0;
65428
65428
  contentWidth += 2 * 4;
65429
65429
  if (style.wrapping === "wrap") {
65430
- const colWidth = this.getters.getColSize(this.getters.getActiveSheetId(), position.col);
65430
+ const colWidth = this.getters.getColSize(position.sheetId, position.col);
65431
65431
  return Math.min(colWidth, contentWidth);
65432
65432
  }
65433
65433
  return contentWidth;
@@ -70615,6 +70615,7 @@ stores.inject(MyMetaStore, storeInstance);
70615
70615
  return (0, _odoo_owl.toRaw)(this.clickableCellsStore.clickableCells);
70616
70616
  }
70617
70617
  selectClickableCell(ev, clickableCell) {
70618
+ if (![0, 1].includes(ev.button)) return;
70618
70619
  const { position, action } = clickableCell;
70619
70620
  action(position, this.env, isMiddleClickOrCtrlClick(ev));
70620
70621
  }
@@ -79173,8 +79174,8 @@ exports.stores = stores;
79173
79174
  exports.tokenColors = tokenColors;
79174
79175
  exports.tokenize = tokenize;
79175
79176
 
79176
- __info__.version = "19.1.29";
79177
- __info__.date = "2026-07-23T07:39:44.019Z";
79178
- __info__.hash = "c880860";
79177
+ __info__.version = "19.1.30";
79178
+ __info__.date = "2026-07-30T06:53:51.978Z";
79179
+ __info__.hash = "b4f7ab8";
79179
79180
 
79180
79181
  })(this.o_spreadsheet = this.o_spreadsheet || {}, owl);