@odoo/o-spreadsheet 19.1.0-alpha.0 → 19.1.0-alpha.1

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.1.0-alpha.0
5
- @date 2025-09-11T07:50:38.945Z
6
- @hash 587c928
4
+ @version 19.1.0-alpha.1
5
+ @date 2025-09-12T13:34:33.243Z
6
+ @hash d3e4e7b
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"
@@ -6553,9 +6579,12 @@
6553
6579
  </t>
6554
6580
 
6555
6581
  <t t-name="o-spreadsheet-ClickableCellSortIcon">
6556
- <div class="w-100 h-100 d-flex flex-column align-items-end justify-content-end">
6557
- <span class="o-icon h-100 sorting-icon pb-1" t-att-style="style">
6558
- <i class="fa fa-small" t-att-class="icon"/>
6582
+ <div class="w-100 h-100 d-flex flex-column align-items-end" t-att-class="verticalJustifyClass">
6583
+ <span
6584
+ t-if="props.sortDirection === 'none'"
6585
+ class="o-icon sorting-icon pb-1"
6586
+ t-att-style="style">
6587
+ <i class="fa fa-small fa-sort"/>
6559
6588
  </span>
6560
6589
  </div>
6561
6590
  </t>
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@odoo/o-spreadsheet",
3
- "version": "19.1.0-alpha.0",
3
+ "version": "19.1.0-alpha.1",
4
4
  "description": "A spreadsheet component",
5
5
  "type": "module",
6
6
  "main": "dist/o-spreadsheet.cjs.js",