@odoo/o-spreadsheet 18.5.0-alpha.2 → 18.5.0-alpha.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 +386 -143
- package/dist/o-spreadsheet.d.ts +333 -162
- package/dist/o-spreadsheet.esm.js +386 -143
- package/dist/o-spreadsheet.iife.js +386 -143
- package/dist/o-spreadsheet.iife.min.js +453 -398
- package/dist/o_spreadsheet.xml +17 -14
- 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.4
|
|
5
|
+
@date 2025-07-30T11:24:09.087Z
|
|
6
|
+
@hash 34a4ab3
|
|
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"
|
|
@@ -2682,7 +2683,7 @@
|
|
|
2682
2683
|
</Section>
|
|
2683
2684
|
<PieHoleSize
|
|
2684
2685
|
t-if="props.definition.isDoughnut"
|
|
2685
|
-
value="props.definition.pieHolePercentage ??
|
|
2686
|
+
value="props.definition.pieHolePercentage ?? this.defaultHoleSize"
|
|
2686
2687
|
onValueChange.bind="onPieHoleSizeChange"
|
|
2687
2688
|
/>
|
|
2688
2689
|
</t>
|
|
@@ -6114,7 +6115,7 @@
|
|
|
6114
6115
|
<canvas class="o-figure-canvas o-gauge-chart w-100 h-100 d-block" t-ref="chartContainer"/>
|
|
6115
6116
|
</t>
|
|
6116
6117
|
|
|
6117
|
-
<t t-name="spreadsheet
|
|
6118
|
+
<t t-name="o-spreadsheet-ChartDashboardMenu">
|
|
6118
6119
|
<div class="o-dashboard-chart-select position-absolute top-0 end-0" t-on-click.stop="">
|
|
6119
6120
|
<div class="d-flex flex-row px-1" t-att-style="backgroundColor">
|
|
6120
6121
|
<t t-foreach="getMenuItems()" t-as="item" t-key="item.id">
|
|
@@ -6323,13 +6324,14 @@
|
|
|
6323
6324
|
<t t-name="o-spreadsheet-Composer">
|
|
6324
6325
|
<div class="o-composer-container w-100 h-100">
|
|
6325
6326
|
<t t-set="autoCompleteProposals" t-value="props.composerStore.autoCompleteProposals"/>
|
|
6327
|
+
<t t-set="canBeToggled" t-value="props.composerStore.canBeToggled"/>
|
|
6326
6328
|
<t
|
|
6327
6329
|
t-set="assistantIsAvailable"
|
|
6328
6330
|
t-value="props.showAssistant and (autoCompleteProposals.length or functionDescriptionState.showDescription)"
|
|
6329
6331
|
/>
|
|
6330
6332
|
<div class="d-flex flex-row position-relative">
|
|
6331
6333
|
<span
|
|
6332
|
-
t-if="props.focus !== 'inactive' and assistantIsAvailable and assistant.forcedClosed"
|
|
6334
|
+
t-if="props.focus !== 'inactive' and assistantIsAvailable and canBeToggled and assistant.forcedClosed"
|
|
6333
6335
|
role="button"
|
|
6334
6336
|
title="Show formula help"
|
|
6335
6337
|
t-on-click="openAssistant"
|
|
@@ -6346,7 +6348,7 @@
|
|
|
6346
6348
|
t-att-style="props.inputStyle"
|
|
6347
6349
|
t-ref="o_composer"
|
|
6348
6350
|
tabindex="1"
|
|
6349
|
-
t-att-contenteditable="env.model.getters.isReadonly() ? 'false' : '
|
|
6351
|
+
t-att-contenteditable="env.model.getters.isReadonly() ? 'false' : 'plaintext-only'"
|
|
6350
6352
|
t-att-placeHolder="props.placeholder"
|
|
6351
6353
|
t-att-inputmode="props.inputMode"
|
|
6352
6354
|
spellcheck="false"
|
|
@@ -6369,12 +6371,13 @@
|
|
|
6369
6371
|
<div
|
|
6370
6372
|
class="o-composer-assistant-container shadow position-absolute z-1"
|
|
6371
6373
|
t-att-style="assistantContainerStyle"
|
|
6372
|
-
t-if="props.focus !== 'inactive' and !assistant.forcedClosed
|
|
6374
|
+
t-if="props.focus !== 'inactive' and assistantIsAvailable and !(canBeToggled and assistant.forcedClosed)"
|
|
6373
6375
|
t-on-wheel.stop=""
|
|
6374
6376
|
t-on-pointerdown.prevent.stop=""
|
|
6375
6377
|
t-on-pointerup.prevent.stop=""
|
|
6376
6378
|
t-on-click.prevent.stop="">
|
|
6377
6379
|
<span
|
|
6380
|
+
t-if="canBeToggled and !assistant.forcedClosed"
|
|
6378
6381
|
role="button"
|
|
6379
6382
|
t-on-click="closeAssistant"
|
|
6380
6383
|
class="fa-stack position-absolute top-0 start-100 translate-middle fs-4">
|
|
@@ -6695,7 +6698,7 @@
|
|
|
6695
6698
|
t-on-dblclick="() => this.onDblClick()"
|
|
6696
6699
|
t-on-focusout="() => this.onFocusOut()"
|
|
6697
6700
|
t-on-keydown="(ev) => this.onKeyDown(ev)"
|
|
6698
|
-
t-att-contenteditable="state.isEditing ? '
|
|
6701
|
+
t-att-contenteditable="state.isEditing ? 'plaintext-only': 'false'"
|
|
6699
6702
|
/>
|
|
6700
6703
|
<span
|
|
6701
6704
|
class="o-sheet-icon ms-1"
|