@odoo/o-spreadsheet 19.3.19 → 19.3.20
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 +488 -480
- package/dist/o_spreadsheet.css +6 -3
- package/dist/o_spreadsheet.esm.js +488 -480
- package/dist/o_spreadsheet.iife.js +488 -480
- package/dist/o_spreadsheet.min.iife.js +225 -225
- package/dist/o_spreadsheet.xml +9 -12
- package/dist/types/components/grid_overlay/grid_overlay.d.ts +1 -0
- package/dist/types/components/side_panel/chart/calendar_chart/calendar_chart_config_panel.d.ts +0 -2
- package/dist/types/plugins/core/range.d.ts +3 -1
- package/dist/types/plugins/ui_feature/geo_features.d.ts +2 -1
- 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 19.3.
|
|
5
|
-
@date 2026-09-
|
|
6
|
-
@hash
|
|
4
|
+
@version 19.3.20
|
|
5
|
+
@date 2026-09-10T05:38:04.162Z
|
|
6
|
+
@hash e488e8d
|
|
7
7
|
-->
|
|
8
8
|
<odoo>
|
|
9
9
|
<t t-name="o-spreadsheet-ValidationMessages">
|
|
@@ -3324,7 +3324,7 @@
|
|
|
3324
3324
|
updateChart="props.updateChart"
|
|
3325
3325
|
canUpdateChart="props.canUpdateChart"
|
|
3326
3326
|
onErrorMessagesChanged.bind="onErrorMessagesChanged"
|
|
3327
|
-
getLabelRangeOptions
|
|
3327
|
+
getLabelRangeOptions="() => []"
|
|
3328
3328
|
dataSeriesTitle.translate="Hierarchy"
|
|
3329
3329
|
labelRangeTitle.translate="Values"
|
|
3330
3330
|
/>
|
|
@@ -4129,7 +4129,7 @@
|
|
|
4129
4129
|
updateChart="props.updateChart"
|
|
4130
4130
|
canUpdateChart="props.canUpdateChart"
|
|
4131
4131
|
onErrorMessagesChanged.bind="onErrorMessagesChanged"
|
|
4132
|
-
getLabelRangeOptions
|
|
4132
|
+
getLabelRangeOptions="() => []"
|
|
4133
4133
|
labelRangeTitle.translate="Date range"
|
|
4134
4134
|
/>
|
|
4135
4135
|
|
|
@@ -4138,7 +4138,7 @@
|
|
|
4138
4138
|
<span class="w-100">Horizontal axis</span>
|
|
4139
4139
|
<Select
|
|
4140
4140
|
selectedValue="getGroupByType('horizontal') || ''"
|
|
4141
|
-
values="
|
|
4141
|
+
values="this.groupByChoices"
|
|
4142
4142
|
class="'o-horizontal-group-by'"
|
|
4143
4143
|
onChange="(value) => this.updateGroupBy('horizontal', value)"
|
|
4144
4144
|
/>
|
|
@@ -4147,7 +4147,7 @@
|
|
|
4147
4147
|
<span class="w-100">Vertical axis</span>
|
|
4148
4148
|
<Select
|
|
4149
4149
|
selectedValue="getGroupByType('vertical') || ''"
|
|
4150
|
-
values="
|
|
4150
|
+
values="this.groupByChoices"
|
|
4151
4151
|
class="'o-vertical-group-by'"
|
|
4152
4152
|
onChange="(value) => this.updateGroupBy('vertical', value)"
|
|
4153
4153
|
/>
|
|
@@ -6888,10 +6888,7 @@
|
|
|
6888
6888
|
t-on-click="onClick"
|
|
6889
6889
|
t-on-dblclick.self="onDoubleClick"
|
|
6890
6890
|
t-on-contextmenu.stop.prevent="onContextMenu">
|
|
6891
|
-
<GridAddRowsFooter
|
|
6892
|
-
t-if="!env.model.getters.isReadonly()"
|
|
6893
|
-
t-key="env.model.getters.getActiveSheetId()"
|
|
6894
|
-
/>
|
|
6891
|
+
<GridAddRowsFooter t-if="this.isFooterVisible" t-key="env.model.getters.getActiveSheetId()"/>
|
|
6895
6892
|
<t t-slot="default"/>
|
|
6896
6893
|
</div>
|
|
6897
6894
|
</t>
|
|
@@ -7551,7 +7548,7 @@
|
|
|
7551
7548
|
|
|
7552
7549
|
<t t-name="o-spreadsheet-SpreadsheetDashboard">
|
|
7553
7550
|
<div
|
|
7554
|
-
class="o-grid o-two-columns o-zoomable"
|
|
7551
|
+
class="o-grid o-dashboard-grid o-two-columns o-zoomable"
|
|
7555
7552
|
t-ref="dashboard"
|
|
7556
7553
|
tabindex="-1"
|
|
7557
7554
|
t-on-wheel="onMouseWheel"
|
package/dist/types/components/side_panel/chart/calendar_chart/calendar_chart_config_panel.d.ts
CHANGED
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
import { ValueAndLabel } from "../../../../types";
|
|
2
1
|
import { CalendarChartDefinition, CalendarChartGranularity } from "../../../../types/chart/calendar_chart";
|
|
3
2
|
import { Select } from "../../../select/select";
|
|
4
3
|
import { GenericChartConfigPanel } from "../building_blocks/generic_side_panel/config_panel";
|
|
@@ -16,7 +15,6 @@ export declare class CalendarChartConfigPanel extends GenericChartConfigPanel<Ch
|
|
|
16
15
|
value: "year" | "second_number" | "minute_number" | "hour_number" | "day_of_week" | "day_of_month" | "iso_week_number" | "month_number" | "quarter_number";
|
|
17
16
|
label: string;
|
|
18
17
|
}[];
|
|
19
|
-
getGroupByOptions(): ValueAndLabel[];
|
|
20
18
|
getGroupByType(currentAxis: "horizontal" | "vertical"): CalendarChartGranularity;
|
|
21
19
|
updateGroupBy(currentAxis: "horizontal" | "vertical", value: CalendarChartGranularity): void;
|
|
22
20
|
}
|
|
@@ -7,7 +7,7 @@ export declare class RangeAdapterPlugin implements CommandHandler<CoreCommand> {
|
|
|
7
7
|
private providers;
|
|
8
8
|
private isAdaptingRanges;
|
|
9
9
|
constructor(getters: CoreGetters);
|
|
10
|
-
static getters: readonly ["copyFormulaStringForSheet", "extendRange", "getRangeString", "getRangeFromSheetXC", "createAdaptedRanges", "getRangeData", "getRangeDataFromXc", "getRangeDataFromZone", "getRangeFromRangeData", "getRangeFromZone", "getRangesUnion", "recomputeRanges", "isRangeValid", "removeRangesSheetPrefix"];
|
|
10
|
+
static getters: readonly ["copyFormulaStringForSheet", "extendRange", "getRangeString", "getRangeFromSheetXC", "clipRangesToSheet", "clipRangeToSheet", "createAdaptedRanges", "getRangeData", "getRangeDataFromXc", "getRangeDataFromZone", "getRangeFromRangeData", "getRangeFromZone", "getRangesUnion", "recomputeRanges", "isRangeValid", "removeRangesSheetPrefix"];
|
|
11
11
|
allowDispatch(cmd: CoreCommand): CommandResult;
|
|
12
12
|
beforeHandle(command: Command): void;
|
|
13
13
|
handle(cmd: CoreCommand): void;
|
|
@@ -22,6 +22,8 @@ export declare class RangeAdapterPlugin implements CommandHandler<CoreCommand> {
|
|
|
22
22
|
* all ranges
|
|
23
23
|
*/
|
|
24
24
|
addRangeProvider(provider: RangeProvider["adaptRanges"]): void;
|
|
25
|
+
clipRangeToSheet(range: Range): Range | undefined;
|
|
26
|
+
clipRangesToSheet(ranges: Range[]): Range[];
|
|
25
27
|
createAdaptedRanges(ranges: Range[], offsetX: number, offsetY: number, sheetId: UID): Range[];
|
|
26
28
|
/**
|
|
27
29
|
* Remove the sheet name prefix if a range is part of the given sheet.
|
|
@@ -3,7 +3,7 @@ import { Command } from "../../types/commands";
|
|
|
3
3
|
import { UID } from "../../types/misc";
|
|
4
4
|
import { UIPlugin, UIPluginConfig } from "../ui_plugin";
|
|
5
5
|
export declare class GeoFeaturePlugin extends UIPlugin {
|
|
6
|
-
static getters: readonly ["getGeoJsonFeatures", "geoFeatureNameToId", "getGeoChartAvailableRegions", "getAvailableChartRegions"];
|
|
6
|
+
static getters: readonly ["getGeoJsonFeatures", "geoFeatureNameToId", "getGeoChartAvailableRegions", "getAvailableChartRegions", "loadUsedGeoJsonFeatures"];
|
|
7
7
|
private readonly geoJsonService;
|
|
8
8
|
private geoJsonCache;
|
|
9
9
|
/** Stores the initial region of each geo chart at the time of the START command */
|
|
@@ -19,5 +19,6 @@ export declare class GeoFeaturePlugin extends UIPlugin {
|
|
|
19
19
|
getAvailableChartRegions(chartId: UID): GeoChartRegion[];
|
|
20
20
|
getGeoJsonFeatures(region: string): GeoJSON.Feature[] | undefined;
|
|
21
21
|
geoFeatureNameToId(region: string, featureName: string): string | undefined;
|
|
22
|
+
loadUsedGeoJsonFeatures(): Promise<void>;
|
|
22
23
|
private convertToGeoJson;
|
|
23
24
|
}
|