@odoo/o-spreadsheet 19.1.0-alpha.11 → 19.1.0-alpha.12
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-engine.esm.js +17 -11
- package/dist/o-spreadsheet-engine.iife.js +17 -11
- package/dist/o-spreadsheet-engine.min.iife.js +3 -3
- package/dist/o-spreadsheet.d.ts +10 -339
- package/dist/o_spreadsheet.esm.js +70 -34
- package/dist/o_spreadsheet.iife.js +70 -34
- package/dist/o_spreadsheet.min.iife.js +4 -4
- package/dist/o_spreadsheet.xml +296 -207
- package/package.json +2 -2
|
@@ -3,8 +3,8 @@
|
|
|
3
3
|
* This file is generated by o-spreadsheet build tools. Do not edit it.
|
|
4
4
|
* @see https://github.com/odoo/o-spreadsheet
|
|
5
5
|
* @version 19.1.0-alpha.3
|
|
6
|
-
* @date 2025-11-
|
|
7
|
-
* @hash
|
|
6
|
+
* @date 2025-11-12T14:16:26.552Z
|
|
7
|
+
* @hash 6fefc9c
|
|
8
8
|
*/
|
|
9
9
|
|
|
10
10
|
class FunctionCodeBuilder {
|
|
@@ -5762,7 +5762,10 @@ function isInside(col, row, zone) {
|
|
|
5762
5762
|
* Check if a zone is inside another
|
|
5763
5763
|
*/
|
|
5764
5764
|
function isZoneInside(smallZone, biggerZone) {
|
|
5765
|
-
return
|
|
5765
|
+
return (smallZone.left >= biggerZone.left &&
|
|
5766
|
+
smallZone.right <= biggerZone.right &&
|
|
5767
|
+
smallZone.top >= biggerZone.top &&
|
|
5768
|
+
smallZone.bottom <= biggerZone.bottom);
|
|
5766
5769
|
}
|
|
5767
5770
|
function zoneToDimension(zone) {
|
|
5768
5771
|
return {
|
|
@@ -17906,7 +17909,7 @@ function getRangeString(range, forSheetId, getSheetName, options = { useBoundedR
|
|
|
17906
17909
|
let sheetName = "";
|
|
17907
17910
|
if (prefixSheet) {
|
|
17908
17911
|
if (range.invalidSheetName) {
|
|
17909
|
-
sheetName = range.invalidSheetName;
|
|
17912
|
+
sheetName = getCanonicalSymbolName(range.invalidSheetName);
|
|
17910
17913
|
}
|
|
17911
17914
|
else {
|
|
17912
17915
|
sheetName = getCanonicalSymbolName(getSheetName(range.sheetId));
|
|
@@ -19732,8 +19735,7 @@ function generateMasterChartConfig(chartJsConfig) {
|
|
|
19732
19735
|
.filter((ds) => !isTrendLineAxis(ds["xAxisID"]))
|
|
19733
19736
|
.map((ds) => ({
|
|
19734
19737
|
...ds,
|
|
19735
|
-
pointRadius: 0,
|
|
19736
|
-
showLine: true,
|
|
19738
|
+
pointRadius: ds.showLine === false ? 2 : 0, // Show points only for scatter plots
|
|
19737
19739
|
})),
|
|
19738
19740
|
},
|
|
19739
19741
|
options: {
|
|
@@ -38048,9 +38050,13 @@ async function canvasToObjectUrl(canvas) {
|
|
|
38048
38050
|
if (!blob) {
|
|
38049
38051
|
return undefined;
|
|
38050
38052
|
}
|
|
38051
|
-
|
|
38052
|
-
|
|
38053
|
-
|
|
38053
|
+
return new Promise((resolve) => {
|
|
38054
|
+
const f = new FileReader();
|
|
38055
|
+
f.addEventListener("load", () => {
|
|
38056
|
+
resolve(f.result);
|
|
38057
|
+
});
|
|
38058
|
+
f.readAsDataURL(blob);
|
|
38059
|
+
});
|
|
38054
38060
|
}
|
|
38055
38061
|
|
|
38056
38062
|
class EvaluationChartPlugin extends CoreViewPlugin {
|
|
@@ -50810,5 +50816,5 @@ export { BadExpressionError, BasePlugin, CellErrorType, CircularDependencyError,
|
|
|
50810
50816
|
|
|
50811
50817
|
|
|
50812
50818
|
__info__.version = "19.1.0-alpha.3";
|
|
50813
|
-
__info__.date = "2025-11-
|
|
50814
|
-
__info__.hash = "
|
|
50819
|
+
__info__.date = "2025-11-12T14:16:26.552Z";
|
|
50820
|
+
__info__.hash = "6fefc9c";
|
|
@@ -3,8 +3,8 @@
|
|
|
3
3
|
* This file is generated by o-spreadsheet build tools. Do not edit it.
|
|
4
4
|
* @see https://github.com/odoo/o-spreadsheet
|
|
5
5
|
* @version 19.1.0-alpha.3
|
|
6
|
-
* @date 2025-11-
|
|
7
|
-
* @hash
|
|
6
|
+
* @date 2025-11-12T14:16:26.552Z
|
|
7
|
+
* @hash 6fefc9c
|
|
8
8
|
*/
|
|
9
9
|
|
|
10
10
|
(function (exports) {
|
|
@@ -5765,7 +5765,10 @@
|
|
|
5765
5765
|
* Check if a zone is inside another
|
|
5766
5766
|
*/
|
|
5767
5767
|
function isZoneInside(smallZone, biggerZone) {
|
|
5768
|
-
return
|
|
5768
|
+
return (smallZone.left >= biggerZone.left &&
|
|
5769
|
+
smallZone.right <= biggerZone.right &&
|
|
5770
|
+
smallZone.top >= biggerZone.top &&
|
|
5771
|
+
smallZone.bottom <= biggerZone.bottom);
|
|
5769
5772
|
}
|
|
5770
5773
|
function zoneToDimension(zone) {
|
|
5771
5774
|
return {
|
|
@@ -17909,7 +17912,7 @@
|
|
|
17909
17912
|
let sheetName = "";
|
|
17910
17913
|
if (prefixSheet) {
|
|
17911
17914
|
if (range.invalidSheetName) {
|
|
17912
|
-
sheetName = range.invalidSheetName;
|
|
17915
|
+
sheetName = getCanonicalSymbolName(range.invalidSheetName);
|
|
17913
17916
|
}
|
|
17914
17917
|
else {
|
|
17915
17918
|
sheetName = getCanonicalSymbolName(getSheetName(range.sheetId));
|
|
@@ -19735,8 +19738,7 @@
|
|
|
19735
19738
|
.filter((ds) => !isTrendLineAxis(ds["xAxisID"]))
|
|
19736
19739
|
.map((ds) => ({
|
|
19737
19740
|
...ds,
|
|
19738
|
-
pointRadius: 0,
|
|
19739
|
-
showLine: true,
|
|
19741
|
+
pointRadius: ds.showLine === false ? 2 : 0, // Show points only for scatter plots
|
|
19740
19742
|
})),
|
|
19741
19743
|
},
|
|
19742
19744
|
options: {
|
|
@@ -38051,9 +38053,13 @@
|
|
|
38051
38053
|
if (!blob) {
|
|
38052
38054
|
return undefined;
|
|
38053
38055
|
}
|
|
38054
|
-
|
|
38055
|
-
|
|
38056
|
-
|
|
38056
|
+
return new Promise((resolve) => {
|
|
38057
|
+
const f = new FileReader();
|
|
38058
|
+
f.addEventListener("load", () => {
|
|
38059
|
+
resolve(f.result);
|
|
38060
|
+
});
|
|
38061
|
+
f.readAsDataURL(blob);
|
|
38062
|
+
});
|
|
38057
38063
|
}
|
|
38058
38064
|
|
|
38059
38065
|
class EvaluationChartPlugin extends CoreViewPlugin {
|
|
@@ -50921,8 +50927,8 @@
|
|
|
50921
50927
|
|
|
50922
50928
|
|
|
50923
50929
|
__info__.version = "19.1.0-alpha.3";
|
|
50924
|
-
__info__.date = "2025-11-
|
|
50925
|
-
__info__.hash = "
|
|
50930
|
+
__info__.date = "2025-11-12T14:16:26.552Z";
|
|
50931
|
+
__info__.hash = "6fefc9c";
|
|
50926
50932
|
|
|
50927
50933
|
|
|
50928
50934
|
})(this.o_spreadsheet_engine = this.o_spreadsheet_engine || {});
|