@odoo/o-spreadsheet 17.1.3 → 17.1.5
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 +320 -196
- package/dist/o-spreadsheet.d.ts +47 -22
- package/dist/o-spreadsheet.esm.js +320 -196
- package/dist/o-spreadsheet.iife.js +320 -196
- package/dist/o-spreadsheet.iife.min.js +262 -261
- package/dist/o_spreadsheet.xml +19 -36
- 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.5
|
|
5
|
+
@date 2024-02-16T14:24:28.688Z
|
|
6
|
+
@hash 29d8ad6
|
|
7
7
|
-->
|
|
8
8
|
<odoo>
|
|
9
9
|
<t t-name="o-spreadsheet-ActionButton">
|
|
@@ -421,9 +421,9 @@
|
|
|
421
421
|
|
|
422
422
|
<t t-name="o-spreadsheet-TextValueProvider">
|
|
423
423
|
<div
|
|
424
|
+
t-ref="autoCompleteList"
|
|
424
425
|
t-att-class="{
|
|
425
|
-
'o-autocomplete-dropdown':props.values.length
|
|
426
|
-
'shadow':props.values.length}">
|
|
426
|
+
'o-autocomplete-dropdown':props.values.length }">
|
|
427
427
|
<t t-foreach="props.values" t-as="v" t-key="v.text">
|
|
428
428
|
<div
|
|
429
429
|
class="d-flex flex-column text-start"
|
|
@@ -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"
|
|
@@ -475,8 +475,9 @@
|
|
|
475
475
|
|
|
476
476
|
<div
|
|
477
477
|
t-if="props.focus !== 'inactive' and (autoCompleteState.showProvider or functionDescriptionState.showDescription)"
|
|
478
|
-
class="o-composer-assistant"
|
|
478
|
+
class="o-composer-assistant shadow"
|
|
479
479
|
t-att-style="assistantStyle"
|
|
480
|
+
t-on-wheel.stop=""
|
|
480
481
|
t-on-mousedown.prevent.stop=""
|
|
481
482
|
t-on-click.prevent.stop=""
|
|
482
483
|
t-on-mouseup.prevent.stop="">
|
|
@@ -565,14 +566,7 @@
|
|
|
565
566
|
t-esc="cellReference"
|
|
566
567
|
/>
|
|
567
568
|
<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
|
-
/>
|
|
569
|
+
<Composer t-props="composerProps"/>
|
|
576
570
|
</div>
|
|
577
571
|
</t>
|
|
578
572
|
|
|
@@ -953,9 +947,10 @@
|
|
|
953
947
|
<div
|
|
954
948
|
class="o-grid w-100 h-100"
|
|
955
949
|
tabindex="-1"
|
|
956
|
-
t-on-click="
|
|
950
|
+
t-on-click="focusDefaultElement"
|
|
957
951
|
t-on-keydown="onKeydown"
|
|
958
952
|
t-on-wheel="onMouseWheel"
|
|
953
|
+
t-on-contextmenu="onInputContextMenu"
|
|
959
954
|
t-ref="grid">
|
|
960
955
|
<GridOverlay
|
|
961
956
|
onCellClicked.bind="onCellClicked"
|
|
@@ -965,27 +960,15 @@
|
|
|
965
960
|
onGridResized.bind="onGridResized"
|
|
966
961
|
onGridMoved.bind="moveCanvas"
|
|
967
962
|
gridOverlayDimensions="gridOverlayDimensions"
|
|
968
|
-
onFigureDeleted.bind="
|
|
963
|
+
onFigureDeleted.bind="focusDefaultElement"
|
|
969
964
|
/>
|
|
970
965
|
<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>
|
|
966
|
+
<GridComposer
|
|
967
|
+
focus="props.focusComposer"
|
|
968
|
+
onComposerContentFocused="props.onComposerContentFocused"
|
|
969
|
+
onComposerCellFocused="props.onGridComposerCellFocused"
|
|
970
|
+
gridDims="env.model.getters.getSheetViewDimensionWithHeaders()"
|
|
971
|
+
/>
|
|
989
972
|
<canvas t-ref="canvas"/>
|
|
990
973
|
<t
|
|
991
974
|
t-foreach="env.model.getters.getClientsToDisplay()"
|
|
@@ -1065,7 +1048,7 @@
|
|
|
1065
1048
|
t-att-style="style"
|
|
1066
1049
|
t-on-mousedown="onMouseDown"
|
|
1067
1050
|
t-on-dblclick.self="onDoubleClick"
|
|
1068
|
-
t-on-contextmenu="onContextMenu">
|
|
1051
|
+
t-on-contextmenu.stop.prevent="onContextMenu">
|
|
1069
1052
|
<FiguresContainer onFigureDeleted="props.onFigureDeleted"/>
|
|
1070
1053
|
<DataValidationOverlay/>
|
|
1071
1054
|
<GridAddRowsFooter
|