@odoo/o-spreadsheet 19.3.2 → 19.3.4
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 +878 -843
- package/dist/o_spreadsheet.css +3 -3
- package/dist/o_spreadsheet.esm.js +878 -843
- package/dist/o_spreadsheet.iife.js +880 -845
- package/dist/o_spreadsheet.min.iife.js +387 -387
- package/dist/o_spreadsheet.xml +6 -5
- package/dist/types/components/menu/menu.d.ts +5 -0
- package/dist/types/components/side_panel/chart/chart_type_picker/chart_type_picker.d.ts +3 -1
- package/dist/types/helpers/figures/chart.d.ts +1 -2
- package/package.json +20 -20
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-05-
|
|
6
|
-
@hash
|
|
4
|
+
@version 19.3.4
|
|
5
|
+
@date 2026-05-15T07:07:35.455Z
|
|
6
|
+
@hash 1dc7b42
|
|
7
7
|
-->
|
|
8
8
|
<odoo>
|
|
9
9
|
<t t-name="o-spreadsheet-ValidationMessages">
|
|
@@ -5137,6 +5137,7 @@
|
|
|
5137
5137
|
width="props.width"
|
|
5138
5138
|
autoSelectFirstItem="subMenu.autoSelectFirstItem"
|
|
5139
5139
|
onKeyboardNavigation.bind="this.onKeydown"
|
|
5140
|
+
disableKeyboardNavigation="this.props.disableKeyboardNavigation"
|
|
5140
5141
|
/>
|
|
5141
5142
|
</Popover>
|
|
5142
5143
|
</t>
|
|
@@ -7837,7 +7838,7 @@
|
|
|
7837
7838
|
t-on-pointermove="() => this.props.onValueHovered(proposal_index)">
|
|
7838
7839
|
<div class="d-flex align-items-center gap-2">
|
|
7839
7840
|
<div t-if="proposal.icon" t-call="{{proposal.icon}}"/>
|
|
7840
|
-
<div class="o-autocomplete-value text-truncate">
|
|
7841
|
+
<div class="o-autocomplete-value text-truncate flex-grow-1">
|
|
7841
7842
|
<t t-set="htmlContent" t-value="proposal.htmlContent || [{ value: proposal.text}]"/>
|
|
7842
7843
|
<span
|
|
7843
7844
|
t-foreach="htmlContent"
|
|
@@ -7922,7 +7923,7 @@
|
|
|
7922
7923
|
class="o-color-picker-line-item"
|
|
7923
7924
|
t-att-data-color="color"
|
|
7924
7925
|
t-attf-style="background-color:{{color}};"
|
|
7925
|
-
t-on-click="() => this.onColorClick(color)">
|
|
7926
|
+
t-on-click.stop="() => this.onColorClick(color)">
|
|
7926
7927
|
<div
|
|
7927
7928
|
t-if="isSameColor(props.currentColor, color)"
|
|
7928
7929
|
align="center"
|
|
@@ -16,6 +16,7 @@ export interface MenuProps {
|
|
|
16
16
|
isHoveredMenuFocused?: boolean;
|
|
17
17
|
width?: number;
|
|
18
18
|
onKeyDown?: (ev: KeyboardEvent) => void;
|
|
19
|
+
disableKeyboardNavigation?: boolean;
|
|
19
20
|
}
|
|
20
21
|
export interface MenuState {
|
|
21
22
|
isOpen: boolean;
|
|
@@ -61,6 +62,10 @@ export declare class Menu extends Component<MenuProps, SpreadsheetChildEnv> {
|
|
|
61
62
|
type: FunctionConstructor;
|
|
62
63
|
optional: boolean;
|
|
63
64
|
};
|
|
65
|
+
disableKeyboardNavigation: {
|
|
66
|
+
type: BooleanConstructor;
|
|
67
|
+
optional: boolean;
|
|
68
|
+
};
|
|
64
69
|
};
|
|
65
70
|
static components: {};
|
|
66
71
|
static defaultProps: {};
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import { Component } from "@odoo/owl";
|
|
2
|
+
import { ChartType } from "../../../../types/chart/chart";
|
|
2
3
|
import { ChartSubtypeProperties } from "../../../../types/chart_subtype_properties";
|
|
3
|
-
import {
|
|
4
|
+
import { UID } from "../../../../types/index";
|
|
4
5
|
import { SpreadsheetChildEnv } from "../../../../types/spreadsheet_env";
|
|
5
6
|
import { Popover, PopoverProps } from "../../../popover";
|
|
6
7
|
import { Section } from "../../components/section/section";
|
|
@@ -41,6 +42,7 @@ export declare class ChartTypePicker extends Component<Props, SpreadsheetChildEn
|
|
|
41
42
|
};
|
|
42
43
|
state: ChartTypePickerState;
|
|
43
44
|
setup(): void;
|
|
45
|
+
private getSupportedChartTypes;
|
|
44
46
|
onExternalClick(ev: MouseEvent): void;
|
|
45
47
|
onTypeChange(type: ChartType): void;
|
|
46
48
|
private getChartDefinition;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { RangeAdapterFunctions, UID } from "../..";
|
|
2
|
-
import { ChartCreationContext, ChartData, ChartDefinition
|
|
2
|
+
import { ChartCreationContext, ChartData, ChartDefinition } from "../../types/chart";
|
|
3
3
|
import { CoreGetters } from "../../types/core_getters";
|
|
4
4
|
import { Getters } from "../../types/getters";
|
|
5
5
|
import { Range } from "../../types/range";
|
|
@@ -16,7 +16,6 @@ export declare class SpreadsheetChart {
|
|
|
16
16
|
static fromDefinition(getters: CoreGetters, sheetId: UID, definition: ChartDefinition<Range>): SpreadsheetChart;
|
|
17
17
|
static validate(validator: Validator, definition: ChartDefinition<string>): import("../..").CommandResult | import("../..").CommandResult[];
|
|
18
18
|
static transformDefinition(chartSheetId: UID, definition: ChartDefinition<string>, rangeAdapters: RangeAdapterFunctions): import("../../types/chart").LineChartDefinition<string> | import("../../types/chart").PieChartDefinition<string> | import("../../types/chart").BarChartDefinition<string> | import("../../types/chart").ScatterChartDefinition<string> | import("../../types/chart/combo_chart").ComboChartDefinition<string> | import("../../types/chart").WaterfallChartDefinition<string> | import("../../types/chart").PyramidChartDefinition<string> | import("../../types/chart/radar_chart").RadarChartDefinition<string> | import("../../types/chart/geo_chart").GeoChartDefinition<string> | import("../../types/chart").FunnelChartDefinition<string> | import("../../types/chart").SunburstChartDefinition<string> | import("../../types/chart/tree_map_chart").TreeMapChartDefinition<string> | import("../../types/chart/calendar_chart").CalendarChartDefinition<string> | import("../../types/chart").ScorecardChartDefinition<string> | import("../../types/chart").GaugeChartDefinition<string>;
|
|
19
|
-
getSupportedChartTypes(): Set<ChartType>;
|
|
20
19
|
getRangeDefinition(): ChartDefinition<Range>;
|
|
21
20
|
getDefinition(): ChartDefinition<string>;
|
|
22
21
|
updateRanges(rangeAdapters: RangeAdapterFunctions): ChartDefinition<Range>;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@odoo/o-spreadsheet",
|
|
3
|
-
"version": "19.3.
|
|
3
|
+
"version": "19.3.4",
|
|
4
4
|
"description": "A spreadsheet component",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "dist/o_spreadsheet.cjs",
|
|
@@ -17,7 +17,7 @@
|
|
|
17
17
|
"node": ">=22.0.0"
|
|
18
18
|
},
|
|
19
19
|
"scripts": {
|
|
20
|
-
"
|
|
20
|
+
"prepare": "husky install",
|
|
21
21
|
"prettier": "prettier . --write",
|
|
22
22
|
"check-formatting": "prettier . --check && eslint",
|
|
23
23
|
"lint": "eslint --fix",
|
|
@@ -91,13 +91,13 @@
|
|
|
91
91
|
"jszip": "^3.6.0",
|
|
92
92
|
"lint-staged": "^12.1.2",
|
|
93
93
|
"live-server": "^1.2.1",
|
|
94
|
-
"luxon": "
|
|
94
|
+
"luxon": "3.7.2",
|
|
95
95
|
"minimist": "^1.2.8",
|
|
96
96
|
"node-watch": "^0.7.3",
|
|
97
97
|
"npm-run-all": "^4.1.5",
|
|
98
98
|
"prettier": "^2.8.0",
|
|
99
99
|
"prettier-plugin-organize-imports": "^3.2.2",
|
|
100
|
-
"rolldown": "^1.0.0
|
|
100
|
+
"rolldown": "^1.0.0",
|
|
101
101
|
"seedrandom": "^3.0.5",
|
|
102
102
|
"typescript": "^6.0.2",
|
|
103
103
|
"typescript-eslint": "^8.30.1",
|
|
@@ -115,21 +115,21 @@
|
|
|
115
115
|
"@swc/core-win32-arm64-msvc": "1.6.7",
|
|
116
116
|
"@swc/core-win32-ia32-msvc": "1.6.7",
|
|
117
117
|
"@swc/core-win32-x64-msvc": "1.6.7",
|
|
118
|
-
"@rolldown/binding-android-arm64": "1.0.0
|
|
119
|
-
"@rolldown/binding-darwin-arm64": "1.0.0
|
|
120
|
-
"@rolldown/binding-darwin-x64": "1.0.0
|
|
121
|
-
"@rolldown/binding-freebsd-x64": "1.0.0
|
|
122
|
-
"@rolldown/binding-linux-arm-gnueabihf": "1.0.0
|
|
123
|
-
"@rolldown/binding-linux-arm64-gnu": "1.0.0
|
|
124
|
-
"@rolldown/binding-linux-arm64-musl": "1.0.0
|
|
125
|
-
"@rolldown/binding-linux-ppc64-gnu": "1.0.0
|
|
126
|
-
"@rolldown/binding-linux-s390x-gnu": "1.0.0
|
|
127
|
-
"@rolldown/binding-linux-x64-gnu": "1.0.0
|
|
128
|
-
"@rolldown/binding-linux-x64-musl": "1.0.0
|
|
129
|
-
"@rolldown/binding-openharmony-arm64": "1.0.0
|
|
130
|
-
"@rolldown/binding-wasm32-wasi": "1.0.0
|
|
131
|
-
"@rolldown/binding-win32-arm64-msvc": "1.0.0
|
|
132
|
-
"@rolldown/binding-win32-x64-msvc": "1.0.0
|
|
118
|
+
"@rolldown/binding-android-arm64": "1.0.0",
|
|
119
|
+
"@rolldown/binding-darwin-arm64": "1.0.0",
|
|
120
|
+
"@rolldown/binding-darwin-x64": "1.0.0",
|
|
121
|
+
"@rolldown/binding-freebsd-x64": "1.0.0",
|
|
122
|
+
"@rolldown/binding-linux-arm-gnueabihf": "1.0.0",
|
|
123
|
+
"@rolldown/binding-linux-arm64-gnu": "1.0.0",
|
|
124
|
+
"@rolldown/binding-linux-arm64-musl": "1.0.0",
|
|
125
|
+
"@rolldown/binding-linux-ppc64-gnu": "1.0.0",
|
|
126
|
+
"@rolldown/binding-linux-s390x-gnu": "1.0.0",
|
|
127
|
+
"@rolldown/binding-linux-x64-gnu": "1.0.0",
|
|
128
|
+
"@rolldown/binding-linux-x64-musl": "1.0.0",
|
|
129
|
+
"@rolldown/binding-openharmony-arm64": "1.0.0",
|
|
130
|
+
"@rolldown/binding-wasm32-wasi": "1.0.0",
|
|
131
|
+
"@rolldown/binding-win32-arm64-msvc": "1.0.0",
|
|
132
|
+
"@rolldown/binding-win32-x64-msvc": "1.0.0"
|
|
133
133
|
},
|
|
134
134
|
"prettier": {
|
|
135
135
|
"printWidth": 100,
|
|
@@ -139,7 +139,7 @@
|
|
|
139
139
|
},
|
|
140
140
|
"dependencies": {
|
|
141
141
|
"@odoo/owl": "2.8.3",
|
|
142
|
-
"bootstrap": "
|
|
142
|
+
"bootstrap": "5.3.3",
|
|
143
143
|
"font-awesome": "^4.7.0",
|
|
144
144
|
"rbush": "^3.0.1"
|
|
145
145
|
},
|