@odoo/o-spreadsheet 18.2.14 → 18.2.15
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 -14
- package/dist/o-spreadsheet.esm.js +10 -14
- package/dist/o-spreadsheet.iife.js +10 -14
- package/dist/o-spreadsheet.iife.min.js +377 -377
- package/dist/o_spreadsheet.xml +4 -4
- 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-05-
|
|
7
|
-
* @hash
|
|
5
|
+
* @version 18.2.15
|
|
6
|
+
* @date 2025-05-30T08:45:53.952Z
|
|
7
|
+
* @hash 607492d
|
|
8
8
|
*/
|
|
9
9
|
|
|
10
10
|
'use strict';
|
|
@@ -8304,9 +8304,10 @@ const AGGREGATOR_NAMES = {
|
|
|
8304
8304
|
avg: _t("Average"),
|
|
8305
8305
|
sum: _t("Sum"),
|
|
8306
8306
|
};
|
|
8307
|
+
const NUMBER_CHAR_AGGREGATORS = ["max", "min", "avg", "sum", "count_distinct", "count"];
|
|
8307
8308
|
const AGGREGATORS_BY_FIELD_TYPE = {
|
|
8308
|
-
integer:
|
|
8309
|
-
char:
|
|
8309
|
+
integer: NUMBER_CHAR_AGGREGATORS,
|
|
8310
|
+
char: NUMBER_CHAR_AGGREGATORS,
|
|
8310
8311
|
boolean: ["count_distinct", "count", "bool_and", "bool_or"],
|
|
8311
8312
|
datetime: ["max", "min", "count_distinct", "count"],
|
|
8312
8313
|
};
|
|
@@ -47096,12 +47097,7 @@ class SpreadsheetPivot {
|
|
|
47096
47097
|
entry[field.name] = { value: null, type: CellValueType.empty, formattedValue: "" };
|
|
47097
47098
|
}
|
|
47098
47099
|
else {
|
|
47099
|
-
|
|
47100
|
-
entry[field.name] = { ...cell, value: cell.formattedValue || null };
|
|
47101
|
-
}
|
|
47102
|
-
else {
|
|
47103
|
-
entry[field.name] = cell;
|
|
47104
|
-
}
|
|
47100
|
+
entry[field.name] = cell;
|
|
47105
47101
|
}
|
|
47106
47102
|
}
|
|
47107
47103
|
entry["__count"] = { value: 1, type: CellValueType.number, formattedValue: "1" };
|
|
@@ -76915,6 +76911,6 @@ exports.tokenColors = tokenColors;
|
|
|
76915
76911
|
exports.tokenize = tokenize;
|
|
76916
76912
|
|
|
76917
76913
|
|
|
76918
|
-
__info__.version = "18.2.
|
|
76919
|
-
__info__.date = "2025-05-
|
|
76920
|
-
__info__.hash = "
|
|
76914
|
+
__info__.version = "18.2.15";
|
|
76915
|
+
__info__.date = "2025-05-30T08:45:53.952Z";
|
|
76916
|
+
__info__.hash = "607492d";
|
|
@@ -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-05-
|
|
7
|
-
* @hash
|
|
5
|
+
* @version 18.2.15
|
|
6
|
+
* @date 2025-05-30T08:45:53.952Z
|
|
7
|
+
* @hash 607492d
|
|
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';
|
|
@@ -8302,9 +8302,10 @@ const AGGREGATOR_NAMES = {
|
|
|
8302
8302
|
avg: _t("Average"),
|
|
8303
8303
|
sum: _t("Sum"),
|
|
8304
8304
|
};
|
|
8305
|
+
const NUMBER_CHAR_AGGREGATORS = ["max", "min", "avg", "sum", "count_distinct", "count"];
|
|
8305
8306
|
const AGGREGATORS_BY_FIELD_TYPE = {
|
|
8306
|
-
integer:
|
|
8307
|
-
char:
|
|
8307
|
+
integer: NUMBER_CHAR_AGGREGATORS,
|
|
8308
|
+
char: NUMBER_CHAR_AGGREGATORS,
|
|
8308
8309
|
boolean: ["count_distinct", "count", "bool_and", "bool_or"],
|
|
8309
8310
|
datetime: ["max", "min", "count_distinct", "count"],
|
|
8310
8311
|
};
|
|
@@ -47094,12 +47095,7 @@ class SpreadsheetPivot {
|
|
|
47094
47095
|
entry[field.name] = { value: null, type: CellValueType.empty, formattedValue: "" };
|
|
47095
47096
|
}
|
|
47096
47097
|
else {
|
|
47097
|
-
|
|
47098
|
-
entry[field.name] = { ...cell, value: cell.formattedValue || null };
|
|
47099
|
-
}
|
|
47100
|
-
else {
|
|
47101
|
-
entry[field.name] = cell;
|
|
47102
|
-
}
|
|
47098
|
+
entry[field.name] = cell;
|
|
47103
47099
|
}
|
|
47104
47100
|
}
|
|
47105
47101
|
entry["__count"] = { value: 1, type: CellValueType.number, formattedValue: "1" };
|
|
@@ -76868,6 +76864,6 @@ const chartHelpers = { ...CHART_HELPERS, ...CHART_RUNTIME_HELPERS };
|
|
|
76868
76864
|
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 };
|
|
76869
76865
|
|
|
76870
76866
|
|
|
76871
|
-
__info__.version = "18.2.
|
|
76872
|
-
__info__.date = "2025-05-
|
|
76873
|
-
__info__.hash = "
|
|
76867
|
+
__info__.version = "18.2.15";
|
|
76868
|
+
__info__.date = "2025-05-30T08:45:53.952Z";
|
|
76869
|
+
__info__.hash = "607492d";
|
|
@@ -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-05-
|
|
7
|
-
* @hash
|
|
5
|
+
* @version 18.2.15
|
|
6
|
+
* @date 2025-05-30T08:45:53.952Z
|
|
7
|
+
* @hash 607492d
|
|
8
8
|
*/
|
|
9
9
|
|
|
10
10
|
(function (exports, owl) {
|
|
@@ -8303,9 +8303,10 @@
|
|
|
8303
8303
|
avg: _t("Average"),
|
|
8304
8304
|
sum: _t("Sum"),
|
|
8305
8305
|
};
|
|
8306
|
+
const NUMBER_CHAR_AGGREGATORS = ["max", "min", "avg", "sum", "count_distinct", "count"];
|
|
8306
8307
|
const AGGREGATORS_BY_FIELD_TYPE = {
|
|
8307
|
-
integer:
|
|
8308
|
-
char:
|
|
8308
|
+
integer: NUMBER_CHAR_AGGREGATORS,
|
|
8309
|
+
char: NUMBER_CHAR_AGGREGATORS,
|
|
8309
8310
|
boolean: ["count_distinct", "count", "bool_and", "bool_or"],
|
|
8310
8311
|
datetime: ["max", "min", "count_distinct", "count"],
|
|
8311
8312
|
};
|
|
@@ -47095,12 +47096,7 @@ stores.inject(MyMetaStore, storeInstance);
|
|
|
47095
47096
|
entry[field.name] = { value: null, type: CellValueType.empty, formattedValue: "" };
|
|
47096
47097
|
}
|
|
47097
47098
|
else {
|
|
47098
|
-
|
|
47099
|
-
entry[field.name] = { ...cell, value: cell.formattedValue || null };
|
|
47100
|
-
}
|
|
47101
|
-
else {
|
|
47102
|
-
entry[field.name] = cell;
|
|
47103
|
-
}
|
|
47099
|
+
entry[field.name] = cell;
|
|
47104
47100
|
}
|
|
47105
47101
|
}
|
|
47106
47102
|
entry["__count"] = { value: 1, type: CellValueType.number, formattedValue: "1" };
|
|
@@ -76914,9 +76910,9 @@ stores.inject(MyMetaStore, storeInstance);
|
|
|
76914
76910
|
exports.tokenize = tokenize;
|
|
76915
76911
|
|
|
76916
76912
|
|
|
76917
|
-
__info__.version = "18.2.
|
|
76918
|
-
__info__.date = "2025-05-
|
|
76919
|
-
__info__.hash = "
|
|
76913
|
+
__info__.version = "18.2.15";
|
|
76914
|
+
__info__.date = "2025-05-30T08:45:53.952Z";
|
|
76915
|
+
__info__.hash = "607492d";
|
|
76920
76916
|
|
|
76921
76917
|
|
|
76922
76918
|
})(this.o_spreadsheet = this.o_spreadsheet || {}, owl);
|