@odoo/o-spreadsheet 18.1.15 → 18.1.17

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.15
5
- @date 2025-04-14T17:18:10.562Z
6
- @hash ddaea83
4
+ @version 18.1.17
5
+ @date 2025-04-25T08:09:27.663Z
6
+ @hash a63687f
7
7
  -->
8
8
  <odoo>
9
9
  <t t-name="o-spreadsheet-ActionButton">
@@ -395,7 +395,6 @@
395
395
  t-on-click.stop=""
396
396
  t-att-value="state.customHexColor"
397
397
  t-on-input="setHexColor"
398
- maxlength="7"
399
398
  />
400
399
  <div class="o-color-preview" t-att-style="colorPreviewStyle"/>
401
400
  </div>
@@ -516,7 +515,7 @@
516
515
  />
517
516
  </div>
518
517
  <div
519
- class="o-composer-assistant-container shadow position-absolute"
518
+ class="o-composer-assistant-container shadow position-absolute z-1"
520
519
  t-att-style="assistantContainerStyle"
521
520
  t-if="props.focus !== 'inactive' and !assistant.forcedClosed and assistantIsAvailable">
522
521
  <span
@@ -660,7 +659,7 @@
660
659
  </t>
661
660
 
662
661
  <t t-name="o-spreadsheet-SpreadsheetDashboard">
663
- <div class="o-grid o-two-columns" tabindex="-1" t-on-wheel="onMouseWheel">
662
+ <div class="o-grid o-two-columns" t-ref="dashboard" tabindex="-1" t-on-wheel="onMouseWheel">
664
663
  <div class="mx-auto h-100 position-relative" t-ref="grid" t-att-style="gridContainer">
665
664
  <GridOverlay
666
665
  onCellHovered.bind="onCellHovered"
@@ -5431,42 +5430,44 @@
5431
5430
 
5432
5431
  <t t-name="o-spreadsheet-PivotSpreadsheetSidePanel">
5433
5432
  <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 }">
5433
+ <div class="d-flex flex-column h-100 justify-content-between overflow-hidden">
5438
5434
  <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>
5435
+ <div
5436
+ t-att="isReadonly ? ['inert', 1] : []"
5437
+ t-att-class="{ 'pe-none opacity-50': isReadonly }">
5438
+ <PivotTitleSection pivotId="props.pivotId" flipAxis.bind="flipAxis"/>
5439
+ <Section title.translate="Range">
5440
+ <SelectionInput
5441
+ ranges="ranges"
5442
+ required="true"
5443
+ isInvalid="shouldDisplayInvalidRangeError"
5444
+ hasSingleRange="true"
5445
+ onSelectionChanged="(ranges) => this.onSelectionChanged(ranges)"
5446
+ onSelectionConfirmed="() => this.onSelectionConfirmed()"
5447
+ />
5448
+ <span
5449
+ class="text-danger sp_range_error_message"
5450
+ t-if="shouldDisplayInvalidRangeError"
5451
+ t-esc="pivot.invalidRangeMessage"
5452
+ />
5453
+ </Section>
5455
5454
 
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
- />
5455
+ <PivotLayoutConfigurator
5456
+ t-if="!pivot.isInvalidRange"
5457
+ unusedGroupableFields="store.unusedGroupableFields"
5458
+ measureFields="store.measureFields"
5459
+ unusedGranularities="store.unusedGranularities"
5460
+ dateGranularities="store.dateGranularities"
5461
+ datetimeGranularities="store.datetimeGranularities"
5462
+ definition="definition"
5463
+ onDimensionsUpdated.bind="onDimensionsUpdated"
5464
+ getScrollableContainerEl.bind="getScrollableContainerEl"
5465
+ pivotId="props.pivotId"
5466
+ />
5467
+ </div>
5468
5468
  </div>
5469
5469
  <PivotDeferUpdate
5470
+ t-if="!isReadonly"
5470
5471
  deferUpdate="store.updatesAreDeferred"
5471
5472
  toggleDeferUpdate="(value) => store.deferUpdates(value)"
5472
5473
  isDirty="store.isDirty"
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@odoo/o-spreadsheet",
3
- "version": "18.1.15",
3
+ "version": "18.1.17",
4
4
  "description": "A spreadsheet component",
5
5
  "type": "module",
6
6
  "main": "dist/o-spreadsheet.cjs.js",