@odoo/o-spreadsheet 18.3.11 → 18.3.13

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.3.11
5
- @date 2025-06-27T09:13:57.516Z
6
- @hash 460d5d0
4
+ @version 18.3.13
5
+ @date 2025-07-28T13:40:08.358Z
6
+ @hash d30327c
7
7
  -->
8
8
  <odoo>
9
9
  <t t-name="o-spreadsheet-ValidationMessages">
@@ -6079,7 +6079,7 @@
6079
6079
  />
6080
6080
  <div class="d-flex flex-row position-relative">
6081
6081
  <span
6082
- t-if="props.focus !== 'inactive' and assistantIsAvailable and assistant.forcedClosed"
6082
+ t-if="props.focus !== 'inactive' and assistantIsAvailable and canBeToggled and assistant.forcedClosed"
6083
6083
  role="button"
6084
6084
  title="Show formula help"
6085
6085
  t-on-click="openAssistant"
@@ -6096,7 +6096,7 @@
6096
6096
  t-att-style="props.inputStyle"
6097
6097
  t-ref="o_composer"
6098
6098
  tabindex="1"
6099
- t-att-contenteditable="env.model.getters.isReadonly() ? 'false' : 'true'"
6099
+ t-att-contenteditable="env.model.getters.isReadonly() ? 'false' : 'plaintext-only'"
6100
6100
  t-att-placeHolder="props.placeholder"
6101
6101
  spellcheck="false"
6102
6102
  t-on-keydown="onKeydown"
@@ -6118,12 +6118,13 @@
6118
6118
  <div
6119
6119
  class="o-composer-assistant-container shadow position-absolute z-1"
6120
6120
  t-att-style="assistantContainerStyle"
6121
- t-if="props.focus !== 'inactive' and !assistant.forcedClosed and assistantIsAvailable"
6121
+ t-if="props.focus !== 'inactive' and assistantIsAvailable and !(canBeToggled and assistant.forcedClosed)"
6122
6122
  t-on-wheel.stop=""
6123
6123
  t-on-pointerdown.prevent.stop=""
6124
6124
  t-on-pointerup.prevent.stop=""
6125
6125
  t-on-click.prevent.stop="">
6126
6126
  <span
6127
+ t-if="canBeToggled and !assistant.forcedClosed"
6127
6128
  role="button"
6128
6129
  t-on-click="closeAssistant"
6129
6130
  class="fa-stack position-absolute top-0 start-100 translate-middle fs-4">
@@ -6444,7 +6445,7 @@
6444
6445
  t-on-dblclick="() => this.onDblClick()"
6445
6446
  t-on-focusout="() => this.onFocusOut()"
6446
6447
  t-on-keydown="(ev) => this.onKeyDown(ev)"
6447
- t-att-contenteditable="state.isEditing ? 'true': 'false'"
6448
+ t-att-contenteditable="state.isEditing ? 'plaintext-only': 'false'"
6448
6449
  />
6449
6450
  <span
6450
6451
  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.3.11",
3
+ "version": "18.3.13",
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": "^20.17.24",
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",