@odoo/o-spreadsheet 18.0.49 → 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.
- package/dist/o-spreadsheet.cjs.js +130 -108
- package/dist/o-spreadsheet.d.ts +9 -25
- package/dist/o-spreadsheet.esm.js +130 -108
- package/dist/o-spreadsheet.iife.js +130 -108
- package/dist/o-spreadsheet.iife.min.js +153 -164
- package/dist/o_spreadsheet.xml +33 -39
- package/package.json +1 -1
package/dist/o_spreadsheet.xml
CHANGED
|
@@ -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.
|
|
5
|
-
@date 2025-
|
|
6
|
-
@hash
|
|
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">
|
|
@@ -269,6 +269,7 @@
|
|
|
269
269
|
t-on-pointerdown="(ev) => this.onMouseDown(ev)"
|
|
270
270
|
t-on-contextmenu.prevent="(ev) => this.onContextMenu(ev)"
|
|
271
271
|
t-ref="sheetDiv"
|
|
272
|
+
t-key="sheetName"
|
|
272
273
|
t-att-style="props.style"
|
|
273
274
|
t-att-title="sheetName"
|
|
274
275
|
t-att-data-id="props.sheetId"
|
|
@@ -763,7 +764,6 @@
|
|
|
763
764
|
<t
|
|
764
765
|
t-component="figureRegistry.get(props.figure.tag).Component"
|
|
765
766
|
t-key="props.figure.id"
|
|
766
|
-
onFigureDeleted="props.onFigureDeleted"
|
|
767
767
|
figure="props.figure"
|
|
768
768
|
/>
|
|
769
769
|
<div class="o-figure-menu position-absolute m-2" t-if="!env.isDashboard()">
|
|
@@ -851,7 +851,6 @@
|
|
|
851
851
|
t-att-style="container.inverseViewportStyle">
|
|
852
852
|
<t t-foreach="container.figures" t-as="figure" t-key="figure.id">
|
|
853
853
|
<FigureComponent
|
|
854
|
-
onFigureDeleted="this.props.onFigureDeleted"
|
|
855
854
|
figure="figure"
|
|
856
855
|
style="getFigureStyle(figure)"
|
|
857
856
|
onMouseDown="(ev) => this.startDraggingFigure(figure, ev)"
|
|
@@ -1034,7 +1033,6 @@
|
|
|
1034
1033
|
onGridResized.bind="onGridResized"
|
|
1035
1034
|
onGridMoved.bind="moveCanvas"
|
|
1036
1035
|
gridOverlayDimensions="gridOverlayDimensions"
|
|
1037
|
-
onFigureDeleted.bind="focusDefaultElement"
|
|
1038
1036
|
/>
|
|
1039
1037
|
<HeadersOverlay onOpenContextMenu="(type, x, y) => this.toggleContextMenu(type, x, y)"/>
|
|
1040
1038
|
<GridComposer
|
|
@@ -1128,13 +1126,12 @@
|
|
|
1128
1126
|
t-on-pointerdown="onMouseDown"
|
|
1129
1127
|
t-on-dblclick.self="onDoubleClick"
|
|
1130
1128
|
t-on-contextmenu.stop.prevent="onContextMenu">
|
|
1131
|
-
<FiguresContainer
|
|
1129
|
+
<FiguresContainer/>
|
|
1132
1130
|
<DataValidationOverlay/>
|
|
1133
1131
|
<FilterIconsOverlay/>
|
|
1134
1132
|
<GridAddRowsFooter
|
|
1135
1133
|
t-if="!env.model.getters.isReadonly()"
|
|
1136
1134
|
t-key="env.model.getters.getActiveSheetId()"
|
|
1137
|
-
focusGrid="props.onFigureDeleted"
|
|
1138
1135
|
/>
|
|
1139
1136
|
</div>
|
|
1140
1137
|
</t>
|
|
@@ -4511,46 +4508,43 @@
|
|
|
4511
4508
|
<t t-name="o-spreadsheet-ConditionalFormatPreview">
|
|
4512
4509
|
<t t-set="cf" t-value="props.conditionalFormat"/>
|
|
4513
4510
|
<div
|
|
4514
|
-
class="o-cf-preview w-100"
|
|
4511
|
+
class="o-cf-preview w-100 d-flex align-items-center"
|
|
4515
4512
|
t-ref="cfPreview"
|
|
4516
4513
|
t-att-class="props.class"
|
|
4517
4514
|
t-att-data-id="cf.id"
|
|
4518
4515
|
t-on-click="props.onPreviewClick"
|
|
4519
4516
|
t-on-pointerdown="(ev) => this.onMouseDown(ev)">
|
|
4520
|
-
<div class="
|
|
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="">
|
|
4521
4528
|
<div
|
|
4522
|
-
|
|
4523
|
-
|
|
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
|
|
4524
4532
|
</div>
|
|
4525
|
-
|
|
4526
|
-
|
|
4527
|
-
|
|
4528
|
-
|
|
4529
|
-
<t t-
|
|
4530
|
-
</div>
|
|
4531
|
-
</t>
|
|
4532
|
-
<t t-else="">
|
|
4533
|
-
<div
|
|
4534
|
-
t-att-style="getPreviewImageStyle(cf.rule)"
|
|
4535
|
-
class="o-cf-preview-icon d-flex justify-content-around align-items-center me-2">
|
|
4536
|
-
123
|
|
4537
|
-
</div>
|
|
4538
|
-
</t>
|
|
4539
|
-
<div class="o-cf-preview-description">
|
|
4540
|
-
<div class="o-cf-preview-ruletype">
|
|
4541
|
-
<div class="o-cf-preview-description-rule o-fw-bold text-truncate">
|
|
4542
|
-
<t t-esc="getDescription(cf)"/>
|
|
4543
|
-
</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)"/>
|
|
4544
4538
|
</div>
|
|
4545
|
-
<div class="o-cf-preview-range text-truncate" t-esc="cf.ranges"/>
|
|
4546
4539
|
</div>
|
|
4547
|
-
<div class="o-cf-
|
|
4548
|
-
|
|
4549
|
-
|
|
4550
|
-
|
|
4551
|
-
|
|
4552
|
-
|
|
4553
|
-
|
|
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"/>
|
|
4554
4548
|
</div>
|
|
4555
4549
|
</div>
|
|
4556
4550
|
</div>
|