@odoo/o-spreadsheet 16.4.10 → 16.4.11
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.
|
@@ -23520,7 +23520,7 @@ class ClientTag extends owl.Component {
|
|
|
23520
23520
|
left: `${x - 1}px`,
|
|
23521
23521
|
border: `1px solid ${color}`,
|
|
23522
23522
|
"background-color": color,
|
|
23523
|
-
opacity: this.props.active ? "
|
|
23523
|
+
opacity: this.props.active ? "1 !important" : undefined,
|
|
23524
23524
|
});
|
|
23525
23525
|
}
|
|
23526
23526
|
}
|
|
@@ -43560,11 +43560,19 @@ class GridSelectionPlugin extends UIPlugin {
|
|
|
43560
43560
|
}
|
|
43561
43561
|
}
|
|
43562
43562
|
getStatisticFnResults() {
|
|
43563
|
-
|
|
43564
|
-
const cells = new Set(
|
|
43565
|
-
|
|
43566
|
-
|
|
43567
|
-
|
|
43563
|
+
const sheetId = this.getters.getActiveSheetId();
|
|
43564
|
+
const cells = new Set();
|
|
43565
|
+
for (const zone of this.gridSelection.zones) {
|
|
43566
|
+
for (const { col, row } of positions(zone)) {
|
|
43567
|
+
if (this.getters.isRowHidden(sheetId, row) || this.getters.isColHidden(sheetId, col)) {
|
|
43568
|
+
continue; // Skip hidden cells
|
|
43569
|
+
}
|
|
43570
|
+
const evaluatedCell = this.getters.getEvaluatedCell({ sheetId, col, row });
|
|
43571
|
+
if (evaluatedCell.type !== CellValueType.empty) {
|
|
43572
|
+
cells.add(evaluatedCell);
|
|
43573
|
+
}
|
|
43574
|
+
}
|
|
43575
|
+
}
|
|
43568
43576
|
let cellsTypes = new Set();
|
|
43569
43577
|
let cellsValues = [];
|
|
43570
43578
|
for (let cell of cells) {
|
|
@@ -46148,6 +46156,7 @@ const BORDER_POSITIONS = [
|
|
|
46148
46156
|
css /* scss */ `
|
|
46149
46157
|
.o-border-selector {
|
|
46150
46158
|
padding: 4px;
|
|
46159
|
+
background-color: white;
|
|
46151
46160
|
}
|
|
46152
46161
|
.o-divider {
|
|
46153
46162
|
border-right: 1px solid #e0e2e4;
|
|
@@ -50762,6 +50771,6 @@ exports.setTranslationMethod = setTranslationMethod;
|
|
|
50762
50771
|
exports.tokenize = tokenize;
|
|
50763
50772
|
|
|
50764
50773
|
|
|
50765
|
-
__info__.version = '16.4.
|
|
50766
|
-
__info__.date = '2023-10-
|
|
50767
|
-
__info__.hash = '
|
|
50774
|
+
__info__.version = '16.4.11';
|
|
50775
|
+
__info__.date = '2023-10-25T10:03:47.870Z';
|
|
50776
|
+
__info__.hash = 'ae96a3e';
|
|
@@ -23516,7 +23516,7 @@ class ClientTag extends Component {
|
|
|
23516
23516
|
left: `${x - 1}px`,
|
|
23517
23517
|
border: `1px solid ${color}`,
|
|
23518
23518
|
"background-color": color,
|
|
23519
|
-
opacity: this.props.active ? "
|
|
23519
|
+
opacity: this.props.active ? "1 !important" : undefined,
|
|
23520
23520
|
});
|
|
23521
23521
|
}
|
|
23522
23522
|
}
|
|
@@ -43556,11 +43556,19 @@ class GridSelectionPlugin extends UIPlugin {
|
|
|
43556
43556
|
}
|
|
43557
43557
|
}
|
|
43558
43558
|
getStatisticFnResults() {
|
|
43559
|
-
|
|
43560
|
-
const cells = new Set(
|
|
43561
|
-
|
|
43562
|
-
|
|
43563
|
-
|
|
43559
|
+
const sheetId = this.getters.getActiveSheetId();
|
|
43560
|
+
const cells = new Set();
|
|
43561
|
+
for (const zone of this.gridSelection.zones) {
|
|
43562
|
+
for (const { col, row } of positions(zone)) {
|
|
43563
|
+
if (this.getters.isRowHidden(sheetId, row) || this.getters.isColHidden(sheetId, col)) {
|
|
43564
|
+
continue; // Skip hidden cells
|
|
43565
|
+
}
|
|
43566
|
+
const evaluatedCell = this.getters.getEvaluatedCell({ sheetId, col, row });
|
|
43567
|
+
if (evaluatedCell.type !== CellValueType.empty) {
|
|
43568
|
+
cells.add(evaluatedCell);
|
|
43569
|
+
}
|
|
43570
|
+
}
|
|
43571
|
+
}
|
|
43564
43572
|
let cellsTypes = new Set();
|
|
43565
43573
|
let cellsValues = [];
|
|
43566
43574
|
for (let cell of cells) {
|
|
@@ -46144,6 +46152,7 @@ const BORDER_POSITIONS = [
|
|
|
46144
46152
|
css /* scss */ `
|
|
46145
46153
|
.o-border-selector {
|
|
46146
46154
|
padding: 4px;
|
|
46155
|
+
background-color: white;
|
|
46147
46156
|
}
|
|
46148
46157
|
.o-divider {
|
|
46149
46158
|
border-right: 1px solid #e0e2e4;
|
|
@@ -50726,6 +50735,6 @@ const constants = {
|
|
|
50726
50735
|
export { AbstractChart, CommandResult, CorePlugin, DispatchResult, EvaluationError, Model, Registry, Revision, SPREADSHEET_DIMENSIONS, Spreadsheet, UIPlugin, __info__, addFunction, astToFormula, compile, components, constants, convertAstNodes, coreTypes, findCellInNewZone, functionCache, helpers, invalidateCFEvaluationCommands, invalidateDependenciesCommands, invalidateEvaluationCommands, iterateAstNodes, links, load, parse, readonlyAllowedCommands, registries, setDefaultSheetViewSize, setTranslationMethod, tokenize };
|
|
50727
50736
|
|
|
50728
50737
|
|
|
50729
|
-
__info__.version = '16.4.
|
|
50730
|
-
__info__.date = '2023-10-
|
|
50731
|
-
__info__.hash = '
|
|
50738
|
+
__info__.version = '16.4.11';
|
|
50739
|
+
__info__.date = '2023-10-25T10:03:47.870Z';
|
|
50740
|
+
__info__.hash = 'ae96a3e';
|
|
@@ -23517,7 +23517,7 @@
|
|
|
23517
23517
|
left: `${x - 1}px`,
|
|
23518
23518
|
border: `1px solid ${color}`,
|
|
23519
23519
|
"background-color": color,
|
|
23520
|
-
opacity: this.props.active ? "
|
|
23520
|
+
opacity: this.props.active ? "1 !important" : undefined,
|
|
23521
23521
|
});
|
|
23522
23522
|
}
|
|
23523
23523
|
}
|
|
@@ -43557,11 +43557,19 @@
|
|
|
43557
43557
|
}
|
|
43558
43558
|
}
|
|
43559
43559
|
getStatisticFnResults() {
|
|
43560
|
-
|
|
43561
|
-
const cells = new Set(
|
|
43562
|
-
|
|
43563
|
-
|
|
43564
|
-
|
|
43560
|
+
const sheetId = this.getters.getActiveSheetId();
|
|
43561
|
+
const cells = new Set();
|
|
43562
|
+
for (const zone of this.gridSelection.zones) {
|
|
43563
|
+
for (const { col, row } of positions(zone)) {
|
|
43564
|
+
if (this.getters.isRowHidden(sheetId, row) || this.getters.isColHidden(sheetId, col)) {
|
|
43565
|
+
continue; // Skip hidden cells
|
|
43566
|
+
}
|
|
43567
|
+
const evaluatedCell = this.getters.getEvaluatedCell({ sheetId, col, row });
|
|
43568
|
+
if (evaluatedCell.type !== CellValueType.empty) {
|
|
43569
|
+
cells.add(evaluatedCell);
|
|
43570
|
+
}
|
|
43571
|
+
}
|
|
43572
|
+
}
|
|
43565
43573
|
let cellsTypes = new Set();
|
|
43566
43574
|
let cellsValues = [];
|
|
43567
43575
|
for (let cell of cells) {
|
|
@@ -46145,6 +46153,7 @@
|
|
|
46145
46153
|
css /* scss */ `
|
|
46146
46154
|
.o-border-selector {
|
|
46147
46155
|
padding: 4px;
|
|
46156
|
+
background-color: white;
|
|
46148
46157
|
}
|
|
46149
46158
|
.o-divider {
|
|
46150
46159
|
border-right: 1px solid #e0e2e4;
|
|
@@ -50761,9 +50770,9 @@
|
|
|
50761
50770
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
50762
50771
|
|
|
50763
50772
|
|
|
50764
|
-
__info__.version = '16.4.
|
|
50765
|
-
__info__.date = '2023-10-
|
|
50766
|
-
__info__.hash = '
|
|
50773
|
+
__info__.version = '16.4.11';
|
|
50774
|
+
__info__.date = '2023-10-25T10:03:47.870Z';
|
|
50775
|
+
__info__.hash = 'ae96a3e';
|
|
50767
50776
|
|
|
50768
50777
|
|
|
50769
50778
|
})(this.o_spreadsheet = this.o_spreadsheet || {}, owl);
|