@odoo/o-spreadsheet 17.1.3 → 17.1.4
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 +219 -134
- package/dist/o-spreadsheet.d.ts +35 -18
- package/dist/o-spreadsheet.esm.js +219 -134
- package/dist/o-spreadsheet.iife.js +219 -134
- package/dist/o-spreadsheet.iife.min.js +288 -288
- package/dist/o_spreadsheet.xml +15 -33
- 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 17.1.
|
|
5
|
-
@date 2024-02-
|
|
6
|
-
@hash
|
|
4
|
+
@version 17.1.4
|
|
5
|
+
@date 2024-02-09T13:09:48.048Z
|
|
6
|
+
@hash 16d3ece
|
|
7
7
|
-->
|
|
8
8
|
<odoo>
|
|
9
9
|
<t t-name="o-spreadsheet-ActionButton">
|
|
@@ -467,7 +467,7 @@
|
|
|
467
467
|
t-on-mousedown="onMousedown"
|
|
468
468
|
t-on-click="onClick"
|
|
469
469
|
t-on-keyup="onKeyup"
|
|
470
|
-
t-on-paste
|
|
470
|
+
t-on-paste="onPaste"
|
|
471
471
|
t-on-compositionstart="onCompositionStart"
|
|
472
472
|
t-on-compositionend="onCompositionEnd"
|
|
473
473
|
t-on-dblclick="onDblClick"
|
|
@@ -565,14 +565,7 @@
|
|
|
565
565
|
t-esc="cellReference"
|
|
566
566
|
/>
|
|
567
567
|
<div class="o-grid-composer" t-att-style="containerStyle" t-ref="gridComposer">
|
|
568
|
-
<Composer
|
|
569
|
-
focus="props.focus"
|
|
570
|
-
inputStyle="composerStyle"
|
|
571
|
-
rect="composerState.rect"
|
|
572
|
-
delimitation="composerState.delimitation"
|
|
573
|
-
onComposerUnmounted="props.onComposerUnmounted"
|
|
574
|
-
onComposerContentFocused="props.onComposerContentFocused"
|
|
575
|
-
/>
|
|
568
|
+
<Composer t-props="composerProps"/>
|
|
576
569
|
</div>
|
|
577
570
|
</t>
|
|
578
571
|
|
|
@@ -953,9 +946,10 @@
|
|
|
953
946
|
<div
|
|
954
947
|
class="o-grid w-100 h-100"
|
|
955
948
|
tabindex="-1"
|
|
956
|
-
t-on-click="
|
|
949
|
+
t-on-click="focusDefaultElement"
|
|
957
950
|
t-on-keydown="onKeydown"
|
|
958
951
|
t-on-wheel="onMouseWheel"
|
|
952
|
+
t-on-contextmenu="onInputContextMenu"
|
|
959
953
|
t-ref="grid">
|
|
960
954
|
<GridOverlay
|
|
961
955
|
onCellClicked.bind="onCellClicked"
|
|
@@ -965,27 +959,15 @@
|
|
|
965
959
|
onGridResized.bind="onGridResized"
|
|
966
960
|
onGridMoved.bind="moveCanvas"
|
|
967
961
|
gridOverlayDimensions="gridOverlayDimensions"
|
|
968
|
-
onFigureDeleted.bind="
|
|
962
|
+
onFigureDeleted.bind="focusDefaultElement"
|
|
969
963
|
/>
|
|
970
964
|
<HeadersOverlay onOpenContextMenu="(type, x, y) => this.toggleContextMenu(type, x, y)"/>
|
|
971
|
-
|
|
972
|
-
|
|
973
|
-
|
|
974
|
-
|
|
975
|
-
|
|
976
|
-
|
|
977
|
-
gridDims="env.model.getters.getSheetViewDimensionWithHeaders()"
|
|
978
|
-
/>
|
|
979
|
-
</t>
|
|
980
|
-
<t else="1">
|
|
981
|
-
<input
|
|
982
|
-
class="position-absolute"
|
|
983
|
-
style="z-index:-1000;"
|
|
984
|
-
t-on-input="onInput"
|
|
985
|
-
t-on-contextmenu="onInputContextMenu"
|
|
986
|
-
t-ref="hiddenInput"
|
|
987
|
-
/>
|
|
988
|
-
</t>
|
|
965
|
+
<GridComposer
|
|
966
|
+
focus="props.focusComposer"
|
|
967
|
+
onComposerContentFocused="props.onComposerContentFocused"
|
|
968
|
+
onComposerCellFocused="props.onGridComposerCellFocused"
|
|
969
|
+
gridDims="env.model.getters.getSheetViewDimensionWithHeaders()"
|
|
970
|
+
/>
|
|
989
971
|
<canvas t-ref="canvas"/>
|
|
990
972
|
<t
|
|
991
973
|
t-foreach="env.model.getters.getClientsToDisplay()"
|
|
@@ -1065,7 +1047,7 @@
|
|
|
1065
1047
|
t-att-style="style"
|
|
1066
1048
|
t-on-mousedown="onMouseDown"
|
|
1067
1049
|
t-on-dblclick.self="onDoubleClick"
|
|
1068
|
-
t-on-contextmenu="onContextMenu">
|
|
1050
|
+
t-on-contextmenu.stop.prevent="onContextMenu">
|
|
1069
1051
|
<FiguresContainer onFigureDeleted="props.onFigureDeleted"/>
|
|
1070
1052
|
<DataValidationOverlay/>
|
|
1071
1053
|
<GridAddRowsFooter
|