@odoo/o-spreadsheet 17.4.0-alpha.3 → 17.4.0-alpha.5
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.
- package/dist/o-spreadsheet.cjs.js +704 -795
- package/dist/o-spreadsheet.d.ts +198 -120
- package/dist/o-spreadsheet.esm.js +704 -795
- package/dist/o-spreadsheet.iife.js +704 -795
- package/dist/o-spreadsheet.iife.min.js +370 -361
- package/dist/o_spreadsheet.xml +44 -33
- package/package.json +1 -1
package/dist/o_spreadsheet.xml
CHANGED
|
@@ -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.
|
|
5
|
-
@date 2024-06-
|
|
6
|
-
@hash
|
|
4
|
+
@version 17.4.0-alpha.5
|
|
5
|
+
@date 2024-06-14T10:02:23.996Z
|
|
6
|
+
@hash 9ceed96
|
|
7
7
|
-->
|
|
8
8
|
<odoo>
|
|
9
9
|
<t t-name="o-spreadsheet-ActionButton">
|
|
@@ -669,7 +669,7 @@
|
|
|
669
669
|
</t>
|
|
670
670
|
|
|
671
671
|
<t t-name="o-spreadsheet-ScorecardChart">
|
|
672
|
-
<canvas class="o-figure-canvas w-100 h-100" t-ref="chartContainer"/>
|
|
672
|
+
<canvas class="o-figure-canvas w-100 h-100" t-ref="chartContainer" t-att-title="title"/>
|
|
673
673
|
</t>
|
|
674
674
|
|
|
675
675
|
<t t-name="o-spreadsheet-FigureComponent">
|
|
@@ -3353,6 +3353,23 @@
|
|
|
3353
3353
|
</label>
|
|
3354
3354
|
</t>
|
|
3355
3355
|
|
|
3356
|
+
<t t-name="o-spreadsheet-CogWheelMenu">
|
|
3357
|
+
<span class="fa fa-cog os-cog-wheel-menu-icon" t-on-click="togglePopover" t-ref="button"/>
|
|
3358
|
+
<Popover t-if="popover.isOpen" t-props="popoverProps">
|
|
3359
|
+
<div class="d-flex flex-column align-items-start os-cog-wheel-menu my-2">
|
|
3360
|
+
<div
|
|
3361
|
+
t-foreach="props.items"
|
|
3362
|
+
t-as="item"
|
|
3363
|
+
t-key="item.name"
|
|
3364
|
+
t-on-click="item.onClick"
|
|
3365
|
+
class="btn btn-link me-3">
|
|
3366
|
+
<i t-if="item.icon" t-att-class="'me-2 fa ' + item.icon"/>
|
|
3367
|
+
<t t-esc="item.name"/>
|
|
3368
|
+
</div>
|
|
3369
|
+
</div>
|
|
3370
|
+
</Popover>
|
|
3371
|
+
</t>
|
|
3372
|
+
|
|
3356
3373
|
<t t-name="o-spreadsheet-SidePanelCollapsible">
|
|
3357
3374
|
<div class="p-1 m-1" t-att-class="props.class">
|
|
3358
3375
|
<div class="o_side_panel_collapsible_title d-flex align-items-center">
|
|
@@ -4168,7 +4185,7 @@
|
|
|
4168
4185
|
</select>
|
|
4169
4186
|
<div t-if="searchOptions.searchScope === 'specificRange'">
|
|
4170
4187
|
<SelectionInput
|
|
4171
|
-
ranges="[this.dataRange]"
|
|
4188
|
+
ranges="[this.state.dataRange]"
|
|
4172
4189
|
onSelectionChanged="(ranges) => this.onSearchRangeChanged(ranges)"
|
|
4173
4190
|
onSelectionConfirmed.bind="updateDataRange"
|
|
4174
4191
|
hasSingleRange="true"
|
|
@@ -4197,7 +4214,7 @@
|
|
|
4197
4214
|
/>
|
|
4198
4215
|
</div>
|
|
4199
4216
|
<div class="o-matches-count mt-4" t-if="store.toSearch !== ''">
|
|
4200
|
-
<div t-if="searchOptions.searchScope === 'specificRange' and dataRange != ''">
|
|
4217
|
+
<div t-if="searchOptions.searchScope === 'specificRange' and state.dataRange != ''">
|
|
4201
4218
|
<t t-esc="specificRangeMatchesCount"/>
|
|
4202
4219
|
</div>
|
|
4203
4220
|
<div>
|
|
@@ -4485,35 +4502,14 @@
|
|
|
4485
4502
|
</div>
|
|
4486
4503
|
</t>
|
|
4487
4504
|
|
|
4488
|
-
<t t-name="o-spreadsheet-PivotListItem">
|
|
4489
|
-
<div
|
|
4490
|
-
class="o_pivot_list_item p-4 border-bottom"
|
|
4491
|
-
t-ref="pivotListItem"
|
|
4492
|
-
t-on-click="this.selectPivot">
|
|
4493
|
-
<span t-esc="env.model.getters.getPivotDisplayName(props.pivotId)"/>
|
|
4494
|
-
</div>
|
|
4495
|
-
</t>
|
|
4496
|
-
|
|
4497
4505
|
<t t-name="o-spreadsheet-PivotSidePanel">
|
|
4498
|
-
<t t-
|
|
4499
|
-
<t t-else="">
|
|
4500
|
-
<t t-foreach="env.model.getters.getPivotIds()" t-as="pivotId" t-key="pivotId">
|
|
4501
|
-
<PivotListItem pivotId="pivotId"/>
|
|
4502
|
-
</t>
|
|
4503
|
-
</t>
|
|
4506
|
+
<t t-component="sidePanelEditor" t-props="props"/>
|
|
4504
4507
|
</t>
|
|
4505
4508
|
|
|
4506
4509
|
<t t-name="o-spreadsheet-PivotSpreadsheetSidePanel">
|
|
4507
4510
|
<div class="d-flex flex-column h-100 justify-content-between overflow-hidden">
|
|
4508
4511
|
<div class="h-100 overflow-auto">
|
|
4509
|
-
<
|
|
4510
|
-
<t t-set-slot="title">Name</t>
|
|
4511
|
-
<EditableName name="name" displayName="displayName" onChanged.bind="onNameChanged"/>
|
|
4512
|
-
<div class="btn btn-link o_duplicate_pivot" t-on-click="duplicatePivot">
|
|
4513
|
-
<i class="fa fa-solid fa-copy me-1"/>
|
|
4514
|
-
Duplicate Pivot
|
|
4515
|
-
</div>
|
|
4516
|
-
</Section>
|
|
4512
|
+
<PivotTitleSection pivotId="props.pivotId"/>
|
|
4517
4513
|
<Section>
|
|
4518
4514
|
<t t-set-slot="title">Range</t>
|
|
4519
4515
|
<SelectionInput
|
|
@@ -4540,10 +4536,6 @@
|
|
|
4540
4536
|
definition="definition"
|
|
4541
4537
|
onDimensionsUpdated.bind="onDimensionsUpdated"
|
|
4542
4538
|
/>
|
|
4543
|
-
<Section>
|
|
4544
|
-
<button class="btn btn-link sp_back" t-on-click="back">Back</button>
|
|
4545
|
-
<button class="btn btn-link sp_delete" t-on-click="delete">Delete</button>
|
|
4546
|
-
</Section>
|
|
4547
4539
|
</div>
|
|
4548
4540
|
<PivotDeferUpdate
|
|
4549
4541
|
deferUpdate="store.updatesAreDeferred"
|
|
@@ -4555,6 +4547,18 @@
|
|
|
4555
4547
|
</div>
|
|
4556
4548
|
</t>
|
|
4557
4549
|
|
|
4550
|
+
<t t-name="o-spreadsheet-PivotTitleSection">
|
|
4551
|
+
<Section>
|
|
4552
|
+
<t t-set-slot="title">
|
|
4553
|
+
<div class="d-flex flex-row justify-content-between align-items-center">
|
|
4554
|
+
Name
|
|
4555
|
+
<CogWheelMenu items="cogWheelMenuItems"/>
|
|
4556
|
+
</div>
|
|
4557
|
+
</t>
|
|
4558
|
+
<EditableName name="name" displayName="displayName" onChanged.bind="onNameChanged"/>
|
|
4559
|
+
</Section>
|
|
4560
|
+
</t>
|
|
4561
|
+
|
|
4558
4562
|
<t t-name="o-spreadsheet-RemoveDuplicatesPanel">
|
|
4559
4563
|
<div class="o-remove-duplicates">
|
|
4560
4564
|
<Section>
|
|
@@ -4615,6 +4619,7 @@
|
|
|
4615
4619
|
menuItems="props.menuItems"
|
|
4616
4620
|
position="menuPosition"
|
|
4617
4621
|
onClose.bind="onMenuClosed"
|
|
4622
|
+
menuId="menuId"
|
|
4618
4623
|
/>
|
|
4619
4624
|
</t>
|
|
4620
4625
|
|
|
@@ -4646,6 +4651,12 @@
|
|
|
4646
4651
|
<span t-esc="dateTimeFormatPreview"/>
|
|
4647
4652
|
</div>
|
|
4648
4653
|
</div>
|
|
4654
|
+
<div class="alert alert-primary d-flex align-items-center mt-2" role="alert">
|
|
4655
|
+
<div class="o-icon">
|
|
4656
|
+
<i class="fa fa-info"/>
|
|
4657
|
+
</div>
|
|
4658
|
+
<div>This setting affects all users.</div>
|
|
4659
|
+
</div>
|
|
4649
4660
|
</Section>
|
|
4650
4661
|
</div>
|
|
4651
4662
|
</t>
|