@odoo/o-spreadsheet 18.0.44 → 18.0.46

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.0.44
5
- @date 2025-09-11T08:43:54.235Z
6
- @hash 7e6662c
4
+ @version 18.0.46
5
+ @date 2025-10-07T10:01:38.496Z
6
+ @hash 67a1b4a
7
7
  -->
8
8
  <odoo>
9
9
  <t t-name="o-spreadsheet-ActionButton">
@@ -279,6 +279,7 @@
279
279
  t-ref="sheetNameSpan"
280
280
  t-esc="sheetName"
281
281
  t-on-pointerdown="(ev) => this.onMouseEventSheetName(ev)"
282
+ t-on-click="(ev) => this.onMouseEventSheetName(ev)"
282
283
  t-on-dblclick="() => this.onDblClick()"
283
284
  t-on-focusout="() => this.onFocusOut()"
284
285
  t-on-keydown="(ev) => this.onKeyDown(ev)"
@@ -5274,6 +5275,12 @@
5274
5275
  t-att-selected="agg === measure.aggregator"
5275
5276
  t-esc="props.aggregators[measure.type][agg]"
5276
5277
  />
5278
+ <option
5279
+ t-if="measure.computedBy"
5280
+ t-att-value="''"
5281
+ t-att-selected="'' === measure.aggregator">
5282
+ Compute from totals
5283
+ </option>
5277
5284
  </select>
5278
5285
  </div>
5279
5286
  </div>
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@odoo/o-spreadsheet",
3
- "version": "18.0.44",
3
+ "version": "18.0.46",
4
4
  "description": "A spreadsheet component",
5
5
  "type": "module",
6
6
  "main": "dist/o-spreadsheet.cjs.js",
@@ -59,7 +59,8 @@
59
59
  "@prettier/plugin-xml": "^2.2.0",
60
60
  "@rollup/plugin-node-resolve": "^15.2.0",
61
61
  "@rollup/plugin-terser": "^0.4.3",
62
- "@swc/jest": "^0.2.36",
62
+ "@swc/jest": "0.2.36",
63
+ "@swc/core": "1.6.7",
63
64
  "@types/jest": "^27.0.1",
64
65
  "@types/node": "^13.13.23",
65
66
  "@types/rbush": "^3.0.3",
@@ -92,6 +93,18 @@
92
93
  "typescript": "^5.4.3",
93
94
  "xml-formatter": "^2.4.0"
94
95
  },
96
+ "optionalDependencies": {
97
+ "@swc/core-darwin-arm64": "1.6.7",
98
+ "@swc/core-darwin-x64": "1.6.7",
99
+ "@swc/core-linux-arm-gnueabihf": "1.6.7",
100
+ "@swc/core-linux-arm64-gnu": "1.6.7",
101
+ "@swc/core-linux-arm64-musl": "1.6.7",
102
+ "@swc/core-linux-x64-gnu": "1.6.7",
103
+ "@swc/core-linux-x64-musl": "1.6.7",
104
+ "@swc/core-win32-arm64-msvc": "1.6.7",
105
+ "@swc/core-win32-ia32-msvc": "1.6.7",
106
+ "@swc/core-win32-x64-msvc": "1.6.7"
107
+ },
95
108
  "prettier": {
96
109
  "printWidth": 100,
97
110
  "xmlWhitespaceSensitivity": "ignore",