@odoo/o-spreadsheet 18.1.0-alpha.5 → 18.1.0-alpha.7
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 +352 -316
- package/dist/o-spreadsheet.d.ts +367 -234
- package/dist/o-spreadsheet.esm.js +352 -316
- package/dist/o-spreadsheet.iife.js +352 -316
- package/dist/o-spreadsheet.iife.min.js +449 -449
- package/dist/o_spreadsheet.xml +33 -20
- 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.0-alpha.
|
|
5
|
-
@date 2024-
|
|
6
|
-
@hash
|
|
4
|
+
@version 18.1.0-alpha.7
|
|
5
|
+
@date 2024-12-05T10:41:08.683Z
|
|
6
|
+
@hash 7b1c39b
|
|
7
7
|
-->
|
|
8
8
|
<odoo>
|
|
9
9
|
<t t-name="o-spreadsheet-ActionButton">
|
|
@@ -979,7 +979,7 @@
|
|
|
979
979
|
t-on-keydown="onInputKeydown"
|
|
980
980
|
t-on-click.stop=""
|
|
981
981
|
t-on-focus.stop="onInputFocused"
|
|
982
|
-
t-att-value="currentFontSize"
|
|
982
|
+
t-att-value="props.currentFontSize"
|
|
983
983
|
t-on-change="setSizeFromInput"
|
|
984
984
|
t-ref="inputFontSize"
|
|
985
985
|
/>
|
|
@@ -987,19 +987,17 @@
|
|
|
987
987
|
<t t-call="o-spreadsheet-Icon.CARET_DOWN"/>
|
|
988
988
|
</span>
|
|
989
989
|
</div>
|
|
990
|
-
<
|
|
991
|
-
class="o-
|
|
992
|
-
|
|
993
|
-
|
|
994
|
-
|
|
995
|
-
|
|
996
|
-
|
|
997
|
-
|
|
998
|
-
|
|
999
|
-
|
|
1000
|
-
|
|
1001
|
-
</t>
|
|
1002
|
-
</div>
|
|
990
|
+
<Popover t-if="dropdown.isOpen" t-props="popoverProps">
|
|
991
|
+
<div class="o-text-options bg-white" t-on-click.stop="" t-ref="fontSizeList">
|
|
992
|
+
<t t-foreach="fontSizes" t-as="fontSize" t-key="fontSize">
|
|
993
|
+
<div
|
|
994
|
+
t-esc="fontSize"
|
|
995
|
+
t-att-data-size="fontSize"
|
|
996
|
+
t-on-click="() => this.setSizeFromList(fontSize)"
|
|
997
|
+
/>
|
|
998
|
+
</t>
|
|
999
|
+
</div>
|
|
1000
|
+
</Popover>
|
|
1003
1001
|
</div>
|
|
1004
1002
|
</t>
|
|
1005
1003
|
|
|
@@ -2700,6 +2698,7 @@
|
|
|
2700
2698
|
updateAlignment.bind="updateAxisTitleAlignment"
|
|
2701
2699
|
updateColor.bind="updateAxisTitleColor"
|
|
2702
2700
|
style="axisTitleStyle"
|
|
2701
|
+
onFontSizeChanged.bind="updateAxisTitleFontSize"
|
|
2703
2702
|
/>
|
|
2704
2703
|
</t>
|
|
2705
2704
|
|
|
@@ -2741,6 +2740,7 @@
|
|
|
2741
2740
|
updateAlignment.bind="updateChartTitleAlignment"
|
|
2742
2741
|
updateColor.bind="updateChartTitleColor"
|
|
2743
2742
|
style="titleStyle"
|
|
2743
|
+
onFontSizeChanged.bind="updateChartTitleFontSize"
|
|
2744
2744
|
/>
|
|
2745
2745
|
<t t-slot="general-extension"/>
|
|
2746
2746
|
</t>
|
|
@@ -3012,6 +3012,12 @@
|
|
|
3012
3012
|
</div>
|
|
3013
3013
|
</div>
|
|
3014
3014
|
<div class="o-divider"/>
|
|
3015
|
+
<FontSizeEditor
|
|
3016
|
+
currentFontSize="props.style.fontSize"
|
|
3017
|
+
onFontSizeChanged.bind="this.updateFontSize"
|
|
3018
|
+
class="'o-hoverable-button'"
|
|
3019
|
+
/>
|
|
3020
|
+
<div class="o-divider"/>
|
|
3015
3021
|
<ColorPickerWidget
|
|
3016
3022
|
currentColor="props.style.color"
|
|
3017
3023
|
toggleColorPicker="(ev) => this.toggleDropdownTool('fillChartColorTool', ev)"
|
|
@@ -3741,7 +3747,8 @@
|
|
|
3741
3747
|
<GeneralDesignEditor
|
|
3742
3748
|
figureId="props.figureId"
|
|
3743
3749
|
definition="props.definition"
|
|
3744
|
-
updateChart="props.updateChart"
|
|
3750
|
+
updateChart="props.updateChart"
|
|
3751
|
+
defaultChartTitleFontSize="defaultScorecardTitleFontSize">
|
|
3745
3752
|
<t t-set-slot="general-extension">
|
|
3746
3753
|
<Section class="'pt-1'" title.translate="Number formatting">
|
|
3747
3754
|
<Checkbox
|
|
@@ -5138,6 +5145,7 @@
|
|
|
5138
5145
|
composerContent="measure.computedBy.formula"
|
|
5139
5146
|
defaultRangeSheetId="measure.computedBy.sheetId"
|
|
5140
5147
|
contextualAutocomplete="getMeasureAutocomplete()"
|
|
5148
|
+
getContextualColoredSymbolToken.bind="getColoredSymbolToken"
|
|
5141
5149
|
/>
|
|
5142
5150
|
</div>
|
|
5143
5151
|
</div>
|
|
@@ -5223,7 +5231,11 @@
|
|
|
5223
5231
|
</t>
|
|
5224
5232
|
|
|
5225
5233
|
<t t-name="o-spreadsheet-PivotSpreadsheetSidePanel">
|
|
5226
|
-
<
|
|
5234
|
+
<t t-set="isReadonly" t-value="env.model.getters.isReadonly()"/>
|
|
5235
|
+
<div
|
|
5236
|
+
class="d-flex flex-column h-100 justify-content-between overflow-hidden"
|
|
5237
|
+
t-att="isReadonly ? ['inert', 1] : []"
|
|
5238
|
+
t-att-class="{ 'pe-none': isReadonly, 'opacity-50': isReadonly }">
|
|
5227
5239
|
<div class="h-100 position-relative overflow-x-hidden overflow-y-auto">
|
|
5228
5240
|
<PivotTitleSection pivotId="props.pivotId" flipAxis.bind="flipAxis"/>
|
|
5229
5241
|
<Section title.translate="Range">
|
|
@@ -5837,9 +5849,10 @@
|
|
|
5837
5849
|
|
|
5838
5850
|
<div class="o-divider"/>
|
|
5839
5851
|
<FontSizeEditor
|
|
5852
|
+
currentFontSize="currentFontSize"
|
|
5853
|
+
onFontSizeChanged.bind="this.setFontSize"
|
|
5840
5854
|
class="'o-hoverable-button'"
|
|
5841
5855
|
onToggle.bind="this.onClick"
|
|
5842
|
-
dropdownStyle="this.dropdownStyle"
|
|
5843
5856
|
/>
|
|
5844
5857
|
<div class="o-divider"/>
|
|
5845
5858
|
|