@odoo/o-spreadsheet 16.4.11 → 16.4.12
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 +235 -231
- package/dist/o-spreadsheet.d.ts +65 -64
- package/dist/o-spreadsheet.esm.js +235 -231
- package/dist/o-spreadsheet.iife.js +235 -231
- package/dist/o-spreadsheet.iife.min.js +14 -13
- package/dist/o_spreadsheet.xml +3982 -0
- package/package.json +4 -3
|
@@ -4201,70 +4201,71 @@
|
|
|
4201
4201
|
CommandResult[CommandResult["InvalidFigureId"] = 29] = "InvalidFigureId";
|
|
4202
4202
|
CommandResult[CommandResult["InputAlreadyFocused"] = 30] = "InputAlreadyFocused";
|
|
4203
4203
|
CommandResult[CommandResult["MaximumRangesReached"] = 31] = "MaximumRangesReached";
|
|
4204
|
-
CommandResult[CommandResult["
|
|
4205
|
-
CommandResult[CommandResult["
|
|
4206
|
-
CommandResult[CommandResult["
|
|
4207
|
-
CommandResult[CommandResult["
|
|
4208
|
-
CommandResult[CommandResult["
|
|
4209
|
-
CommandResult[CommandResult["
|
|
4210
|
-
CommandResult[CommandResult["
|
|
4211
|
-
CommandResult[CommandResult["
|
|
4212
|
-
CommandResult[CommandResult["
|
|
4213
|
-
CommandResult[CommandResult["
|
|
4214
|
-
CommandResult[CommandResult["
|
|
4215
|
-
CommandResult[CommandResult["
|
|
4216
|
-
CommandResult[CommandResult["
|
|
4217
|
-
CommandResult[CommandResult["
|
|
4218
|
-
CommandResult[CommandResult["
|
|
4219
|
-
CommandResult[CommandResult["
|
|
4220
|
-
CommandResult[CommandResult["
|
|
4221
|
-
CommandResult[CommandResult["
|
|
4222
|
-
CommandResult[CommandResult["
|
|
4223
|
-
CommandResult[CommandResult["
|
|
4224
|
-
CommandResult[CommandResult["
|
|
4225
|
-
CommandResult[CommandResult["
|
|
4226
|
-
CommandResult[CommandResult["
|
|
4227
|
-
CommandResult[CommandResult["
|
|
4228
|
-
CommandResult[CommandResult["
|
|
4229
|
-
CommandResult[CommandResult["
|
|
4230
|
-
CommandResult[CommandResult["
|
|
4231
|
-
CommandResult[CommandResult["
|
|
4232
|
-
CommandResult[CommandResult["
|
|
4233
|
-
CommandResult[CommandResult["
|
|
4234
|
-
CommandResult[CommandResult["
|
|
4235
|
-
CommandResult[CommandResult["
|
|
4236
|
-
CommandResult[CommandResult["
|
|
4237
|
-
CommandResult[CommandResult["
|
|
4238
|
-
CommandResult[CommandResult["
|
|
4239
|
-
CommandResult[CommandResult["
|
|
4240
|
-
CommandResult[CommandResult["
|
|
4241
|
-
CommandResult[CommandResult["
|
|
4242
|
-
CommandResult[CommandResult["
|
|
4243
|
-
CommandResult[CommandResult["
|
|
4244
|
-
CommandResult[CommandResult["
|
|
4245
|
-
CommandResult[CommandResult["
|
|
4246
|
-
CommandResult[CommandResult["
|
|
4247
|
-
CommandResult[CommandResult["
|
|
4248
|
-
CommandResult[CommandResult["
|
|
4249
|
-
CommandResult[CommandResult["
|
|
4250
|
-
CommandResult[CommandResult["
|
|
4251
|
-
CommandResult[CommandResult["
|
|
4252
|
-
CommandResult[CommandResult["
|
|
4253
|
-
CommandResult[CommandResult["
|
|
4254
|
-
CommandResult[CommandResult["
|
|
4255
|
-
CommandResult[CommandResult["
|
|
4256
|
-
CommandResult[CommandResult["
|
|
4257
|
-
CommandResult[CommandResult["
|
|
4258
|
-
CommandResult[CommandResult["
|
|
4259
|
-
CommandResult[CommandResult["
|
|
4260
|
-
CommandResult[CommandResult["
|
|
4261
|
-
CommandResult[CommandResult["
|
|
4262
|
-
CommandResult[CommandResult["
|
|
4263
|
-
CommandResult[CommandResult["
|
|
4264
|
-
CommandResult[CommandResult["
|
|
4265
|
-
CommandResult[CommandResult["
|
|
4266
|
-
CommandResult[CommandResult["
|
|
4267
|
-
CommandResult[CommandResult["
|
|
4204
|
+
CommandResult[CommandResult["MinimumRangesReached"] = 32] = "MinimumRangesReached";
|
|
4205
|
+
CommandResult[CommandResult["InvalidChartDefinition"] = 33] = "InvalidChartDefinition";
|
|
4206
|
+
CommandResult[CommandResult["InvalidDataSet"] = 34] = "InvalidDataSet";
|
|
4207
|
+
CommandResult[CommandResult["InvalidLabelRange"] = 35] = "InvalidLabelRange";
|
|
4208
|
+
CommandResult[CommandResult["InvalidScorecardKeyValue"] = 36] = "InvalidScorecardKeyValue";
|
|
4209
|
+
CommandResult[CommandResult["InvalidScorecardBaseline"] = 37] = "InvalidScorecardBaseline";
|
|
4210
|
+
CommandResult[CommandResult["InvalidGaugeDataRange"] = 38] = "InvalidGaugeDataRange";
|
|
4211
|
+
CommandResult[CommandResult["EmptyGaugeRangeMin"] = 39] = "EmptyGaugeRangeMin";
|
|
4212
|
+
CommandResult[CommandResult["GaugeRangeMinNaN"] = 40] = "GaugeRangeMinNaN";
|
|
4213
|
+
CommandResult[CommandResult["EmptyGaugeRangeMax"] = 41] = "EmptyGaugeRangeMax";
|
|
4214
|
+
CommandResult[CommandResult["GaugeRangeMaxNaN"] = 42] = "GaugeRangeMaxNaN";
|
|
4215
|
+
CommandResult[CommandResult["GaugeRangeMinBiggerThanRangeMax"] = 43] = "GaugeRangeMinBiggerThanRangeMax";
|
|
4216
|
+
CommandResult[CommandResult["GaugeLowerInflectionPointNaN"] = 44] = "GaugeLowerInflectionPointNaN";
|
|
4217
|
+
CommandResult[CommandResult["GaugeUpperInflectionPointNaN"] = 45] = "GaugeUpperInflectionPointNaN";
|
|
4218
|
+
CommandResult[CommandResult["GaugeLowerBiggerThanUpper"] = 46] = "GaugeLowerBiggerThanUpper";
|
|
4219
|
+
CommandResult[CommandResult["InvalidAutofillSelection"] = 47] = "InvalidAutofillSelection";
|
|
4220
|
+
CommandResult[CommandResult["WrongComposerSelection"] = 48] = "WrongComposerSelection";
|
|
4221
|
+
CommandResult[CommandResult["MinBiggerThanMax"] = 49] = "MinBiggerThanMax";
|
|
4222
|
+
CommandResult[CommandResult["LowerBiggerThanUpper"] = 50] = "LowerBiggerThanUpper";
|
|
4223
|
+
CommandResult[CommandResult["MidBiggerThanMax"] = 51] = "MidBiggerThanMax";
|
|
4224
|
+
CommandResult[CommandResult["MinBiggerThanMid"] = 52] = "MinBiggerThanMid";
|
|
4225
|
+
CommandResult[CommandResult["FirstArgMissing"] = 53] = "FirstArgMissing";
|
|
4226
|
+
CommandResult[CommandResult["SecondArgMissing"] = 54] = "SecondArgMissing";
|
|
4227
|
+
CommandResult[CommandResult["MinNaN"] = 55] = "MinNaN";
|
|
4228
|
+
CommandResult[CommandResult["MidNaN"] = 56] = "MidNaN";
|
|
4229
|
+
CommandResult[CommandResult["MaxNaN"] = 57] = "MaxNaN";
|
|
4230
|
+
CommandResult[CommandResult["ValueUpperInflectionNaN"] = 58] = "ValueUpperInflectionNaN";
|
|
4231
|
+
CommandResult[CommandResult["ValueLowerInflectionNaN"] = 59] = "ValueLowerInflectionNaN";
|
|
4232
|
+
CommandResult[CommandResult["MinInvalidFormula"] = 60] = "MinInvalidFormula";
|
|
4233
|
+
CommandResult[CommandResult["MidInvalidFormula"] = 61] = "MidInvalidFormula";
|
|
4234
|
+
CommandResult[CommandResult["MaxInvalidFormula"] = 62] = "MaxInvalidFormula";
|
|
4235
|
+
CommandResult[CommandResult["ValueUpperInvalidFormula"] = 63] = "ValueUpperInvalidFormula";
|
|
4236
|
+
CommandResult[CommandResult["ValueLowerInvalidFormula"] = 64] = "ValueLowerInvalidFormula";
|
|
4237
|
+
CommandResult[CommandResult["InvalidSortZone"] = 65] = "InvalidSortZone";
|
|
4238
|
+
CommandResult[CommandResult["WaitingSessionConfirmation"] = 66] = "WaitingSessionConfirmation";
|
|
4239
|
+
CommandResult[CommandResult["MergeOverlap"] = 67] = "MergeOverlap";
|
|
4240
|
+
CommandResult[CommandResult["TooManyHiddenElements"] = 68] = "TooManyHiddenElements";
|
|
4241
|
+
CommandResult[CommandResult["Readonly"] = 69] = "Readonly";
|
|
4242
|
+
CommandResult[CommandResult["InvalidViewportSize"] = 70] = "InvalidViewportSize";
|
|
4243
|
+
CommandResult[CommandResult["InvalidScrollingDirection"] = 71] = "InvalidScrollingDirection";
|
|
4244
|
+
CommandResult[CommandResult["FigureDoesNotExist"] = 72] = "FigureDoesNotExist";
|
|
4245
|
+
CommandResult[CommandResult["InvalidConditionalFormatId"] = 73] = "InvalidConditionalFormatId";
|
|
4246
|
+
CommandResult[CommandResult["InvalidCellPopover"] = 74] = "InvalidCellPopover";
|
|
4247
|
+
CommandResult[CommandResult["EmptyTarget"] = 75] = "EmptyTarget";
|
|
4248
|
+
CommandResult[CommandResult["InvalidFreezeQuantity"] = 76] = "InvalidFreezeQuantity";
|
|
4249
|
+
CommandResult[CommandResult["FrozenPaneOverlap"] = 77] = "FrozenPaneOverlap";
|
|
4250
|
+
CommandResult[CommandResult["ValuesNotChanged"] = 78] = "ValuesNotChanged";
|
|
4251
|
+
CommandResult[CommandResult["InvalidFilterZone"] = 79] = "InvalidFilterZone";
|
|
4252
|
+
CommandResult[CommandResult["FilterOverlap"] = 80] = "FilterOverlap";
|
|
4253
|
+
CommandResult[CommandResult["FilterNotFound"] = 81] = "FilterNotFound";
|
|
4254
|
+
CommandResult[CommandResult["MergeInFilter"] = 82] = "MergeInFilter";
|
|
4255
|
+
CommandResult[CommandResult["NonContinuousTargets"] = 83] = "NonContinuousTargets";
|
|
4256
|
+
CommandResult[CommandResult["DuplicatedFigureId"] = 84] = "DuplicatedFigureId";
|
|
4257
|
+
CommandResult[CommandResult["InvalidSelectionStep"] = 85] = "InvalidSelectionStep";
|
|
4258
|
+
CommandResult[CommandResult["DuplicatedChartId"] = 86] = "DuplicatedChartId";
|
|
4259
|
+
CommandResult[CommandResult["ChartDoesNotExist"] = 87] = "ChartDoesNotExist";
|
|
4260
|
+
CommandResult[CommandResult["InvalidHeaderIndex"] = 88] = "InvalidHeaderIndex";
|
|
4261
|
+
CommandResult[CommandResult["InvalidQuantity"] = 89] = "InvalidQuantity";
|
|
4262
|
+
CommandResult[CommandResult["MoreThanOneColumnSelected"] = 90] = "MoreThanOneColumnSelected";
|
|
4263
|
+
CommandResult[CommandResult["EmptySplitSeparator"] = 91] = "EmptySplitSeparator";
|
|
4264
|
+
CommandResult[CommandResult["SplitWillOverwriteContent"] = 92] = "SplitWillOverwriteContent";
|
|
4265
|
+
CommandResult[CommandResult["NoSplitSeparatorInSelection"] = 93] = "NoSplitSeparatorInSelection";
|
|
4266
|
+
CommandResult[CommandResult["NoActiveSheet"] = 94] = "NoActiveSheet";
|
|
4267
|
+
CommandResult[CommandResult["InvalidLocale"] = 95] = "InvalidLocale";
|
|
4268
|
+
CommandResult[CommandResult["AlreadyInPaintingFormatMode"] = 96] = "AlreadyInPaintingFormatMode";
|
|
4268
4269
|
})(exports.CommandResult || (exports.CommandResult = {}));
|
|
4269
4270
|
|
|
4270
4271
|
const borderStyles = ["thin", "medium", "thick", "dashed", "dotted"];
|
|
@@ -16028,11 +16029,11 @@
|
|
|
16028
16029
|
if (definition.dataSets) {
|
|
16029
16030
|
const invalidRanges = definition.dataSets.find((range) => !rangeReference.test(range)) !== undefined;
|
|
16030
16031
|
if (invalidRanges) {
|
|
16031
|
-
return
|
|
16032
|
+
return 34 /* CommandResult.InvalidDataSet */;
|
|
16032
16033
|
}
|
|
16033
16034
|
const zones = definition.dataSets.map(toUnboundedZone);
|
|
16034
16035
|
if (zones.some((zone) => zone.top !== zone.bottom && isFullRow(zone))) {
|
|
16035
|
-
return
|
|
16036
|
+
return 34 /* CommandResult.InvalidDataSet */;
|
|
16036
16037
|
}
|
|
16037
16038
|
}
|
|
16038
16039
|
return 0 /* CommandResult.Success */;
|
|
@@ -16041,7 +16042,7 @@
|
|
|
16041
16042
|
if (definition.labelRange) {
|
|
16042
16043
|
const invalidLabels = !rangeReference.test(definition.labelRange || "");
|
|
16043
16044
|
if (invalidLabels) {
|
|
16044
|
-
return
|
|
16045
|
+
return 35 /* CommandResult.InvalidLabelRange */;
|
|
16045
16046
|
}
|
|
16046
16047
|
}
|
|
16047
16048
|
return 0 /* CommandResult.Success */;
|
|
@@ -16128,22 +16129,22 @@
|
|
|
16128
16129
|
const CfTerms = {
|
|
16129
16130
|
Errors: {
|
|
16130
16131
|
[26 /* CommandResult.InvalidRange */]: _lt("The range is invalid"),
|
|
16131
|
-
[
|
|
16132
|
-
[
|
|
16133
|
-
[
|
|
16134
|
-
[
|
|
16135
|
-
[
|
|
16136
|
-
[
|
|
16137
|
-
[
|
|
16138
|
-
[
|
|
16139
|
-
[
|
|
16140
|
-
[
|
|
16141
|
-
[
|
|
16142
|
-
[
|
|
16143
|
-
[
|
|
16144
|
-
[
|
|
16145
|
-
[
|
|
16146
|
-
[
|
|
16132
|
+
[53 /* CommandResult.FirstArgMissing */]: _lt("The argument is missing. Please provide a value"),
|
|
16133
|
+
[54 /* CommandResult.SecondArgMissing */]: _lt("The second argument is missing. Please provide a value"),
|
|
16134
|
+
[55 /* CommandResult.MinNaN */]: _lt("The minpoint must be a number"),
|
|
16135
|
+
[56 /* CommandResult.MidNaN */]: _lt("The midpoint must be a number"),
|
|
16136
|
+
[57 /* CommandResult.MaxNaN */]: _lt("The maxpoint must be a number"),
|
|
16137
|
+
[58 /* CommandResult.ValueUpperInflectionNaN */]: _lt("The first value must be a number"),
|
|
16138
|
+
[59 /* CommandResult.ValueLowerInflectionNaN */]: _lt("The second value must be a number"),
|
|
16139
|
+
[49 /* CommandResult.MinBiggerThanMax */]: _lt("Minimum must be smaller then Maximum"),
|
|
16140
|
+
[52 /* CommandResult.MinBiggerThanMid */]: _lt("Minimum must be smaller then Midpoint"),
|
|
16141
|
+
[51 /* CommandResult.MidBiggerThanMax */]: _lt("Midpoint must be smaller then Maximum"),
|
|
16142
|
+
[50 /* CommandResult.LowerBiggerThanUpper */]: _lt("Lower inflection point must be smaller than upper inflection point"),
|
|
16143
|
+
[60 /* CommandResult.MinInvalidFormula */]: _lt("Invalid Minpoint formula"),
|
|
16144
|
+
[62 /* CommandResult.MaxInvalidFormula */]: _lt("Invalid Maxpoint formula"),
|
|
16145
|
+
[61 /* CommandResult.MidInvalidFormula */]: _lt("Invalid Midpoint formula"),
|
|
16146
|
+
[63 /* CommandResult.ValueUpperInvalidFormula */]: _lt("Invalid upper inflection point formula"),
|
|
16147
|
+
[64 /* CommandResult.ValueLowerInvalidFormula */]: _lt("Invalid lower inflection point formula"),
|
|
16147
16148
|
[25 /* CommandResult.EmptyRange */]: _lt("A range needs to be defined"),
|
|
16148
16149
|
Unexpected: _lt("The rule is invalid for an unknown reason"),
|
|
16149
16150
|
},
|
|
@@ -16171,20 +16172,20 @@
|
|
|
16171
16172
|
Errors: {
|
|
16172
16173
|
Unexpected: _lt("The chart definition is invalid for an unknown reason"),
|
|
16173
16174
|
// BASIC CHART ERRORS (LINE | BAR | PIE)
|
|
16174
|
-
[
|
|
16175
|
-
[
|
|
16175
|
+
[34 /* CommandResult.InvalidDataSet */]: _lt("The dataset is invalid"),
|
|
16176
|
+
[35 /* CommandResult.InvalidLabelRange */]: _lt("Labels are invalid"),
|
|
16176
16177
|
// SCORECARD CHART ERRORS
|
|
16177
|
-
[
|
|
16178
|
-
[
|
|
16178
|
+
[36 /* CommandResult.InvalidScorecardKeyValue */]: _lt("The key value is invalid"),
|
|
16179
|
+
[37 /* CommandResult.InvalidScorecardBaseline */]: _lt("The baseline value is invalid"),
|
|
16179
16180
|
// GAUGE CHART ERRORS
|
|
16180
|
-
[
|
|
16181
|
-
[
|
|
16182
|
-
[
|
|
16183
|
-
[
|
|
16184
|
-
[
|
|
16185
|
-
[
|
|
16186
|
-
[
|
|
16187
|
-
[
|
|
16181
|
+
[38 /* CommandResult.InvalidGaugeDataRange */]: _lt("The data range is invalid"),
|
|
16182
|
+
[39 /* CommandResult.EmptyGaugeRangeMin */]: _lt("A minimum range limit value is needed"),
|
|
16183
|
+
[40 /* CommandResult.GaugeRangeMinNaN */]: _lt("The minimum range limit value must be a number"),
|
|
16184
|
+
[41 /* CommandResult.EmptyGaugeRangeMax */]: _lt("A maximum range limit value is needed"),
|
|
16185
|
+
[42 /* CommandResult.GaugeRangeMaxNaN */]: _lt("The maximum range limit value must be a number"),
|
|
16186
|
+
[43 /* CommandResult.GaugeRangeMinBiggerThanRangeMax */]: _lt("Minimum range limit must be smaller than maximum range limit"),
|
|
16187
|
+
[44 /* CommandResult.GaugeLowerInflectionPointNaN */]: _lt("The lower inflection point value must be a number"),
|
|
16188
|
+
[45 /* CommandResult.GaugeUpperInflectionPointNaN */]: _lt("The upper inflection point value must be a number"),
|
|
16188
16189
|
},
|
|
16189
16190
|
};
|
|
16190
16191
|
const CustomCurrencyTerms = {
|
|
@@ -16194,9 +16195,9 @@
|
|
|
16194
16195
|
const SplitToColumnsTerms = {
|
|
16195
16196
|
Errors: {
|
|
16196
16197
|
Unexpected: _lt("Cannot split the selection for an unknown reason"),
|
|
16197
|
-
[
|
|
16198
|
-
[
|
|
16199
|
-
[
|
|
16198
|
+
[93 /* CommandResult.NoSplitSeparatorInSelection */]: _lt("There is no match for the selected separator in the selection"),
|
|
16199
|
+
[90 /* CommandResult.MoreThanOneColumnSelected */]: _lt("Only a selection from a single column can be split"),
|
|
16200
|
+
[92 /* CommandResult.SplitWillOverwriteContent */]: _lt("Splitting will overwrite existing content"),
|
|
16200
16201
|
},
|
|
16201
16202
|
};
|
|
16202
16203
|
|
|
@@ -16601,7 +16602,7 @@
|
|
|
16601
16602
|
|
|
16602
16603
|
function isDataRangeValid(definition) {
|
|
16603
16604
|
return definition.dataRange && !rangeReference.test(definition.dataRange)
|
|
16604
|
-
?
|
|
16605
|
+
? 38 /* CommandResult.InvalidGaugeDataRange */
|
|
16605
16606
|
: 0 /* CommandResult.Success */;
|
|
16606
16607
|
}
|
|
16607
16608
|
function checkRangeLimits(check, batchValidations) {
|
|
@@ -16633,7 +16634,7 @@
|
|
|
16633
16634
|
function checkRangeMinBiggerThanRangeMax(definition) {
|
|
16634
16635
|
if (definition.sectionRule) {
|
|
16635
16636
|
if (Number(definition.sectionRule.rangeMin) >= Number(definition.sectionRule.rangeMax)) {
|
|
16636
|
-
return
|
|
16637
|
+
return 43 /* CommandResult.GaugeRangeMinBiggerThanRangeMax */;
|
|
16637
16638
|
}
|
|
16638
16639
|
}
|
|
16639
16640
|
return 0 /* CommandResult.Success */;
|
|
@@ -16642,9 +16643,9 @@
|
|
|
16642
16643
|
if (value === "") {
|
|
16643
16644
|
switch (valueName) {
|
|
16644
16645
|
case "rangeMin":
|
|
16645
|
-
return
|
|
16646
|
+
return 39 /* CommandResult.EmptyGaugeRangeMin */;
|
|
16646
16647
|
case "rangeMax":
|
|
16647
|
-
return
|
|
16648
|
+
return 41 /* CommandResult.EmptyGaugeRangeMax */;
|
|
16648
16649
|
}
|
|
16649
16650
|
}
|
|
16650
16651
|
return 0 /* CommandResult.Success */;
|
|
@@ -16653,13 +16654,13 @@
|
|
|
16653
16654
|
if (isNaN(value)) {
|
|
16654
16655
|
switch (valueName) {
|
|
16655
16656
|
case "rangeMin":
|
|
16656
|
-
return
|
|
16657
|
+
return 40 /* CommandResult.GaugeRangeMinNaN */;
|
|
16657
16658
|
case "rangeMax":
|
|
16658
|
-
return
|
|
16659
|
+
return 42 /* CommandResult.GaugeRangeMaxNaN */;
|
|
16659
16660
|
case "lowerInflectionPointValue":
|
|
16660
|
-
return
|
|
16661
|
+
return 44 /* CommandResult.GaugeLowerInflectionPointNaN */;
|
|
16661
16662
|
case "upperInflectionPointValue":
|
|
16662
|
-
return
|
|
16663
|
+
return 45 /* CommandResult.GaugeUpperInflectionPointNaN */;
|
|
16663
16664
|
}
|
|
16664
16665
|
}
|
|
16665
16666
|
return 0 /* CommandResult.Success */;
|
|
@@ -17455,12 +17456,12 @@
|
|
|
17455
17456
|
|
|
17456
17457
|
function checkKeyValue(definition) {
|
|
17457
17458
|
return definition.keyValue && !rangeReference.test(definition.keyValue)
|
|
17458
|
-
?
|
|
17459
|
+
? 36 /* CommandResult.InvalidScorecardKeyValue */
|
|
17459
17460
|
: 0 /* CommandResult.Success */;
|
|
17460
17461
|
}
|
|
17461
17462
|
function checkBaseline(definition) {
|
|
17462
17463
|
return definition.baseline && !rangeReference.test(definition.baseline)
|
|
17463
|
-
?
|
|
17464
|
+
? 37 /* CommandResult.InvalidScorecardBaseline */
|
|
17464
17465
|
: 0 /* CommandResult.Success */;
|
|
17465
17466
|
}
|
|
17466
17467
|
class ScorecardChart extends AbstractChart {
|
|
@@ -17987,7 +17988,7 @@
|
|
|
17987
17988
|
};
|
|
17988
17989
|
function interactiveAddMerge(env, sheetId, target) {
|
|
17989
17990
|
const result = env.model.dispatch("ADD_MERGE", { sheetId, target });
|
|
17990
|
-
if (result.isCancelledBecause(
|
|
17991
|
+
if (result.isCancelledBecause(82 /* CommandResult.MergeInFilter */)) {
|
|
17991
17992
|
env.raiseError(AddMergeInteractiveContent.MergeInFilter);
|
|
17992
17993
|
}
|
|
17993
17994
|
else if (result.isCancelledBecause(3 /* CommandResult.MergeIsDestructive */)) {
|
|
@@ -18014,7 +18015,7 @@
|
|
|
18014
18015
|
else if (result.reasons.includes(23 /* CommandResult.WrongFigurePasteOption */)) {
|
|
18015
18016
|
env.raiseError(PasteInteractiveContent.wrongFigurePasteOption);
|
|
18016
18017
|
}
|
|
18017
|
-
else if (result.reasons.includes(
|
|
18018
|
+
else if (result.reasons.includes(77 /* CommandResult.FrozenPaneOverlap */)) {
|
|
18018
18019
|
env.raiseError(PasteInteractiveContent.frozenPaneOverlap);
|
|
18019
18020
|
}
|
|
18020
18021
|
}
|
|
@@ -19190,7 +19191,7 @@
|
|
|
19190
19191
|
});
|
|
19191
19192
|
}
|
|
19192
19193
|
}
|
|
19193
|
-
if (result.isCancelledBecause(
|
|
19194
|
+
if (result.isCancelledBecause(65 /* CommandResult.InvalidSortZone */)) {
|
|
19194
19195
|
const { col, row } = anchor;
|
|
19195
19196
|
env.model.selection.selectZone({ cell: { col, row }, zone });
|
|
19196
19197
|
env.raiseError(_lt("Cannot sort. To sort, select only cells or only merges that have the same size."));
|
|
@@ -19204,13 +19205,13 @@
|
|
|
19204
19205
|
};
|
|
19205
19206
|
function interactiveAddFilter(env, sheetId, target) {
|
|
19206
19207
|
const result = env.model.dispatch("CREATE_FILTER_TABLE", { target, sheetId });
|
|
19207
|
-
if (result.isCancelledBecause(
|
|
19208
|
+
if (result.isCancelledBecause(80 /* CommandResult.FilterOverlap */)) {
|
|
19208
19209
|
env.raiseError(AddFilterInteractiveContent.filterOverlap);
|
|
19209
19210
|
}
|
|
19210
|
-
else if (result.isCancelledBecause(
|
|
19211
|
+
else if (result.isCancelledBecause(82 /* CommandResult.MergeInFilter */)) {
|
|
19211
19212
|
env.raiseError(AddFilterInteractiveContent.mergeInFilter);
|
|
19212
19213
|
}
|
|
19213
|
-
else if (result.isCancelledBecause(
|
|
19214
|
+
else if (result.isCancelledBecause(83 /* CommandResult.NonContinuousTargets */)) {
|
|
19214
19215
|
env.raiseError(AddFilterInteractiveContent.nonContinuousTargets);
|
|
19215
19216
|
}
|
|
19216
19217
|
}
|
|
@@ -19647,7 +19648,7 @@
|
|
|
19647
19648
|
const sheetId = env.model.getters.getActiveSheetId();
|
|
19648
19649
|
const cmd = dimension === "COL" ? "FREEZE_COLUMNS" : "FREEZE_ROWS";
|
|
19649
19650
|
const result = env.model.dispatch(cmd, { sheetId, quantity: base });
|
|
19650
|
-
if (result.isCancelledBecause(
|
|
19651
|
+
if (result.isCancelledBecause(67 /* CommandResult.MergeOverlap */)) {
|
|
19651
19652
|
env.raiseError(MergeErrorMessage);
|
|
19652
19653
|
}
|
|
19653
19654
|
}
|
|
@@ -20685,16 +20686,11 @@
|
|
|
20685
20686
|
this.triggerChange();
|
|
20686
20687
|
}
|
|
20687
20688
|
reset() {
|
|
20688
|
-
|
|
20689
|
-
|
|
20690
|
-
this.
|
|
20691
|
-
|
|
20692
|
-
|
|
20693
|
-
});
|
|
20694
|
-
}
|
|
20695
|
-
for (const range of this.previousRanges) {
|
|
20696
|
-
this.env.model.dispatch("ADD_RANGE", { id: this.id, value: range });
|
|
20697
|
-
}
|
|
20689
|
+
this.env.model.dispatch("ENABLE_NEW_SELECTION_INPUT", {
|
|
20690
|
+
id: this.id,
|
|
20691
|
+
initialRanges: this.previousRanges,
|
|
20692
|
+
hasSingleRange: this.props.hasSingleRange,
|
|
20693
|
+
});
|
|
20698
20694
|
this.confirm();
|
|
20699
20695
|
}
|
|
20700
20696
|
confirm() {
|
|
@@ -20703,11 +20699,13 @@
|
|
|
20703
20699
|
const existingSelectionXcs = [];
|
|
20704
20700
|
for (const range of existingSelectionRanges) {
|
|
20705
20701
|
if (range.xc === "") {
|
|
20706
|
-
this.env.model.dispatch("REMOVE_RANGE", {
|
|
20702
|
+
const result = this.env.model.dispatch("REMOVE_RANGE", {
|
|
20707
20703
|
id: this.id,
|
|
20708
20704
|
rangeId: range.id,
|
|
20709
20705
|
});
|
|
20710
|
-
|
|
20706
|
+
if (result.isSuccessful) {
|
|
20707
|
+
continue;
|
|
20708
|
+
}
|
|
20711
20709
|
}
|
|
20712
20710
|
existingSelectionXcs.push(range.xc);
|
|
20713
20711
|
if (this.env.model.getters.isRangeValid(range.xc)) {
|
|
@@ -20790,10 +20788,10 @@
|
|
|
20790
20788
|
return cancelledReasons.map((error) => ChartTerms.Errors[error] || ChartTerms.Errors.Unexpected);
|
|
20791
20789
|
}
|
|
20792
20790
|
get isDatasetInvalid() {
|
|
20793
|
-
return !!this.state.datasetDispatchResult?.isCancelledBecause(
|
|
20791
|
+
return !!this.state.datasetDispatchResult?.isCancelledBecause(34 /* CommandResult.InvalidDataSet */);
|
|
20794
20792
|
}
|
|
20795
20793
|
get isLabelInvalid() {
|
|
20796
|
-
return !!this.state.labelsDispatchResult?.isCancelledBecause(
|
|
20794
|
+
return !!this.state.labelsDispatchResult?.isCancelledBecause(35 /* CommandResult.InvalidLabelRange */);
|
|
20797
20795
|
}
|
|
20798
20796
|
onUpdateDataSetsHaveTitle(ev) {
|
|
20799
20797
|
this.props.updateChart(this.props.figureId, {
|
|
@@ -21467,7 +21465,7 @@
|
|
|
21467
21465
|
return cancelledReasons.map((error) => ChartTerms.Errors[error] || ChartTerms.Errors.Unexpected);
|
|
21468
21466
|
}
|
|
21469
21467
|
get isDataRangeInvalid() {
|
|
21470
|
-
return !!this.state.dataRangeDispatchResult?.isCancelledBecause(
|
|
21468
|
+
return !!this.state.dataRangeDispatchResult?.isCancelledBecause(38 /* CommandResult.InvalidGaugeDataRange */);
|
|
21471
21469
|
}
|
|
21472
21470
|
onDataRangeChanged(ranges) {
|
|
21473
21471
|
this.dataRange = ranges[0];
|
|
@@ -21551,25 +21549,25 @@
|
|
|
21551
21549
|
});
|
|
21552
21550
|
}
|
|
21553
21551
|
isRangeMinInvalid() {
|
|
21554
|
-
return !!(this.state.sectionRuleDispatchResult?.isCancelledBecause(
|
|
21555
|
-
this.state.sectionRuleDispatchResult?.isCancelledBecause(
|
|
21556
|
-
this.state.sectionRuleDispatchResult?.isCancelledBecause(
|
|
21552
|
+
return !!(this.state.sectionRuleDispatchResult?.isCancelledBecause(39 /* CommandResult.EmptyGaugeRangeMin */) ||
|
|
21553
|
+
this.state.sectionRuleDispatchResult?.isCancelledBecause(40 /* CommandResult.GaugeRangeMinNaN */) ||
|
|
21554
|
+
this.state.sectionRuleDispatchResult?.isCancelledBecause(43 /* CommandResult.GaugeRangeMinBiggerThanRangeMax */));
|
|
21557
21555
|
}
|
|
21558
21556
|
isRangeMaxInvalid() {
|
|
21559
|
-
return !!(this.state.sectionRuleDispatchResult?.isCancelledBecause(
|
|
21560
|
-
this.state.sectionRuleDispatchResult?.isCancelledBecause(
|
|
21561
|
-
this.state.sectionRuleDispatchResult?.isCancelledBecause(
|
|
21557
|
+
return !!(this.state.sectionRuleDispatchResult?.isCancelledBecause(41 /* CommandResult.EmptyGaugeRangeMax */) ||
|
|
21558
|
+
this.state.sectionRuleDispatchResult?.isCancelledBecause(42 /* CommandResult.GaugeRangeMaxNaN */) ||
|
|
21559
|
+
this.state.sectionRuleDispatchResult?.isCancelledBecause(43 /* CommandResult.GaugeRangeMinBiggerThanRangeMax */));
|
|
21562
21560
|
}
|
|
21563
21561
|
// ---------------------------------------------------------------------------
|
|
21564
21562
|
// COLOR_SECTION_TEMPLATE
|
|
21565
21563
|
// ---------------------------------------------------------------------------
|
|
21566
21564
|
get isLowerInflectionPointInvalid() {
|
|
21567
|
-
return !!(this.state.sectionRuleDispatchResult?.isCancelledBecause(
|
|
21568
|
-
this.state.sectionRuleDispatchResult?.isCancelledBecause(
|
|
21565
|
+
return !!(this.state.sectionRuleDispatchResult?.isCancelledBecause(44 /* CommandResult.GaugeLowerInflectionPointNaN */) ||
|
|
21566
|
+
this.state.sectionRuleDispatchResult?.isCancelledBecause(46 /* CommandResult.GaugeLowerBiggerThanUpper */));
|
|
21569
21567
|
}
|
|
21570
21568
|
get isUpperInflectionPointInvalid() {
|
|
21571
|
-
return !!(this.state.sectionRuleDispatchResult?.isCancelledBecause(
|
|
21572
|
-
this.state.sectionRuleDispatchResult?.isCancelledBecause(
|
|
21569
|
+
return !!(this.state.sectionRuleDispatchResult?.isCancelledBecause(45 /* CommandResult.GaugeUpperInflectionPointNaN */) ||
|
|
21570
|
+
this.state.sectionRuleDispatchResult?.isCancelledBecause(46 /* CommandResult.GaugeLowerBiggerThanUpper */));
|
|
21573
21571
|
}
|
|
21574
21572
|
updateSectionColor(target, color) {
|
|
21575
21573
|
const sectionRule = deepCopy(this.state.sectionRule);
|
|
@@ -21657,10 +21655,10 @@
|
|
|
21657
21655
|
return cancelledReasons.map((error) => ChartTerms.Errors[error] || ChartTerms.Errors.Unexpected);
|
|
21658
21656
|
}
|
|
21659
21657
|
get isKeyValueInvalid() {
|
|
21660
|
-
return !!this.state.keyValueDispatchResult?.isCancelledBecause(
|
|
21658
|
+
return !!this.state.keyValueDispatchResult?.isCancelledBecause(36 /* CommandResult.InvalidScorecardKeyValue */);
|
|
21661
21659
|
}
|
|
21662
21660
|
get isBaselineInvalid() {
|
|
21663
|
-
return !!this.state.keyValueDispatchResult?.isCancelledBecause(
|
|
21661
|
+
return !!this.state.keyValueDispatchResult?.isCancelledBecause(37 /* CommandResult.InvalidScorecardBaseline */);
|
|
21664
21662
|
}
|
|
21665
21663
|
onKeyValueRangeChanged(ranges) {
|
|
21666
21664
|
this.keyValue = ranges[0];
|
|
@@ -22555,10 +22553,10 @@
|
|
|
22555
22553
|
* Cell Is Rule
|
|
22556
22554
|
****************************************************************************/
|
|
22557
22555
|
get isValue1Invalid() {
|
|
22558
|
-
return !!this.state.errors?.includes(
|
|
22556
|
+
return !!this.state.errors?.includes(53 /* CommandResult.FirstArgMissing */);
|
|
22559
22557
|
}
|
|
22560
22558
|
get isValue2Invalid() {
|
|
22561
|
-
return !!this.state.errors?.includes(
|
|
22559
|
+
return !!this.state.errors?.includes(54 /* CommandResult.SecondArgMissing */);
|
|
22562
22560
|
}
|
|
22563
22561
|
toggleStyle(tool) {
|
|
22564
22562
|
const style = this.state.rules.cellIs.style;
|
|
@@ -22575,17 +22573,17 @@
|
|
|
22575
22573
|
isValueInvalid(threshold) {
|
|
22576
22574
|
switch (threshold) {
|
|
22577
22575
|
case "minimum":
|
|
22578
|
-
return (this.state.errors.includes(
|
|
22579
|
-
this.state.errors.includes(
|
|
22580
|
-
this.state.errors.includes(
|
|
22581
|
-
this.state.errors.includes(
|
|
22576
|
+
return (this.state.errors.includes(60 /* CommandResult.MinInvalidFormula */) ||
|
|
22577
|
+
this.state.errors.includes(52 /* CommandResult.MinBiggerThanMid */) ||
|
|
22578
|
+
this.state.errors.includes(49 /* CommandResult.MinBiggerThanMax */) ||
|
|
22579
|
+
this.state.errors.includes(55 /* CommandResult.MinNaN */));
|
|
22582
22580
|
case "midpoint":
|
|
22583
|
-
return (this.state.errors.includes(
|
|
22584
|
-
this.state.errors.includes(
|
|
22585
|
-
this.state.errors.includes(
|
|
22581
|
+
return (this.state.errors.includes(61 /* CommandResult.MidInvalidFormula */) ||
|
|
22582
|
+
this.state.errors.includes(56 /* CommandResult.MidNaN */) ||
|
|
22583
|
+
this.state.errors.includes(51 /* CommandResult.MidBiggerThanMax */));
|
|
22586
22584
|
case "maximum":
|
|
22587
|
-
return (this.state.errors.includes(
|
|
22588
|
-
this.state.errors.includes(
|
|
22585
|
+
return (this.state.errors.includes(62 /* CommandResult.MaxInvalidFormula */) ||
|
|
22586
|
+
this.state.errors.includes(57 /* CommandResult.MaxNaN */));
|
|
22589
22587
|
default:
|
|
22590
22588
|
return false;
|
|
22591
22589
|
}
|
|
@@ -22633,13 +22631,13 @@
|
|
|
22633
22631
|
isInflectionPointInvalid(inflectionPoint) {
|
|
22634
22632
|
switch (inflectionPoint) {
|
|
22635
22633
|
case "lowerInflectionPoint":
|
|
22636
|
-
return (this.state.errors.includes(
|
|
22637
|
-
this.state.errors.includes(
|
|
22638
|
-
this.state.errors.includes(
|
|
22634
|
+
return (this.state.errors.includes(59 /* CommandResult.ValueLowerInflectionNaN */) ||
|
|
22635
|
+
this.state.errors.includes(64 /* CommandResult.ValueLowerInvalidFormula */) ||
|
|
22636
|
+
this.state.errors.includes(50 /* CommandResult.LowerBiggerThanUpper */));
|
|
22639
22637
|
case "upperInflectionPoint":
|
|
22640
|
-
return (this.state.errors.includes(
|
|
22641
|
-
this.state.errors.includes(
|
|
22642
|
-
this.state.errors.includes(
|
|
22638
|
+
return (this.state.errors.includes(58 /* CommandResult.ValueUpperInflectionNaN */) ||
|
|
22639
|
+
this.state.errors.includes(63 /* CommandResult.ValueUpperInvalidFormula */) ||
|
|
22640
|
+
this.state.errors.includes(50 /* CommandResult.LowerBiggerThanUpper */));
|
|
22643
22641
|
default:
|
|
22644
22642
|
return true;
|
|
22645
22643
|
}
|
|
@@ -23002,7 +23000,7 @@
|
|
|
23002
23000
|
};
|
|
23003
23001
|
function interactiveSplitToColumns(env, separator, addNewColumns) {
|
|
23004
23002
|
let result = env.model.dispatch("SPLIT_TEXT_INTO_COLUMNS", { separator, addNewColumns });
|
|
23005
|
-
if (result.isCancelledBecause(
|
|
23003
|
+
if (result.isCancelledBecause(92 /* CommandResult.SplitWillOverwriteContent */)) {
|
|
23006
23004
|
env.askConfirmation(SplitToColumnsInteractiveContent.SplitIsDestructive, () => {
|
|
23007
23005
|
result = env.model.dispatch("SPLIT_TEXT_INTO_COLUMNS", {
|
|
23008
23006
|
separator,
|
|
@@ -23066,8 +23064,8 @@
|
|
|
23066
23064
|
const errors = new Set();
|
|
23067
23065
|
for (const reason of cancelledReasons) {
|
|
23068
23066
|
switch (reason) {
|
|
23069
|
-
case
|
|
23070
|
-
case
|
|
23067
|
+
case 92 /* CommandResult.SplitWillOverwriteContent */:
|
|
23068
|
+
case 91 /* CommandResult.EmptySplitSeparator */:
|
|
23071
23069
|
break;
|
|
23072
23070
|
default:
|
|
23073
23071
|
errors.add(SplitToColumnsTerms.Errors[reason] || SplitToColumnsTerms.Errors.Unexpected);
|
|
@@ -23082,8 +23080,8 @@
|
|
|
23082
23080
|
addNewColumns: this.state.addNewColumns,
|
|
23083
23081
|
force: false,
|
|
23084
23082
|
}).reasons;
|
|
23085
|
-
if (cancelledReasons.includes(
|
|
23086
|
-
warnings.push(SplitToColumnsTerms.Errors[
|
|
23083
|
+
if (cancelledReasons.includes(92 /* CommandResult.SplitWillOverwriteContent */)) {
|
|
23084
|
+
warnings.push(SplitToColumnsTerms.Errors[92 /* CommandResult.SplitWillOverwriteContent */]);
|
|
23087
23085
|
}
|
|
23088
23086
|
return warnings;
|
|
23089
23087
|
}
|
|
@@ -32317,13 +32315,13 @@
|
|
|
32317
32315
|
}
|
|
32318
32316
|
checkChartDuplicate(cmd) {
|
|
32319
32317
|
return this.getters.getFigureSheetId(cmd.id)
|
|
32320
|
-
?
|
|
32318
|
+
? 86 /* CommandResult.DuplicatedChartId */
|
|
32321
32319
|
: 0 /* CommandResult.Success */;
|
|
32322
32320
|
}
|
|
32323
32321
|
checkChartExists(cmd) {
|
|
32324
32322
|
return this.getters.getFigureSheetId(cmd.id)
|
|
32325
32323
|
? 0 /* CommandResult.Success */
|
|
32326
|
-
:
|
|
32324
|
+
: 87 /* CommandResult.ChartDoesNotExist */;
|
|
32327
32325
|
}
|
|
32328
32326
|
}
|
|
32329
32327
|
|
|
@@ -32535,10 +32533,10 @@
|
|
|
32535
32533
|
return 28 /* CommandResult.InvalidSheetId */;
|
|
32536
32534
|
const ruleIndex = this.cfRules[sheetId].findIndex((cf) => cf.id === cfId);
|
|
32537
32535
|
if (ruleIndex === -1)
|
|
32538
|
-
return
|
|
32536
|
+
return 73 /* CommandResult.InvalidConditionalFormatId */;
|
|
32539
32537
|
const cfIndex2 = direction === "up" ? ruleIndex - 1 : ruleIndex + 1;
|
|
32540
32538
|
if (cfIndex2 < 0 || cfIndex2 >= this.cfRules[sheetId].length) {
|
|
32541
|
-
return
|
|
32539
|
+
return 73 /* CommandResult.InvalidConditionalFormatId */;
|
|
32542
32540
|
}
|
|
32543
32541
|
return 0 /* CommandResult.Success */;
|
|
32544
32542
|
}
|
|
@@ -32579,10 +32577,10 @@
|
|
|
32579
32577
|
const errors = [];
|
|
32580
32578
|
const isEmpty = (value) => value === undefined || value === "";
|
|
32581
32579
|
if (expectedNumber >= 1 && isEmpty(rule.values[0])) {
|
|
32582
|
-
errors.push(
|
|
32580
|
+
errors.push(53 /* CommandResult.FirstArgMissing */);
|
|
32583
32581
|
}
|
|
32584
32582
|
if (expectedNumber >= 2 && isEmpty(rule.values[1])) {
|
|
32585
|
-
errors.push(
|
|
32583
|
+
errors.push(54 /* CommandResult.SecondArgMissing */);
|
|
32586
32584
|
}
|
|
32587
32585
|
return errors.length ? errors : 0 /* CommandResult.Success */;
|
|
32588
32586
|
}
|
|
@@ -32594,15 +32592,15 @@
|
|
|
32594
32592
|
(threshold.value === "" || isNaN(threshold.value))) {
|
|
32595
32593
|
switch (thresholdName) {
|
|
32596
32594
|
case "min":
|
|
32597
|
-
return
|
|
32595
|
+
return 55 /* CommandResult.MinNaN */;
|
|
32598
32596
|
case "max":
|
|
32599
|
-
return
|
|
32597
|
+
return 57 /* CommandResult.MaxNaN */;
|
|
32600
32598
|
case "mid":
|
|
32601
|
-
return
|
|
32599
|
+
return 56 /* CommandResult.MidNaN */;
|
|
32602
32600
|
case "upperInflectionPoint":
|
|
32603
|
-
return
|
|
32601
|
+
return 58 /* CommandResult.ValueUpperInflectionNaN */;
|
|
32604
32602
|
case "lowerInflectionPoint":
|
|
32605
|
-
return
|
|
32603
|
+
return 59 /* CommandResult.ValueLowerInflectionNaN */;
|
|
32606
32604
|
}
|
|
32607
32605
|
}
|
|
32608
32606
|
return 0 /* CommandResult.Success */;
|
|
@@ -32616,15 +32614,15 @@
|
|
|
32616
32614
|
catch (error) {
|
|
32617
32615
|
switch (thresholdName) {
|
|
32618
32616
|
case "min":
|
|
32619
|
-
return
|
|
32617
|
+
return 60 /* CommandResult.MinInvalidFormula */;
|
|
32620
32618
|
case "max":
|
|
32621
|
-
return
|
|
32619
|
+
return 62 /* CommandResult.MaxInvalidFormula */;
|
|
32622
32620
|
case "mid":
|
|
32623
|
-
return
|
|
32621
|
+
return 61 /* CommandResult.MidInvalidFormula */;
|
|
32624
32622
|
case "upperInflectionPoint":
|
|
32625
|
-
return
|
|
32623
|
+
return 63 /* CommandResult.ValueUpperInvalidFormula */;
|
|
32626
32624
|
case "lowerInflectionPoint":
|
|
32627
|
-
return
|
|
32625
|
+
return 64 /* CommandResult.ValueLowerInvalidFormula */;
|
|
32628
32626
|
}
|
|
32629
32627
|
}
|
|
32630
32628
|
return 0 /* CommandResult.Success */;
|
|
@@ -32641,7 +32639,7 @@
|
|
|
32641
32639
|
if (["number", "percentage", "percentile"].includes(rule.lowerInflectionPoint.type) &&
|
|
32642
32640
|
rule.lowerInflectionPoint.type === rule.upperInflectionPoint.type &&
|
|
32643
32641
|
Number(minValue) > Number(maxValue)) {
|
|
32644
|
-
return
|
|
32642
|
+
return 50 /* CommandResult.LowerBiggerThanUpper */;
|
|
32645
32643
|
}
|
|
32646
32644
|
return 0 /* CommandResult.Success */;
|
|
32647
32645
|
}
|
|
@@ -32651,7 +32649,7 @@
|
|
|
32651
32649
|
if (["number", "percentage", "percentile"].includes(rule.minimum.type) &&
|
|
32652
32650
|
rule.minimum.type === rule.maximum.type &&
|
|
32653
32651
|
stringToNumber(minValue) >= stringToNumber(maxValue)) {
|
|
32654
|
-
return
|
|
32652
|
+
return 49 /* CommandResult.MinBiggerThanMax */;
|
|
32655
32653
|
}
|
|
32656
32654
|
return 0 /* CommandResult.Success */;
|
|
32657
32655
|
}
|
|
@@ -32662,7 +32660,7 @@
|
|
|
32662
32660
|
["number", "percentage", "percentile"].includes(rule.midpoint.type) &&
|
|
32663
32661
|
rule.midpoint.type === rule.maximum.type &&
|
|
32664
32662
|
stringToNumber(midValue) >= stringToNumber(maxValue)) {
|
|
32665
|
-
return
|
|
32663
|
+
return 51 /* CommandResult.MidBiggerThanMax */;
|
|
32666
32664
|
}
|
|
32667
32665
|
return 0 /* CommandResult.Success */;
|
|
32668
32666
|
}
|
|
@@ -32673,7 +32671,7 @@
|
|
|
32673
32671
|
["number", "percentage", "percentile"].includes(rule.midpoint.type) &&
|
|
32674
32672
|
rule.minimum.type === rule.midpoint.type &&
|
|
32675
32673
|
stringToNumber(minValue) >= stringToNumber(midValue)) {
|
|
32676
|
-
return
|
|
32674
|
+
return 52 /* CommandResult.MinBiggerThanMid */;
|
|
32677
32675
|
}
|
|
32678
32676
|
return 0 /* CommandResult.Success */;
|
|
32679
32677
|
}
|
|
@@ -32805,13 +32803,13 @@
|
|
|
32805
32803
|
}
|
|
32806
32804
|
checkFigureExists(sheetId, figureId) {
|
|
32807
32805
|
if (this.figures[sheetId]?.[figureId] === undefined) {
|
|
32808
|
-
return
|
|
32806
|
+
return 72 /* CommandResult.FigureDoesNotExist */;
|
|
32809
32807
|
}
|
|
32810
32808
|
return 0 /* CommandResult.Success */;
|
|
32811
32809
|
}
|
|
32812
32810
|
checkFigureDuplicate(figureId) {
|
|
32813
32811
|
if (Object.values(this.figures).find((sheet) => sheet?.[figureId])) {
|
|
32814
|
-
return
|
|
32812
|
+
return 84 /* CommandResult.DuplicatedFigureId */;
|
|
32815
32813
|
}
|
|
32816
32814
|
return 0 /* CommandResult.Success */;
|
|
32817
32815
|
}
|
|
@@ -32923,12 +32921,12 @@
|
|
|
32923
32921
|
switch (cmd.type) {
|
|
32924
32922
|
case "CREATE_FILTER_TABLE":
|
|
32925
32923
|
if (!areZonesContinuous(...cmd.target)) {
|
|
32926
|
-
return
|
|
32924
|
+
return 83 /* CommandResult.NonContinuousTargets */;
|
|
32927
32925
|
}
|
|
32928
32926
|
const zone = union(...cmd.target);
|
|
32929
32927
|
const checkFilterOverlap = () => {
|
|
32930
32928
|
if (this.getFilterTables(cmd.sheetId).some((filter) => overlap(filter.zone, zone))) {
|
|
32931
|
-
return
|
|
32929
|
+
return 80 /* CommandResult.FilterOverlap */;
|
|
32932
32930
|
}
|
|
32933
32931
|
return 0 /* CommandResult.Success */;
|
|
32934
32932
|
};
|
|
@@ -32936,7 +32934,7 @@
|
|
|
32936
32934
|
const mergesInTarget = this.getters.getMergesInZone(cmd.sheetId, zone);
|
|
32937
32935
|
for (let merge of mergesInTarget) {
|
|
32938
32936
|
if (overlap(zone, merge)) {
|
|
32939
|
-
return
|
|
32937
|
+
return 82 /* CommandResult.MergeInFilter */;
|
|
32940
32938
|
}
|
|
32941
32939
|
}
|
|
32942
32940
|
return 0 /* CommandResult.Success */;
|
|
@@ -32946,7 +32944,7 @@
|
|
|
32946
32944
|
for (let merge of cmd.target) {
|
|
32947
32945
|
for (let filterTable of this.getFilterTables(cmd.sheetId)) {
|
|
32948
32946
|
if (overlap(filterTable.zone, merge)) {
|
|
32949
|
-
return
|
|
32947
|
+
return 82 /* CommandResult.MergeInFilter */;
|
|
32950
32948
|
}
|
|
32951
32949
|
}
|
|
32952
32950
|
}
|
|
@@ -33308,10 +33306,10 @@
|
|
|
33308
33306
|
: this.getters.getNumberRows(cmd.sheetId);
|
|
33309
33307
|
const hiddenElements = new Set((hiddenGroup || []).flat().concat(cmd.elements));
|
|
33310
33308
|
if (hiddenElements.size >= elements) {
|
|
33311
|
-
return
|
|
33309
|
+
return 68 /* CommandResult.TooManyHiddenElements */;
|
|
33312
33310
|
}
|
|
33313
33311
|
else if (Math.min(...cmd.elements) < 0 || Math.max(...cmd.elements) > elements) {
|
|
33314
|
-
return
|
|
33312
|
+
return 88 /* CommandResult.InvalidHeaderIndex */;
|
|
33315
33313
|
}
|
|
33316
33314
|
else {
|
|
33317
33315
|
return 0 /* CommandResult.Success */;
|
|
@@ -33875,7 +33873,7 @@
|
|
|
33875
33873
|
for (const zone of target) {
|
|
33876
33874
|
for (const zone2 of target) {
|
|
33877
33875
|
if (zone !== zone2 && overlap(zone, zone2)) {
|
|
33878
|
-
return
|
|
33876
|
+
return 67 /* CommandResult.MergeOverlap */;
|
|
33879
33877
|
}
|
|
33880
33878
|
}
|
|
33881
33879
|
}
|
|
@@ -33889,7 +33887,7 @@
|
|
|
33889
33887
|
for (const zone of target) {
|
|
33890
33888
|
if ((zone.left < xSplit && zone.right >= xSplit) ||
|
|
33891
33889
|
(zone.top < ySplit && zone.bottom >= ySplit)) {
|
|
33892
|
-
return
|
|
33890
|
+
return 77 /* CommandResult.FrozenPaneOverlap */;
|
|
33893
33891
|
}
|
|
33894
33892
|
}
|
|
33895
33893
|
return 0 /* CommandResult.Success */;
|
|
@@ -34522,10 +34520,10 @@
|
|
|
34522
34520
|
? this.getNumberCols(cmd.sheetId)
|
|
34523
34521
|
: this.getNumberRows(cmd.sheetId);
|
|
34524
34522
|
if (cmd.base < 0 || cmd.base > elements) {
|
|
34525
|
-
return
|
|
34523
|
+
return 88 /* CommandResult.InvalidHeaderIndex */;
|
|
34526
34524
|
}
|
|
34527
34525
|
else if (cmd.quantity <= 0) {
|
|
34528
|
-
return
|
|
34526
|
+
return 89 /* CommandResult.InvalidQuantity */;
|
|
34529
34527
|
}
|
|
34530
34528
|
return 0 /* CommandResult.Success */;
|
|
34531
34529
|
case "REMOVE_COLUMNS_ROWS": {
|
|
@@ -34533,7 +34531,7 @@
|
|
|
34533
34531
|
? this.getNumberCols(cmd.sheetId)
|
|
34534
34532
|
: this.getNumberRows(cmd.sheetId);
|
|
34535
34533
|
if (Math.min(...cmd.elements) < 0 || Math.max(...cmd.elements) > elements) {
|
|
34536
|
-
return
|
|
34534
|
+
return 88 /* CommandResult.InvalidHeaderIndex */;
|
|
34537
34535
|
}
|
|
34538
34536
|
else if (this.checkElementsIncludeAllNonFrozenHeaders(cmd.sheetId, cmd.dimension, cmd.elements)) {
|
|
34539
34537
|
return 8 /* CommandResult.NotEnoughElements */;
|
|
@@ -35013,18 +35011,18 @@
|
|
|
35013
35011
|
checkRowFreezeQuantity(cmd) {
|
|
35014
35012
|
return cmd.quantity >= 1 && cmd.quantity < this.getNumberRows(cmd.sheetId)
|
|
35015
35013
|
? 0 /* CommandResult.Success */
|
|
35016
|
-
:
|
|
35014
|
+
: 76 /* CommandResult.InvalidFreezeQuantity */;
|
|
35017
35015
|
}
|
|
35018
35016
|
checkColFreezeQuantity(cmd) {
|
|
35019
35017
|
return cmd.quantity >= 1 && cmd.quantity < this.getNumberCols(cmd.sheetId)
|
|
35020
35018
|
? 0 /* CommandResult.Success */
|
|
35021
|
-
:
|
|
35019
|
+
: 76 /* CommandResult.InvalidFreezeQuantity */;
|
|
35022
35020
|
}
|
|
35023
35021
|
checkRowFreezeOverlapMerge(cmd) {
|
|
35024
35022
|
const merges = this.getters.getMerges(cmd.sheetId);
|
|
35025
35023
|
for (let merge of merges) {
|
|
35026
35024
|
if (merge.top < cmd.quantity && cmd.quantity <= merge.bottom) {
|
|
35027
|
-
return
|
|
35025
|
+
return 67 /* CommandResult.MergeOverlap */;
|
|
35028
35026
|
}
|
|
35029
35027
|
}
|
|
35030
35028
|
return 0 /* CommandResult.Success */;
|
|
@@ -35033,7 +35031,7 @@
|
|
|
35033
35031
|
const merges = this.getters.getMerges(cmd.sheetId);
|
|
35034
35032
|
for (let merge of merges) {
|
|
35035
35033
|
if (merge.left < cmd.quantity && cmd.quantity <= merge.right) {
|
|
35036
|
-
return
|
|
35034
|
+
return 67 /* CommandResult.MergeOverlap */;
|
|
35037
35035
|
}
|
|
35038
35036
|
}
|
|
35039
35037
|
return 0 /* CommandResult.Success */;
|
|
@@ -35368,7 +35366,7 @@
|
|
|
35368
35366
|
allowDispatch(cmd) {
|
|
35369
35367
|
switch (cmd.type) {
|
|
35370
35368
|
case "UPDATE_LOCALE":
|
|
35371
|
-
return isValidLocale(cmd.locale) ? 0 /* CommandResult.Success */ :
|
|
35369
|
+
return isValidLocale(cmd.locale) ? 0 /* CommandResult.Success */ : 95 /* CommandResult.InvalidLocale */;
|
|
35372
35370
|
}
|
|
35373
35371
|
return 0 /* CommandResult.Success */;
|
|
35374
35372
|
}
|
|
@@ -35594,9 +35592,9 @@
|
|
|
35594
35592
|
*/
|
|
35595
35593
|
getCellsDependingOn(positionIds) {
|
|
35596
35594
|
const visited = new JetSet();
|
|
35597
|
-
const queue = Array.from(positionIds);
|
|
35595
|
+
const queue = Array.from(positionIds).reverse();
|
|
35598
35596
|
while (queue.length > 0) {
|
|
35599
|
-
const node = queue.
|
|
35597
|
+
const node = queue.pop();
|
|
35600
35598
|
visited.add(node);
|
|
35601
35599
|
const adjacentNodes = this.inverseDependencies.get(node) || new Set();
|
|
35602
35600
|
for (const adjacentNode of adjacentNodes) {
|
|
@@ -37116,7 +37114,7 @@
|
|
|
37116
37114
|
if (this.lastCellSelected.col !== undefined && this.lastCellSelected.row !== undefined) {
|
|
37117
37115
|
return 0 /* CommandResult.Success */;
|
|
37118
37116
|
}
|
|
37119
|
-
return
|
|
37117
|
+
return 47 /* CommandResult.InvalidAutofillSelection */;
|
|
37120
37118
|
case "AUTOFILL_AUTO":
|
|
37121
37119
|
const zone = this.getters.getSelectedZone();
|
|
37122
37120
|
return zone.top === zone.bottom
|
|
@@ -37733,7 +37731,7 @@
|
|
|
37733
37731
|
cellPopoverRegistry.get(cmd.popoverType);
|
|
37734
37732
|
}
|
|
37735
37733
|
catch (error) {
|
|
37736
|
-
return
|
|
37734
|
+
return 74 /* CommandResult.InvalidCellPopover */;
|
|
37737
37735
|
}
|
|
37738
37736
|
return 0 /* CommandResult.Success */;
|
|
37739
37737
|
default:
|
|
@@ -39881,6 +39879,11 @@
|
|
|
39881
39879
|
return 31 /* CommandResult.MaximumRangesReached */;
|
|
39882
39880
|
}
|
|
39883
39881
|
break;
|
|
39882
|
+
case "REMOVE_RANGE":
|
|
39883
|
+
if (this.ranges.length === 1) {
|
|
39884
|
+
return 32 /* CommandResult.MinimumRangesReached */;
|
|
39885
|
+
}
|
|
39886
|
+
break;
|
|
39884
39887
|
case "CHANGE_RANGE":
|
|
39885
39888
|
if (this.inputHasSingleRange && cmd.value.split(",").length > 1) {
|
|
39886
39889
|
return 31 /* CommandResult.MaximumRangesReached */;
|
|
@@ -40244,7 +40247,7 @@
|
|
|
40244
40247
|
/*Test the presence of single cells*/
|
|
40245
40248
|
const singleCells = positions(zone).some(({ col, row }) => !this.getters.isInMerge({ sheetId, col, row }));
|
|
40246
40249
|
if (singleCells) {
|
|
40247
|
-
return
|
|
40250
|
+
return 65 /* CommandResult.InvalidSortZone */;
|
|
40248
40251
|
}
|
|
40249
40252
|
return 0 /* CommandResult.Success */;
|
|
40250
40253
|
}
|
|
@@ -40263,7 +40266,7 @@
|
|
|
40263
40266
|
];
|
|
40264
40267
|
return widthCurrent === widthFirst && heightCurrent === heightFirst;
|
|
40265
40268
|
})) {
|
|
40266
|
-
return
|
|
40269
|
+
return 65 /* CommandResult.InvalidSortZone */;
|
|
40267
40270
|
}
|
|
40268
40271
|
return 0 /* CommandResult.Success */;
|
|
40269
40272
|
}
|
|
@@ -40701,7 +40704,7 @@
|
|
|
40701
40704
|
const sheetId = "sheetId" in cmd ? cmd.sheetId : this.getters.tryGetActiveSheetId();
|
|
40702
40705
|
const zones = this.getters.getCommandZones(cmd);
|
|
40703
40706
|
if (!sheetId && zones.length > 0) {
|
|
40704
|
-
return
|
|
40707
|
+
return 94 /* CommandResult.NoActiveSheet */;
|
|
40705
40708
|
}
|
|
40706
40709
|
if (sheetId && zones.length > 0) {
|
|
40707
40710
|
return this.getters.checkZonesExistInSheet(sheetId, zones);
|
|
@@ -41183,13 +41186,13 @@
|
|
|
41183
41186
|
}
|
|
41184
41187
|
checkSingleColSelected() {
|
|
41185
41188
|
if (!this.getters.isSingleColSelected()) {
|
|
41186
|
-
return
|
|
41189
|
+
return 90 /* CommandResult.MoreThanOneColumnSelected */;
|
|
41187
41190
|
}
|
|
41188
41191
|
return 0 /* CommandResult.Success */;
|
|
41189
41192
|
}
|
|
41190
41193
|
checkNonEmptySelector(cmd) {
|
|
41191
41194
|
if (cmd.separator === "") {
|
|
41192
|
-
return
|
|
41195
|
+
return 91 /* CommandResult.EmptySplitSeparator */;
|
|
41193
41196
|
}
|
|
41194
41197
|
return 0 /* CommandResult.Success */;
|
|
41195
41198
|
}
|
|
@@ -41200,7 +41203,7 @@
|
|
|
41200
41203
|
const selection = this.getters.getSelectedZones()[0];
|
|
41201
41204
|
const splitted = this.getSplittedCols(selection, cmd.separator);
|
|
41202
41205
|
if (this.willSplittedColsOverwriteContent(selection, splitted)) {
|
|
41203
|
-
return
|
|
41206
|
+
return 92 /* CommandResult.SplitWillOverwriteContent */;
|
|
41204
41207
|
}
|
|
41205
41208
|
return 0 /* CommandResult.Success */;
|
|
41206
41209
|
}
|
|
@@ -41211,7 +41214,7 @@
|
|
|
41211
41214
|
return 0 /* CommandResult.Success */;
|
|
41212
41215
|
}
|
|
41213
41216
|
}
|
|
41214
|
-
return
|
|
41217
|
+
return 93 /* CommandResult.NoSplitSeparatorInSelection */;
|
|
41215
41218
|
}
|
|
41216
41219
|
}
|
|
41217
41220
|
|
|
@@ -41359,7 +41362,7 @@
|
|
|
41359
41362
|
for (const zone of this.getPasteZones(target)) {
|
|
41360
41363
|
if ((zone.left < xSplit && zone.right >= xSplit) ||
|
|
41361
41364
|
(zone.top < ySplit && zone.bottom >= ySplit)) {
|
|
41362
|
-
return
|
|
41365
|
+
return 77 /* CommandResult.FrozenPaneOverlap */;
|
|
41363
41366
|
}
|
|
41364
41367
|
}
|
|
41365
41368
|
return 0 /* CommandResult.Success */;
|
|
@@ -41811,7 +41814,7 @@
|
|
|
41811
41814
|
}
|
|
41812
41815
|
isPasteAllowed(target, option) {
|
|
41813
41816
|
if (target.length === 0) {
|
|
41814
|
-
return
|
|
41817
|
+
return 75 /* CommandResult.EmptyTarget */;
|
|
41815
41818
|
}
|
|
41816
41819
|
if (option?.pasteOption !== undefined) {
|
|
41817
41820
|
return 23 /* CommandResult.WrongFigurePasteOption */;
|
|
@@ -42044,7 +42047,7 @@
|
|
|
42044
42047
|
}
|
|
42045
42048
|
case "ACTIVATE_PAINT_FORMAT": {
|
|
42046
42049
|
if (this.paintFormatStatus !== "inactive") {
|
|
42047
|
-
return
|
|
42050
|
+
return 96 /* CommandResult.AlreadyInPaintingFormatMode */;
|
|
42048
42051
|
}
|
|
42049
42052
|
}
|
|
42050
42053
|
}
|
|
@@ -42618,7 +42621,7 @@
|
|
|
42618
42621
|
validateSelection(length, start, end) {
|
|
42619
42622
|
return start >= 0 && start <= length && end >= 0 && end <= length
|
|
42620
42623
|
? 0 /* CommandResult.Success */
|
|
42621
|
-
:
|
|
42624
|
+
: 48 /* CommandResult.WrongComposerSelection */;
|
|
42622
42625
|
}
|
|
42623
42626
|
onColumnsRemoved(cmd) {
|
|
42624
42627
|
if (cmd.elements.includes(this.col) && this.mode !== "inactive") {
|
|
@@ -42999,7 +43002,7 @@
|
|
|
42999
43002
|
switch (cmd.type) {
|
|
43000
43003
|
case "UPDATE_FILTER":
|
|
43001
43004
|
if (!this.getters.getFilterId(cmd)) {
|
|
43002
|
-
return
|
|
43005
|
+
return 81 /* CommandResult.FilterNotFound */;
|
|
43003
43006
|
}
|
|
43004
43007
|
break;
|
|
43005
43008
|
}
|
|
@@ -44602,7 +44605,7 @@
|
|
|
44602
44605
|
}
|
|
44603
44606
|
checkPositiveDimension(cmd) {
|
|
44604
44607
|
if (cmd.width < 0 || cmd.height < 0) {
|
|
44605
|
-
return
|
|
44608
|
+
return 70 /* CommandResult.InvalidViewportSize */;
|
|
44606
44609
|
}
|
|
44607
44610
|
return 0 /* CommandResult.Success */;
|
|
44608
44611
|
}
|
|
@@ -44612,7 +44615,7 @@
|
|
|
44612
44615
|
cmd.gridOffsetY === this.gridOffsetY &&
|
|
44613
44616
|
cmd.width === width &&
|
|
44614
44617
|
cmd.height === height) {
|
|
44615
|
-
return
|
|
44618
|
+
return 78 /* CommandResult.ValuesNotChanged */;
|
|
44616
44619
|
}
|
|
44617
44620
|
return 0 /* CommandResult.Success */;
|
|
44618
44621
|
}
|
|
@@ -44620,7 +44623,7 @@
|
|
|
44620
44623
|
const pane = this.getMainInternalViewport(this.getters.getActiveSheetId());
|
|
44621
44624
|
if ((!pane.canScrollHorizontally && offsetX > 0) ||
|
|
44622
44625
|
(!pane.canScrollVertically && offsetY > 0)) {
|
|
44623
|
-
return
|
|
44626
|
+
return 71 /* CommandResult.InvalidScrollingDirection */;
|
|
44624
44627
|
}
|
|
44625
44628
|
return 0 /* CommandResult.Success */;
|
|
44626
44629
|
}
|
|
@@ -46514,6 +46517,7 @@
|
|
|
46514
46517
|
line-height: 1.2;
|
|
46515
46518
|
font-size: 13px;
|
|
46516
46519
|
font-weight: 500;
|
|
46520
|
+
background-color: #fff;
|
|
46517
46521
|
|
|
46518
46522
|
.o-topbar-top {
|
|
46519
46523
|
border-bottom: 1px solid ${SEPARATOR_COLOR};
|
|
@@ -48078,7 +48082,7 @@
|
|
|
48078
48082
|
*/
|
|
48079
48083
|
moveAnchorCell(direction, step = 1) {
|
|
48080
48084
|
if (step !== "end" && step <= 0) {
|
|
48081
|
-
return new DispatchResult(
|
|
48085
|
+
return new DispatchResult(85 /* CommandResult.InvalidSelectionStep */);
|
|
48082
48086
|
}
|
|
48083
48087
|
const { col, row } = this.getNextAvailablePosition(direction, step);
|
|
48084
48088
|
return this.selectCell(col, row);
|
|
@@ -48124,7 +48128,7 @@
|
|
|
48124
48128
|
*/
|
|
48125
48129
|
resizeAnchorZone(direction, step = 1) {
|
|
48126
48130
|
if (step !== "end" && step <= 0) {
|
|
48127
|
-
return new DispatchResult(
|
|
48131
|
+
return new DispatchResult(85 /* CommandResult.InvalidSelectionStep */);
|
|
48128
48132
|
}
|
|
48129
48133
|
const sheetId = this.getters.getActiveSheetId();
|
|
48130
48134
|
const anchor = this.anchor;
|
|
@@ -49365,14 +49369,14 @@
|
|
|
49365
49369
|
*/
|
|
49366
49370
|
function figureCoordinates(headers, position) {
|
|
49367
49371
|
let currentPosition = 0;
|
|
49368
|
-
for (const [headerIndex, header] of
|
|
49372
|
+
for (const [headerIndex, header] of headers.entries()) {
|
|
49369
49373
|
if (currentPosition <= position && position < currentPosition + header.size) {
|
|
49370
49374
|
return {
|
|
49371
|
-
index:
|
|
49375
|
+
index: headerIndex,
|
|
49372
49376
|
offset: convertDotValueToEMU(position - currentPosition + FIGURE_BORDER_WIDTH),
|
|
49373
49377
|
};
|
|
49374
49378
|
}
|
|
49375
|
-
else {
|
|
49379
|
+
else if (headerIndex < headers.length - 1) {
|
|
49376
49380
|
currentPosition += header.size;
|
|
49377
49381
|
}
|
|
49378
49382
|
}
|
|
@@ -50478,10 +50482,10 @@
|
|
|
50478
50482
|
const command = createCommand(type, payload);
|
|
50479
50483
|
let status = this.status;
|
|
50480
50484
|
if (this.getters.isReadonly() && !canExecuteInReadonly(command)) {
|
|
50481
|
-
return new DispatchResult(
|
|
50485
|
+
return new DispatchResult(69 /* CommandResult.Readonly */);
|
|
50482
50486
|
}
|
|
50483
50487
|
if (!this.session.canApplyOptimisticUpdate()) {
|
|
50484
|
-
return new DispatchResult(
|
|
50488
|
+
return new DispatchResult(66 /* CommandResult.WaitingSessionConfirmation */);
|
|
50485
50489
|
}
|
|
50486
50490
|
switch (status) {
|
|
50487
50491
|
case 0 /* Status.Ready */:
|
|
@@ -50770,9 +50774,9 @@
|
|
|
50770
50774
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
50771
50775
|
|
|
50772
50776
|
|
|
50773
|
-
__info__.version = '16.4.
|
|
50774
|
-
__info__.date = '2023-
|
|
50775
|
-
__info__.hash = '
|
|
50777
|
+
__info__.version = '16.4.12';
|
|
50778
|
+
__info__.date = '2023-11-02T09:32:52.766Z';
|
|
50779
|
+
__info__.hash = '7fdc589';
|
|
50776
50780
|
|
|
50777
50781
|
|
|
50778
50782
|
})(this.o_spreadsheet = this.o_spreadsheet || {}, owl);
|