@odoo/o-spreadsheet 18.1.29 → 18.1.31
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 +131 -59
- package/dist/o-spreadsheet.d.ts +5 -0
- package/dist/o-spreadsheet.esm.js +131 -59
- package/dist/o-spreadsheet.iife.js +131 -59
- package/dist/o-spreadsheet.iife.min.js +9 -9
- package/dist/o_spreadsheet.xml +11 -9
- 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.1.
|
|
5
|
-
@date 2025-
|
|
6
|
-
@hash
|
|
4
|
+
@version 18.1.31
|
|
5
|
+
@date 2025-08-04T06:52:52.261Z
|
|
6
|
+
@hash 4f581fb
|
|
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 ? '
|
|
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' : '
|
|
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
|
|
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">
|
|
@@ -4384,7 +4385,7 @@
|
|
|
4384
4385
|
</Section>
|
|
4385
4386
|
<Section class="'pt-1'">
|
|
4386
4387
|
<div class="o-sidePanelButtons">
|
|
4387
|
-
<button t-on-click="
|
|
4388
|
+
<button t-on-click="onCancel" class="o-button o-cf-cancel">Cancel</button>
|
|
4388
4389
|
<button
|
|
4389
4390
|
t-on-click="onSave"
|
|
4390
4391
|
class="o-button primary o-cf-save"
|
|
@@ -4728,8 +4729,9 @@
|
|
|
4728
4729
|
<t t-if="state.mode === 'edit'">
|
|
4729
4730
|
<ConditionalFormattingEditor
|
|
4730
4731
|
editedCf="editedCF"
|
|
4731
|
-
|
|
4732
|
+
onExit.bind="switchToList"
|
|
4732
4733
|
onCancel.bind="cancelEdition"
|
|
4734
|
+
isNewCf="originalEditedCf === undefined"
|
|
4733
4735
|
/>
|
|
4734
4736
|
</t>
|
|
4735
4737
|
</div>
|