@odoo/o-spreadsheet 19.4.2 → 19.4.3
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 +277 -214
- package/dist/o_spreadsheet.css +3 -3
- package/dist/o_spreadsheet.esm.js +278 -215
- package/dist/o_spreadsheet.iife.js +277 -214
- package/dist/o_spreadsheet.min.iife.js +262 -262
- package/dist/o_spreadsheet.xml +3 -3
- package/dist/types/clipboard_handlers/default_clipboard.d.ts +1 -1
- package/dist/types/components/props_validation.d.ts +7 -7
- package/dist/types/components/side_panel/chart/common.d.ts +1 -1
- package/dist/types/formulas/compiler.d.ts +1 -0
- package/dist/types/helpers/misc.d.ts +1 -0
- package/dist/types/plugins/core/squisher.d.ts +1 -0
- package/dist/types/types/range.d.ts +1 -0
- package/package.json +2 -2
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.4.
|
|
5
|
-
@date 2026-07-
|
|
6
|
-
@hash
|
|
4
|
+
@version 19.4.3
|
|
5
|
+
@date 2026-07-20T11:02:37.915Z
|
|
6
|
+
@hash d32e61b
|
|
7
7
|
-->
|
|
8
8
|
<odoo>
|
|
9
9
|
<t t-name="o-spreadsheet-ValidationMessages">
|
|
@@ -15,7 +15,7 @@ type ClipboardContent = {
|
|
|
15
15
|
};
|
|
16
16
|
export declare class DefaultClipboardHandler extends AbstractCellClipboardHandler<ClipboardContent, unknown> {
|
|
17
17
|
copy(data: ClipboardCellData): ClipboardContent | undefined;
|
|
18
|
-
|
|
18
|
+
adaptContentToZone(zone: Zone, content: ClipboardContent): ClipboardContent;
|
|
19
19
|
paste(target: ClipboardPasteTarget, content: ClipboardContent, options: ClipboardOptions): void;
|
|
20
20
|
/**
|
|
21
21
|
* Clear the clipped zones: remove the cells and clear the formatting
|
|
@@ -133,7 +133,7 @@ export declare const types: {
|
|
|
133
133
|
DataValidationCriterionType: () => Type<"containsText" | "notContainsText" | "isEqualText" | "isEmail" | "isLink" | "dateIs" | "dateIsBefore" | "dateIsOnOrBefore" | "dateIsAfter" | "dateIsOnOrAfter" | "dateIsBetween" | "dateIsNotBetween" | "dateIsValid" | "isEqual" | "isNotEqual" | "isGreaterThan" | "isGreaterOrEqualTo" | "isLessThan" | "isLessOrEqualTo" | "isBetween" | "isNotBetween" | "isBoolean" | "isValueInList" | "isValueInRange" | "customFormula">;
|
|
134
134
|
Dimension: typeof validateDimension;
|
|
135
135
|
ContextMenuType: typeof validateContextMenuType;
|
|
136
|
-
and: <T extends any[]>(types: T) =>
|
|
136
|
+
and: <T extends any[]>(types: T) => import("@odoo/owl").ShapeType<import("@odoo/owl").MergedShape<T>, import("@odoo/owl").UnionToIntersection<import("@odoo/owl").StripBrands<T[number]>>>;
|
|
137
137
|
any: () => Type<any>;
|
|
138
138
|
array: {
|
|
139
139
|
(): Type<any[]>;
|
|
@@ -147,10 +147,10 @@ export declare const types: {
|
|
|
147
147
|
literal: <const T extends import("@odoo/owl").LiteralTypes>(literal: T) => Type<T>;
|
|
148
148
|
number: <T extends number = number>() => Type<T>;
|
|
149
149
|
object: {
|
|
150
|
-
():
|
|
151
|
-
<const Keys extends string[]>(keys: Keys):
|
|
152
|
-
<Shape extends {}>():
|
|
153
|
-
<Shape extends {}>(shape: Shape):
|
|
150
|
+
(): import("@odoo/owl").ShapeType<Record<string, any>, Record<string, any>>;
|
|
151
|
+
<const Keys extends string[]>(keys: Keys): import("@odoo/owl").ShapeType<Keys, import("@odoo/owl").ResolveOptionalEntries<import("@odoo/owl").KeyedObject<Keys>>>;
|
|
152
|
+
<Shape extends {}>(): import("@odoo/owl").ShapeType<Shape, import("@odoo/owl").ResolveOptionalEntries<Shape>>;
|
|
153
|
+
<Shape extends {}>(shape: Shape): import("@odoo/owl").ShapeType<Shape, import("@odoo/owl").ResolveOptionalEntries<Shape>>;
|
|
154
154
|
};
|
|
155
155
|
or: <T extends unknown[]>(types: T) => Type<import("@odoo/owl").StripBrands<T[number]>>;
|
|
156
156
|
promise: {
|
|
@@ -172,8 +172,8 @@ export declare const types: {
|
|
|
172
172
|
<T>(type: T): Type<import("@odoo/owl").ReactiveValue<import("@odoo/owl").StripBrands<T>>>;
|
|
173
173
|
};
|
|
174
174
|
strictObject: {
|
|
175
|
-
<const Keys extends string[]>(keys: Keys):
|
|
176
|
-
<Shape extends {}>(shape: Shape):
|
|
175
|
+
<const Keys extends string[]>(keys: Keys): import("@odoo/owl").ShapeType<Keys, import("@odoo/owl").ResolveOptionalEntries<import("@odoo/owl").KeyedObject<Keys>>>;
|
|
176
|
+
<Shape extends {}>(shape: Shape): import("@odoo/owl").ShapeType<Shape, import("@odoo/owl").ResolveOptionalEntries<Shape>>;
|
|
177
177
|
};
|
|
178
178
|
string: <T extends string = string>() => Type<T>;
|
|
179
179
|
tuple: <const T extends unknown[]>(types: T) => Type<import("@odoo/owl").StripBrandsAll<T>>;
|
|
@@ -10,7 +10,7 @@ export interface ChartSidePanelProps<T extends ChartDefinition<string>> {
|
|
|
10
10
|
export type ChartUpdateFunction<T extends ChartDefinition<string> = ChartDefinition<string>> = (chartId: UID, definition: Partial<T>) => DispatchResult;
|
|
11
11
|
export declare const chartSidePanelPropsDefinition: {
|
|
12
12
|
chartId: import("@odoo/owl").Type<UID>;
|
|
13
|
-
definition: import("@odoo/owl").
|
|
13
|
+
definition: import("@odoo/owl").ShapeType<{}, {}>;
|
|
14
14
|
canUpdateChart: import("@odoo/owl").Type<ChartUpdateFunction<ChartDefinition<string>>>;
|
|
15
15
|
updateChart: import("@odoo/owl").Type<ChartUpdateFunction<ChartDefinition<string>>>;
|
|
16
16
|
};
|
|
@@ -92,6 +92,7 @@ export declare class CompiledFormula implements Omit<ICompiledFormula, "tokens"
|
|
|
92
92
|
* Make a new instance of CompiledFormula by compiling the formula string as input by the user.
|
|
93
93
|
* */
|
|
94
94
|
static Compile(formula: string, sheetId: UID, getters: CoreGetters): CompiledFormula;
|
|
95
|
+
areRangeShapesInLineWithNormalizedFormula(): boolean;
|
|
95
96
|
}
|
|
96
97
|
/**
|
|
97
98
|
* A compiled formula serialized
|
|
@@ -30,6 +30,7 @@ export declare class Squisher {
|
|
|
30
30
|
private alreadyAppliedNumberOffsets;
|
|
31
31
|
private previousStrings;
|
|
32
32
|
private baseFormulaWasTransformed;
|
|
33
|
+
private rangeToStringOptions;
|
|
33
34
|
private baseNumber;
|
|
34
35
|
constructor(getters: CoreGetters);
|
|
35
36
|
/** Build the result object based on a transformation. Joins the numbers into a single string, tries to do the same
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@odoo/o-spreadsheet",
|
|
3
|
-
"version": "19.4.
|
|
3
|
+
"version": "19.4.3",
|
|
4
4
|
"description": "A spreadsheet component",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "dist/o_spreadsheet.cjs",
|
|
@@ -141,7 +141,7 @@
|
|
|
141
141
|
"xmlSelfClosingSpace": false
|
|
142
142
|
},
|
|
143
143
|
"dependencies": {
|
|
144
|
-
"@odoo/owl": "3.0.0-alpha.
|
|
144
|
+
"@odoo/owl": "3.0.0-alpha.43",
|
|
145
145
|
"bootstrap": "5.3.3",
|
|
146
146
|
"font-awesome": "^4.7.0",
|
|
147
147
|
"rbush": "^3.0.1"
|