@odoo/o-spreadsheet 18.5.0-alpha.7 → 18.5.0-alpha.8
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 +1048 -277
- package/dist/o-spreadsheet.d.ts +259 -159
- package/dist/o-spreadsheet.esm.js +1048 -277
- package/dist/o-spreadsheet.iife.js +1048 -277
- package/dist/o-spreadsheet.iife.min.js +425 -425
- package/dist/o_spreadsheet.xml +97 -3
- 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-08-
|
|
6
|
-
@hash
|
|
4
|
+
@version 18.5.0-alpha.8
|
|
5
|
+
@date 2025-08-18T08:18:48.925Z
|
|
6
|
+
@hash 994f1cb
|
|
7
7
|
-->
|
|
8
8
|
<odoo>
|
|
9
9
|
<t t-name="o-spreadsheet-ValidationMessages">
|
|
@@ -981,6 +981,15 @@
|
|
|
981
981
|
t-att-style="dragAndDrop.itemsStyle[col.nameWithGranularity]"
|
|
982
982
|
class="pt-1">
|
|
983
983
|
<PivotDimension dimension="col" onRemoved.bind="removeDimension">
|
|
984
|
+
<t t-set-slot="upper-right-icons">
|
|
985
|
+
<t t-set="errorMessage" t-value="getHugeDimensionErrorMessage(col)"/>
|
|
986
|
+
<i
|
|
987
|
+
t-if="errorMessage"
|
|
988
|
+
class="text-warning fa fa-exclamation-triangle"
|
|
989
|
+
t-att-title="errorMessage"
|
|
990
|
+
/>
|
|
991
|
+
</t>
|
|
992
|
+
|
|
984
993
|
<PivotDimensionGranularity
|
|
985
994
|
t-if="isDateOrDatetimeField(col)"
|
|
986
995
|
dimension="col"
|
|
@@ -1013,6 +1022,15 @@
|
|
|
1013
1022
|
t-att-style="dragAndDrop.itemsStyle[row.nameWithGranularity]"
|
|
1014
1023
|
class="pt-1">
|
|
1015
1024
|
<PivotDimension dimension="row" onRemoved.bind="removeDimension">
|
|
1025
|
+
<t t-set-slot="upper-right-icons">
|
|
1026
|
+
<t t-set="errorMessage" t-value="getHugeDimensionErrorMessage(row)"/>
|
|
1027
|
+
<i
|
|
1028
|
+
t-if="errorMessage"
|
|
1029
|
+
class="text-warning fa fa-exclamation-triangle"
|
|
1030
|
+
t-att-title="errorMessage"
|
|
1031
|
+
/>
|
|
1032
|
+
</t>
|
|
1033
|
+
|
|
1016
1034
|
<PivotDimensionGranularity
|
|
1017
1035
|
t-if="isDateOrDatetimeField(row)"
|
|
1018
1036
|
dimension="row"
|
|
@@ -2337,6 +2355,37 @@
|
|
|
2337
2355
|
</div>
|
|
2338
2356
|
</t>
|
|
2339
2357
|
|
|
2358
|
+
<t t-name="o-spreadsheet-GenericZoomableChartDesignPanel">
|
|
2359
|
+
<GeneralDesignEditor t-props="props">
|
|
2360
|
+
<t t-set-slot="general-extension">
|
|
2361
|
+
<ChartLegend t-props="props"/>
|
|
2362
|
+
<Section class="'pt-0'" title.translate="Values">
|
|
2363
|
+
<ChartShowValues t-props="props"/>
|
|
2364
|
+
</Section>
|
|
2365
|
+
<Section class="'pt-0'" title.translate="Zoom">
|
|
2366
|
+
<Checkbox
|
|
2367
|
+
name="'zoomable'"
|
|
2368
|
+
label.translate="Show slicer"
|
|
2369
|
+
value="props.definition.zoomable"
|
|
2370
|
+
onChange.bind="onToggleZoom"
|
|
2371
|
+
className="'mb-2'"
|
|
2372
|
+
/>
|
|
2373
|
+
</Section>
|
|
2374
|
+
</t>
|
|
2375
|
+
</GeneralDesignEditor>
|
|
2376
|
+
<SeriesWithAxisDesignEditor t-props="props"/>
|
|
2377
|
+
<SidePanelCollapsible isInitiallyCollapsed="true" title.translate="Axes">
|
|
2378
|
+
<t t-set-slot="content">
|
|
2379
|
+
<AxisDesignEditor
|
|
2380
|
+
axesList="axesList"
|
|
2381
|
+
chartId="props.chartId"
|
|
2382
|
+
definition="props.definition"
|
|
2383
|
+
updateChart="props.updateChart"
|
|
2384
|
+
/>
|
|
2385
|
+
</t>
|
|
2386
|
+
</SidePanelCollapsible>
|
|
2387
|
+
</t>
|
|
2388
|
+
|
|
2340
2389
|
<t t-name="o-spreadsheet-WaterfallChartDesignPanel">
|
|
2341
2390
|
<GeneralDesignEditor t-props="props">
|
|
2342
2391
|
<t t-set-slot="general-extension">
|
|
@@ -2352,6 +2401,15 @@
|
|
|
2352
2401
|
<Section class="'pt-0'" title.translate="Values">
|
|
2353
2402
|
<ChartShowValues t-props="props"/>
|
|
2354
2403
|
</Section>
|
|
2404
|
+
<Section class="'pt-0'" title.translate="Zoom">
|
|
2405
|
+
<Checkbox
|
|
2406
|
+
name="'zoomable'"
|
|
2407
|
+
label.translate="Show slicer"
|
|
2408
|
+
value="props.definition.zoomable"
|
|
2409
|
+
onChange.bind="onToggleZoom"
|
|
2410
|
+
className="'mb-2'"
|
|
2411
|
+
/>
|
|
2412
|
+
</Section>
|
|
2355
2413
|
</t>
|
|
2356
2414
|
</GeneralDesignEditor>
|
|
2357
2415
|
<SidePanelCollapsible isInitiallyCollapsed="true" title.translate="Waterfall design">
|
|
@@ -2793,6 +2851,15 @@
|
|
|
2793
2851
|
<ChartShowValues t-props="props"/>
|
|
2794
2852
|
<ChartShowDataMarkers t-props="props"/>
|
|
2795
2853
|
</Section>
|
|
2854
|
+
<Section class="'pt-0'" title.translate="Zoom">
|
|
2855
|
+
<Checkbox
|
|
2856
|
+
name="'zoomable'"
|
|
2857
|
+
label.translate="Show slicer"
|
|
2858
|
+
value="props.definition.zoomable"
|
|
2859
|
+
onChange.bind="onToggleZoom"
|
|
2860
|
+
className="'mb-2'"
|
|
2861
|
+
/>
|
|
2862
|
+
</Section>
|
|
2796
2863
|
</t>
|
|
2797
2864
|
</GeneralDesignEditor>
|
|
2798
2865
|
<SeriesWithAxisDesignEditor t-props="props"/>
|
|
@@ -3157,6 +3224,15 @@
|
|
|
3157
3224
|
<ChartShowValues t-props="props"/>
|
|
3158
3225
|
<ChartShowDataMarkers t-props="props"/>
|
|
3159
3226
|
</Section>
|
|
3227
|
+
<Section class="'pt-0'" title.translate="Zoom">
|
|
3228
|
+
<Checkbox
|
|
3229
|
+
name="'zoomable'"
|
|
3230
|
+
label.translate="Show slicer"
|
|
3231
|
+
value="props.definition.zoomable"
|
|
3232
|
+
onChange.bind="onToggleZoom"
|
|
3233
|
+
className="'mb-2'"
|
|
3234
|
+
/>
|
|
3235
|
+
</Section>
|
|
3160
3236
|
</t>
|
|
3161
3237
|
</GeneralDesignEditor>
|
|
3162
3238
|
<SeriesWithAxisDesignEditor t-props="props">
|
|
@@ -6302,6 +6378,24 @@
|
|
|
6302
6378
|
<canvas class="o-figure-canvas w-100 h-100" t-att-style="canvasStyle" t-ref="graphContainer"/>
|
|
6303
6379
|
</t>
|
|
6304
6380
|
|
|
6381
|
+
<t t-name="o-spreadsheet-ZoomableChartJsComponent">
|
|
6382
|
+
<div class="w-100 h-100" t-att-style="canvasStyle">
|
|
6383
|
+
<div t-att-style="containerStyle">
|
|
6384
|
+
<canvas class="o-figure-canvas w-100 h-100" t-ref="graphContainer"/>
|
|
6385
|
+
</div>
|
|
6386
|
+
<div t-if="sliceable" class="o-master-chart-container m-0">
|
|
6387
|
+
<canvas
|
|
6388
|
+
class="o-figure-canvas o-master-chart-canvas w-100 h-100"
|
|
6389
|
+
t-ref="masterChartCanvas"
|
|
6390
|
+
t-on-dblclick="onDoubleClickInMasterChart"
|
|
6391
|
+
t-on-pointerdown="onPointerDownInMasterChart"
|
|
6392
|
+
t-on-pointermove="onPointerMoveInMasterChart"
|
|
6393
|
+
t-on-mouseleave="onMouseLeaveMasterChart"
|
|
6394
|
+
/>
|
|
6395
|
+
</div>
|
|
6396
|
+
</div>
|
|
6397
|
+
</t>
|
|
6398
|
+
|
|
6305
6399
|
<t t-name="o-spreadsheet-ErrorToolTip">
|
|
6306
6400
|
<div class="o-error-tooltip">
|
|
6307
6401
|
<t t-if="evaluationError">
|