@odoo/o-spreadsheet 18.2.23 → 18.2.25
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 +10 -12
- package/dist/o-spreadsheet.esm.js +10 -12
- package/dist/o-spreadsheet.iife.js +10 -12
- package/dist/o-spreadsheet.iife.min.js +5 -5
- package/dist/o_spreadsheet.xml +3 -3
- 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 18.2.
|
|
6
|
-
* @date 2025-
|
|
7
|
-
* @hash
|
|
5
|
+
* @version 18.2.25
|
|
6
|
+
* @date 2025-08-18T08:16:31.368Z
|
|
7
|
+
* @hash 6b63aad
|
|
8
8
|
*/
|
|
9
9
|
|
|
10
10
|
'use strict';
|
|
@@ -10652,6 +10652,7 @@ class ChartJsComponent extends owl.Component {
|
|
|
10652
10652
|
}
|
|
10653
10653
|
setup() {
|
|
10654
10654
|
owl.onMounted(() => {
|
|
10655
|
+
registerChartJSExtensions();
|
|
10655
10656
|
const runtime = this.chartRuntime;
|
|
10656
10657
|
this.currentRuntime = runtime;
|
|
10657
10658
|
// Note: chartJS modify the runtime in place, so it's important to give it a copy
|
|
@@ -19670,7 +19671,7 @@ const OFFSET = {
|
|
|
19670
19671
|
right: startingCol + offsetWidth - 1,
|
|
19671
19672
|
bottom: startingRow + offsetHeight - 1,
|
|
19672
19673
|
};
|
|
19673
|
-
const range = this.getters.getRangeFromZone(
|
|
19674
|
+
const range = this.getters.getRangeFromZone(sheetId, dependencyZone);
|
|
19674
19675
|
if (range.invalidXc || range.invalidSheetName) {
|
|
19675
19676
|
return new InvalidReferenceError();
|
|
19676
19677
|
}
|
|
@@ -46071,7 +46072,7 @@ class PivotLayoutConfigurator extends owl.Component {
|
|
|
46071
46072
|
this.props.onDimensionsUpdated(update);
|
|
46072
46073
|
}
|
|
46073
46074
|
getMeasureId(fieldName, aggregator) {
|
|
46074
|
-
const baseId = fieldName + (aggregator ? `:${aggregator}` : "");
|
|
46075
|
+
const baseId = fieldName.replaceAll("'", "") + (aggregator ? `:${aggregator}` : "");
|
|
46075
46076
|
let id = baseId;
|
|
46076
46077
|
let i = 2;
|
|
46077
46078
|
while (this.props.definition.measures.some((m) => m.id === id)) {
|
|
@@ -71076,9 +71077,7 @@ class ClickableCellsStore extends SpreadsheetStore {
|
|
|
71076
71077
|
}
|
|
71077
71078
|
if (!(xc in clickableCells[sheetId])) {
|
|
71078
71079
|
const clickableCell = this.findClickableItem(position);
|
|
71079
|
-
|
|
71080
|
-
clickableCells[sheetId][xc] = clickableCell;
|
|
71081
|
-
}
|
|
71080
|
+
clickableCells[sheetId][xc] = clickableCell;
|
|
71082
71081
|
}
|
|
71083
71082
|
return clickableCells[sheetId][xc];
|
|
71084
71083
|
}
|
|
@@ -72715,7 +72714,6 @@ class Spreadsheet extends owl.Component {
|
|
|
72715
72714
|
this.checkViewportSize();
|
|
72716
72715
|
stores.on("store-updated", this, render);
|
|
72717
72716
|
resizeObserver.observe(this.spreadsheetRef.el);
|
|
72718
|
-
registerChartJSExtensions();
|
|
72719
72717
|
});
|
|
72720
72718
|
owl.onWillUnmount(() => {
|
|
72721
72719
|
this.unbindModelEvents();
|
|
@@ -77259,6 +77257,6 @@ exports.tokenColors = tokenColors;
|
|
|
77259
77257
|
exports.tokenize = tokenize;
|
|
77260
77258
|
|
|
77261
77259
|
|
|
77262
|
-
__info__.version = "18.2.
|
|
77263
|
-
__info__.date = "2025-
|
|
77264
|
-
__info__.hash = "
|
|
77260
|
+
__info__.version = "18.2.25";
|
|
77261
|
+
__info__.date = "2025-08-18T08:16:31.368Z";
|
|
77262
|
+
__info__.hash = "6b63aad";
|
|
@@ -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 18.2.
|
|
6
|
-
* @date 2025-
|
|
7
|
-
* @hash
|
|
5
|
+
* @version 18.2.25
|
|
6
|
+
* @date 2025-08-18T08:16:31.368Z
|
|
7
|
+
* @hash 6b63aad
|
|
8
8
|
*/
|
|
9
9
|
|
|
10
10
|
import { useEnv, useSubEnv, onWillUnmount, useComponent, status, Component, useRef, onMounted, useEffect, App, blockDom, useState, onPatched, onWillPatch, onWillUpdateProps, useExternalListener, onWillStart, xml, useChildSubEnv, markRaw, toRaw } from '@odoo/owl';
|
|
@@ -10650,6 +10650,7 @@ class ChartJsComponent extends Component {
|
|
|
10650
10650
|
}
|
|
10651
10651
|
setup() {
|
|
10652
10652
|
onMounted(() => {
|
|
10653
|
+
registerChartJSExtensions();
|
|
10653
10654
|
const runtime = this.chartRuntime;
|
|
10654
10655
|
this.currentRuntime = runtime;
|
|
10655
10656
|
// Note: chartJS modify the runtime in place, so it's important to give it a copy
|
|
@@ -19668,7 +19669,7 @@ const OFFSET = {
|
|
|
19668
19669
|
right: startingCol + offsetWidth - 1,
|
|
19669
19670
|
bottom: startingRow + offsetHeight - 1,
|
|
19670
19671
|
};
|
|
19671
|
-
const range = this.getters.getRangeFromZone(
|
|
19672
|
+
const range = this.getters.getRangeFromZone(sheetId, dependencyZone);
|
|
19672
19673
|
if (range.invalidXc || range.invalidSheetName) {
|
|
19673
19674
|
return new InvalidReferenceError();
|
|
19674
19675
|
}
|
|
@@ -46069,7 +46070,7 @@ class PivotLayoutConfigurator extends Component {
|
|
|
46069
46070
|
this.props.onDimensionsUpdated(update);
|
|
46070
46071
|
}
|
|
46071
46072
|
getMeasureId(fieldName, aggregator) {
|
|
46072
|
-
const baseId = fieldName + (aggregator ? `:${aggregator}` : "");
|
|
46073
|
+
const baseId = fieldName.replaceAll("'", "") + (aggregator ? `:${aggregator}` : "");
|
|
46073
46074
|
let id = baseId;
|
|
46074
46075
|
let i = 2;
|
|
46075
46076
|
while (this.props.definition.measures.some((m) => m.id === id)) {
|
|
@@ -71074,9 +71075,7 @@ class ClickableCellsStore extends SpreadsheetStore {
|
|
|
71074
71075
|
}
|
|
71075
71076
|
if (!(xc in clickableCells[sheetId])) {
|
|
71076
71077
|
const clickableCell = this.findClickableItem(position);
|
|
71077
|
-
|
|
71078
|
-
clickableCells[sheetId][xc] = clickableCell;
|
|
71079
|
-
}
|
|
71078
|
+
clickableCells[sheetId][xc] = clickableCell;
|
|
71080
71079
|
}
|
|
71081
71080
|
return clickableCells[sheetId][xc];
|
|
71082
71081
|
}
|
|
@@ -72713,7 +72712,6 @@ class Spreadsheet extends Component {
|
|
|
72713
72712
|
this.checkViewportSize();
|
|
72714
72713
|
stores.on("store-updated", this, render);
|
|
72715
72714
|
resizeObserver.observe(this.spreadsheetRef.el);
|
|
72716
|
-
registerChartJSExtensions();
|
|
72717
72715
|
});
|
|
72718
72716
|
onWillUnmount(() => {
|
|
72719
72717
|
this.unbindModelEvents();
|
|
@@ -77212,6 +77210,6 @@ const chartHelpers = { ...CHART_HELPERS, ...CHART_RUNTIME_HELPERS };
|
|
|
77212
77210
|
export { AbstractCellClipboardHandler, AbstractChart, AbstractFigureClipboardHandler, CellErrorType, CommandResult, CorePlugin, CoreViewPlugin, DispatchResult, EvaluationError, Model, PivotRuntimeDefinition, Registry, Revision, SPREADSHEET_DIMENSIONS, Spreadsheet, SpreadsheetPivotTable, UIPlugin, __info__, addFunction, addRenderingLayer, astToFormula, chartHelpers, 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 };
|
|
77213
77211
|
|
|
77214
77212
|
|
|
77215
|
-
__info__.version = "18.2.
|
|
77216
|
-
__info__.date = "2025-
|
|
77217
|
-
__info__.hash = "
|
|
77213
|
+
__info__.version = "18.2.25";
|
|
77214
|
+
__info__.date = "2025-08-18T08:16:31.368Z";
|
|
77215
|
+
__info__.hash = "6b63aad";
|
|
@@ -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 18.2.
|
|
6
|
-
* @date 2025-
|
|
7
|
-
* @hash
|
|
5
|
+
* @version 18.2.25
|
|
6
|
+
* @date 2025-08-18T08:16:31.368Z
|
|
7
|
+
* @hash 6b63aad
|
|
8
8
|
*/
|
|
9
9
|
|
|
10
10
|
(function (exports, owl) {
|
|
@@ -10651,6 +10651,7 @@ stores.inject(MyMetaStore, storeInstance);
|
|
|
10651
10651
|
}
|
|
10652
10652
|
setup() {
|
|
10653
10653
|
owl.onMounted(() => {
|
|
10654
|
+
registerChartJSExtensions();
|
|
10654
10655
|
const runtime = this.chartRuntime;
|
|
10655
10656
|
this.currentRuntime = runtime;
|
|
10656
10657
|
// Note: chartJS modify the runtime in place, so it's important to give it a copy
|
|
@@ -19669,7 +19670,7 @@ stores.inject(MyMetaStore, storeInstance);
|
|
|
19669
19670
|
right: startingCol + offsetWidth - 1,
|
|
19670
19671
|
bottom: startingRow + offsetHeight - 1,
|
|
19671
19672
|
};
|
|
19672
|
-
const range = this.getters.getRangeFromZone(
|
|
19673
|
+
const range = this.getters.getRangeFromZone(sheetId, dependencyZone);
|
|
19673
19674
|
if (range.invalidXc || range.invalidSheetName) {
|
|
19674
19675
|
return new InvalidReferenceError();
|
|
19675
19676
|
}
|
|
@@ -46070,7 +46071,7 @@ stores.inject(MyMetaStore, storeInstance);
|
|
|
46070
46071
|
this.props.onDimensionsUpdated(update);
|
|
46071
46072
|
}
|
|
46072
46073
|
getMeasureId(fieldName, aggregator) {
|
|
46073
|
-
const baseId = fieldName + (aggregator ? `:${aggregator}` : "");
|
|
46074
|
+
const baseId = fieldName.replaceAll("'", "") + (aggregator ? `:${aggregator}` : "");
|
|
46074
46075
|
let id = baseId;
|
|
46075
46076
|
let i = 2;
|
|
46076
46077
|
while (this.props.definition.measures.some((m) => m.id === id)) {
|
|
@@ -71075,9 +71076,7 @@ stores.inject(MyMetaStore, storeInstance);
|
|
|
71075
71076
|
}
|
|
71076
71077
|
if (!(xc in clickableCells[sheetId])) {
|
|
71077
71078
|
const clickableCell = this.findClickableItem(position);
|
|
71078
|
-
|
|
71079
|
-
clickableCells[sheetId][xc] = clickableCell;
|
|
71080
|
-
}
|
|
71079
|
+
clickableCells[sheetId][xc] = clickableCell;
|
|
71081
71080
|
}
|
|
71082
71081
|
return clickableCells[sheetId][xc];
|
|
71083
71082
|
}
|
|
@@ -72714,7 +72713,6 @@ stores.inject(MyMetaStore, storeInstance);
|
|
|
72714
72713
|
this.checkViewportSize();
|
|
72715
72714
|
stores.on("store-updated", this, render);
|
|
72716
72715
|
resizeObserver.observe(this.spreadsheetRef.el);
|
|
72717
|
-
registerChartJSExtensions();
|
|
72718
72716
|
});
|
|
72719
72717
|
owl.onWillUnmount(() => {
|
|
72720
72718
|
this.unbindModelEvents();
|
|
@@ -77258,9 +77256,9 @@ stores.inject(MyMetaStore, storeInstance);
|
|
|
77258
77256
|
exports.tokenize = tokenize;
|
|
77259
77257
|
|
|
77260
77258
|
|
|
77261
|
-
__info__.version = "18.2.
|
|
77262
|
-
__info__.date = "2025-
|
|
77263
|
-
__info__.hash = "
|
|
77259
|
+
__info__.version = "18.2.25";
|
|
77260
|
+
__info__.date = "2025-08-18T08:16:31.368Z";
|
|
77261
|
+
__info__.hash = "6b63aad";
|
|
77264
77262
|
|
|
77265
77263
|
|
|
77266
77264
|
})(this.o_spreadsheet = this.o_spreadsheet || {}, owl);
|