@odoo/o-spreadsheet 17.4.11 → 17.4.13

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 17.4.11
5
- @date 2024-11-08T12:16:15.549Z
6
- @hash 2eb3f1c
4
+ @version 17.4.13
5
+ @date 2024-11-22T14:17:50.721Z
6
+ @hash a5e4e16
7
7
  -->
8
8
  <odoo>
9
9
  <t t-name="o-spreadsheet-ActionButton">
@@ -389,10 +389,12 @@
389
389
  </button>
390
390
  </div>
391
391
  </div>
392
- <div class="o-separator"/>
393
- <div class="o-buttons">
394
- <button t-on-click="resetColor" class="o-cancel">No Color</button>
395
- </div>
392
+ <t t-if="!props.disableNoColor">
393
+ <div class="o-separator"/>
394
+ <div class="o-buttons">
395
+ <button t-on-click="resetColor" class="o-cancel">No Color</button>
396
+ </div>
397
+ </t>
396
398
  </div>
397
399
  </Popover>
398
400
  </t>
@@ -3691,6 +3693,7 @@
3691
3693
  anchorRect="colorPickerAnchorRect"
3692
3694
  onColorPicked.bind="onColorPicked"
3693
3695
  currentColor="props.currentColor"
3696
+ disableNoColor="props.disableNoColor"
3694
3697
  />
3695
3698
  </t>
3696
3699
 
@@ -3942,6 +3945,7 @@
3942
3945
  currentColor="getThresholdColor(threshold)"
3943
3946
  onColorPicked="(color) => this.setColorScaleColor(thresholdType, color)"
3944
3947
  title="fill_color"
3948
+ disableNoColor="true"
3945
3949
  />
3946
3950
  </div>
3947
3951
  </div>
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@odoo/o-spreadsheet",
3
- "version": "17.4.11",
3
+ "version": "17.4.13",
4
4
  "description": "A spreadsheet component",
5
5
  "type": "module",
6
6
  "main": "dist/o-spreadsheet.cjs.js",