@odoo/o-spreadsheet 19.1.0-alpha.7 → 19.1.0-alpha.8
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-engine.d.ts +8 -20
- package/dist/o-spreadsheet-engine.esm.js +471 -189
- package/dist/o-spreadsheet-engine.iife.js +471 -189
- package/dist/o-spreadsheet-engine.min.iife.js +313 -313
- package/dist/o-spreadsheet.d.ts +17 -23
- package/dist/o_spreadsheet.esm.js +696 -371
- package/dist/o_spreadsheet.iife.js +696 -371
- package/dist/o_spreadsheet.min.iife.js +317 -317
- package/dist/o_spreadsheet.xml +98 -9
- 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 19.1.0-alpha.
|
|
5
|
-
@date 2025-10-
|
|
6
|
-
@hash
|
|
4
|
+
@version 19.1.0-alpha.8
|
|
5
|
+
@date 2025-10-23T08:20:53.153Z
|
|
6
|
+
@hash 78717d4
|
|
7
7
|
-->
|
|
8
8
|
<odoo>
|
|
9
9
|
<t t-name="o-spreadsheet-ValidationMessages">
|
|
@@ -869,7 +869,33 @@
|
|
|
869
869
|
</t>
|
|
870
870
|
|
|
871
871
|
<t t-name="o-spreadsheet-PivotSidePanel">
|
|
872
|
-
<
|
|
872
|
+
<div class="d-flex flex-column h-100">
|
|
873
|
+
<div class="o-panel d-flex">
|
|
874
|
+
<div
|
|
875
|
+
class="o-sidePanel-tab o-panel-configuration d-flew flex-grow-1 text-center"
|
|
876
|
+
t-att-class="state.panel !== 'configuration' ? 'inactive' : ''"
|
|
877
|
+
t-on-click="switchPanel.bind(this, 'configuration')">
|
|
878
|
+
<i class="fa fa-sliders me-1"/>
|
|
879
|
+
Configuration
|
|
880
|
+
</div>
|
|
881
|
+
<div
|
|
882
|
+
class="o-sidePanel-tab o-panel-design d-flew flex-grow-1 text-center"
|
|
883
|
+
t-att-class="state.panel !== 'design' ? 'inactive' : ''"
|
|
884
|
+
t-on-click="switchPanel.bind(this, 'design')">
|
|
885
|
+
<i class="fa fa-paint-brush me-1"/>
|
|
886
|
+
Design
|
|
887
|
+
</div>
|
|
888
|
+
</div>
|
|
889
|
+
|
|
890
|
+
<div class="o-panel-content overflow-y-auto h-100" t-ref="panelContent">
|
|
891
|
+
<div class="h-100" t-att-class="{ 'd-none': state.panel !== 'configuration' }">
|
|
892
|
+
<t t-component="sidePanelEditor" t-props="props"/>
|
|
893
|
+
</div>
|
|
894
|
+
<div t-att-class="state.panel !== 'design' ? 'd-none' : ''">
|
|
895
|
+
<PivotDesignPanel pivotId="props.pivotId"/>
|
|
896
|
+
</div>
|
|
897
|
+
</div>
|
|
898
|
+
</div>
|
|
873
899
|
</t>
|
|
874
900
|
|
|
875
901
|
<t t-name="o-spreadsheet-PivotSpreadsheetSidePanel">
|
|
@@ -921,6 +947,69 @@
|
|
|
921
947
|
</div>
|
|
922
948
|
</t>
|
|
923
949
|
|
|
950
|
+
<t t-name="o-spreadsheet-PivotDesignPanel">
|
|
951
|
+
<Section class="'o-pivot-design'" title.translate="Display options">
|
|
952
|
+
<div>
|
|
953
|
+
<div class="container-fluid p-0 pt-2">
|
|
954
|
+
<div class="row mb-2 align-items-center">
|
|
955
|
+
<div class="col-6">Max rows:</div>
|
|
956
|
+
<div class="col-6 d-flex align-items-center">
|
|
957
|
+
<input
|
|
958
|
+
t-att-value="pivotStyle.numberOfRows ?? ''"
|
|
959
|
+
type="number"
|
|
960
|
+
class="o-pivot-n-of-rows o-input"
|
|
961
|
+
placeholder="e.g. 10"
|
|
962
|
+
t-on-change="(ev) => this.updatePivotStyleProperty('numberOfRows', ev.target.valueAsNumber)"
|
|
963
|
+
/>
|
|
964
|
+
</div>
|
|
965
|
+
</div>
|
|
966
|
+
<div class="row mb-2 align-items-center">
|
|
967
|
+
<div class="col-6">Max columns:</div>
|
|
968
|
+
<div class="col-6 d-flex align-items-center">
|
|
969
|
+
<input
|
|
970
|
+
t-att-value="pivotStyle.numberOfColumns ?? ''"
|
|
971
|
+
type="number"
|
|
972
|
+
class="o-pivot-n-of-columns o-input"
|
|
973
|
+
placeholder="e.g. 5"
|
|
974
|
+
t-on-change="(ev) => this.updatePivotStyleProperty('numberOfColumns', ev.target.valueAsNumber)"
|
|
975
|
+
/>
|
|
976
|
+
</div>
|
|
977
|
+
</div>
|
|
978
|
+
<div class="row mb-2 align-items-center">
|
|
979
|
+
<div class="col-6">Show totals:</div>
|
|
980
|
+
<div class="col-6 d-flex align-items-center">
|
|
981
|
+
<Checkbox
|
|
982
|
+
name="'displayTotals'"
|
|
983
|
+
value="pivotStyle.displayTotals ?? defaultStyle.displayTotals"
|
|
984
|
+
onChange="(val) => this.updatePivotStyleProperty('displayTotals', val)"
|
|
985
|
+
/>
|
|
986
|
+
</div>
|
|
987
|
+
</div>
|
|
988
|
+
<div class="row mb-2 align-items-center">
|
|
989
|
+
<div class="col-6">Show column titles:</div>
|
|
990
|
+
<div class="col-6 d-flex align-items-center">
|
|
991
|
+
<Checkbox
|
|
992
|
+
name="'displayColumnHeaders'"
|
|
993
|
+
value="pivotStyle.displayColumnHeaders ?? defaultStyle.displayColumnHeaders"
|
|
994
|
+
onChange="(val) => this.updatePivotStyleProperty('displayColumnHeaders', val)"
|
|
995
|
+
/>
|
|
996
|
+
</div>
|
|
997
|
+
</div>
|
|
998
|
+
<div class="row mb-2 align-items-center">
|
|
999
|
+
<div class="col-6">Show measure titles:</div>
|
|
1000
|
+
<div class="col-6 d-flex align-items-center">
|
|
1001
|
+
<Checkbox
|
|
1002
|
+
name="'displayMeasuresRow'"
|
|
1003
|
+
value="pivotStyle.displayMeasuresRow ?? defaultStyle.displayMeasuresRow"
|
|
1004
|
+
onChange="(val) => this.updatePivotStyleProperty('displayMeasuresRow', val)"
|
|
1005
|
+
/>
|
|
1006
|
+
</div>
|
|
1007
|
+
</div>
|
|
1008
|
+
</div>
|
|
1009
|
+
</div>
|
|
1010
|
+
</Section>
|
|
1011
|
+
</t>
|
|
1012
|
+
|
|
924
1013
|
<t t-name="o-spreadsheet-PivotMeasureDisplayPanel">
|
|
925
1014
|
<Section title.translate="Show measure as:">
|
|
926
1015
|
<select
|
|
@@ -2822,19 +2911,19 @@
|
|
|
2822
2911
|
|
|
2823
2912
|
<t t-name="o-spreadsheet-ChartPanel">
|
|
2824
2913
|
<div class="o-chart d-flex flex-column h-100" t-if="chartId">
|
|
2825
|
-
<div class="o-panel">
|
|
2914
|
+
<div class="o-panel d-flex">
|
|
2826
2915
|
<div
|
|
2827
|
-
class="o-
|
|
2916
|
+
class="o-sidePanel-tab o-panel-configuration d-flew flex-grow-1 text-center"
|
|
2828
2917
|
t-att-class="store.panel !== 'configuration' ? 'inactive' : ''"
|
|
2829
2918
|
t-on-click="switchPanel.bind(this, 'configuration')">
|
|
2830
|
-
<i class="fa fa-sliders"/>
|
|
2919
|
+
<i class="fa fa-sliders me-1"/>
|
|
2831
2920
|
Configuration
|
|
2832
2921
|
</div>
|
|
2833
2922
|
<div
|
|
2834
|
-
class="o-
|
|
2923
|
+
class="o-sidePanel-tab o-panel-design d-flew flex-grow-1 text-center"
|
|
2835
2924
|
t-att-class="store.panel !== 'design' ? 'inactive' : ''"
|
|
2836
2925
|
t-on-click="switchPanel.bind(this, 'design')">
|
|
2837
|
-
<i class="fa fa-paint-brush"/>
|
|
2926
|
+
<i class="fa fa-paint-brush me-1"/>
|
|
2838
2927
|
Design
|
|
2839
2928
|
</div>
|
|
2840
2929
|
</div>
|