@odoo/o-spreadsheet 17.0.79 → 17.0.83

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.0.79
5
- @date 2025-12-02T05:31:19.453Z
6
- @hash ab9f15e
4
+ @version 17.0.83
5
+ @date 2026-01-07T16:21:36.167Z
6
+ @hash bd315c8
7
7
  -->
8
8
  <odoo>
9
9
  <t t-name="o-spreadsheet-ActionButton">
@@ -3668,46 +3668,44 @@ https://fontawesome.com/license -->
3668
3668
 
3669
3669
  <t t-name="o-spreadsheet-ConditionalFormattingPanelPreview">
3670
3670
  <div
3671
- class="o-cf-preview d-flex position-relative"
3671
+ class="o-cf-preview d-flex position-relative align-items-center"
3672
3672
  t-att-class="{ 'o-cf-dragging': dragAndDrop.draggedItemId === cf.id }"
3673
3673
  t-att-style="getPreviewDivStyle(cf)"
3674
3674
  t-att-data-id="cf.id"
3675
3675
  t-on-click="(ev) => props.onPreviewClick(cf)"
3676
3676
  t-on-mousedown="(ev) => this.onMouseDown(cf, ev)">
3677
- <div class="position-relative h-100 w-100 d-flex align-items-center">
3678
- <div class="o-cf-drag-handle h-100 position-absolute d-flex align-items-center text-muted">
3679
- <t t-call="o-spreadsheet-Icon.THIN_DRAG_HANDLE"/>
3677
+ <div class="o-cf-drag-handle h-100 position-absolute d-flex align-items-center text-muted">
3678
+ <t t-call="o-spreadsheet-Icon.THIN_DRAG_HANDLE"/>
3679
+ </div>
3680
+ <t t-if="cf.rule.type==='IconSetRule'">
3681
+ <div class="o-cf-preview-icon d-flex justify-content-around align-items-center me-3">
3682
+ <t t-call="o-spreadsheet-Icon.{{icons[cf.rule.icons.upper].template}}"/>
3683
+ <t t-call="o-spreadsheet-Icon.{{icons[cf.rule.icons.middle].template}}"/>
3684
+ <t t-call="o-spreadsheet-Icon.{{icons[cf.rule.icons.lower].template}}"/>
3680
3685
  </div>
3681
- <t t-if="cf.rule.type==='IconSetRule'">
3682
- <div class="o-cf-preview-icon d-flex justify-content-around align-items-center me-2">
3683
- <t t-call="o-spreadsheet-Icon.{{icons[cf.rule.icons.upper].template}}"/>
3684
- <t t-call="o-spreadsheet-Icon.{{icons[cf.rule.icons.middle].template}}"/>
3685
- <t t-call="o-spreadsheet-Icon.{{icons[cf.rule.icons.lower].template}}"/>
3686
- </div>
3687
- </t>
3688
- <t t-else="">
3689
- <div
3690
- t-att-style="getPreviewImageStyle(cf.rule)"
3691
- class="o-cf-preview-icon d-flex justify-content-around align-items-center me-2">
3692
- 123
3693
- </div>
3694
- </t>
3695
- <div class="o-cf-preview-description">
3696
- <div class="o-cf-preview-ruletype">
3697
- <div class="o-cf-preview-description-rule text-truncate">
3698
- <t t-esc="getDescription(cf)"/>
3699
- </div>
3700
- </div>
3701
- <div class="o-cf-preview-range text-truncate" t-esc="cf.ranges"/>
3686
+ </t>
3687
+ <t t-else="">
3688
+ <div
3689
+ t-att-style="getPreviewImageStyle(cf.rule)"
3690
+ class="o-cf-preview-icon d-flex justify-content-around align-items-center me-3 flex-shrink-0">
3691
+ 123
3702
3692
  </div>
3703
- <div class="o-cf-delete">
3704
- <div
3705
- class="o-cf-delete-button text-muted"
3706
- t-on-click.stop="(ev) => this.deleteConditionalFormat(cf, ev)"
3707
- title="Remove rule">
3708
- <t t-call="o-spreadsheet-Icon.TRASH"/>
3693
+ </t>
3694
+ <div class="o-cf-preview-description me-3 overflow-auto">
3695
+ <div class="o-cf-preview-ruletype">
3696
+ <div class="o-cf-preview-description-rule text-truncate">
3697
+ <t t-esc="getDescription(cf)"/>
3709
3698
  </div>
3710
3699
  </div>
3700
+ <div class="o-cf-preview-range text-truncate" t-esc="cf.ranges"/>
3701
+ </div>
3702
+ <div class="o-cf-delete ms-auto">
3703
+ <div
3704
+ class="o-cf-delete-button text-muted"
3705
+ t-on-click.stop="(ev) => this.deleteConditionalFormat(cf, ev)"
3706
+ title="Remove rule">
3707
+ <t t-call="o-spreadsheet-Icon.TRASH"/>
3708
+ </div>
3711
3709
  </div>
3712
3710
  </div>
3713
3711
  </t>
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@odoo/o-spreadsheet",
3
- "version": "17.0.79",
3
+ "version": "17.0.83",
4
4
  "description": "A spreadsheet component",
5
5
  "type": "module",
6
6
  "main": "dist/o-spreadsheet.cjs.js",