@odoo/o-spreadsheet 18.4.1 → 18.4.3
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.
- package/dist/o-spreadsheet.cjs.js +207 -85
- package/dist/o-spreadsheet.d.ts +40 -2
- package/dist/o-spreadsheet.esm.js +207 -85
- package/dist/o-spreadsheet.iife.js +207 -85
- package/dist/o-spreadsheet.iife.min.js +391 -391
- package/dist/o_spreadsheet.xml +9 -7
- package/package.json +1 -1
package/dist/o_spreadsheet.xml
CHANGED
|
@@ -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.4.
|
|
5
|
-
@date 2025-
|
|
6
|
-
@hash
|
|
4
|
+
@version 18.4.3
|
|
5
|
+
@date 2025-07-28T13:39:54.033Z
|
|
6
|
+
@hash 4b596d7
|
|
7
7
|
-->
|
|
8
8
|
<odoo>
|
|
9
9
|
<t t-name="o-spreadsheet-ValidationMessages">
|
|
@@ -6321,13 +6321,14 @@
|
|
|
6321
6321
|
<t t-name="o-spreadsheet-Composer">
|
|
6322
6322
|
<div class="o-composer-container w-100 h-100">
|
|
6323
6323
|
<t t-set="autoCompleteProposals" t-value="props.composerStore.autoCompleteProposals"/>
|
|
6324
|
+
<t t-set="canBeToggled" t-value="props.composerStore.canBeToggled"/>
|
|
6324
6325
|
<t
|
|
6325
6326
|
t-set="assistantIsAvailable"
|
|
6326
6327
|
t-value="props.showAssistant and (autoCompleteProposals.length or functionDescriptionState.showDescription)"
|
|
6327
6328
|
/>
|
|
6328
6329
|
<div class="d-flex flex-row position-relative">
|
|
6329
6330
|
<span
|
|
6330
|
-
t-if="props.focus !== 'inactive' and assistantIsAvailable and assistant.forcedClosed"
|
|
6331
|
+
t-if="props.focus !== 'inactive' and assistantIsAvailable and canBeToggled and assistant.forcedClosed"
|
|
6331
6332
|
role="button"
|
|
6332
6333
|
title="Show formula help"
|
|
6333
6334
|
t-on-click="openAssistant"
|
|
@@ -6344,7 +6345,7 @@
|
|
|
6344
6345
|
t-att-style="props.inputStyle"
|
|
6345
6346
|
t-ref="o_composer"
|
|
6346
6347
|
tabindex="1"
|
|
6347
|
-
t-att-contenteditable="env.model.getters.isReadonly() ? 'false' : '
|
|
6348
|
+
t-att-contenteditable="env.model.getters.isReadonly() ? 'false' : 'plaintext-only'"
|
|
6348
6349
|
t-att-placeHolder="props.placeholder"
|
|
6349
6350
|
t-att-inputmode="props.inputMode"
|
|
6350
6351
|
spellcheck="false"
|
|
@@ -6367,12 +6368,13 @@
|
|
|
6367
6368
|
<div
|
|
6368
6369
|
class="o-composer-assistant-container shadow position-absolute z-1"
|
|
6369
6370
|
t-att-style="assistantContainerStyle"
|
|
6370
|
-
t-if="props.focus !== 'inactive' and !assistant.forcedClosed
|
|
6371
|
+
t-if="props.focus !== 'inactive' and assistantIsAvailable and !(canBeToggled and assistant.forcedClosed)"
|
|
6371
6372
|
t-on-wheel.stop=""
|
|
6372
6373
|
t-on-pointerdown.prevent.stop=""
|
|
6373
6374
|
t-on-pointerup.prevent.stop=""
|
|
6374
6375
|
t-on-click.prevent.stop="">
|
|
6375
6376
|
<span
|
|
6377
|
+
t-if="canBeToggled and !assistant.forcedClosed"
|
|
6376
6378
|
role="button"
|
|
6377
6379
|
t-on-click="closeAssistant"
|
|
6378
6380
|
class="fa-stack position-absolute top-0 start-100 translate-middle fs-4">
|
|
@@ -6693,7 +6695,7 @@
|
|
|
6693
6695
|
t-on-dblclick="() => this.onDblClick()"
|
|
6694
6696
|
t-on-focusout="() => this.onFocusOut()"
|
|
6695
6697
|
t-on-keydown="(ev) => this.onKeyDown(ev)"
|
|
6696
|
-
t-att-contenteditable="state.isEditing ? '
|
|
6698
|
+
t-att-contenteditable="state.isEditing ? 'plaintext-only': 'false'"
|
|
6697
6699
|
/>
|
|
6698
6700
|
<span
|
|
6699
6701
|
class="o-sheet-icon ms-1"
|