@odoo/o-spreadsheet 17.0.16 → 17.0.18

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.0.16
5
- @date 2024-03-25T09:42:36.277Z
6
- @hash 9b128f8
4
+ @version 17.0.18
5
+ @date 2024-04-10T13:28:56.996Z
6
+ @hash 6294758
7
7
  -->
8
8
  <odoo>
9
9
  <t t-name="o-spreadsheet-ActionButton">
@@ -276,7 +276,7 @@
276
276
  t-on-dblclick="() => this.onDblClick()"
277
277
  t-on-focusout="() => this.onFocusOut()"
278
278
  t-on-keydown="(ev) => this.onKeyDown(ev)"
279
- t-att-contenteditable="state.isEditing ? 'plaintext-only': 'false'"
279
+ t-att-contenteditable="state.isEditing ? 'true': 'false'"
280
280
  />
281
281
  <span class="o-sheet-icon ms-1" t-on-click.stop="(ev) => this.onIconClick(ev)">
282
282
  <t t-call="o-spreadsheet-Icon.TRIANGLE_DOWN"/>
@@ -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
@@ -950,7 +951,6 @@
950
951
  t-on-click="focusDefaultElement"
951
952
  t-on-keydown="onKeydown"
952
953
  t-on-wheel="onMouseWheel"
953
- t-on-contextmenu="onInputContextMenu"
954
954
  t-ref="grid">
955
955
  <GridOverlay
956
956
  onCellClicked.bind="onCellClicked"
@@ -968,6 +968,7 @@
968
968
  onComposerContentFocused="props.onComposerContentFocused"
969
969
  onComposerCellFocused="props.onGridComposerCellFocused"
970
970
  gridDims="env.model.getters.getSheetViewDimensionWithHeaders()"
971
+ onInputContextMenu.bind="onInputContextMenu"
971
972
  />
972
973
  <canvas t-ref="canvas"/>
973
974
  <t
@@ -2424,7 +2425,7 @@ https://fontawesome.com/license -->
2424
2425
  t-att-class="{ 'o-menu-root': isMenuRoot, 'disabled': !isMenuEnabled, 'o-menu-item-active': isParentMenu(subMenu, menuItem)}"
2425
2426
  t-att-style="getColor(menuItem)">
2426
2427
  <div class="d-flex w-100">
2427
- <div t-if="childrenHaveIcon" class="o-menu-item-icon align-middle">
2428
+ <div t-if="childrenHaveIcon" class="o-menu-item-icon align-middle flex-shrink-0">
2428
2429
  <t t-if="getIconName(menuItem)" t-call="{{getIconName(menuItem)}}"/>
2429
2430
  </div>
2430
2431
  <div class="o-menu-item-name align-middle text-truncate" t-esc="getName(menuItem)"/>
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@odoo/o-spreadsheet",
3
- "version": "17.0.16",
3
+ "version": "17.0.18",
4
4
  "description": "A spreadsheet component",
5
5
  "type": "module",
6
6
  "main": "dist/o-spreadsheet.cjs.js",
@@ -100,7 +100,7 @@
100
100
  "xmlSelfClosingSpace": false
101
101
  },
102
102
  "dependencies": {
103
- "@odoo/owl": "2.1.3",
103
+ "@odoo/owl": "2.2.10",
104
104
  "bootstrap": "^5.1.3",
105
105
  "rbush": "^3.0.1"
106
106
  },