@odoo/o-spreadsheet 18.1.14 → 18.1.16

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.14
5
- @date 2025-04-04T08:43:20.947Z
6
- @hash 63b2fb7
4
+ @version 18.1.16
5
+ @date 2025-04-18T16:24:58.878Z
6
+ @hash 19f6de2
7
7
  -->
8
8
  <odoo>
9
9
  <t t-name="o-spreadsheet-ActionButton">
@@ -660,7 +660,7 @@
660
660
  </t>
661
661
 
662
662
  <t t-name="o-spreadsheet-SpreadsheetDashboard">
663
- <div class="o-grid o-two-columns" tabindex="-1" t-on-wheel="onMouseWheel">
663
+ <div class="o-grid o-two-columns" t-ref="dashboard" tabindex="-1" t-on-wheel="onMouseWheel">
664
664
  <div class="mx-auto h-100 position-relative" t-ref="grid" t-att-style="gridContainer">
665
665
  <GridOverlay
666
666
  onCellHovered.bind="onCellHovered"
@@ -5431,42 +5431,44 @@
5431
5431
 
5432
5432
  <t t-name="o-spreadsheet-PivotSpreadsheetSidePanel">
5433
5433
  <t t-set="isReadonly" t-value="env.model.getters.isReadonly()"/>
5434
- <div
5435
- class="d-flex flex-column h-100 justify-content-between overflow-hidden"
5436
- t-att="isReadonly ? ['inert', 1] : []"
5437
- t-att-class="{ 'pe-none': isReadonly, 'opacity-50': isReadonly }">
5434
+ <div class="d-flex flex-column h-100 justify-content-between overflow-hidden">
5438
5435
  <div class="h-100 position-relative overflow-x-hidden overflow-y-auto" t-ref="pivotSidePanel">
5439
- <PivotTitleSection pivotId="props.pivotId" flipAxis.bind="flipAxis"/>
5440
- <Section title.translate="Range">
5441
- <SelectionInput
5442
- ranges="ranges"
5443
- required="true"
5444
- isInvalid="shouldDisplayInvalidRangeError"
5445
- hasSingleRange="true"
5446
- onSelectionChanged="(ranges) => this.onSelectionChanged(ranges)"
5447
- onSelectionConfirmed="() => this.onSelectionConfirmed()"
5448
- />
5449
- <span
5450
- class="text-danger sp_range_error_message"
5451
- t-if="shouldDisplayInvalidRangeError"
5452
- t-esc="pivot.invalidRangeMessage"
5453
- />
5454
- </Section>
5436
+ <div
5437
+ t-att="isReadonly ? ['inert', 1] : []"
5438
+ t-att-class="{ 'pe-none opacity-50': isReadonly }">
5439
+ <PivotTitleSection pivotId="props.pivotId" flipAxis.bind="flipAxis"/>
5440
+ <Section title.translate="Range">
5441
+ <SelectionInput
5442
+ ranges="ranges"
5443
+ required="true"
5444
+ isInvalid="shouldDisplayInvalidRangeError"
5445
+ hasSingleRange="true"
5446
+ onSelectionChanged="(ranges) => this.onSelectionChanged(ranges)"
5447
+ onSelectionConfirmed="() => this.onSelectionConfirmed()"
5448
+ />
5449
+ <span
5450
+ class="text-danger sp_range_error_message"
5451
+ t-if="shouldDisplayInvalidRangeError"
5452
+ t-esc="pivot.invalidRangeMessage"
5453
+ />
5454
+ </Section>
5455
5455
 
5456
- <PivotLayoutConfigurator
5457
- t-if="!pivot.isInvalidRange"
5458
- unusedGroupableFields="store.unusedGroupableFields"
5459
- measureFields="store.measureFields"
5460
- unusedGranularities="store.unusedGranularities"
5461
- dateGranularities="store.dateGranularities"
5462
- datetimeGranularities="store.datetimeGranularities"
5463
- definition="definition"
5464
- onDimensionsUpdated.bind="onDimensionsUpdated"
5465
- getScrollableContainerEl.bind="getScrollableContainerEl"
5466
- pivotId="props.pivotId"
5467
- />
5456
+ <PivotLayoutConfigurator
5457
+ t-if="!pivot.isInvalidRange"
5458
+ unusedGroupableFields="store.unusedGroupableFields"
5459
+ measureFields="store.measureFields"
5460
+ unusedGranularities="store.unusedGranularities"
5461
+ dateGranularities="store.dateGranularities"
5462
+ datetimeGranularities="store.datetimeGranularities"
5463
+ definition="definition"
5464
+ onDimensionsUpdated.bind="onDimensionsUpdated"
5465
+ getScrollableContainerEl.bind="getScrollableContainerEl"
5466
+ pivotId="props.pivotId"
5467
+ />
5468
+ </div>
5468
5469
  </div>
5469
5470
  <PivotDeferUpdate
5471
+ t-if="!isReadonly"
5470
5472
  deferUpdate="store.updatesAreDeferred"
5471
5473
  toggleDeferUpdate="(value) => store.deferUpdates(value)"
5472
5474
  isDirty="store.isDirty"
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@odoo/o-spreadsheet",
3
- "version": "18.1.14",
3
+ "version": "18.1.16",
4
4
  "description": "A spreadsheet component",
5
5
  "type": "module",
6
6
  "main": "dist/o-spreadsheet.cjs.js",