@odoo/o-spreadsheet 17.4.22 → 17.4.24

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.4.22
5
- @date 2025-02-10T09:15:36.501Z
6
- @hash 667f2b1
4
+ @version 17.4.24
5
+ @date 2025-02-25T05:59:41.265Z
6
+ @hash 163efbd
7
7
  -->
8
8
  <odoo>
9
9
  <t t-name="o-spreadsheet-ActionButton">
@@ -477,28 +477,31 @@
477
477
  t-on-contextmenu="onContextMenu"
478
478
  />
479
479
 
480
- <div
481
- t-if="props.focus !== 'inactive' and (autoCompleteState.provider or functionDescriptionState.showDescription)"
482
- class="o-composer-assistant shadow"
483
- t-att-style="assistantStyle"
484
- t-on-wheel.stop=""
485
- t-on-pointerdown.prevent.stop=""
486
- t-on-click.prevent.stop=""
487
- t-on-pointerup.prevent.stop="">
488
- <TextValueProvider
489
- t-if="autoCompleteState.provider"
490
- proposals="autoCompleteState.provider.proposals"
491
- selectedIndex="autoCompleteState.selectedIndex"
492
- onValueSelected.bind="this.autoComplete"
493
- onValueHovered.bind="this.updateAutoCompleteIndex"
494
- />
495
- <FunctionDescriptionProvider
496
- t-if="functionDescriptionState.showDescription"
497
- functionName="functionDescriptionState.functionName"
498
- functionDescription="functionDescriptionState.functionDescription"
499
- argToFocus="functionDescriptionState.argToFocus"
500
- />
501
- </div>
480
+ <Popover
481
+ t-props="popoverProps"
482
+ t-if="props.focus !== 'inactive' and (autoCompleteState.provider or functionDescriptionState.showDescription)">
483
+ <div
484
+ class="o-composer-assistant"
485
+ t-att-style="assistantStyle"
486
+ t-on-wheel.stop=""
487
+ t-on-pointerdown.prevent.stop=""
488
+ t-on-click.prevent.stop=""
489
+ t-on-pointerup.prevent.stop="">
490
+ <TextValueProvider
491
+ t-if="autoCompleteState.provider"
492
+ proposals="autoCompleteState.provider.proposals"
493
+ selectedIndex="autoCompleteState.selectedIndex"
494
+ onValueSelected.bind="this.autoComplete"
495
+ onValueHovered.bind="this.updateAutoCompleteIndex"
496
+ />
497
+ <FunctionDescriptionProvider
498
+ t-if="functionDescriptionState.showDescription"
499
+ functionName="functionDescriptionState.functionName"
500
+ functionDescription="functionDescriptionState.functionDescription"
501
+ argToFocus="functionDescriptionState.argToFocus"
502
+ />
503
+ </div>
504
+ </Popover>
502
505
  </div>
503
506
  </t>
504
507
 
@@ -578,12 +581,7 @@
578
581
  class="o-topbar-composer bg-white user-select-text"
579
582
  t-on-click.stop=""
580
583
  t-att-style="containerStyle">
581
- <Composer
582
- focus="focus"
583
- inputStyle="composerStyle"
584
- onComposerContentFocused.bind="onFocus"
585
- delimitation="delimitation"
586
- />
584
+ <Composer focus="focus" inputStyle="composerStyle" onComposerContentFocused.bind="onFocus"/>
587
585
  </div>
588
586
  </t>
589
587
 
@@ -921,6 +919,7 @@
921
919
  max="400"
922
920
  class="o-font-size o-number-input bg-transparent border-0"
923
921
  t-on-keydown="onInputKeydown"
922
+ t-on-wheel.prevent.stop=""
924
923
  t-on-click.stop=""
925
924
  t-on-focus.stop="onInputFocused"
926
925
  t-att-value="currentFontSize"
@@ -2412,6 +2411,7 @@
2412
2411
  </div>
2413
2412
  <Menu
2414
2413
  t-if="subMenu.isOpen"
2414
+ t-key="subMenu.parentMenu.id"
2415
2415
  position="subMenuPosition"
2416
2416
  menuItems="subMenu.menuItems"
2417
2417
  depth="props.depth + 1"
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@odoo/o-spreadsheet",
3
- "version": "17.4.22",
3
+ "version": "17.4.24",
4
4
  "description": "A spreadsheet component",
5
5
  "type": "module",
6
6
  "main": "dist/o-spreadsheet.cjs.js",
@@ -24,6 +24,7 @@
24
24
  "build": "npm-run-all build:js build:bundleJs \"build:bundleXml -- --outDir build\"",
25
25
  "doc": "typedoc",
26
26
  "precommit": "npm run prettier && npm run doc",
27
+ "monkey": "SPREADSHEET_MONKEY_COUNT=$npm_config_monkey_count jest 'tests/collaborative/collaborative_monkey_party.test.ts'",
27
28
  "test": "tsc --noEmit --project tsconfig.jest.json && jest",
28
29
  "test:watch": "jest --watch",
29
30
  "prettier": "prettier . --write",
@@ -90,6 +91,7 @@
90
91
  "rollup": "^3.28.0",
91
92
  "rollup-plugin-dts": "^5.3.1",
92
93
  "rollup-plugin-typescript2": "^0.35.0",
94
+ "seedrandom": "^3.0.5",
93
95
  "typedoc": "0.25.12",
94
96
  "typedoc-plugin-markdown": "3.17.1",
95
97
  "typescript": "^5.4.3",