@odoo/o-spreadsheet 18.5.0-alpha.4 → 18.5.0-alpha.6
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 +11239 -10611
- package/dist/o-spreadsheet.d.ts +191 -131
- package/dist/o-spreadsheet.esm.js +11239 -10611
- package/dist/o-spreadsheet.iife.js +11238 -10610
- package/dist/o-spreadsheet.iife.min.js +426 -457
- package/dist/o_spreadsheet.xml +83 -17
- 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 18.5.0-alpha.
|
|
5
|
-
@date 2025-
|
|
6
|
-
@hash
|
|
4
|
+
@version 18.5.0-alpha.6
|
|
5
|
+
@date 2025-08-05T06:28:37.212Z
|
|
6
|
+
@hash 67e091f
|
|
7
7
|
-->
|
|
8
8
|
<odoo>
|
|
9
9
|
<t t-name="o-spreadsheet-ValidationMessages">
|
|
@@ -989,6 +989,12 @@
|
|
|
989
989
|
allGranularities="getGranularitiesFor(col)"
|
|
990
990
|
/>
|
|
991
991
|
<PivotDimensionOrder dimension="col" onUpdated.bind="this.updateOrder"/>
|
|
992
|
+
<PivotCustomGroupsCollapsible
|
|
993
|
+
t-if="col.isCustomField"
|
|
994
|
+
pivotId="props.pivotId"
|
|
995
|
+
customField="getCustomField(col)"
|
|
996
|
+
onCustomFieldUpdated="props.onDimensionsUpdated"
|
|
997
|
+
/>
|
|
992
998
|
</PivotDimension>
|
|
993
999
|
</div>
|
|
994
1000
|
</t>
|
|
@@ -1015,6 +1021,12 @@
|
|
|
1015
1021
|
allGranularities="getGranularitiesFor(row)"
|
|
1016
1022
|
/>
|
|
1017
1023
|
<PivotDimensionOrder dimension="row" onUpdated.bind="this.updateOrder"/>
|
|
1024
|
+
<PivotCustomGroupsCollapsible
|
|
1025
|
+
t-if="row.isCustomField"
|
|
1026
|
+
pivotId="props.pivotId"
|
|
1027
|
+
customField="getCustomField(row)"
|
|
1028
|
+
onCustomFieldUpdated="props.onDimensionsUpdated"
|
|
1029
|
+
/>
|
|
1018
1030
|
</PivotDimension>
|
|
1019
1031
|
</div>
|
|
1020
1032
|
</t>
|
|
@@ -1243,6 +1255,42 @@
|
|
|
1243
1255
|
</Section>
|
|
1244
1256
|
</t>
|
|
1245
1257
|
|
|
1258
|
+
<t t-name="o-spreadsheet-PivotCustomGroupsCollapsible">
|
|
1259
|
+
<SidePanelCollapsible
|
|
1260
|
+
class="'o-pivot-custom-groups'"
|
|
1261
|
+
isInitiallyCollapsed="true"
|
|
1262
|
+
title.translate="Groups">
|
|
1263
|
+
<t t-set-slot="content">
|
|
1264
|
+
<div class="ps-4">
|
|
1265
|
+
<div
|
|
1266
|
+
t-foreach="groups"
|
|
1267
|
+
t-as="group"
|
|
1268
|
+
t-key="group_index"
|
|
1269
|
+
class="o-pivot-custom-group pb-1">
|
|
1270
|
+
<div
|
|
1271
|
+
class="d-flex align-items-center justify-content-between small"
|
|
1272
|
+
t-on-pointerdown.stop="">
|
|
1273
|
+
<TextInput
|
|
1274
|
+
value="group.name"
|
|
1275
|
+
onChange="(newName) => this.onRenameGroup(group_index, newName)"
|
|
1276
|
+
/>
|
|
1277
|
+
<i
|
|
1278
|
+
class="o-button-icon ps-3 fa fa-trash"
|
|
1279
|
+
t-on-click="() => this.onDeleteGroup(group_index)"
|
|
1280
|
+
/>
|
|
1281
|
+
</div>
|
|
1282
|
+
</div>
|
|
1283
|
+
<div
|
|
1284
|
+
t-if="!hasOthersGroup"
|
|
1285
|
+
class="o-button-link o-add-others-group small pb-1"
|
|
1286
|
+
t-on-click="() => this.addOthersGroup()">
|
|
1287
|
+
<span>+ "Others" group</span>
|
|
1288
|
+
</div>
|
|
1289
|
+
</div>
|
|
1290
|
+
</t>
|
|
1291
|
+
</SidePanelCollapsible>
|
|
1292
|
+
</t>
|
|
1293
|
+
|
|
1246
1294
|
<t t-name="o-spreadsheet-MoreFormatsPanel">
|
|
1247
1295
|
<div class="o-more-formats-panel">
|
|
1248
1296
|
<div
|
|
@@ -1913,7 +1961,7 @@
|
|
|
1913
1961
|
<div class="o-cf-data-bar-editor">
|
|
1914
1962
|
<div class="o-section-subtitle">Color</div>
|
|
1915
1963
|
<RoundColorPicker
|
|
1916
|
-
currentColor="
|
|
1964
|
+
currentColor="colorNumberToHex(rule.color)"
|
|
1917
1965
|
onColorPicked.bind="updateDataBarColor"
|
|
1918
1966
|
disableNoColor="true"
|
|
1919
1967
|
/>
|
|
@@ -2213,11 +2261,12 @@
|
|
|
2213
2261
|
|
|
2214
2262
|
<t t-name="o-spreadsheet-SidePanelCollapsible">
|
|
2215
2263
|
<div class="" t-att-class="props.class">
|
|
2216
|
-
<div
|
|
2264
|
+
<div
|
|
2265
|
+
class="o_side_panel_collapsible_title o-fw-bold d-flex align-items-center"
|
|
2266
|
+
t-on-click="() => this.toggle()">
|
|
2217
2267
|
<div
|
|
2218
2268
|
class="collapsor w-100 d-flex align-items-center ps-1"
|
|
2219
|
-
t-att-class="state.isCollapsed ? 'collapsed' : ''"
|
|
2220
|
-
t-on-click="() => this.toggle()">
|
|
2269
|
+
t-att-class="state.isCollapsed ? 'collapsed' : ''">
|
|
2221
2270
|
<span class="collapsor-arrow">
|
|
2222
2271
|
<t t-call="o-spreadsheet-Icon.ANGLE_DOWN"/>
|
|
2223
2272
|
</span>
|
|
@@ -5102,12 +5151,26 @@
|
|
|
5102
5151
|
</svg>
|
|
5103
5152
|
</t>
|
|
5104
5153
|
<t t-name="o-spreadsheet-Icon.PLUS_IN_BOX">
|
|
5105
|
-
<svg
|
|
5106
|
-
|
|
5107
|
-
|
|
5108
|
-
|
|
5109
|
-
|
|
5110
|
-
|
|
5154
|
+
<svg class="o-icon" width="18" height="18" style="">
|
|
5155
|
+
<path
|
|
5156
|
+
fill="currentColor"
|
|
5157
|
+
d="
|
|
5158
|
+
M.5 2A1.5 1.5 0 0 1 2 .5h14A1.5 1.5 0 0 1 17.5 2v14a1.5 1.5 0 0 1-1.5 1.5H2A1.5 1.5 0 0 1 .5 16V2H2v14h14V2H2
|
|
5159
|
+
M4,9.5 h10 v-1.5 h-10
|
|
5160
|
+
M8.25,3.75 v10 h1.5 v-10
|
|
5161
|
+
"
|
|
5162
|
+
/>
|
|
5163
|
+
</svg>
|
|
5164
|
+
</t>
|
|
5165
|
+
<t t-name="o-spreadsheet-Icon.MINUS_IN_BOX">
|
|
5166
|
+
<svg class="o-icon" width="18" height="18" style="">
|
|
5167
|
+
<path
|
|
5168
|
+
fill="currentColor"
|
|
5169
|
+
d="
|
|
5170
|
+
M.5 2A1.5 1.5 0 0 1 2 .5h14A1.5 1.5 0 0 1 17.5 2v14a1.5 1.5 0 0 1-1.5 1.5H2A1.5 1.5 0 0 1 .5 16V2H2v14h14V2H2
|
|
5171
|
+
M4,9.5 h10 v-1.5 h-10
|
|
5172
|
+
"
|
|
5173
|
+
/>
|
|
5111
5174
|
</svg>
|
|
5112
5175
|
</t>
|
|
5113
5176
|
<t t-name="o-spreadsheet-Icon.GROUP_ROWS">
|
|
@@ -6283,11 +6346,14 @@
|
|
|
6283
6346
|
</t>
|
|
6284
6347
|
)
|
|
6285
6348
|
</div>
|
|
6286
|
-
<
|
|
6287
|
-
class="
|
|
6349
|
+
<div
|
|
6350
|
+
class="collapsor px-2 d-flex align-items-center rounded"
|
|
6288
6351
|
t-att-class="state.isCollapsed ? 'collapsed' : ''"
|
|
6289
|
-
t-on-click="() => this.toggle()"
|
|
6290
|
-
|
|
6352
|
+
t-on-click="() => this.toggle()">
|
|
6353
|
+
<span class="collapsor-arrow d-inline-block">
|
|
6354
|
+
<t t-call="o-spreadsheet-Icon.ANGLE_DOWN"/>
|
|
6355
|
+
</span>
|
|
6356
|
+
</div>
|
|
6291
6357
|
</div>
|
|
6292
6358
|
|
|
6293
6359
|
<Collapse isCollapsed="state.isCollapsed">
|