@odoo/o-spreadsheet 17.4.13 → 17.4.14
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.
|
@@ -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 17.4.
|
|
6
|
-
* @date 2024-11-
|
|
7
|
-
* @hash
|
|
5
|
+
* @version 17.4.14
|
|
6
|
+
* @date 2024-11-28T09:08:12.462Z
|
|
7
|
+
* @hash 81bf386
|
|
8
8
|
*/
|
|
9
9
|
|
|
10
10
|
'use strict';
|
|
@@ -25183,9 +25183,12 @@ function createPyramidChartRuntime(chart, getters) {
|
|
|
25183
25183
|
if (datasets && datasets[1]) {
|
|
25184
25184
|
datasets[1].data = datasets[1].data.map((value) => (value > 0 ? -value : 0));
|
|
25185
25185
|
}
|
|
25186
|
+
const maxValue = Math.max(...config.data?.datasets.map((dataSet) => Math.max(...dataSet.data.map(Math.abs))));
|
|
25186
25187
|
const scales = config.options.scales;
|
|
25187
25188
|
const scalesXCallback = scales.x.ticks.callback;
|
|
25188
25189
|
scales.x.ticks.callback = (value) => scalesXCallback(Math.abs(value));
|
|
25190
|
+
scales.x.suggestedMin = -maxValue;
|
|
25191
|
+
scales.x.suggestedMax = maxValue;
|
|
25189
25192
|
const tooltipLabelCallback = config.options.plugins.tooltip.callbacks.label;
|
|
25190
25193
|
config.options.plugins.tooltip.callbacks.label = (item) => {
|
|
25191
25194
|
const tooltipItem = { ...item, parsed: { y: item.parsed.y, x: Math.abs(item.parsed.x) } };
|
|
@@ -54459,6 +54462,8 @@ class Evaluator {
|
|
|
54459
54462
|
}
|
|
54460
54463
|
this.nextPositionsToUpdate.addMany(this.getCellsDependingOn(invalidated));
|
|
54461
54464
|
this.nextPositionsToUpdate.addMany(this.getArrayFormulasBlockedBy(invalidated));
|
|
54465
|
+
[...invalidated].forEach((inv) => this.spreadingRelations.removeNode(inv));
|
|
54466
|
+
this.spreadingRelations.removeNode(position);
|
|
54462
54467
|
}
|
|
54463
54468
|
// ----------------------------------------------------------
|
|
54464
54469
|
// COMMON FUNCTIONALITY
|
|
@@ -68714,6 +68719,6 @@ exports.tokenColors = tokenColors;
|
|
|
68714
68719
|
exports.tokenize = tokenize;
|
|
68715
68720
|
|
|
68716
68721
|
|
|
68717
|
-
__info__.version = "17.4.
|
|
68718
|
-
__info__.date = "2024-11-
|
|
68719
|
-
__info__.hash = "
|
|
68722
|
+
__info__.version = "17.4.14";
|
|
68723
|
+
__info__.date = "2024-11-28T09:08:12.462Z";
|
|
68724
|
+
__info__.hash = "81bf386";
|
|
@@ -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 17.4.
|
|
6
|
-
* @date 2024-11-
|
|
7
|
-
* @hash
|
|
5
|
+
* @version 17.4.14
|
|
6
|
+
* @date 2024-11-28T09:08:12.462Z
|
|
7
|
+
* @hash 81bf386
|
|
8
8
|
*/
|
|
9
9
|
|
|
10
10
|
import { useEnv, useSubEnv, onWillUnmount, useComponent, status, Component, useRef, onMounted, useEffect, useState, onPatched, onWillPatch, onWillUpdateProps, useExternalListener, onWillStart, xml, useChildSubEnv, markRaw, toRaw } from '@odoo/owl';
|
|
@@ -25181,9 +25181,12 @@ function createPyramidChartRuntime(chart, getters) {
|
|
|
25181
25181
|
if (datasets && datasets[1]) {
|
|
25182
25182
|
datasets[1].data = datasets[1].data.map((value) => (value > 0 ? -value : 0));
|
|
25183
25183
|
}
|
|
25184
|
+
const maxValue = Math.max(...config.data?.datasets.map((dataSet) => Math.max(...dataSet.data.map(Math.abs))));
|
|
25184
25185
|
const scales = config.options.scales;
|
|
25185
25186
|
const scalesXCallback = scales.x.ticks.callback;
|
|
25186
25187
|
scales.x.ticks.callback = (value) => scalesXCallback(Math.abs(value));
|
|
25188
|
+
scales.x.suggestedMin = -maxValue;
|
|
25189
|
+
scales.x.suggestedMax = maxValue;
|
|
25187
25190
|
const tooltipLabelCallback = config.options.plugins.tooltip.callbacks.label;
|
|
25188
25191
|
config.options.plugins.tooltip.callbacks.label = (item) => {
|
|
25189
25192
|
const tooltipItem = { ...item, parsed: { y: item.parsed.y, x: Math.abs(item.parsed.x) } };
|
|
@@ -54457,6 +54460,8 @@ class Evaluator {
|
|
|
54457
54460
|
}
|
|
54458
54461
|
this.nextPositionsToUpdate.addMany(this.getCellsDependingOn(invalidated));
|
|
54459
54462
|
this.nextPositionsToUpdate.addMany(this.getArrayFormulasBlockedBy(invalidated));
|
|
54463
|
+
[...invalidated].forEach((inv) => this.spreadingRelations.removeNode(inv));
|
|
54464
|
+
this.spreadingRelations.removeNode(position);
|
|
54460
54465
|
}
|
|
54461
54466
|
// ----------------------------------------------------------
|
|
54462
54467
|
// COMMON FUNCTIONALITY
|
|
@@ -68669,6 +68674,6 @@ const constants = {
|
|
|
68669
68674
|
export { AbstractCellClipboardHandler, AbstractChart, AbstractFigureClipboardHandler, CellErrorType, CommandResult, CorePlugin, DispatchResult, EvaluationError, Model, PivotRuntimeDefinition, Registry, Revision, SPREADSHEET_DIMENSIONS, Spreadsheet, SpreadsheetPivotTable, UIPlugin, __info__, addFunction, addRenderingLayer, astToFormula, compile, compileTokens, components, constants, convertAstNodes, coreTypes, findCellInNewZone, functionCache, helpers, hooks, invalidateCFEvaluationCommands, invalidateDependenciesCommands, invalidateEvaluationCommands, iterateAstNodes, links, load, parse, parseTokens, readonlyAllowedCommands, registries, setDefaultSheetViewSize, setTranslationMethod, stores, tokenColors, tokenize };
|
|
68670
68675
|
|
|
68671
68676
|
|
|
68672
|
-
__info__.version = "17.4.
|
|
68673
|
-
__info__.date = "2024-11-
|
|
68674
|
-
__info__.hash = "
|
|
68677
|
+
__info__.version = "17.4.14";
|
|
68678
|
+
__info__.date = "2024-11-28T09:08:12.462Z";
|
|
68679
|
+
__info__.hash = "81bf386";
|
|
@@ -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 17.4.
|
|
6
|
-
* @date 2024-11-
|
|
7
|
-
* @hash
|
|
5
|
+
* @version 17.4.14
|
|
6
|
+
* @date 2024-11-28T09:08:12.462Z
|
|
7
|
+
* @hash 81bf386
|
|
8
8
|
*/
|
|
9
9
|
|
|
10
10
|
(function (exports, owl) {
|
|
@@ -25182,9 +25182,12 @@ stores.inject(MyMetaStore, storeInstance);
|
|
|
25182
25182
|
if (datasets && datasets[1]) {
|
|
25183
25183
|
datasets[1].data = datasets[1].data.map((value) => (value > 0 ? -value : 0));
|
|
25184
25184
|
}
|
|
25185
|
+
const maxValue = Math.max(...config.data?.datasets.map((dataSet) => Math.max(...dataSet.data.map(Math.abs))));
|
|
25185
25186
|
const scales = config.options.scales;
|
|
25186
25187
|
const scalesXCallback = scales.x.ticks.callback;
|
|
25187
25188
|
scales.x.ticks.callback = (value) => scalesXCallback(Math.abs(value));
|
|
25189
|
+
scales.x.suggestedMin = -maxValue;
|
|
25190
|
+
scales.x.suggestedMax = maxValue;
|
|
25188
25191
|
const tooltipLabelCallback = config.options.plugins.tooltip.callbacks.label;
|
|
25189
25192
|
config.options.plugins.tooltip.callbacks.label = (item) => {
|
|
25190
25193
|
const tooltipItem = { ...item, parsed: { y: item.parsed.y, x: Math.abs(item.parsed.x) } };
|
|
@@ -54458,6 +54461,8 @@ stores.inject(MyMetaStore, storeInstance);
|
|
|
54458
54461
|
}
|
|
54459
54462
|
this.nextPositionsToUpdate.addMany(this.getCellsDependingOn(invalidated));
|
|
54460
54463
|
this.nextPositionsToUpdate.addMany(this.getArrayFormulasBlockedBy(invalidated));
|
|
54464
|
+
[...invalidated].forEach((inv) => this.spreadingRelations.removeNode(inv));
|
|
54465
|
+
this.spreadingRelations.removeNode(position);
|
|
54461
54466
|
}
|
|
54462
54467
|
// ----------------------------------------------------------
|
|
54463
54468
|
// COMMON FUNCTIONALITY
|
|
@@ -68713,9 +68718,9 @@ stores.inject(MyMetaStore, storeInstance);
|
|
|
68713
68718
|
exports.tokenize = tokenize;
|
|
68714
68719
|
|
|
68715
68720
|
|
|
68716
|
-
__info__.version = "17.4.
|
|
68717
|
-
__info__.date = "2024-11-
|
|
68718
|
-
__info__.hash = "
|
|
68721
|
+
__info__.version = "17.4.14";
|
|
68722
|
+
__info__.date = "2024-11-28T09:08:12.462Z";
|
|
68723
|
+
__info__.hash = "81bf386";
|
|
68719
68724
|
|
|
68720
68725
|
|
|
68721
68726
|
})(this.o_spreadsheet = this.o_spreadsheet || {}, owl);
|