@odoo/o-spreadsheet 18.2.21 → 18.2.23
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 +134 -62
- package/dist/o-spreadsheet.d.ts +5 -0
- package/dist/o-spreadsheet.esm.js +134 -62
- package/dist/o-spreadsheet.iife.js +134 -62
- 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.2.
|
|
5
|
-
@date 2025-07-
|
|
6
|
-
@hash
|
|
4
|
+
@version 18.2.23
|
|
5
|
+
@date 2025-07-30T11:20:36.327Z
|
|
6
|
+
@hash 4419b30
|
|
7
7
|
-->
|
|
8
8
|
<odoo>
|
|
9
9
|
<t t-name="o-spreadsheet-ValidationMessages">
|
|
@@ -1559,8 +1559,9 @@
|
|
|
1559
1559
|
<t t-if="state.mode === 'edit'">
|
|
1560
1560
|
<ConditionalFormattingEditor
|
|
1561
1561
|
editedCf="editedCF"
|
|
1562
|
-
|
|
1562
|
+
onExit.bind="switchToList"
|
|
1563
1563
|
onCancel.bind="cancelEdition"
|
|
1564
|
+
isNewCf="originalEditedCf === undefined"
|
|
1564
1565
|
/>
|
|
1565
1566
|
</t>
|
|
1566
1567
|
</div>
|
|
@@ -1924,7 +1925,7 @@
|
|
|
1924
1925
|
</Section>
|
|
1925
1926
|
<Section class="'pt-1'">
|
|
1926
1927
|
<div class="o-sidePanelButtons">
|
|
1927
|
-
<button t-on-click="
|
|
1928
|
+
<button t-on-click="onCancel" class="o-button o-cf-cancel">Cancel</button>
|
|
1928
1929
|
<button
|
|
1929
1930
|
t-on-click="onSave"
|
|
1930
1931
|
class="o-button primary o-cf-save"
|
|
@@ -5783,7 +5784,7 @@
|
|
|
5783
5784
|
/>
|
|
5784
5785
|
<div class="d-flex flex-row position-relative">
|
|
5785
5786
|
<span
|
|
5786
|
-
t-if="props.focus !== 'inactive' and assistantIsAvailable and assistant.forcedClosed"
|
|
5787
|
+
t-if="props.focus !== 'inactive' and assistantIsAvailable and canBeToggled and assistant.forcedClosed"
|
|
5787
5788
|
role="button"
|
|
5788
5789
|
title="Show formula help"
|
|
5789
5790
|
t-on-click="openAssistant"
|
|
@@ -5800,7 +5801,7 @@
|
|
|
5800
5801
|
t-att-style="props.inputStyle"
|
|
5801
5802
|
t-ref="o_composer"
|
|
5802
5803
|
tabindex="1"
|
|
5803
|
-
t-att-contenteditable="env.model.getters.isReadonly() ? 'false' : '
|
|
5804
|
+
t-att-contenteditable="env.model.getters.isReadonly() ? 'false' : 'plaintext-only'"
|
|
5804
5805
|
t-att-placeHolder="props.placeholder"
|
|
5805
5806
|
spellcheck="false"
|
|
5806
5807
|
t-on-keydown="onKeydown"
|
|
@@ -5821,12 +5822,13 @@
|
|
|
5821
5822
|
<div
|
|
5822
5823
|
class="o-composer-assistant-container shadow position-absolute z-1"
|
|
5823
5824
|
t-att-style="assistantContainerStyle"
|
|
5824
|
-
t-if="props.focus !== 'inactive' and !assistant.forcedClosed
|
|
5825
|
+
t-if="props.focus !== 'inactive' and assistantIsAvailable and !(canBeToggled and assistant.forcedClosed)"
|
|
5825
5826
|
t-on-wheel.stop=""
|
|
5826
5827
|
t-on-pointerdown.prevent.stop=""
|
|
5827
5828
|
t-on-pointerup.prevent.stop=""
|
|
5828
5829
|
t-on-click.prevent.stop="">
|
|
5829
5830
|
<span
|
|
5831
|
+
t-if="canBeToggled and !assistant.forcedClosed"
|
|
5830
5832
|
role="button"
|
|
5831
5833
|
t-on-click="closeAssistant"
|
|
5832
5834
|
class="fa-stack position-absolute top-0 start-100 translate-middle fs-4">
|
|
@@ -6141,7 +6143,7 @@
|
|
|
6141
6143
|
t-on-dblclick="() => this.onDblClick()"
|
|
6142
6144
|
t-on-focusout="() => this.onFocusOut()"
|
|
6143
6145
|
t-on-keydown="(ev) => this.onKeyDown(ev)"
|
|
6144
|
-
t-att-contenteditable="state.isEditing ? '
|
|
6146
|
+
t-att-contenteditable="state.isEditing ? 'plaintext-only': 'false'"
|
|
6145
6147
|
/>
|
|
6146
6148
|
<span
|
|
6147
6149
|
class="o-sheet-icon ms-1"
|