@odoo/o-spreadsheet 18.1.8 → 18.1.10

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 18.1.8
5
- @date 2025-02-14T08:42:50.074Z
6
- @hash 02682f4
4
+ @version 18.1.10
5
+ @date 2025-03-07T10:35:21.396Z
6
+ @hash 31e4526
7
7
  -->
8
8
  <odoo>
9
9
  <t t-name="o-spreadsheet-ActionButton">
@@ -510,13 +510,9 @@
510
510
  />
511
511
  </div>
512
512
  <div
513
- t-if="props.focus !== 'inactive' and !assistant.forcedClosed and assistantIsAvailable"
514
- class="o-composer-assistant shadow"
515
- t-att-style="assistantStyle"
516
- t-on-wheel.stop=""
517
- t-on-pointerdown.prevent.stop=""
518
- t-on-click.prevent.stop=""
519
- t-on-pointerup.prevent.stop="">
513
+ class="o-composer-assistant-container shadow position-absolute"
514
+ t-att-style="assistantContainerStyle"
515
+ t-if="props.focus !== 'inactive' and !assistant.forcedClosed and assistantIsAvailable">
520
516
  <span
521
517
  role="button"
522
518
  t-on-click="closeAssistant"
@@ -524,23 +520,31 @@
524
520
  <i class="fa fa-circle fa-stack-1x fa-inverse"/>
525
521
  <i class="fa fa-times-circle fa-stack-1x text-muted"/>
526
522
  </span>
527
- <FunctionDescriptionProvider
528
- t-if="functionDescriptionState.showDescription"
529
- functionName="functionDescriptionState.functionName"
530
- functionDescription="functionDescriptionState.functionDescription"
531
- argToFocus="functionDescriptionState.argToFocus"
532
- />
533
523
  <div
534
- t-if="functionDescriptionState.showDescription and autoCompleteState.provider"
535
- class="border-top"
536
- />
537
- <TextValueProvider
538
- t-if="autoCompleteState.provider"
539
- proposals="autoCompleteState.provider.proposals"
540
- selectedIndex="autoCompleteState.selectedIndex"
541
- onValueSelected.bind="this.autoComplete"
542
- onValueHovered.bind="this.updateAutoCompleteIndex"
543
- />
524
+ class="o-composer-assistant overflow-auto"
525
+ t-att-style="assistantStyle"
526
+ t-on-wheel.stop=""
527
+ t-on-pointerdown.prevent.stop=""
528
+ t-on-click.prevent.stop=""
529
+ t-on-pointerup.prevent.stop="">
530
+ <FunctionDescriptionProvider
531
+ t-if="functionDescriptionState.showDescription"
532
+ functionName="functionDescriptionState.functionName"
533
+ functionDescription="functionDescriptionState.functionDescription"
534
+ argToFocus="functionDescriptionState.argToFocus"
535
+ />
536
+ <div
537
+ t-if="functionDescriptionState.showDescription and autoCompleteState.provider"
538
+ class="border-top"
539
+ />
540
+ <TextValueProvider
541
+ t-if="autoCompleteState.provider"
542
+ proposals="autoCompleteState.provider.proposals"
543
+ selectedIndex="autoCompleteState.selectedIndex"
544
+ onValueSelected.bind="this.autoComplete"
545
+ onValueHovered.bind="this.updateAutoCompleteIndex"
546
+ />
547
+ </div>
544
548
  </div>
545
549
  </div>
546
550
  </t>
@@ -981,6 +985,7 @@
981
985
  max="400"
982
986
  class="o-font-size o-number-input bg-transparent border-0"
983
987
  t-on-keydown="onInputKeydown"
988
+ t-on-wheel.prevent.stop=""
984
989
  t-on-click.stop=""
985
990
  t-on-focus.stop="onInputFocused"
986
991
  t-att-value="props.currentFontSize"
@@ -2561,6 +2566,7 @@
2561
2566
  </div>
2562
2567
  <Menu
2563
2568
  t-if="subMenu.isOpen"
2569
+ t-key="subMenu.parentMenu.id"
2564
2570
  position="subMenuPosition"
2565
2571
  menuItems="subMenu.menuItems"
2566
2572
  depth="props.depth + 1"
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@odoo/o-spreadsheet",
3
- "version": "18.1.8",
3
+ "version": "18.1.10",
4
4
  "description": "A spreadsheet component",
5
5
  "type": "module",
6
6
  "main": "dist/o-spreadsheet.cjs.js",
@@ -22,6 +22,7 @@
22
22
  "bundle:xml": "node tools/bundle_xml/main.cjs",
23
23
  "bundle:dev": "npm-run-all build:js bundle:iife \"bundle:xml -- --outDir build\"",
24
24
  "dist": "tsc --module es6 --declaration --declarationDir dist/types && rollup -c && npm run bundle:xml -- --outDir dist",
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",
@@ -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
  "typescript": "^5.4.3",
94
96
  "xml-formatter": "^2.4.0"
95
97
  },
@@ -137,6 +139,6 @@
137
139
  "*": "prettier --write"
138
140
  },
139
141
  "publishConfig": {
140
- "tag": "latest"
142
+ "tag": "18-1"
141
143
  }
142
144
  }