@odoo/o-spreadsheet 18.5.0-alpha.2 → 18.5.0-alpha.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 +290 -88
- package/dist/o-spreadsheet.d.ts +21 -4
- package/dist/o-spreadsheet.esm.js +290 -88
- package/dist/o-spreadsheet.iife.js +290 -88
- package/dist/o-spreadsheet.iife.min.js +443 -388
- package/dist/o_spreadsheet.xml +10 -8
- 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.5.0-alpha.
|
|
5
|
-
@date 2025-07-
|
|
6
|
-
@hash
|
|
4
|
+
@version 18.5.0-alpha.3
|
|
5
|
+
@date 2025-07-28T13:43:55.612Z
|
|
6
|
+
@hash 53dfee8
|
|
7
7
|
-->
|
|
8
8
|
<odoo>
|
|
9
9
|
<t t-name="o-spreadsheet-ValidationMessages">
|
|
@@ -2682,7 +2682,7 @@
|
|
|
2682
2682
|
</Section>
|
|
2683
2683
|
<PieHoleSize
|
|
2684
2684
|
t-if="props.definition.isDoughnut"
|
|
2685
|
-
value="props.definition.pieHolePercentage ??
|
|
2685
|
+
value="props.definition.pieHolePercentage ?? this.defaultHoleSize"
|
|
2686
2686
|
onValueChange.bind="onPieHoleSizeChange"
|
|
2687
2687
|
/>
|
|
2688
2688
|
</t>
|
|
@@ -6323,13 +6323,14 @@
|
|
|
6323
6323
|
<t t-name="o-spreadsheet-Composer">
|
|
6324
6324
|
<div class="o-composer-container w-100 h-100">
|
|
6325
6325
|
<t t-set="autoCompleteProposals" t-value="props.composerStore.autoCompleteProposals"/>
|
|
6326
|
+
<t t-set="canBeToggled" t-value="props.composerStore.canBeToggled"/>
|
|
6326
6327
|
<t
|
|
6327
6328
|
t-set="assistantIsAvailable"
|
|
6328
6329
|
t-value="props.showAssistant and (autoCompleteProposals.length or functionDescriptionState.showDescription)"
|
|
6329
6330
|
/>
|
|
6330
6331
|
<div class="d-flex flex-row position-relative">
|
|
6331
6332
|
<span
|
|
6332
|
-
t-if="props.focus !== 'inactive' and assistantIsAvailable and assistant.forcedClosed"
|
|
6333
|
+
t-if="props.focus !== 'inactive' and assistantIsAvailable and canBeToggled and assistant.forcedClosed"
|
|
6333
6334
|
role="button"
|
|
6334
6335
|
title="Show formula help"
|
|
6335
6336
|
t-on-click="openAssistant"
|
|
@@ -6346,7 +6347,7 @@
|
|
|
6346
6347
|
t-att-style="props.inputStyle"
|
|
6347
6348
|
t-ref="o_composer"
|
|
6348
6349
|
tabindex="1"
|
|
6349
|
-
t-att-contenteditable="env.model.getters.isReadonly() ? 'false' : '
|
|
6350
|
+
t-att-contenteditable="env.model.getters.isReadonly() ? 'false' : 'plaintext-only'"
|
|
6350
6351
|
t-att-placeHolder="props.placeholder"
|
|
6351
6352
|
t-att-inputmode="props.inputMode"
|
|
6352
6353
|
spellcheck="false"
|
|
@@ -6369,12 +6370,13 @@
|
|
|
6369
6370
|
<div
|
|
6370
6371
|
class="o-composer-assistant-container shadow position-absolute z-1"
|
|
6371
6372
|
t-att-style="assistantContainerStyle"
|
|
6372
|
-
t-if="props.focus !== 'inactive' and !assistant.forcedClosed
|
|
6373
|
+
t-if="props.focus !== 'inactive' and assistantIsAvailable and !(canBeToggled and assistant.forcedClosed)"
|
|
6373
6374
|
t-on-wheel.stop=""
|
|
6374
6375
|
t-on-pointerdown.prevent.stop=""
|
|
6375
6376
|
t-on-pointerup.prevent.stop=""
|
|
6376
6377
|
t-on-click.prevent.stop="">
|
|
6377
6378
|
<span
|
|
6379
|
+
t-if="canBeToggled and !assistant.forcedClosed"
|
|
6378
6380
|
role="button"
|
|
6379
6381
|
t-on-click="closeAssistant"
|
|
6380
6382
|
class="fa-stack position-absolute top-0 start-100 translate-middle fs-4">
|
|
@@ -6695,7 +6697,7 @@
|
|
|
6695
6697
|
t-on-dblclick="() => this.onDblClick()"
|
|
6696
6698
|
t-on-focusout="() => this.onFocusOut()"
|
|
6697
6699
|
t-on-keydown="(ev) => this.onKeyDown(ev)"
|
|
6698
|
-
t-att-contenteditable="state.isEditing ? '
|
|
6700
|
+
t-att-contenteditable="state.isEditing ? 'plaintext-only': 'false'"
|
|
6699
6701
|
/>
|
|
6700
6702
|
<span
|
|
6701
6703
|
class="o-sheet-icon ms-1"
|