@odoo/o-spreadsheet 18.0.2 → 18.0.4

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.0.2
5
- @date 2024-10-24T08:55:16.260Z
6
- @hash 788df92
4
+ @version 18.0.4
5
+ @date 2024-11-13T15:09:45.919Z
6
+ @hash 88e1aee
7
7
  -->
8
8
  <odoo>
9
9
  <t t-name="o-spreadsheet-ActionButton">
@@ -402,10 +402,12 @@
402
402
  </button>
403
403
  </div>
404
404
  </div>
405
- <div class="o-separator"/>
406
- <div class="o-buttons">
407
- <button t-on-click="resetColor" class="o-cancel">No Color</button>
408
- </div>
405
+ <t t-if="!props.disableNoColor">
406
+ <div class="o-separator"/>
407
+ <div class="o-buttons">
408
+ <button t-on-click="resetColor" class="o-cancel">No Color</button>
409
+ </div>
410
+ </t>
409
411
  </div>
410
412
  </Popover>
411
413
  </t>
@@ -2653,7 +2655,7 @@
2653
2655
  <Section class="'pt-0'">
2654
2656
  <Checkbox
2655
2657
  name="'stacked'"
2656
- label="chartTerms.StackedBarChart"
2658
+ label="stackedLabel"
2657
2659
  value="props.definition.stacked"
2658
2660
  onChange.bind="onUpdateStacked"
2659
2661
  />
@@ -3317,7 +3319,7 @@
3317
3319
  <t t-set-slot="title">Values</t>
3318
3320
  <Checkbox
3319
3321
  name="'showValues'"
3320
- label="showValuesLabel"
3322
+ label.translate="Show values"
3321
3323
  value="props.definition.showValues"
3322
3324
  onChange="showValues => props.updateChart(this.props.figureId, {showValues})"
3323
3325
  />
@@ -4036,6 +4038,7 @@
4036
4038
  anchorRect="colorPickerAnchorRect"
4037
4039
  onColorPicked.bind="onColorPicked"
4038
4040
  currentColor="props.currentColor"
4041
+ disableNoColor="props.disableNoColor"
4039
4042
  />
4040
4043
  </t>
4041
4044
 
@@ -4242,6 +4245,7 @@
4242
4245
  currentColor="getThresholdColor(threshold)"
4243
4246
  onColorPicked="(color) => this.setColorScaleColor(thresholdType, color)"
4244
4247
  title="fill_color"
4248
+ disableNoColor="true"
4245
4249
  />
4246
4250
  </div>
4247
4251
  </div>
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@odoo/o-spreadsheet",
3
- "version": "18.0.2",
3
+ "version": "18.0.4",
4
4
  "description": "A spreadsheet component",
5
5
  "type": "module",
6
6
  "main": "dist/o-spreadsheet.cjs.js",