@odoo/o-spreadsheet 17.4.0-alpha.1 → 17.4.0-alpha.2

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 17.4.0-alpha.1
5
- @date 2024-06-03T15:31:14.056Z
6
- @hash cb56c37
4
+ @version 17.4.0-alpha.2
5
+ @date 2024-06-06T13:32:06.123Z
6
+ @hash e07794d
7
7
  -->
8
8
  <odoo>
9
9
  <t t-name="o-spreadsheet-ActionButton">
@@ -4332,9 +4332,9 @@
4332
4332
  <div class="d-flex flex-row">
4333
4333
  <div class="d-flex flex-row py-1 px-2 w-100 small">
4334
4334
  <t t-set="granularity" t-value="props.dimension.granularity"/>
4335
- <div class="flex-basis-50">Granularity</div>
4335
+ <div class="pivot-dim-operator-label">Granularity</div>
4336
4336
  <select
4337
- class="o_input flex-basis-50"
4337
+ class="o_input flex-grow-1"
4338
4338
  t-on-change="(ev) => props.onUpdated(props.dimension, ev.target.value)">
4339
4339
  <option
4340
4340
  t-foreach="props.allGranularities"
@@ -4353,9 +4353,9 @@
4353
4353
  <t t-name="o-spreadsheet-PivotDimensionOrder">
4354
4354
  <div class="d-flex">
4355
4355
  <div class="d-flex py-1 px-2 w-100 small">
4356
- <div class="flex-basis-50">Order by</div>
4356
+ <div class="pivot-dim-operator-label">Order by</div>
4357
4357
  <select
4358
- class="o_input flex-basis-50"
4358
+ class="o_input flex-grow-1"
4359
4359
  t-on-change="(ev) => props.onUpdated(props.dimension, ev.target.value)">
4360
4360
  <option value="asc" t-att-selected="props.dimension.order === 'asc'">Ascending</option>
4361
4361
  <option value="desc" t-att-selected="props.dimension.order === 'desc'">Descending</option>
@@ -4439,9 +4439,9 @@
4439
4439
  <PivotDimension dimension="measure" onRemoved.bind="removeMeasureDimension">
4440
4440
  <div class="d-flex flex-row small">
4441
4441
  <div class="d-flex flex-row py-1 px-2 w-100">
4442
- <div class="flex-basis-50">Aggregated by</div>
4442
+ <div class="pivot-dim-operator-label">Aggregated by</div>
4443
4443
  <select
4444
- class="o_input flex-basis-50"
4444
+ class="o_input flex-grow-1"
4445
4445
  t-on-change="(ev) => this.updateAggregator(measure, ev.target.value)">
4446
4446
  <option
4447
4447
  t-foreach="Object.keys(AGGREGATORS[measure.type])"
@@ -4648,20 +4648,30 @@
4648
4648
  <div class="o-sidePanelTitle" t-esc="getTitle()"/>
4649
4649
  <div class="o-sidePanelClose" t-on-click="close">✕</div>
4650
4650
  </div>
4651
- <div class="o-sidePanelBody">
4652
- <t
4653
- t-component="panel.Body"
4654
- t-props="sidePanelStore.panelProps"
4655
- onCloseSidePanel.bind="close"
4656
- t-key="'Body_' + sidePanelStore.componentTag + sidePanelStore.panelKey"
4657
- />
4658
- </div>
4659
- <div class="o-sidePanelFooter" t-if="panel?.Footer">
4660
- <t
4661
- t-component="panel.Footer"
4662
- t-props="sidePanelStore.panelProps"
4663
- t-key="'Footer_' + sidePanelStore.componentTag"
4664
- />
4651
+ <div class="o-sidePanelBody-container d-flex flex-grow-1 ">
4652
+ <div class="o-sidePanel-handle-container d-flex align-items-center">
4653
+ <div
4654
+ class="o-sidePanel-handle"
4655
+ t-on-pointerdown="startHandleDrag"
4656
+ t-on-dblclick="sidePanelStore.resetPanelSize">
4657
+ <t t-call="o-spreadsheet-Icon.THIN_DRAG_HANDLE"/>
4658
+ </div>
4659
+ </div>
4660
+ <div class="o-sidePanelBody">
4661
+ <t
4662
+ t-component="panel.Body"
4663
+ t-props="sidePanelStore.panelProps"
4664
+ onCloseSidePanel.bind="close"
4665
+ t-key="'Body_' + sidePanelStore.componentTag + sidePanelStore.panelKey"
4666
+ />
4667
+ </div>
4668
+ <div class="o-sidePanelFooter" t-if="panel?.Footer">
4669
+ <t
4670
+ t-component="panel.Footer"
4671
+ t-props="sidePanelStore.panelProps"
4672
+ t-key="'Footer_' + sidePanelStore.componentTag"
4673
+ />
4674
+ </div>
4665
4675
  </div>
4666
4676
  </div>
4667
4677
  </t>
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@odoo/o-spreadsheet",
3
- "version": "17.4.0-alpha.1",
3
+ "version": "17.4.0-alpha.2",
4
4
  "description": "A spreadsheet component",
5
5
  "type": "module",
6
6
  "main": "dist/o-spreadsheet.cjs.js",