@odoo/o-spreadsheet 18.2.11 → 18.2.12
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 +458 -41
- package/dist/o-spreadsheet.d.ts +280 -155
- package/dist/o-spreadsheet.esm.js +458 -41
- package/dist/o-spreadsheet.iife.js +458 -41
- package/dist/o-spreadsheet.iife.min.js +422 -386
- package/dist/o_spreadsheet.xml +60 -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.2.
|
|
5
|
-
@date 2025-05-
|
|
6
|
-
@hash
|
|
4
|
+
@version 18.2.12
|
|
5
|
+
@date 2025-05-13T17:53:05.639Z
|
|
6
|
+
@hash ba2ba9b
|
|
7
7
|
-->
|
|
8
8
|
<odoo>
|
|
9
9
|
<t t-name="o-spreadsheet-ValidationMessages">
|
|
@@ -868,7 +868,7 @@
|
|
|
868
868
|
fields="props.unusedGroupableFields"
|
|
869
869
|
/>
|
|
870
870
|
</div>
|
|
871
|
-
<t t-foreach="props.definition.columns" t-as="col" t-key="
|
|
871
|
+
<t t-foreach="props.definition.columns" t-as="col" t-key="col_index">
|
|
872
872
|
<div
|
|
873
873
|
t-on-pointerdown="(ev) => this.startDragAndDrop(col, ev)"
|
|
874
874
|
t-att-style="dragAndDrop.itemsStyle[col.nameWithGranularity]"
|
|
@@ -894,7 +894,7 @@
|
|
|
894
894
|
fields="props.unusedGroupableFields"
|
|
895
895
|
/>
|
|
896
896
|
</div>
|
|
897
|
-
<t t-foreach="props.definition.rows" t-as="row" t-key="
|
|
897
|
+
<t t-foreach="props.definition.rows" t-as="row" t-key="row_index">
|
|
898
898
|
<div
|
|
899
899
|
t-on-pointerdown="(ev) => this.startDragAndDrop(row, ev)"
|
|
900
900
|
t-att-style="dragAndDrop.itemsStyle[row.nameWithGranularity]"
|
|
@@ -3609,6 +3609,55 @@
|
|
|
3609
3609
|
</t>
|
|
3610
3610
|
</t>
|
|
3611
3611
|
|
|
3612
|
+
<t t-name="o_spreadsheet.PivotHTMLRenderer">
|
|
3613
|
+
<div class="o_pivot_html_renderer">
|
|
3614
|
+
<Checkbox
|
|
3615
|
+
name="'missing_values'"
|
|
3616
|
+
label.translate="Display missing cells only"
|
|
3617
|
+
value="state.showMissingValuesOnly"
|
|
3618
|
+
onChange.bind="(value) => this.state.showMissingValuesOnly = value"
|
|
3619
|
+
className="'m-2'"
|
|
3620
|
+
/>
|
|
3621
|
+
<t t-set="tableData" t-value="getTableData()"/>
|
|
3622
|
+
<table
|
|
3623
|
+
class="o_pivot_html_renderer"
|
|
3624
|
+
t-if="tableData.values.length > 0 or tableData.rows.length > 0">
|
|
3625
|
+
<tr t-foreach="tableData.columns" t-as="row" t-key="row_index">
|
|
3626
|
+
<t t-if="row_index === 0">
|
|
3627
|
+
<th t-att-rowspan="tableData.columns.length"/>
|
|
3628
|
+
</t>
|
|
3629
|
+
<t t-foreach="row" t-as="cell" t-key="cell_index">
|
|
3630
|
+
<th
|
|
3631
|
+
t-att-colspan="cell.span"
|
|
3632
|
+
t-att-style="cell.style"
|
|
3633
|
+
t-att-class="{ o_missing_value: cell.isMissing }"
|
|
3634
|
+
t-on-click="() => props.onCellClicked(cell.formula)">
|
|
3635
|
+
<t t-esc="cell.value"/>
|
|
3636
|
+
</th>
|
|
3637
|
+
</t>
|
|
3638
|
+
</tr>
|
|
3639
|
+
<t t-foreach="tableData.rows" t-as="row" t-key="row_index">
|
|
3640
|
+
<tr>
|
|
3641
|
+
<th
|
|
3642
|
+
t-att-style="row.style"
|
|
3643
|
+
t-att-class="{ o_missing_value: row.isMissing }"
|
|
3644
|
+
t-on-click="() => props.onCellClicked(row.formula)">
|
|
3645
|
+
<t t-esc="row.value"/>
|
|
3646
|
+
</th>
|
|
3647
|
+
<t t-foreach="tableData.values" t-as="col" t-key="col_index">
|
|
3648
|
+
<td
|
|
3649
|
+
t-att-class="{ o_missing_value: col[row_index].isMissing }"
|
|
3650
|
+
t-on-click="() => props.onCellClicked(col[row_index].formula)">
|
|
3651
|
+
<t t-esc="col[row_index].value"/>
|
|
3652
|
+
</td>
|
|
3653
|
+
</t>
|
|
3654
|
+
</tr>
|
|
3655
|
+
</t>
|
|
3656
|
+
</table>
|
|
3657
|
+
<div class="alert alert-info" t-else="1">This pivot has no cell missing on this sheet</div>
|
|
3658
|
+
</div>
|
|
3659
|
+
</t>
|
|
3660
|
+
|
|
3612
3661
|
<t t-name="o-spreadsheet-PaintFormatButton">
|
|
3613
3662
|
<span
|
|
3614
3663
|
class="o-menu-item-button"
|
|
@@ -5771,7 +5820,11 @@
|
|
|
5771
5820
|
<div
|
|
5772
5821
|
class="o-composer-assistant-container shadow position-absolute z-1"
|
|
5773
5822
|
t-att-style="assistantContainerStyle"
|
|
5774
|
-
t-if="props.focus !== 'inactive' and !assistant.forcedClosed and assistantIsAvailable"
|
|
5823
|
+
t-if="props.focus !== 'inactive' and !assistant.forcedClosed and assistantIsAvailable"
|
|
5824
|
+
t-on-wheel.stop=""
|
|
5825
|
+
t-on-pointerdown.prevent.stop=""
|
|
5826
|
+
t-on-pointerup.prevent.stop=""
|
|
5827
|
+
t-on-click.prevent.stop="">
|
|
5775
5828
|
<span
|
|
5776
5829
|
role="button"
|
|
5777
5830
|
t-on-click="closeAssistant"
|
|
@@ -5779,13 +5832,7 @@
|
|
|
5779
5832
|
<i class="fa fa-circle fa-stack-1x fa-inverse"/>
|
|
5780
5833
|
<i class="fa fa-times-circle fa-stack-1x text-muted"/>
|
|
5781
5834
|
</span>
|
|
5782
|
-
<div
|
|
5783
|
-
class="o-composer-assistant overflow-auto"
|
|
5784
|
-
t-att-style="assistantStyle"
|
|
5785
|
-
t-on-wheel.stop=""
|
|
5786
|
-
t-on-pointerdown.prevent.stop=""
|
|
5787
|
-
t-on-click.prevent.stop=""
|
|
5788
|
-
t-on-pointerup.prevent.stop="">
|
|
5835
|
+
<div class="o-composer-assistant overflow-auto" t-att-style="assistantStyle">
|
|
5789
5836
|
<FunctionDescriptionProvider
|
|
5790
5837
|
t-if="functionDescriptionState.showDescription"
|
|
5791
5838
|
functionName="functionDescriptionState.functionName"
|