@odoo/o-spreadsheet 18.1.0-alpha.3 → 18.1.0-alpha.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.1.0-alpha.3
5
- @date 2024-11-08T12:19:23.924Z
6
- @hash 96dcfab
4
+ @version 18.1.0-alpha.4
5
+ @date 2024-11-13T15:07:31.403Z
6
+ @hash e1ad985
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>
@@ -1493,6 +1495,11 @@
1493
1495
  />
1494
1496
  </svg>
1495
1497
  </t>
1498
+ <t t-name="o-spreadsheet-Icon.CLIPBOARD">
1499
+ <div class="o-icon">
1500
+ <i class="fa fa-clipboard"/>
1501
+ </div>
1502
+ </t>
1496
1503
  <t t-name="o-spreadsheet-Icon.COPY">
1497
1504
  <div class="o-icon">
1498
1505
  <i class="fa fa-clone"/>
@@ -3317,7 +3324,7 @@
3317
3324
  name="'showValues'"
3318
3325
  label.translate="Show values"
3319
3326
  value="props.definition.showValues"
3320
- onChange="showValues => props.updateChart(this.props.figureId, {showValues})"
3327
+ onChange="(showValues) => props.updateChart(this.props.figureId, { showValues })"
3321
3328
  />
3322
3329
  </Section>
3323
3330
  </t>
@@ -3641,7 +3648,7 @@
3641
3648
  name="'showValues'"
3642
3649
  label.translate="Show values"
3643
3650
  value="props.definition.showValues"
3644
- onChange="showValues => props.updateChart(this.props.figureId, {showValues})"
3651
+ onChange="(showValues) => props.updateChart(this.props.figureId, { showValues })"
3645
3652
  />
3646
3653
  </Section>
3647
3654
  </t>
@@ -3659,6 +3666,14 @@
3659
3666
  definition="props.definition"
3660
3667
  updateChart="props.updateChart"
3661
3668
  />
3669
+ <Section class="'pt-0'" title.translate="Values">
3670
+ <Checkbox
3671
+ name="'showValues'"
3672
+ label.translate="Show values"
3673
+ value="props.definition.showValues"
3674
+ onChange="(showValues) => props.updateChart(this.props.figureId, { showValues })"
3675
+ />
3676
+ </Section>
3662
3677
  </t>
3663
3678
  </GeneralDesignEditor>
3664
3679
  <SeriesDesignEditor t-props="props"/>
@@ -3795,7 +3810,7 @@
3795
3810
  name="'showValues'"
3796
3811
  label.translate="Show values"
3797
3812
  value="props.definition.showValues"
3798
- onChange="showValues => props.updateChart(this.props.figureId, {showValues})"
3813
+ onChange="(showValues) => props.updateChart(this.props.figureId, { showValues })"
3799
3814
  />
3800
3815
  </Section>
3801
3816
  </t>
@@ -3975,6 +3990,7 @@
3975
3990
  anchorRect="colorPickerAnchorRect"
3976
3991
  onColorPicked.bind="onColorPicked"
3977
3992
  currentColor="props.currentColor"
3993
+ disableNoColor="props.disableNoColor"
3978
3994
  />
3979
3995
  </t>
3980
3996
 
@@ -4195,6 +4211,7 @@
4195
4211
  currentColor="getThresholdColor(threshold)"
4196
4212
  onColorPicked="(color) => this.setColorScaleColor(thresholdType, color)"
4197
4213
  title="fill_color"
4214
+ disableNoColor="true"
4198
4215
  />
4199
4216
  </div>
4200
4217
  </div>
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@odoo/o-spreadsheet",
3
- "version": "18.1.0-alpha.3",
3
+ "version": "18.1.0-alpha.4",
4
4
  "description": "A spreadsheet component",
5
5
  "type": "module",
6
6
  "main": "dist/o-spreadsheet.cjs.js",