@odoo/o-spreadsheet 18.0.78 → 18.0.79
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.esm.js +52 -37
- package/dist/o-spreadsheet.iife.js +52 -37
- package/dist/o-spreadsheet.iife.min.js +287 -285
- 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 18.0.
|
|
5
|
-
@date 2026-08-
|
|
6
|
-
@hash
|
|
4
|
+
@version 18.0.79
|
|
5
|
+
@date 2026-08-21T15:27:47.620Z
|
|
6
|
+
@hash 173a29c
|
|
7
7
|
-->
|
|
8
8
|
<odoo>
|
|
9
9
|
<t t-name="o-spreadsheet-ActionButton">
|
|
@@ -16,6 +16,10 @@ export declare function strictToInteger(value: FunctionResultObject | CellValue
|
|
|
16
16
|
export declare function assertNumberGreaterThanOrEqualToOne(value: number): void;
|
|
17
17
|
export declare function assertNotZero(value: number): void;
|
|
18
18
|
export declare function toString(data: FunctionResultObject | CellValue | undefined): string;
|
|
19
|
+
/**
|
|
20
|
+
* Only converts the decimal separator, ignore number format such as % or dates
|
|
21
|
+
*/
|
|
22
|
+
export declare function toLocaleString(data: FunctionResultObject | CellValue | undefined, locale: Locale): string;
|
|
19
23
|
/**
|
|
20
24
|
* Normalize range by setting all the string in the range to lowercase and replacing
|
|
21
25
|
* accent letters with plain letters
|
|
@@ -7,7 +7,7 @@ export declare const ADD: {
|
|
|
7
7
|
export declare const CONCAT: {
|
|
8
8
|
description: string;
|
|
9
9
|
args: import("..").ArgDefinition[];
|
|
10
|
-
compute: (value1: Maybe<FunctionResultObject>, value2: Maybe<FunctionResultObject>) => string;
|
|
10
|
+
compute: (this: import("..").EvalContext, value1: Maybe<FunctionResultObject>, value2: Maybe<FunctionResultObject>) => string;
|
|
11
11
|
isExported: true;
|
|
12
12
|
};
|
|
13
13
|
export declare const DIVIDE: {
|
|
@@ -8,19 +8,19 @@ export declare const CHAR: {
|
|
|
8
8
|
export declare const CLEAN: {
|
|
9
9
|
description: string;
|
|
10
10
|
args: import("..").ArgDefinition[];
|
|
11
|
-
compute: (text: Maybe<FunctionResultObject>) => string;
|
|
11
|
+
compute: (this: import("..").EvalContext, text: Maybe<FunctionResultObject>) => string;
|
|
12
12
|
isExported: true;
|
|
13
13
|
};
|
|
14
14
|
export declare const CONCATENATE: {
|
|
15
15
|
description: string;
|
|
16
16
|
args: import("..").ArgDefinition[];
|
|
17
|
-
compute: (...datas: Arg[]) => string;
|
|
17
|
+
compute: (this: import("..").EvalContext, ...datas: Arg[]) => string;
|
|
18
18
|
isExported: true;
|
|
19
19
|
};
|
|
20
20
|
export declare const EXACT: {
|
|
21
21
|
description: string;
|
|
22
22
|
args: import("..").ArgDefinition[];
|
|
23
|
-
compute: (string1: Maybe<FunctionResultObject>, string2: Maybe<FunctionResultObject>) => boolean;
|
|
23
|
+
compute: (this: import("..").EvalContext, string1: Maybe<FunctionResultObject>, string2: Maybe<FunctionResultObject>) => boolean;
|
|
24
24
|
isExported: true;
|
|
25
25
|
};
|
|
26
26
|
export declare const FIND: {
|
|
@@ -32,7 +32,7 @@ export declare const FIND: {
|
|
|
32
32
|
export declare const JOIN: {
|
|
33
33
|
description: string;
|
|
34
34
|
args: import("..").ArgDefinition[];
|
|
35
|
-
compute: (delimiter: Maybe<FunctionResultObject>, ...valuesOrArrays: Arg[]) => string;
|
|
35
|
+
compute: (this: import("..").EvalContext, delimiter: Maybe<FunctionResultObject>, ...valuesOrArrays: Arg[]) => string;
|
|
36
36
|
};
|
|
37
37
|
export declare const LEFT: {
|
|
38
38
|
description: string;
|
|
@@ -43,13 +43,13 @@ export declare const LEFT: {
|
|
|
43
43
|
export declare const LEN: {
|
|
44
44
|
description: string;
|
|
45
45
|
args: import("..").ArgDefinition[];
|
|
46
|
-
compute: (text: Maybe<FunctionResultObject>) => number;
|
|
46
|
+
compute: (this: import("..").EvalContext, text: Maybe<FunctionResultObject>) => number;
|
|
47
47
|
isExported: true;
|
|
48
48
|
};
|
|
49
49
|
export declare const LOWER: {
|
|
50
50
|
description: string;
|
|
51
51
|
args: import("..").ArgDefinition[];
|
|
52
|
-
compute: (text: Maybe<FunctionResultObject>) => string;
|
|
52
|
+
compute: (this: import("..").EvalContext, text: Maybe<FunctionResultObject>) => string;
|
|
53
53
|
isExported: true;
|
|
54
54
|
};
|
|
55
55
|
export declare const MID: {
|
|
@@ -61,7 +61,7 @@ export declare const MID: {
|
|
|
61
61
|
export declare const PROPER: {
|
|
62
62
|
description: string;
|
|
63
63
|
args: import("..").ArgDefinition[];
|
|
64
|
-
compute: (text: Maybe<FunctionResultObject>) => string;
|
|
64
|
+
compute: (this: import("..").EvalContext, text: Maybe<FunctionResultObject>) => string;
|
|
65
65
|
isExported: true;
|
|
66
66
|
};
|
|
67
67
|
export declare const REPLACE: {
|
|
@@ -91,7 +91,7 @@ export declare const SEARCH: {
|
|
|
91
91
|
export declare const SPLIT: {
|
|
92
92
|
description: string;
|
|
93
93
|
args: import("..").ArgDefinition[];
|
|
94
|
-
compute: (text: Maybe<FunctionResultObject>, delimiter: Maybe<FunctionResultObject>, splitByEach?: Maybe<FunctionResultObject>, removeEmptyText?: Maybe<FunctionResultObject>) => Matrix<string>;
|
|
94
|
+
compute: (this: import("..").EvalContext, text: Maybe<FunctionResultObject>, delimiter: Maybe<FunctionResultObject>, splitByEach?: Maybe<FunctionResultObject>, removeEmptyText?: Maybe<FunctionResultObject>) => Matrix<string>;
|
|
95
95
|
isExported: false;
|
|
96
96
|
};
|
|
97
97
|
export declare const SUBSTITUTE: {
|
|
@@ -103,19 +103,19 @@ export declare const SUBSTITUTE: {
|
|
|
103
103
|
export declare const TEXTJOIN: {
|
|
104
104
|
description: string;
|
|
105
105
|
args: import("..").ArgDefinition[];
|
|
106
|
-
compute: (delimiter: Maybe<FunctionResultObject>, ignoreEmpty: Maybe<FunctionResultObject>, ...textsOrArrays: Arg[]) => string;
|
|
106
|
+
compute: (this: import("..").EvalContext, delimiter: Maybe<FunctionResultObject>, ignoreEmpty: Maybe<FunctionResultObject>, ...textsOrArrays: Arg[]) => string;
|
|
107
107
|
isExported: true;
|
|
108
108
|
};
|
|
109
109
|
export declare const TRIM: {
|
|
110
110
|
description: string;
|
|
111
111
|
args: import("..").ArgDefinition[];
|
|
112
|
-
compute: (text: Maybe<FunctionResultObject>) => string;
|
|
112
|
+
compute: (this: import("..").EvalContext, text: Maybe<FunctionResultObject>) => string;
|
|
113
113
|
isExported: true;
|
|
114
114
|
};
|
|
115
115
|
export declare const UPPER: {
|
|
116
116
|
description: string;
|
|
117
117
|
args: import("..").ArgDefinition[];
|
|
118
|
-
compute: (text: Maybe<FunctionResultObject>) => string;
|
|
118
|
+
compute: (this: import("..").EvalContext, text: Maybe<FunctionResultObject>) => string;
|
|
119
119
|
isExported: true;
|
|
120
120
|
};
|
|
121
121
|
export declare const TEXT: {
|
|
@@ -2,6 +2,6 @@ import { FunctionResultObject, Maybe } from "../types";
|
|
|
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
|
};
|