@odoo/o-spreadsheet 18.2.7 → 18.2.9

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.2.7
5
- @date 2025-04-14T17:20:11.673Z
6
- @hash e187958
4
+ @version 18.2.9
5
+ @date 2025-04-25T08:07:33.640Z
6
+ @hash 3e88645
7
7
  -->
8
8
  <odoo>
9
9
  <t t-name="o-spreadsheet-ValidationMessages">
@@ -754,42 +754,44 @@
754
754
 
755
755
  <t t-name="o-spreadsheet-PivotSpreadsheetSidePanel">
756
756
  <t t-set="isReadonly" t-value="env.model.getters.isReadonly()"/>
757
- <div
758
- class="d-flex flex-column h-100 justify-content-between overflow-hidden"
759
- t-att="isReadonly ? ['inert', 1] : []"
760
- t-att-class="{ 'pe-none': isReadonly, 'opacity-50': isReadonly }">
757
+ <div class="d-flex flex-column h-100 justify-content-between overflow-hidden">
761
758
  <div class="h-100 position-relative overflow-x-hidden overflow-y-auto" t-ref="pivotSidePanel">
762
- <PivotTitleSection pivotId="props.pivotId" flipAxis.bind="flipAxis"/>
763
- <Section title.translate="Range">
764
- <SelectionInput
765
- ranges="ranges"
766
- required="true"
767
- isInvalid="shouldDisplayInvalidRangeError"
768
- hasSingleRange="true"
769
- onSelectionChanged="(ranges) => this.onSelectionChanged(ranges)"
770
- onSelectionConfirmed="() => this.onSelectionConfirmed()"
771
- />
772
- <span
773
- class="text-danger sp_range_error_message"
774
- t-if="shouldDisplayInvalidRangeError"
775
- t-esc="pivot.invalidRangeMessage"
776
- />
777
- </Section>
759
+ <div
760
+ t-att="isReadonly ? ['inert', 1] : []"
761
+ t-att-class="{ 'pe-none opacity-50': isReadonly }">
762
+ <PivotTitleSection pivotId="props.pivotId" flipAxis.bind="flipAxis"/>
763
+ <Section title.translate="Range">
764
+ <SelectionInput
765
+ ranges="ranges"
766
+ required="true"
767
+ isInvalid="shouldDisplayInvalidRangeError"
768
+ hasSingleRange="true"
769
+ onSelectionChanged="(ranges) => this.onSelectionChanged(ranges)"
770
+ onSelectionConfirmed="() => this.onSelectionConfirmed()"
771
+ />
772
+ <span
773
+ class="text-danger sp_range_error_message"
774
+ t-if="shouldDisplayInvalidRangeError"
775
+ t-esc="pivot.invalidRangeMessage"
776
+ />
777
+ </Section>
778
778
 
779
- <PivotLayoutConfigurator
780
- t-if="!pivot.isInvalidRange"
781
- unusedGroupableFields="store.unusedGroupableFields"
782
- measureFields="store.measureFields"
783
- unusedGranularities="store.unusedGranularities"
784
- dateGranularities="store.dateGranularities"
785
- datetimeGranularities="store.datetimeGranularities"
786
- definition="definition"
787
- onDimensionsUpdated.bind="onDimensionsUpdated"
788
- getScrollableContainerEl.bind="getScrollableContainerEl"
789
- pivotId="props.pivotId"
790
- />
779
+ <PivotLayoutConfigurator
780
+ t-if="!pivot.isInvalidRange"
781
+ unusedGroupableFields="store.unusedGroupableFields"
782
+ measureFields="store.measureFields"
783
+ unusedGranularities="store.unusedGranularities"
784
+ dateGranularities="store.dateGranularities"
785
+ datetimeGranularities="store.datetimeGranularities"
786
+ definition="definition"
787
+ onDimensionsUpdated.bind="onDimensionsUpdated"
788
+ getScrollableContainerEl.bind="getScrollableContainerEl"
789
+ pivotId="props.pivotId"
790
+ />
791
+ </div>
791
792
  </div>
792
793
  <PivotDeferUpdate
794
+ t-if="!isReadonly"
793
795
  deferUpdate="store.updatesAreDeferred"
794
796
  toggleDeferUpdate="(value) => store.deferUpdates(value)"
795
797
  isDirty="store.isDirty"
@@ -5584,7 +5586,7 @@
5584
5586
  </t>
5585
5587
 
5586
5588
  <t t-name="o-spreadsheet-SpreadsheetDashboard">
5587
- <div class="o-grid o-two-columns" tabindex="-1" t-on-wheel="onMouseWheel">
5589
+ <div class="o-grid o-two-columns" t-ref="dashboard" tabindex="-1" t-on-wheel="onMouseWheel">
5588
5590
  <div class="mx-auto h-100 position-relative" t-ref="grid" t-att-style="gridContainer">
5589
5591
  <GridOverlay
5590
5592
  onCellHovered.bind="onCellHovered"
@@ -5766,7 +5768,7 @@
5766
5768
  />
5767
5769
  </div>
5768
5770
  <div
5769
- class="o-composer-assistant-container shadow position-absolute"
5771
+ class="o-composer-assistant-container shadow position-absolute z-1"
5770
5772
  t-att-style="assistantContainerStyle"
5771
5773
  t-if="props.focus !== 'inactive' and !assistant.forcedClosed and assistantIsAvailable">
5772
5774
  <span
@@ -5932,7 +5934,6 @@
5932
5934
  t-on-click.stop=""
5933
5935
  t-att-value="state.customHexColor"
5934
5936
  t-on-input="setHexColor"
5935
- maxlength="7"
5936
5937
  />
5937
5938
  <div class="o-color-preview" t-att-style="colorPreviewStyle"/>
5938
5939
  </div>
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@odoo/o-spreadsheet",
3
- "version": "18.2.7",
3
+ "version": "18.2.9",
4
4
  "description": "A spreadsheet component",
5
5
  "type": "module",
6
6
  "main": "dist/o-spreadsheet.cjs.js",