@odoo/o-spreadsheet 16.1.33 → 16.1.37
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 +259 -155
- package/dist/o-spreadsheet.d.ts +72 -51
- package/dist/o-spreadsheet.esm.js +259 -155
- package/dist/o-spreadsheet.iife.js +259 -155
- package/dist/o-spreadsheet.iife.min.js +105 -112
- package/dist/o_spreadsheet.xml +14 -32
- package/package.json +1 -1
package/dist/o_spreadsheet.xml
CHANGED
|
@@ -188,7 +188,7 @@
|
|
|
188
188
|
t-on-keyup="onKeyup"
|
|
189
189
|
t-on-click="onClick"
|
|
190
190
|
t-on-blur="onBlur"
|
|
191
|
-
t-on-paste
|
|
191
|
+
t-on-paste="onPaste"
|
|
192
192
|
t-on-compositionstart="onCompositionStart"
|
|
193
193
|
t-on-compositionend="onCompositionEnd"
|
|
194
194
|
/>
|
|
@@ -274,14 +274,7 @@
|
|
|
274
274
|
|
|
275
275
|
<t t-name="o-spreadsheet-GridComposer" owl="1">
|
|
276
276
|
<div class="o-grid-composer" t-att-style="containerStyle" t-ref="gridComposer">
|
|
277
|
-
<Composer
|
|
278
|
-
focus="props.focus"
|
|
279
|
-
inputStyle="composerStyle"
|
|
280
|
-
rect="composerState.rect"
|
|
281
|
-
delimitation="composerState.delimitation"
|
|
282
|
-
onComposerUnmounted="props.onComposerUnmounted"
|
|
283
|
-
onComposerContentFocused="props.onComposerContentFocused"
|
|
284
|
-
/>
|
|
277
|
+
<Composer t-props="composerProps"/>
|
|
285
278
|
</div>
|
|
286
279
|
</t>
|
|
287
280
|
|
|
@@ -612,9 +605,10 @@
|
|
|
612
605
|
class="o-grid"
|
|
613
606
|
tabindex="-1"
|
|
614
607
|
t-att-class="{'o-two-columns': !props.sidePanelIsOpen}"
|
|
615
|
-
t-on-click="
|
|
608
|
+
t-on-click="focusDefaultElement"
|
|
616
609
|
t-on-keydown="onKeydown"
|
|
617
610
|
t-on-wheel="onMouseWheel"
|
|
611
|
+
t-on-contextmenu="onInputContextMenu"
|
|
618
612
|
t-ref="grid">
|
|
619
613
|
<GridOverlay
|
|
620
614
|
onCellClicked.bind="onCellClicked"
|
|
@@ -624,26 +618,14 @@
|
|
|
624
618
|
onGridResized.bind="onGridResized"
|
|
625
619
|
onGridMoved.bind="moveCanvas"
|
|
626
620
|
gridOverlayDimensions="gridOverlayDimensions"
|
|
627
|
-
onFigureDeleted.bind="
|
|
621
|
+
onFigureDeleted.bind="focusDefaultElement"
|
|
628
622
|
/>
|
|
629
623
|
<HeadersOverlay onOpenContextMenu="(type, x, y) => this.toggleContextMenu(type, x, y)"/>
|
|
630
|
-
|
|
631
|
-
|
|
632
|
-
|
|
633
|
-
|
|
634
|
-
|
|
635
|
-
focus="props.focusComposer"
|
|
636
|
-
/>
|
|
637
|
-
</t>
|
|
638
|
-
<t else="1">
|
|
639
|
-
<input
|
|
640
|
-
class="position-absolute"
|
|
641
|
-
style="z-index:-1000;"
|
|
642
|
-
t-on-input="onInput"
|
|
643
|
-
t-on-contextmenu="onInputContextMenu"
|
|
644
|
-
t-ref="hiddenInput"
|
|
645
|
-
/>
|
|
646
|
-
</t>
|
|
624
|
+
<GridComposer
|
|
625
|
+
onComposerContentFocused="props.onComposerContentFocused"
|
|
626
|
+
onComposerCellFocused="props.onGridComposerCellFocused"
|
|
627
|
+
focus="props.focusComposer"
|
|
628
|
+
/>
|
|
647
629
|
<canvas t-ref="canvas"/>
|
|
648
630
|
<t
|
|
649
631
|
t-foreach="env.model.getters.getClientsToDisplay()"
|
|
@@ -694,7 +676,7 @@
|
|
|
694
676
|
t-att-style="props.gridOverlayDimensions"
|
|
695
677
|
t-on-mousedown="onMouseDown"
|
|
696
678
|
t-on-dblclick.self="onDoubleClick"
|
|
697
|
-
t-on-contextmenu="onContextMenu">
|
|
679
|
+
t-on-contextmenu.stop.prevent="onContextMenu">
|
|
698
680
|
<FiguresContainer onFigureDeleted="props.onFigureDeleted"/>
|
|
699
681
|
</div>
|
|
700
682
|
</t>
|
|
@@ -3322,7 +3304,7 @@ https://fontawesome.com/license -->
|
|
|
3322
3304
|
</t>
|
|
3323
3305
|
</odoo>
|
|
3324
3306
|
<!--
|
|
3325
|
-
__info__.version = '16.1.
|
|
3326
|
-
__info__.date = '2024-
|
|
3327
|
-
__info__.hash = '
|
|
3307
|
+
__info__.version = '16.1.37';
|
|
3308
|
+
__info__.date = '2024-02-28T12:25:49.681Z';
|
|
3309
|
+
__info__.hash = '499b3b2';
|
|
3328
3310
|
-->
|