@kontur.candy/generator 5.14.0-fix-heavy-error-log.0 → 5.14.0-rsvfunctions.0
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/index.js +571 -409
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -61797,6 +61797,7 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
61797
61797
|
/* harmony export */ "isInnKCLangFunction": () => (/* binding */ isInnKCLangFunction),
|
|
61798
61798
|
/* harmony export */ "arrayKCLangFunction": () => (/* binding */ arrayKCLangFunction),
|
|
61799
61799
|
/* harmony export */ "firstOrDefaultKCLangFunction": () => (/* binding */ firstOrDefaultKCLangFunction),
|
|
61800
|
+
/* harmony export */ "hashSetKCLangFunction": () => (/* binding */ hashSetKCLangFunction),
|
|
61800
61801
|
/* harmony export */ "noDepsKCLangFunction": () => (/* binding */ noDepsKCLangFunction),
|
|
61801
61802
|
/* harmony export */ "getPicklistValuesKCLangFunction": () => (/* binding */ getPicklistValuesKCLangFunction),
|
|
61802
61803
|
/* harmony export */ "isValidMirCardNumberKCLangFunction": () => (/* binding */ isValidMirCardNumberKCLangFunction),
|
|
@@ -61998,7 +61999,7 @@ const isInnKCLangFunction = params => {
|
|
|
61998
61999
|
throw new Error("Invalid parameters!");
|
|
61999
62000
|
};
|
|
62000
62001
|
const arrayKCLangFunction = params => {
|
|
62001
|
-
const errors = Array.from(validateParams(params, 1));
|
|
62002
|
+
const errors = Array.from(validateParams(params, 1, Infinity));
|
|
62002
62003
|
if (errors.length > 0) {
|
|
62003
62004
|
return new FunctionValidationErrorCollection(errors);
|
|
62004
62005
|
}
|
|
@@ -62022,13 +62023,28 @@ const firstOrDefaultKCLangFunction = params => {
|
|
|
62022
62023
|
expression: expr
|
|
62023
62024
|
};
|
|
62024
62025
|
};
|
|
62025
|
-
const
|
|
62026
|
+
const hashSetKCLangFunction = params => {
|
|
62026
62027
|
var _params$13;
|
|
62027
62028
|
const errors = Array.from(validateParams(params, 1));
|
|
62028
62029
|
if (errors.length > 0) {
|
|
62029
62030
|
return new FunctionValidationErrorCollection(errors);
|
|
62030
62031
|
}
|
|
62031
62032
|
const expr = (_params$13 = params[0]) === null || _params$13 === void 0 ? void 0 : _params$13.value;
|
|
62033
|
+
if (expr === undefined) {
|
|
62034
|
+
throw new Error("Parameter in hashSet() must be defined");
|
|
62035
|
+
}
|
|
62036
|
+
return {
|
|
62037
|
+
type: "hashSet",
|
|
62038
|
+
expression: expr
|
|
62039
|
+
};
|
|
62040
|
+
};
|
|
62041
|
+
const noDepsKCLangFunction = params => {
|
|
62042
|
+
var _params$14;
|
|
62043
|
+
const errors = Array.from(validateParams(params, 1));
|
|
62044
|
+
if (errors.length > 0) {
|
|
62045
|
+
return new FunctionValidationErrorCollection(errors);
|
|
62046
|
+
}
|
|
62047
|
+
const expr = (_params$14 = params[0]) === null || _params$14 === void 0 ? void 0 : _params$14.value;
|
|
62032
62048
|
if (expr === undefined) {
|
|
62033
62049
|
throw new Error("first param in nodeps must be defined");
|
|
62034
62050
|
}
|
|
@@ -62038,15 +62054,15 @@ const noDepsKCLangFunction = params => {
|
|
|
62038
62054
|
};
|
|
62039
62055
|
};
|
|
62040
62056
|
const getPicklistValuesKCLangFunction = params => {
|
|
62041
|
-
var _params$
|
|
62057
|
+
var _params$15, _params$16, _params$17, _params$18;
|
|
62042
62058
|
const errors = Array.from(validateParams(params, 4));
|
|
62043
62059
|
if (errors.length > 0) {
|
|
62044
62060
|
return new FunctionValidationErrorCollection(errors);
|
|
62045
62061
|
}
|
|
62046
|
-
const gId = (_params$
|
|
62047
|
-
const filterColumnParam = (_params$
|
|
62048
|
-
const filterKeyParam = (_params$
|
|
62049
|
-
const resultColumn = (_params$
|
|
62062
|
+
const gId = (_params$15 = params[0]) === null || _params$15 === void 0 ? void 0 : _params$15.value;
|
|
62063
|
+
const filterColumnParam = (_params$16 = params[1]) === null || _params$16 === void 0 ? void 0 : _params$16.value;
|
|
62064
|
+
const filterKeyParam = (_params$17 = params[2]) === null || _params$17 === void 0 ? void 0 : _params$17.value;
|
|
62065
|
+
const resultColumn = (_params$18 = params[3]) === null || _params$18 === void 0 ? void 0 : _params$18.value;
|
|
62050
62066
|
if ((filterColumnParam === null || filterColumnParam === void 0 ? void 0 : filterColumnParam.type) !== "array") {
|
|
62051
62067
|
throw new Error("second param in getPicklistValues must be wrapped in array( ... )");
|
|
62052
62068
|
}
|
|
@@ -62068,12 +62084,12 @@ const getPicklistValuesKCLangFunction = params => {
|
|
|
62068
62084
|
};
|
|
62069
62085
|
};
|
|
62070
62086
|
const isValidMirCardNumberKCLangFunction = params => {
|
|
62071
|
-
var _params$
|
|
62087
|
+
var _params$19;
|
|
62072
62088
|
const errors = Array.from(validateParams(params, 1));
|
|
62073
62089
|
if (errors.length > 0) {
|
|
62074
62090
|
return new FunctionValidationErrorCollection(errors);
|
|
62075
62091
|
}
|
|
62076
|
-
const argumentExpr = (_params$
|
|
62092
|
+
const argumentExpr = (_params$19 = params[0]) === null || _params$19 === void 0 ? void 0 : _params$19.value;
|
|
62077
62093
|
if ((argumentExpr === null || argumentExpr === void 0 ? void 0 : argumentExpr.type) === "argument") {
|
|
62078
62094
|
const param = argumentExpr.select;
|
|
62079
62095
|
if (param == undefined) {
|
|
@@ -62087,13 +62103,13 @@ const isValidMirCardNumberKCLangFunction = params => {
|
|
|
62087
62103
|
throw new Error("Invalid parameters!");
|
|
62088
62104
|
};
|
|
62089
62105
|
const isValidAccountNumberKCLangFunction = params => {
|
|
62090
|
-
var _params$
|
|
62106
|
+
var _params$20, _params$21;
|
|
62091
62107
|
const errors = Array.from(validateParams(params, 2));
|
|
62092
62108
|
if (errors.length > 0) {
|
|
62093
62109
|
return new FunctionValidationErrorCollection(errors);
|
|
62094
62110
|
}
|
|
62095
|
-
const bik = (_params$
|
|
62096
|
-
const account = (_params$
|
|
62111
|
+
const bik = (_params$20 = params[0]) === null || _params$20 === void 0 ? void 0 : _params$20.value;
|
|
62112
|
+
const account = (_params$21 = params[1]) === null || _params$21 === void 0 ? void 0 : _params$21.value;
|
|
62097
62113
|
if ((bik === null || bik === void 0 ? void 0 : bik.type) === "argument" && (account === null || account === void 0 ? void 0 : account.type) === "argument") {
|
|
62098
62114
|
const bikValue = bik.select;
|
|
62099
62115
|
const accountValue = account.select;
|
|
@@ -62109,12 +62125,12 @@ const isValidAccountNumberKCLangFunction = params => {
|
|
|
62109
62125
|
throw new Error("Invalid parameters!");
|
|
62110
62126
|
};
|
|
62111
62127
|
const countKCLangFunction = params => {
|
|
62112
|
-
var _params$
|
|
62128
|
+
var _params$22;
|
|
62113
62129
|
const errors = Array.from(validateParams(params, 1));
|
|
62114
62130
|
if (errors.length > 0) {
|
|
62115
62131
|
return new FunctionValidationErrorCollection(errors);
|
|
62116
62132
|
}
|
|
62117
|
-
const expr = (_params$
|
|
62133
|
+
const expr = (_params$22 = params[0]) === null || _params$22 === void 0 ? void 0 : _params$22.value;
|
|
62118
62134
|
if ((expr === null || expr === void 0 ? void 0 : expr.type) === "argument") {
|
|
62119
62135
|
const param = expr.select;
|
|
62120
62136
|
if (param == undefined) {
|
|
@@ -62128,12 +62144,12 @@ const countKCLangFunction = params => {
|
|
|
62128
62144
|
throw new Error("Invalid parameters!");
|
|
62129
62145
|
};
|
|
62130
62146
|
const sumKCLangFunction = params => {
|
|
62131
|
-
var _params$
|
|
62147
|
+
var _params$23;
|
|
62132
62148
|
const errors = Array.from(validateParams(params, 1));
|
|
62133
62149
|
if (errors.length > 0) {
|
|
62134
62150
|
return new FunctionValidationErrorCollection(errors);
|
|
62135
62151
|
}
|
|
62136
|
-
const argumentExpr = (_params$
|
|
62152
|
+
const argumentExpr = (_params$23 = params[0]) === null || _params$23 === void 0 ? void 0 : _params$23.value;
|
|
62137
62153
|
if ((argumentExpr === null || argumentExpr === void 0 ? void 0 : argumentExpr.type) === "argument") {
|
|
62138
62154
|
const param = argumentExpr.select;
|
|
62139
62155
|
if (param == undefined) {
|
|
@@ -62157,14 +62173,14 @@ const sumKCLangFunction = params => {
|
|
|
62157
62173
|
throw new Error("Invalid parameters!");
|
|
62158
62174
|
};
|
|
62159
62175
|
const substringKCLangFunction = params => {
|
|
62160
|
-
var _params$
|
|
62176
|
+
var _params$24, _params$25, _params$26;
|
|
62161
62177
|
const errors = Array.from(validateParams(params, 2, 1));
|
|
62162
62178
|
if (errors.length > 0) {
|
|
62163
62179
|
return new FunctionValidationErrorCollection(errors);
|
|
62164
62180
|
}
|
|
62165
|
-
const exprParam = (_params$
|
|
62166
|
-
const startParam = (_params$
|
|
62167
|
-
const lengthParam = (_params$
|
|
62181
|
+
const exprParam = (_params$24 = params[0]) === null || _params$24 === void 0 ? void 0 : _params$24.value;
|
|
62182
|
+
const startParam = (_params$25 = params[1]) === null || _params$25 === void 0 ? void 0 : _params$25.value;
|
|
62183
|
+
const lengthParam = (_params$26 = params[2]) === null || _params$26 === void 0 ? void 0 : _params$26.value;
|
|
62168
62184
|
if (exprParam == undefined) {
|
|
62169
62185
|
throw new Error("Unexpected error!");
|
|
62170
62186
|
}
|
|
@@ -62182,40 +62198,48 @@ const substringKCLangFunction = params => {
|
|
|
62182
62198
|
};
|
|
62183
62199
|
};
|
|
62184
62200
|
const groupSumKCLangFunction = params => {
|
|
62185
|
-
var _params$
|
|
62201
|
+
var _params$27, _params$28, _params$29;
|
|
62186
62202
|
const errors = Array.from(validateParams(params, 3));
|
|
62187
62203
|
if (errors.length > 0) {
|
|
62188
62204
|
return new FunctionValidationErrorCollection(errors);
|
|
62189
62205
|
}
|
|
62190
|
-
const
|
|
62191
|
-
const sourceKeyPathParam = (_params$
|
|
62192
|
-
const sourceValuePathParam = (_params$
|
|
62193
|
-
if (
|
|
62194
|
-
const argumentsValidationError = new ArgumentValidationError("Expected 3 paths as arguments:
|
|
62206
|
+
const targetKeysParam = (_params$27 = params[0]) === null || _params$27 === void 0 ? void 0 : _params$27.value;
|
|
62207
|
+
const sourceKeyPathParam = (_params$28 = params[1]) === null || _params$28 === void 0 ? void 0 : _params$28.value;
|
|
62208
|
+
const sourceValuePathParam = (_params$29 = params[2]) === null || _params$29 === void 0 ? void 0 : _params$29.value;
|
|
62209
|
+
if (targetKeysParam == undefined || (sourceKeyPathParam === null || sourceKeyPathParam === void 0 ? void 0 : sourceKeyPathParam.type) !== "argument" || (sourceValuePathParam === null || sourceValuePathParam === void 0 ? void 0 : sourceValuePathParam.type) !== "argument") {
|
|
62210
|
+
const argumentsValidationError = new ArgumentValidationError("Expected 3 paths as arguments: targetKeys, sourceKeyPath, sourceValuePath");
|
|
62195
62211
|
return new FunctionValidationErrorCollection([argumentsValidationError]);
|
|
62196
62212
|
}
|
|
62213
|
+
const targetKeys = targetKeysParam.type === "array" ? targetKeysParam : {
|
|
62214
|
+
type: "array",
|
|
62215
|
+
items: [targetKeysParam]
|
|
62216
|
+
};
|
|
62197
62217
|
return {
|
|
62198
62218
|
type: "groupSum",
|
|
62199
|
-
|
|
62219
|
+
targetKeys: targetKeys,
|
|
62200
62220
|
sourceKeyPath: sourceKeyPathParam.select,
|
|
62201
62221
|
sourceValuePath: sourceValuePathParam.select
|
|
62202
62222
|
};
|
|
62203
62223
|
};
|
|
62204
62224
|
const groupCountKCLangFunction = params => {
|
|
62205
|
-
var _params$
|
|
62225
|
+
var _params$30, _params$31;
|
|
62206
62226
|
const errors = Array.from(validateParams(params, 2));
|
|
62207
62227
|
if (errors.length > 0) {
|
|
62208
62228
|
return new FunctionValidationErrorCollection(errors);
|
|
62209
62229
|
}
|
|
62210
|
-
const
|
|
62211
|
-
const sourceKeyPathParam = (_params$
|
|
62212
|
-
if (
|
|
62230
|
+
const targetKeysParam = (_params$30 = params[0]) === null || _params$30 === void 0 ? void 0 : _params$30.value;
|
|
62231
|
+
const sourceKeyPathParam = (_params$31 = params[1]) === null || _params$31 === void 0 ? void 0 : _params$31.value;
|
|
62232
|
+
if (targetKeysParam == undefined || (sourceKeyPathParam === null || sourceKeyPathParam === void 0 ? void 0 : sourceKeyPathParam.type) !== "argument") {
|
|
62213
62233
|
const argumentsValidationError = new ArgumentValidationError("Expected 2 paths as arguments: targetKeyPath, sourceKeyPath");
|
|
62214
62234
|
return new FunctionValidationErrorCollection([argumentsValidationError]);
|
|
62215
62235
|
}
|
|
62236
|
+
const targetKeys = targetKeysParam.type === "array" ? targetKeysParam : {
|
|
62237
|
+
type: "array",
|
|
62238
|
+
items: [targetKeysParam]
|
|
62239
|
+
};
|
|
62216
62240
|
return {
|
|
62217
62241
|
type: "groupCount",
|
|
62218
|
-
|
|
62242
|
+
targetKeys: targetKeys,
|
|
62219
62243
|
sourceKeyPath: sourceKeyPathParam.select
|
|
62220
62244
|
};
|
|
62221
62245
|
};
|
|
@@ -62248,12 +62272,12 @@ const dateNowKCLangFunction = params => {
|
|
|
62248
62272
|
};
|
|
62249
62273
|
};
|
|
62250
62274
|
const getDaysInMonthKCLangFunction = params => {
|
|
62251
|
-
var _params$
|
|
62275
|
+
var _params$32;
|
|
62252
62276
|
const errors = Array.from(validateParams(params, 1));
|
|
62253
62277
|
if (errors.length > 0) {
|
|
62254
62278
|
return new FunctionValidationErrorCollection(errors);
|
|
62255
62279
|
}
|
|
62256
|
-
const param = (_params$
|
|
62280
|
+
const param = (_params$32 = params[0]) === null || _params$32 === void 0 ? void 0 : _params$32.value;
|
|
62257
62281
|
if (param == undefined) {
|
|
62258
62282
|
throw new Error("Unexpected error!");
|
|
62259
62283
|
}
|
|
@@ -62263,12 +62287,12 @@ const getDaysInMonthKCLangFunction = params => {
|
|
|
62263
62287
|
};
|
|
62264
62288
|
};
|
|
62265
62289
|
const getDayKCLangFunction = params => {
|
|
62266
|
-
var _params$
|
|
62290
|
+
var _params$33;
|
|
62267
62291
|
const errors = Array.from(validateParams(params, 1));
|
|
62268
62292
|
if (errors.length > 0) {
|
|
62269
62293
|
return new FunctionValidationErrorCollection(errors);
|
|
62270
62294
|
}
|
|
62271
|
-
const param = (_params$
|
|
62295
|
+
const param = (_params$33 = params[0]) === null || _params$33 === void 0 ? void 0 : _params$33.value;
|
|
62272
62296
|
if (param == undefined) {
|
|
62273
62297
|
throw new Error("Unexpected error!");
|
|
62274
62298
|
}
|
|
@@ -62278,12 +62302,12 @@ const getDayKCLangFunction = params => {
|
|
|
62278
62302
|
};
|
|
62279
62303
|
};
|
|
62280
62304
|
const getMonthKCLangFunction = params => {
|
|
62281
|
-
var _params$
|
|
62305
|
+
var _params$34;
|
|
62282
62306
|
const errors = Array.from(validateParams(params, 1));
|
|
62283
62307
|
if (errors.length > 0) {
|
|
62284
62308
|
return new FunctionValidationErrorCollection(errors);
|
|
62285
62309
|
}
|
|
62286
|
-
const param = (_params$
|
|
62310
|
+
const param = (_params$34 = params[0]) === null || _params$34 === void 0 ? void 0 : _params$34.value;
|
|
62287
62311
|
if (param == undefined) {
|
|
62288
62312
|
throw new Error("Unexpected error!");
|
|
62289
62313
|
}
|
|
@@ -62293,12 +62317,12 @@ const getMonthKCLangFunction = params => {
|
|
|
62293
62317
|
};
|
|
62294
62318
|
};
|
|
62295
62319
|
const getYearKCLangFunction = params => {
|
|
62296
|
-
var _params$
|
|
62320
|
+
var _params$35;
|
|
62297
62321
|
const errors = Array.from(validateParams(params, 1));
|
|
62298
62322
|
if (errors.length > 0) {
|
|
62299
62323
|
return new FunctionValidationErrorCollection(errors);
|
|
62300
62324
|
}
|
|
62301
|
-
const param = (_params$
|
|
62325
|
+
const param = (_params$35 = params[0]) === null || _params$35 === void 0 ? void 0 : _params$35.value;
|
|
62302
62326
|
if (param == undefined) {
|
|
62303
62327
|
throw new Error("Unexpected error!");
|
|
62304
62328
|
}
|
|
@@ -62308,12 +62332,12 @@ const getYearKCLangFunction = params => {
|
|
|
62308
62332
|
};
|
|
62309
62333
|
};
|
|
62310
62334
|
const isDateInMonthKCLangFunction = params => {
|
|
62311
|
-
var _params$
|
|
62335
|
+
var _params$36;
|
|
62312
62336
|
const errors = Array.from(validateParams(params, 1));
|
|
62313
62337
|
if (errors.length > 0) {
|
|
62314
62338
|
return new FunctionValidationErrorCollection(errors);
|
|
62315
62339
|
}
|
|
62316
|
-
const param = (_params$
|
|
62340
|
+
const param = (_params$36 = params[0]) === null || _params$36 === void 0 ? void 0 : _params$36.value;
|
|
62317
62341
|
if (param == undefined) {
|
|
62318
62342
|
throw new Error("Unexpected error!");
|
|
62319
62343
|
}
|
|
@@ -62343,13 +62367,13 @@ const differenceInDaysKCLangFunction = params => {
|
|
|
62343
62367
|
};
|
|
62344
62368
|
};
|
|
62345
62369
|
const addDaysKCLangFunction = params => {
|
|
62346
|
-
var _params$
|
|
62370
|
+
var _params$37, _params$38;
|
|
62347
62371
|
const errors = Array.from(validateParams(params, 2));
|
|
62348
62372
|
if (errors.length > 0) {
|
|
62349
62373
|
return new FunctionValidationErrorCollection(errors);
|
|
62350
62374
|
}
|
|
62351
|
-
const exprParam = (_params$
|
|
62352
|
-
const amountParam = (_params$
|
|
62375
|
+
const exprParam = (_params$37 = params[0]) === null || _params$37 === void 0 ? void 0 : _params$37.value;
|
|
62376
|
+
const amountParam = (_params$38 = params[1]) === null || _params$38 === void 0 ? void 0 : _params$38.value;
|
|
62353
62377
|
if (exprParam == undefined) {
|
|
62354
62378
|
throw new Error("Expected expression for addDays().");
|
|
62355
62379
|
}
|
|
@@ -62365,13 +62389,13 @@ const addDaysKCLangFunction = params => {
|
|
|
62365
62389
|
};
|
|
62366
62390
|
};
|
|
62367
62391
|
const addMonthsKCLangFunction = params => {
|
|
62368
|
-
var _params$
|
|
62392
|
+
var _params$39, _params$40;
|
|
62369
62393
|
const errors = Array.from(validateParams(params, 2));
|
|
62370
62394
|
if (errors.length > 0) {
|
|
62371
62395
|
return new FunctionValidationErrorCollection(errors);
|
|
62372
62396
|
}
|
|
62373
|
-
const exprParam = (_params$
|
|
62374
|
-
const amountParam = (_params$
|
|
62397
|
+
const exprParam = (_params$39 = params[0]) === null || _params$39 === void 0 ? void 0 : _params$39.value;
|
|
62398
|
+
const amountParam = (_params$40 = params[1]) === null || _params$40 === void 0 ? void 0 : _params$40.value;
|
|
62375
62399
|
if (exprParam == undefined) {
|
|
62376
62400
|
throw new Error("Expected expression for addMonths().");
|
|
62377
62401
|
}
|
|
@@ -62387,13 +62411,13 @@ const addMonthsKCLangFunction = params => {
|
|
|
62387
62411
|
};
|
|
62388
62412
|
};
|
|
62389
62413
|
const addYearsKCLangFunction = params => {
|
|
62390
|
-
var _params$
|
|
62414
|
+
var _params$41, _params$42;
|
|
62391
62415
|
const errors = Array.from(validateParams(params, 2));
|
|
62392
62416
|
if (errors.length > 0) {
|
|
62393
62417
|
return new FunctionValidationErrorCollection(errors);
|
|
62394
62418
|
}
|
|
62395
|
-
const exprParam = (_params$
|
|
62396
|
-
const amountParam = (_params$
|
|
62419
|
+
const exprParam = (_params$41 = params[0]) === null || _params$41 === void 0 ? void 0 : _params$41.value;
|
|
62420
|
+
const amountParam = (_params$42 = params[1]) === null || _params$42 === void 0 ? void 0 : _params$42.value;
|
|
62397
62421
|
if (exprParam == undefined) {
|
|
62398
62422
|
throw new Error("Expected expression for addYears().");
|
|
62399
62423
|
}
|
|
@@ -62409,13 +62433,13 @@ const addYearsKCLangFunction = params => {
|
|
|
62409
62433
|
};
|
|
62410
62434
|
};
|
|
62411
62435
|
const dateToStringKCLangFunction = params => {
|
|
62412
|
-
var _params$
|
|
62436
|
+
var _params$43, _params$44;
|
|
62413
62437
|
const errors = Array.from(validateParams(params, 1, 2));
|
|
62414
62438
|
if (errors.length > 0) {
|
|
62415
62439
|
return new FunctionValidationErrorCollection(errors);
|
|
62416
62440
|
}
|
|
62417
|
-
const exprParam = (_params$
|
|
62418
|
-
const formatParam = (_params$
|
|
62441
|
+
const exprParam = (_params$43 = params[0]) === null || _params$43 === void 0 ? void 0 : _params$43.value;
|
|
62442
|
+
const formatParam = (_params$44 = params[1]) === null || _params$44 === void 0 ? void 0 : _params$44.value;
|
|
62419
62443
|
if (exprParam == undefined) {
|
|
62420
62444
|
throw new Error("Expected expression for dateToString().");
|
|
62421
62445
|
}
|
|
@@ -62430,12 +62454,12 @@ const dateToStringKCLangFunction = params => {
|
|
|
62430
62454
|
};
|
|
62431
62455
|
};
|
|
62432
62456
|
const dateTimeKCLangFunction = params => {
|
|
62433
|
-
var _params$
|
|
62457
|
+
var _params$45;
|
|
62434
62458
|
const errors = Array.from(validateParams(params, 1));
|
|
62435
62459
|
if (errors.length > 0) {
|
|
62436
62460
|
return new FunctionValidationErrorCollection(errors);
|
|
62437
62461
|
}
|
|
62438
|
-
const param = (_params$
|
|
62462
|
+
const param = (_params$45 = params[0]) === null || _params$45 === void 0 ? void 0 : _params$45.value;
|
|
62439
62463
|
if (param == undefined) {
|
|
62440
62464
|
throw new Error("Unexpected error!");
|
|
62441
62465
|
}
|
|
@@ -62482,6 +62506,7 @@ const getKCLangGlobalFunctionBuilders = () => ({
|
|
|
62482
62506
|
isInn: [_KCLangAntlrFunctions__WEBPACK_IMPORTED_MODULE_2__.isInnKCLangFunction],
|
|
62483
62507
|
firstOrDefault: [_KCLangAntlrFunctions__WEBPACK_IMPORTED_MODULE_2__.firstOrDefaultKCLangFunction],
|
|
62484
62508
|
nodeps: [_KCLangAntlrFunctions__WEBPACK_IMPORTED_MODULE_2__.noDepsKCLangFunction],
|
|
62509
|
+
hashSet: [_KCLangAntlrFunctions__WEBPACK_IMPORTED_MODULE_2__.hashSetKCLangFunction],
|
|
62485
62510
|
isValidAccountNumber: [_KCLangAntlrFunctions__WEBPACK_IMPORTED_MODULE_2__.isValidAccountNumberKCLangFunction],
|
|
62486
62511
|
isValidMirCardNumber: [_KCLangAntlrFunctions__WEBPACK_IMPORTED_MODULE_2__.isValidMirCardNumberKCLangFunction],
|
|
62487
62512
|
getPicklistValues: [_KCLangAntlrFunctions__WEBPACK_IMPORTED_MODULE_2__.getPicklistValuesKCLangFunction],
|
|
@@ -70044,6 +70069,9 @@ function traverseKCLangExpression(node, visitor) {
|
|
|
70044
70069
|
case "nodeps":
|
|
70045
70070
|
visitor.visitNoDepsKCLangNode(node);
|
|
70046
70071
|
break;
|
|
70072
|
+
case "hashSet":
|
|
70073
|
+
visitor.visitHashSetKCLangNode(node);
|
|
70074
|
+
break;
|
|
70047
70075
|
default:
|
|
70048
70076
|
(0,_Common_TypingUtils__WEBPACK_IMPORTED_MODULE_0__.ensureNever)(node);
|
|
70049
70077
|
break;
|
|
@@ -70059,6 +70087,9 @@ class DefaultKCLangExpressionVisitor {
|
|
|
70059
70087
|
visitFirstOrDefaultKCLangNode(node) {
|
|
70060
70088
|
// default empty implementation
|
|
70061
70089
|
}
|
|
70090
|
+
visitHashSetKCLangNode(node) {
|
|
70091
|
+
// default empty implementation
|
|
70092
|
+
}
|
|
70062
70093
|
visitNoDepsKCLangNode(node) {
|
|
70063
70094
|
// default empty implementation
|
|
70064
70095
|
}
|
|
@@ -70538,6 +70569,7 @@ const getGenerateJsExpressionFunc = options => {
|
|
|
70538
70569
|
case "nodeps":
|
|
70539
70570
|
case "array":
|
|
70540
70571
|
case "firstOrDefault":
|
|
70572
|
+
case "hashSet":
|
|
70541
70573
|
case "concat":
|
|
70542
70574
|
case "newline":
|
|
70543
70575
|
throw new _Common_Errors__WEBPACK_IMPORTED_MODULE_1__.NotImplementedError();
|
|
@@ -70608,6 +70640,7 @@ function generateKCXmlExpression(expression) {
|
|
|
70608
70640
|
case "xabs":
|
|
70609
70641
|
case "firstOrDefault":
|
|
70610
70642
|
case "nodeps":
|
|
70643
|
+
case "hashSet":
|
|
70611
70644
|
case "length":
|
|
70612
70645
|
return [`<m:${expression.type}>`, (0,_Common_IndentString__WEBPACK_IMPORTED_MODULE_2__.indent)(generateKCXmlExpression(expression.expression), 1), `</m:${expression.type}>`].join("\n");
|
|
70613
70646
|
case "exists":
|
|
@@ -70619,9 +70652,9 @@ function generateKCXmlExpression(expression) {
|
|
|
70619
70652
|
case "isValidAccountNumber":
|
|
70620
70653
|
return `<m:${expression.type} bik="${expression.bik}" account="${expression.account}" />`;
|
|
70621
70654
|
case "groupSum":
|
|
70622
|
-
return `<m:${expression.type}
|
|
70655
|
+
return [`<m:${expression.type} sourceKeyPath="${expression.sourceKeyPath}" sourceValuePath="${expression.sourceValuePath}" >`, (0,_Common_IndentString__WEBPACK_IMPORTED_MODULE_2__.indent)(generateKCXmlExpression(expression.targetKeys), 1), `</m:${expression.type}>`].join("\n");
|
|
70623
70656
|
case "groupCount":
|
|
70624
|
-
return `<m:${expression.type}
|
|
70657
|
+
return [`<m:${expression.type} sourceKeyPath="${expression.sourceKeyPath}" >`, (0,_Common_IndentString__WEBPACK_IMPORTED_MODULE_2__.indent)(generateKCXmlExpression(expression.targetKeys), 1), `</m:${expression.type}>`].join("\n");
|
|
70625
70658
|
case "cast":
|
|
70626
70659
|
if (expression.expression.type === "argument") {
|
|
70627
70660
|
return `<m:argument select="${expression.expression.select}" type="${expression.targetType}" />`;
|
|
@@ -76034,8 +76067,6 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
76034
76067
|
/* harmony export */ "FormulaWhenExpression": () => (/* binding */ FormulaWhenExpression),
|
|
76035
76068
|
/* harmony export */ "DummyContent": () => (/* binding */ DummyContent),
|
|
76036
76069
|
/* harmony export */ "FormulaSumExpression": () => (/* binding */ FormulaSumExpression),
|
|
76037
|
-
/* harmony export */ "FormulaGroupSumExpression": () => (/* binding */ FormulaGroupSumExpression),
|
|
76038
|
-
/* harmony export */ "FormulaGroupCountExpression": () => (/* binding */ FormulaGroupCountExpression),
|
|
76039
76070
|
/* harmony export */ "FormulaAndExpression": () => (/* binding */ FormulaAndExpression),
|
|
76040
76071
|
/* harmony export */ "FormulaOrExpression": () => (/* binding */ FormulaOrExpression),
|
|
76041
76072
|
/* harmony export */ "FormulaGtExpression": () => (/* binding */ FormulaGtExpression),
|
|
@@ -76085,6 +76116,7 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
76085
76116
|
/* harmony export */ "FormulaFilterKeyExpression": () => (/* binding */ FormulaFilterKeyExpression),
|
|
76086
76117
|
/* harmony export */ "FormulaGetPicklistValuesExpression": () => (/* binding */ FormulaGetPicklistValuesExpression),
|
|
76087
76118
|
/* harmony export */ "FormulaFirstOrDefaultExpression": () => (/* binding */ FormulaFirstOrDefaultExpression),
|
|
76119
|
+
/* harmony export */ "FormulaHashSetExpression": () => (/* binding */ FormulaHashSetExpression),
|
|
76088
76120
|
/* harmony export */ "FormulaExistsExpression": () => (/* binding */ FormulaExistsExpression),
|
|
76089
76121
|
/* harmony export */ "FormulaMultySumExpression": () => (/* binding */ FormulaMultySumExpression),
|
|
76090
76122
|
/* harmony export */ "FormulaCountExpression": () => (/* binding */ FormulaCountExpression),
|
|
@@ -76096,6 +76128,8 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
76096
76128
|
/* harmony export */ "ConditionNode": () => (/* binding */ ConditionNode),
|
|
76097
76129
|
/* harmony export */ "ConditionsNode": () => (/* binding */ ConditionsNode),
|
|
76098
76130
|
/* harmony export */ "MathContainer": () => (/* binding */ MathContainer),
|
|
76131
|
+
/* harmony export */ "FormulaGroupSumExpression": () => (/* binding */ FormulaGroupSumExpression),
|
|
76132
|
+
/* harmony export */ "FormulaGroupCountExpression": () => (/* binding */ FormulaGroupCountExpression),
|
|
76099
76133
|
/* harmony export */ "formulaExpressions": () => (/* binding */ formulaExpressions)
|
|
76100
76134
|
/* harmony export */ });
|
|
76101
76135
|
/* harmony import */ var _babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @babel/runtime/helpers/initializerDefineProperty */ "./node_modules/@babel/runtime/helpers/initializerDefineProperty.js");
|
|
@@ -76110,7 +76144,7 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
76110
76144
|
|
|
76111
76145
|
|
|
76112
76146
|
|
|
76113
|
-
var _dec, _dec2, _class, _class2, _descriptor, _dec3, _class4, _dec4, _dec5, _class5, _class6, _descriptor2, _dec6, _dec7,
|
|
76147
|
+
var _dec, _dec2, _class, _class2, _descriptor, _dec3, _class4, _dec4, _dec5, _class5, _class6, _descriptor2, _dec6, _dec7, _class8, _class9, _descriptor3, _dec8, _dec9, _class11, _class12, _descriptor4, _dec10, _dec11, _class14, _class15, _descriptor5, _dec12, _dec13, _class17, _class18, _descriptor6, _dec14, _dec15, _dec16, _class20, _class21, _descriptor7, _descriptor8, _dec17, _dec18, _dec19, _class23, _class24, _descriptor9, _descriptor10, _dec20, _dec21, _class26, _class27, _descriptor11, _dec22, _dec23, _class29, _class30, _descriptor12, _dec24, _dec25, _class32, _class33, _descriptor13, _dec26, _dec27, _class35, _class36, _descriptor14, _dec28, _dec29, _class38, _class39, _descriptor15, _dec30, _dec31, _class41, _class42, _descriptor16, _dec32, _dec33, _class44, _class45, _descriptor17, _dec34, _dec35, _class47, _class48, _descriptor18, _dec36, _dec37, _class50, _class51, _descriptor19, _dec38, _dec39, _dec40, _dec41, _class53, _class54, _descriptor20, _descriptor21, _descriptor22, _dec42, _dec43, _class56, _class57, _descriptor23, _dec44, _dec45, _class59, _class60, _descriptor24, _dec46, _dec47, _dec48, _class62, _class63, _descriptor25, _descriptor26, _dec49, _dec50, _class65, _class66, _descriptor27, _dec51, _dec52, _class68, _class69, _descriptor28, _dec53, _dec54, _class71, _class72, _descriptor29, _dec55, _dec56, _class74, _class75, _descriptor30, _dec57, _dec58, _dec59, _class77, _class78, _descriptor31, _descriptor32, _dec60, _dec61, _dec62, _dec63, _class80, _class81, _descriptor33, _descriptor34, _descriptor35, _dec64, _dec65, _dec66, _class83, _class84, _descriptor36, _descriptor37, _dec67, _class86, _dec68, _dec69, _class87, _class88, _descriptor38, _dec70, _dec71, _class90, _class91, _descriptor39, _dec72, _dec73, _class93, _class94, _descriptor40, _dec74, _dec75, _class96, _class97, _descriptor41, _dec76, _dec77, _class99, _class100, _descriptor42, _dec78, _dec79, _class102, _class103, _descriptor43, _dec80, _dec81, _class105, _class106, _descriptor44, _dec82, _dec83, _dec84, _class108, _class109, _descriptor45, _descriptor46, _dec85, _dec86, _dec87, _class111, _class112, _descriptor47, _descriptor48, _dec88, _dec89, _dec90, _class114, _class115, _descriptor49, _descriptor50, _dec91, _dec92, _dec93, _class117, _class118, _descriptor51, _descriptor52, _dec94, _dec95, _class120, _class121, _descriptor53, _dec96, _dec97, _class123, _class124, _descriptor54, _dec98, _dec99, _class126, _class127, _descriptor55, _dec100, _dec101, _class129, _class130, _descriptor56, _dec102, _dec103, _dec104, _class132, _class133, _descriptor57, _descriptor58, _dec105, _dec106, _dec107, _class135, _class136, _descriptor59, _descriptor60, _dec108, _dec109, _class138, _class139, _descriptor61, _dec110, _dec111, _class141, _class142, _descriptor62, _dec112, _dec113, _class144, _class145, _descriptor63, _dec114, _dec115, _dec116, _dec117, _dec118, _class147, _class148, _descriptor64, _descriptor65, _descriptor66, _descriptor67, _dec119, _dec120, _class150, _class151, _descriptor68, _dec121, _dec122, _class153, _class154, _descriptor69, _dec123, _dec124, _class156, _class157, _descriptor70, _dec125, _dec126, _class159, _class160, _descriptor71, _dec127, _dec128, _dec129, _class162, _class163, _descriptor72, _descriptor73, _dec130, _dec131, _class165, _class166, _descriptor74, _dec132, _class168, _dec133, _dec134, _dec135, _dec136, _class169, _class170, _descriptor75, _descriptor76, _descriptor77, _dec137, _dec138, _class172, _class173, _descriptor78, _dec139, _dec140, _class175, _class176, _descriptor79, _dec141, _dec142, _dec143, _dec144, _dec145, _dec146, _class178, _class179, _descriptor80, _descriptor81, _descriptor82, _descriptor83, _descriptor84, _dec147, _dec148, _class181, _class182, _descriptor85, _dec149, _dec150, _dec151, _class184, _class185, _descriptor86, _descriptor87, _dec152, _dec153, _dec154, _dec155, _class187, _class188, _descriptor88, _descriptor89, _descriptor90, _dec156, _dec157, _dec158, _class190, _class191, _descriptor91, _descriptor92;
|
|
76114
76148
|
|
|
76115
76149
|
|
|
76116
76150
|
|
|
@@ -76153,921 +76187,934 @@ let FormulaSumExpression = (_dec4 = (0,_markupGenerator_Serializer_SugarSerializ
|
|
|
76153
76187
|
writable: true,
|
|
76154
76188
|
initializer: null
|
|
76155
76189
|
})), _class6)) || _class5);
|
|
76156
|
-
let
|
|
76190
|
+
let FormulaAndExpression = (_dec6 = (0,_markupGenerator_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_5__.sugarNode)("and", `TODO`), _dec7 = (0,_markupGenerator_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_5__.children)(), _dec6(_class8 = (_class9 = class FormulaAndExpression extends FormulaExpression {
|
|
76157
76191
|
constructor(...args) {
|
|
76158
76192
|
super(...args);
|
|
76159
|
-
_babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0___default()(this, "
|
|
76160
|
-
_babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0___default()(this, "sourceKeyPath", _descriptor4, this);
|
|
76161
|
-
_babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0___default()(this, "sourceValuePath", _descriptor5, this);
|
|
76162
|
-
}
|
|
76163
|
-
}, (_descriptor3 = _babel_runtime_helpers_applyDecoratedDescriptor__WEBPACK_IMPORTED_MODULE_1___default()(_class9.prototype, "targetKeyPath", [_dec7], {
|
|
76164
|
-
configurable: true,
|
|
76165
|
-
enumerable: true,
|
|
76166
|
-
writable: true,
|
|
76167
|
-
initializer: null
|
|
76168
|
-
}), _descriptor4 = _babel_runtime_helpers_applyDecoratedDescriptor__WEBPACK_IMPORTED_MODULE_1___default()(_class9.prototype, "sourceKeyPath", [_dec8], {
|
|
76169
|
-
configurable: true,
|
|
76170
|
-
enumerable: true,
|
|
76171
|
-
writable: true,
|
|
76172
|
-
initializer: null
|
|
76173
|
-
}), _descriptor5 = _babel_runtime_helpers_applyDecoratedDescriptor__WEBPACK_IMPORTED_MODULE_1___default()(_class9.prototype, "sourceValuePath", [_dec9], {
|
|
76174
|
-
configurable: true,
|
|
76175
|
-
enumerable: true,
|
|
76176
|
-
writable: true,
|
|
76177
|
-
initializer: null
|
|
76178
|
-
})), _class9)) || _class8);
|
|
76179
|
-
let FormulaGroupCountExpression = (_dec10 = (0,_markupGenerator_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_5__.sugarNode)("groupcount", `Вычисление количества элементов по группам в разных множественностях`), _dec11 = (0,_markupGenerator_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_5__.attr)("targetKeyPath", _markupGenerator_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_5__.attrType.string.required, `Путь откуда брать ключ группы в целевой множественности`), _dec12 = (0,_markupGenerator_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_5__.attr)("sourceKeyPath", _markupGenerator_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_5__.attrType.string.required, `Путь откуда брать ключ группы в суммируемой множественности`), _dec10(_class11 = (_class12 = class FormulaGroupCountExpression extends FormulaExpression {
|
|
76180
|
-
constructor(...args) {
|
|
76181
|
-
super(...args);
|
|
76182
|
-
_babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0___default()(this, "targetKeyPath", _descriptor6, this);
|
|
76183
|
-
_babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0___default()(this, "sourceKeyPath", _descriptor7, this);
|
|
76184
|
-
}
|
|
76185
|
-
}, (_descriptor6 = _babel_runtime_helpers_applyDecoratedDescriptor__WEBPACK_IMPORTED_MODULE_1___default()(_class12.prototype, "targetKeyPath", [_dec11], {
|
|
76186
|
-
configurable: true,
|
|
76187
|
-
enumerable: true,
|
|
76188
|
-
writable: true,
|
|
76189
|
-
initializer: null
|
|
76190
|
-
}), _descriptor7 = _babel_runtime_helpers_applyDecoratedDescriptor__WEBPACK_IMPORTED_MODULE_1___default()(_class12.prototype, "sourceKeyPath", [_dec12], {
|
|
76191
|
-
configurable: true,
|
|
76192
|
-
enumerable: true,
|
|
76193
|
-
writable: true,
|
|
76194
|
-
initializer: null
|
|
76195
|
-
})), _class12)) || _class11);
|
|
76196
|
-
let FormulaAndExpression = (_dec13 = (0,_markupGenerator_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_5__.sugarNode)("and", `TODO`), _dec14 = (0,_markupGenerator_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_5__.children)(), _dec13(_class14 = (_class15 = class FormulaAndExpression extends FormulaExpression {
|
|
76197
|
-
constructor(...args) {
|
|
76198
|
-
super(...args);
|
|
76199
|
-
_babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0___default()(this, "arguments", _descriptor8, this);
|
|
76193
|
+
_babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0___default()(this, "arguments", _descriptor3, this);
|
|
76200
76194
|
}
|
|
76201
76195
|
getLegacyExpressionTypeForFunctionName() {
|
|
76202
76196
|
return "and";
|
|
76203
76197
|
}
|
|
76204
|
-
}, (
|
|
76198
|
+
}, (_descriptor3 = _babel_runtime_helpers_applyDecoratedDescriptor__WEBPACK_IMPORTED_MODULE_1___default()(_class9.prototype, "arguments", [_dec7], {
|
|
76205
76199
|
configurable: true,
|
|
76206
76200
|
enumerable: true,
|
|
76207
76201
|
writable: true,
|
|
76208
76202
|
initializer: null
|
|
76209
|
-
})),
|
|
76210
|
-
let FormulaOrExpression = (
|
|
76203
|
+
})), _class9)) || _class8);
|
|
76204
|
+
let FormulaOrExpression = (_dec8 = (0,_markupGenerator_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_5__.sugarNode)("or", `TODO`), _dec9 = (0,_markupGenerator_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_5__.children)(), _dec8(_class11 = (_class12 = class FormulaOrExpression extends FormulaExpression {
|
|
76211
76205
|
constructor(...args) {
|
|
76212
76206
|
super(...args);
|
|
76213
|
-
_babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0___default()(this, "arguments",
|
|
76207
|
+
_babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0___default()(this, "arguments", _descriptor4, this);
|
|
76214
76208
|
}
|
|
76215
76209
|
getLegacyExpressionTypeForFunctionName() {
|
|
76216
76210
|
return "or";
|
|
76217
76211
|
}
|
|
76218
|
-
}, (
|
|
76212
|
+
}, (_descriptor4 = _babel_runtime_helpers_applyDecoratedDescriptor__WEBPACK_IMPORTED_MODULE_1___default()(_class12.prototype, "arguments", [_dec9], {
|
|
76219
76213
|
configurable: true,
|
|
76220
76214
|
enumerable: true,
|
|
76221
76215
|
writable: true,
|
|
76222
76216
|
initializer: null
|
|
76223
|
-
})),
|
|
76224
|
-
let FormulaGtExpression = (
|
|
76217
|
+
})), _class12)) || _class11);
|
|
76218
|
+
let FormulaGtExpression = (_dec10 = (0,_markupGenerator_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_5__.sugarNode)("gt", `TODO`), _dec11 = (0,_markupGenerator_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_5__.children)(), _dec10(_class14 = (_class15 = class FormulaGtExpression extends FormulaExpression {
|
|
76225
76219
|
constructor(...args) {
|
|
76226
76220
|
super(...args);
|
|
76227
|
-
_babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0___default()(this, "arguments",
|
|
76221
|
+
_babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0___default()(this, "arguments", _descriptor5, this);
|
|
76228
76222
|
}
|
|
76229
76223
|
getLegacyExpressionTypeForFunctionName() {
|
|
76230
76224
|
return "gt";
|
|
76231
76225
|
}
|
|
76232
|
-
}, (
|
|
76226
|
+
}, (_descriptor5 = _babel_runtime_helpers_applyDecoratedDescriptor__WEBPACK_IMPORTED_MODULE_1___default()(_class15.prototype, "arguments", [_dec11], {
|
|
76233
76227
|
configurable: true,
|
|
76234
76228
|
enumerable: true,
|
|
76235
76229
|
writable: true,
|
|
76236
76230
|
initializer: null
|
|
76237
|
-
})),
|
|
76238
|
-
let FormulaOneOfItemsExpression = (
|
|
76231
|
+
})), _class15)) || _class14);
|
|
76232
|
+
let FormulaOneOfItemsExpression = (_dec12 = (0,_markupGenerator_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_5__.sugarNode)("oneofitems", `TODO`), _dec13 = (0,_markupGenerator_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_5__.children)(), _dec12(_class17 = (_class18 = class FormulaOneOfItemsExpression extends FormulaExpression {
|
|
76239
76233
|
constructor(...args) {
|
|
76240
76234
|
super(...args);
|
|
76241
|
-
_babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0___default()(this, "expressions",
|
|
76235
|
+
_babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0___default()(this, "expressions", _descriptor6, this);
|
|
76242
76236
|
}
|
|
76243
|
-
}, (
|
|
76237
|
+
}, (_descriptor6 = _babel_runtime_helpers_applyDecoratedDescriptor__WEBPACK_IMPORTED_MODULE_1___default()(_class18.prototype, "expressions", [_dec13], {
|
|
76244
76238
|
configurable: true,
|
|
76245
76239
|
enumerable: true,
|
|
76246
76240
|
writable: true,
|
|
76247
76241
|
initializer: null
|
|
76248
|
-
})),
|
|
76249
|
-
let FormulaOneOfExpression = (
|
|
76242
|
+
})), _class18)) || _class17);
|
|
76243
|
+
let FormulaOneOfExpression = (_dec14 = (0,_markupGenerator_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_5__.sugarNode)("oneof", `TODO`), _dec15 = (0,_markupGenerator_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_5__.singleChild)(), _dec16 = (0,_markupGenerator_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_5__.singleChild)("oneofitems", [FormulaOneOfItemsExpression]), _dec14(_class20 = (_class21 = class FormulaOneOfExpression extends FormulaExpression {
|
|
76250
76244
|
constructor(...args) {
|
|
76251
76245
|
super(...args);
|
|
76252
|
-
_babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0___default()(this, "argument",
|
|
76253
|
-
_babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0___default()(this, "items",
|
|
76246
|
+
_babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0___default()(this, "argument", _descriptor7, this);
|
|
76247
|
+
_babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0___default()(this, "items", _descriptor8, this);
|
|
76254
76248
|
}
|
|
76255
76249
|
getLegacyExpressionTypeForFunctionName() {
|
|
76256
76250
|
return "oneof";
|
|
76257
76251
|
}
|
|
76258
|
-
}, (
|
|
76252
|
+
}, (_descriptor7 = _babel_runtime_helpers_applyDecoratedDescriptor__WEBPACK_IMPORTED_MODULE_1___default()(_class21.prototype, "argument", [_dec15], {
|
|
76259
76253
|
configurable: true,
|
|
76260
76254
|
enumerable: true,
|
|
76261
76255
|
writable: true,
|
|
76262
76256
|
initializer: null
|
|
76263
|
-
}),
|
|
76257
|
+
}), _descriptor8 = _babel_runtime_helpers_applyDecoratedDescriptor__WEBPACK_IMPORTED_MODULE_1___default()(_class21.prototype, "items", [_dec16], {
|
|
76264
76258
|
configurable: true,
|
|
76265
76259
|
enumerable: true,
|
|
76266
76260
|
writable: true,
|
|
76267
76261
|
initializer: null
|
|
76268
|
-
})),
|
|
76269
|
-
let FormulaRegexMatchExpression = (
|
|
76262
|
+
})), _class21)) || _class20);
|
|
76263
|
+
let FormulaRegexMatchExpression = (_dec17 = (0,_markupGenerator_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_5__.sugarNode)("regexmatch", `TODO`), _dec18 = (0,_markupGenerator_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_5__.singleChild)(), _dec19 = (0,_markupGenerator_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_5__.attr)("pattern", _markupGenerator_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_5__.attrType.string.required, `TODO`), _dec17(_class23 = (_class24 = class FormulaRegexMatchExpression extends FormulaExpression {
|
|
76270
76264
|
constructor(...args) {
|
|
76271
76265
|
super(...args);
|
|
76272
|
-
_babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0___default()(this, "argument",
|
|
76273
|
-
_babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0___default()(this, "pattern",
|
|
76266
|
+
_babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0___default()(this, "argument", _descriptor9, this);
|
|
76267
|
+
_babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0___default()(this, "pattern", _descriptor10, this);
|
|
76274
76268
|
}
|
|
76275
76269
|
getLegacyExpressionTypeForFunctionName() {
|
|
76276
76270
|
return "regexMatch";
|
|
76277
76271
|
}
|
|
76278
|
-
}, (
|
|
76272
|
+
}, (_descriptor9 = _babel_runtime_helpers_applyDecoratedDescriptor__WEBPACK_IMPORTED_MODULE_1___default()(_class24.prototype, "argument", [_dec18], {
|
|
76279
76273
|
configurable: true,
|
|
76280
76274
|
enumerable: true,
|
|
76281
76275
|
writable: true,
|
|
76282
76276
|
initializer: null
|
|
76283
|
-
}),
|
|
76277
|
+
}), _descriptor10 = _babel_runtime_helpers_applyDecoratedDescriptor__WEBPACK_IMPORTED_MODULE_1___default()(_class24.prototype, "pattern", [_dec19], {
|
|
76284
76278
|
configurable: true,
|
|
76285
76279
|
enumerable: true,
|
|
76286
76280
|
writable: true,
|
|
76287
76281
|
initializer: null
|
|
76288
|
-
})),
|
|
76289
|
-
let FormulaLengthExpression = (
|
|
76282
|
+
})), _class24)) || _class23);
|
|
76283
|
+
let FormulaLengthExpression = (_dec20 = (0,_markupGenerator_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_5__.sugarNode)("length", `TODO`), _dec21 = (0,_markupGenerator_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_5__.singleChild)(), _dec20(_class26 = (_class27 = class FormulaLengthExpression extends FormulaExpression {
|
|
76290
76284
|
constructor(...args) {
|
|
76291
76285
|
super(...args);
|
|
76292
|
-
_babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0___default()(this, "argument",
|
|
76286
|
+
_babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0___default()(this, "argument", _descriptor11, this);
|
|
76293
76287
|
}
|
|
76294
76288
|
getLegacyExpressionTypeForFunctionName() {
|
|
76295
76289
|
return "length";
|
|
76296
76290
|
}
|
|
76297
|
-
}, (
|
|
76291
|
+
}, (_descriptor11 = _babel_runtime_helpers_applyDecoratedDescriptor__WEBPACK_IMPORTED_MODULE_1___default()(_class27.prototype, "argument", [_dec21], {
|
|
76298
76292
|
configurable: true,
|
|
76299
76293
|
enumerable: true,
|
|
76300
76294
|
writable: true,
|
|
76301
76295
|
initializer: null
|
|
76302
|
-
})),
|
|
76303
|
-
let FormulaLtExpression = (
|
|
76296
|
+
})), _class27)) || _class26);
|
|
76297
|
+
let FormulaLtExpression = (_dec22 = (0,_markupGenerator_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_5__.sugarNode)("lt", `TODO`), _dec23 = (0,_markupGenerator_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_5__.children)(), _dec22(_class29 = (_class30 = class FormulaLtExpression extends FormulaExpression {
|
|
76304
76298
|
constructor(...args) {
|
|
76305
76299
|
super(...args);
|
|
76306
|
-
_babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0___default()(this, "arguments",
|
|
76300
|
+
_babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0___default()(this, "arguments", _descriptor12, this);
|
|
76307
76301
|
}
|
|
76308
76302
|
getLegacyExpressionTypeForFunctionName() {
|
|
76309
76303
|
return "lt";
|
|
76310
76304
|
}
|
|
76311
|
-
}, (
|
|
76305
|
+
}, (_descriptor12 = _babel_runtime_helpers_applyDecoratedDescriptor__WEBPACK_IMPORTED_MODULE_1___default()(_class30.prototype, "arguments", [_dec23], {
|
|
76312
76306
|
configurable: true,
|
|
76313
76307
|
enumerable: true,
|
|
76314
76308
|
writable: true,
|
|
76315
76309
|
initializer: null
|
|
76316
|
-
})),
|
|
76317
|
-
let FormulaGeExpression = (
|
|
76310
|
+
})), _class30)) || _class29);
|
|
76311
|
+
let FormulaGeExpression = (_dec24 = (0,_markupGenerator_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_5__.sugarNode)("ge", `TODO`), _dec25 = (0,_markupGenerator_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_5__.children)(), _dec24(_class32 = (_class33 = class FormulaGeExpression extends FormulaExpression {
|
|
76318
76312
|
constructor(...args) {
|
|
76319
76313
|
super(...args);
|
|
76320
|
-
_babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0___default()(this, "arguments",
|
|
76314
|
+
_babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0___default()(this, "arguments", _descriptor13, this);
|
|
76321
76315
|
}
|
|
76322
76316
|
getLegacyExpressionTypeForFunctionName() {
|
|
76323
76317
|
return "ge";
|
|
76324
76318
|
}
|
|
76325
|
-
}, (
|
|
76319
|
+
}, (_descriptor13 = _babel_runtime_helpers_applyDecoratedDescriptor__WEBPACK_IMPORTED_MODULE_1___default()(_class33.prototype, "arguments", [_dec25], {
|
|
76326
76320
|
configurable: true,
|
|
76327
76321
|
enumerable: true,
|
|
76328
76322
|
writable: true,
|
|
76329
76323
|
initializer: null
|
|
76330
|
-
})),
|
|
76331
|
-
let FormulaLeExpression = (
|
|
76324
|
+
})), _class33)) || _class32);
|
|
76325
|
+
let FormulaLeExpression = (_dec26 = (0,_markupGenerator_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_5__.sugarNode)("le", `TODO`), _dec27 = (0,_markupGenerator_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_5__.children)(), _dec26(_class35 = (_class36 = class FormulaLeExpression extends FormulaExpression {
|
|
76332
76326
|
constructor(...args) {
|
|
76333
76327
|
super(...args);
|
|
76334
|
-
_babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0___default()(this, "arguments",
|
|
76328
|
+
_babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0___default()(this, "arguments", _descriptor14, this);
|
|
76335
76329
|
}
|
|
76336
76330
|
getLegacyExpressionTypeForFunctionName() {
|
|
76337
76331
|
return "le";
|
|
76338
76332
|
}
|
|
76339
|
-
}, (
|
|
76333
|
+
}, (_descriptor14 = _babel_runtime_helpers_applyDecoratedDescriptor__WEBPACK_IMPORTED_MODULE_1___default()(_class36.prototype, "arguments", [_dec27], {
|
|
76340
76334
|
configurable: true,
|
|
76341
76335
|
enumerable: true,
|
|
76342
76336
|
writable: true,
|
|
76343
76337
|
initializer: null
|
|
76344
|
-
})),
|
|
76345
|
-
let FormulaNotExpression = (
|
|
76338
|
+
})), _class36)) || _class35);
|
|
76339
|
+
let FormulaNotExpression = (_dec28 = (0,_markupGenerator_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_5__.sugarNode)("not", `TODO`), _dec29 = (0,_markupGenerator_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_5__.singleChild)(), _dec28(_class38 = (_class39 = class FormulaNotExpression extends FormulaExpression {
|
|
76346
76340
|
constructor(...args) {
|
|
76347
76341
|
super(...args);
|
|
76348
|
-
_babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0___default()(this, "argument",
|
|
76342
|
+
_babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0___default()(this, "argument", _descriptor15, this);
|
|
76349
76343
|
}
|
|
76350
76344
|
getLegacyExpressionTypeForFunctionName() {
|
|
76351
76345
|
return "not";
|
|
76352
76346
|
}
|
|
76353
|
-
}, (
|
|
76347
|
+
}, (_descriptor15 = _babel_runtime_helpers_applyDecoratedDescriptor__WEBPACK_IMPORTED_MODULE_1___default()(_class39.prototype, "argument", [_dec29], {
|
|
76354
76348
|
configurable: true,
|
|
76355
76349
|
enumerable: true,
|
|
76356
76350
|
writable: true,
|
|
76357
76351
|
initializer: null
|
|
76358
|
-
})),
|
|
76359
|
-
let FormulaEqExpression = (
|
|
76352
|
+
})), _class39)) || _class38);
|
|
76353
|
+
let FormulaEqExpression = (_dec30 = (0,_markupGenerator_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_5__.sugarNode)("eq", `TODO`), _dec31 = (0,_markupGenerator_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_5__.children)(), _dec30(_class41 = (_class42 = class FormulaEqExpression extends FormulaExpression {
|
|
76360
76354
|
constructor(...args) {
|
|
76361
76355
|
super(...args);
|
|
76362
|
-
_babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0___default()(this, "arguments",
|
|
76356
|
+
_babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0___default()(this, "arguments", _descriptor16, this);
|
|
76363
76357
|
}
|
|
76364
76358
|
getLegacyExpressionTypeForFunctionName() {
|
|
76365
76359
|
return "eq";
|
|
76366
76360
|
}
|
|
76367
|
-
}, (
|
|
76361
|
+
}, (_descriptor16 = _babel_runtime_helpers_applyDecoratedDescriptor__WEBPACK_IMPORTED_MODULE_1___default()(_class42.prototype, "arguments", [_dec31], {
|
|
76368
76362
|
configurable: true,
|
|
76369
76363
|
enumerable: true,
|
|
76370
76364
|
writable: true,
|
|
76371
76365
|
initializer: null
|
|
76372
|
-
})),
|
|
76373
|
-
let FormulaChooseIfExpression = (
|
|
76366
|
+
})), _class42)) || _class41);
|
|
76367
|
+
let FormulaChooseIfExpression = (_dec32 = (0,_markupGenerator_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_5__.sugarNode)("if", `TODO`), _dec33 = (0,_markupGenerator_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_5__.singleChild)(), _dec32(_class44 = (_class45 = class FormulaChooseIfExpression extends FormulaExpression {
|
|
76374
76368
|
constructor(...args) {
|
|
76375
76369
|
super(...args);
|
|
76376
|
-
_babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0___default()(this, "condition",
|
|
76370
|
+
_babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0___default()(this, "condition", _descriptor17, this);
|
|
76377
76371
|
}
|
|
76378
76372
|
getLegacyExpressionTypeForFunctionName() {
|
|
76379
76373
|
return "if";
|
|
76380
76374
|
}
|
|
76381
|
-
}, (
|
|
76375
|
+
}, (_descriptor17 = _babel_runtime_helpers_applyDecoratedDescriptor__WEBPACK_IMPORTED_MODULE_1___default()(_class45.prototype, "condition", [_dec33], {
|
|
76382
76376
|
configurable: true,
|
|
76383
76377
|
enumerable: true,
|
|
76384
76378
|
writable: true,
|
|
76385
76379
|
initializer: null
|
|
76386
|
-
})),
|
|
76387
|
-
let FormulaChooseThenExpression = (
|
|
76380
|
+
})), _class45)) || _class44);
|
|
76381
|
+
let FormulaChooseThenExpression = (_dec34 = (0,_markupGenerator_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_5__.sugarNode)("then", `TODO`), _dec35 = (0,_markupGenerator_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_5__.singleChild)(), _dec34(_class47 = (_class48 = class FormulaChooseThenExpression extends FormulaExpression {
|
|
76388
76382
|
constructor(...args) {
|
|
76389
76383
|
super(...args);
|
|
76390
|
-
_babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0___default()(this, "expression",
|
|
76384
|
+
_babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0___default()(this, "expression", _descriptor18, this);
|
|
76391
76385
|
}
|
|
76392
76386
|
getLegacyExpressionTypeForFunctionName() {
|
|
76393
76387
|
return "then";
|
|
76394
76388
|
}
|
|
76395
|
-
}, (
|
|
76389
|
+
}, (_descriptor18 = _babel_runtime_helpers_applyDecoratedDescriptor__WEBPACK_IMPORTED_MODULE_1___default()(_class48.prototype, "expression", [_dec35], {
|
|
76396
76390
|
configurable: true,
|
|
76397
76391
|
enumerable: true,
|
|
76398
76392
|
writable: true,
|
|
76399
76393
|
initializer: null
|
|
76400
|
-
})),
|
|
76401
|
-
let FormulaChooseElseExpression = (
|
|
76394
|
+
})), _class48)) || _class47);
|
|
76395
|
+
let FormulaChooseElseExpression = (_dec36 = (0,_markupGenerator_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_5__.sugarNode)("else", `TODO`), _dec37 = (0,_markupGenerator_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_5__.singleChild)(), _dec36(_class50 = (_class51 = class FormulaChooseElseExpression extends FormulaExpression {
|
|
76402
76396
|
constructor(...args) {
|
|
76403
76397
|
super(...args);
|
|
76404
|
-
_babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0___default()(this, "expression",
|
|
76398
|
+
_babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0___default()(this, "expression", _descriptor19, this);
|
|
76405
76399
|
}
|
|
76406
76400
|
getLegacyExpressionTypeForFunctionName() {
|
|
76407
76401
|
return "else";
|
|
76408
76402
|
}
|
|
76409
|
-
}, (
|
|
76403
|
+
}, (_descriptor19 = _babel_runtime_helpers_applyDecoratedDescriptor__WEBPACK_IMPORTED_MODULE_1___default()(_class51.prototype, "expression", [_dec37], {
|
|
76410
76404
|
configurable: true,
|
|
76411
76405
|
enumerable: true,
|
|
76412
76406
|
writable: true,
|
|
76413
76407
|
initializer: null
|
|
76414
|
-
})),
|
|
76415
|
-
let FormulaChooseExpression = (
|
|
76408
|
+
})), _class51)) || _class50);
|
|
76409
|
+
let FormulaChooseExpression = (_dec38 = (0,_markupGenerator_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_5__.sugarNode)("choose", `TODO`), _dec39 = (0,_markupGenerator_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_5__.singleChild)("if", [FormulaChooseIfExpression]), _dec40 = (0,_markupGenerator_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_5__.singleChild)("then", [FormulaChooseThenExpression]), _dec41 = (0,_markupGenerator_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_5__.singleChild)("else", [FormulaChooseElseExpression]), _dec38(_class53 = (_class54 = class FormulaChooseExpression extends FormulaExpression {
|
|
76416
76410
|
constructor(...args) {
|
|
76417
76411
|
super(...args);
|
|
76418
|
-
_babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0___default()(this, "ifNode",
|
|
76419
|
-
_babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0___default()(this, "thenNode",
|
|
76420
|
-
_babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0___default()(this, "elseNode",
|
|
76412
|
+
_babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0___default()(this, "ifNode", _descriptor20, this);
|
|
76413
|
+
_babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0___default()(this, "thenNode", _descriptor21, this);
|
|
76414
|
+
_babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0___default()(this, "elseNode", _descriptor22, this);
|
|
76421
76415
|
}
|
|
76422
76416
|
getLegacyExpressionTypeForFunctionName() {
|
|
76423
76417
|
return "choose";
|
|
76424
76418
|
}
|
|
76425
|
-
}, (
|
|
76419
|
+
}, (_descriptor20 = _babel_runtime_helpers_applyDecoratedDescriptor__WEBPACK_IMPORTED_MODULE_1___default()(_class54.prototype, "ifNode", [_dec39], {
|
|
76426
76420
|
configurable: true,
|
|
76427
76421
|
enumerable: true,
|
|
76428
76422
|
writable: true,
|
|
76429
76423
|
initializer: null
|
|
76430
|
-
}),
|
|
76424
|
+
}), _descriptor21 = _babel_runtime_helpers_applyDecoratedDescriptor__WEBPACK_IMPORTED_MODULE_1___default()(_class54.prototype, "thenNode", [_dec40], {
|
|
76431
76425
|
configurable: true,
|
|
76432
76426
|
enumerable: true,
|
|
76433
76427
|
writable: true,
|
|
76434
76428
|
initializer: null
|
|
76435
|
-
}),
|
|
76429
|
+
}), _descriptor22 = _babel_runtime_helpers_applyDecoratedDescriptor__WEBPACK_IMPORTED_MODULE_1___default()(_class54.prototype, "elseNode", [_dec41], {
|
|
76436
76430
|
configurable: true,
|
|
76437
76431
|
enumerable: true,
|
|
76438
76432
|
writable: true,
|
|
76439
76433
|
initializer: null
|
|
76440
|
-
})),
|
|
76441
|
-
let FormulaDivisionExpression = (
|
|
76434
|
+
})), _class54)) || _class53);
|
|
76435
|
+
let FormulaDivisionExpression = (_dec42 = (0,_markupGenerator_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_5__.sugarNode)("division", `TODO`), _dec43 = (0,_markupGenerator_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_5__.children)(), _dec42(_class56 = (_class57 = class FormulaDivisionExpression extends FormulaExpression {
|
|
76442
76436
|
constructor(...args) {
|
|
76443
76437
|
super(...args);
|
|
76444
|
-
_babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0___default()(this, "arguments",
|
|
76438
|
+
_babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0___default()(this, "arguments", _descriptor23, this);
|
|
76445
76439
|
}
|
|
76446
|
-
}, (
|
|
76440
|
+
}, (_descriptor23 = _babel_runtime_helpers_applyDecoratedDescriptor__WEBPACK_IMPORTED_MODULE_1___default()(_class57.prototype, "arguments", [_dec43], {
|
|
76447
76441
|
configurable: true,
|
|
76448
76442
|
enumerable: true,
|
|
76449
76443
|
writable: true,
|
|
76450
76444
|
initializer: null
|
|
76451
|
-
})),
|
|
76452
|
-
let FormulaMultiplyExpression = (
|
|
76445
|
+
})), _class57)) || _class56);
|
|
76446
|
+
let FormulaMultiplyExpression = (_dec44 = (0,_markupGenerator_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_5__.sugarNode)("multiply", `TODO`), _dec45 = (0,_markupGenerator_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_5__.children)(), _dec44(_class59 = (_class60 = class FormulaMultiplyExpression extends FormulaExpression {
|
|
76453
76447
|
constructor(...args) {
|
|
76454
76448
|
super(...args);
|
|
76455
|
-
_babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0___default()(this, "arguments",
|
|
76449
|
+
_babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0___default()(this, "arguments", _descriptor24, this);
|
|
76456
76450
|
}
|
|
76457
|
-
}, (
|
|
76451
|
+
}, (_descriptor24 = _babel_runtime_helpers_applyDecoratedDescriptor__WEBPACK_IMPORTED_MODULE_1___default()(_class60.prototype, "arguments", [_dec45], {
|
|
76458
76452
|
configurable: true,
|
|
76459
76453
|
enumerable: true,
|
|
76460
76454
|
writable: true,
|
|
76461
76455
|
initializer: null
|
|
76462
|
-
})),
|
|
76463
|
-
let FormulaRoundExpression = (
|
|
76456
|
+
})), _class60)) || _class59);
|
|
76457
|
+
let FormulaRoundExpression = (_dec46 = (0,_markupGenerator_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_5__.sugarNode)("round", `TODO`), _dec47 = (0,_markupGenerator_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_5__.singleChild)(), _dec48 = (0,_markupGenerator_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_5__.attr)("fractionalDigits", _markupGenerator_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_5__.attrType.number, `TODO`), _dec46(_class62 = (_class63 = class FormulaRoundExpression extends FormulaExpression {
|
|
76464
76458
|
constructor(...args) {
|
|
76465
76459
|
super(...args);
|
|
76466
|
-
_babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0___default()(this, "expression",
|
|
76467
|
-
_babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0___default()(this, "fractionalDigits",
|
|
76460
|
+
_babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0___default()(this, "expression", _descriptor25, this);
|
|
76461
|
+
_babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0___default()(this, "fractionalDigits", _descriptor26, this);
|
|
76468
76462
|
}
|
|
76469
|
-
}, (
|
|
76463
|
+
}, (_descriptor25 = _babel_runtime_helpers_applyDecoratedDescriptor__WEBPACK_IMPORTED_MODULE_1___default()(_class63.prototype, "expression", [_dec47], {
|
|
76470
76464
|
configurable: true,
|
|
76471
76465
|
enumerable: true,
|
|
76472
76466
|
writable: true,
|
|
76473
76467
|
initializer: null
|
|
76474
|
-
}),
|
|
76468
|
+
}), _descriptor26 = _babel_runtime_helpers_applyDecoratedDescriptor__WEBPACK_IMPORTED_MODULE_1___default()(_class63.prototype, "fractionalDigits", [_dec48], {
|
|
76475
76469
|
configurable: true,
|
|
76476
76470
|
enumerable: true,
|
|
76477
76471
|
writable: true,
|
|
76478
76472
|
initializer: null
|
|
76479
|
-
})),
|
|
76480
|
-
let FormulaFloorExpression = (
|
|
76473
|
+
})), _class63)) || _class62);
|
|
76474
|
+
let FormulaFloorExpression = (_dec49 = (0,_markupGenerator_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_5__.sugarNode)("floor", `Округление числа в меньшую сторону`), _dec50 = (0,_markupGenerator_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_5__.singleChild)(), _dec49(_class65 = (_class66 = class FormulaFloorExpression extends FormulaExpression {
|
|
76481
76475
|
constructor(...args) {
|
|
76482
76476
|
super(...args);
|
|
76483
|
-
_babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0___default()(this, "expression",
|
|
76477
|
+
_babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0___default()(this, "expression", _descriptor27, this);
|
|
76484
76478
|
}
|
|
76485
|
-
}, (
|
|
76479
|
+
}, (_descriptor27 = _babel_runtime_helpers_applyDecoratedDescriptor__WEBPACK_IMPORTED_MODULE_1___default()(_class66.prototype, "expression", [_dec50], {
|
|
76486
76480
|
configurable: true,
|
|
76487
76481
|
enumerable: true,
|
|
76488
76482
|
writable: true,
|
|
76489
76483
|
initializer: null
|
|
76490
|
-
})),
|
|
76491
|
-
let FormulaAbsExpression = (
|
|
76484
|
+
})), _class66)) || _class65);
|
|
76485
|
+
let FormulaAbsExpression = (_dec51 = (0,_markupGenerator_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_5__.sugarNode)("abs", `TODO`), _dec52 = (0,_markupGenerator_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_5__.singleChild)(), _dec51(_class68 = (_class69 = class FormulaAbsExpression extends FormulaExpression {
|
|
76492
76486
|
constructor(...args) {
|
|
76493
76487
|
super(...args);
|
|
76494
|
-
_babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0___default()(this, "expression",
|
|
76488
|
+
_babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0___default()(this, "expression", _descriptor28, this);
|
|
76495
76489
|
}
|
|
76496
|
-
}, (
|
|
76490
|
+
}, (_descriptor28 = _babel_runtime_helpers_applyDecoratedDescriptor__WEBPACK_IMPORTED_MODULE_1___default()(_class69.prototype, "expression", [_dec52], {
|
|
76497
76491
|
configurable: true,
|
|
76498
76492
|
enumerable: true,
|
|
76499
76493
|
writable: true,
|
|
76500
76494
|
initializer: null
|
|
76501
|
-
})),
|
|
76502
|
-
let FormulaXAbsExpression = (
|
|
76495
|
+
})), _class69)) || _class68);
|
|
76496
|
+
let FormulaXAbsExpression = (_dec53 = (0,_markupGenerator_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_5__.sugarNode)("xabs", `TODO`), _dec54 = (0,_markupGenerator_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_5__.singleChild)(), _dec53(_class71 = (_class72 = class FormulaXAbsExpression extends FormulaExpression {
|
|
76503
76497
|
constructor(...args) {
|
|
76504
76498
|
super(...args);
|
|
76505
|
-
_babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0___default()(this, "expression",
|
|
76499
|
+
_babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0___default()(this, "expression", _descriptor29, this);
|
|
76506
76500
|
}
|
|
76507
|
-
}, (
|
|
76501
|
+
}, (_descriptor29 = _babel_runtime_helpers_applyDecoratedDescriptor__WEBPACK_IMPORTED_MODULE_1___default()(_class72.prototype, "expression", [_dec54], {
|
|
76508
76502
|
configurable: true,
|
|
76509
76503
|
enumerable: true,
|
|
76510
76504
|
writable: true,
|
|
76511
76505
|
initializer: null
|
|
76512
|
-
})),
|
|
76513
|
-
let FormulaMinusExpression = (
|
|
76506
|
+
})), _class72)) || _class71);
|
|
76507
|
+
let FormulaMinusExpression = (_dec55 = (0,_markupGenerator_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_5__.sugarNode)("minus", `TODO`), _dec56 = (0,_markupGenerator_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_5__.singleChild)(), _dec55(_class74 = (_class75 = class FormulaMinusExpression extends FormulaExpression {
|
|
76514
76508
|
constructor(...args) {
|
|
76515
76509
|
super(...args);
|
|
76516
|
-
_babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0___default()(this, "expression",
|
|
76510
|
+
_babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0___default()(this, "expression", _descriptor30, this);
|
|
76517
76511
|
}
|
|
76518
|
-
}, (
|
|
76512
|
+
}, (_descriptor30 = _babel_runtime_helpers_applyDecoratedDescriptor__WEBPACK_IMPORTED_MODULE_1___default()(_class75.prototype, "expression", [_dec56], {
|
|
76519
76513
|
configurable: true,
|
|
76520
76514
|
enumerable: true,
|
|
76521
76515
|
writable: true,
|
|
76522
76516
|
initializer: null
|
|
76523
|
-
})),
|
|
76524
|
-
let FormulaConstExpression = (
|
|
76517
|
+
})), _class75)) || _class74);
|
|
76518
|
+
let FormulaConstExpression = (_dec57 = (0,_markupGenerator_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_5__.sugarNode)("const", `TODO`), _dec58 = (0,_markupGenerator_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_5__.attr)("value", _markupGenerator_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_5__.attrType.string.required, ``), _dec59 = (0,_markupGenerator_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_5__.attr)("type", typeArgumentValueParser, `Тип константы: string или decimal (по умолчанию)`), _dec57(_class77 = (_class78 = class FormulaConstExpression extends FormulaExpression {
|
|
76525
76519
|
constructor(...args) {
|
|
76526
76520
|
super(...args);
|
|
76527
|
-
_babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0___default()(this, "value",
|
|
76528
|
-
_babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0___default()(this, "type",
|
|
76521
|
+
_babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0___default()(this, "value", _descriptor31, this);
|
|
76522
|
+
_babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0___default()(this, "type", _descriptor32, this);
|
|
76529
76523
|
}
|
|
76530
|
-
}, (
|
|
76524
|
+
}, (_descriptor31 = _babel_runtime_helpers_applyDecoratedDescriptor__WEBPACK_IMPORTED_MODULE_1___default()(_class78.prototype, "value", [_dec58], {
|
|
76531
76525
|
configurable: true,
|
|
76532
76526
|
enumerable: true,
|
|
76533
76527
|
writable: true,
|
|
76534
76528
|
initializer: null
|
|
76535
|
-
}),
|
|
76529
|
+
}), _descriptor32 = _babel_runtime_helpers_applyDecoratedDescriptor__WEBPACK_IMPORTED_MODULE_1___default()(_class78.prototype, "type", [_dec59], {
|
|
76536
76530
|
configurable: true,
|
|
76537
76531
|
enumerable: true,
|
|
76538
76532
|
writable: true,
|
|
76539
76533
|
initializer: function () {
|
|
76540
76534
|
return "decimal";
|
|
76541
76535
|
}
|
|
76542
|
-
})),
|
|
76543
|
-
let FormulaSubstringExpression = (
|
|
76536
|
+
})), _class78)) || _class77);
|
|
76537
|
+
let FormulaSubstringExpression = (_dec60 = (0,_markupGenerator_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_5__.sugarNode)("substring", `TODO`), _dec61 = (0,_markupGenerator_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_5__.singleChild)(), _dec62 = (0,_markupGenerator_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_5__.attr)("start", _markupGenerator_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_5__.attrType.number.required, `TODO`), _dec63 = (0,_markupGenerator_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_5__.attr)("length", _markupGenerator_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_5__.attrType.number, `TODO`), _dec60(_class80 = (_class81 = class FormulaSubstringExpression extends FormulaExpression {
|
|
76544
76538
|
constructor(...args) {
|
|
76545
76539
|
super(...args);
|
|
76546
|
-
_babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0___default()(this, "expression",
|
|
76547
|
-
_babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0___default()(this, "start",
|
|
76548
|
-
_babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0___default()(this, "length",
|
|
76540
|
+
_babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0___default()(this, "expression", _descriptor33, this);
|
|
76541
|
+
_babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0___default()(this, "start", _descriptor34, this);
|
|
76542
|
+
_babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0___default()(this, "length", _descriptor35, this);
|
|
76549
76543
|
}
|
|
76550
76544
|
getLegacyExpressionTypeForFunctionName() {
|
|
76551
76545
|
return "substring";
|
|
76552
76546
|
}
|
|
76553
|
-
}, (
|
|
76547
|
+
}, (_descriptor33 = _babel_runtime_helpers_applyDecoratedDescriptor__WEBPACK_IMPORTED_MODULE_1___default()(_class81.prototype, "expression", [_dec61], {
|
|
76554
76548
|
configurable: true,
|
|
76555
76549
|
enumerable: true,
|
|
76556
76550
|
writable: true,
|
|
76557
76551
|
initializer: null
|
|
76558
|
-
}),
|
|
76552
|
+
}), _descriptor34 = _babel_runtime_helpers_applyDecoratedDescriptor__WEBPACK_IMPORTED_MODULE_1___default()(_class81.prototype, "start", [_dec62], {
|
|
76559
76553
|
configurable: true,
|
|
76560
76554
|
enumerable: true,
|
|
76561
76555
|
writable: true,
|
|
76562
76556
|
initializer: null
|
|
76563
|
-
}),
|
|
76557
|
+
}), _descriptor35 = _babel_runtime_helpers_applyDecoratedDescriptor__WEBPACK_IMPORTED_MODULE_1___default()(_class81.prototype, "length", [_dec63], {
|
|
76564
76558
|
configurable: true,
|
|
76565
76559
|
enumerable: true,
|
|
76566
76560
|
writable: true,
|
|
76567
76561
|
initializer: null
|
|
76568
|
-
})),
|
|
76569
|
-
let FormulaCastExpression = (
|
|
76562
|
+
})), _class81)) || _class80);
|
|
76563
|
+
let FormulaCastExpression = (_dec64 = (0,_markupGenerator_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_5__.sugarNode)("cast", `TODO`), _dec65 = (0,_markupGenerator_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_5__.singleChild)(), _dec66 = (0,_markupGenerator_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_5__.attr)("type", typeArgumentValueParser.required, `TODO`), _dec64(_class83 = (_class84 = class FormulaCastExpression extends FormulaExpression {
|
|
76570
76564
|
constructor(...args) {
|
|
76571
76565
|
super(...args);
|
|
76572
|
-
_babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0___default()(this, "expression",
|
|
76573
|
-
_babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0___default()(this, "type",
|
|
76566
|
+
_babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0___default()(this, "expression", _descriptor36, this);
|
|
76567
|
+
_babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0___default()(this, "type", _descriptor37, this);
|
|
76574
76568
|
}
|
|
76575
76569
|
getLegacyExpressionTypeForFunctionName() {
|
|
76576
76570
|
return "cast";
|
|
76577
76571
|
}
|
|
76578
|
-
}, (
|
|
76572
|
+
}, (_descriptor36 = _babel_runtime_helpers_applyDecoratedDescriptor__WEBPACK_IMPORTED_MODULE_1___default()(_class84.prototype, "expression", [_dec65], {
|
|
76579
76573
|
configurable: true,
|
|
76580
76574
|
enumerable: true,
|
|
76581
76575
|
writable: true,
|
|
76582
76576
|
initializer: null
|
|
76583
|
-
}),
|
|
76577
|
+
}), _descriptor37 = _babel_runtime_helpers_applyDecoratedDescriptor__WEBPACK_IMPORTED_MODULE_1___default()(_class84.prototype, "type", [_dec66], {
|
|
76584
76578
|
configurable: true,
|
|
76585
76579
|
enumerable: true,
|
|
76586
76580
|
writable: true,
|
|
76587
76581
|
initializer: null
|
|
76588
|
-
})),
|
|
76589
|
-
let FormulaDateNowExpression = (
|
|
76590
|
-
let FormulaGetDaysInMonthExpression = (
|
|
76582
|
+
})), _class84)) || _class83);
|
|
76583
|
+
let FormulaDateNowExpression = (_dec67 = (0,_markupGenerator_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_5__.sugarNode)("datenow", `Дата в формате: {dd/mm/yyyy}`), _dec67(_class86 = class FormulaDateNowExpression extends FormulaExpression {}) || _class86);
|
|
76584
|
+
let FormulaGetDaysInMonthExpression = (_dec68 = (0,_markupGenerator_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_5__.sugarNode)("getdaysinmonth", `Количество дней в месяце указанной даты`), _dec69 = (0,_markupGenerator_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_5__.singleChild)(), _dec68(_class87 = (_class88 = class FormulaGetDaysInMonthExpression extends FormulaExpression {
|
|
76591
76585
|
constructor(...args) {
|
|
76592
76586
|
super(...args);
|
|
76593
|
-
_babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0___default()(this, "expression",
|
|
76587
|
+
_babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0___default()(this, "expression", _descriptor38, this);
|
|
76594
76588
|
}
|
|
76595
|
-
}, (
|
|
76589
|
+
}, (_descriptor38 = _babel_runtime_helpers_applyDecoratedDescriptor__WEBPACK_IMPORTED_MODULE_1___default()(_class88.prototype, "expression", [_dec69], {
|
|
76596
76590
|
configurable: true,
|
|
76597
76591
|
enumerable: true,
|
|
76598
76592
|
writable: true,
|
|
76599
76593
|
initializer: null
|
|
76600
|
-
})),
|
|
76601
|
-
let FormulaGetDayExpression = (
|
|
76594
|
+
})), _class88)) || _class87);
|
|
76595
|
+
let FormulaGetDayExpression = (_dec70 = (0,_markupGenerator_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_5__.sugarNode)("getday", `День из указанной даты`), _dec71 = (0,_markupGenerator_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_5__.singleChild)(), _dec70(_class90 = (_class91 = class FormulaGetDayExpression extends FormulaExpression {
|
|
76602
76596
|
constructor(...args) {
|
|
76603
76597
|
super(...args);
|
|
76604
|
-
_babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0___default()(this, "expression",
|
|
76598
|
+
_babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0___default()(this, "expression", _descriptor39, this);
|
|
76605
76599
|
}
|
|
76606
|
-
}, (
|
|
76600
|
+
}, (_descriptor39 = _babel_runtime_helpers_applyDecoratedDescriptor__WEBPACK_IMPORTED_MODULE_1___default()(_class91.prototype, "expression", [_dec71], {
|
|
76607
76601
|
configurable: true,
|
|
76608
76602
|
enumerable: true,
|
|
76609
76603
|
writable: true,
|
|
76610
76604
|
initializer: null
|
|
76611
|
-
})),
|
|
76612
|
-
let FormulaGetMonthExpression = (
|
|
76605
|
+
})), _class91)) || _class90);
|
|
76606
|
+
let FormulaGetMonthExpression = (_dec72 = (0,_markupGenerator_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_5__.sugarNode)("getmonth", `Месяц из указанной даты`), _dec73 = (0,_markupGenerator_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_5__.singleChild)(), _dec72(_class93 = (_class94 = class FormulaGetMonthExpression extends FormulaExpression {
|
|
76613
76607
|
constructor(...args) {
|
|
76614
76608
|
super(...args);
|
|
76615
|
-
_babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0___default()(this, "expression",
|
|
76609
|
+
_babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0___default()(this, "expression", _descriptor40, this);
|
|
76616
76610
|
}
|
|
76617
|
-
}, (
|
|
76611
|
+
}, (_descriptor40 = _babel_runtime_helpers_applyDecoratedDescriptor__WEBPACK_IMPORTED_MODULE_1___default()(_class94.prototype, "expression", [_dec73], {
|
|
76618
76612
|
configurable: true,
|
|
76619
76613
|
enumerable: true,
|
|
76620
76614
|
writable: true,
|
|
76621
76615
|
initializer: null
|
|
76622
|
-
})),
|
|
76623
|
-
let FormulaGetYearExpression = (
|
|
76616
|
+
})), _class94)) || _class93);
|
|
76617
|
+
let FormulaGetYearExpression = (_dec74 = (0,_markupGenerator_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_5__.sugarNode)("getyear", `Год из указанной даты`), _dec75 = (0,_markupGenerator_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_5__.singleChild)(), _dec74(_class96 = (_class97 = class FormulaGetYearExpression extends FormulaExpression {
|
|
76624
76618
|
constructor(...args) {
|
|
76625
76619
|
super(...args);
|
|
76626
|
-
_babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0___default()(this, "expression",
|
|
76620
|
+
_babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0___default()(this, "expression", _descriptor41, this);
|
|
76627
76621
|
}
|
|
76628
|
-
}, (
|
|
76622
|
+
}, (_descriptor41 = _babel_runtime_helpers_applyDecoratedDescriptor__WEBPACK_IMPORTED_MODULE_1___default()(_class97.prototype, "expression", [_dec75], {
|
|
76629
76623
|
configurable: true,
|
|
76630
76624
|
enumerable: true,
|
|
76631
76625
|
writable: true,
|
|
76632
76626
|
initializer: null
|
|
76633
|
-
})),
|
|
76634
|
-
let FormulaIsDateExpression = (
|
|
76627
|
+
})), _class97)) || _class96);
|
|
76628
|
+
let FormulaIsDateExpression = (_dec76 = (0,_markupGenerator_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_5__.sugarNode)("isdate", `Проверка, является ли дата валидной`), _dec77 = (0,_markupGenerator_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_5__.singleChild)(), _dec76(_class99 = (_class100 = class FormulaIsDateExpression extends FormulaExpression {
|
|
76635
76629
|
constructor(...args) {
|
|
76636
76630
|
super(...args);
|
|
76637
|
-
_babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0___default()(this, "expression",
|
|
76631
|
+
_babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0___default()(this, "expression", _descriptor42, this);
|
|
76638
76632
|
}
|
|
76639
|
-
}, (
|
|
76633
|
+
}, (_descriptor42 = _babel_runtime_helpers_applyDecoratedDescriptor__WEBPACK_IMPORTED_MODULE_1___default()(_class100.prototype, "expression", [_dec77], {
|
|
76640
76634
|
configurable: true,
|
|
76641
76635
|
enumerable: true,
|
|
76642
76636
|
writable: true,
|
|
76643
76637
|
initializer: null
|
|
76644
|
-
})),
|
|
76645
|
-
let FormulaDifferenceInMonthsExpression = (
|
|
76638
|
+
})), _class100)) || _class99);
|
|
76639
|
+
let FormulaDifferenceInMonthsExpression = (_dec78 = (0,_markupGenerator_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_5__.sugarNode)("differenceinmonths", `Количество полных месяцев между двумя датами`), _dec79 = (0,_markupGenerator_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_5__.children)(), _dec78(_class102 = (_class103 = class FormulaDifferenceInMonthsExpression extends FormulaExpression {
|
|
76646
76640
|
constructor(...args) {
|
|
76647
76641
|
super(...args);
|
|
76648
|
-
_babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0___default()(this, "arguments",
|
|
76642
|
+
_babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0___default()(this, "arguments", _descriptor43, this);
|
|
76649
76643
|
}
|
|
76650
|
-
}, (
|
|
76644
|
+
}, (_descriptor43 = _babel_runtime_helpers_applyDecoratedDescriptor__WEBPACK_IMPORTED_MODULE_1___default()(_class103.prototype, "arguments", [_dec79], {
|
|
76651
76645
|
configurable: true,
|
|
76652
76646
|
enumerable: true,
|
|
76653
76647
|
writable: true,
|
|
76654
76648
|
initializer: null
|
|
76655
|
-
})),
|
|
76656
|
-
let FormulaDifferenceInDaysExpression = (
|
|
76649
|
+
})), _class103)) || _class102);
|
|
76650
|
+
let FormulaDifferenceInDaysExpression = (_dec80 = (0,_markupGenerator_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_5__.sugarNode)("differenceindays", `Разница в днях между двумя датами`), _dec81 = (0,_markupGenerator_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_5__.children)(), _dec80(_class105 = (_class106 = class FormulaDifferenceInDaysExpression extends FormulaExpression {
|
|
76657
76651
|
constructor(...args) {
|
|
76658
76652
|
super(...args);
|
|
76659
|
-
_babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0___default()(this, "arguments",
|
|
76653
|
+
_babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0___default()(this, "arguments", _descriptor44, this);
|
|
76660
76654
|
}
|
|
76661
|
-
}, (
|
|
76655
|
+
}, (_descriptor44 = _babel_runtime_helpers_applyDecoratedDescriptor__WEBPACK_IMPORTED_MODULE_1___default()(_class106.prototype, "arguments", [_dec81], {
|
|
76662
76656
|
configurable: true,
|
|
76663
76657
|
enumerable: true,
|
|
76664
76658
|
writable: true,
|
|
76665
76659
|
initializer: null
|
|
76666
|
-
})),
|
|
76667
|
-
let FormulaAddDaysExpression = (
|
|
76660
|
+
})), _class106)) || _class105);
|
|
76661
|
+
let FormulaAddDaysExpression = (_dec82 = (0,_markupGenerator_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_5__.sugarNode)("adddays", `Добавить дни к дате`), _dec83 = (0,_markupGenerator_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_5__.singleChild)(), _dec84 = (0,_markupGenerator_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_5__.attr)("amount", _markupGenerator_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_5__.attrType.number.required, `Количество дней (можно указать отрицательное)`), _dec82(_class108 = (_class109 = class FormulaAddDaysExpression extends FormulaExpression {
|
|
76668
76662
|
constructor(...args) {
|
|
76669
76663
|
super(...args);
|
|
76670
|
-
_babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0___default()(this, "expression",
|
|
76671
|
-
_babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0___default()(this, "amount",
|
|
76664
|
+
_babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0___default()(this, "expression", _descriptor45, this);
|
|
76665
|
+
_babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0___default()(this, "amount", _descriptor46, this);
|
|
76672
76666
|
}
|
|
76673
|
-
}, (
|
|
76667
|
+
}, (_descriptor45 = _babel_runtime_helpers_applyDecoratedDescriptor__WEBPACK_IMPORTED_MODULE_1___default()(_class109.prototype, "expression", [_dec83], {
|
|
76674
76668
|
configurable: true,
|
|
76675
76669
|
enumerable: true,
|
|
76676
76670
|
writable: true,
|
|
76677
76671
|
initializer: null
|
|
76678
|
-
}),
|
|
76672
|
+
}), _descriptor46 = _babel_runtime_helpers_applyDecoratedDescriptor__WEBPACK_IMPORTED_MODULE_1___default()(_class109.prototype, "amount", [_dec84], {
|
|
76679
76673
|
configurable: true,
|
|
76680
76674
|
enumerable: true,
|
|
76681
76675
|
writable: true,
|
|
76682
76676
|
initializer: null
|
|
76683
|
-
})),
|
|
76684
|
-
let FormulaAddMonthsExpression = (
|
|
76677
|
+
})), _class109)) || _class108);
|
|
76678
|
+
let FormulaAddMonthsExpression = (_dec85 = (0,_markupGenerator_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_5__.sugarNode)("addmonths", `Добавить месяцы к дате`), _dec86 = (0,_markupGenerator_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_5__.singleChild)(), _dec87 = (0,_markupGenerator_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_5__.attr)("amount", _markupGenerator_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_5__.attrType.number.required, `Количество месяцев (можно указать отрицательное)`), _dec85(_class111 = (_class112 = class FormulaAddMonthsExpression extends FormulaExpression {
|
|
76685
76679
|
constructor(...args) {
|
|
76686
76680
|
super(...args);
|
|
76687
|
-
_babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0___default()(this, "expression",
|
|
76688
|
-
_babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0___default()(this, "amount",
|
|
76681
|
+
_babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0___default()(this, "expression", _descriptor47, this);
|
|
76682
|
+
_babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0___default()(this, "amount", _descriptor48, this);
|
|
76689
76683
|
}
|
|
76690
|
-
}, (
|
|
76684
|
+
}, (_descriptor47 = _babel_runtime_helpers_applyDecoratedDescriptor__WEBPACK_IMPORTED_MODULE_1___default()(_class112.prototype, "expression", [_dec86], {
|
|
76691
76685
|
configurable: true,
|
|
76692
76686
|
enumerable: true,
|
|
76693
76687
|
writable: true,
|
|
76694
76688
|
initializer: null
|
|
76695
|
-
}),
|
|
76689
|
+
}), _descriptor48 = _babel_runtime_helpers_applyDecoratedDescriptor__WEBPACK_IMPORTED_MODULE_1___default()(_class112.prototype, "amount", [_dec87], {
|
|
76696
76690
|
configurable: true,
|
|
76697
76691
|
enumerable: true,
|
|
76698
76692
|
writable: true,
|
|
76699
76693
|
initializer: null
|
|
76700
|
-
})),
|
|
76701
|
-
let FormulaAddYearsExpression = (
|
|
76694
|
+
})), _class112)) || _class111);
|
|
76695
|
+
let FormulaAddYearsExpression = (_dec88 = (0,_markupGenerator_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_5__.sugarNode)("addyears", `Добавить годы к дате`), _dec89 = (0,_markupGenerator_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_5__.singleChild)(), _dec90 = (0,_markupGenerator_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_5__.attr)("amount", _markupGenerator_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_5__.attrType.number.required, `Количество лет (можно указать отрицательное)`), _dec88(_class114 = (_class115 = class FormulaAddYearsExpression extends FormulaExpression {
|
|
76702
76696
|
constructor(...args) {
|
|
76703
76697
|
super(...args);
|
|
76704
|
-
_babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0___default()(this, "expression",
|
|
76705
|
-
_babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0___default()(this, "amount",
|
|
76698
|
+
_babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0___default()(this, "expression", _descriptor49, this);
|
|
76699
|
+
_babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0___default()(this, "amount", _descriptor50, this);
|
|
76706
76700
|
}
|
|
76707
|
-
}, (
|
|
76701
|
+
}, (_descriptor49 = _babel_runtime_helpers_applyDecoratedDescriptor__WEBPACK_IMPORTED_MODULE_1___default()(_class115.prototype, "expression", [_dec89], {
|
|
76708
76702
|
configurable: true,
|
|
76709
76703
|
enumerable: true,
|
|
76710
76704
|
writable: true,
|
|
76711
76705
|
initializer: null
|
|
76712
|
-
}),
|
|
76706
|
+
}), _descriptor50 = _babel_runtime_helpers_applyDecoratedDescriptor__WEBPACK_IMPORTED_MODULE_1___default()(_class115.prototype, "amount", [_dec90], {
|
|
76713
76707
|
configurable: true,
|
|
76714
76708
|
enumerable: true,
|
|
76715
76709
|
writable: true,
|
|
76716
76710
|
initializer: null
|
|
76717
|
-
})),
|
|
76718
|
-
let FormulaDateToStringExpression = (
|
|
76711
|
+
})), _class115)) || _class114);
|
|
76712
|
+
let FormulaDateToStringExpression = (_dec91 = (0,_markupGenerator_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_5__.sugarNode)("datetostring", `Преобразование даты в строку. Используется как обертка над методами, которые возвращают объект даты (addDays, dateNow и т.д.)`), _dec92 = (0,_markupGenerator_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_5__.singleChild)(), _dec93 = (0,_markupGenerator_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_5__.attr)("format", _markupGenerator_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_5__.attrType.string, `
|
|
76719
76713
|
Формат даты.
|
|
76720
76714
|
- По дефолту (ничего не указано): dd.MM.yyyy
|
|
76721
76715
|
- Можно указать "fss" (будет yyyy-MM-dd)
|
|
76722
76716
|
- Можно указывать любые форматы с "yyyy", "MM", "dd", например US формат: MM/dd/yyyy
|
|
76723
|
-
`),
|
|
76717
|
+
`), _dec91(_class117 = (_class118 = class FormulaDateToStringExpression extends FormulaExpression {
|
|
76724
76718
|
constructor(...args) {
|
|
76725
76719
|
super(...args);
|
|
76726
|
-
_babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0___default()(this, "expression",
|
|
76727
|
-
_babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0___default()(this, "format",
|
|
76720
|
+
_babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0___default()(this, "expression", _descriptor51, this);
|
|
76721
|
+
_babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0___default()(this, "format", _descriptor52, this);
|
|
76728
76722
|
}
|
|
76729
|
-
}, (
|
|
76723
|
+
}, (_descriptor51 = _babel_runtime_helpers_applyDecoratedDescriptor__WEBPACK_IMPORTED_MODULE_1___default()(_class118.prototype, "expression", [_dec92], {
|
|
76730
76724
|
configurable: true,
|
|
76731
76725
|
enumerable: true,
|
|
76732
76726
|
writable: true,
|
|
76733
76727
|
initializer: null
|
|
76734
|
-
}),
|
|
76728
|
+
}), _descriptor52 = _babel_runtime_helpers_applyDecoratedDescriptor__WEBPACK_IMPORTED_MODULE_1___default()(_class118.prototype, "format", [_dec93], {
|
|
76735
76729
|
configurable: true,
|
|
76736
76730
|
enumerable: true,
|
|
76737
76731
|
writable: true,
|
|
76738
76732
|
initializer: null
|
|
76739
|
-
})),
|
|
76740
|
-
let FormulaDateTimeExpression = (
|
|
76733
|
+
})), _class118)) || _class117);
|
|
76734
|
+
let FormulaDateTimeExpression = (_dec94 = (0,_markupGenerator_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_5__.sugarNode)("datetime", `Преобразование строки в дату`), _dec95 = (0,_markupGenerator_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_5__.singleChild)(), _dec94(_class120 = (_class121 = class FormulaDateTimeExpression extends FormulaExpression {
|
|
76741
76735
|
constructor(...args) {
|
|
76742
76736
|
super(...args);
|
|
76743
|
-
_babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0___default()(this, "expression",
|
|
76737
|
+
_babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0___default()(this, "expression", _descriptor53, this);
|
|
76744
76738
|
}
|
|
76745
|
-
}, (
|
|
76739
|
+
}, (_descriptor53 = _babel_runtime_helpers_applyDecoratedDescriptor__WEBPACK_IMPORTED_MODULE_1___default()(_class121.prototype, "expression", [_dec95], {
|
|
76746
76740
|
configurable: true,
|
|
76747
76741
|
enumerable: true,
|
|
76748
76742
|
writable: true,
|
|
76749
76743
|
initializer: null
|
|
76750
|
-
})),
|
|
76751
|
-
let FormulaIsSnilsExpression = (
|
|
76744
|
+
})), _class121)) || _class120);
|
|
76745
|
+
let FormulaIsSnilsExpression = (_dec96 = (0,_markupGenerator_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_5__.sugarNode)("issnils", `Проверка на валидность снилса`), _dec97 = (0,_markupGenerator_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_5__.attr)("select", _markupGenerator_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_5__.attrType.string.required, ``), _dec96(_class123 = (_class124 = class FormulaIsSnilsExpression extends FormulaExpression {
|
|
76752
76746
|
constructor(...args) {
|
|
76753
76747
|
super(...args);
|
|
76754
|
-
_babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0___default()(this, "select",
|
|
76748
|
+
_babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0___default()(this, "select", _descriptor54, this);
|
|
76755
76749
|
}
|
|
76756
76750
|
getLegacyExpressionTypeForFunctionName() {
|
|
76757
76751
|
return "isSnils";
|
|
76758
76752
|
}
|
|
76759
|
-
}, (
|
|
76753
|
+
}, (_descriptor54 = _babel_runtime_helpers_applyDecoratedDescriptor__WEBPACK_IMPORTED_MODULE_1___default()(_class124.prototype, "select", [_dec97], {
|
|
76760
76754
|
configurable: true,
|
|
76761
76755
|
enumerable: true,
|
|
76762
76756
|
writable: true,
|
|
76763
76757
|
initializer: null
|
|
76764
|
-
})),
|
|
76765
|
-
let FormulaIsInnExpression = (
|
|
76758
|
+
})), _class124)) || _class123);
|
|
76759
|
+
let FormulaIsInnExpression = (_dec98 = (0,_markupGenerator_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_5__.sugarNode)("isinn", `Проверка на валидность ИИН`), _dec99 = (0,_markupGenerator_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_5__.attr)("select", _markupGenerator_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_5__.attrType.string.required, ``), _dec98(_class126 = (_class127 = class FormulaIsInnExpression extends FormulaExpression {
|
|
76766
76760
|
constructor(...args) {
|
|
76767
76761
|
super(...args);
|
|
76768
|
-
_babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0___default()(this, "select",
|
|
76762
|
+
_babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0___default()(this, "select", _descriptor55, this);
|
|
76769
76763
|
}
|
|
76770
76764
|
getLegacyExpressionTypeForFunctionName() {
|
|
76771
76765
|
return "isInn";
|
|
76772
76766
|
}
|
|
76773
|
-
}, (
|
|
76767
|
+
}, (_descriptor55 = _babel_runtime_helpers_applyDecoratedDescriptor__WEBPACK_IMPORTED_MODULE_1___default()(_class127.prototype, "select", [_dec99], {
|
|
76774
76768
|
configurable: true,
|
|
76775
76769
|
enumerable: true,
|
|
76776
76770
|
writable: true,
|
|
76777
76771
|
initializer: null
|
|
76778
|
-
})),
|
|
76779
|
-
let FormulaIsValidMirCardNumberExpression = (
|
|
76772
|
+
})), _class127)) || _class126);
|
|
76773
|
+
let FormulaIsValidMirCardNumberExpression = (_dec100 = (0,_markupGenerator_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_5__.sugarNode)("isvalidmircardnumber", `Проверка на валидность карты МИР`), _dec101 = (0,_markupGenerator_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_5__.attr)("select", _markupGenerator_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_5__.attrType.string.required, ``), _dec100(_class129 = (_class130 = class FormulaIsValidMirCardNumberExpression extends FormulaExpression {
|
|
76780
76774
|
constructor(...args) {
|
|
76781
76775
|
super(...args);
|
|
76782
|
-
_babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0___default()(this, "select",
|
|
76776
|
+
_babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0___default()(this, "select", _descriptor56, this);
|
|
76783
76777
|
}
|
|
76784
76778
|
getLegacyExpressionTypeForFunctionName() {
|
|
76785
76779
|
return "isValidMirCardNumber";
|
|
76786
76780
|
}
|
|
76787
|
-
}, (
|
|
76781
|
+
}, (_descriptor56 = _babel_runtime_helpers_applyDecoratedDescriptor__WEBPACK_IMPORTED_MODULE_1___default()(_class130.prototype, "select", [_dec101], {
|
|
76788
76782
|
configurable: true,
|
|
76789
76783
|
enumerable: true,
|
|
76790
76784
|
writable: true,
|
|
76791
76785
|
initializer: null
|
|
76792
|
-
})),
|
|
76793
|
-
let FormulaIsValidAccountNumberExpression = (
|
|
76786
|
+
})), _class130)) || _class129);
|
|
76787
|
+
let FormulaIsValidAccountNumberExpression = (_dec102 = (0,_markupGenerator_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_5__.sugarNode)("isvalidaccountnumber", `Проверка на валидность карты МИР`), _dec103 = (0,_markupGenerator_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_5__.attr)("bik", _markupGenerator_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_5__.attrType.string.required, ``), _dec104 = (0,_markupGenerator_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_5__.attr)("account", _markupGenerator_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_5__.attrType.string.required, ``), _dec102(_class132 = (_class133 = class FormulaIsValidAccountNumberExpression extends FormulaExpression {
|
|
76794
76788
|
constructor(...args) {
|
|
76795
76789
|
super(...args);
|
|
76796
|
-
_babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0___default()(this, "bik",
|
|
76797
|
-
_babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0___default()(this, "account",
|
|
76790
|
+
_babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0___default()(this, "bik", _descriptor57, this);
|
|
76791
|
+
_babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0___default()(this, "account", _descriptor58, this);
|
|
76798
76792
|
}
|
|
76799
76793
|
getLegacyExpressionTypeForFunctionName() {
|
|
76800
76794
|
return "isValidAccountNumber";
|
|
76801
76795
|
}
|
|
76802
|
-
}, (
|
|
76796
|
+
}, (_descriptor57 = _babel_runtime_helpers_applyDecoratedDescriptor__WEBPACK_IMPORTED_MODULE_1___default()(_class133.prototype, "bik", [_dec103], {
|
|
76803
76797
|
configurable: true,
|
|
76804
76798
|
enumerable: true,
|
|
76805
76799
|
writable: true,
|
|
76806
76800
|
initializer: null
|
|
76807
|
-
}),
|
|
76801
|
+
}), _descriptor58 = _babel_runtime_helpers_applyDecoratedDescriptor__WEBPACK_IMPORTED_MODULE_1___default()(_class133.prototype, "account", [_dec104], {
|
|
76808
76802
|
configurable: true,
|
|
76809
76803
|
enumerable: true,
|
|
76810
76804
|
writable: true,
|
|
76811
76805
|
initializer: null
|
|
76812
|
-
})),
|
|
76813
|
-
let FormulaArgumentExpression = (
|
|
76806
|
+
})), _class133)) || _class132);
|
|
76807
|
+
let FormulaArgumentExpression = (_dec105 = (0,_markupGenerator_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_5__.sugarNode)("argument", `TODO`), _dec106 = (0,_markupGenerator_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_5__.attr)("select", _markupGenerator_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_5__.attrType.string.required, ``), _dec107 = (0,_markupGenerator_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_5__.attr)("type", typeArgumentValueParser, `Тип атрибута: string или decimal (по умолчанию)`), _dec105(_class135 = (_class136 = class FormulaArgumentExpression extends FormulaExpression {
|
|
76814
76808
|
constructor(...args) {
|
|
76815
76809
|
super(...args);
|
|
76816
|
-
_babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0___default()(this, "select",
|
|
76817
|
-
_babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0___default()(this, "type",
|
|
76810
|
+
_babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0___default()(this, "select", _descriptor59, this);
|
|
76811
|
+
_babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0___default()(this, "type", _descriptor60, this);
|
|
76818
76812
|
}
|
|
76819
|
-
}, (
|
|
76813
|
+
}, (_descriptor59 = _babel_runtime_helpers_applyDecoratedDescriptor__WEBPACK_IMPORTED_MODULE_1___default()(_class136.prototype, "select", [_dec106], {
|
|
76820
76814
|
configurable: true,
|
|
76821
76815
|
enumerable: true,
|
|
76822
76816
|
writable: true,
|
|
76823
76817
|
initializer: null
|
|
76824
|
-
}),
|
|
76818
|
+
}), _descriptor60 = _babel_runtime_helpers_applyDecoratedDescriptor__WEBPACK_IMPORTED_MODULE_1___default()(_class136.prototype, "type", [_dec107], {
|
|
76825
76819
|
configurable: true,
|
|
76826
76820
|
enumerable: true,
|
|
76827
76821
|
writable: true,
|
|
76828
76822
|
initializer: function () {
|
|
76829
76823
|
return "decimal";
|
|
76830
76824
|
}
|
|
76831
|
-
})),
|
|
76832
|
-
let FormulaArrayExpression = (
|
|
76825
|
+
})), _class136)) || _class135);
|
|
76826
|
+
let FormulaArrayExpression = (_dec108 = (0,_markupGenerator_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_5__.sugarNode)("array", `TODO`), _dec109 = (0,_markupGenerator_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_5__.children)(), _dec108(_class138 = (_class139 = class FormulaArrayExpression extends FormulaExpression {
|
|
76833
76827
|
constructor(...args) {
|
|
76834
76828
|
super(...args);
|
|
76835
|
-
_babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0___default()(this, "items",
|
|
76829
|
+
_babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0___default()(this, "items", _descriptor61, this);
|
|
76836
76830
|
}
|
|
76837
|
-
}, (
|
|
76831
|
+
}, (_descriptor61 = _babel_runtime_helpers_applyDecoratedDescriptor__WEBPACK_IMPORTED_MODULE_1___default()(_class139.prototype, "items", [_dec109], {
|
|
76838
76832
|
configurable: true,
|
|
76839
76833
|
enumerable: true,
|
|
76840
76834
|
writable: true,
|
|
76841
76835
|
initializer: null
|
|
76842
|
-
})),
|
|
76843
|
-
let FormulaFilterColumnExpression = (
|
|
76836
|
+
})), _class139)) || _class138);
|
|
76837
|
+
let FormulaFilterColumnExpression = (_dec110 = (0,_markupGenerator_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_5__.sugarNode)("filtercolumn", `Получить значения пиклиста по фильру`), _dec111 = (0,_markupGenerator_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_5__.singleChild)(), _dec110(_class141 = (_class142 = class FormulaFilterColumnExpression extends FormulaExpression {
|
|
76844
76838
|
constructor(...args) {
|
|
76845
76839
|
super(...args);
|
|
76846
|
-
_babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0___default()(this, "filterColumn",
|
|
76840
|
+
_babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0___default()(this, "filterColumn", _descriptor62, this);
|
|
76847
76841
|
}
|
|
76848
|
-
}, (
|
|
76842
|
+
}, (_descriptor62 = _babel_runtime_helpers_applyDecoratedDescriptor__WEBPACK_IMPORTED_MODULE_1___default()(_class142.prototype, "filterColumn", [_dec111], {
|
|
76849
76843
|
configurable: true,
|
|
76850
76844
|
enumerable: true,
|
|
76851
76845
|
writable: true,
|
|
76852
76846
|
initializer: null
|
|
76853
|
-
})),
|
|
76854
|
-
let FormulaFilterKeyExpression = (
|
|
76847
|
+
})), _class142)) || _class141);
|
|
76848
|
+
let FormulaFilterKeyExpression = (_dec112 = (0,_markupGenerator_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_5__.sugarNode)("filterkey", `Получить значения пиклиста по фильру`), _dec113 = (0,_markupGenerator_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_5__.singleChild)(), _dec112(_class144 = (_class145 = class FormulaFilterKeyExpression extends FormulaExpression {
|
|
76855
76849
|
constructor(...args) {
|
|
76856
76850
|
super(...args);
|
|
76857
|
-
_babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0___default()(this, "filterKey",
|
|
76851
|
+
_babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0___default()(this, "filterKey", _descriptor63, this);
|
|
76858
76852
|
}
|
|
76859
|
-
}, (
|
|
76853
|
+
}, (_descriptor63 = _babel_runtime_helpers_applyDecoratedDescriptor__WEBPACK_IMPORTED_MODULE_1___default()(_class145.prototype, "filterKey", [_dec113], {
|
|
76860
76854
|
configurable: true,
|
|
76861
76855
|
enumerable: true,
|
|
76862
76856
|
writable: true,
|
|
76863
76857
|
initializer: null
|
|
76864
|
-
})),
|
|
76865
|
-
let FormulaGetPicklistValuesExpression = (
|
|
76858
|
+
})), _class145)) || _class144);
|
|
76859
|
+
let FormulaGetPicklistValuesExpression = (_dec114 = (0,_markupGenerator_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_5__.sugarNode)("getpicklistvalues", `Получить значения пиклиста по фильру. Используется только для генерации FLANG. В калькуляторе не работает`), _dec115 = (0,_markupGenerator_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_5__.attr)("gId", _markupGenerator_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_5__.attrType.string.required, ``), _dec116 = (0,_markupGenerator_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_5__.singleChild)("filtercolumn", [FormulaFilterColumnExpression]), _dec117 = (0,_markupGenerator_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_5__.singleChild)("filterkey", [FormulaFilterKeyExpression]), _dec118 = (0,_markupGenerator_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_5__.attr)("resultColumn", _markupGenerator_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_5__.attrType.string.required, ``), _dec114(_class147 = (_class148 = class FormulaGetPicklistValuesExpression extends FormulaExpression {
|
|
76866
76860
|
constructor(...args) {
|
|
76867
76861
|
super(...args);
|
|
76868
|
-
_babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0___default()(this, "gId",
|
|
76869
|
-
_babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0___default()(this, "filterColumn",
|
|
76870
|
-
_babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0___default()(this, "filterKey",
|
|
76871
|
-
_babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0___default()(this, "resultColumn",
|
|
76862
|
+
_babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0___default()(this, "gId", _descriptor64, this);
|
|
76863
|
+
_babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0___default()(this, "filterColumn", _descriptor65, this);
|
|
76864
|
+
_babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0___default()(this, "filterKey", _descriptor66, this);
|
|
76865
|
+
_babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0___default()(this, "resultColumn", _descriptor67, this);
|
|
76872
76866
|
}
|
|
76873
76867
|
getLegacyExpressionTypeForFunctionName() {
|
|
76874
76868
|
return "getPicklistValues";
|
|
76875
76869
|
}
|
|
76876
|
-
}, (
|
|
76870
|
+
}, (_descriptor64 = _babel_runtime_helpers_applyDecoratedDescriptor__WEBPACK_IMPORTED_MODULE_1___default()(_class148.prototype, "gId", [_dec115], {
|
|
76877
76871
|
configurable: true,
|
|
76878
76872
|
enumerable: true,
|
|
76879
76873
|
writable: true,
|
|
76880
76874
|
initializer: null
|
|
76881
|
-
}),
|
|
76875
|
+
}), _descriptor65 = _babel_runtime_helpers_applyDecoratedDescriptor__WEBPACK_IMPORTED_MODULE_1___default()(_class148.prototype, "filterColumn", [_dec116], {
|
|
76882
76876
|
configurable: true,
|
|
76883
76877
|
enumerable: true,
|
|
76884
76878
|
writable: true,
|
|
76885
76879
|
initializer: null
|
|
76886
|
-
}),
|
|
76880
|
+
}), _descriptor66 = _babel_runtime_helpers_applyDecoratedDescriptor__WEBPACK_IMPORTED_MODULE_1___default()(_class148.prototype, "filterKey", [_dec117], {
|
|
76887
76881
|
configurable: true,
|
|
76888
76882
|
enumerable: true,
|
|
76889
76883
|
writable: true,
|
|
76890
76884
|
initializer: null
|
|
76891
|
-
}),
|
|
76885
|
+
}), _descriptor67 = _babel_runtime_helpers_applyDecoratedDescriptor__WEBPACK_IMPORTED_MODULE_1___default()(_class148.prototype, "resultColumn", [_dec118], {
|
|
76892
76886
|
configurable: true,
|
|
76893
76887
|
enumerable: true,
|
|
76894
76888
|
writable: true,
|
|
76895
76889
|
initializer: null
|
|
76896
|
-
})),
|
|
76897
|
-
let FormulaFirstOrDefaultExpression = (
|
|
76890
|
+
})), _class148)) || _class147);
|
|
76891
|
+
let FormulaFirstOrDefaultExpression = (_dec119 = (0,_markupGenerator_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_5__.sugarNode)("firstordefault", `Взять первый элемент массива. Используется только для генерации FLANG. В калькуляторе не работает`), _dec120 = (0,_markupGenerator_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_5__.singleChild)(), _dec119(_class150 = (_class151 = class FormulaFirstOrDefaultExpression extends FormulaExpression {
|
|
76898
76892
|
constructor(...args) {
|
|
76899
76893
|
super(...args);
|
|
76900
|
-
_babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0___default()(this, "expression",
|
|
76894
|
+
_babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0___default()(this, "expression", _descriptor68, this);
|
|
76901
76895
|
}
|
|
76902
|
-
}, (
|
|
76896
|
+
}, (_descriptor68 = _babel_runtime_helpers_applyDecoratedDescriptor__WEBPACK_IMPORTED_MODULE_1___default()(_class151.prototype, "expression", [_dec120], {
|
|
76903
76897
|
configurable: true,
|
|
76904
76898
|
enumerable: true,
|
|
76905
76899
|
writable: true,
|
|
76906
76900
|
initializer: null
|
|
76907
|
-
})),
|
|
76908
|
-
let
|
|
76901
|
+
})), _class151)) || _class150);
|
|
76902
|
+
let FormulaHashSetExpression = (_dec121 = (0,_markupGenerator_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_5__.sugarNode)("hashset", `Оставить только уникальные значения в массиве. Используется только для генерации FLANG. В калькуляторе не работает`), _dec122 = (0,_markupGenerator_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_5__.singleChild)(), _dec121(_class153 = (_class154 = class FormulaHashSetExpression extends FormulaExpression {
|
|
76903
|
+
constructor(...args) {
|
|
76904
|
+
super(...args);
|
|
76905
|
+
_babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0___default()(this, "expression", _descriptor69, this);
|
|
76906
|
+
}
|
|
76907
|
+
}, (_descriptor69 = _babel_runtime_helpers_applyDecoratedDescriptor__WEBPACK_IMPORTED_MODULE_1___default()(_class154.prototype, "expression", [_dec122], {
|
|
76908
|
+
configurable: true,
|
|
76909
|
+
enumerable: true,
|
|
76910
|
+
writable: true,
|
|
76911
|
+
initializer: null
|
|
76912
|
+
})), _class154)) || _class153);
|
|
76913
|
+
let FormulaExistsExpression = (_dec123 = (0,_markupGenerator_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_5__.sugarNode)("exists", `TODO`), _dec124 = (0,_markupGenerator_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_5__.attr)("select", _markupGenerator_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_5__.attrType.string.required, ``), _dec123(_class156 = (_class157 = class FormulaExistsExpression extends FormulaExpression {
|
|
76909
76914
|
constructor(...args) {
|
|
76910
76915
|
super(...args);
|
|
76911
|
-
_babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0___default()(this, "select",
|
|
76916
|
+
_babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0___default()(this, "select", _descriptor70, this);
|
|
76912
76917
|
}
|
|
76913
76918
|
getLegacyExpressionTypeForFunctionName() {
|
|
76914
76919
|
return "exists";
|
|
76915
76920
|
}
|
|
76916
|
-
}, (
|
|
76921
|
+
}, (_descriptor70 = _babel_runtime_helpers_applyDecoratedDescriptor__WEBPACK_IMPORTED_MODULE_1___default()(_class157.prototype, "select", [_dec124], {
|
|
76917
76922
|
configurable: true,
|
|
76918
76923
|
enumerable: true,
|
|
76919
76924
|
writable: true,
|
|
76920
76925
|
initializer: null
|
|
76921
|
-
})),
|
|
76922
|
-
let FormulaMultySumExpression = (
|
|
76926
|
+
})), _class157)) || _class156);
|
|
76927
|
+
let FormulaMultySumExpression = (_dec125 = (0,_markupGenerator_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_5__.sugarNode)("multysum", `TODO`), _dec126 = (0,_markupGenerator_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_5__.attr)("select", _markupGenerator_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_5__.attrType.string.required, ``), _dec125(_class159 = (_class160 = class FormulaMultySumExpression extends FormulaExpression {
|
|
76923
76928
|
constructor(...args) {
|
|
76924
76929
|
super(...args);
|
|
76925
|
-
_babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0___default()(this, "select",
|
|
76930
|
+
_babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0___default()(this, "select", _descriptor71, this);
|
|
76926
76931
|
}
|
|
76927
|
-
}, (
|
|
76932
|
+
}, (_descriptor71 = _babel_runtime_helpers_applyDecoratedDescriptor__WEBPACK_IMPORTED_MODULE_1___default()(_class160.prototype, "select", [_dec126], {
|
|
76928
76933
|
configurable: true,
|
|
76929
76934
|
enumerable: true,
|
|
76930
76935
|
writable: true,
|
|
76931
76936
|
initializer: null
|
|
76932
|
-
})),
|
|
76933
|
-
let FormulaCountExpression = (
|
|
76937
|
+
})), _class160)) || _class159);
|
|
76938
|
+
let FormulaCountExpression = (_dec127 = (0,_markupGenerator_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_5__.sugarNode)("count", `TODO`), _dec128 = (0,_markupGenerator_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_5__.attr)("select", _markupGenerator_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_5__.attrType.string.required, ``), _dec129 = (0,_markupGenerator_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_5__.attr)("withNullOrEmptyValues", _markupGenerator_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_5__.attrType.boolean, `брать в расчет незаполненные экземпляры`), _dec127(_class162 = (_class163 = class FormulaCountExpression extends FormulaExpression {
|
|
76934
76939
|
constructor(...args) {
|
|
76935
76940
|
super(...args);
|
|
76936
|
-
_babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0___default()(this, "select",
|
|
76937
|
-
_babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0___default()(this, "withNullOrEmptyValues",
|
|
76941
|
+
_babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0___default()(this, "select", _descriptor72, this);
|
|
76942
|
+
_babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0___default()(this, "withNullOrEmptyValues", _descriptor73, this);
|
|
76938
76943
|
}
|
|
76939
|
-
}, (
|
|
76944
|
+
}, (_descriptor72 = _babel_runtime_helpers_applyDecoratedDescriptor__WEBPACK_IMPORTED_MODULE_1___default()(_class163.prototype, "select", [_dec128], {
|
|
76940
76945
|
configurable: true,
|
|
76941
76946
|
enumerable: true,
|
|
76942
76947
|
writable: true,
|
|
76943
76948
|
initializer: null
|
|
76944
|
-
}),
|
|
76949
|
+
}), _descriptor73 = _babel_runtime_helpers_applyDecoratedDescriptor__WEBPACK_IMPORTED_MODULE_1___default()(_class163.prototype, "withNullOrEmptyValues", [_dec129], {
|
|
76945
76950
|
configurable: true,
|
|
76946
76951
|
enumerable: true,
|
|
76947
76952
|
writable: true,
|
|
76948
76953
|
initializer: null
|
|
76949
|
-
})),
|
|
76950
|
-
let FormulaConcatExpression = (
|
|
76954
|
+
})), _class163)) || _class162);
|
|
76955
|
+
let FormulaConcatExpression = (_dec130 = (0,_markupGenerator_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_5__.sugarNode)("concat", `Конкатенация строк`), _dec131 = (0,_markupGenerator_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_5__.children)(), _dec130(_class165 = (_class166 = class FormulaConcatExpression extends FormulaExpression {
|
|
76951
76956
|
constructor(...args) {
|
|
76952
76957
|
super(...args);
|
|
76953
|
-
_babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0___default()(this, "arguments",
|
|
76958
|
+
_babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0___default()(this, "arguments", _descriptor74, this);
|
|
76954
76959
|
}
|
|
76955
|
-
}, (
|
|
76960
|
+
}, (_descriptor74 = _babel_runtime_helpers_applyDecoratedDescriptor__WEBPACK_IMPORTED_MODULE_1___default()(_class166.prototype, "arguments", [_dec131], {
|
|
76956
76961
|
configurable: true,
|
|
76957
76962
|
enumerable: true,
|
|
76958
76963
|
writable: true,
|
|
76959
76964
|
initializer: null
|
|
76960
|
-
})),
|
|
76961
|
-
let FormulaNewLineExpression = (
|
|
76962
|
-
let Formula = (
|
|
76965
|
+
})), _class166)) || _class165);
|
|
76966
|
+
let FormulaNewLineExpression = (_dec132 = (0,_markupGenerator_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_5__.sugarNode)("newline", `Перевод на новую строку`), _dec132(_class168 = class FormulaNewLineExpression extends FormulaExpression {}) || _class168);
|
|
76967
|
+
let Formula = (_dec133 = (0,_markupGenerator_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_5__.sugarNode)("formula", `TODO`), _dec134 = (0,_markupGenerator_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_5__.attr)("match", _markupGenerator_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_5__.attrType.string.required, ``), _dec135 = (0,_markupGenerator_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_5__.attr)("target", _markupGenerator_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_5__.attrType.string.required, ``), _dec136 = (0,_markupGenerator_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_5__.singleChild)(), _dec133(_class169 = (_class170 = class Formula extends _markupGenerator_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_5__.SugarNodeBase {
|
|
76963
76968
|
constructor(...args) {
|
|
76964
76969
|
super(...args);
|
|
76965
|
-
_babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0___default()(this, "match",
|
|
76966
|
-
_babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0___default()(this, "target",
|
|
76967
|
-
_babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0___default()(this, "expression",
|
|
76970
|
+
_babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0___default()(this, "match", _descriptor75, this);
|
|
76971
|
+
_babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0___default()(this, "target", _descriptor76, this);
|
|
76972
|
+
_babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0___default()(this, "expression", _descriptor77, this);
|
|
76968
76973
|
}
|
|
76969
|
-
}, (
|
|
76974
|
+
}, (_descriptor75 = _babel_runtime_helpers_applyDecoratedDescriptor__WEBPACK_IMPORTED_MODULE_1___default()(_class170.prototype, "match", [_dec134], {
|
|
76970
76975
|
configurable: true,
|
|
76971
76976
|
enumerable: true,
|
|
76972
76977
|
writable: true,
|
|
76973
76978
|
initializer: null
|
|
76974
|
-
}),
|
|
76979
|
+
}), _descriptor76 = _babel_runtime_helpers_applyDecoratedDescriptor__WEBPACK_IMPORTED_MODULE_1___default()(_class170.prototype, "target", [_dec135], {
|
|
76975
76980
|
configurable: true,
|
|
76976
76981
|
enumerable: true,
|
|
76977
76982
|
writable: true,
|
|
76978
76983
|
initializer: null
|
|
76979
|
-
}),
|
|
76984
|
+
}), _descriptor77 = _babel_runtime_helpers_applyDecoratedDescriptor__WEBPACK_IMPORTED_MODULE_1___default()(_class170.prototype, "expression", [_dec136], {
|
|
76980
76985
|
configurable: true,
|
|
76981
76986
|
enumerable: true,
|
|
76982
76987
|
writable: true,
|
|
76983
76988
|
initializer: null
|
|
76984
|
-
})),
|
|
76985
|
-
let FormulaNoDepsNode = (
|
|
76989
|
+
})), _class170)) || _class169);
|
|
76990
|
+
let FormulaNoDepsNode = (_dec137 = (0,_markupGenerator_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_5__.sugarNode)("nodeps", `Замыкает цикл пробега по зависимостям на элементе, что исключает бесконечную зацикленность. Только для серверной нормализации`), _dec138 = (0,_markupGenerator_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_5__.singleChild)(), _dec137(_class172 = (_class173 = class FormulaNoDepsNode extends _markupGenerator_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_5__.SugarNodeBase {
|
|
76986
76991
|
constructor(...args) {
|
|
76987
76992
|
super(...args);
|
|
76988
|
-
_babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0___default()(this, "expression",
|
|
76993
|
+
_babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0___default()(this, "expression", _descriptor78, this);
|
|
76989
76994
|
}
|
|
76990
|
-
}, (
|
|
76995
|
+
}, (_descriptor78 = _babel_runtime_helpers_applyDecoratedDescriptor__WEBPACK_IMPORTED_MODULE_1___default()(_class173.prototype, "expression", [_dec138], {
|
|
76991
76996
|
configurable: true,
|
|
76992
76997
|
enumerable: true,
|
|
76993
76998
|
writable: true,
|
|
76994
76999
|
initializer: null
|
|
76995
|
-
})),
|
|
76996
|
-
let Formulas = (
|
|
77000
|
+
})), _class173)) || _class172);
|
|
77001
|
+
let Formulas = (_dec139 = (0,_markupGenerator_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_5__.sugarNode)("formulas", `TODO`), _dec140 = (0,_markupGenerator_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_5__.children)("formula", [Formula]), _dec139(_class175 = (_class176 = class Formulas extends _markupGenerator_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_5__.SugarNodeBase {
|
|
76997
77002
|
constructor(...args) {
|
|
76998
77003
|
super(...args);
|
|
76999
|
-
_babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0___default()(this, "items",
|
|
77004
|
+
_babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0___default()(this, "items", _descriptor79, this);
|
|
77000
77005
|
}
|
|
77001
|
-
}, (
|
|
77006
|
+
}, (_descriptor79 = _babel_runtime_helpers_applyDecoratedDescriptor__WEBPACK_IMPORTED_MODULE_1___default()(_class176.prototype, "items", [_dec140], {
|
|
77002
77007
|
configurable: true,
|
|
77003
77008
|
enumerable: true,
|
|
77004
77009
|
writable: true,
|
|
77005
77010
|
initializer: null
|
|
77006
|
-
})),
|
|
77007
|
-
let ConditionNode = (
|
|
77011
|
+
})), _class176)) || _class175);
|
|
77012
|
+
let ConditionNode = (_dec141 = (0,_markupGenerator_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_5__.sugarNode)("condition", `TODO`), _dec142 = (0,_markupGenerator_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_5__.attr)("match", _markupGenerator_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_5__.attrType.string.required, ``), _dec143 = (0,_markupGenerator_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_5__.attr)("target", _markupGenerator_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_5__.attrType.string.required, ``), _dec144 = (0,_markupGenerator_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_5__.attr)("description", _markupGenerator_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_5__.attrType.string.required, ``), _dec145 = (0,_markupGenerator_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_5__.attr)("errorLevel", _markupGenerator_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_5__.attrType["enum"]("Error", "Warning"), `Уровень ошибки может быть Error или Warning - параметр влияет на подсветку. Красную или Оранжевую соотвественно`), _dec146 = (0,_markupGenerator_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_5__.singleChild)(), _dec141(_class178 = (_class179 = class ConditionNode extends _markupGenerator_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_5__.SugarNodeBase {
|
|
77008
77013
|
constructor(...args) {
|
|
77009
77014
|
super(...args);
|
|
77010
|
-
_babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0___default()(this, "match",
|
|
77011
|
-
_babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0___default()(this, "target",
|
|
77012
|
-
_babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0___default()(this, "description",
|
|
77013
|
-
_babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0___default()(this, "errorLevel",
|
|
77014
|
-
_babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0___default()(this, "expression",
|
|
77015
|
+
_babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0___default()(this, "match", _descriptor80, this);
|
|
77016
|
+
_babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0___default()(this, "target", _descriptor81, this);
|
|
77017
|
+
_babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0___default()(this, "description", _descriptor82, this);
|
|
77018
|
+
_babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0___default()(this, "errorLevel", _descriptor83, this);
|
|
77019
|
+
_babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0___default()(this, "expression", _descriptor84, this);
|
|
77015
77020
|
}
|
|
77016
|
-
}, (
|
|
77021
|
+
}, (_descriptor80 = _babel_runtime_helpers_applyDecoratedDescriptor__WEBPACK_IMPORTED_MODULE_1___default()(_class179.prototype, "match", [_dec142], {
|
|
77017
77022
|
configurable: true,
|
|
77018
77023
|
enumerable: true,
|
|
77019
77024
|
writable: true,
|
|
77020
77025
|
initializer: null
|
|
77021
|
-
}),
|
|
77026
|
+
}), _descriptor81 = _babel_runtime_helpers_applyDecoratedDescriptor__WEBPACK_IMPORTED_MODULE_1___default()(_class179.prototype, "target", [_dec143], {
|
|
77022
77027
|
configurable: true,
|
|
77023
77028
|
enumerable: true,
|
|
77024
77029
|
writable: true,
|
|
77025
77030
|
initializer: null
|
|
77026
|
-
}),
|
|
77031
|
+
}), _descriptor82 = _babel_runtime_helpers_applyDecoratedDescriptor__WEBPACK_IMPORTED_MODULE_1___default()(_class179.prototype, "description", [_dec144], {
|
|
77027
77032
|
configurable: true,
|
|
77028
77033
|
enumerable: true,
|
|
77029
77034
|
writable: true,
|
|
77030
77035
|
initializer: null
|
|
77031
|
-
}),
|
|
77036
|
+
}), _descriptor83 = _babel_runtime_helpers_applyDecoratedDescriptor__WEBPACK_IMPORTED_MODULE_1___default()(_class179.prototype, "errorLevel", [_dec145], {
|
|
77032
77037
|
configurable: true,
|
|
77033
77038
|
enumerable: true,
|
|
77034
77039
|
writable: true,
|
|
77035
77040
|
initializer: null
|
|
77036
|
-
}),
|
|
77041
|
+
}), _descriptor84 = _babel_runtime_helpers_applyDecoratedDescriptor__WEBPACK_IMPORTED_MODULE_1___default()(_class179.prototype, "expression", [_dec146], {
|
|
77042
|
+
configurable: true,
|
|
77043
|
+
enumerable: true,
|
|
77044
|
+
writable: true,
|
|
77045
|
+
initializer: null
|
|
77046
|
+
})), _class179)) || _class178);
|
|
77047
|
+
let ConditionsNode = (_dec147 = (0,_markupGenerator_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_5__.sugarNode)("conditions", `TODO`), _dec148 = (0,_markupGenerator_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_5__.children)("condition", [ConditionNode]), _dec147(_class181 = (_class182 = class ConditionsNode extends _markupGenerator_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_5__.SugarNodeBase {
|
|
77048
|
+
constructor(...args) {
|
|
77049
|
+
super(...args);
|
|
77050
|
+
_babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0___default()(this, "items", _descriptor85, this);
|
|
77051
|
+
}
|
|
77052
|
+
}, (_descriptor85 = _babel_runtime_helpers_applyDecoratedDescriptor__WEBPACK_IMPORTED_MODULE_1___default()(_class182.prototype, "items", [_dec148], {
|
|
77037
77053
|
configurable: true,
|
|
77038
77054
|
enumerable: true,
|
|
77039
77055
|
writable: true,
|
|
77040
77056
|
initializer: null
|
|
77041
77057
|
})), _class182)) || _class181);
|
|
77042
|
-
let
|
|
77058
|
+
let MathContainer = (_dec149 = (0,_markupGenerator_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_5__.sugarNode)("math", `TODO`), _dec150 = (0,_markupGenerator_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_5__.singleChild)("formulas", [Formulas]), _dec151 = (0,_markupGenerator_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_5__.singleChild)("conditions", [ConditionsNode]), _dec149(_class184 = (_class185 = class MathContainer extends _markupGenerator_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_5__.SugarNodeBase {
|
|
77043
77059
|
constructor(...args) {
|
|
77044
77060
|
super(...args);
|
|
77045
|
-
_babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0___default()(this, "
|
|
77061
|
+
_babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0___default()(this, "formulas", _descriptor86, this);
|
|
77062
|
+
_babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0___default()(this, "conditions", _descriptor87, this);
|
|
77046
77063
|
}
|
|
77047
|
-
}, (
|
|
77064
|
+
}, (_descriptor86 = _babel_runtime_helpers_applyDecoratedDescriptor__WEBPACK_IMPORTED_MODULE_1___default()(_class185.prototype, "formulas", [_dec150], {
|
|
77065
|
+
configurable: true,
|
|
77066
|
+
enumerable: true,
|
|
77067
|
+
writable: true,
|
|
77068
|
+
initializer: null
|
|
77069
|
+
}), _descriptor87 = _babel_runtime_helpers_applyDecoratedDescriptor__WEBPACK_IMPORTED_MODULE_1___default()(_class185.prototype, "conditions", [_dec151], {
|
|
77048
77070
|
configurable: true,
|
|
77049
77071
|
enumerable: true,
|
|
77050
77072
|
writable: true,
|
|
77051
77073
|
initializer: null
|
|
77052
77074
|
})), _class185)) || _class184);
|
|
77053
|
-
let
|
|
77075
|
+
let FormulaGroupSumExpression = (_dec152 = (0,_markupGenerator_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_5__.sugarNode)("groupsum", `Вычисление суммы с группировкой в разных множественностях`), _dec153 = (0,_markupGenerator_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_5__.singleChild)("array", [FormulaArrayExpression]), _dec154 = (0,_markupGenerator_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_5__.attr)("sourceKeyPath", _markupGenerator_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_5__.attrType.string.required, `Путь откуда брать ключ группы в суммируемой множественности`), _dec155 = (0,_markupGenerator_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_5__.attr)("sourceValuePath", _markupGenerator_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_5__.attrType.string.required, `Путь в суммируемой множественности откуда берем значение для свёртки`), _dec152(_class187 = (_class188 = class FormulaGroupSumExpression extends FormulaExpression {
|
|
77054
77076
|
constructor(...args) {
|
|
77055
77077
|
super(...args);
|
|
77056
|
-
|
|
77057
|
-
|
|
77078
|
+
// @attr("targetKeyPath", attrType.string.required, `Путь откуда брать ключ группы в целевой множественности`)
|
|
77079
|
+
// public targetKeys!: string;
|
|
77080
|
+
_babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0___default()(this, "targetKeys", _descriptor88, this);
|
|
77081
|
+
_babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0___default()(this, "sourceKeyPath", _descriptor89, this);
|
|
77082
|
+
_babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0___default()(this, "sourceValuePath", _descriptor90, this);
|
|
77058
77083
|
}
|
|
77059
|
-
}, (
|
|
77084
|
+
}, (_descriptor88 = _babel_runtime_helpers_applyDecoratedDescriptor__WEBPACK_IMPORTED_MODULE_1___default()(_class188.prototype, "targetKeys", [_dec153], {
|
|
77060
77085
|
configurable: true,
|
|
77061
77086
|
enumerable: true,
|
|
77062
77087
|
writable: true,
|
|
77063
77088
|
initializer: null
|
|
77064
|
-
}),
|
|
77089
|
+
}), _descriptor89 = _babel_runtime_helpers_applyDecoratedDescriptor__WEBPACK_IMPORTED_MODULE_1___default()(_class188.prototype, "sourceKeyPath", [_dec154], {
|
|
77090
|
+
configurable: true,
|
|
77091
|
+
enumerable: true,
|
|
77092
|
+
writable: true,
|
|
77093
|
+
initializer: null
|
|
77094
|
+
}), _descriptor90 = _babel_runtime_helpers_applyDecoratedDescriptor__WEBPACK_IMPORTED_MODULE_1___default()(_class188.prototype, "sourceValuePath", [_dec155], {
|
|
77065
77095
|
configurable: true,
|
|
77066
77096
|
enumerable: true,
|
|
77067
77097
|
writable: true,
|
|
77068
77098
|
initializer: null
|
|
77069
77099
|
})), _class188)) || _class187);
|
|
77070
|
-
|
|
77100
|
+
let FormulaGroupCountExpression = (_dec156 = (0,_markupGenerator_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_5__.sugarNode)("groupcount", `Вычисление количества элементов по группам в разных множественностях`), _dec157 = (0,_markupGenerator_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_5__.singleChild)("array", [FormulaArrayExpression]), _dec158 = (0,_markupGenerator_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_5__.attr)("sourceKeyPath", _markupGenerator_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_5__.attrType.string.required, `Путь откуда брать ключ группы в суммируемой множественности`), _dec156(_class190 = (_class191 = class FormulaGroupCountExpression extends FormulaExpression {
|
|
77101
|
+
constructor(...args) {
|
|
77102
|
+
super(...args);
|
|
77103
|
+
_babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0___default()(this, "targetKeys", _descriptor91, this);
|
|
77104
|
+
_babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0___default()(this, "sourceKeyPath", _descriptor92, this);
|
|
77105
|
+
}
|
|
77106
|
+
}, (_descriptor91 = _babel_runtime_helpers_applyDecoratedDescriptor__WEBPACK_IMPORTED_MODULE_1___default()(_class191.prototype, "targetKeys", [_dec157], {
|
|
77107
|
+
configurable: true,
|
|
77108
|
+
enumerable: true,
|
|
77109
|
+
writable: true,
|
|
77110
|
+
initializer: null
|
|
77111
|
+
}), _descriptor92 = _babel_runtime_helpers_applyDecoratedDescriptor__WEBPACK_IMPORTED_MODULE_1___default()(_class191.prototype, "sourceKeyPath", [_dec158], {
|
|
77112
|
+
configurable: true,
|
|
77113
|
+
enumerable: true,
|
|
77114
|
+
writable: true,
|
|
77115
|
+
initializer: null
|
|
77116
|
+
})), _class191)) || _class190);
|
|
77117
|
+
const formulaExpressions = [FormulaSumExpression, FormulaArgumentExpression, FormulaConstExpression, FormulaMultySumExpression, FormulaRoundExpression, FormulaFloorExpression, FormulaAbsExpression, FormulaDivisionExpression, FormulaMinusExpression, FormulaMultiplyExpression, FormulaChooseExpression, FormulaEqExpression, FormulaGtExpression, FormulaLtExpression, FormulaGeExpression, FormulaLeExpression, FormulaAndExpression, FormulaOrExpression, FormulaNotExpression, FormulaRegexMatchExpression, FormulaSubstringExpression, FormulaXAbsExpression, FormulaExistsExpression, FormulaLengthExpression, FormulaWhenExpression, FormulaCountExpression, FormulaDateNowExpression, FormulaGetDaysInMonthExpression, FormulaGetDayExpression, FormulaGetMonthExpression, FormulaGetYearExpression, FormulaIsDateExpression, FormulaDifferenceInMonthsExpression, FormulaDifferenceInDaysExpression, FormulaAddDaysExpression, FormulaAddMonthsExpression, FormulaAddYearsExpression, FormulaDateToStringExpression, FormulaDateTimeExpression, FormulaIsSnilsExpression, FormulaIsInnExpression, FormulaIsValidAccountNumberExpression, FormulaIsValidMirCardNumberExpression, FormulaCastExpression, FormulaConcatExpression, FormulaGroupSumExpression, FormulaGroupCountExpression, FormulaNewLineExpression, FormulaOneOfExpression, FormulaGetPicklistValuesExpression, FormulaArrayExpression, FormulaFirstOrDefaultExpression, FormulaHashSetExpression, FormulaFilterColumnExpression, FormulaFilterKeyExpression, FormulaNoDepsNode];
|
|
77071
77118
|
|
|
77072
77119
|
/***/ }),
|
|
77073
77120
|
|
|
@@ -79203,23 +79250,22 @@ class KCXmlGeneratorBase {
|
|
|
79203
79250
|
return `expression.sum([${compiledExpressions}])`;
|
|
79204
79251
|
}
|
|
79205
79252
|
if (expression instanceof _AutoCalculationsGenerator_AutoCalculationsFromFormulas_KCXmlContract_Formula__WEBPACK_IMPORTED_MODULE_1__.FormulaGroupSumExpression) {
|
|
79206
|
-
const
|
|
79207
|
-
deps.push(new DependencyWithoutChecks(targetKeyPath));
|
|
79253
|
+
const targetKeys = this.compileExpression(prefix, targetFullPath, expression.targetKeys, deps);
|
|
79208
79254
|
const sourceKeyPath = this.getModelPath(prefix, expression.sourceKeyPath);
|
|
79209
|
-
const sourceKeyDeps = this.calculatedGroupSumDependencyForSourcePath(
|
|
79255
|
+
const sourceKeyDeps = this.calculatedGroupSumDependencyForSourcePath(targetFullPath, sourceKeyPath);
|
|
79210
79256
|
deps.push(new DependencyWithoutChecks(sourceKeyDeps.currentDepsPath, sourceKeyDeps.eachDepsPath));
|
|
79211
79257
|
const sourceValuePath = this.getModelPath(prefix, expression.sourceValuePath);
|
|
79212
|
-
const sourceValueDeps = this.calculatedGroupSumDependencyForSourcePath(
|
|
79258
|
+
const sourceValueDeps = this.calculatedGroupSumDependencyForSourcePath(targetFullPath, sourceValuePath);
|
|
79213
79259
|
deps.push(new DependencyWithoutChecks(sourceValueDeps.currentDepsPath, sourceValueDeps.eachDepsPath));
|
|
79214
|
-
return gcf(x => x.groupSum,
|
|
79260
|
+
return gcf(x => x.groupSum, `${targetKeys}, "${sourceKeyPath}", "${sourceValuePath}"`);
|
|
79215
79261
|
}
|
|
79216
79262
|
if (expression instanceof _AutoCalculationsGenerator_AutoCalculationsFromFormulas_KCXmlContract_Formula__WEBPACK_IMPORTED_MODULE_1__.FormulaGroupCountExpression) {
|
|
79217
|
-
const
|
|
79218
|
-
deps.push(new DependencyWithoutChecks(
|
|
79263
|
+
const targetKeys = this.compileExpression(prefix, targetFullPath, expression.targetKeys, deps);
|
|
79264
|
+
deps.push(new DependencyWithoutChecks(targetFullPath));
|
|
79219
79265
|
const sourceKeyPath = this.getModelPath(prefix, expression.sourceKeyPath);
|
|
79220
|
-
const sourceKeyDeps = this.calculatedGroupSumDependencyForSourcePath(
|
|
79266
|
+
const sourceKeyDeps = this.calculatedGroupSumDependencyForSourcePath(targetFullPath, sourceKeyPath);
|
|
79221
79267
|
deps.push(new DependencyWithoutChecks(sourceKeyDeps.currentDepsPath, sourceKeyDeps.eachDepsPath));
|
|
79222
|
-
return gcf(x => x.groupCount,
|
|
79268
|
+
return gcf(x => x.groupCount, `${targetKeys}, "${sourceKeyPath}"`);
|
|
79223
79269
|
}
|
|
79224
79270
|
if (expression instanceof _AutoCalculationsGenerator_AutoCalculationsFromFormulas_KCXmlContract_Formula__WEBPACK_IMPORTED_MODULE_1__.FormulaConcatExpression) {
|
|
79225
79271
|
(0,_Common_TypingUtils__WEBPACK_IMPORTED_MODULE_2__.ensureArrayLengthGreaterThenOrEqual)(expression.arguments, 2);
|
|
@@ -79242,9 +79288,13 @@ class KCXmlGeneratorBase {
|
|
|
79242
79288
|
if (expression instanceof _AutoCalculationsGenerator_AutoCalculationsFromFormulas_KCXmlContract_Formula__WEBPACK_IMPORTED_MODULE_1__.FormulaFirstOrDefaultExpression) {
|
|
79243
79289
|
return "null";
|
|
79244
79290
|
}
|
|
79245
|
-
if (expression instanceof _AutoCalculationsGenerator_AutoCalculationsFromFormulas_KCXmlContract_Formula__WEBPACK_IMPORTED_MODULE_1__.
|
|
79291
|
+
if (expression instanceof _AutoCalculationsGenerator_AutoCalculationsFromFormulas_KCXmlContract_Formula__WEBPACK_IMPORTED_MODULE_1__.FormulaHashSetExpression) {
|
|
79246
79292
|
return "null";
|
|
79247
79293
|
}
|
|
79294
|
+
if (expression instanceof _AutoCalculationsGenerator_AutoCalculationsFromFormulas_KCXmlContract_Formula__WEBPACK_IMPORTED_MODULE_1__.FormulaArrayExpression) {
|
|
79295
|
+
const itemsText = expression.items.map(x => this.compileExpression(prefix, targetFullPath, x, deps)).join(", ");
|
|
79296
|
+
return `JSON.stringify([${itemsText}])`;
|
|
79297
|
+
}
|
|
79248
79298
|
if (expression instanceof _AutoCalculationsGenerator_AutoCalculationsFromFormulas_KCXmlContract_Formula__WEBPACK_IMPORTED_MODULE_1__.FormulaNoDepsNode) {
|
|
79249
79299
|
return "null";
|
|
79250
79300
|
}
|
|
@@ -80745,6 +80795,10 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
80745
80795
|
/* harmony export */ "DateToStringExpression": () => (/* binding */ DateToStringExpression),
|
|
80746
80796
|
/* harmony export */ "GetPicklistValuesExpression": () => (/* binding */ GetPicklistValuesExpression),
|
|
80747
80797
|
/* harmony export */ "FirstOrDefaultExpression": () => (/* binding */ FirstOrDefaultExpression),
|
|
80798
|
+
/* harmony export */ "HashSetExpression": () => (/* binding */ HashSetExpression),
|
|
80799
|
+
/* harmony export */ "AddArrayExpression": () => (/* binding */ AddArrayExpression),
|
|
80800
|
+
/* harmony export */ "SerializeEnumerationExpression": () => (/* binding */ SerializeEnumerationExpression),
|
|
80801
|
+
/* harmony export */ "DeserializeEnumerationExpression": () => (/* binding */ DeserializeEnumerationExpression),
|
|
80748
80802
|
/* harmony export */ "ArrayExpression": () => (/* binding */ ArrayExpression),
|
|
80749
80803
|
/* harmony export */ "NullCoalesceExpression": () => (/* binding */ NullCoalesceExpression),
|
|
80750
80804
|
/* harmony export */ "OneOfExpression": () => (/* binding */ OneOfExpression),
|
|
@@ -81037,6 +81091,7 @@ BuildInTypeExpression.null = new BuildInTypeExpression("null");
|
|
|
81037
81091
|
BuildInTypeExpression.dateTime = new BuildInTypeExpression("dateTime");
|
|
81038
81092
|
BuildInTypeExpression.int = new BuildInTypeExpression("int");
|
|
81039
81093
|
BuildInTypeExpression.array = new BuildInTypeExpression("array");
|
|
81094
|
+
BuildInTypeExpression.hashSet = new BuildInTypeExpression("hashSet");
|
|
81040
81095
|
class ArgumentDeclarationExpression extends FLangExpression {
|
|
81041
81096
|
constructor(argumentName, typeExpression) {
|
|
81042
81097
|
super();
|
|
@@ -81541,7 +81596,7 @@ class AddSumExpression extends FLangDictExpression {
|
|
|
81541
81596
|
const dictName = this.argumentReference.convertToString();
|
|
81542
81597
|
const key = this.key.convertToString();
|
|
81543
81598
|
const value = this.valuePath.convertToString();
|
|
81544
|
-
return `
|
|
81599
|
+
return `addSumByKeys(${dictName}, ${key}, ${value})`;
|
|
81545
81600
|
}
|
|
81546
81601
|
}
|
|
81547
81602
|
class GetExpression extends FLangDecimalExpression {
|
|
@@ -81559,7 +81614,7 @@ class GetExpression extends FLangDecimalExpression {
|
|
|
81559
81614
|
convertToString() {
|
|
81560
81615
|
const dict = this.dictionaryExpression.convertToString();
|
|
81561
81616
|
const key = this.key.convertToString();
|
|
81562
|
-
return `
|
|
81617
|
+
return `getSumByKeys(${dict}, ${key})`;
|
|
81563
81618
|
}
|
|
81564
81619
|
}
|
|
81565
81620
|
class IntegerLiteralExpression extends ConstExpression {
|
|
@@ -81730,6 +81785,76 @@ class FirstOrDefaultExpression extends FLangExpression {
|
|
|
81730
81785
|
return `firstOrDefault(${this.expression.convertToString()})`;
|
|
81731
81786
|
}
|
|
81732
81787
|
}
|
|
81788
|
+
class HashSetExpression extends FLangExpression {
|
|
81789
|
+
constructor(expression) {
|
|
81790
|
+
super();
|
|
81791
|
+
this.expression = void 0;
|
|
81792
|
+
this.expression = expression;
|
|
81793
|
+
}
|
|
81794
|
+
getType() {
|
|
81795
|
+
return BuildInTypeExpression.hashSet;
|
|
81796
|
+
}
|
|
81797
|
+
*getChildNodes() {
|
|
81798
|
+
if (this.expression != undefined) {
|
|
81799
|
+
yield this.expression;
|
|
81800
|
+
}
|
|
81801
|
+
return [];
|
|
81802
|
+
}
|
|
81803
|
+
convertToString() {
|
|
81804
|
+
var _this$expression$conv, _this$expression;
|
|
81805
|
+
return `hashSet(${(_this$expression$conv = (_this$expression = this.expression) === null || _this$expression === void 0 ? void 0 : _this$expression.convertToString()) !== null && _this$expression$conv !== void 0 ? _this$expression$conv : ""})`;
|
|
81806
|
+
}
|
|
81807
|
+
}
|
|
81808
|
+
class AddArrayExpression extends FLangExpression {
|
|
81809
|
+
constructor(argumentReference, expression) {
|
|
81810
|
+
super();
|
|
81811
|
+
this.expression = void 0;
|
|
81812
|
+
this.argumentReference = void 0;
|
|
81813
|
+
this.expression = expression;
|
|
81814
|
+
this.argumentReference = argumentReference;
|
|
81815
|
+
}
|
|
81816
|
+
getType() {
|
|
81817
|
+
return BuildInTypeExpression.hashSet;
|
|
81818
|
+
}
|
|
81819
|
+
*getChildNodes() {
|
|
81820
|
+
yield this.expression;
|
|
81821
|
+
}
|
|
81822
|
+
convertToString() {
|
|
81823
|
+
return `addArray(${this.argumentReference.convertToString()}, ${this.expression.convertToString()})`;
|
|
81824
|
+
}
|
|
81825
|
+
}
|
|
81826
|
+
class SerializeEnumerationExpression extends FLangExpression {
|
|
81827
|
+
constructor(expression) {
|
|
81828
|
+
super();
|
|
81829
|
+
this.expression = void 0;
|
|
81830
|
+
this.expression = expression;
|
|
81831
|
+
}
|
|
81832
|
+
getType() {
|
|
81833
|
+
return BuildInTypeExpression.string;
|
|
81834
|
+
}
|
|
81835
|
+
*getChildNodes() {
|
|
81836
|
+
yield this.expression;
|
|
81837
|
+
}
|
|
81838
|
+
convertToString() {
|
|
81839
|
+
return `serializeEnumeration(${this.expression.convertToString()})`;
|
|
81840
|
+
}
|
|
81841
|
+
}
|
|
81842
|
+
class DeserializeEnumerationExpression extends FLangExpression {
|
|
81843
|
+
constructor(expression) {
|
|
81844
|
+
super();
|
|
81845
|
+
this.expression = void 0;
|
|
81846
|
+
this.expression = expression;
|
|
81847
|
+
}
|
|
81848
|
+
getType() {
|
|
81849
|
+
return BuildInTypeExpression.string;
|
|
81850
|
+
}
|
|
81851
|
+
*getChildNodes() {
|
|
81852
|
+
yield this.expression;
|
|
81853
|
+
}
|
|
81854
|
+
convertToString() {
|
|
81855
|
+
return `deserializeEnumeration(${this.expression.convertToString()})`;
|
|
81856
|
+
}
|
|
81857
|
+
}
|
|
81733
81858
|
class ArrayExpression extends FLangExpression {
|
|
81734
81859
|
constructor(items) {
|
|
81735
81860
|
super();
|
|
@@ -81940,11 +82065,14 @@ function tryExtractValueReferenceAsStringFromDecimal(expression) {
|
|
|
81940
82065
|
}
|
|
81941
82066
|
return expression;
|
|
81942
82067
|
}
|
|
81943
|
-
function castOperandToStringIfNeed(operandExpression,
|
|
82068
|
+
function castOperandToStringIfNeed(operandExpression, decimalFormat) {
|
|
81944
82069
|
if (operandExpression instanceof _FLangCodeDom__WEBPACK_IMPORTED_MODULE_2__.DateTimeExpression || operandExpression instanceof _FLangCodeDom__WEBPACK_IMPORTED_MODULE_2__.DateNowExpression) {
|
|
81945
82070
|
return new _FLangCodeDom__WEBPACK_IMPORTED_MODULE_2__.DateToStringExpression(operandExpression, new _FLangCodeDom__WEBPACK_IMPORTED_MODULE_2__.StringLiteralExpression("dd.MM.yyyy"));
|
|
81946
82071
|
}
|
|
81947
|
-
|
|
82072
|
+
if (operandExpression instanceof _FLangCodeDom__WEBPACK_IMPORTED_MODULE_2__.HashSetExpression) {
|
|
82073
|
+
return new _FLangCodeDom__WEBPACK_IMPORTED_MODULE_2__.SerializeEnumerationExpression(operandExpression);
|
|
82074
|
+
}
|
|
82075
|
+
return operandExpression.getType() != _FLangCodeDom__WEBPACK_IMPORTED_MODULE_2__.BuildInTypeExpression.string ? new _FLangCodeDom__WEBPACK_IMPORTED_MODULE_2__.CastExpression(operandExpression, _FLangCodeDom__WEBPACK_IMPORTED_MODULE_2__.BuildInTypeExpression.string, decimalFormat != undefined && operandExpression.getType() === _FLangCodeDom__WEBPACK_IMPORTED_MODULE_2__.BuildInTypeExpression.decimal ? new _FLangCodeDom__WEBPACK_IMPORTED_MODULE_2__.StringLiteralExpression(decimalFormat) : undefined) : operandExpression;
|
|
81948
82076
|
}
|
|
81949
82077
|
function castOperandToBoolIfNeed(operandExpression) {
|
|
81950
82078
|
return operandExpression.getType() != _FLangCodeDom__WEBPACK_IMPORTED_MODULE_2__.BuildInTypeExpression.bool ? new _FLangCodeDom__WEBPACK_IMPORTED_MODULE_2__.CastExpression(operandExpression, _FLangCodeDom__WEBPACK_IMPORTED_MODULE_2__.BuildInTypeExpression.bool) : operandExpression;
|
|
@@ -82405,13 +82533,38 @@ class FormulaExpressionToFlangExpressionConverter {
|
|
|
82405
82533
|
return new _FLang_FLangCodeDom__WEBPACK_IMPORTED_MODULE_8__.IsValidMirCardNumberExpression((0,_FLang_FlangUtils__WEBPACK_IMPORTED_MODULE_7__.castOperandToStringIfNeed)(arg));
|
|
82406
82534
|
}
|
|
82407
82535
|
if (expression instanceof _AutoCalculationsGenerator_AutoCalculationsFromFormulas_KCXmlContract_Formula__WEBPACK_IMPORTED_MODULE_0__.FormulaArrayExpression) {
|
|
82408
|
-
const items = expression.items.map(arg =>
|
|
82536
|
+
const items = expression.items.map(arg => {
|
|
82537
|
+
if (arg instanceof _AutoCalculationsGenerator_AutoCalculationsFromFormulas_KCXmlContract_Formula__WEBPACK_IMPORTED_MODULE_0__.FormulaArgumentExpression) {
|
|
82538
|
+
return this.compiledArgumentExpression(prefix, target, arg.select, "string", addPrecalculationRule);
|
|
82539
|
+
}
|
|
82540
|
+
return this.compileExpressionToFlangExpressionInternal(arg, prefix, target, addPrecalculationRule);
|
|
82541
|
+
});
|
|
82409
82542
|
return new _FLang_FLangCodeDom__WEBPACK_IMPORTED_MODULE_8__.ArrayExpression(items);
|
|
82410
82543
|
}
|
|
82411
82544
|
if (expression instanceof _AutoCalculationsGenerator_AutoCalculationsFromFormulas_KCXmlContract_Formula__WEBPACK_IMPORTED_MODULE_0__.FormulaFirstOrDefaultExpression) {
|
|
82412
82545
|
const firstOrDefaultExpression = this.compileExpressionToFlangExpressionInternal(expression.expression, prefix, target, addPrecalculationRule);
|
|
82413
82546
|
return new _FLang_FLangCodeDom__WEBPACK_IMPORTED_MODULE_8__.FirstOrDefaultExpression(firstOrDefaultExpression);
|
|
82414
82547
|
}
|
|
82548
|
+
if (expression instanceof _AutoCalculationsGenerator_AutoCalculationsFromFormulas_KCXmlContract_Formula__WEBPACK_IMPORTED_MODULE_0__.FormulaHashSetExpression) {
|
|
82549
|
+
if (expression.expression instanceof _AutoCalculationsGenerator_AutoCalculationsFromFormulas_KCXmlContract_Formula__WEBPACK_IMPORTED_MODULE_0__.FormulaArgumentExpression) {
|
|
82550
|
+
const adjustedSelectPath = this.preparePathAndAdjustMultiplicity(prefix, expression.expression.select);
|
|
82551
|
+
const splitInfo = (0,_Common_ModelPath_PathSplitHelper__WEBPACK_IMPORTED_MODULE_5__.getMatchedAndDifferentModelPaths)(target.path, adjustedSelectPath);
|
|
82552
|
+
const diffSelectPath = splitInfo.differentPath;
|
|
82553
|
+
const hasMultiplicity = diffSelectPath.getIterationRank() > 0;
|
|
82554
|
+
if (hasMultiplicity) {
|
|
82555
|
+
const sourceKeyParts = adjustedSelectPath.getPathPartsAsArray();
|
|
82556
|
+
const firstPart = splitInfo.matchedPath.toCurrentIteration();
|
|
82557
|
+
const firstPartLength = _Common_IterableUtils__WEBPACK_IMPORTED_MODULE_3__.IterUtils.count(firstPart.getPathParts());
|
|
82558
|
+
const secondPartParts = (0,_Common_ModelPath_ModelPath__WEBPACK_IMPORTED_MODULE_1__.createRelativeFromTokens)(sourceKeyParts.slice(firstPartLength)).getPathPartsAsArray();
|
|
82559
|
+
const lastStarIndexSecondPart = secondPartParts.lastIndexOf(_Common_ModelPath_ModelPath__WEBPACK_IMPORTED_MODULE_1__.PathTokens.each);
|
|
82560
|
+
const secondPartFinalParts = secondPartParts.slice(0, lastStarIndexSecondPart);
|
|
82561
|
+
const finalIterPath = (0,_Common_ModelPath_ModelPath__WEBPACK_IMPORTED_MODULE_1__.createAbsoluteFromTokens)([...firstPart.getPathParts(), ...secondPartFinalParts]).trimLastStarIfLastToken();
|
|
82562
|
+
return new _FLang_FLangCodeDom__WEBPACK_IMPORTED_MODULE_8__.ReduceCallExpression(finalIterPath, new _FLang_FLangCodeDom__WEBPACK_IMPORTED_MODULE_8__.AnonymousFunctionDeclarationExpression(_FLang_FLangCodeDom__WEBPACK_IMPORTED_MODULE_8__.BuildInTypeExpression.hashSet, [new _FLang_FLangCodeDom__WEBPACK_IMPORTED_MODULE_8__.ArgumentDeclarationExpression("result", _FLang_FLangCodeDom__WEBPACK_IMPORTED_MODULE_8__.BuildInTypeExpression.hashSet)], new _FLang_FLangCodeDom__WEBPACK_IMPORTED_MODULE_8__.AddArrayExpression(new _FLang_FLangCodeDom__WEBPACK_IMPORTED_MODULE_8__.ArgumentReferenceExpression("result"), new _FLang_FLangCodeDom__WEBPACK_IMPORTED_MODULE_8__.HashSetExpression(new _FLang_FLangCodeDom__WEBPACK_IMPORTED_MODULE_8__.ValueReferenceExpression(adjustedSelectPath.toCurrentIteration(), "value")))), new _FLang_FLangCodeDom__WEBPACK_IMPORTED_MODULE_8__.HashSetExpression());
|
|
82563
|
+
}
|
|
82564
|
+
}
|
|
82565
|
+
const hashSetExpression = this.compileExpressionToFlangExpressionInternal(expression.expression, prefix, target, addPrecalculationRule);
|
|
82566
|
+
return new _FLang_FLangCodeDom__WEBPACK_IMPORTED_MODULE_8__.HashSetExpression(hashSetExpression);
|
|
82567
|
+
}
|
|
82415
82568
|
if (expression instanceof _AutoCalculationsGenerator_AutoCalculationsFromFormulas_KCXmlContract_Formula__WEBPACK_IMPORTED_MODULE_0__.FormulaGetPicklistValuesExpression) {
|
|
82416
82569
|
const filterColumn = this.compileExpressionToFlangExpressionInternal(expression.filterColumn.filterColumn, prefix, target, addPrecalculationRule);
|
|
82417
82570
|
const filterKey = this.compileExpressionToFlangExpressionInternal(expression.filterKey.filterKey, prefix, target, addPrecalculationRule);
|
|
@@ -82452,7 +82605,7 @@ class FormulaExpressionToFlangExpressionConverter {
|
|
|
82452
82605
|
}
|
|
82453
82606
|
return new _FLang_FLangCodeDom__WEBPACK_IMPORTED_MODULE_8__.EqExpression((0,_FLang_FlangUtils__WEBPACK_IMPORTED_MODULE_7__.castOperandToStringIfNeed)(left), (0,_FLang_FlangUtils__WEBPACK_IMPORTED_MODULE_7__.castOperandToStringIfNeed)(right));
|
|
82454
82607
|
}
|
|
82455
|
-
compileGroupSumExpressionWithCustomValueExpression(prefix, target,
|
|
82608
|
+
compileGroupSumExpressionWithCustomValueExpression(prefix, target, targetKeys, sourceKeyPath, sourceValueExpression, addPrecalculationRule) {
|
|
82456
82609
|
const matchPaths = (0,_Common_ModelPath_PathSplitHelper__WEBPACK_IMPORTED_MODULE_5__.getMatchedAndDifferentModelPaths)(target.path, sourceKeyPath);
|
|
82457
82610
|
const sourceKeyParts = sourceKeyPath.getPathPartsAsArray();
|
|
82458
82611
|
const firstPart = matchPaths.matchedPath.toCurrentIteration();
|
|
@@ -82461,22 +82614,31 @@ class FormulaExpressionToFlangExpressionConverter {
|
|
|
82461
82614
|
const lastStarIndexSecondPart = secondPartParts.lastIndexOf(_Common_ModelPath_ModelPath__WEBPACK_IMPORTED_MODULE_1__.PathTokens.each);
|
|
82462
82615
|
const secondPartFinalParts = secondPartParts.slice(0, lastStarIndexSecondPart);
|
|
82463
82616
|
const finalIterPath = (0,_Common_ModelPath_ModelPath__WEBPACK_IMPORTED_MODULE_1__.createAbsoluteFromTokens)([...firstPart.getPathParts(), ...secondPartFinalParts]).trimLastStarIfLastToken();
|
|
82464
|
-
const
|
|
82465
|
-
const
|
|
82466
|
-
|
|
82617
|
+
const value = new _FLang_FLangCodeDom__WEBPACK_IMPORTED_MODULE_8__.ValueReferenceExpression(sourceKeyPath.toCurrentIteration(), "value");
|
|
82618
|
+
const keys = new _FLang_FLangCodeDom__WEBPACK_IMPORTED_MODULE_8__.NullCoalesceExpression(new _FLang_FLangCodeDom__WEBPACK_IMPORTED_MODULE_8__.DeserializeEnumerationExpression(value), new _FLang_FLangCodeDom__WEBPACK_IMPORTED_MODULE_8__.ArrayExpression([value]));
|
|
82619
|
+
const reduceExpression = new _FLang_FLangCodeDom__WEBPACK_IMPORTED_MODULE_8__.ReduceCallExpression(finalIterPath, new _FLang_FLangCodeDom__WEBPACK_IMPORTED_MODULE_8__.AnonymousFunctionDeclarationExpression(_FLang_FLangCodeDom__WEBPACK_IMPORTED_MODULE_8__.BuildInTypeExpression.dict, [new _FLang_FLangCodeDom__WEBPACK_IMPORTED_MODULE_8__.ArgumentDeclarationExpression("result", _FLang_FLangCodeDom__WEBPACK_IMPORTED_MODULE_8__.BuildInTypeExpression.dict)], new _FLang_FLangCodeDom__WEBPACK_IMPORTED_MODULE_8__.AddSumExpression(new _FLang_FLangCodeDom__WEBPACK_IMPORTED_MODULE_8__.ArgumentReferenceExpression("result"), keys, (0,_FLang_FlangUtils__WEBPACK_IMPORTED_MODULE_7__.castOperandToDecimalIfNeed)(sourceValueExpression))), new _FLang_FLangCodeDom__WEBPACK_IMPORTED_MODULE_8__.DictLiteralExpression());
|
|
82620
|
+
if (reduceExpression == undefined) {
|
|
82621
|
+
throw new _Common_Errors__WEBPACK_IMPORTED_MODULE_2__.NotSupportedError("Target and source must be in different collections! " + "\n" + `Target: ${target}` + "\n" + `SourceKey: ${sourceKeyPath}`);
|
|
82622
|
+
}
|
|
82623
|
+
if (targetKeys instanceof _FLang_FLangCodeDom__WEBPACK_IMPORTED_MODULE_8__.ArrayExpression) {
|
|
82624
|
+
const finalValueExpression = new _FLang_FLangCodeDom__WEBPACK_IMPORTED_MODULE_8__.GetExpression(reduceExpression, targetKeys !== null && targetKeys !== void 0 ? targetKeys : (0,_Common_TypingUtils__WEBPACK_IMPORTED_MODULE_6__.reject)());
|
|
82625
|
+
return finalValueExpression;
|
|
82626
|
+
} else {
|
|
82627
|
+
throw new _Common_Errors__WEBPACK_IMPORTED_MODULE_2__.NotSupportedError("Server normalization does not support non array first argument in groupSum operator");
|
|
82628
|
+
}
|
|
82467
82629
|
}
|
|
82468
82630
|
compileGroupSumExpression(prefix, target, expression, addPrecalculationRule) {
|
|
82469
|
-
const
|
|
82631
|
+
const targetKeys = this.compileExpressionToFlangExpressionInternal(expression.targetKeys, prefix, target, addPrecalculationRule);
|
|
82470
82632
|
const sourceKeyPath = this.preparePathAndAdjustMultiplicity(prefix, expression.sourceKeyPath);
|
|
82471
82633
|
const sourceValuePath = this.preparePathAndAdjustMultiplicity(prefix, expression.sourceValuePath);
|
|
82472
82634
|
const sourceValueExpression = new _FLang_FLangCodeDom__WEBPACK_IMPORTED_MODULE_8__.ValueReferenceExpression(sourceValuePath.toCurrentIteration(), "value");
|
|
82473
|
-
return this.compileGroupSumExpressionWithCustomValueExpression(prefix, target,
|
|
82635
|
+
return this.compileGroupSumExpressionWithCustomValueExpression(prefix, target, targetKeys, sourceKeyPath, sourceValueExpression, addPrecalculationRule);
|
|
82474
82636
|
}
|
|
82475
82637
|
compileGroupCountExpression(prefix, target, expression, addPrecalculationRule) {
|
|
82476
|
-
const
|
|
82638
|
+
const targetKeys = this.compileExpressionToFlangExpressionInternal(expression.targetKeys, prefix, target, addPrecalculationRule);
|
|
82477
82639
|
const sourceKeyPath = this.preparePathAndAdjustMultiplicity(prefix, expression.sourceKeyPath);
|
|
82478
82640
|
const sourceValueExpression = new _FLang_FLangCodeDom__WEBPACK_IMPORTED_MODULE_8__.DecimalLiteralExpression(1);
|
|
82479
|
-
return this.compileGroupSumExpressionWithCustomValueExpression(prefix, target,
|
|
82641
|
+
return this.compileGroupSumExpressionWithCustomValueExpression(prefix, target, targetKeys, sourceKeyPath, sourceValueExpression, addPrecalculationRule);
|
|
82480
82642
|
}
|
|
82481
82643
|
compiledArgumentExpression(prefix, target, selectPath, selectType, addPrecalculationRule, aggregationFunction = "Sum") {
|
|
82482
82644
|
const adjustedSelectPath = this.preparePathAndAdjustMultiplicity(prefix, selectPath);
|