@odoo/o-spreadsheet 18.1.28 → 18.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.
@@ -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.1.28
5
- @date 2025-06-27T09:13:29.418Z
6
- @hash 25dd087
4
+ @version 18.1.30
5
+ @date 2025-07-28T13:38:10.750Z
6
+ @hash d42e484
7
7
  -->
8
8
  <odoo>
9
9
  <t t-name="o-spreadsheet-ActionButton">
@@ -282,7 +282,7 @@
282
282
  t-on-dblclick="() => this.onDblClick()"
283
283
  t-on-focusout="() => this.onFocusOut()"
284
284
  t-on-keydown="(ev) => this.onKeyDown(ev)"
285
- t-att-contenteditable="state.isEditing ? 'true': 'false'"
285
+ t-att-contenteditable="state.isEditing ? 'plaintext-only': 'false'"
286
286
  />
287
287
  <span
288
288
  class="o-sheet-icon ms-1"
@@ -480,7 +480,7 @@
480
480
  />
481
481
  <div class="d-flex flex-row position-relative">
482
482
  <span
483
- t-if="props.focus !== 'inactive' and assistantIsAvailable and assistant.forcedClosed"
483
+ t-if="props.focus !== 'inactive' and assistantIsAvailable and canBeToggled and assistant.forcedClosed"
484
484
  role="button"
485
485
  title="Show formula help"
486
486
  t-on-click="openAssistant"
@@ -497,7 +497,7 @@
497
497
  t-att-style="props.inputStyle"
498
498
  t-ref="o_composer"
499
499
  tabindex="1"
500
- t-att-contenteditable="env.model.getters.isReadonly() ? 'false' : 'true'"
500
+ t-att-contenteditable="env.model.getters.isReadonly() ? 'false' : 'plaintext-only'"
501
501
  t-att-placeHolder="props.placeholder"
502
502
  spellcheck="false"
503
503
  t-on-keydown="onKeydown"
@@ -518,12 +518,13 @@
518
518
  <div
519
519
  class="o-composer-assistant-container shadow position-absolute z-1"
520
520
  t-att-style="assistantContainerStyle"
521
- t-if="props.focus !== 'inactive' and !assistant.forcedClosed and assistantIsAvailable"
521
+ t-if="props.focus !== 'inactive' and assistantIsAvailable and !(canBeToggled and assistant.forcedClosed)"
522
522
  t-on-wheel.stop=""
523
523
  t-on-pointerdown.prevent.stop=""
524
524
  t-on-pointerup.prevent.stop=""
525
525
  t-on-click.prevent.stop="">
526
526
  <span
527
+ t-if="canBeToggled and !assistant.forcedClosed"
527
528
  role="button"
528
529
  t-on-click="closeAssistant"
529
530
  class="fa-stack position-absolute top-0 start-100 translate-middle fs-4">
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@odoo/o-spreadsheet",
3
- "version": "18.1.28",
3
+ "version": "18.1.30",
4
4
  "description": "A spreadsheet component",
5
5
  "type": "module",
6
6
  "main": "dist/o-spreadsheet.cjs.js",
@@ -63,13 +63,11 @@
63
63
  "@types/jest": "^27.0.1",
64
64
  "@types/node": "^13.13.23",
65
65
  "@types/rbush": "^3.0.3",
66
- "babel-eslint": "^10.1.0",
67
66
  "body-parser": "^1.19.0",
68
67
  "chart.js": "4.4.5",
69
68
  "chartjs-adapter-luxon": "^1.3.1",
70
69
  "chartjs-chart-geo": "^4.3.2",
71
70
  "cors": "^2.8.5",
72
- "eslint": "^6.8.0",
73
71
  "express": "^4.17.1",
74
72
  "express-form-data": "^2.0.19",
75
73
  "express-ws": "^4.0.0",