@odoo/o-spreadsheet 19.3.16 → 19.3.17
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 +50 -37
- package/dist/o_spreadsheet.css +5 -3
- package/dist/o_spreadsheet.esm.js +50 -37
- package/dist/o_spreadsheet.iife.js +50 -37
- package/dist/o_spreadsheet.min.iife.js +260 -260
- package/dist/o_spreadsheet.xml +3 -3
- package/dist/types/functions/helpers.d.ts +4 -0
- package/dist/types/functions/module_operators.d.ts +1 -1
- package/dist/types/functions/module_text.d.ts +11 -11
- package/dist/types/functions/module_web.d.ts +1 -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-08-
|
|
6
|
-
@hash
|
|
4
|
+
@version 19.3.17
|
|
5
|
+
@date 2026-08-21T15:31:51.753Z
|
|
6
|
+
@hash cf8c614
|
|
7
7
|
-->
|
|
8
8
|
<odoo>
|
|
9
9
|
<t t-name="o-spreadsheet-ValidationMessages">
|
|
@@ -17,6 +17,10 @@ export declare function strictToNumber(data: FunctionResultObject | CellValue |
|
|
|
17
17
|
export declare function toInteger(value: FunctionResultObject | CellValue | undefined, locale: Locale): number;
|
|
18
18
|
export declare function strictToInteger(value: FunctionResultObject | CellValue | undefined, locale: Locale): number;
|
|
19
19
|
export declare function toString(data: FunctionResultObject | CellValue | undefined): string;
|
|
20
|
+
/**
|
|
21
|
+
* Only converts the decimal separator, ignore number format such as % or dates
|
|
22
|
+
*/
|
|
23
|
+
export declare function toLocaleString(data: FunctionResultObject | CellValue | undefined, locale: Locale): string;
|
|
20
24
|
/**
|
|
21
25
|
* Normalize range by setting all the string in the range to lowercase and replacing
|
|
22
26
|
* accent letters with plain letters
|
|
@@ -8,7 +8,7 @@ export declare const ADD: {
|
|
|
8
8
|
export declare const CONCAT: {
|
|
9
9
|
description: string;
|
|
10
10
|
args: import("..").ArgDefinition[];
|
|
11
|
-
compute: (value1: Maybe<FunctionResultObject>, value2: Maybe<FunctionResultObject>) => string;
|
|
11
|
+
compute: (this: import("..").EvalContext, value1: Maybe<FunctionResultObject>, value2: Maybe<FunctionResultObject>) => string;
|
|
12
12
|
isExported: true;
|
|
13
13
|
};
|
|
14
14
|
export declare const DIVIDE: {
|
|
@@ -9,19 +9,19 @@ export declare const CHAR: {
|
|
|
9
9
|
export declare const CLEAN: {
|
|
10
10
|
description: string;
|
|
11
11
|
args: import("..").ArgDefinition[];
|
|
12
|
-
compute: (text: Maybe<FunctionResultObject>) => string;
|
|
12
|
+
compute: (this: import("..").EvalContext, text: Maybe<FunctionResultObject>) => string;
|
|
13
13
|
isExported: true;
|
|
14
14
|
};
|
|
15
15
|
export declare const CONCATENATE: {
|
|
16
16
|
description: string;
|
|
17
17
|
args: import("..").ArgDefinition[];
|
|
18
|
-
compute: (...datas: Arg[]) => string;
|
|
18
|
+
compute: (this: import("..").EvalContext, ...datas: Arg[]) => string;
|
|
19
19
|
isExported: true;
|
|
20
20
|
};
|
|
21
21
|
export declare const EXACT: {
|
|
22
22
|
description: string;
|
|
23
23
|
args: import("..").ArgDefinition[];
|
|
24
|
-
compute: (string1: Maybe<FunctionResultObject>, string2: Maybe<FunctionResultObject>) => boolean;
|
|
24
|
+
compute: (this: import("..").EvalContext, string1: Maybe<FunctionResultObject>, string2: Maybe<FunctionResultObject>) => boolean;
|
|
25
25
|
isExported: true;
|
|
26
26
|
};
|
|
27
27
|
export declare const FIND: {
|
|
@@ -38,7 +38,7 @@ export declare const FORMAT_LARGE_NUMBER: {
|
|
|
38
38
|
export declare const JOIN: {
|
|
39
39
|
description: string;
|
|
40
40
|
args: import("..").ArgDefinition[];
|
|
41
|
-
compute: (delimiter: Maybe<FunctionResultObject>, ...valuesOrArrays: Arg[]) => string;
|
|
41
|
+
compute: (this: import("..").EvalContext, delimiter: Maybe<FunctionResultObject>, ...valuesOrArrays: Arg[]) => string;
|
|
42
42
|
};
|
|
43
43
|
export declare const LEFT: {
|
|
44
44
|
description: string;
|
|
@@ -49,13 +49,13 @@ export declare const LEFT: {
|
|
|
49
49
|
export declare const LEN: {
|
|
50
50
|
description: string;
|
|
51
51
|
args: import("..").ArgDefinition[];
|
|
52
|
-
compute: (text: Maybe<FunctionResultObject>) => number;
|
|
52
|
+
compute: (this: import("..").EvalContext, text: Maybe<FunctionResultObject>) => number;
|
|
53
53
|
isExported: true;
|
|
54
54
|
};
|
|
55
55
|
export declare const LOWER: {
|
|
56
56
|
description: string;
|
|
57
57
|
args: import("..").ArgDefinition[];
|
|
58
|
-
compute: (text: Maybe<FunctionResultObject>) => string;
|
|
58
|
+
compute: (this: import("..").EvalContext, text: Maybe<FunctionResultObject>) => string;
|
|
59
59
|
isExported: true;
|
|
60
60
|
};
|
|
61
61
|
export declare const MID: {
|
|
@@ -67,7 +67,7 @@ export declare const MID: {
|
|
|
67
67
|
export declare const PROPER: {
|
|
68
68
|
description: string;
|
|
69
69
|
args: import("..").ArgDefinition[];
|
|
70
|
-
compute: (text: Maybe<FunctionResultObject>) => string;
|
|
70
|
+
compute: (this: import("..").EvalContext, text: Maybe<FunctionResultObject>) => string;
|
|
71
71
|
isExported: true;
|
|
72
72
|
};
|
|
73
73
|
export declare const REGEXTEST: {
|
|
@@ -117,7 +117,7 @@ export declare const SEARCH: {
|
|
|
117
117
|
export declare const SPLIT: {
|
|
118
118
|
description: string;
|
|
119
119
|
args: import("..").ArgDefinition[];
|
|
120
|
-
compute: (text: Maybe<FunctionResultObject>, delimiter: Maybe<FunctionResultObject>, splitByEach?: Maybe<FunctionResultObject>, removeEmptyText?: Maybe<FunctionResultObject>) => EvaluationError | import("..").Matrix<string>;
|
|
120
|
+
compute: (this: import("..").EvalContext, text: Maybe<FunctionResultObject>, delimiter: Maybe<FunctionResultObject>, splitByEach?: Maybe<FunctionResultObject>, removeEmptyText?: Maybe<FunctionResultObject>) => EvaluationError | import("..").Matrix<string>;
|
|
121
121
|
isExported: false;
|
|
122
122
|
};
|
|
123
123
|
export declare const SUBSTITUTE: {
|
|
@@ -129,7 +129,7 @@ export declare const SUBSTITUTE: {
|
|
|
129
129
|
export declare const TEXTJOIN: {
|
|
130
130
|
description: string;
|
|
131
131
|
args: import("..").ArgDefinition[];
|
|
132
|
-
compute: (delimiter: Maybe<FunctionResultObject>, ignoreEmpty?: Maybe<FunctionResultObject>, ...textsOrArrays: Arg[]) => string;
|
|
132
|
+
compute: (this: import("..").EvalContext, delimiter: Maybe<FunctionResultObject>, ignoreEmpty?: Maybe<FunctionResultObject>, ...textsOrArrays: Arg[]) => string;
|
|
133
133
|
isExported: true;
|
|
134
134
|
};
|
|
135
135
|
export declare const TEXTSPLIT: {
|
|
@@ -141,13 +141,13 @@ export declare const TEXTSPLIT: {
|
|
|
141
141
|
export declare const TRIM: {
|
|
142
142
|
description: string;
|
|
143
143
|
args: import("..").ArgDefinition[];
|
|
144
|
-
compute: (text: Maybe<FunctionResultObject>) => string;
|
|
144
|
+
compute: (this: import("..").EvalContext, text: Maybe<FunctionResultObject>) => string;
|
|
145
145
|
isExported: true;
|
|
146
146
|
};
|
|
147
147
|
export declare const UPPER: {
|
|
148
148
|
description: string;
|
|
149
149
|
args: import("..").ArgDefinition[];
|
|
150
|
-
compute: (text: Maybe<FunctionResultObject>) => string;
|
|
150
|
+
compute: (this: import("..").EvalContext, text: Maybe<FunctionResultObject>) => string;
|
|
151
151
|
isExported: true;
|
|
152
152
|
};
|
|
153
153
|
export declare const TEXT: {
|
|
@@ -2,6 +2,6 @@ import { FunctionResultObject, Maybe } from "../types/misc";
|
|
|
2
2
|
export declare const HYPERLINK: {
|
|
3
3
|
description: string;
|
|
4
4
|
args: import("..").ArgDefinition[];
|
|
5
|
-
compute: (url: Maybe<FunctionResultObject>, linkLabel: Maybe<FunctionResultObject>) => string;
|
|
5
|
+
compute: (this: import("..").EvalContext, url: Maybe<FunctionResultObject>, linkLabel: Maybe<FunctionResultObject>) => string;
|
|
6
6
|
isExported: true;
|
|
7
7
|
};
|