@odoo/o-spreadsheet 18.3.19 → 18.3.21

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.3.19
5
- @date 2025-09-05T07:39:17.160Z
6
- @hash 77fd307
4
+ @version 18.3.21
5
+ @date 2025-09-19T07:25:58.864Z
6
+ @hash b64ee85
7
7
  -->
8
8
  <odoo>
9
9
  <t t-name="o-spreadsheet-ValidationMessages">
@@ -994,6 +994,12 @@
994
994
  t-att-selected="agg === measure.aggregator"
995
995
  t-esc="props.aggregators[measure.type][agg]"
996
996
  />
997
+ <option
998
+ t-if="measure.computedBy"
999
+ t-att-value="''"
1000
+ t-att-selected="'' === measure.aggregator">
1001
+ Compute from totals
1002
+ </option>
997
1003
  </select>
998
1004
  </div>
999
1005
  </div>
@@ -3976,10 +3982,7 @@
3976
3982
  t-att-style="getIconColor(menuItem)">
3977
3983
  <t t-if="getIconName(menuItem)" t-call="{{getIconName(menuItem)}}"/>
3978
3984
  </div>
3979
- <div
3980
- class="o-menu-item-name text-truncate align-items-center d-flex"
3981
- t-esc="getName(menuItem)"
3982
- />
3985
+ <div class="o-menu-item-name text-truncate" t-esc="getName(menuItem)"/>
3983
3986
  <t t-set="description" t-value="menuItem.description(env)"/>
3984
3987
  <div
3985
3988
  t-if="description"
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@odoo/o-spreadsheet",
3
- "version": "18.3.19",
3
+ "version": "18.3.21",
4
4
  "description": "A spreadsheet component",
5
5
  "type": "module",
6
6
  "main": "dist/o-spreadsheet.cjs.js",
@@ -60,7 +60,8 @@
60
60
  "@prettier/plugin-xml": "^2.2.0",
61
61
  "@rollup/plugin-node-resolve": "^15.2.0",
62
62
  "@rollup/plugin-terser": "^0.4.3",
63
- "@swc/jest": "^0.2.36",
63
+ "@swc/jest": "0.2.36",
64
+ "@swc/core": "1.6.7",
64
65
  "@types/jest": "^27.0.1",
65
66
  "@types/node": "^20.17.24",
66
67
  "@types/rbush": "^3.0.3",
@@ -96,6 +97,18 @@
96
97
  "typescript": "^5.8.2",
97
98
  "xml-formatter": "^2.4.0"
98
99
  },
100
+ "optionalDependencies": {
101
+ "@swc/core-darwin-arm64": "1.6.7",
102
+ "@swc/core-darwin-x64": "1.6.7",
103
+ "@swc/core-linux-arm-gnueabihf": "1.6.7",
104
+ "@swc/core-linux-arm64-gnu": "1.6.7",
105
+ "@swc/core-linux-arm64-musl": "1.6.7",
106
+ "@swc/core-linux-x64-gnu": "1.6.7",
107
+ "@swc/core-linux-x64-musl": "1.6.7",
108
+ "@swc/core-win32-arm64-msvc": "1.6.7",
109
+ "@swc/core-win32-ia32-msvc": "1.6.7",
110
+ "@swc/core-win32-x64-msvc": "1.6.7"
111
+ },
99
112
  "prettier": {
100
113
  "printWidth": 100,
101
114
  "xmlWhitespaceSensitivity": "ignore",