@odoo/o-spreadsheet 18.1.18 → 18.1.19

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 18.1.18
5
- @date 2025-05-02T12:31:29.155Z
6
- @hash 29c21c6
4
+ @version 18.1.19
5
+ @date 2025-05-12T05:26:46.574Z
6
+ @hash 44cc170
7
7
  -->
8
8
  <odoo>
9
9
  <t t-name="o-spreadsheet-ActionButton">
@@ -512,6 +512,7 @@
512
512
  t-on-dblclick="onDblClick"
513
513
  t-on-contextmenu="onContextMenu"
514
514
  t-on-blur="onBlur"
515
+ t-on-wheel="onWheel"
515
516
  />
516
517
  </div>
517
518
  <div
@@ -5181,7 +5182,7 @@
5181
5182
  <t t-name="o-spreadsheet-PivotDimensionGranularity">
5182
5183
  <div class="d-flex flex-row">
5183
5184
  <div class="d-flex flex-row py-1 px-2 w-100 small">
5184
- <t t-set="granularity" t-value="props.dimension.granularity"/>
5185
+ <t t-set="granularityProps" t-value="props.dimension.granularity || 'month'"/>
5185
5186
  <div class="pivot-dim-operator-label">Granularity</div>
5186
5187
  <select
5187
5188
  class="o-input flex-grow-1"
@@ -5190,10 +5191,10 @@
5190
5191
  t-foreach="props.allGranularities"
5191
5192
  t-as="granularity"
5192
5193
  t-key="granularity"
5193
- t-if="props.availableGranularities.has(granularity) || granularity === props.dimension.granularity"
5194
+ t-if="props.availableGranularities.has(granularity) || granularity === granularityProps"
5194
5195
  t-att-value="granularity"
5195
5196
  t-esc="periods[granularity]"
5196
- t-att-selected="granularity === props.dimension.granularity or (granularity === 'month' and !props.dimension.granularity)"
5197
+ t-att-selected="granularity === granularityProps or (granularity === 'month' and !granularityProps)"
5197
5198
  />
5198
5199
  </select>
5199
5200
  </div>
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@odoo/o-spreadsheet",
3
- "version": "18.1.18",
3
+ "version": "18.1.19",
4
4
  "description": "A spreadsheet component",
5
5
  "type": "module",
6
6
  "main": "dist/o-spreadsheet.cjs.js",