@odoo/o-spreadsheet 18.2.20 → 18.2.22

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.2.20
5
- @date 2025-06-27T09:12:38.503Z
6
- @hash 16dfc38
4
+ @version 18.2.22
5
+ @date 2025-07-28T13:38:12.003Z
6
+ @hash 0e414b1
7
7
  -->
8
8
  <odoo>
9
9
  <t t-name="o-spreadsheet-ValidationMessages">
@@ -5783,7 +5783,7 @@
5783
5783
  />
5784
5784
  <div class="d-flex flex-row position-relative">
5785
5785
  <span
5786
- t-if="props.focus !== 'inactive' and assistantIsAvailable and assistant.forcedClosed"
5786
+ t-if="props.focus !== 'inactive' and assistantIsAvailable and canBeToggled and assistant.forcedClosed"
5787
5787
  role="button"
5788
5788
  title="Show formula help"
5789
5789
  t-on-click="openAssistant"
@@ -5800,7 +5800,7 @@
5800
5800
  t-att-style="props.inputStyle"
5801
5801
  t-ref="o_composer"
5802
5802
  tabindex="1"
5803
- t-att-contenteditable="env.model.getters.isReadonly() ? 'false' : 'true'"
5803
+ t-att-contenteditable="env.model.getters.isReadonly() ? 'false' : 'plaintext-only'"
5804
5804
  t-att-placeHolder="props.placeholder"
5805
5805
  spellcheck="false"
5806
5806
  t-on-keydown="onKeydown"
@@ -5821,12 +5821,13 @@
5821
5821
  <div
5822
5822
  class="o-composer-assistant-container shadow position-absolute z-1"
5823
5823
  t-att-style="assistantContainerStyle"
5824
- t-if="props.focus !== 'inactive' and !assistant.forcedClosed and assistantIsAvailable"
5824
+ t-if="props.focus !== 'inactive' and assistantIsAvailable and !(canBeToggled and assistant.forcedClosed)"
5825
5825
  t-on-wheel.stop=""
5826
5826
  t-on-pointerdown.prevent.stop=""
5827
5827
  t-on-pointerup.prevent.stop=""
5828
5828
  t-on-click.prevent.stop="">
5829
5829
  <span
5830
+ t-if="canBeToggled and !assistant.forcedClosed"
5830
5831
  role="button"
5831
5832
  t-on-click="closeAssistant"
5832
5833
  class="fa-stack position-absolute top-0 start-100 translate-middle fs-4">
@@ -6141,7 +6142,7 @@
6141
6142
  t-on-dblclick="() => this.onDblClick()"
6142
6143
  t-on-focusout="() => this.onFocusOut()"
6143
6144
  t-on-keydown="(ev) => this.onKeyDown(ev)"
6144
- t-att-contenteditable="state.isEditing ? 'true': 'false'"
6145
+ t-att-contenteditable="state.isEditing ? 'plaintext-only': 'false'"
6145
6146
  />
6146
6147
  <span
6147
6148
  class="o-sheet-icon ms-1"
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@odoo/o-spreadsheet",
3
- "version": "18.2.20",
3
+ "version": "18.2.22",
4
4
  "description": "A spreadsheet component",
5
5
  "type": "module",
6
6
  "main": "dist/o-spreadsheet.cjs.js",
@@ -64,13 +64,11 @@
64
64
  "@types/jest": "^27.0.1",
65
65
  "@types/node": "^13.13.23",
66
66
  "@types/rbush": "^3.0.3",
67
- "babel-eslint": "^10.1.0",
68
67
  "body-parser": "^1.19.0",
69
68
  "chart.js": "4.4.5",
70
69
  "chartjs-adapter-luxon": "^1.3.1",
71
70
  "chartjs-chart-geo": "^4.3.2",
72
71
  "cors": "^2.8.5",
73
- "eslint": "^6.8.0",
74
72
  "express": "^4.17.1",
75
73
  "express-form-data": "^2.0.19",
76
74
  "express-ws": "^4.0.0",