@odoo/o-spreadsheet 18.4.2 → 18.4.4
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 +119 -53
- package/dist/o-spreadsheet.d.ts +8 -1
- package/dist/o-spreadsheet.esm.js +119 -53
- package/dist/o-spreadsheet.iife.js +119 -53
- package/dist/o-spreadsheet.iife.min.js +9 -9
- package/dist/o_spreadsheet.xml +15 -12
- 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-07-
|
|
6
|
-
@hash
|
|
4
|
+
@version 18.4.4
|
|
5
|
+
@date 2025-07-30T11:20:58.587Z
|
|
6
|
+
@hash b14de14
|
|
7
7
|
-->
|
|
8
8
|
<odoo>
|
|
9
9
|
<t t-name="o-spreadsheet-ValidationMessages">
|
|
@@ -1543,11 +1543,11 @@
|
|
|
1543
1543
|
<div class="o-dv-list-values p-1 d-flex align-items-center">
|
|
1544
1544
|
<div class="me-2">
|
|
1545
1545
|
<RoundColorPicker
|
|
1546
|
-
currentColor="props.criterion.colors?.[value] || '#E7E9ED'"
|
|
1547
|
-
onColorPicked="(c) => this.onColorChanged(c, value)"
|
|
1546
|
+
currentColor="props.criterion.colors?.[value.value] || '#E7E9ED'"
|
|
1547
|
+
onColorPicked="(c) => this.onColorChanged(c, value.value)"
|
|
1548
1548
|
/>
|
|
1549
1549
|
</div>
|
|
1550
|
-
<input type="text" class="o-input" t-att-value="value" disabled="1"/>
|
|
1550
|
+
<input type="text" class="o-input" t-att-value="value.label" disabled="1"/>
|
|
1551
1551
|
</div>
|
|
1552
1552
|
</t>
|
|
1553
1553
|
|
|
@@ -1688,8 +1688,9 @@
|
|
|
1688
1688
|
<t t-if="state.mode === 'edit'">
|
|
1689
1689
|
<ConditionalFormattingEditor
|
|
1690
1690
|
editedCf="editedCF"
|
|
1691
|
-
|
|
1691
|
+
onExit.bind="switchToList"
|
|
1692
1692
|
onCancel.bind="cancelEdition"
|
|
1693
|
+
isNewCf="originalEditedCf === undefined"
|
|
1693
1694
|
/>
|
|
1694
1695
|
</t>
|
|
1695
1696
|
</div>
|
|
@@ -2053,7 +2054,7 @@
|
|
|
2053
2054
|
</Section>
|
|
2054
2055
|
<Section class="'pt-1'">
|
|
2055
2056
|
<div class="o-sidePanelButtons">
|
|
2056
|
-
<button t-on-click="
|
|
2057
|
+
<button t-on-click="onCancel" class="o-button o-cf-cancel">Cancel</button>
|
|
2057
2058
|
<button
|
|
2058
2059
|
t-on-click="onSave"
|
|
2059
2060
|
class="o-button primary o-cf-save"
|
|
@@ -6321,13 +6322,14 @@
|
|
|
6321
6322
|
<t t-name="o-spreadsheet-Composer">
|
|
6322
6323
|
<div class="o-composer-container w-100 h-100">
|
|
6323
6324
|
<t t-set="autoCompleteProposals" t-value="props.composerStore.autoCompleteProposals"/>
|
|
6325
|
+
<t t-set="canBeToggled" t-value="props.composerStore.canBeToggled"/>
|
|
6324
6326
|
<t
|
|
6325
6327
|
t-set="assistantIsAvailable"
|
|
6326
6328
|
t-value="props.showAssistant and (autoCompleteProposals.length or functionDescriptionState.showDescription)"
|
|
6327
6329
|
/>
|
|
6328
6330
|
<div class="d-flex flex-row position-relative">
|
|
6329
6331
|
<span
|
|
6330
|
-
t-if="props.focus !== 'inactive' and assistantIsAvailable and assistant.forcedClosed"
|
|
6332
|
+
t-if="props.focus !== 'inactive' and assistantIsAvailable and canBeToggled and assistant.forcedClosed"
|
|
6331
6333
|
role="button"
|
|
6332
6334
|
title="Show formula help"
|
|
6333
6335
|
t-on-click="openAssistant"
|
|
@@ -6344,7 +6346,7 @@
|
|
|
6344
6346
|
t-att-style="props.inputStyle"
|
|
6345
6347
|
t-ref="o_composer"
|
|
6346
6348
|
tabindex="1"
|
|
6347
|
-
t-att-contenteditable="env.model.getters.isReadonly() ? 'false' : '
|
|
6349
|
+
t-att-contenteditable="env.model.getters.isReadonly() ? 'false' : 'plaintext-only'"
|
|
6348
6350
|
t-att-placeHolder="props.placeholder"
|
|
6349
6351
|
t-att-inputmode="props.inputMode"
|
|
6350
6352
|
spellcheck="false"
|
|
@@ -6367,12 +6369,13 @@
|
|
|
6367
6369
|
<div
|
|
6368
6370
|
class="o-composer-assistant-container shadow position-absolute z-1"
|
|
6369
6371
|
t-att-style="assistantContainerStyle"
|
|
6370
|
-
t-if="props.focus !== 'inactive' and !assistant.forcedClosed
|
|
6372
|
+
t-if="props.focus !== 'inactive' and assistantIsAvailable and !(canBeToggled and assistant.forcedClosed)"
|
|
6371
6373
|
t-on-wheel.stop=""
|
|
6372
6374
|
t-on-pointerdown.prevent.stop=""
|
|
6373
6375
|
t-on-pointerup.prevent.stop=""
|
|
6374
6376
|
t-on-click.prevent.stop="">
|
|
6375
6377
|
<span
|
|
6378
|
+
t-if="canBeToggled and !assistant.forcedClosed"
|
|
6376
6379
|
role="button"
|
|
6377
6380
|
t-on-click="closeAssistant"
|
|
6378
6381
|
class="fa-stack position-absolute top-0 start-100 translate-middle fs-4">
|
|
@@ -6693,7 +6696,7 @@
|
|
|
6693
6696
|
t-on-dblclick="() => this.onDblClick()"
|
|
6694
6697
|
t-on-focusout="() => this.onFocusOut()"
|
|
6695
6698
|
t-on-keydown="(ev) => this.onKeyDown(ev)"
|
|
6696
|
-
t-att-contenteditable="state.isEditing ? '
|
|
6699
|
+
t-att-contenteditable="state.isEditing ? 'plaintext-only': 'false'"
|
|
6697
6700
|
/>
|
|
6698
6701
|
<span
|
|
6699
6702
|
class="o-sheet-icon ms-1"
|