@odoo/o-spreadsheet 19.1.28 → 19.1.29

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.28
6
- * @date 2026-07-20T11:03:22.820Z
7
- * @hash 704eb0e
5
+ * @version 19.1.29
6
+ * @date 2026-07-23T07:39:45.650Z
7
+ * @hash c880860
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.28
6
- * @date 2026-07-20T11:03:20.589Z
7
- * @hash 704eb0e
5
+ * @version 19.1.29
6
+ * @date 2026-07-23T07:39:44.019Z
7
+ * @hash c880860
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";
@@ -40804,7 +40804,8 @@ var Autofill = class extends Component {
40804
40804
  const { x, y } = this.state.handler ? this.state.position : this.props.position;
40805
40805
  return cssPropertiesToCss({
40806
40806
  top: `${y}px`,
40807
- left: `${x}px`
40807
+ left: `${x}px`,
40808
+ visibility: this.props.isVisible ? "visible" : "hidden"
40808
40809
  });
40809
40810
  }
40810
40811
  get styleNextValue() {
@@ -41225,7 +41226,7 @@ var CellComposerStore = class extends AbstractComposerStore {
41225
41226
  this._cancelEdition();
41226
41227
  this.resetContent();
41227
41228
  }
41228
- if (cmd.sheetIdFrom !== cmd.sheetIdTo) {
41229
+ if (this.model.selection.isListening(this) && cmd.sheetIdFrom !== cmd.sheetIdTo) {
41229
41230
  const activePosition = this.getters.getActivePosition();
41230
41231
  const { col, row } = this.getters.getNextVisibleCellPosition({
41231
41232
  sheetId: cmd.sheetIdTo,
@@ -64499,8 +64500,8 @@ var HeaderVisibilityUIPlugin = class extends UIPlugin {
64499
64500
  getNextVisibleCellPosition({ sheetId, col, row }) {
64500
64501
  return {
64501
64502
  sheetId,
64502
- col: this.findVisibleHeader(sheetId, "COL", col, this.getters.getNumberCols(sheetId) - 1),
64503
- row: this.findVisibleHeader(sheetId, "ROW", row, this.getters.getNumberRows(sheetId) - 1)
64503
+ col: this.findVisibleHeader(sheetId, "COL", col, this.getters.getNumberCols(sheetId) - 1) || this.findVisibleHeader(sheetId, "COL", col, 0) || 0,
64504
+ row: this.findVisibleHeader(sheetId, "ROW", row, this.getters.getNumberRows(sheetId) - 1) || this.findVisibleHeader(sheetId, "ROW", row, 0) || 0
64504
64505
  };
64505
64506
  }
64506
64507
  /**
@@ -79117,6 +79118,6 @@ const chartHelpers = {
79117
79118
  //#endregion
79118
79119
  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 };
79119
79120
 
79120
- __info__.version = "19.1.28";
79121
- __info__.date = "2026-07-20T11:03:20.589Z";
79122
- __info__.hash = "704eb0e";
79121
+ __info__.version = "19.1.29";
79122
+ __info__.date = "2026-07-23T07:39:44.019Z";
79123
+ __info__.hash = "c880860";
@@ -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.28
6
- * @date 2026-07-20T11:03:20.589Z
7
- * @hash 704eb0e
5
+ * @version 19.1.29
6
+ * @date 2026-07-23T07:39:44.019Z
7
+ * @hash c880860
8
8
  */
9
9
 
10
10
  (function(exports, _odoo_owl) {
@@ -40806,7 +40806,8 @@ stores.inject(MyMetaStore, storeInstance);
40806
40806
  const { x, y } = this.state.handler ? this.state.position : this.props.position;
40807
40807
  return cssPropertiesToCss({
40808
40808
  top: `${y}px`,
40809
- left: `${x}px`
40809
+ left: `${x}px`,
40810
+ visibility: this.props.isVisible ? "visible" : "hidden"
40810
40811
  });
40811
40812
  }
40812
40813
  get styleNextValue() {
@@ -41227,7 +41228,7 @@ stores.inject(MyMetaStore, storeInstance);
41227
41228
  this._cancelEdition();
41228
41229
  this.resetContent();
41229
41230
  }
41230
- if (cmd.sheetIdFrom !== cmd.sheetIdTo) {
41231
+ if (this.model.selection.isListening(this) && cmd.sheetIdFrom !== cmd.sheetIdTo) {
41231
41232
  const activePosition = this.getters.getActivePosition();
41232
41233
  const { col, row } = this.getters.getNextVisibleCellPosition({
41233
41234
  sheetId: cmd.sheetIdTo,
@@ -64501,8 +64502,8 @@ stores.inject(MyMetaStore, storeInstance);
64501
64502
  getNextVisibleCellPosition({ sheetId, col, row }) {
64502
64503
  return {
64503
64504
  sheetId,
64504
- col: this.findVisibleHeader(sheetId, "COL", col, this.getters.getNumberCols(sheetId) - 1),
64505
- row: this.findVisibleHeader(sheetId, "ROW", row, this.getters.getNumberRows(sheetId) - 1)
64505
+ col: this.findVisibleHeader(sheetId, "COL", col, this.getters.getNumberCols(sheetId) - 1) || this.findVisibleHeader(sheetId, "COL", col, 0) || 0,
64506
+ row: this.findVisibleHeader(sheetId, "ROW", row, this.getters.getNumberRows(sheetId) - 1) || this.findVisibleHeader(sheetId, "ROW", row, 0) || 0
64506
64507
  };
64507
64508
  }
64508
64509
  /**
@@ -79172,8 +79173,8 @@ exports.stores = stores;
79172
79173
  exports.tokenColors = tokenColors;
79173
79174
  exports.tokenize = tokenize;
79174
79175
 
79175
- __info__.version = "19.1.28";
79176
- __info__.date = "2026-07-20T11:03:20.589Z";
79177
- __info__.hash = "704eb0e";
79176
+ __info__.version = "19.1.29";
79177
+ __info__.date = "2026-07-23T07:39:44.019Z";
79178
+ __info__.hash = "c880860";
79178
79179
 
79179
79180
  })(this.o_spreadsheet = this.o_spreadsheet || {}, owl);