@odoo/o-spreadsheet 18.2.54 → 18.2.55
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 18.2.
|
|
6
|
-
* @date 2026-
|
|
7
|
-
* @hash
|
|
5
|
+
* @version 18.2.55
|
|
6
|
+
* @date 2026-06-06T06:20:23.893Z
|
|
7
|
+
* @hash 57b568a
|
|
8
8
|
*/
|
|
9
9
|
|
|
10
10
|
Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });
|
|
@@ -4047,6 +4047,7 @@ function detectLink(value) {
|
|
|
4047
4047
|
//#endregion
|
|
4048
4048
|
//#region src/helpers/format/format_tokenizer.ts
|
|
4049
4049
|
function tokenizeFormat(str) {
|
|
4050
|
+
str = str.replace(/\s/g, " ");
|
|
4050
4051
|
const chars = new TokenizingChars(str);
|
|
4051
4052
|
const result = [];
|
|
4052
4053
|
let currentFormatPart = [];
|
|
@@ -30710,11 +30711,10 @@ const INSERT_TABLE = (env) => {
|
|
|
30710
30711
|
if (interactiveCreateTable(env, env.model.getters.getActiveSheetId()).isSuccessful) env.openSidePanel("TableSidePanel", {});
|
|
30711
30712
|
};
|
|
30712
30713
|
const DELETE_SELECTED_TABLE = (env) => {
|
|
30713
|
-
const
|
|
30714
|
-
const table = env.model.getters.getTable(position);
|
|
30714
|
+
const table = env.model.getters.getFirstTableInSelection();
|
|
30715
30715
|
if (!table) return;
|
|
30716
30716
|
env.model.dispatch("REMOVE_TABLE", {
|
|
30717
|
-
sheetId:
|
|
30717
|
+
sheetId: env.model.getters.getActiveSheetId(),
|
|
30718
30718
|
target: [table.range.zone]
|
|
30719
30719
|
});
|
|
30720
30720
|
};
|
|
@@ -56534,9 +56534,11 @@ var PivotUIPlugin = class extends CoreViewPlugin {
|
|
|
56534
56534
|
this.refreshPivot(cmd.id);
|
|
56535
56535
|
break;
|
|
56536
56536
|
case "ADD_PIVOT":
|
|
56537
|
+
this.unusedPivots?.push(cmd.pivotId);
|
|
56537
56538
|
this.setupPivot(cmd.pivotId);
|
|
56538
56539
|
break;
|
|
56539
56540
|
case "DUPLICATE_PIVOT":
|
|
56541
|
+
this.unusedPivots?.push(cmd.newPivotId);
|
|
56540
56542
|
this.setupPivot(cmd.newPivotId);
|
|
56541
56543
|
break;
|
|
56542
56544
|
case "UPDATE_PIVOT":
|
|
@@ -56716,8 +56718,8 @@ var PivotUIPlugin = class extends CoreViewPlugin {
|
|
|
56716
56718
|
}
|
|
56717
56719
|
}
|
|
56718
56720
|
for (const pivotId of this.getters.getPivotIds()) {
|
|
56719
|
-
const pivot = this.getters.
|
|
56720
|
-
for (const measure of pivot.
|
|
56721
|
+
const pivot = this.getters.getPivotCoreDefinition(pivotId);
|
|
56722
|
+
for (const measure of pivot.measures) if (measure.computedBy) {
|
|
56721
56723
|
const { sheetId } = measure.computedBy;
|
|
56722
56724
|
const formula = this.getters.getMeasureCompiledFormula(pivotId, measure);
|
|
56723
56725
|
const relatedPivotIds = this.getPivotIdsFromFormula(sheetId, formula);
|
|
@@ -69166,6 +69168,6 @@ exports.stores = stores;
|
|
|
69166
69168
|
exports.tokenColors = tokenColors;
|
|
69167
69169
|
exports.tokenize = tokenize;
|
|
69168
69170
|
|
|
69169
|
-
__info__.version = "18.2.
|
|
69170
|
-
__info__.date = "2026-
|
|
69171
|
-
__info__.hash = "
|
|
69171
|
+
__info__.version = "18.2.55";
|
|
69172
|
+
__info__.date = "2026-06-06T06:20:23.893Z";
|
|
69173
|
+
__info__.hash = "57b568a";
|
package/dist/o_spreadsheet.css
CHANGED
|
@@ -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 2026-
|
|
7
|
-
* @hash
|
|
5
|
+
* @version 18.2.55
|
|
6
|
+
* @date 2026-06-06T06:20:25.457Z
|
|
7
|
+
* @hash 57b568a
|
|
8
8
|
*/
|
|
9
9
|
/* Originates from src/components/spreadsheet/spreadsheet.scss */
|
|
10
10
|
.o-spreadsheet {
|
|
@@ -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 2026-
|
|
7
|
-
* @hash
|
|
5
|
+
* @version 18.2.55
|
|
6
|
+
* @date 2026-06-06T06:20:23.893Z
|
|
7
|
+
* @hash 57b568a
|
|
8
8
|
*/
|
|
9
9
|
|
|
10
10
|
import { App, Component, blockDom, markRaw, onMounted, onPatched, onWillPatch, onWillStart, onWillUnmount, onWillUpdateProps, status, toRaw, useChildSubEnv, useComponent, useEffect, useEnv, useExternalListener, useRef, useState, useSubEnv, xml } from "@odoo/owl";
|
|
@@ -4046,6 +4046,7 @@ function detectLink(value) {
|
|
|
4046
4046
|
//#endregion
|
|
4047
4047
|
//#region src/helpers/format/format_tokenizer.ts
|
|
4048
4048
|
function tokenizeFormat(str) {
|
|
4049
|
+
str = str.replace(/\s/g, " ");
|
|
4049
4050
|
const chars = new TokenizingChars(str);
|
|
4050
4051
|
const result = [];
|
|
4051
4052
|
let currentFormatPart = [];
|
|
@@ -30709,11 +30710,10 @@ const INSERT_TABLE = (env) => {
|
|
|
30709
30710
|
if (interactiveCreateTable(env, env.model.getters.getActiveSheetId()).isSuccessful) env.openSidePanel("TableSidePanel", {});
|
|
30710
30711
|
};
|
|
30711
30712
|
const DELETE_SELECTED_TABLE = (env) => {
|
|
30712
|
-
const
|
|
30713
|
-
const table = env.model.getters.getTable(position);
|
|
30713
|
+
const table = env.model.getters.getFirstTableInSelection();
|
|
30714
30714
|
if (!table) return;
|
|
30715
30715
|
env.model.dispatch("REMOVE_TABLE", {
|
|
30716
|
-
sheetId:
|
|
30716
|
+
sheetId: env.model.getters.getActiveSheetId(),
|
|
30717
30717
|
target: [table.range.zone]
|
|
30718
30718
|
});
|
|
30719
30719
|
};
|
|
@@ -56349,9 +56349,11 @@ var PivotUIPlugin = class extends CoreViewPlugin {
|
|
|
56349
56349
|
this.refreshPivot(cmd.id);
|
|
56350
56350
|
break;
|
|
56351
56351
|
case "ADD_PIVOT":
|
|
56352
|
+
this.unusedPivots?.push(cmd.pivotId);
|
|
56352
56353
|
this.setupPivot(cmd.pivotId);
|
|
56353
56354
|
break;
|
|
56354
56355
|
case "DUPLICATE_PIVOT":
|
|
56356
|
+
this.unusedPivots?.push(cmd.newPivotId);
|
|
56355
56357
|
this.setupPivot(cmd.newPivotId);
|
|
56356
56358
|
break;
|
|
56357
56359
|
case "UPDATE_PIVOT":
|
|
@@ -56531,8 +56533,8 @@ var PivotUIPlugin = class extends CoreViewPlugin {
|
|
|
56531
56533
|
}
|
|
56532
56534
|
}
|
|
56533
56535
|
for (const pivotId of this.getters.getPivotIds()) {
|
|
56534
|
-
const pivot = this.getters.
|
|
56535
|
-
for (const measure of pivot.
|
|
56536
|
+
const pivot = this.getters.getPivotCoreDefinition(pivotId);
|
|
56537
|
+
for (const measure of pivot.measures) if (measure.computedBy) {
|
|
56536
56538
|
const { sheetId } = measure.computedBy;
|
|
56537
56539
|
const formula = this.getters.getMeasureCompiledFormula(pivotId, measure);
|
|
56538
56540
|
const relatedPivotIds = this.getPivotIdsFromFormula(sheetId, formula);
|
|
@@ -68935,6 +68937,6 @@ const chartHelpers = {
|
|
|
68935
68937
|
//#endregion
|
|
68936
68938
|
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 };
|
|
68937
68939
|
|
|
68938
|
-
__info__.version = "18.2.
|
|
68939
|
-
__info__.date = "2026-
|
|
68940
|
-
__info__.hash = "
|
|
68940
|
+
__info__.version = "18.2.55";
|
|
68941
|
+
__info__.date = "2026-06-06T06:20:23.893Z";
|
|
68942
|
+
__info__.hash = "57b568a";
|
|
@@ -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 2026-
|
|
7
|
-
* @hash
|
|
5
|
+
* @version 18.2.55
|
|
6
|
+
* @date 2026-06-06T06:20:23.893Z
|
|
7
|
+
* @hash 57b568a
|
|
8
8
|
*/
|
|
9
9
|
|
|
10
10
|
(function(exports, _odoo_owl) {
|
|
@@ -4048,6 +4048,7 @@ Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });
|
|
|
4048
4048
|
//#endregion
|
|
4049
4049
|
//#region src/helpers/format/format_tokenizer.ts
|
|
4050
4050
|
function tokenizeFormat(str) {
|
|
4051
|
+
str = str.replace(/\s/g, " ");
|
|
4051
4052
|
const chars = new TokenizingChars(str);
|
|
4052
4053
|
const result = [];
|
|
4053
4054
|
let currentFormatPart = [];
|
|
@@ -30711,11 +30712,10 @@ stores.inject(MyMetaStore, storeInstance);
|
|
|
30711
30712
|
if (interactiveCreateTable(env, env.model.getters.getActiveSheetId()).isSuccessful) env.openSidePanel("TableSidePanel", {});
|
|
30712
30713
|
};
|
|
30713
30714
|
const DELETE_SELECTED_TABLE = (env) => {
|
|
30714
|
-
const
|
|
30715
|
-
const table = env.model.getters.getTable(position);
|
|
30715
|
+
const table = env.model.getters.getFirstTableInSelection();
|
|
30716
30716
|
if (!table) return;
|
|
30717
30717
|
env.model.dispatch("REMOVE_TABLE", {
|
|
30718
|
-
sheetId:
|
|
30718
|
+
sheetId: env.model.getters.getActiveSheetId(),
|
|
30719
30719
|
target: [table.range.zone]
|
|
30720
30720
|
});
|
|
30721
30721
|
};
|
|
@@ -56351,9 +56351,11 @@ stores.inject(MyMetaStore, storeInstance);
|
|
|
56351
56351
|
this.refreshPivot(cmd.id);
|
|
56352
56352
|
break;
|
|
56353
56353
|
case "ADD_PIVOT":
|
|
56354
|
+
this.unusedPivots?.push(cmd.pivotId);
|
|
56354
56355
|
this.setupPivot(cmd.pivotId);
|
|
56355
56356
|
break;
|
|
56356
56357
|
case "DUPLICATE_PIVOT":
|
|
56358
|
+
this.unusedPivots?.push(cmd.newPivotId);
|
|
56357
56359
|
this.setupPivot(cmd.newPivotId);
|
|
56358
56360
|
break;
|
|
56359
56361
|
case "UPDATE_PIVOT":
|
|
@@ -56533,8 +56535,8 @@ stores.inject(MyMetaStore, storeInstance);
|
|
|
56533
56535
|
}
|
|
56534
56536
|
}
|
|
56535
56537
|
for (const pivotId of this.getters.getPivotIds()) {
|
|
56536
|
-
const pivot = this.getters.
|
|
56537
|
-
for (const measure of pivot.
|
|
56538
|
+
const pivot = this.getters.getPivotCoreDefinition(pivotId);
|
|
56539
|
+
for (const measure of pivot.measures) if (measure.computedBy) {
|
|
56538
56540
|
const { sheetId } = measure.computedBy;
|
|
56539
56541
|
const formula = this.getters.getMeasureCompiledFormula(pivotId, measure);
|
|
56540
56542
|
const relatedPivotIds = this.getPivotIdsFromFormula(sheetId, formula);
|
|
@@ -68983,8 +68985,8 @@ exports.stores = stores;
|
|
|
68983
68985
|
exports.tokenColors = tokenColors;
|
|
68984
68986
|
exports.tokenize = tokenize;
|
|
68985
68987
|
|
|
68986
|
-
__info__.version = "18.2.
|
|
68987
|
-
__info__.date = "2026-
|
|
68988
|
-
__info__.hash = "
|
|
68988
|
+
__info__.version = "18.2.55";
|
|
68989
|
+
__info__.date = "2026-06-06T06:20:23.893Z";
|
|
68990
|
+
__info__.hash = "57b568a";
|
|
68989
68991
|
|
|
68990
68992
|
})(this.o_spreadsheet = this.o_spreadsheet || {}, owl);
|