@odoo/o-spreadsheet 17.4.7 → 17.4.8
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-09-
|
|
7
|
-
* @hash
|
|
5
|
+
* @version 17.4.8
|
|
6
|
+
* @date 2024-09-17T08:10:18.777Z
|
|
7
|
+
* @hash caad8bd
|
|
8
8
|
*/
|
|
9
9
|
|
|
10
10
|
'use strict';
|
|
@@ -28410,6 +28410,7 @@ const REINSERT_DYNAMIC_PIVOT_CHILDREN = (env) => env.model.getters.getPivotIds()
|
|
|
28410
28410
|
});
|
|
28411
28411
|
env.model.dispatch("REFRESH_PIVOT", { id: pivotId });
|
|
28412
28412
|
},
|
|
28413
|
+
isVisible: (env) => env.model.getters.getPivot(pivotId).isValid(),
|
|
28413
28414
|
}));
|
|
28414
28415
|
const REINSERT_STATIC_PIVOT_CHILDREN = (env) => env.model.getters.getPivotIds().map((pivotId, index) => ({
|
|
28415
28416
|
id: `reinsert_static_pivot_${env.model.getters.getPivotFormulaId(pivotId)}`,
|
|
@@ -28428,6 +28429,7 @@ const REINSERT_STATIC_PIVOT_CHILDREN = (env) => env.model.getters.getPivotIds().
|
|
|
28428
28429
|
});
|
|
28429
28430
|
env.model.dispatch("REFRESH_PIVOT", { id: pivotId });
|
|
28430
28431
|
},
|
|
28432
|
+
isVisible: (env) => env.model.getters.getPivot(pivotId).isValid(),
|
|
28431
28433
|
}));
|
|
28432
28434
|
//------------------------------------------------------------------------------
|
|
28433
28435
|
// Image
|
|
@@ -29299,7 +29301,7 @@ const reinsertDynamicPivotMenu = {
|
|
|
29299
29301
|
sequence: 1020,
|
|
29300
29302
|
icon: "o-spreadsheet-Icon.INSERT_PIVOT",
|
|
29301
29303
|
children: [REINSERT_DYNAMIC_PIVOT_CHILDREN],
|
|
29302
|
-
isVisible: (env) => env.model.getters.getPivotIds().
|
|
29304
|
+
isVisible: (env) => env.model.getters.getPivotIds().some((id) => env.model.getters.getPivot(id).isValid()),
|
|
29303
29305
|
};
|
|
29304
29306
|
const reinsertStaticPivotMenu = {
|
|
29305
29307
|
id: "reinsert_static_pivot",
|
|
@@ -29307,7 +29309,7 @@ const reinsertStaticPivotMenu = {
|
|
|
29307
29309
|
sequence: 1020,
|
|
29308
29310
|
icon: "o-spreadsheet-Icon.INSERT_PIVOT",
|
|
29309
29311
|
children: [REINSERT_STATIC_PIVOT_CHILDREN],
|
|
29310
|
-
isVisible: (env) => env.model.getters.getPivotIds().
|
|
29312
|
+
isVisible: (env) => env.model.getters.getPivotIds().some((id) => env.model.getters.getPivot(id).isValid()),
|
|
29311
29313
|
};
|
|
29312
29314
|
|
|
29313
29315
|
var ACTION_DATA = /*#__PURE__*/Object.freeze({
|
|
@@ -58662,6 +58664,7 @@ class CellComputedStylePlugin extends UIPlugin {
|
|
|
58662
58664
|
handle(cmd) {
|
|
58663
58665
|
if (invalidateEvaluationCommands.has(cmd.type) ||
|
|
58664
58666
|
cmd.type === "UPDATE_CELL" ||
|
|
58667
|
+
cmd.type === "SET_FORMATTING" ||
|
|
58665
58668
|
cmd.type === "EVALUATE_CELLS") {
|
|
58666
58669
|
this.styles = {};
|
|
58667
58670
|
this.borders = {};
|
|
@@ -68415,6 +68418,7 @@ const helpers = {
|
|
|
68415
68418
|
UNDO_REDO_PIVOT_COMMANDS,
|
|
68416
68419
|
createPivotFormula,
|
|
68417
68420
|
areDomainArgsFieldsValid,
|
|
68421
|
+
formatTickValue,
|
|
68418
68422
|
};
|
|
68419
68423
|
const links = {
|
|
68420
68424
|
isMarkdownLink,
|
|
@@ -68545,6 +68549,6 @@ exports.tokenColors = tokenColors;
|
|
|
68545
68549
|
exports.tokenize = tokenize;
|
|
68546
68550
|
|
|
68547
68551
|
|
|
68548
|
-
__info__.version = "17.4.
|
|
68549
|
-
__info__.date = "2024-09-
|
|
68550
|
-
__info__.hash = "
|
|
68552
|
+
__info__.version = "17.4.8";
|
|
68553
|
+
__info__.date = "2024-09-17T08:10:18.777Z";
|
|
68554
|
+
__info__.hash = "caad8bd";
|
package/dist/o-spreadsheet.d.ts
CHANGED
|
@@ -9456,6 +9456,7 @@ declare function getChartAxisTitleRuntime(design?: AxisDesign): {
|
|
|
9456
9456
|
};
|
|
9457
9457
|
align: "start" | "center" | "end";
|
|
9458
9458
|
} | undefined;
|
|
9459
|
+
declare function formatTickValue(localeFormat: LocaleFormat): (value: any) => any;
|
|
9459
9460
|
|
|
9460
9461
|
/**
|
|
9461
9462
|
* Get a default chart js configuration
|
|
@@ -11514,6 +11515,7 @@ declare const helpers: {
|
|
|
11514
11515
|
UNDO_REDO_PIVOT_COMMANDS: string[];
|
|
11515
11516
|
createPivotFormula: typeof createPivotFormula;
|
|
11516
11517
|
areDomainArgsFieldsValid: typeof areDomainArgsFieldsValid;
|
|
11518
|
+
formatTickValue: typeof formatTickValue;
|
|
11517
11519
|
};
|
|
11518
11520
|
declare const links: {
|
|
11519
11521
|
isMarkdownLink: typeof isMarkdownLink;
|
|
@@ -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-09-
|
|
7
|
-
* @hash
|
|
5
|
+
* @version 17.4.8
|
|
6
|
+
* @date 2024-09-17T08:10:18.777Z
|
|
7
|
+
* @hash caad8bd
|
|
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';
|
|
@@ -28408,6 +28408,7 @@ const REINSERT_DYNAMIC_PIVOT_CHILDREN = (env) => env.model.getters.getPivotIds()
|
|
|
28408
28408
|
});
|
|
28409
28409
|
env.model.dispatch("REFRESH_PIVOT", { id: pivotId });
|
|
28410
28410
|
},
|
|
28411
|
+
isVisible: (env) => env.model.getters.getPivot(pivotId).isValid(),
|
|
28411
28412
|
}));
|
|
28412
28413
|
const REINSERT_STATIC_PIVOT_CHILDREN = (env) => env.model.getters.getPivotIds().map((pivotId, index) => ({
|
|
28413
28414
|
id: `reinsert_static_pivot_${env.model.getters.getPivotFormulaId(pivotId)}`,
|
|
@@ -28426,6 +28427,7 @@ const REINSERT_STATIC_PIVOT_CHILDREN = (env) => env.model.getters.getPivotIds().
|
|
|
28426
28427
|
});
|
|
28427
28428
|
env.model.dispatch("REFRESH_PIVOT", { id: pivotId });
|
|
28428
28429
|
},
|
|
28430
|
+
isVisible: (env) => env.model.getters.getPivot(pivotId).isValid(),
|
|
28429
28431
|
}));
|
|
28430
28432
|
//------------------------------------------------------------------------------
|
|
28431
28433
|
// Image
|
|
@@ -29297,7 +29299,7 @@ const reinsertDynamicPivotMenu = {
|
|
|
29297
29299
|
sequence: 1020,
|
|
29298
29300
|
icon: "o-spreadsheet-Icon.INSERT_PIVOT",
|
|
29299
29301
|
children: [REINSERT_DYNAMIC_PIVOT_CHILDREN],
|
|
29300
|
-
isVisible: (env) => env.model.getters.getPivotIds().
|
|
29302
|
+
isVisible: (env) => env.model.getters.getPivotIds().some((id) => env.model.getters.getPivot(id).isValid()),
|
|
29301
29303
|
};
|
|
29302
29304
|
const reinsertStaticPivotMenu = {
|
|
29303
29305
|
id: "reinsert_static_pivot",
|
|
@@ -29305,7 +29307,7 @@ const reinsertStaticPivotMenu = {
|
|
|
29305
29307
|
sequence: 1020,
|
|
29306
29308
|
icon: "o-spreadsheet-Icon.INSERT_PIVOT",
|
|
29307
29309
|
children: [REINSERT_STATIC_PIVOT_CHILDREN],
|
|
29308
|
-
isVisible: (env) => env.model.getters.getPivotIds().
|
|
29310
|
+
isVisible: (env) => env.model.getters.getPivotIds().some((id) => env.model.getters.getPivot(id).isValid()),
|
|
29309
29311
|
};
|
|
29310
29312
|
|
|
29311
29313
|
var ACTION_DATA = /*#__PURE__*/Object.freeze({
|
|
@@ -58660,6 +58662,7 @@ class CellComputedStylePlugin extends UIPlugin {
|
|
|
58660
58662
|
handle(cmd) {
|
|
58661
58663
|
if (invalidateEvaluationCommands.has(cmd.type) ||
|
|
58662
58664
|
cmd.type === "UPDATE_CELL" ||
|
|
58665
|
+
cmd.type === "SET_FORMATTING" ||
|
|
58663
58666
|
cmd.type === "EVALUATE_CELLS") {
|
|
58664
58667
|
this.styles = {};
|
|
58665
58668
|
this.borders = {};
|
|
@@ -68413,6 +68416,7 @@ const helpers = {
|
|
|
68413
68416
|
UNDO_REDO_PIVOT_COMMANDS,
|
|
68414
68417
|
createPivotFormula,
|
|
68415
68418
|
areDomainArgsFieldsValid,
|
|
68419
|
+
formatTickValue,
|
|
68416
68420
|
};
|
|
68417
68421
|
const links = {
|
|
68418
68422
|
isMarkdownLink,
|
|
@@ -68500,6 +68504,6 @@ const constants = {
|
|
|
68500
68504
|
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 };
|
|
68501
68505
|
|
|
68502
68506
|
|
|
68503
|
-
__info__.version = "17.4.
|
|
68504
|
-
__info__.date = "2024-09-
|
|
68505
|
-
__info__.hash = "
|
|
68507
|
+
__info__.version = "17.4.8";
|
|
68508
|
+
__info__.date = "2024-09-17T08:10:18.777Z";
|
|
68509
|
+
__info__.hash = "caad8bd";
|
|
@@ -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-09-
|
|
7
|
-
* @hash
|
|
5
|
+
* @version 17.4.8
|
|
6
|
+
* @date 2024-09-17T08:10:18.777Z
|
|
7
|
+
* @hash caad8bd
|
|
8
8
|
*/
|
|
9
9
|
|
|
10
10
|
(function (exports, owl) {
|
|
@@ -28409,6 +28409,7 @@ stores.inject(MyMetaStore, storeInstance);
|
|
|
28409
28409
|
});
|
|
28410
28410
|
env.model.dispatch("REFRESH_PIVOT", { id: pivotId });
|
|
28411
28411
|
},
|
|
28412
|
+
isVisible: (env) => env.model.getters.getPivot(pivotId).isValid(),
|
|
28412
28413
|
}));
|
|
28413
28414
|
const REINSERT_STATIC_PIVOT_CHILDREN = (env) => env.model.getters.getPivotIds().map((pivotId, index) => ({
|
|
28414
28415
|
id: `reinsert_static_pivot_${env.model.getters.getPivotFormulaId(pivotId)}`,
|
|
@@ -28427,6 +28428,7 @@ stores.inject(MyMetaStore, storeInstance);
|
|
|
28427
28428
|
});
|
|
28428
28429
|
env.model.dispatch("REFRESH_PIVOT", { id: pivotId });
|
|
28429
28430
|
},
|
|
28431
|
+
isVisible: (env) => env.model.getters.getPivot(pivotId).isValid(),
|
|
28430
28432
|
}));
|
|
28431
28433
|
//------------------------------------------------------------------------------
|
|
28432
28434
|
// Image
|
|
@@ -29298,7 +29300,7 @@ stores.inject(MyMetaStore, storeInstance);
|
|
|
29298
29300
|
sequence: 1020,
|
|
29299
29301
|
icon: "o-spreadsheet-Icon.INSERT_PIVOT",
|
|
29300
29302
|
children: [REINSERT_DYNAMIC_PIVOT_CHILDREN],
|
|
29301
|
-
isVisible: (env) => env.model.getters.getPivotIds().
|
|
29303
|
+
isVisible: (env) => env.model.getters.getPivotIds().some((id) => env.model.getters.getPivot(id).isValid()),
|
|
29302
29304
|
};
|
|
29303
29305
|
const reinsertStaticPivotMenu = {
|
|
29304
29306
|
id: "reinsert_static_pivot",
|
|
@@ -29306,7 +29308,7 @@ stores.inject(MyMetaStore, storeInstance);
|
|
|
29306
29308
|
sequence: 1020,
|
|
29307
29309
|
icon: "o-spreadsheet-Icon.INSERT_PIVOT",
|
|
29308
29310
|
children: [REINSERT_STATIC_PIVOT_CHILDREN],
|
|
29309
|
-
isVisible: (env) => env.model.getters.getPivotIds().
|
|
29311
|
+
isVisible: (env) => env.model.getters.getPivotIds().some((id) => env.model.getters.getPivot(id).isValid()),
|
|
29310
29312
|
};
|
|
29311
29313
|
|
|
29312
29314
|
var ACTION_DATA = /*#__PURE__*/Object.freeze({
|
|
@@ -58661,6 +58663,7 @@ stores.inject(MyMetaStore, storeInstance);
|
|
|
58661
58663
|
handle(cmd) {
|
|
58662
58664
|
if (invalidateEvaluationCommands.has(cmd.type) ||
|
|
58663
58665
|
cmd.type === "UPDATE_CELL" ||
|
|
58666
|
+
cmd.type === "SET_FORMATTING" ||
|
|
58664
58667
|
cmd.type === "EVALUATE_CELLS") {
|
|
58665
58668
|
this.styles = {};
|
|
58666
58669
|
this.borders = {};
|
|
@@ -68414,6 +68417,7 @@ stores.inject(MyMetaStore, storeInstance);
|
|
|
68414
68417
|
UNDO_REDO_PIVOT_COMMANDS,
|
|
68415
68418
|
createPivotFormula,
|
|
68416
68419
|
areDomainArgsFieldsValid,
|
|
68420
|
+
formatTickValue,
|
|
68417
68421
|
};
|
|
68418
68422
|
const links = {
|
|
68419
68423
|
isMarkdownLink,
|
|
@@ -68544,9 +68548,9 @@ stores.inject(MyMetaStore, storeInstance);
|
|
|
68544
68548
|
exports.tokenize = tokenize;
|
|
68545
68549
|
|
|
68546
68550
|
|
|
68547
|
-
__info__.version = "17.4.
|
|
68548
|
-
__info__.date = "2024-09-
|
|
68549
|
-
__info__.hash = "
|
|
68551
|
+
__info__.version = "17.4.8";
|
|
68552
|
+
__info__.date = "2024-09-17T08:10:18.777Z";
|
|
68553
|
+
__info__.hash = "caad8bd";
|
|
68550
68554
|
|
|
68551
68555
|
|
|
68552
68556
|
})(this.o_spreadsheet = this.o_spreadsheet || {}, owl);
|