@odoo/o-spreadsheet 19.0.11 → 19.0.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.
@@ -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.0.11
5
- @date 2025-11-24T07:47:37.683Z
6
- @hash f5bdbcc
4
+ @version 19.0.12
5
+ @date 2025-12-02T05:35:08.165Z
6
+ @hash 32203f1
7
7
  -->
8
8
  <odoo>
9
9
  <t t-name="o-spreadsheet-ValidationMessages">
@@ -4097,6 +4097,40 @@
4097
4097
  />
4098
4098
  </t>
4099
4099
 
4100
+ <t t-name="o-spreadsheet-BarChartDesignPanel">
4101
+ <GeneralDesignEditor t-props="props">
4102
+ <t t-set-slot="general-extension">
4103
+ <ChartLegend t-props="props"/>
4104
+ <Section class="'pt-0'" title.translate="Values">
4105
+ <ChartShowValues t-props="props"/>
4106
+ </Section>
4107
+ <Section t-if="isZoomable" class="'pt-0'" title.translate="Zoom">
4108
+ <Checkbox
4109
+ name="'zoomable'"
4110
+ label.translate="Show slicer"
4111
+ value="props.definition.zoomable"
4112
+ onChange.bind="onToggleZoom"
4113
+ className="'mb-2'"
4114
+ />
4115
+ </Section>
4116
+ <Section class="'pt-0'" title.translate="Number formatting">
4117
+ <ChartHumanizeNumbers t-props="props"/>
4118
+ </Section>
4119
+ </t>
4120
+ </GeneralDesignEditor>
4121
+ <SeriesWithAxisDesignEditor t-props="props"/>
4122
+ <SidePanelCollapsible isInitiallyCollapsed="true" title.translate="Axes">
4123
+ <t t-set-slot="content">
4124
+ <AxisDesignEditor
4125
+ axesList="axesList"
4126
+ chartId="props.chartId"
4127
+ definition="props.definition"
4128
+ updateChart="props.updateChart"
4129
+ />
4130
+ </t>
4131
+ </SidePanelCollapsible>
4132
+ </t>
4133
+
4100
4134
  <t t-name="o-spreadsheet-BarConfigPanel">
4101
4135
  <div>
4102
4136
  <Section class="'pt-0'">
@@ -5970,7 +6004,8 @@
5970
6004
  <button
5971
6005
  t-on-click="onConfirm"
5972
6006
  t-att-disabled="state.errorFlag"
5973
- class="o-button flex-grow-0 me-2">
6007
+ class="o-button flex-grow-0 me-2"
6008
+ tabindex="-1">
5974
6009
  Add
5975
6010
  </button>
5976
6011
  <input
@@ -5982,6 +6017,7 @@
5982
6017
  t-on-keydown.stop="onKeydown"
5983
6018
  t-on-pointerdown.stop=""
5984
6019
  t-on-input.stop="onInput"
6020
+ tabindex="-1"
5985
6021
  />
5986
6022
  <span>more rows at the bottom</span>
5987
6023
  <ValidationMessages t-if="state.errorFlag" messages="errorMessages" msgType="'error'"/>
@@ -6096,7 +6132,7 @@
6096
6132
  class=" o-font-size-editor d-flex align-items-center"
6097
6133
  t-att-class="props.class"
6098
6134
  title="Font Size"
6099
- t-on-click="this.toggleFontList">
6135
+ t-on-click.stop="this.toggleFontList">
6100
6136
  <input
6101
6137
  type="number"
6102
6138
  min="1"
@@ -6558,14 +6594,17 @@
6558
6594
  <div t-att-style="containerStyle">
6559
6595
  <canvas class="o-figure-canvas w-100 h-100" t-ref="graphContainer"/>
6560
6596
  </div>
6561
- <div t-if="sliceable" class="o-master-chart-container m-0">
6597
+ <div
6598
+ t-if="sliceable"
6599
+ class="o-master-chart-container m-0"
6600
+ t-att-style="masterChartContainerStyle">
6562
6601
  <canvas
6563
6602
  class="o-figure-canvas o-master-chart-canvas w-100 h-100"
6564
6603
  t-ref="masterChartCanvas"
6565
- t-on-dblclick="onDoubleClickInMasterChart"
6566
- t-on-pointerdown="onPointerDownInMasterChart"
6567
- t-on-pointermove="onPointerMoveInMasterChart"
6568
- t-on-mouseleave="onMouseLeaveMasterChart"
6604
+ t-on-dblclick="onMasterChartDoubleClick"
6605
+ t-on-pointerdown="onMasterChartPointerDown"
6606
+ t-on-pointermove="onMasterChartPointerMove"
6607
+ t-on-mouseleave="onMasterChartMouseLeave"
6569
6608
  />
6570
6609
  </div>
6571
6610
  </div>
@@ -7133,6 +7172,7 @@
7133
7172
  t-on-click="onClick"
7134
7173
  t-on-contextmenu.prevent="(ev) => this.onContextMenu(ev)"
7135
7174
  t-ref="sheetDiv"
7175
+ t-key="sheetName"
7136
7176
  t-att-style="props.style"
7137
7177
  t-att-title="sheetName"
7138
7178
  t-att-data-id="props.sheetId"
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@odoo/o-spreadsheet",
3
- "version": "19.0.11",
3
+ "version": "19.0.12",
4
4
  "description": "A spreadsheet component",
5
5
  "type": "module",
6
6
  "main": "dist/o-spreadsheet.cjs.js",