@odoo/o-spreadsheet 16.3.24 → 16.3.25
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 +179 -109
- package/dist/o-spreadsheet.d.ts +28 -14
- package/dist/o-spreadsheet.esm.js +179 -109
- package/dist/o-spreadsheet.iife.js +179 -109
- package/dist/o-spreadsheet.iife.min.js +141 -141
- package/dist/o_spreadsheet.xml +15 -33
- package/package.json +1 -1
package/dist/o_spreadsheet.xml
CHANGED
|
@@ -437,7 +437,7 @@
|
|
|
437
437
|
t-on-keyup="onKeyup"
|
|
438
438
|
t-on-click="onClick"
|
|
439
439
|
t-on-blur="onBlur"
|
|
440
|
-
t-on-paste
|
|
440
|
+
t-on-paste="onPaste"
|
|
441
441
|
t-on-compositionstart="onCompositionStart"
|
|
442
442
|
t-on-compositionend="onCompositionEnd"
|
|
443
443
|
/>
|
|
@@ -532,14 +532,7 @@
|
|
|
532
532
|
t-esc="cellReference"
|
|
533
533
|
/>
|
|
534
534
|
<div class="o-grid-composer" t-att-style="containerStyle" t-ref="gridComposer">
|
|
535
|
-
<Composer
|
|
536
|
-
focus="props.focus"
|
|
537
|
-
inputStyle="composerStyle"
|
|
538
|
-
rect="composerState.rect"
|
|
539
|
-
delimitation="composerState.delimitation"
|
|
540
|
-
onComposerUnmounted="props.onComposerUnmounted"
|
|
541
|
-
onComposerContentFocused="props.onComposerContentFocused"
|
|
542
|
-
/>
|
|
535
|
+
<Composer t-props="composerProps"/>
|
|
543
536
|
</div>
|
|
544
537
|
</t>
|
|
545
538
|
|
|
@@ -910,9 +903,10 @@
|
|
|
910
903
|
class="o-grid"
|
|
911
904
|
tabindex="-1"
|
|
912
905
|
t-att-class="{'o-two-columns': !props.sidePanelIsOpen}"
|
|
913
|
-
t-on-click="
|
|
906
|
+
t-on-click="focusDefaultElement"
|
|
914
907
|
t-on-keydown="onKeydown"
|
|
915
908
|
t-on-wheel="onMouseWheel"
|
|
909
|
+
t-on-contextmenu="onInputContextMenu"
|
|
916
910
|
t-ref="grid">
|
|
917
911
|
<GridOverlay
|
|
918
912
|
onCellClicked.bind="onCellClicked"
|
|
@@ -922,27 +916,15 @@
|
|
|
922
916
|
onGridResized.bind="onGridResized"
|
|
923
917
|
onGridMoved.bind="moveCanvas"
|
|
924
918
|
gridOverlayDimensions="gridOverlayDimensions"
|
|
925
|
-
onFigureDeleted.bind="
|
|
919
|
+
onFigureDeleted.bind="focusDefaultElement"
|
|
926
920
|
/>
|
|
927
921
|
<HeadersOverlay onOpenContextMenu="(type, x, y) => this.toggleContextMenu(type, x, y)"/>
|
|
928
|
-
|
|
929
|
-
|
|
930
|
-
|
|
931
|
-
|
|
932
|
-
|
|
933
|
-
|
|
934
|
-
gridDims="env.model.getters.getSheetViewDimensionWithHeaders()"
|
|
935
|
-
/>
|
|
936
|
-
</t>
|
|
937
|
-
<t else="1">
|
|
938
|
-
<input
|
|
939
|
-
class="position-absolute"
|
|
940
|
-
style="z-index:-1000;"
|
|
941
|
-
t-on-input="onInput"
|
|
942
|
-
t-on-contextmenu="onInputContextMenu"
|
|
943
|
-
t-ref="hiddenInput"
|
|
944
|
-
/>
|
|
945
|
-
</t>
|
|
922
|
+
<GridComposer
|
|
923
|
+
focus="props.focusComposer"
|
|
924
|
+
onComposerContentFocused="props.onComposerContentFocused"
|
|
925
|
+
onComposerCellFocused="props.onGridComposerCellFocused"
|
|
926
|
+
gridDims="env.model.getters.getSheetViewDimensionWithHeaders()"
|
|
927
|
+
/>
|
|
946
928
|
<canvas t-ref="canvas"/>
|
|
947
929
|
<t
|
|
948
930
|
t-foreach="env.model.getters.getClientsToDisplay()"
|
|
@@ -993,7 +975,7 @@
|
|
|
993
975
|
t-att-style="props.gridOverlayDimensions"
|
|
994
976
|
t-on-mousedown="onMouseDown"
|
|
995
977
|
t-on-dblclick.self="onDoubleClick"
|
|
996
|
-
t-on-contextmenu="onContextMenu">
|
|
978
|
+
t-on-contextmenu.stop.prevent="onContextMenu">
|
|
997
979
|
<FiguresContainer onFigureDeleted="props.onFigureDeleted"/>
|
|
998
980
|
</div>
|
|
999
981
|
</t>
|
|
@@ -3875,7 +3857,7 @@ https://fontawesome.com/license -->
|
|
|
3875
3857
|
</t>
|
|
3876
3858
|
</odoo>
|
|
3877
3859
|
<!--
|
|
3878
|
-
__info__.version = '16.3.
|
|
3879
|
-
__info__.date = '2024-02-
|
|
3880
|
-
__info__.hash = '
|
|
3860
|
+
__info__.version = '16.3.25';
|
|
3861
|
+
__info__.date = '2024-02-09T13:07:31.674Z';
|
|
3862
|
+
__info__.hash = 'b53bf1b';
|
|
3881
3863
|
-->
|