@odoo/o-spreadsheet 16.3.26 → 16.3.27
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.
|
@@ -17875,7 +17875,7 @@ class SelectionInput extends owl.Component {
|
|
|
17875
17875
|
: this.props.ranges
|
|
17876
17876
|
? this.props.ranges.map((xc, id) => ({
|
|
17877
17877
|
xc,
|
|
17878
|
-
id,
|
|
17878
|
+
id: id + 1,
|
|
17879
17879
|
isFocused: false,
|
|
17880
17880
|
}))
|
|
17881
17881
|
: [];
|
|
@@ -28795,7 +28795,7 @@ const MIGRATIONS = [
|
|
|
28795
28795
|
},
|
|
28796
28796
|
{
|
|
28797
28797
|
description: "Change Border description structure",
|
|
28798
|
-
from: 12,
|
|
28798
|
+
from: 12.5,
|
|
28799
28799
|
to: 13,
|
|
28800
28800
|
applyMigration(data) {
|
|
28801
28801
|
for (const borderId in data.borders) {
|
|
@@ -38635,9 +38635,9 @@ class SelectionInputsManagerPlugin extends UIPlugin {
|
|
|
38635
38635
|
break;
|
|
38636
38636
|
case "FOCUS_RANGE":
|
|
38637
38637
|
case "CHANGE_RANGE":
|
|
38638
|
-
|
|
38639
|
-
|
|
38640
|
-
|
|
38638
|
+
const input = this.inputs[cmd.id];
|
|
38639
|
+
const range = input.ranges.find((range) => range.id === cmd.rangeId);
|
|
38640
|
+
if (range) {
|
|
38641
38641
|
const sheetId = this.getters.getActiveSheetId();
|
|
38642
38642
|
const zone = this.getters.getRangeFromSheetXC(sheetId, range?.xc || "A1").zone;
|
|
38643
38643
|
this.selection.capture(input, { cell: { col: zone.left, row: zone.top }, zone }, { handleEvent: input.handleEvent.bind(input) });
|
|
@@ -48033,6 +48033,6 @@ exports.setTranslationMethod = setTranslationMethod;
|
|
|
48033
48033
|
exports.tokenize = tokenize;
|
|
48034
48034
|
|
|
48035
48035
|
|
|
48036
|
-
__info__.version = '16.3.
|
|
48037
|
-
__info__.date = '2024-02-
|
|
48038
|
-
__info__.hash = '
|
|
48036
|
+
__info__.version = '16.3.27';
|
|
48037
|
+
__info__.date = '2024-02-28T12:24:18.882Z';
|
|
48038
|
+
__info__.hash = '7dc9484';
|
|
@@ -17871,7 +17871,7 @@ class SelectionInput extends Component {
|
|
|
17871
17871
|
: this.props.ranges
|
|
17872
17872
|
? this.props.ranges.map((xc, id) => ({
|
|
17873
17873
|
xc,
|
|
17874
|
-
id,
|
|
17874
|
+
id: id + 1,
|
|
17875
17875
|
isFocused: false,
|
|
17876
17876
|
}))
|
|
17877
17877
|
: [];
|
|
@@ -28791,7 +28791,7 @@ const MIGRATIONS = [
|
|
|
28791
28791
|
},
|
|
28792
28792
|
{
|
|
28793
28793
|
description: "Change Border description structure",
|
|
28794
|
-
from: 12,
|
|
28794
|
+
from: 12.5,
|
|
28795
28795
|
to: 13,
|
|
28796
28796
|
applyMigration(data) {
|
|
28797
28797
|
for (const borderId in data.borders) {
|
|
@@ -38631,9 +38631,9 @@ class SelectionInputsManagerPlugin extends UIPlugin {
|
|
|
38631
38631
|
break;
|
|
38632
38632
|
case "FOCUS_RANGE":
|
|
38633
38633
|
case "CHANGE_RANGE":
|
|
38634
|
-
|
|
38635
|
-
|
|
38636
|
-
|
|
38634
|
+
const input = this.inputs[cmd.id];
|
|
38635
|
+
const range = input.ranges.find((range) => range.id === cmd.rangeId);
|
|
38636
|
+
if (range) {
|
|
38637
38637
|
const sheetId = this.getters.getActiveSheetId();
|
|
38638
38638
|
const zone = this.getters.getRangeFromSheetXC(sheetId, range?.xc || "A1").zone;
|
|
38639
38639
|
this.selection.capture(input, { cell: { col: zone.left, row: zone.top }, zone }, { handleEvent: input.handleEvent.bind(input) });
|
|
@@ -48001,6 +48001,6 @@ function addFunction(functionName, functionDescription) {
|
|
|
48001
48001
|
export { AbstractChart, CommandResult, CorePlugin, DispatchResult, EvaluationError, Model, Registry, Revision, SPREADSHEET_DIMENSIONS, Spreadsheet, UIPlugin, __info__, addFunction, astToFormula, compile, components, convertAstNodes, coreTypes, findCellInNewZone, functionCache, helpers, invalidateEvaluationCommands, links, load, parse, readonlyAllowedCommands, registries, setDefaultSheetViewSize, setTranslationMethod, tokenize };
|
|
48002
48002
|
|
|
48003
48003
|
|
|
48004
|
-
__info__.version = '16.3.
|
|
48005
|
-
__info__.date = '2024-02-
|
|
48006
|
-
__info__.hash = '
|
|
48004
|
+
__info__.version = '16.3.27';
|
|
48005
|
+
__info__.date = '2024-02-28T12:24:18.882Z';
|
|
48006
|
+
__info__.hash = '7dc9484';
|
|
@@ -17872,7 +17872,7 @@
|
|
|
17872
17872
|
: this.props.ranges
|
|
17873
17873
|
? this.props.ranges.map((xc, id) => ({
|
|
17874
17874
|
xc,
|
|
17875
|
-
id,
|
|
17875
|
+
id: id + 1,
|
|
17876
17876
|
isFocused: false,
|
|
17877
17877
|
}))
|
|
17878
17878
|
: [];
|
|
@@ -28792,7 +28792,7 @@
|
|
|
28792
28792
|
},
|
|
28793
28793
|
{
|
|
28794
28794
|
description: "Change Border description structure",
|
|
28795
|
-
from: 12,
|
|
28795
|
+
from: 12.5,
|
|
28796
28796
|
to: 13,
|
|
28797
28797
|
applyMigration(data) {
|
|
28798
28798
|
for (const borderId in data.borders) {
|
|
@@ -38632,9 +38632,9 @@
|
|
|
38632
38632
|
break;
|
|
38633
38633
|
case "FOCUS_RANGE":
|
|
38634
38634
|
case "CHANGE_RANGE":
|
|
38635
|
-
|
|
38636
|
-
|
|
38637
|
-
|
|
38635
|
+
const input = this.inputs[cmd.id];
|
|
38636
|
+
const range = input.ranges.find((range) => range.id === cmd.rangeId);
|
|
38637
|
+
if (range) {
|
|
38638
38638
|
const sheetId = this.getters.getActiveSheetId();
|
|
38639
38639
|
const zone = this.getters.getRangeFromSheetXC(sheetId, range?.xc || "A1").zone;
|
|
38640
38640
|
this.selection.capture(input, { cell: { col: zone.left, row: zone.top }, zone }, { handleEvent: input.handleEvent.bind(input) });
|
|
@@ -48032,9 +48032,9 @@
|
|
|
48032
48032
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
48033
48033
|
|
|
48034
48034
|
|
|
48035
|
-
__info__.version = '16.3.
|
|
48036
|
-
__info__.date = '2024-02-
|
|
48037
|
-
__info__.hash = '
|
|
48035
|
+
__info__.version = '16.3.27';
|
|
48036
|
+
__info__.date = '2024-02-28T12:24:18.882Z';
|
|
48037
|
+
__info__.hash = '7dc9484';
|
|
48038
48038
|
|
|
48039
48039
|
|
|
48040
48040
|
})(this.o_spreadsheet = this.o_spreadsheet || {}, owl);
|