@odoo/o-spreadsheet 16.2.28 → 16.2.31
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 +478 -371
- package/dist/o-spreadsheet.d.ts +91 -76
- package/dist/o-spreadsheet.esm.js +478 -371
- package/dist/o-spreadsheet.iife.js +478 -371
- package/dist/o-spreadsheet.iife.min.js +99 -106
- package/dist/o_spreadsheet.xml +16 -34
- package/package.json +1 -1
package/dist/o_spreadsheet.xml
CHANGED
|
@@ -150,7 +150,7 @@
|
|
|
150
150
|
t-on-dblclick="() => this.onDblClick()"
|
|
151
151
|
t-on-focusout="() => this.onFocusOut()"
|
|
152
152
|
t-on-keydown="(ev) => this.onKeyDown(ev)"
|
|
153
|
-
t-att-contenteditable="state.isEditing
|
|
153
|
+
t-att-contenteditable="state.isEditing ? 'plaintext-only': 'false'"
|
|
154
154
|
/>
|
|
155
155
|
<span class="o-sheet-icon ms-1" t-on-click.stop="(ev) => this.onIconClick(ev)">
|
|
156
156
|
<t t-call="o-spreadsheet-Icon.TRIANGLE_DOWN"/>
|
|
@@ -319,7 +319,7 @@
|
|
|
319
319
|
t-on-keyup="onKeyup"
|
|
320
320
|
t-on-click="onClick"
|
|
321
321
|
t-on-blur="onBlur"
|
|
322
|
-
t-on-paste
|
|
322
|
+
t-on-paste="onPaste"
|
|
323
323
|
t-on-compositionstart="onCompositionStart"
|
|
324
324
|
t-on-compositionend="onCompositionEnd"
|
|
325
325
|
/>
|
|
@@ -414,14 +414,7 @@
|
|
|
414
414
|
t-esc="cellReference"
|
|
415
415
|
/>
|
|
416
416
|
<div class="o-grid-composer" t-att-style="containerStyle" t-ref="gridComposer">
|
|
417
|
-
<Composer
|
|
418
|
-
focus="props.focus"
|
|
419
|
-
inputStyle="composerStyle"
|
|
420
|
-
rect="composerState.rect"
|
|
421
|
-
delimitation="composerState.delimitation"
|
|
422
|
-
onComposerUnmounted="props.onComposerUnmounted"
|
|
423
|
-
onComposerContentFocused="props.onComposerContentFocused"
|
|
424
|
-
/>
|
|
417
|
+
<Composer t-props="composerProps"/>
|
|
425
418
|
</div>
|
|
426
419
|
</t>
|
|
427
420
|
|
|
@@ -778,9 +771,10 @@
|
|
|
778
771
|
class="o-grid"
|
|
779
772
|
tabindex="-1"
|
|
780
773
|
t-att-class="{'o-two-columns': !props.sidePanelIsOpen}"
|
|
781
|
-
t-on-click="
|
|
774
|
+
t-on-click="focusDefaultElement"
|
|
782
775
|
t-on-keydown="onKeydown"
|
|
783
776
|
t-on-wheel="onMouseWheel"
|
|
777
|
+
t-on-contextmenu="onInputContextMenu"
|
|
784
778
|
t-ref="grid">
|
|
785
779
|
<GridOverlay
|
|
786
780
|
onCellClicked.bind="onCellClicked"
|
|
@@ -790,27 +784,15 @@
|
|
|
790
784
|
onGridResized.bind="onGridResized"
|
|
791
785
|
onGridMoved.bind="moveCanvas"
|
|
792
786
|
gridOverlayDimensions="gridOverlayDimensions"
|
|
793
|
-
onFigureDeleted.bind="
|
|
787
|
+
onFigureDeleted.bind="focusDefaultElement"
|
|
794
788
|
/>
|
|
795
789
|
<HeadersOverlay onOpenContextMenu="(type, x, y) => this.toggleContextMenu(type, x, y)"/>
|
|
796
|
-
|
|
797
|
-
|
|
798
|
-
|
|
799
|
-
|
|
800
|
-
|
|
801
|
-
|
|
802
|
-
gridDims="env.model.getters.getSheetViewDimensionWithHeaders()"
|
|
803
|
-
/>
|
|
804
|
-
</t>
|
|
805
|
-
<t else="1">
|
|
806
|
-
<input
|
|
807
|
-
class="position-absolute"
|
|
808
|
-
style="z-index:-1000;"
|
|
809
|
-
t-on-input="onInput"
|
|
810
|
-
t-on-contextmenu="onInputContextMenu"
|
|
811
|
-
t-ref="hiddenInput"
|
|
812
|
-
/>
|
|
813
|
-
</t>
|
|
790
|
+
<GridComposer
|
|
791
|
+
focus="props.focusComposer"
|
|
792
|
+
onComposerContentFocused="props.onComposerContentFocused"
|
|
793
|
+
onComposerCellFocused="props.onGridComposerCellFocused"
|
|
794
|
+
gridDims="env.model.getters.getSheetViewDimensionWithHeaders()"
|
|
795
|
+
/>
|
|
814
796
|
<canvas t-ref="canvas"/>
|
|
815
797
|
<t
|
|
816
798
|
t-foreach="env.model.getters.getClientsToDisplay()"
|
|
@@ -861,7 +843,7 @@
|
|
|
861
843
|
t-att-style="props.gridOverlayDimensions"
|
|
862
844
|
t-on-mousedown="onMouseDown"
|
|
863
845
|
t-on-dblclick.self="onDoubleClick"
|
|
864
|
-
t-on-contextmenu="onContextMenu">
|
|
846
|
+
t-on-contextmenu.stop.prevent="onContextMenu">
|
|
865
847
|
<FiguresContainer onFigureDeleted="props.onFigureDeleted"/>
|
|
866
848
|
</div>
|
|
867
849
|
</t>
|
|
@@ -3524,7 +3506,7 @@ https://fontawesome.com/license -->
|
|
|
3524
3506
|
</t>
|
|
3525
3507
|
</odoo>
|
|
3526
3508
|
<!--
|
|
3527
|
-
__info__.version = '16.2.
|
|
3528
|
-
__info__.date = '2024-
|
|
3529
|
-
__info__.hash = '
|
|
3509
|
+
__info__.version = '16.2.31';
|
|
3510
|
+
__info__.date = '2024-02-09T13:06:05.147Z';
|
|
3511
|
+
__info__.hash = '2e76bdf';
|
|
3530
3512
|
-->
|