@odoo/o-spreadsheet 18.0.18 → 18.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.
@@ -1,9 +1,9 @@
1
1
  <!--
2
2
  This file is generated by o-spreadsheet build tools. Do not edit it.
3
3
  @see https://github.com/odoo/o-spreadsheet
4
- @version 18.0.18
5
- @date 2025-03-07T10:39:31.594Z
6
- @hash 06c9bc5
4
+ @version 18.0.19
5
+ @date 2025-03-12T15:34:20.817Z
6
+ @hash d8dea1b
7
7
  -->
8
8
  <odoo>
9
9
  <t t-name="o-spreadsheet-ActionButton">
@@ -179,7 +179,11 @@
179
179
  </div>
180
180
  </Ripple>
181
181
  <Ripple>
182
- <div class="o-sheet-item o-list-sheets me-2 p-1" t-on-click="clickListSheets">
182
+ <div
183
+ class="o-sheet-item o-list-sheets me-2 p-1"
184
+ composerFocusableElement="true"
185
+ tabindex="-1"
186
+ t-on-click="clickListSheets">
183
187
  <t t-call="o-spreadsheet-Icon.LIST"/>
184
188
  </div>
185
189
  </Ripple>
@@ -274,14 +278,16 @@
274
278
  t-att-class="{'o-sheet-name-editable': state.isEditing }"
275
279
  t-ref="sheetNameSpan"
276
280
  t-esc="sheetName"
277
- t-on-click="(ev) => this.onMouseEventSheetName(ev)"
278
281
  t-on-pointerdown="(ev) => this.onMouseEventSheetName(ev)"
279
282
  t-on-dblclick="() => this.onDblClick()"
280
283
  t-on-focusout="() => this.onFocusOut()"
281
284
  t-on-keydown="(ev) => this.onKeyDown(ev)"
282
285
  t-att-contenteditable="state.isEditing ? 'true': 'false'"
283
286
  />
284
- <span class="o-sheet-icon ms-1" t-on-click.stop="(ev) => this.onIconClick(ev)">
287
+ <span
288
+ class="o-sheet-icon ms-1"
289
+ tabindex="-1"
290
+ t-on-click.stop="(ev) => this.onIconClick(ev)">
285
291
  <t t-call="o-spreadsheet-Icon.CARET_DOWN"/>
286
292
  </span>
287
293
  <div
@@ -2510,6 +2516,7 @@
2510
2516
  t-att-style="menuStyle"
2511
2517
  t-on-scroll="onScroll"
2512
2518
  t-on-wheel.stop=""
2519
+ t-on-pointerdown.prevent=""
2513
2520
  t-on-click.stop=""
2514
2521
  t-on-mouseover="onMouseOverMainMenu"
2515
2522
  t-on-contextmenu.prevent="">
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@odoo/o-spreadsheet",
3
- "version": "18.0.18",
3
+ "version": "18.0.19",
4
4
  "description": "A spreadsheet component",
5
5
  "type": "module",
6
6
  "main": "dist/o-spreadsheet.cjs.js",