@odoo/o-spreadsheet 18.3.2 → 18.3.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 +680 -228
- package/dist/o-spreadsheet.d.ts +315 -205
- package/dist/o-spreadsheet.esm.js +680 -228
- package/dist/o-spreadsheet.iife.js +680 -228
- package/dist/o-spreadsheet.iife.min.js +419 -383
- package/dist/o_spreadsheet.xml +61 -13
- 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.3.
|
|
5
|
-
@date 2025-05-
|
|
6
|
-
@hash
|
|
4
|
+
@version 18.3.4
|
|
5
|
+
@date 2025-05-20T05:57:51.042Z
|
|
6
|
+
@hash 28f4521
|
|
7
7
|
-->
|
|
8
8
|
<odoo>
|
|
9
9
|
<t t-name="o-spreadsheet-ValidationMessages">
|
|
@@ -849,7 +849,7 @@
|
|
|
849
849
|
fields="props.unusedGroupableFields"
|
|
850
850
|
/>
|
|
851
851
|
</div>
|
|
852
|
-
<t t-foreach="props.definition.columns" t-as="col" t-key="
|
|
852
|
+
<t t-foreach="props.definition.columns" t-as="col" t-key="col_index">
|
|
853
853
|
<div
|
|
854
854
|
t-on-pointerdown="(ev) => this.startDragAndDrop(col, ev)"
|
|
855
855
|
t-att-style="dragAndDrop.itemsStyle[col.nameWithGranularity]"
|
|
@@ -875,7 +875,7 @@
|
|
|
875
875
|
fields="props.unusedGroupableFields"
|
|
876
876
|
/>
|
|
877
877
|
</div>
|
|
878
|
-
<t t-foreach="props.definition.rows" t-as="row" t-key="
|
|
878
|
+
<t t-foreach="props.definition.rows" t-as="row" t-key="row_index">
|
|
879
879
|
<div
|
|
880
880
|
t-on-pointerdown="(ev) => this.startDragAndDrop(row, ev)"
|
|
881
881
|
t-att-style="dragAndDrop.itemsStyle[row.nameWithGranularity]"
|
|
@@ -971,6 +971,7 @@
|
|
|
971
971
|
defaultRangeSheetId="measure.computedBy.sheetId"
|
|
972
972
|
contextualAutocomplete="getMeasureAutocomplete()"
|
|
973
973
|
getContextualColoredSymbolToken.bind="getColoredSymbolToken"
|
|
974
|
+
invalid="isCalculatedMeasureInvalid"
|
|
974
975
|
/>
|
|
975
976
|
</div>
|
|
976
977
|
</div>
|
|
@@ -3871,6 +3872,55 @@
|
|
|
3871
3872
|
</t>
|
|
3872
3873
|
</t>
|
|
3873
3874
|
|
|
3875
|
+
<t t-name="o_spreadsheet.PivotHTMLRenderer">
|
|
3876
|
+
<div class="o_pivot_html_renderer">
|
|
3877
|
+
<Checkbox
|
|
3878
|
+
name="'missing_values'"
|
|
3879
|
+
label.translate="Display missing cells only"
|
|
3880
|
+
value="state.showMissingValuesOnly"
|
|
3881
|
+
onChange.bind="(value) => this.state.showMissingValuesOnly = value"
|
|
3882
|
+
className="'m-2'"
|
|
3883
|
+
/>
|
|
3884
|
+
<t t-set="tableData" t-value="getTableData()"/>
|
|
3885
|
+
<table
|
|
3886
|
+
class="o_pivot_html_renderer"
|
|
3887
|
+
t-if="tableData.values.length > 0 or tableData.rows.length > 0">
|
|
3888
|
+
<tr t-foreach="tableData.columns" t-as="row" t-key="row_index">
|
|
3889
|
+
<t t-if="row_index === 0">
|
|
3890
|
+
<th t-att-rowspan="tableData.columns.length"/>
|
|
3891
|
+
</t>
|
|
3892
|
+
<t t-foreach="row" t-as="cell" t-key="cell_index">
|
|
3893
|
+
<th
|
|
3894
|
+
t-att-colspan="cell.span"
|
|
3895
|
+
t-att-style="cell.style"
|
|
3896
|
+
t-att-class="{ o_missing_value: cell.isMissing }"
|
|
3897
|
+
t-on-click="() => props.onCellClicked(cell.formula)">
|
|
3898
|
+
<t t-esc="cell.value"/>
|
|
3899
|
+
</th>
|
|
3900
|
+
</t>
|
|
3901
|
+
</tr>
|
|
3902
|
+
<t t-foreach="tableData.rows" t-as="row" t-key="row_index">
|
|
3903
|
+
<tr>
|
|
3904
|
+
<th
|
|
3905
|
+
t-att-style="row.style"
|
|
3906
|
+
t-att-class="{ o_missing_value: row.isMissing }"
|
|
3907
|
+
t-on-click="() => props.onCellClicked(row.formula)">
|
|
3908
|
+
<t t-esc="row.value"/>
|
|
3909
|
+
</th>
|
|
3910
|
+
<t t-foreach="tableData.values" t-as="col" t-key="col_index">
|
|
3911
|
+
<td
|
|
3912
|
+
t-att-class="{ o_missing_value: col[row_index].isMissing }"
|
|
3913
|
+
t-on-click="() => props.onCellClicked(col[row_index].formula)">
|
|
3914
|
+
<t t-esc="col[row_index].value"/>
|
|
3915
|
+
</td>
|
|
3916
|
+
</t>
|
|
3917
|
+
</tr>
|
|
3918
|
+
</t>
|
|
3919
|
+
</table>
|
|
3920
|
+
<div class="alert alert-info" t-else="1">This pivot has no cell missing on this sheet</div>
|
|
3921
|
+
</div>
|
|
3922
|
+
</t>
|
|
3923
|
+
|
|
3874
3924
|
<t t-name="o-spreadsheet-PaintFormatButton">
|
|
3875
3925
|
<span
|
|
3876
3926
|
class="o-menu-item-button"
|
|
@@ -6068,7 +6118,11 @@
|
|
|
6068
6118
|
<div
|
|
6069
6119
|
class="o-composer-assistant-container shadow position-absolute z-1"
|
|
6070
6120
|
t-att-style="assistantContainerStyle"
|
|
6071
|
-
t-if="props.focus !== 'inactive' and !assistant.forcedClosed and assistantIsAvailable"
|
|
6121
|
+
t-if="props.focus !== 'inactive' and !assistant.forcedClosed and assistantIsAvailable"
|
|
6122
|
+
t-on-wheel.stop=""
|
|
6123
|
+
t-on-pointerdown.prevent.stop=""
|
|
6124
|
+
t-on-pointerup.prevent.stop=""
|
|
6125
|
+
t-on-click.prevent.stop="">
|
|
6072
6126
|
<span
|
|
6073
6127
|
role="button"
|
|
6074
6128
|
t-on-click="closeAssistant"
|
|
@@ -6076,13 +6130,7 @@
|
|
|
6076
6130
|
<i class="fa fa-circle fa-stack-1x fa-inverse"/>
|
|
6077
6131
|
<i class="fa fa-times-circle fa-stack-1x text-muted"/>
|
|
6078
6132
|
</span>
|
|
6079
|
-
<div
|
|
6080
|
-
class="o-composer-assistant overflow-auto"
|
|
6081
|
-
t-att-style="assistantStyle"
|
|
6082
|
-
t-on-wheel.stop=""
|
|
6083
|
-
t-on-pointerdown.prevent.stop=""
|
|
6084
|
-
t-on-click.prevent.stop=""
|
|
6085
|
-
t-on-pointerup.prevent.stop="">
|
|
6133
|
+
<div class="o-composer-assistant overflow-auto" t-att-style="assistantStyle">
|
|
6086
6134
|
<FunctionDescriptionProvider
|
|
6087
6135
|
t-if="functionDescriptionState.showDescription"
|
|
6088
6136
|
functionDescription="functionDescriptionState.functionDescription"
|