@odoo/o-spreadsheet 18.1.19 → 18.1.21
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 +610 -170
- package/dist/o-spreadsheet.d.ts +318 -192
- package/dist/o-spreadsheet.esm.js +610 -170
- package/dist/o-spreadsheet.iife.js +610 -170
- package/dist/o-spreadsheet.iife.min.js +423 -387
- 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.1.
|
|
5
|
-
@date 2025-05-
|
|
6
|
-
@hash
|
|
4
|
+
@version 18.1.21
|
|
5
|
+
@date 2025-05-20T05:55:28.176Z
|
|
6
|
+
@hash 89ed6a9
|
|
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"
|
|
@@ -2618,6 +2616,55 @@
|
|
|
2618
2616
|
</span>
|
|
2619
2617
|
</t>
|
|
2620
2618
|
|
|
2619
|
+
<t t-name="o_spreadsheet.PivotHTMLRenderer">
|
|
2620
|
+
<div class="o_pivot_html_renderer">
|
|
2621
|
+
<Checkbox
|
|
2622
|
+
name="'missing_values'"
|
|
2623
|
+
label.translate="Display missing cells only"
|
|
2624
|
+
value="state.showMissingValuesOnly"
|
|
2625
|
+
onChange.bind="(value) => this.state.showMissingValuesOnly = value"
|
|
2626
|
+
className="'m-2'"
|
|
2627
|
+
/>
|
|
2628
|
+
<t t-set="tableData" t-value="getTableData()"/>
|
|
2629
|
+
<table
|
|
2630
|
+
class="o_pivot_html_renderer"
|
|
2631
|
+
t-if="tableData.values.length > 0 or tableData.rows.length > 0">
|
|
2632
|
+
<tr t-foreach="tableData.columns" t-as="row" t-key="row_index">
|
|
2633
|
+
<t t-if="row_index === 0">
|
|
2634
|
+
<th t-att-rowspan="tableData.columns.length"/>
|
|
2635
|
+
</t>
|
|
2636
|
+
<t t-foreach="row" t-as="cell" t-key="cell_index">
|
|
2637
|
+
<th
|
|
2638
|
+
t-att-colspan="cell.span"
|
|
2639
|
+
t-att-style="cell.style"
|
|
2640
|
+
t-att-class="{ o_missing_value: cell.isMissing }"
|
|
2641
|
+
t-on-click="() => props.onCellClicked(cell.formula)">
|
|
2642
|
+
<t t-esc="cell.value"/>
|
|
2643
|
+
</th>
|
|
2644
|
+
</t>
|
|
2645
|
+
</tr>
|
|
2646
|
+
<t t-foreach="tableData.rows" t-as="row" t-key="row_index">
|
|
2647
|
+
<tr>
|
|
2648
|
+
<th
|
|
2649
|
+
t-att-style="row.style"
|
|
2650
|
+
t-att-class="{ o_missing_value: row.isMissing }"
|
|
2651
|
+
t-on-click="() => props.onCellClicked(row.formula)">
|
|
2652
|
+
<t t-esc="row.value"/>
|
|
2653
|
+
</th>
|
|
2654
|
+
<t t-foreach="tableData.values" t-as="col" t-key="col_index">
|
|
2655
|
+
<td
|
|
2656
|
+
t-att-class="{ o_missing_value: col[row_index].isMissing }"
|
|
2657
|
+
t-on-click="() => props.onCellClicked(col[row_index].formula)">
|
|
2658
|
+
<t t-esc="col[row_index].value"/>
|
|
2659
|
+
</td>
|
|
2660
|
+
</t>
|
|
2661
|
+
</tr>
|
|
2662
|
+
</t>
|
|
2663
|
+
</table>
|
|
2664
|
+
<div class="alert alert-info" t-else="1">This pivot has no cell missing on this sheet</div>
|
|
2665
|
+
</div>
|
|
2666
|
+
</t>
|
|
2667
|
+
|
|
2621
2668
|
<t t-name="o-spreadsheet-Popover">
|
|
2622
2669
|
<t t-portal="'.o-spreadsheet'">
|
|
2623
2670
|
<div
|
|
@@ -5231,7 +5278,7 @@
|
|
|
5231
5278
|
fields="props.unusedGroupableFields"
|
|
5232
5279
|
/>
|
|
5233
5280
|
</div>
|
|
5234
|
-
<t t-foreach="props.definition.columns" t-as="col" t-key="
|
|
5281
|
+
<t t-foreach="props.definition.columns" t-as="col" t-key="col_index">
|
|
5235
5282
|
<div
|
|
5236
5283
|
t-on-pointerdown="(ev) => this.startDragAndDrop(col, ev)"
|
|
5237
5284
|
t-att-style="dragAndDrop.itemsStyle[col.nameWithGranularity]"
|
|
@@ -5257,7 +5304,7 @@
|
|
|
5257
5304
|
fields="props.unusedGroupableFields"
|
|
5258
5305
|
/>
|
|
5259
5306
|
</div>
|
|
5260
|
-
<t t-foreach="props.definition.rows" t-as="row" t-key="
|
|
5307
|
+
<t t-foreach="props.definition.rows" t-as="row" t-key="row_index">
|
|
5261
5308
|
<div
|
|
5262
5309
|
t-on-pointerdown="(ev) => this.startDragAndDrop(row, ev)"
|
|
5263
5310
|
t-att-style="dragAndDrop.itemsStyle[row.nameWithGranularity]"
|
|
@@ -5335,6 +5382,7 @@
|
|
|
5335
5382
|
defaultRangeSheetId="measure.computedBy.sheetId"
|
|
5336
5383
|
contextualAutocomplete="getMeasureAutocomplete()"
|
|
5337
5384
|
getContextualColoredSymbolToken.bind="getColoredSymbolToken"
|
|
5385
|
+
invalid="isCalculatedMeasureInvalid"
|
|
5338
5386
|
/>
|
|
5339
5387
|
</div>
|
|
5340
5388
|
</div>
|