@odoo/o-spreadsheet 18.0.27 → 18.0.29
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 +608 -168
- package/dist/o-spreadsheet.d.ts +300 -174
- package/dist/o-spreadsheet.esm.js +608 -168
- package/dist/o-spreadsheet.iife.js +608 -168
- package/dist/o-spreadsheet.iife.min.js +405 -369
- 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.0.
|
|
5
|
-
@date 2025-05-
|
|
6
|
-
@hash
|
|
4
|
+
@version 18.0.29
|
|
5
|
+
@date 2025-05-20T05:55:49.538Z
|
|
6
|
+
@hash 8213c0e
|
|
7
7
|
-->
|
|
8
8
|
<odoo>
|
|
9
9
|
<t t-name="o-spreadsheet-ActionButton">
|
|
@@ -518,7 +518,11 @@
|
|
|
518
518
|
<div
|
|
519
519
|
class="o-composer-assistant-container shadow position-absolute z-1"
|
|
520
520
|
t-att-style="assistantContainerStyle"
|
|
521
|
-
t-if="props.focus !== 'inactive' and !assistant.forcedClosed and assistantIsAvailable"
|
|
521
|
+
t-if="props.focus !== 'inactive' and !assistant.forcedClosed and assistantIsAvailable"
|
|
522
|
+
t-on-wheel.stop=""
|
|
523
|
+
t-on-pointerdown.prevent.stop=""
|
|
524
|
+
t-on-pointerup.prevent.stop=""
|
|
525
|
+
t-on-click.prevent.stop="">
|
|
522
526
|
<span
|
|
523
527
|
role="button"
|
|
524
528
|
t-on-click="closeAssistant"
|
|
@@ -526,13 +530,7 @@
|
|
|
526
530
|
<i class="fa fa-circle fa-stack-1x fa-inverse"/>
|
|
527
531
|
<i class="fa fa-times-circle fa-stack-1x text-muted"/>
|
|
528
532
|
</span>
|
|
529
|
-
<div
|
|
530
|
-
class="o-composer-assistant overflow-auto"
|
|
531
|
-
t-att-style="assistantStyle"
|
|
532
|
-
t-on-wheel.stop=""
|
|
533
|
-
t-on-pointerdown.prevent.stop=""
|
|
534
|
-
t-on-click.prevent.stop=""
|
|
535
|
-
t-on-pointerup.prevent.stop="">
|
|
533
|
+
<div class="o-composer-assistant overflow-auto" t-att-style="assistantStyle">
|
|
536
534
|
<FunctionDescriptionProvider
|
|
537
535
|
t-if="functionDescriptionState.showDescription"
|
|
538
536
|
functionName="functionDescriptionState.functionName"
|
|
@@ -2606,6 +2604,55 @@
|
|
|
2606
2604
|
</span>
|
|
2607
2605
|
</t>
|
|
2608
2606
|
|
|
2607
|
+
<t t-name="o_spreadsheet.PivotHTMLRenderer">
|
|
2608
|
+
<div class="o_pivot_html_renderer">
|
|
2609
|
+
<Checkbox
|
|
2610
|
+
name="'missing_values'"
|
|
2611
|
+
label.translate="Display missing cells only"
|
|
2612
|
+
value="state.showMissingValuesOnly"
|
|
2613
|
+
onChange.bind="(value) => this.state.showMissingValuesOnly = value"
|
|
2614
|
+
className="'m-2'"
|
|
2615
|
+
/>
|
|
2616
|
+
<t t-set="tableData" t-value="getTableData()"/>
|
|
2617
|
+
<table
|
|
2618
|
+
class="o_pivot_html_renderer"
|
|
2619
|
+
t-if="tableData.values.length > 0 or tableData.rows.length > 0">
|
|
2620
|
+
<tr t-foreach="tableData.columns" t-as="row" t-key="row_index">
|
|
2621
|
+
<t t-if="row_index === 0">
|
|
2622
|
+
<th t-att-rowspan="tableData.columns.length"/>
|
|
2623
|
+
</t>
|
|
2624
|
+
<t t-foreach="row" t-as="cell" t-key="cell_index">
|
|
2625
|
+
<th
|
|
2626
|
+
t-att-colspan="cell.span"
|
|
2627
|
+
t-att-style="cell.style"
|
|
2628
|
+
t-att-class="{ o_missing_value: cell.isMissing }"
|
|
2629
|
+
t-on-click="() => props.onCellClicked(cell.formula)">
|
|
2630
|
+
<t t-esc="cell.value"/>
|
|
2631
|
+
</th>
|
|
2632
|
+
</t>
|
|
2633
|
+
</tr>
|
|
2634
|
+
<t t-foreach="tableData.rows" t-as="row" t-key="row_index">
|
|
2635
|
+
<tr>
|
|
2636
|
+
<th
|
|
2637
|
+
t-att-style="row.style"
|
|
2638
|
+
t-att-class="{ o_missing_value: row.isMissing }"
|
|
2639
|
+
t-on-click="() => props.onCellClicked(row.formula)">
|
|
2640
|
+
<t t-esc="row.value"/>
|
|
2641
|
+
</th>
|
|
2642
|
+
<t t-foreach="tableData.values" t-as="col" t-key="col_index">
|
|
2643
|
+
<td
|
|
2644
|
+
t-att-class="{ o_missing_value: col[row_index].isMissing }"
|
|
2645
|
+
t-on-click="() => props.onCellClicked(col[row_index].formula)">
|
|
2646
|
+
<t t-esc="col[row_index].value"/>
|
|
2647
|
+
</td>
|
|
2648
|
+
</t>
|
|
2649
|
+
</tr>
|
|
2650
|
+
</t>
|
|
2651
|
+
</table>
|
|
2652
|
+
<div class="alert alert-info" t-else="1">This pivot has no cell missing on this sheet</div>
|
|
2653
|
+
</div>
|
|
2654
|
+
</t>
|
|
2655
|
+
|
|
2609
2656
|
<t t-name="o-spreadsheet-Popover">
|
|
2610
2657
|
<t t-portal="'.o-spreadsheet'">
|
|
2611
2658
|
<div
|
|
@@ -5106,7 +5153,7 @@
|
|
|
5106
5153
|
fields="props.unusedGroupableFields"
|
|
5107
5154
|
/>
|
|
5108
5155
|
</div>
|
|
5109
|
-
<t t-foreach="props.definition.columns" t-as="col" t-key="
|
|
5156
|
+
<t t-foreach="props.definition.columns" t-as="col" t-key="col_index">
|
|
5110
5157
|
<div
|
|
5111
5158
|
t-on-pointerdown="(ev) => this.startDragAndDrop(col, ev)"
|
|
5112
5159
|
t-att-style="dragAndDrop.itemsStyle[col.nameWithGranularity]"
|
|
@@ -5132,7 +5179,7 @@
|
|
|
5132
5179
|
fields="props.unusedGroupableFields"
|
|
5133
5180
|
/>
|
|
5134
5181
|
</div>
|
|
5135
|
-
<t t-foreach="props.definition.rows" t-as="row" t-key="
|
|
5182
|
+
<t t-foreach="props.definition.rows" t-as="row" t-key="row_index">
|
|
5136
5183
|
<div
|
|
5137
5184
|
t-on-pointerdown="(ev) => this.startDragAndDrop(row, ev)"
|
|
5138
5185
|
t-att-style="dragAndDrop.itemsStyle[row.nameWithGranularity]"
|
|
@@ -5208,6 +5255,7 @@
|
|
|
5208
5255
|
composerContent="measure.computedBy.formula"
|
|
5209
5256
|
defaultRangeSheetId="measure.computedBy.sheetId"
|
|
5210
5257
|
contextualAutocomplete="getMeasureAutocomplete()"
|
|
5258
|
+
invalid="isCalculatedMeasureInvalid"
|
|
5211
5259
|
/>
|
|
5212
5260
|
</div>
|
|
5213
5261
|
</div>
|