@odoo/o-spreadsheet 18.3.49 → 18.3.50
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.3.
|
|
6
|
-
* @date 2026-
|
|
7
|
-
* @hash
|
|
5
|
+
* @version 18.3.50
|
|
6
|
+
* @date 2026-06-06T06:20:54.573Z
|
|
7
|
+
* @hash d8ca64d
|
|
8
8
|
*/
|
|
9
9
|
|
|
10
10
|
Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });
|
|
@@ -4075,6 +4075,7 @@ function detectLink(value) {
|
|
|
4075
4075
|
//#endregion
|
|
4076
4076
|
//#region src/helpers/format/format_tokenizer.ts
|
|
4077
4077
|
function tokenizeFormat(str) {
|
|
4078
|
+
str = str.replace(/\s/g, " ");
|
|
4078
4079
|
const chars = new TokenizingChars(str);
|
|
4079
4080
|
const result = [];
|
|
4080
4081
|
let currentFormatPart = [];
|
|
@@ -32851,11 +32852,10 @@ const INSERT_TABLE = (env) => {
|
|
|
32851
32852
|
if (interactiveCreateTable(env, env.model.getters.getActiveSheetId()).isSuccessful) env.openSidePanel("TableSidePanel", {});
|
|
32852
32853
|
};
|
|
32853
32854
|
const DELETE_SELECTED_TABLE = (env) => {
|
|
32854
|
-
const
|
|
32855
|
-
const table = env.model.getters.getTable(position);
|
|
32855
|
+
const table = env.model.getters.getFirstTableInSelection();
|
|
32856
32856
|
if (!table) return;
|
|
32857
32857
|
env.model.dispatch("REMOVE_TABLE", {
|
|
32858
|
-
sheetId:
|
|
32858
|
+
sheetId: env.model.getters.getActiveSheetId(),
|
|
32859
32859
|
target: [table.range.zone]
|
|
32860
32860
|
});
|
|
32861
32861
|
};
|
|
@@ -59166,9 +59166,11 @@ var PivotUIPlugin = class extends CoreViewPlugin {
|
|
|
59166
59166
|
this.refreshPivot(cmd.id);
|
|
59167
59167
|
break;
|
|
59168
59168
|
case "ADD_PIVOT":
|
|
59169
|
+
this.unusedPivots?.push(cmd.pivotId);
|
|
59169
59170
|
this.setupPivot(cmd.pivotId);
|
|
59170
59171
|
break;
|
|
59171
59172
|
case "DUPLICATE_PIVOT":
|
|
59173
|
+
this.unusedPivots?.push(cmd.newPivotId);
|
|
59172
59174
|
this.setupPivot(cmd.newPivotId);
|
|
59173
59175
|
break;
|
|
59174
59176
|
case "UPDATE_PIVOT":
|
|
@@ -59348,8 +59350,8 @@ var PivotUIPlugin = class extends CoreViewPlugin {
|
|
|
59348
59350
|
}
|
|
59349
59351
|
}
|
|
59350
59352
|
for (const pivotId of this.getters.getPivotIds()) {
|
|
59351
|
-
const pivot = this.getters.
|
|
59352
|
-
for (const measure of pivot.
|
|
59353
|
+
const pivot = this.getters.getPivotCoreDefinition(pivotId);
|
|
59354
|
+
for (const measure of pivot.measures) if (measure.computedBy) {
|
|
59353
59355
|
const { sheetId } = measure.computedBy;
|
|
59354
59356
|
const formula = this.getters.getMeasureCompiledFormula(pivotId, measure);
|
|
59355
59357
|
const relatedPivotIds = this.getPivotIdsFromFormula(sheetId, formula);
|
|
@@ -72452,6 +72454,6 @@ exports.stores = stores;
|
|
|
72452
72454
|
exports.tokenColors = tokenColors;
|
|
72453
72455
|
exports.tokenize = tokenize;
|
|
72454
72456
|
|
|
72455
|
-
__info__.version = "18.3.
|
|
72456
|
-
__info__.date = "2026-
|
|
72457
|
-
__info__.hash = "
|
|
72457
|
+
__info__.version = "18.3.50";
|
|
72458
|
+
__info__.date = "2026-06-06T06:20:54.573Z";
|
|
72459
|
+
__info__.hash = "d8ca64d";
|
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.3.
|
|
6
|
-
* @date 2026-
|
|
7
|
-
* @hash
|
|
5
|
+
* @version 18.3.50
|
|
6
|
+
* @date 2026-06-06T06:20:55.876Z
|
|
7
|
+
* @hash d8ca64d
|
|
8
8
|
*/
|
|
9
9
|
/* Originates from src/components/top_bar/top_bar.scss */
|
|
10
10
|
@media (max-width: 900px) {
|
|
@@ -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.3.
|
|
6
|
-
* @date 2026-
|
|
7
|
-
* @hash
|
|
5
|
+
* @version 18.3.50
|
|
6
|
+
* @date 2026-06-06T06:20:54.573Z
|
|
7
|
+
* @hash d8ca64d
|
|
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";
|
|
@@ -4074,6 +4074,7 @@ function detectLink(value) {
|
|
|
4074
4074
|
//#endregion
|
|
4075
4075
|
//#region src/helpers/format/format_tokenizer.ts
|
|
4076
4076
|
function tokenizeFormat(str) {
|
|
4077
|
+
str = str.replace(/\s/g, " ");
|
|
4077
4078
|
const chars = new TokenizingChars(str);
|
|
4078
4079
|
const result = [];
|
|
4079
4080
|
let currentFormatPart = [];
|
|
@@ -32850,11 +32851,10 @@ const INSERT_TABLE = (env) => {
|
|
|
32850
32851
|
if (interactiveCreateTable(env, env.model.getters.getActiveSheetId()).isSuccessful) env.openSidePanel("TableSidePanel", {});
|
|
32851
32852
|
};
|
|
32852
32853
|
const DELETE_SELECTED_TABLE = (env) => {
|
|
32853
|
-
const
|
|
32854
|
-
const table = env.model.getters.getTable(position);
|
|
32854
|
+
const table = env.model.getters.getFirstTableInSelection();
|
|
32855
32855
|
if (!table) return;
|
|
32856
32856
|
env.model.dispatch("REMOVE_TABLE", {
|
|
32857
|
-
sheetId:
|
|
32857
|
+
sheetId: env.model.getters.getActiveSheetId(),
|
|
32858
32858
|
target: [table.range.zone]
|
|
32859
32859
|
});
|
|
32860
32860
|
};
|
|
@@ -58981,9 +58981,11 @@ var PivotUIPlugin = class extends CoreViewPlugin {
|
|
|
58981
58981
|
this.refreshPivot(cmd.id);
|
|
58982
58982
|
break;
|
|
58983
58983
|
case "ADD_PIVOT":
|
|
58984
|
+
this.unusedPivots?.push(cmd.pivotId);
|
|
58984
58985
|
this.setupPivot(cmd.pivotId);
|
|
58985
58986
|
break;
|
|
58986
58987
|
case "DUPLICATE_PIVOT":
|
|
58988
|
+
this.unusedPivots?.push(cmd.newPivotId);
|
|
58987
58989
|
this.setupPivot(cmd.newPivotId);
|
|
58988
58990
|
break;
|
|
58989
58991
|
case "UPDATE_PIVOT":
|
|
@@ -59163,8 +59165,8 @@ var PivotUIPlugin = class extends CoreViewPlugin {
|
|
|
59163
59165
|
}
|
|
59164
59166
|
}
|
|
59165
59167
|
for (const pivotId of this.getters.getPivotIds()) {
|
|
59166
|
-
const pivot = this.getters.
|
|
59167
|
-
for (const measure of pivot.
|
|
59168
|
+
const pivot = this.getters.getPivotCoreDefinition(pivotId);
|
|
59169
|
+
for (const measure of pivot.measures) if (measure.computedBy) {
|
|
59168
59170
|
const { sheetId } = measure.computedBy;
|
|
59169
59171
|
const formula = this.getters.getMeasureCompiledFormula(pivotId, measure);
|
|
59170
59172
|
const relatedPivotIds = this.getPivotIdsFromFormula(sheetId, formula);
|
|
@@ -72220,6 +72222,6 @@ const chartHelpers = {
|
|
|
72220
72222
|
//#endregion
|
|
72221
72223
|
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, invalidateChartEvaluationCommands, invalidateDependenciesCommands, invalidateEvaluationCommands, iterateAstNodes, links, load, parse, parseTokens, readonlyAllowedCommands, registries, setDefaultSheetViewSize, setTranslationMethod, stores, tokenColors, tokenize };
|
|
72222
72224
|
|
|
72223
|
-
__info__.version = "18.3.
|
|
72224
|
-
__info__.date = "2026-
|
|
72225
|
-
__info__.hash = "
|
|
72225
|
+
__info__.version = "18.3.50";
|
|
72226
|
+
__info__.date = "2026-06-06T06:20:54.573Z";
|
|
72227
|
+
__info__.hash = "d8ca64d";
|
|
@@ -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.3.
|
|
6
|
-
* @date 2026-
|
|
7
|
-
* @hash
|
|
5
|
+
* @version 18.3.50
|
|
6
|
+
* @date 2026-06-06T06:20:54.573Z
|
|
7
|
+
* @hash d8ca64d
|
|
8
8
|
*/
|
|
9
9
|
|
|
10
10
|
(function(exports, _odoo_owl) {
|
|
@@ -4076,6 +4076,7 @@ Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });
|
|
|
4076
4076
|
//#endregion
|
|
4077
4077
|
//#region src/helpers/format/format_tokenizer.ts
|
|
4078
4078
|
function tokenizeFormat(str) {
|
|
4079
|
+
str = str.replace(/\s/g, " ");
|
|
4079
4080
|
const chars = new TokenizingChars(str);
|
|
4080
4081
|
const result = [];
|
|
4081
4082
|
let currentFormatPart = [];
|
|
@@ -32852,11 +32853,10 @@ stores.inject(MyMetaStore, storeInstance);
|
|
|
32852
32853
|
if (interactiveCreateTable(env, env.model.getters.getActiveSheetId()).isSuccessful) env.openSidePanel("TableSidePanel", {});
|
|
32853
32854
|
};
|
|
32854
32855
|
const DELETE_SELECTED_TABLE = (env) => {
|
|
32855
|
-
const
|
|
32856
|
-
const table = env.model.getters.getTable(position);
|
|
32856
|
+
const table = env.model.getters.getFirstTableInSelection();
|
|
32857
32857
|
if (!table) return;
|
|
32858
32858
|
env.model.dispatch("REMOVE_TABLE", {
|
|
32859
|
-
sheetId:
|
|
32859
|
+
sheetId: env.model.getters.getActiveSheetId(),
|
|
32860
32860
|
target: [table.range.zone]
|
|
32861
32861
|
});
|
|
32862
32862
|
};
|
|
@@ -58983,9 +58983,11 @@ stores.inject(MyMetaStore, storeInstance);
|
|
|
58983
58983
|
this.refreshPivot(cmd.id);
|
|
58984
58984
|
break;
|
|
58985
58985
|
case "ADD_PIVOT":
|
|
58986
|
+
this.unusedPivots?.push(cmd.pivotId);
|
|
58986
58987
|
this.setupPivot(cmd.pivotId);
|
|
58987
58988
|
break;
|
|
58988
58989
|
case "DUPLICATE_PIVOT":
|
|
58990
|
+
this.unusedPivots?.push(cmd.newPivotId);
|
|
58989
58991
|
this.setupPivot(cmd.newPivotId);
|
|
58990
58992
|
break;
|
|
58991
58993
|
case "UPDATE_PIVOT":
|
|
@@ -59165,8 +59167,8 @@ stores.inject(MyMetaStore, storeInstance);
|
|
|
59165
59167
|
}
|
|
59166
59168
|
}
|
|
59167
59169
|
for (const pivotId of this.getters.getPivotIds()) {
|
|
59168
|
-
const pivot = this.getters.
|
|
59169
|
-
for (const measure of pivot.
|
|
59170
|
+
const pivot = this.getters.getPivotCoreDefinition(pivotId);
|
|
59171
|
+
for (const measure of pivot.measures) if (measure.computedBy) {
|
|
59170
59172
|
const { sheetId } = measure.computedBy;
|
|
59171
59173
|
const formula = this.getters.getMeasureCompiledFormula(pivotId, measure);
|
|
59172
59174
|
const relatedPivotIds = this.getPivotIdsFromFormula(sheetId, formula);
|
|
@@ -72269,8 +72271,8 @@ exports.stores = stores;
|
|
|
72269
72271
|
exports.tokenColors = tokenColors;
|
|
72270
72272
|
exports.tokenize = tokenize;
|
|
72271
72273
|
|
|
72272
|
-
__info__.version = "18.3.
|
|
72273
|
-
__info__.date = "2026-
|
|
72274
|
-
__info__.hash = "
|
|
72274
|
+
__info__.version = "18.3.50";
|
|
72275
|
+
__info__.date = "2026-06-06T06:20:54.573Z";
|
|
72276
|
+
__info__.hash = "d8ca64d";
|
|
72275
72277
|
|
|
72276
72278
|
})(this.o_spreadsheet = this.o_spreadsheet || {}, owl);
|