@odoo/o-spreadsheet 18.0.50 → 18.0.53

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.50
5
- @date 2025-12-02T05:32:54.367Z
6
- @hash 7ed20c4
4
+ @version 18.0.53
5
+ @date 2025-12-26T10:19:03.016Z
6
+ @hash 7ca8390
7
7
  -->
8
8
  <odoo>
9
9
  <t t-name="o-spreadsheet-ActionButton">
@@ -4508,46 +4508,43 @@
4508
4508
  <t t-name="o-spreadsheet-ConditionalFormatPreview">
4509
4509
  <t t-set="cf" t-value="props.conditionalFormat"/>
4510
4510
  <div
4511
- class="o-cf-preview w-100"
4511
+ class="o-cf-preview w-100 d-flex align-items-center"
4512
4512
  t-ref="cfPreview"
4513
4513
  t-att-class="props.class"
4514
4514
  t-att-data-id="cf.id"
4515
4515
  t-on-click="props.onPreviewClick"
4516
4516
  t-on-pointerdown="(ev) => this.onMouseDown(ev)">
4517
- <div class="position-relative h-100 w-100 d-flex align-items-center">
4517
+ <div class="o-cf-drag-handle h-100 position-absolute d-flex align-items-center o-button-icon">
4518
+ <t t-call="o-spreadsheet-Icon.THIN_DRAG_HANDLE"/>
4519
+ </div>
4520
+ <t t-if="cf.rule.type==='IconSetRule'">
4521
+ <div class="o-cf-preview-icon d-flex justify-content-around align-items-center me-3">
4522
+ <t t-call="o-spreadsheet-Icon.{{icons[cf.rule.icons.upper].template}}"/>
4523
+ <t t-call="o-spreadsheet-Icon.{{icons[cf.rule.icons.middle].template}}"/>
4524
+ <t t-call="o-spreadsheet-Icon.{{icons[cf.rule.icons.lower].template}}"/>
4525
+ </div>
4526
+ </t>
4527
+ <t t-else="">
4518
4528
  <div
4519
- class="o-cf-drag-handle h-100 position-absolute d-flex align-items-center o-button-icon">
4520
- <t t-call="o-spreadsheet-Icon.THIN_DRAG_HANDLE"/>
4529
+ t-att-style="getPreviewImageStyle(cf.rule)"
4530
+ class="o-cf-preview-icon d-flex justify-content-around align-items-center me-3 flex-shrink-0">
4531
+ 123
4521
4532
  </div>
4522
- <t t-if="cf.rule.type==='IconSetRule'">
4523
- <div class="o-cf-preview-icon d-flex justify-content-around align-items-center me-2">
4524
- <t t-call="o-spreadsheet-Icon.{{icons[cf.rule.icons.upper].template}}"/>
4525
- <t t-call="o-spreadsheet-Icon.{{icons[cf.rule.icons.middle].template}}"/>
4526
- <t t-call="o-spreadsheet-Icon.{{icons[cf.rule.icons.lower].template}}"/>
4527
- </div>
4528
- </t>
4529
- <t t-else="">
4530
- <div
4531
- t-att-style="getPreviewImageStyle(cf.rule)"
4532
- class="o-cf-preview-icon d-flex justify-content-around align-items-center me-2">
4533
- 123
4534
- </div>
4535
- </t>
4536
- <div class="o-cf-preview-description">
4537
- <div class="o-cf-preview-ruletype">
4538
- <div class="o-cf-preview-description-rule o-fw-bold text-truncate">
4539
- <t t-esc="getDescription(cf)"/>
4540
- </div>
4533
+ </t>
4534
+ <div class="o-cf-preview-description me-3 overflow-auto">
4535
+ <div class="o-cf-preview-ruletype">
4536
+ <div class="o-cf-preview-description-rule o-fw-bold text-truncate">
4537
+ <t t-esc="getDescription(cf)"/>
4541
4538
  </div>
4542
- <div class="o-cf-preview-range text-truncate" t-esc="cf.ranges"/>
4543
4539
  </div>
4544
- <div class="o-cf-delete">
4545
- <div
4546
- class="o-cf-delete-button o-button-icon"
4547
- t-on-click.stop="(ev) => this.deleteConditionalFormat(cf, ev)"
4548
- title="Remove rule">
4549
- <t t-call="o-spreadsheet-Icon.TRASH_FILLED"/>
4550
- </div>
4540
+ <div class="o-cf-preview-range text-truncate" t-esc="cf.ranges"/>
4541
+ </div>
4542
+ <div class="o-cf-delete ms-auto">
4543
+ <div
4544
+ class="o-cf-delete-button o-button-icon"
4545
+ t-on-click.stop="(ev) => this.deleteConditionalFormat(cf, ev)"
4546
+ title="Remove rule">
4547
+ <t t-call="o-spreadsheet-Icon.TRASH_FILLED"/>
4551
4548
  </div>
4552
4549
  </div>
4553
4550
  </div>
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@odoo/o-spreadsheet",
3
- "version": "18.0.50",
3
+ "version": "18.0.53",
4
4
  "description": "A spreadsheet component",
5
5
  "type": "module",
6
6
  "main": "dist/o-spreadsheet.cjs.js",