@odoo/o-spreadsheet 19.0.1 → 19.0.3

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 19.0.1
5
- @date 2025-09-11T08:46:39.072Z
6
- @hash bd79eea
4
+ @version 19.0.3
5
+ @date 2025-09-19T07:27:31.394Z
6
+ @hash 84f3b74
7
7
  -->
8
8
  <odoo>
9
9
  <t t-name="o-spreadsheet-ValidationMessages">
@@ -1150,6 +1150,12 @@
1150
1150
  t-att-selected="agg === measure.aggregator"
1151
1151
  t-esc="props.aggregators[measure.type][agg]"
1152
1152
  />
1153
+ <option
1154
+ t-if="measure.computedBy"
1155
+ t-att-value="''"
1156
+ t-att-selected="'' === measure.aggregator">
1157
+ Compute from totals
1158
+ </option>
1153
1159
  </select>
1154
1160
  </div>
1155
1161
  </div>
@@ -6290,8 +6296,13 @@
6290
6296
  'o-carousel-header-floating': !env.isDashboard() and selectedItem?.type === 'carouselDataView',
6291
6297
  }"
6292
6298
  t-att-style="headerStyle">
6293
- <div class="o-carousel-title text-truncate" t-esc="title" t-att-style="titleStyle"/>
6294
- <div class="ms-auto d-flex">
6299
+ <div
6300
+ class="o-carousel-title text-truncate flex-shrink-0 pe-2"
6301
+ t-esc="title"
6302
+ t-att-title="title"
6303
+ t-att-style="titleStyle"
6304
+ />
6305
+ <div class="o-carousel-tabs d-flex flex-fill justify-content-end" t-ref="carouselTabs">
6295
6306
  <t t-foreach="carousel.items" t-as="item" t-key="item_index">
6296
6307
  <div
6297
6308
  class="o-carousel-tab text-truncate px-2 mt-1 flex-shrink-0"
@@ -6301,6 +6312,21 @@
6301
6312
  />
6302
6313
  </t>
6303
6314
  </div>
6315
+ <div
6316
+ class="o-carousel-tabs-dropdown flex-shrink-0 rounded"
6317
+ t-att-class="{'active': menuState.isOpen}"
6318
+ t-ref="carouselTabsDropdown"
6319
+ t-on-click="toggleMenu">
6320
+ <div class="fa fa-angle-down"/>
6321
+ <MenuPopover
6322
+ t-if="menuState.isOpen"
6323
+ menuId="menuId"
6324
+ anchorRect="menuState.anchorRect"
6325
+ menuItems="menuState.menuItems"
6326
+ onClose="() => this.menuState.isOpen=false"
6327
+ popoverPositioning="'bottom-left'"
6328
+ />
6329
+ </div>
6304
6330
  </div>
6305
6331
  <div
6306
6332
  t-if="!selectedItem"
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@odoo/o-spreadsheet",
3
- "version": "19.0.1",
3
+ "version": "19.0.3",
4
4
  "description": "A spreadsheet component",
5
5
  "type": "module",
6
6
  "main": "dist/o-spreadsheet.cjs.js",
@@ -61,7 +61,8 @@
61
61
  "@prettier/plugin-xml": "^2.2.0",
62
62
  "@rollup/plugin-node-resolve": "^15.2.0",
63
63
  "@rollup/plugin-terser": "^0.4.3",
64
- "@swc/jest": "^0.2.36",
64
+ "@swc/jest": "0.2.36",
65
+ "@swc/core": "1.6.7",
65
66
  "@types/jest": "^27.0.1",
66
67
  "@types/node": "^20.17.24",
67
68
  "@types/rbush": "^3.0.3",
@@ -100,6 +101,18 @@
100
101
  "typescript-eslint": "^8.30.1",
101
102
  "xml-formatter": "^2.4.0"
102
103
  },
104
+ "optionalDependencies": {
105
+ "@swc/core-darwin-arm64": "1.6.7",
106
+ "@swc/core-darwin-x64": "1.6.7",
107
+ "@swc/core-linux-arm-gnueabihf": "1.6.7",
108
+ "@swc/core-linux-arm64-gnu": "1.6.7",
109
+ "@swc/core-linux-arm64-musl": "1.6.7",
110
+ "@swc/core-linux-x64-gnu": "1.6.7",
111
+ "@swc/core-linux-x64-musl": "1.6.7",
112
+ "@swc/core-win32-arm64-msvc": "1.6.7",
113
+ "@swc/core-win32-ia32-msvc": "1.6.7",
114
+ "@swc/core-win32-x64-msvc": "1.6.7"
115
+ },
103
116
  "prettier": {
104
117
  "printWidth": 100,
105
118
  "xmlWhitespaceSensitivity": "ignore",