@odoo/o-spreadsheet 17.0.50 → 17.0.51

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.50
5
- @date 2025-02-14T08:38:07.000Z
6
- @hash cc1037d
4
+ @version 17.0.51
5
+ @date 2025-02-25T05:56:45.847Z
6
+ @hash b433912
7
7
  -->
8
8
  <odoo>
9
9
  <t t-name="o-spreadsheet-ActionButton">
@@ -478,29 +478,32 @@
478
478
  t-on-contextmenu="onContextMenu"
479
479
  />
480
480
 
481
- <div
482
- t-if="props.focus !== 'inactive' and (autoCompleteState.showProvider or functionDescriptionState.showDescription)"
483
- class="o-composer-assistant shadow"
484
- t-att-style="assistantStyle"
485
- t-on-wheel.stop=""
486
- t-on-mousedown.prevent.stop=""
487
- t-on-click.prevent.stop=""
488
- t-on-mouseup.prevent.stop="">
489
- <TextValueProvider
490
- t-if="autoCompleteState.showProvider"
491
- values="autoCompleteState.values"
492
- selectedIndex="autoCompleteState.selectedIndex"
493
- onValueSelected.bind="this.autoComplete"
494
- onValueHovered.bind="this.updateAutoCompleteIndex"
495
- getHtmlContent="autoCompleteState.getHtmlContent"
496
- />
497
- <FunctionDescriptionProvider
498
- t-if="functionDescriptionState.showDescription"
499
- functionName="functionDescriptionState.functionName"
500
- functionDescription="functionDescriptionState.functionDescription"
501
- argToFocus="functionDescriptionState.argToFocus"
502
- />
503
- </div>
481
+ <Popover
482
+ t-props="popoverProps"
483
+ t-if="props.focus !== 'inactive' and (autoCompleteState.showProvider or functionDescriptionState.showDescription)">
484
+ <div
485
+ class="o-composer-assistant"
486
+ t-att-style="assistantStyle"
487
+ t-on-wheel.stop=""
488
+ t-on-mousedown.prevent.stop=""
489
+ t-on-click.prevent.stop=""
490
+ t-on-mouseup.prevent.stop="">
491
+ <TextValueProvider
492
+ t-if="autoCompleteState.showProvider"
493
+ values="autoCompleteState.values"
494
+ selectedIndex="autoCompleteState.selectedIndex"
495
+ onValueSelected.bind="this.autoComplete"
496
+ onValueHovered.bind="this.updateAutoCompleteIndex"
497
+ getHtmlContent="autoCompleteState.getHtmlContent"
498
+ />
499
+ <FunctionDescriptionProvider
500
+ t-if="functionDescriptionState.showDescription"
501
+ functionName="functionDescriptionState.functionName"
502
+ functionDescription="functionDescriptionState.functionDescription"
503
+ argToFocus="functionDescriptionState.argToFocus"
504
+ />
505
+ </div>
506
+ </Popover>
504
507
  </div>
505
508
  </t>
506
509
 
@@ -2452,6 +2455,7 @@ https://fontawesome.com/license -->
2452
2455
  </div>
2453
2456
  <Menu
2454
2457
  t-if="subMenu.isOpen"
2458
+ t-key="subMenu.parentMenu.id"
2455
2459
  position="subMenuPosition"
2456
2460
  menuItems="subMenu.menuItems"
2457
2461
  depth="props.depth + 1"
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@odoo/o-spreadsheet",
3
- "version": "17.0.50",
3
+ "version": "17.0.51",
4
4
  "description": "A spreadsheet component",
5
5
  "type": "module",
6
6
  "main": "dist/o-spreadsheet.cjs.js",
@@ -22,6 +22,7 @@
22
22
  "build": "npm-run-all build:js build:bundleJs \"build:bundleXml -- --outDir build\"",
23
23
  "doc": "typedoc",
24
24
  "precommit": "npm run prettier && npm run doc",
25
+ "monkey": "SPREADSHEET_MONKEY_COUNT=$npm_config_monkey_count jest 'tests/collaborative/collaborative_monkey_party.test.ts'",
25
26
  "test": "tsc --noEmit --project tsconfig.jest.json && jest",
26
27
  "test:watch": "jest --watch",
27
28
  "prettier": "prettier . --write",