@odoo/o-spreadsheet 17.2.2 → 17.2.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.
@@ -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.2.2
5
- @date 2024-04-05T14:01:58.370Z
6
- @hash c15836d
4
+ @version 17.2.4
5
+ @date 2024-04-18T16:42:17.934Z
6
+ @hash 0c66038
7
7
  -->
8
8
  <odoo>
9
9
  <t t-name="o-spreadsheet-ActionButton">
@@ -471,6 +471,7 @@
471
471
  t-on-compositionstart="onCompositionStart"
472
472
  t-on-compositionend="onCompositionEnd"
473
473
  t-on-dblclick="onDblClick"
474
+ t-on-contextmenu="onContextMenu"
474
475
  />
475
476
 
476
477
  <div
@@ -574,7 +575,12 @@
574
575
  class="o-topbar-composer bg-white user-select-text"
575
576
  t-on-click.stop=""
576
577
  t-att-style="containerStyle">
577
- <Composer focus="focus" inputStyle="composerStyle" onComposerContentFocused.bind="onFocus"/>
578
+ <Composer
579
+ focus="focus"
580
+ inputStyle="composerStyle"
581
+ onComposerContentFocused.bind="onFocus"
582
+ delimitation="delimitation"
583
+ />
578
584
  </div>
579
585
  </t>
580
586
 
@@ -600,7 +606,7 @@
600
606
  <div
601
607
  t-foreach="getClickableCells()"
602
608
  t-as="clickableCell"
603
- t-key="clickableCell.tKey"
609
+ t-key="clickableCell_index"
604
610
  class="o-dashboard-clickable-cell"
605
611
  t-on-click="() => this.selectClickableCell(clickableCell)"
606
612
  t-on-contextmenu.prevent=""
@@ -948,7 +954,6 @@
948
954
  t-on-click="focusDefaultElement"
949
955
  t-on-keydown="onKeydown"
950
956
  t-on-wheel="onMouseWheel"
951
- t-on-contextmenu="onInputContextMenu"
952
957
  t-ref="grid">
953
958
  <GridOverlay
954
959
  onCellClicked.bind="onCellClicked"
@@ -961,7 +966,10 @@
961
966
  onFigureDeleted.bind="focusDefaultElement"
962
967
  />
963
968
  <HeadersOverlay onOpenContextMenu="(type, x, y) => this.toggleContextMenu(type, x, y)"/>
964
- <GridComposer gridDims="env.model.getters.getSheetViewDimensionWithHeaders()"/>
969
+ <GridComposer
970
+ gridDims="env.model.getters.getSheetViewDimensionWithHeaders()"
971
+ onInputContextMenu.bind="onInputContextMenu"
972
+ />
965
973
  <canvas t-ref="canvas"/>
966
974
  <t
967
975
  t-foreach="env.model.getters.getClientsToDisplay()"
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@odoo/o-spreadsheet",
3
- "version": "17.2.2",
3
+ "version": "17.2.4",
4
4
  "description": "A spreadsheet component",
5
5
  "type": "module",
6
6
  "main": "dist/o-spreadsheet.cjs.js",