@odoo/o-spreadsheet 16.4.21 → 16.4.24
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 +257 -154
- package/dist/o-spreadsheet.d.ts +28 -14
- package/dist/o-spreadsheet.esm.js +257 -154
- package/dist/o-spreadsheet.iife.js +257 -154
- package/dist/o-spreadsheet.iife.min.js +103 -103
- package/dist/o_spreadsheet.xml +15 -33
- package/package.json +1 -1
package/dist/o_spreadsheet.xml
CHANGED
|
@@ -450,7 +450,7 @@
|
|
|
450
450
|
t-on-mousedown="onMousedown"
|
|
451
451
|
t-on-click="onClick"
|
|
452
452
|
t-on-keyup="onKeyup"
|
|
453
|
-
t-on-paste
|
|
453
|
+
t-on-paste="onPaste"
|
|
454
454
|
t-on-compositionstart="onCompositionStart"
|
|
455
455
|
t-on-compositionend="onCompositionEnd"
|
|
456
456
|
t-on-dblclick="onDblClick"
|
|
@@ -546,14 +546,7 @@
|
|
|
546
546
|
t-esc="cellReference"
|
|
547
547
|
/>
|
|
548
548
|
<div class="o-grid-composer" t-att-style="containerStyle" t-ref="gridComposer">
|
|
549
|
-
<Composer
|
|
550
|
-
focus="props.focus"
|
|
551
|
-
inputStyle="composerStyle"
|
|
552
|
-
rect="composerState.rect"
|
|
553
|
-
delimitation="composerState.delimitation"
|
|
554
|
-
onComposerUnmounted="props.onComposerUnmounted"
|
|
555
|
-
onComposerContentFocused="props.onComposerContentFocused"
|
|
556
|
-
/>
|
|
549
|
+
<Composer t-props="composerProps"/>
|
|
557
550
|
</div>
|
|
558
551
|
</t>
|
|
559
552
|
|
|
@@ -927,9 +920,10 @@
|
|
|
927
920
|
class="o-grid"
|
|
928
921
|
tabindex="-1"
|
|
929
922
|
t-att-class="{'o-two-columns': !props.sidePanelIsOpen}"
|
|
930
|
-
t-on-click="
|
|
923
|
+
t-on-click="focusDefaultElement"
|
|
931
924
|
t-on-keydown="onKeydown"
|
|
932
925
|
t-on-wheel="onMouseWheel"
|
|
926
|
+
t-on-contextmenu="onInputContextMenu"
|
|
933
927
|
t-ref="grid">
|
|
934
928
|
<GridOverlay
|
|
935
929
|
onCellClicked.bind="onCellClicked"
|
|
@@ -939,27 +933,15 @@
|
|
|
939
933
|
onGridResized.bind="onGridResized"
|
|
940
934
|
onGridMoved.bind="moveCanvas"
|
|
941
935
|
gridOverlayDimensions="gridOverlayDimensions"
|
|
942
|
-
onFigureDeleted.bind="
|
|
936
|
+
onFigureDeleted.bind="focusDefaultElement"
|
|
943
937
|
/>
|
|
944
938
|
<HeadersOverlay onOpenContextMenu="(type, x, y) => this.toggleContextMenu(type, x, y)"/>
|
|
945
|
-
|
|
946
|
-
|
|
947
|
-
|
|
948
|
-
|
|
949
|
-
|
|
950
|
-
|
|
951
|
-
gridDims="env.model.getters.getSheetViewDimensionWithHeaders()"
|
|
952
|
-
/>
|
|
953
|
-
</t>
|
|
954
|
-
<t else="1">
|
|
955
|
-
<input
|
|
956
|
-
class="position-absolute"
|
|
957
|
-
style="z-index:-1000;"
|
|
958
|
-
t-on-input="onInput"
|
|
959
|
-
t-on-contextmenu="onInputContextMenu"
|
|
960
|
-
t-ref="hiddenInput"
|
|
961
|
-
/>
|
|
962
|
-
</t>
|
|
939
|
+
<GridComposer
|
|
940
|
+
focus="props.focusComposer"
|
|
941
|
+
onComposerContentFocused="props.onComposerContentFocused"
|
|
942
|
+
onComposerCellFocused="props.onGridComposerCellFocused"
|
|
943
|
+
gridDims="env.model.getters.getSheetViewDimensionWithHeaders()"
|
|
944
|
+
/>
|
|
963
945
|
<canvas t-ref="canvas"/>
|
|
964
946
|
<t
|
|
965
947
|
t-foreach="env.model.getters.getClientsToDisplay()"
|
|
@@ -1011,7 +993,7 @@
|
|
|
1011
993
|
t-att-style="style"
|
|
1012
994
|
t-on-mousedown="onMouseDown"
|
|
1013
995
|
t-on-dblclick.self="onDoubleClick"
|
|
1014
|
-
t-on-contextmenu="onContextMenu">
|
|
996
|
+
t-on-contextmenu.stop.prevent="onContextMenu">
|
|
1015
997
|
<FiguresContainer onFigureDeleted="props.onFigureDeleted"/>
|
|
1016
998
|
</div>
|
|
1017
999
|
</t>
|
|
@@ -3975,7 +3957,7 @@ https://fontawesome.com/license -->
|
|
|
3975
3957
|
</t>
|
|
3976
3958
|
</odoo>
|
|
3977
3959
|
<!--
|
|
3978
|
-
__info__.version = '16.4.
|
|
3979
|
-
__info__.date = '2024-02-
|
|
3980
|
-
__info__.hash = '
|
|
3960
|
+
__info__.version = '16.4.24';
|
|
3961
|
+
__info__.date = '2024-02-28T12:27:59.941Z';
|
|
3962
|
+
__info__.hash = '90c74d1';
|
|
3981
3963
|
-->
|