@odoo/o-spreadsheet 19.0.3 → 19.0.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.js +15 -12
- package/dist/o-spreadsheet.esm.js +15 -12
- package/dist/o-spreadsheet.iife.js +15 -12
- package/dist/o-spreadsheet.iife.min.js +4 -4
- package/dist/o_spreadsheet.xml +4 -4
- package/package.json +1 -1
|
@@ -2,9 +2,9 @@
|
|
|
2
2
|
/**
|
|
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
|
-
* @version 19.0.
|
|
6
|
-
* @date 2025-09-
|
|
7
|
-
* @hash
|
|
5
|
+
* @version 19.0.4
|
|
6
|
+
* @date 2025-09-23T12:37:28.362Z
|
|
7
|
+
* @hash 87b774d
|
|
8
8
|
*/
|
|
9
9
|
|
|
10
10
|
'use strict';
|
|
@@ -26773,7 +26773,7 @@ function getRadarChartScales(definition, args) {
|
|
|
26773
26773
|
},
|
|
26774
26774
|
pointLabels: {
|
|
26775
26775
|
color: chartFontColor(definition.background),
|
|
26776
|
-
callback: truncateLabel,
|
|
26776
|
+
callback: (label) => truncateLabel(label),
|
|
26777
26777
|
},
|
|
26778
26778
|
suggestedMin: minValue < 0 ? minValue - 1 : 0,
|
|
26779
26779
|
},
|
|
@@ -32452,13 +32452,13 @@ class CarouselFigure extends owl.Component {
|
|
|
32452
32452
|
}
|
|
32453
32453
|
get headerStyle() {
|
|
32454
32454
|
const cssProperties = {};
|
|
32455
|
-
if (this.selectedCarouselItem?.type === "
|
|
32456
|
-
cssProperties["background-color"] = "#ffffff";
|
|
32457
|
-
}
|
|
32458
|
-
else if (this.selectedCarouselItem?.type === "chart") {
|
|
32455
|
+
if (this.selectedCarouselItem?.type === "chart") {
|
|
32459
32456
|
const chart = this.env.model.getters.getChartRuntime(this.selectedCarouselItem.chartId);
|
|
32460
32457
|
cssProperties["background-color"] = chart.background;
|
|
32461
32458
|
}
|
|
32459
|
+
else {
|
|
32460
|
+
cssProperties["background-color"] = "#ffffff";
|
|
32461
|
+
}
|
|
32462
32462
|
return cssPropertiesToCss(cssProperties);
|
|
32463
32463
|
}
|
|
32464
32464
|
get title() {
|
|
@@ -74925,7 +74925,10 @@ class SortPlugin extends UIPlugin {
|
|
|
74925
74925
|
return "Success" /* CommandResult.Success */;
|
|
74926
74926
|
}
|
|
74927
74927
|
checkArrayFormulaInSortZone({ sheetId, zone }) {
|
|
74928
|
-
const arrayFormulaInZone = positions(zone).some(({ col, row }) =>
|
|
74928
|
+
const arrayFormulaInZone = positions(zone).some(({ col, row }) => {
|
|
74929
|
+
const originPosition = this.getters.getArrayFormulaSpreadingOn({ sheetId, col, row });
|
|
74930
|
+
return originPosition && !deepEquals(originPosition, { sheetId, col, row });
|
|
74931
|
+
});
|
|
74929
74932
|
return arrayFormulaInZone ? "SortZoneWithArrayFormulas" /* CommandResult.SortZoneWithArrayFormulas */ : "Success" /* CommandResult.Success */;
|
|
74930
74933
|
}
|
|
74931
74934
|
/**
|
|
@@ -88529,6 +88532,6 @@ exports.tokenColors = tokenColors;
|
|
|
88529
88532
|
exports.tokenize = tokenize;
|
|
88530
88533
|
|
|
88531
88534
|
|
|
88532
|
-
__info__.version = "19.0.
|
|
88533
|
-
__info__.date = "2025-09-
|
|
88534
|
-
__info__.hash = "
|
|
88535
|
+
__info__.version = "19.0.4";
|
|
88536
|
+
__info__.date = "2025-09-23T12:37:28.362Z";
|
|
88537
|
+
__info__.hash = "87b774d";
|
|
@@ -2,9 +2,9 @@
|
|
|
2
2
|
/**
|
|
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
|
-
* @version 19.0.
|
|
6
|
-
* @date 2025-09-
|
|
7
|
-
* @hash
|
|
5
|
+
* @version 19.0.4
|
|
6
|
+
* @date 2025-09-23T12:37:28.362Z
|
|
7
|
+
* @hash 87b774d
|
|
8
8
|
*/
|
|
9
9
|
|
|
10
10
|
import { useEnv, useSubEnv, onWillUnmount, useComponent, status, Component, useRef, onMounted, useEffect, App, blockDom, useState, onPatched, useExternalListener, onWillUpdateProps, onWillStart, onWillPatch, xml, useChildSubEnv, markRaw, toRaw } from '@odoo/owl';
|
|
@@ -26771,7 +26771,7 @@ function getRadarChartScales(definition, args) {
|
|
|
26771
26771
|
},
|
|
26772
26772
|
pointLabels: {
|
|
26773
26773
|
color: chartFontColor(definition.background),
|
|
26774
|
-
callback: truncateLabel,
|
|
26774
|
+
callback: (label) => truncateLabel(label),
|
|
26775
26775
|
},
|
|
26776
26776
|
suggestedMin: minValue < 0 ? minValue - 1 : 0,
|
|
26777
26777
|
},
|
|
@@ -32450,13 +32450,13 @@ class CarouselFigure extends Component {
|
|
|
32450
32450
|
}
|
|
32451
32451
|
get headerStyle() {
|
|
32452
32452
|
const cssProperties = {};
|
|
32453
|
-
if (this.selectedCarouselItem?.type === "
|
|
32454
|
-
cssProperties["background-color"] = "#ffffff";
|
|
32455
|
-
}
|
|
32456
|
-
else if (this.selectedCarouselItem?.type === "chart") {
|
|
32453
|
+
if (this.selectedCarouselItem?.type === "chart") {
|
|
32457
32454
|
const chart = this.env.model.getters.getChartRuntime(this.selectedCarouselItem.chartId);
|
|
32458
32455
|
cssProperties["background-color"] = chart.background;
|
|
32459
32456
|
}
|
|
32457
|
+
else {
|
|
32458
|
+
cssProperties["background-color"] = "#ffffff";
|
|
32459
|
+
}
|
|
32460
32460
|
return cssPropertiesToCss(cssProperties);
|
|
32461
32461
|
}
|
|
32462
32462
|
get title() {
|
|
@@ -74923,7 +74923,10 @@ class SortPlugin extends UIPlugin {
|
|
|
74923
74923
|
return "Success" /* CommandResult.Success */;
|
|
74924
74924
|
}
|
|
74925
74925
|
checkArrayFormulaInSortZone({ sheetId, zone }) {
|
|
74926
|
-
const arrayFormulaInZone = positions(zone).some(({ col, row }) =>
|
|
74926
|
+
const arrayFormulaInZone = positions(zone).some(({ col, row }) => {
|
|
74927
|
+
const originPosition = this.getters.getArrayFormulaSpreadingOn({ sheetId, col, row });
|
|
74928
|
+
return originPosition && !deepEquals(originPosition, { sheetId, col, row });
|
|
74929
|
+
});
|
|
74927
74930
|
return arrayFormulaInZone ? "SortZoneWithArrayFormulas" /* CommandResult.SortZoneWithArrayFormulas */ : "Success" /* CommandResult.Success */;
|
|
74928
74931
|
}
|
|
74929
74932
|
/**
|
|
@@ -88477,6 +88480,6 @@ const chartHelpers = { ...CHART_HELPERS, ...CHART_RUNTIME_HELPERS };
|
|
|
88477
88480
|
export { AbstractCellClipboardHandler, AbstractChart, AbstractFigureClipboardHandler, CellErrorType, ClientDisconnectedError, CommandResult, CorePlugin, CoreViewPlugin, DispatchResult, EvaluationError, LocalTransportService, Model, PivotRuntimeDefinition, Registry, Revision, SPREADSHEET_DIMENSIONS, Spreadsheet, SpreadsheetPivotTable, UIPlugin, __info__, addFunction, addRenderingLayer, astToFormula, chartHelpers, compile, compileTokens, components, constants, convertAstNodes, coreTypes, findCellInNewZone, functionCache, getCaretDownSvg, getCaretUpSvg, helpers, hooks, invalidateCFEvaluationCommands, invalidateChartEvaluationCommands, invalidateDependenciesCommands, invalidateEvaluationCommands, iterateAstNodes, links, load, parse, parseTokens, readonlyAllowedCommands, registries, setDefaultSheetViewSize, setTranslationMethod, stores, tokenColors, tokenize };
|
|
88478
88481
|
|
|
88479
88482
|
|
|
88480
|
-
__info__.version = "19.0.
|
|
88481
|
-
__info__.date = "2025-09-
|
|
88482
|
-
__info__.hash = "
|
|
88483
|
+
__info__.version = "19.0.4";
|
|
88484
|
+
__info__.date = "2025-09-23T12:37:28.362Z";
|
|
88485
|
+
__info__.hash = "87b774d";
|
|
@@ -2,9 +2,9 @@
|
|
|
2
2
|
/**
|
|
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
|
-
* @version 19.0.
|
|
6
|
-
* @date 2025-09-
|
|
7
|
-
* @hash
|
|
5
|
+
* @version 19.0.4
|
|
6
|
+
* @date 2025-09-23T12:37:28.362Z
|
|
7
|
+
* @hash 87b774d
|
|
8
8
|
*/
|
|
9
9
|
|
|
10
10
|
(function (exports, owl) {
|
|
@@ -26772,7 +26772,7 @@ stores.inject(MyMetaStore, storeInstance);
|
|
|
26772
26772
|
},
|
|
26773
26773
|
pointLabels: {
|
|
26774
26774
|
color: chartFontColor(definition.background),
|
|
26775
|
-
callback: truncateLabel,
|
|
26775
|
+
callback: (label) => truncateLabel(label),
|
|
26776
26776
|
},
|
|
26777
26777
|
suggestedMin: minValue < 0 ? minValue - 1 : 0,
|
|
26778
26778
|
},
|
|
@@ -32451,13 +32451,13 @@ stores.inject(MyMetaStore, storeInstance);
|
|
|
32451
32451
|
}
|
|
32452
32452
|
get headerStyle() {
|
|
32453
32453
|
const cssProperties = {};
|
|
32454
|
-
if (this.selectedCarouselItem?.type === "
|
|
32455
|
-
cssProperties["background-color"] = "#ffffff";
|
|
32456
|
-
}
|
|
32457
|
-
else if (this.selectedCarouselItem?.type === "chart") {
|
|
32454
|
+
if (this.selectedCarouselItem?.type === "chart") {
|
|
32458
32455
|
const chart = this.env.model.getters.getChartRuntime(this.selectedCarouselItem.chartId);
|
|
32459
32456
|
cssProperties["background-color"] = chart.background;
|
|
32460
32457
|
}
|
|
32458
|
+
else {
|
|
32459
|
+
cssProperties["background-color"] = "#ffffff";
|
|
32460
|
+
}
|
|
32461
32461
|
return cssPropertiesToCss(cssProperties);
|
|
32462
32462
|
}
|
|
32463
32463
|
get title() {
|
|
@@ -74924,7 +74924,10 @@ stores.inject(MyMetaStore, storeInstance);
|
|
|
74924
74924
|
return "Success" /* CommandResult.Success */;
|
|
74925
74925
|
}
|
|
74926
74926
|
checkArrayFormulaInSortZone({ sheetId, zone }) {
|
|
74927
|
-
const arrayFormulaInZone = positions(zone).some(({ col, row }) =>
|
|
74927
|
+
const arrayFormulaInZone = positions(zone).some(({ col, row }) => {
|
|
74928
|
+
const originPosition = this.getters.getArrayFormulaSpreadingOn({ sheetId, col, row });
|
|
74929
|
+
return originPosition && !deepEquals(originPosition, { sheetId, col, row });
|
|
74930
|
+
});
|
|
74928
74931
|
return arrayFormulaInZone ? "SortZoneWithArrayFormulas" /* CommandResult.SortZoneWithArrayFormulas */ : "Success" /* CommandResult.Success */;
|
|
74929
74932
|
}
|
|
74930
74933
|
/**
|
|
@@ -88528,9 +88531,9 @@ stores.inject(MyMetaStore, storeInstance);
|
|
|
88528
88531
|
exports.tokenize = tokenize;
|
|
88529
88532
|
|
|
88530
88533
|
|
|
88531
|
-
__info__.version = "19.0.
|
|
88532
|
-
__info__.date = "2025-09-
|
|
88533
|
-
__info__.hash = "
|
|
88534
|
+
__info__.version = "19.0.4";
|
|
88535
|
+
__info__.date = "2025-09-23T12:37:28.362Z";
|
|
88536
|
+
__info__.hash = "87b774d";
|
|
88534
88537
|
|
|
88535
88538
|
|
|
88536
88539
|
})(this.o_spreadsheet = this.o_spreadsheet || {}, owl);
|