@odoo/o-spreadsheet 18.1.0-alpha.5 → 18.1.0-alpha.6

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.0-alpha.5
5
- @date 2024-11-22T14:23:33.024Z
6
- @hash e13bd67
4
+ @version 18.1.0-alpha.6
5
+ @date 2024-11-28T09:07:41.105Z
6
+ @hash 875c901
7
7
  -->
8
8
  <odoo>
9
9
  <t t-name="o-spreadsheet-ActionButton">
@@ -5223,7 +5223,11 @@
5223
5223
  </t>
5224
5224
 
5225
5225
  <t t-name="o-spreadsheet-PivotSpreadsheetSidePanel">
5226
- <div class="d-flex flex-column h-100 justify-content-between overflow-hidden">
5226
+ <t t-set="isReadonly" t-value="env.model.getters.isReadonly()"/>
5227
+ <div
5228
+ class="d-flex flex-column h-100 justify-content-between overflow-hidden"
5229
+ t-att="isReadonly ? ['inert', 1] : []"
5230
+ t-att-class="{ 'pe-none': isReadonly, 'opacity-50': isReadonly }">
5227
5231
  <div class="h-100 position-relative overflow-x-hidden overflow-y-auto">
5228
5232
  <PivotTitleSection pivotId="props.pivotId" flipAxis.bind="flipAxis"/>
5229
5233
  <Section title.translate="Range">
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@odoo/o-spreadsheet",
3
- "version": "18.1.0-alpha.5",
3
+ "version": "18.1.0-alpha.6",
4
4
  "description": "A spreadsheet component",
5
5
  "type": "module",
6
6
  "main": "dist/o-spreadsheet.cjs.js",