@kontur.candy/generator 6.17.0 → 6.18.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 +758 -546
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -46775,6 +46775,12 @@ class KCLangRuntimeUtils {
|
|
|
46775
46775
|
}
|
|
46776
46776
|
return undefined;
|
|
46777
46777
|
}
|
|
46778
|
+
regexReplace(value, pattern, replacement, flags) {
|
|
46779
|
+
if (pattern == undefined || value == undefined || replacement == undefined || typeof value !== "string") {
|
|
46780
|
+
return undefined;
|
|
46781
|
+
}
|
|
46782
|
+
return value.replace(new RegExp(pattern, flags), replacement);
|
|
46783
|
+
}
|
|
46778
46784
|
oneof(values, value) {
|
|
46779
46785
|
if (values == undefined) {
|
|
46780
46786
|
return undefined;
|
|
@@ -58999,6 +59005,7 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
58999
59005
|
/* harmony export */ noDepsKCLangFunction: () => (/* binding */ noDepsKCLangFunction),
|
|
59000
59006
|
/* harmony export */ numeratorKCLangFunction: () => (/* binding */ numeratorKCLangFunction),
|
|
59001
59007
|
/* harmony export */ regexMatchKCLangFunction: () => (/* binding */ regexMatchKCLangFunction),
|
|
59008
|
+
/* harmony export */ regexReplaceKCLangFunction: () => (/* binding */ regexReplaceKCLangFunction),
|
|
59002
59009
|
/* harmony export */ roundKCLangFunction: () => (/* binding */ roundKCLangFunction),
|
|
59003
59010
|
/* harmony export */ substringKCLangFunction: () => (/* binding */ substringKCLangFunction),
|
|
59004
59011
|
/* harmony export */ sumKCLangFunction: () => (/* binding */ sumKCLangFunction),
|
|
@@ -59094,14 +59101,35 @@ const regexMatchKCLangFunction = params => {
|
|
|
59094
59101
|
pattern: pattern
|
|
59095
59102
|
};
|
|
59096
59103
|
};
|
|
59104
|
+
const regexReplaceKCLangFunction = params => {
|
|
59105
|
+
var _params$6, _params$7, _params$8, _params$9;
|
|
59106
|
+
const errors = Array.from(validateParams(params, 3, 1));
|
|
59107
|
+
if (errors.length > 0) {
|
|
59108
|
+
return new FunctionValidationErrorCollection(errors);
|
|
59109
|
+
}
|
|
59110
|
+
const expr = (_params$6 = params[0]) === null || _params$6 === void 0 ? void 0 : _params$6.value;
|
|
59111
|
+
const pattern = (_params$7 = params[1]) === null || _params$7 === void 0 || (_params$7 = _params$7.value) === null || _params$7 === void 0 || (_params$7 = _params$7.value) === null || _params$7 === void 0 ? void 0 : _params$7.value;
|
|
59112
|
+
const replacement = (_params$8 = params[2]) === null || _params$8 === void 0 || (_params$8 = _params$8.value) === null || _params$8 === void 0 || (_params$8 = _params$8.value) === null || _params$8 === void 0 ? void 0 : _params$8.value;
|
|
59113
|
+
const flags = (_params$9 = params[3]) === null || _params$9 === void 0 || (_params$9 = _params$9.value) === null || _params$9 === void 0 || (_params$9 = _params$9.value) === null || _params$9 === void 0 ? void 0 : _params$9.value;
|
|
59114
|
+
if (expr == undefined || pattern == undefined || replacement == undefined) {
|
|
59115
|
+
throw new Error("Unexpected error!");
|
|
59116
|
+
}
|
|
59117
|
+
return {
|
|
59118
|
+
type: "regexReplace",
|
|
59119
|
+
expression: expr,
|
|
59120
|
+
pattern: pattern,
|
|
59121
|
+
replacement: replacement,
|
|
59122
|
+
flags: flags
|
|
59123
|
+
};
|
|
59124
|
+
};
|
|
59097
59125
|
const roundKCLangFunction = params => {
|
|
59098
|
-
var _params$
|
|
59126
|
+
var _params$10, _params$11;
|
|
59099
59127
|
const errors = Array.from(validateParams(params, 1, 1));
|
|
59100
59128
|
if (errors.length > 0) {
|
|
59101
59129
|
return new FunctionValidationErrorCollection(errors);
|
|
59102
59130
|
}
|
|
59103
|
-
const expr = (_params$
|
|
59104
|
-
const fractional = Number.parseInt((_params$
|
|
59131
|
+
const expr = (_params$10 = params[0]) === null || _params$10 === void 0 ? void 0 : _params$10.value;
|
|
59132
|
+
const fractional = Number.parseInt((_params$11 = params[1]) === null || _params$11 === void 0 || (_params$11 = _params$11.value) === null || _params$11 === void 0 || (_params$11 = _params$11.value) === null || _params$11 === void 0 ? void 0 : _params$11.value, 10);
|
|
59105
59133
|
if (expr == undefined || fractional == undefined) {
|
|
59106
59134
|
throw new Error("Unexpected error!");
|
|
59107
59135
|
}
|
|
@@ -59112,12 +59140,12 @@ const roundKCLangFunction = params => {
|
|
|
59112
59140
|
};
|
|
59113
59141
|
};
|
|
59114
59142
|
const floorKCLangFunction = params => {
|
|
59115
|
-
var _params$
|
|
59143
|
+
var _params$12;
|
|
59116
59144
|
const errors = Array.from(validateParams(params, 1, 1));
|
|
59117
59145
|
if (errors.length > 0) {
|
|
59118
59146
|
return new FunctionValidationErrorCollection(errors);
|
|
59119
59147
|
}
|
|
59120
|
-
const expr = (_params$
|
|
59148
|
+
const expr = (_params$12 = params[0]) === null || _params$12 === void 0 ? void 0 : _params$12.value;
|
|
59121
59149
|
if (expr == undefined) {
|
|
59122
59150
|
throw new Error("Unexpected error!");
|
|
59123
59151
|
}
|
|
@@ -59127,12 +59155,12 @@ const floorKCLangFunction = params => {
|
|
|
59127
59155
|
};
|
|
59128
59156
|
};
|
|
59129
59157
|
const existsKCLangFunction = params => {
|
|
59130
|
-
var _params$
|
|
59158
|
+
var _params$13;
|
|
59131
59159
|
const errors = Array.from(validateParams(params, 1));
|
|
59132
59160
|
if (errors.length > 0) {
|
|
59133
59161
|
return new FunctionValidationErrorCollection(errors);
|
|
59134
59162
|
}
|
|
59135
|
-
const argumentExpr = (_params$
|
|
59163
|
+
const argumentExpr = (_params$13 = params[0]) === null || _params$13 === void 0 ? void 0 : _params$13.value;
|
|
59136
59164
|
if ((argumentExpr === null || argumentExpr === void 0 ? void 0 : argumentExpr.type) === "argument") {
|
|
59137
59165
|
const param = argumentExpr.select;
|
|
59138
59166
|
if (param == undefined) {
|
|
@@ -59146,48 +59174,48 @@ const existsKCLangFunction = params => {
|
|
|
59146
59174
|
throw new Error("Invalid parameters!");
|
|
59147
59175
|
};
|
|
59148
59176
|
const isSnilsKCLangFunction = params => {
|
|
59149
|
-
var _params$0$value, _params$
|
|
59177
|
+
var _params$0$value, _params$14;
|
|
59150
59178
|
const errors = Array.from(validateParams(params, 1));
|
|
59151
59179
|
if (errors.length > 0) {
|
|
59152
59180
|
return new FunctionValidationErrorCollection(errors);
|
|
59153
59181
|
}
|
|
59154
|
-
const argumentExpr = (_params$0$value = (_params$
|
|
59182
|
+
const argumentExpr = (_params$0$value = (_params$14 = params[0]) === null || _params$14 === void 0 ? void 0 : _params$14.value) !== null && _params$0$value !== void 0 ? _params$0$value : (0,_Common_TypingUtils__WEBPACK_IMPORTED_MODULE_0__.reject)();
|
|
59155
59183
|
return {
|
|
59156
59184
|
type: "isSnils",
|
|
59157
59185
|
expression: argumentExpr
|
|
59158
59186
|
};
|
|
59159
59187
|
};
|
|
59160
59188
|
const isRegNumSfrKCLangFunction = params => {
|
|
59161
|
-
var _params$0$value2, _params$
|
|
59189
|
+
var _params$0$value2, _params$15;
|
|
59162
59190
|
const errors = Array.from(validateParams(params, 1));
|
|
59163
59191
|
if (errors.length > 0) {
|
|
59164
59192
|
return new FunctionValidationErrorCollection(errors);
|
|
59165
59193
|
}
|
|
59166
|
-
const argumentExpr = (_params$0$value2 = (_params$
|
|
59194
|
+
const argumentExpr = (_params$0$value2 = (_params$15 = params[0]) === null || _params$15 === void 0 ? void 0 : _params$15.value) !== null && _params$0$value2 !== void 0 ? _params$0$value2 : (0,_Common_TypingUtils__WEBPACK_IMPORTED_MODULE_0__.reject)();
|
|
59167
59195
|
return {
|
|
59168
59196
|
type: "isRegNumSfr",
|
|
59169
59197
|
expression: argumentExpr
|
|
59170
59198
|
};
|
|
59171
59199
|
};
|
|
59172
59200
|
const isInnKCLangFunction = params => {
|
|
59173
|
-
var _params$0$value3, _params$
|
|
59201
|
+
var _params$0$value3, _params$16;
|
|
59174
59202
|
const errors = Array.from(validateParams(params, 1));
|
|
59175
59203
|
if (errors.length > 0) {
|
|
59176
59204
|
return new FunctionValidationErrorCollection(errors);
|
|
59177
59205
|
}
|
|
59178
|
-
const argumentExpr = (_params$0$value3 = (_params$
|
|
59206
|
+
const argumentExpr = (_params$0$value3 = (_params$16 = params[0]) === null || _params$16 === void 0 ? void 0 : _params$16.value) !== null && _params$0$value3 !== void 0 ? _params$0$value3 : (0,_Common_TypingUtils__WEBPACK_IMPORTED_MODULE_0__.reject)();
|
|
59179
59207
|
return {
|
|
59180
59208
|
type: "isInn",
|
|
59181
59209
|
expression: argumentExpr
|
|
59182
59210
|
};
|
|
59183
59211
|
};
|
|
59184
59212
|
const isOgrnKCLangFunction = params => {
|
|
59185
|
-
var _params$0$value4, _params$
|
|
59213
|
+
var _params$0$value4, _params$17;
|
|
59186
59214
|
const errors = Array.from(validateParams(params, 1));
|
|
59187
59215
|
if (errors.length > 0) {
|
|
59188
59216
|
return new FunctionValidationErrorCollection(errors);
|
|
59189
59217
|
}
|
|
59190
|
-
const argumentExpr = (_params$0$value4 = (_params$
|
|
59218
|
+
const argumentExpr = (_params$0$value4 = (_params$17 = params[0]) === null || _params$17 === void 0 ? void 0 : _params$17.value) !== null && _params$0$value4 !== void 0 ? _params$0$value4 : (0,_Common_TypingUtils__WEBPACK_IMPORTED_MODULE_0__.reject)();
|
|
59191
59219
|
return {
|
|
59192
59220
|
type: "isOgrn",
|
|
59193
59221
|
expression: argumentExpr
|
|
@@ -59204,12 +59232,12 @@ const arrayKCLangFunction = params => {
|
|
|
59204
59232
|
};
|
|
59205
59233
|
};
|
|
59206
59234
|
const firstOrDefaultKCLangFunction = params => {
|
|
59207
|
-
var _params$
|
|
59235
|
+
var _params$18;
|
|
59208
59236
|
const errors = Array.from(validateParams(params, 1));
|
|
59209
59237
|
if (errors.length > 0) {
|
|
59210
59238
|
return new FunctionValidationErrorCollection(errors);
|
|
59211
59239
|
}
|
|
59212
|
-
const expr = (_params$
|
|
59240
|
+
const expr = (_params$18 = params[0]) === null || _params$18 === void 0 ? void 0 : _params$18.value;
|
|
59213
59241
|
if (expr === undefined) {
|
|
59214
59242
|
throw new Error("first param in firstOrDefault must be defined");
|
|
59215
59243
|
}
|
|
@@ -59219,12 +59247,12 @@ const firstOrDefaultKCLangFunction = params => {
|
|
|
59219
59247
|
};
|
|
59220
59248
|
};
|
|
59221
59249
|
const hashSetKCLangFunction = params => {
|
|
59222
|
-
var _params$
|
|
59250
|
+
var _params$19;
|
|
59223
59251
|
const errors = Array.from(validateParams(params, 1));
|
|
59224
59252
|
if (errors.length > 0) {
|
|
59225
59253
|
return new FunctionValidationErrorCollection(errors);
|
|
59226
59254
|
}
|
|
59227
|
-
const expr = (_params$
|
|
59255
|
+
const expr = (_params$19 = params[0]) === null || _params$19 === void 0 ? void 0 : _params$19.value;
|
|
59228
59256
|
if (expr === undefined) {
|
|
59229
59257
|
throw new Error("Parameter in hashSet() must be defined");
|
|
59230
59258
|
}
|
|
@@ -59234,12 +59262,12 @@ const hashSetKCLangFunction = params => {
|
|
|
59234
59262
|
};
|
|
59235
59263
|
};
|
|
59236
59264
|
const noDepsKCLangFunction = params => {
|
|
59237
|
-
var _params$
|
|
59265
|
+
var _params$20;
|
|
59238
59266
|
const errors = Array.from(validateParams(params, 1));
|
|
59239
59267
|
if (errors.length > 0) {
|
|
59240
59268
|
return new FunctionValidationErrorCollection(errors);
|
|
59241
59269
|
}
|
|
59242
|
-
const expr = (_params$
|
|
59270
|
+
const expr = (_params$20 = params[0]) === null || _params$20 === void 0 ? void 0 : _params$20.value;
|
|
59243
59271
|
if (expr === undefined) {
|
|
59244
59272
|
throw new Error("first param in nodeps must be defined");
|
|
59245
59273
|
}
|
|
@@ -59249,15 +59277,15 @@ const noDepsKCLangFunction = params => {
|
|
|
59249
59277
|
};
|
|
59250
59278
|
};
|
|
59251
59279
|
const getPicklistValuesKCLangFunction = params => {
|
|
59252
|
-
var _params$
|
|
59280
|
+
var _params$21, _params$22, _params$23, _params$24;
|
|
59253
59281
|
const errors = Array.from(validateParams(params, 4));
|
|
59254
59282
|
if (errors.length > 0) {
|
|
59255
59283
|
return new FunctionValidationErrorCollection(errors);
|
|
59256
59284
|
}
|
|
59257
|
-
const gId = (_params$
|
|
59258
|
-
const filterColumnParam = (_params$
|
|
59259
|
-
const filterKeyParam = (_params$
|
|
59260
|
-
const resultColumn = (_params$
|
|
59285
|
+
const gId = (_params$21 = params[0]) === null || _params$21 === void 0 ? void 0 : _params$21.value;
|
|
59286
|
+
const filterColumnParam = (_params$22 = params[1]) === null || _params$22 === void 0 ? void 0 : _params$22.value;
|
|
59287
|
+
const filterKeyParam = (_params$23 = params[2]) === null || _params$23 === void 0 ? void 0 : _params$23.value;
|
|
59288
|
+
const resultColumn = (_params$24 = params[3]) === null || _params$24 === void 0 ? void 0 : _params$24.value;
|
|
59261
59289
|
if ((filterColumnParam === null || filterColumnParam === void 0 ? void 0 : filterColumnParam.type) !== "array") {
|
|
59262
59290
|
throw new Error("second param in getPicklistValues must be wrapped in array( ... )");
|
|
59263
59291
|
}
|
|
@@ -59279,25 +59307,25 @@ const getPicklistValuesKCLangFunction = params => {
|
|
|
59279
59307
|
};
|
|
59280
59308
|
};
|
|
59281
59309
|
const isValidMirCardNumberKCLangFunction = params => {
|
|
59282
|
-
var _params$0$value5, _params$
|
|
59310
|
+
var _params$0$value5, _params$25;
|
|
59283
59311
|
const errors = Array.from(validateParams(params, 1));
|
|
59284
59312
|
if (errors.length > 0) {
|
|
59285
59313
|
return new FunctionValidationErrorCollection(errors);
|
|
59286
59314
|
}
|
|
59287
|
-
const argumentExpr = (_params$0$value5 = (_params$
|
|
59315
|
+
const argumentExpr = (_params$0$value5 = (_params$25 = params[0]) === null || _params$25 === void 0 ? void 0 : _params$25.value) !== null && _params$0$value5 !== void 0 ? _params$0$value5 : (0,_Common_TypingUtils__WEBPACK_IMPORTED_MODULE_0__.reject)();
|
|
59288
59316
|
return {
|
|
59289
59317
|
type: "isValidMirCardNumber",
|
|
59290
59318
|
expression: argumentExpr
|
|
59291
59319
|
};
|
|
59292
59320
|
};
|
|
59293
59321
|
const isValidAccountNumberKCLangFunction = params => {
|
|
59294
|
-
var _params$0$value6, _params$
|
|
59322
|
+
var _params$0$value6, _params$26, _params$1$value, _params$27;
|
|
59295
59323
|
const errors = Array.from(validateParams(params, 2));
|
|
59296
59324
|
if (errors.length > 0) {
|
|
59297
59325
|
return new FunctionValidationErrorCollection(errors);
|
|
59298
59326
|
}
|
|
59299
|
-
const bik = (_params$0$value6 = (_params$
|
|
59300
|
-
const account = (_params$1$value = (_params$
|
|
59327
|
+
const bik = (_params$0$value6 = (_params$26 = params[0]) === null || _params$26 === void 0 ? void 0 : _params$26.value) !== null && _params$0$value6 !== void 0 ? _params$0$value6 : (0,_Common_TypingUtils__WEBPACK_IMPORTED_MODULE_0__.reject)();
|
|
59328
|
+
const account = (_params$1$value = (_params$27 = params[1]) === null || _params$27 === void 0 ? void 0 : _params$27.value) !== null && _params$1$value !== void 0 ? _params$1$value : (0,_Common_TypingUtils__WEBPACK_IMPORTED_MODULE_0__.reject)();
|
|
59301
59329
|
return {
|
|
59302
59330
|
type: "isValidAccountNumber",
|
|
59303
59331
|
bik: bik,
|
|
@@ -59305,12 +59333,12 @@ const isValidAccountNumberKCLangFunction = params => {
|
|
|
59305
59333
|
};
|
|
59306
59334
|
};
|
|
59307
59335
|
const countKCLangFunction = params => {
|
|
59308
|
-
var _params$
|
|
59336
|
+
var _params$28;
|
|
59309
59337
|
const errors = Array.from(validateParams(params, 1));
|
|
59310
59338
|
if (errors.length > 0) {
|
|
59311
59339
|
return new FunctionValidationErrorCollection(errors);
|
|
59312
59340
|
}
|
|
59313
|
-
const expr = (_params$
|
|
59341
|
+
const expr = (_params$28 = params[0]) === null || _params$28 === void 0 ? void 0 : _params$28.value;
|
|
59314
59342
|
if ((expr === null || expr === void 0 ? void 0 : expr.type) === "argument") {
|
|
59315
59343
|
const param = expr.select;
|
|
59316
59344
|
if (param == undefined) {
|
|
@@ -59324,12 +59352,12 @@ const countKCLangFunction = params => {
|
|
|
59324
59352
|
throw new Error("Invalid parameters!");
|
|
59325
59353
|
};
|
|
59326
59354
|
const instanceCountKCLangFunction = params => {
|
|
59327
|
-
var _params$
|
|
59355
|
+
var _params$29;
|
|
59328
59356
|
const errors = Array.from(validateParams(params, 1));
|
|
59329
59357
|
if (errors.length > 0) {
|
|
59330
59358
|
return new FunctionValidationErrorCollection(errors);
|
|
59331
59359
|
}
|
|
59332
|
-
const expr = (_params$
|
|
59360
|
+
const expr = (_params$29 = params[0]) === null || _params$29 === void 0 ? void 0 : _params$29.value;
|
|
59333
59361
|
if ((expr === null || expr === void 0 ? void 0 : expr.type) === "argument") {
|
|
59334
59362
|
const param = expr.select;
|
|
59335
59363
|
if (param == undefined) {
|
|
@@ -59343,12 +59371,12 @@ const instanceCountKCLangFunction = params => {
|
|
|
59343
59371
|
throw new Error("Invalid parameters!");
|
|
59344
59372
|
};
|
|
59345
59373
|
const isEqualToAutoCalculatedFunction = params => {
|
|
59346
|
-
var _params$
|
|
59374
|
+
var _params$30;
|
|
59347
59375
|
const errors = Array.from(validateParams(params, 1));
|
|
59348
59376
|
if (errors.length > 0) {
|
|
59349
59377
|
return new FunctionValidationErrorCollection(errors);
|
|
59350
59378
|
}
|
|
59351
|
-
const argumentExpr = (_params$
|
|
59379
|
+
const argumentExpr = (_params$30 = params[0]) === null || _params$30 === void 0 ? void 0 : _params$30.value;
|
|
59352
59380
|
const selectPath = (argumentExpr === null || argumentExpr === void 0 ? void 0 : argumentExpr.type) === "argument" ? argumentExpr.select : (argumentExpr === null || argumentExpr === void 0 ? void 0 : argumentExpr.type) === "cast" && argumentExpr.expression.type == "argument" ? argumentExpr.expression.select : (0,_Common_TypingUtils__WEBPACK_IMPORTED_MODULE_0__.reject)("isEqualToAutoCalculated argument must be plain path");
|
|
59353
59381
|
const targetType = (argumentExpr === null || argumentExpr === void 0 ? void 0 : argumentExpr.type) === "cast" ? argumentExpr.targetType : "decimal";
|
|
59354
59382
|
return {
|
|
@@ -59358,12 +59386,12 @@ const isEqualToAutoCalculatedFunction = params => {
|
|
|
59358
59386
|
};
|
|
59359
59387
|
};
|
|
59360
59388
|
const sumKCLangFunction = params => {
|
|
59361
|
-
var _params$
|
|
59389
|
+
var _params$31;
|
|
59362
59390
|
const errors = Array.from(validateParams(params, 1));
|
|
59363
59391
|
if (errors.length > 0) {
|
|
59364
59392
|
return new FunctionValidationErrorCollection(errors);
|
|
59365
59393
|
}
|
|
59366
|
-
const argumentExpr = (_params$
|
|
59394
|
+
const argumentExpr = (_params$31 = params[0]) === null || _params$31 === void 0 ? void 0 : _params$31.value;
|
|
59367
59395
|
if ((argumentExpr === null || argumentExpr === void 0 ? void 0 : argumentExpr.type) === "argument") {
|
|
59368
59396
|
const param = argumentExpr.select;
|
|
59369
59397
|
if (param == undefined) {
|
|
@@ -59387,14 +59415,14 @@ const sumKCLangFunction = params => {
|
|
|
59387
59415
|
throw new Error("Invalid parameters!");
|
|
59388
59416
|
};
|
|
59389
59417
|
const substringKCLangFunction = params => {
|
|
59390
|
-
var _params$
|
|
59418
|
+
var _params$32, _params$33, _params$34;
|
|
59391
59419
|
const errors = Array.from(validateParams(params, 2, 1));
|
|
59392
59420
|
if (errors.length > 0) {
|
|
59393
59421
|
return new FunctionValidationErrorCollection(errors);
|
|
59394
59422
|
}
|
|
59395
|
-
const exprParam = (_params$
|
|
59396
|
-
const startParam = (_params$
|
|
59397
|
-
const lengthParam = (_params$
|
|
59423
|
+
const exprParam = (_params$32 = params[0]) === null || _params$32 === void 0 ? void 0 : _params$32.value;
|
|
59424
|
+
const startParam = (_params$33 = params[1]) === null || _params$33 === void 0 ? void 0 : _params$33.value;
|
|
59425
|
+
const lengthParam = (_params$34 = params[2]) === null || _params$34 === void 0 ? void 0 : _params$34.value;
|
|
59398
59426
|
if (exprParam == undefined) {
|
|
59399
59427
|
throw new Error("Unexpected error!");
|
|
59400
59428
|
}
|
|
@@ -59412,14 +59440,14 @@ const substringKCLangFunction = params => {
|
|
|
59412
59440
|
};
|
|
59413
59441
|
};
|
|
59414
59442
|
const groupSumKCLangFunction = params => {
|
|
59415
|
-
var _params$
|
|
59443
|
+
var _params$35, _params$36, _params$37;
|
|
59416
59444
|
const errors = Array.from(validateParams(params, 3));
|
|
59417
59445
|
if (errors.length > 0) {
|
|
59418
59446
|
return new FunctionValidationErrorCollection(errors);
|
|
59419
59447
|
}
|
|
59420
|
-
const targetKeysParam = (_params$
|
|
59421
|
-
const sourceKeyPathParam = (_params$
|
|
59422
|
-
const sourceValuePathParam = (_params$
|
|
59448
|
+
const targetKeysParam = (_params$35 = params[0]) === null || _params$35 === void 0 ? void 0 : _params$35.value;
|
|
59449
|
+
const sourceKeyPathParam = (_params$36 = params[1]) === null || _params$36 === void 0 ? void 0 : _params$36.value;
|
|
59450
|
+
const sourceValuePathParam = (_params$37 = params[2]) === null || _params$37 === void 0 ? void 0 : _params$37.value;
|
|
59423
59451
|
if (targetKeysParam == undefined || (sourceKeyPathParam === null || sourceKeyPathParam === void 0 ? void 0 : sourceKeyPathParam.type) !== "argument" || (sourceValuePathParam === null || sourceValuePathParam === void 0 ? void 0 : sourceValuePathParam.type) !== "argument") {
|
|
59424
59452
|
const argumentsValidationError = new ArgumentValidationError("Expected 3 paths as arguments: targetKeys, sourceKeyPath, sourceValuePath");
|
|
59425
59453
|
return new FunctionValidationErrorCollection([argumentsValidationError]);
|
|
@@ -59436,13 +59464,13 @@ const groupSumKCLangFunction = params => {
|
|
|
59436
59464
|
};
|
|
59437
59465
|
};
|
|
59438
59466
|
const groupCountKCLangFunction = params => {
|
|
59439
|
-
var _params$
|
|
59467
|
+
var _params$38, _params$39;
|
|
59440
59468
|
const errors = Array.from(validateParams(params, 2));
|
|
59441
59469
|
if (errors.length > 0) {
|
|
59442
59470
|
return new FunctionValidationErrorCollection(errors);
|
|
59443
59471
|
}
|
|
59444
|
-
const targetKeysParam = (_params$
|
|
59445
|
-
const sourceKeyPathParam = (_params$
|
|
59472
|
+
const targetKeysParam = (_params$38 = params[0]) === null || _params$38 === void 0 ? void 0 : _params$38.value;
|
|
59473
|
+
const sourceKeyPathParam = (_params$39 = params[1]) === null || _params$39 === void 0 ? void 0 : _params$39.value;
|
|
59446
59474
|
if (targetKeysParam == undefined || (sourceKeyPathParam === null || sourceKeyPathParam === void 0 ? void 0 : sourceKeyPathParam.type) !== "argument") {
|
|
59447
59475
|
const argumentsValidationError = new ArgumentValidationError("Expected 2 paths as arguments: targetKeyPath, sourceKeyPath");
|
|
59448
59476
|
return new FunctionValidationErrorCollection([argumentsValidationError]);
|
|
@@ -59486,12 +59514,12 @@ const dateNowKCLangFunction = params => {
|
|
|
59486
59514
|
};
|
|
59487
59515
|
};
|
|
59488
59516
|
const getDaysInMonthKCLangFunction = params => {
|
|
59489
|
-
var _params$
|
|
59517
|
+
var _params$40;
|
|
59490
59518
|
const errors = Array.from(validateParams(params, 1));
|
|
59491
59519
|
if (errors.length > 0) {
|
|
59492
59520
|
return new FunctionValidationErrorCollection(errors);
|
|
59493
59521
|
}
|
|
59494
|
-
const param = (_params$
|
|
59522
|
+
const param = (_params$40 = params[0]) === null || _params$40 === void 0 ? void 0 : _params$40.value;
|
|
59495
59523
|
if (param == undefined) {
|
|
59496
59524
|
throw new Error("Unexpected error!");
|
|
59497
59525
|
}
|
|
@@ -59501,12 +59529,12 @@ const getDaysInMonthKCLangFunction = params => {
|
|
|
59501
59529
|
};
|
|
59502
59530
|
};
|
|
59503
59531
|
const getDayKCLangFunction = params => {
|
|
59504
|
-
var _params$
|
|
59532
|
+
var _params$41;
|
|
59505
59533
|
const errors = Array.from(validateParams(params, 1));
|
|
59506
59534
|
if (errors.length > 0) {
|
|
59507
59535
|
return new FunctionValidationErrorCollection(errors);
|
|
59508
59536
|
}
|
|
59509
|
-
const param = (_params$
|
|
59537
|
+
const param = (_params$41 = params[0]) === null || _params$41 === void 0 ? void 0 : _params$41.value;
|
|
59510
59538
|
if (param == undefined) {
|
|
59511
59539
|
throw new Error("Unexpected error!");
|
|
59512
59540
|
}
|
|
@@ -59516,12 +59544,12 @@ const getDayKCLangFunction = params => {
|
|
|
59516
59544
|
};
|
|
59517
59545
|
};
|
|
59518
59546
|
const getMonthKCLangFunction = params => {
|
|
59519
|
-
var _params$
|
|
59547
|
+
var _params$42;
|
|
59520
59548
|
const errors = Array.from(validateParams(params, 1));
|
|
59521
59549
|
if (errors.length > 0) {
|
|
59522
59550
|
return new FunctionValidationErrorCollection(errors);
|
|
59523
59551
|
}
|
|
59524
|
-
const param = (_params$
|
|
59552
|
+
const param = (_params$42 = params[0]) === null || _params$42 === void 0 ? void 0 : _params$42.value;
|
|
59525
59553
|
if (param == undefined) {
|
|
59526
59554
|
throw new Error("Unexpected error!");
|
|
59527
59555
|
}
|
|
@@ -59531,12 +59559,12 @@ const getMonthKCLangFunction = params => {
|
|
|
59531
59559
|
};
|
|
59532
59560
|
};
|
|
59533
59561
|
const getYearKCLangFunction = params => {
|
|
59534
|
-
var _params$
|
|
59562
|
+
var _params$43;
|
|
59535
59563
|
const errors = Array.from(validateParams(params, 1));
|
|
59536
59564
|
if (errors.length > 0) {
|
|
59537
59565
|
return new FunctionValidationErrorCollection(errors);
|
|
59538
59566
|
}
|
|
59539
|
-
const param = (_params$
|
|
59567
|
+
const param = (_params$43 = params[0]) === null || _params$43 === void 0 ? void 0 : _params$43.value;
|
|
59540
59568
|
if (param == undefined) {
|
|
59541
59569
|
throw new Error("Unexpected error!");
|
|
59542
59570
|
}
|
|
@@ -59546,12 +59574,12 @@ const getYearKCLangFunction = params => {
|
|
|
59546
59574
|
};
|
|
59547
59575
|
};
|
|
59548
59576
|
const isDateInMonthKCLangFunction = params => {
|
|
59549
|
-
var _params$
|
|
59577
|
+
var _params$44;
|
|
59550
59578
|
const errors = Array.from(validateParams(params, 1));
|
|
59551
59579
|
if (errors.length > 0) {
|
|
59552
59580
|
return new FunctionValidationErrorCollection(errors);
|
|
59553
59581
|
}
|
|
59554
|
-
const param = (_params$
|
|
59582
|
+
const param = (_params$44 = params[0]) === null || _params$44 === void 0 ? void 0 : _params$44.value;
|
|
59555
59583
|
if (param == undefined) {
|
|
59556
59584
|
throw new Error("Unexpected error!");
|
|
59557
59585
|
}
|
|
@@ -59591,13 +59619,13 @@ const sumOfDayWeightsKCLangFunction = params => {
|
|
|
59591
59619
|
};
|
|
59592
59620
|
};
|
|
59593
59621
|
const addDaysKCLangFunction = params => {
|
|
59594
|
-
var _params$
|
|
59622
|
+
var _params$45, _params$46;
|
|
59595
59623
|
const errors = Array.from(validateParams(params, 2));
|
|
59596
59624
|
if (errors.length > 0) {
|
|
59597
59625
|
return new FunctionValidationErrorCollection(errors);
|
|
59598
59626
|
}
|
|
59599
|
-
const exprParam = (_params$
|
|
59600
|
-
const amountParam = (_params$
|
|
59627
|
+
const exprParam = (_params$45 = params[0]) === null || _params$45 === void 0 ? void 0 : _params$45.value;
|
|
59628
|
+
const amountParam = (_params$46 = params[1]) === null || _params$46 === void 0 ? void 0 : _params$46.value;
|
|
59601
59629
|
if (exprParam == undefined) {
|
|
59602
59630
|
throw new Error("Expected expression for addDays().");
|
|
59603
59631
|
}
|
|
@@ -59613,13 +59641,13 @@ const addDaysKCLangFunction = params => {
|
|
|
59613
59641
|
};
|
|
59614
59642
|
};
|
|
59615
59643
|
const addMonthsKCLangFunction = params => {
|
|
59616
|
-
var _params$
|
|
59644
|
+
var _params$47, _params$48;
|
|
59617
59645
|
const errors = Array.from(validateParams(params, 2));
|
|
59618
59646
|
if (errors.length > 0) {
|
|
59619
59647
|
return new FunctionValidationErrorCollection(errors);
|
|
59620
59648
|
}
|
|
59621
|
-
const exprParam = (_params$
|
|
59622
|
-
const amountParam = (_params$
|
|
59649
|
+
const exprParam = (_params$47 = params[0]) === null || _params$47 === void 0 ? void 0 : _params$47.value;
|
|
59650
|
+
const amountParam = (_params$48 = params[1]) === null || _params$48 === void 0 ? void 0 : _params$48.value;
|
|
59623
59651
|
if (exprParam == undefined) {
|
|
59624
59652
|
throw new Error("Expected expression for addMonths().");
|
|
59625
59653
|
}
|
|
@@ -59635,13 +59663,13 @@ const addMonthsKCLangFunction = params => {
|
|
|
59635
59663
|
};
|
|
59636
59664
|
};
|
|
59637
59665
|
const addYearsKCLangFunction = params => {
|
|
59638
|
-
var _params$
|
|
59666
|
+
var _params$49, _params$50;
|
|
59639
59667
|
const errors = Array.from(validateParams(params, 2));
|
|
59640
59668
|
if (errors.length > 0) {
|
|
59641
59669
|
return new FunctionValidationErrorCollection(errors);
|
|
59642
59670
|
}
|
|
59643
|
-
const exprParam = (_params$
|
|
59644
|
-
const amountParam = (_params$
|
|
59671
|
+
const exprParam = (_params$49 = params[0]) === null || _params$49 === void 0 ? void 0 : _params$49.value;
|
|
59672
|
+
const amountParam = (_params$50 = params[1]) === null || _params$50 === void 0 ? void 0 : _params$50.value;
|
|
59645
59673
|
if (exprParam == undefined) {
|
|
59646
59674
|
throw new Error("Expected expression for addYears().");
|
|
59647
59675
|
}
|
|
@@ -59657,13 +59685,13 @@ const addYearsKCLangFunction = params => {
|
|
|
59657
59685
|
};
|
|
59658
59686
|
};
|
|
59659
59687
|
const dateToStringKCLangFunction = params => {
|
|
59660
|
-
var _params$
|
|
59688
|
+
var _params$51, _params$52;
|
|
59661
59689
|
const errors = Array.from(validateParams(params, 1, 2));
|
|
59662
59690
|
if (errors.length > 0) {
|
|
59663
59691
|
return new FunctionValidationErrorCollection(errors);
|
|
59664
59692
|
}
|
|
59665
|
-
const exprParam = (_params$
|
|
59666
|
-
const formatParam = (_params$
|
|
59693
|
+
const exprParam = (_params$51 = params[0]) === null || _params$51 === void 0 ? void 0 : _params$51.value;
|
|
59694
|
+
const formatParam = (_params$52 = params[1]) === null || _params$52 === void 0 ? void 0 : _params$52.value;
|
|
59667
59695
|
if (exprParam == undefined) {
|
|
59668
59696
|
throw new Error("Expected expression for dateToString().");
|
|
59669
59697
|
}
|
|
@@ -59678,12 +59706,12 @@ const dateToStringKCLangFunction = params => {
|
|
|
59678
59706
|
};
|
|
59679
59707
|
};
|
|
59680
59708
|
const dateTimeKCLangFunction = params => {
|
|
59681
|
-
var _params$
|
|
59709
|
+
var _params$53;
|
|
59682
59710
|
const errors = Array.from(validateParams(params, 1));
|
|
59683
59711
|
if (errors.length > 0) {
|
|
59684
59712
|
return new FunctionValidationErrorCollection(errors);
|
|
59685
59713
|
}
|
|
59686
|
-
const param = (_params$
|
|
59714
|
+
const param = (_params$53 = params[0]) === null || _params$53 === void 0 ? void 0 : _params$53.value;
|
|
59687
59715
|
if (param == undefined) {
|
|
59688
59716
|
throw new Error("Unexpected error!");
|
|
59689
59717
|
}
|
|
@@ -59693,12 +59721,12 @@ const dateTimeKCLangFunction = params => {
|
|
|
59693
59721
|
};
|
|
59694
59722
|
};
|
|
59695
59723
|
const hasAutoFlagKCLangFunction = params => {
|
|
59696
|
-
var _params$
|
|
59724
|
+
var _params$54;
|
|
59697
59725
|
const errors = Array.from(validateParams(params, 1));
|
|
59698
59726
|
if (errors.length > 0) {
|
|
59699
59727
|
return new FunctionValidationErrorCollection(errors);
|
|
59700
59728
|
}
|
|
59701
|
-
const param = (_params$
|
|
59729
|
+
const param = (_params$54 = params[0]) === null || _params$54 === void 0 ? void 0 : _params$54.value;
|
|
59702
59730
|
if (param == undefined) {
|
|
59703
59731
|
throw new Error("Unexpected error!");
|
|
59704
59732
|
}
|
|
@@ -59708,13 +59736,13 @@ const hasAutoFlagKCLangFunction = params => {
|
|
|
59708
59736
|
};
|
|
59709
59737
|
};
|
|
59710
59738
|
const makeDictKCLangFunction = params => {
|
|
59711
|
-
var _params$
|
|
59739
|
+
var _params$55, _params$56;
|
|
59712
59740
|
const errors = Array.from(validateParams(params, 2));
|
|
59713
59741
|
if (errors.length > 0) {
|
|
59714
59742
|
return new FunctionValidationErrorCollection(errors);
|
|
59715
59743
|
}
|
|
59716
|
-
const sourceKeyPathParam = (_params$
|
|
59717
|
-
const sourceValuePathParam = (_params$
|
|
59744
|
+
const sourceKeyPathParam = (_params$55 = params[0]) === null || _params$55 === void 0 ? void 0 : _params$55.value;
|
|
59745
|
+
const sourceValuePathParam = (_params$56 = params[1]) === null || _params$56 === void 0 ? void 0 : _params$56.value;
|
|
59718
59746
|
if ((sourceKeyPathParam === null || sourceKeyPathParam === void 0 ? void 0 : sourceKeyPathParam.type) !== "argument" || sourceValuePathParam == undefined) {
|
|
59719
59747
|
const argumentsValidationError = new ArgumentValidationError("Invalid argument sourceKeyPath");
|
|
59720
59748
|
return new FunctionValidationErrorCollection([argumentsValidationError]);
|
|
@@ -59726,13 +59754,13 @@ const makeDictKCLangFunction = params => {
|
|
|
59726
59754
|
};
|
|
59727
59755
|
};
|
|
59728
59756
|
const getSumByKeysKCLangFunction = params => {
|
|
59729
|
-
var _params$
|
|
59757
|
+
var _params$57, _params$58;
|
|
59730
59758
|
const errors = Array.from(validateParams(params, 2));
|
|
59731
59759
|
if (errors.length > 0) {
|
|
59732
59760
|
return new FunctionValidationErrorCollection(errors);
|
|
59733
59761
|
}
|
|
59734
|
-
const dictPathParam = (_params$
|
|
59735
|
-
const targetKeysParam = (_params$
|
|
59762
|
+
const dictPathParam = (_params$57 = params[0]) === null || _params$57 === void 0 ? void 0 : _params$57.value;
|
|
59763
|
+
const targetKeysParam = (_params$58 = params[1]) === null || _params$58 === void 0 ? void 0 : _params$58.value;
|
|
59736
59764
|
if (targetKeysParam == undefined || (dictPathParam === null || dictPathParam === void 0 ? void 0 : dictPathParam.type) !== "argument") {
|
|
59737
59765
|
const argumentsValidationError = new ArgumentValidationError("Invalid arguments dictPathParam, targetKeysParam");
|
|
59738
59766
|
return new FunctionValidationErrorCollection([argumentsValidationError]);
|
|
@@ -59748,12 +59776,12 @@ const getSumByKeysKCLangFunction = params => {
|
|
|
59748
59776
|
};
|
|
59749
59777
|
};
|
|
59750
59778
|
const joinKCLangFunction = params => {
|
|
59751
|
-
var _params$
|
|
59779
|
+
var _params$59;
|
|
59752
59780
|
const errors = Array.from(validateParams(params, 1));
|
|
59753
59781
|
if (errors.length > 0) {
|
|
59754
59782
|
return new FunctionValidationErrorCollection(errors);
|
|
59755
59783
|
}
|
|
59756
|
-
const arrayParam = (_params$
|
|
59784
|
+
const arrayParam = (_params$59 = params[0]) === null || _params$59 === void 0 ? void 0 : _params$59.value;
|
|
59757
59785
|
if (arrayParam == undefined) {
|
|
59758
59786
|
const argumentsValidationError = new ArgumentValidationError("Invalid arguments arrayParam");
|
|
59759
59787
|
return new FunctionValidationErrorCollection([argumentsValidationError]);
|
|
@@ -59764,12 +59792,12 @@ const joinKCLangFunction = params => {
|
|
|
59764
59792
|
};
|
|
59765
59793
|
};
|
|
59766
59794
|
const numeratorKCLangFunction = params => {
|
|
59767
|
-
var _params$
|
|
59795
|
+
var _params$60;
|
|
59768
59796
|
const errors = Array.from(validateParams(params, 1));
|
|
59769
59797
|
if (errors.length > 0) {
|
|
59770
59798
|
return new FunctionValidationErrorCollection(errors);
|
|
59771
59799
|
}
|
|
59772
|
-
const param = (_params$
|
|
59800
|
+
const param = (_params$60 = params[0]) === null || _params$60 === void 0 ? void 0 : _params$60.value;
|
|
59773
59801
|
if (param == undefined) {
|
|
59774
59802
|
throw new Error("Unexpected error!");
|
|
59775
59803
|
}
|
|
@@ -59779,12 +59807,12 @@ const numeratorKCLangFunction = params => {
|
|
|
59779
59807
|
};
|
|
59780
59808
|
};
|
|
59781
59809
|
const denominatorKCLangFunction = params => {
|
|
59782
|
-
var _params$
|
|
59810
|
+
var _params$61;
|
|
59783
59811
|
const errors = Array.from(validateParams(params, 1));
|
|
59784
59812
|
if (errors.length > 0) {
|
|
59785
59813
|
return new FunctionValidationErrorCollection(errors);
|
|
59786
59814
|
}
|
|
59787
|
-
const param = (_params$
|
|
59815
|
+
const param = (_params$61 = params[0]) === null || _params$61 === void 0 ? void 0 : _params$61.value;
|
|
59788
59816
|
if (param == undefined) {
|
|
59789
59817
|
throw new Error("Unexpected error!");
|
|
59790
59818
|
}
|
|
@@ -59794,12 +59822,12 @@ const denominatorKCLangFunction = params => {
|
|
|
59794
59822
|
};
|
|
59795
59823
|
};
|
|
59796
59824
|
const getDateTimeTicksKCLangFunction = params => {
|
|
59797
|
-
var _params$
|
|
59825
|
+
var _params$62;
|
|
59798
59826
|
const errors = Array.from(validateParams(params, 1));
|
|
59799
59827
|
if (errors.length > 0) {
|
|
59800
59828
|
return new FunctionValidationErrorCollection(errors);
|
|
59801
59829
|
}
|
|
59802
|
-
const expr = (_params$
|
|
59830
|
+
const expr = (_params$62 = params[0]) === null || _params$62 === void 0 ? void 0 : _params$62.value;
|
|
59803
59831
|
if (expr == undefined) {
|
|
59804
59832
|
const argumentsValidationError = new ArgumentValidationError("Invalid arguments expression");
|
|
59805
59833
|
return new FunctionValidationErrorCollection([argumentsValidationError]);
|
|
@@ -59855,6 +59883,7 @@ const getKCLangGlobalFunctionBuilders = () => ({
|
|
|
59855
59883
|
abs: [_KCLangAntlrFunctions__WEBPACK_IMPORTED_MODULE_7__.absKCLangFunction],
|
|
59856
59884
|
xabs: [_KCLangAntlrFunctions__WEBPACK_IMPORTED_MODULE_7__.xabsKCLangFunction],
|
|
59857
59885
|
regexMatch: [_KCLangAntlrFunctions__WEBPACK_IMPORTED_MODULE_7__.regexMatchKCLangFunction],
|
|
59886
|
+
regexReplace: [_KCLangAntlrFunctions__WEBPACK_IMPORTED_MODULE_7__.regexReplaceKCLangFunction],
|
|
59858
59887
|
round: [_KCLangAntlrFunctions__WEBPACK_IMPORTED_MODULE_7__.roundKCLangFunction],
|
|
59859
59888
|
floor: [_KCLangAntlrFunctions__WEBPACK_IMPORTED_MODULE_7__.floorKCLangFunction],
|
|
59860
59889
|
exists: [_KCLangAntlrFunctions__WEBPACK_IMPORTED_MODULE_7__.existsKCLangFunction],
|
|
@@ -60624,6 +60653,7 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
60624
60653
|
/* harmony export */ nodepsKCLangFunction: () => (/* binding */ nodepsKCLangFunction),
|
|
60625
60654
|
/* harmony export */ numeratorKCLangFunction: () => (/* binding */ numeratorKCLangFunction),
|
|
60626
60655
|
/* harmony export */ regexMatchKCLangFunction: () => (/* binding */ regexMatchKCLangFunction),
|
|
60656
|
+
/* harmony export */ regexReplaceKCLangFunction: () => (/* binding */ regexReplaceKCLangFunction),
|
|
60627
60657
|
/* harmony export */ roundKCLangFunction: () => (/* binding */ roundKCLangFunction),
|
|
60628
60658
|
/* harmony export */ substringKCLangFunction: () => (/* binding */ substringKCLangFunction),
|
|
60629
60659
|
/* harmony export */ sumKCLangFunction: () => (/* binding */ sumKCLangFunction),
|
|
@@ -60689,7 +60719,9 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
60689
60719
|
/* harmony import */ var _CodeDom_Functions_NumeratorFunctionCall__WEBPACK_IMPORTED_MODULE_55__ = __webpack_require__(/*! ../../CodeDom/Functions/NumeratorFunctionCall */ "./Generator/src/common/KCLang/CodeDom/Functions/NumeratorFunctionCall.ts");
|
|
60690
60720
|
/* harmony import */ var _CodeDom_Functions_DenominatorFunctionCall__WEBPACK_IMPORTED_MODULE_56__ = __webpack_require__(/*! ../../CodeDom/Functions/DenominatorFunctionCall */ "./Generator/src/common/KCLang/CodeDom/Functions/DenominatorFunctionCall.ts");
|
|
60691
60721
|
/* harmony import */ var _CodeDom_CastExpression__WEBPACK_IMPORTED_MODULE_57__ = __webpack_require__(/*! ../../CodeDom/CastExpression */ "./Generator/src/common/KCLang/CodeDom/CastExpression.ts");
|
|
60692
|
-
/* harmony import */ var
|
|
60722
|
+
/* harmony import */ var _CodeDom_Functions_RegexReplaceFunctionCall__WEBPACK_IMPORTED_MODULE_58__ = __webpack_require__(/*! ../../CodeDom/Functions/RegexReplaceFunctionCall */ "./Generator/src/common/KCLang/CodeDom/Functions/RegexReplaceFunctionCall.ts");
|
|
60723
|
+
/* harmony import */ var _CodeDom_Functions_UUIDFunctionCall__WEBPACK_IMPORTED_MODULE_59__ = __webpack_require__(/*! ../../CodeDom/Functions/UUIDFunctionCall */ "./Generator/src/common/KCLang/CodeDom/Functions/UUIDFunctionCall.ts");
|
|
60724
|
+
|
|
60693
60725
|
|
|
60694
60726
|
|
|
60695
60727
|
|
|
@@ -60801,156 +60833,177 @@ const regexMatchKCLangFunction = params => {
|
|
|
60801
60833
|
}
|
|
60802
60834
|
return new _CodeDom_Functions_RegexMatchFunctionCall__WEBPACK_IMPORTED_MODULE_4__.RegexMatchFunctionCall(param, pattern);
|
|
60803
60835
|
};
|
|
60836
|
+
const regexReplaceKCLangFunction = params => {
|
|
60837
|
+
var _params$6, _params$7, _params$8, _params$9, _params$10;
|
|
60838
|
+
const errors = Array.from((0,_CodeDom_KCLangUtils__WEBPACK_IMPORTED_MODULE_23__.validateParams)(params, 3));
|
|
60839
|
+
if (errors.length > 0) {
|
|
60840
|
+
return errors;
|
|
60841
|
+
}
|
|
60842
|
+
const expr = (0,_CodeDom_KCLangUtils__WEBPACK_IMPORTED_MODULE_23__.safeCastToStringFromExprOrValueRef)((_params$6 = params[0]) === null || _params$6 === void 0 ? void 0 : _params$6.argument);
|
|
60843
|
+
if (expr == undefined) {
|
|
60844
|
+
return ["Invalid parameter type!"];
|
|
60845
|
+
}
|
|
60846
|
+
const pattern = (0,_CodeDom_KCLangUtils__WEBPACK_IMPORTED_MODULE_23__.safeCastToStringFromExprOrValueRef)((_params$7 = params[1]) === null || _params$7 === void 0 ? void 0 : _params$7.argument);
|
|
60847
|
+
if (pattern == undefined) {
|
|
60848
|
+
return ["Invalid parameter type!"];
|
|
60849
|
+
}
|
|
60850
|
+
const replacement = (0,_CodeDom_KCLangUtils__WEBPACK_IMPORTED_MODULE_23__.safeCastToStringFromExprOrValueRef)((_params$8 = params[2]) === null || _params$8 === void 0 ? void 0 : _params$8.argument);
|
|
60851
|
+
if (replacement == undefined) {
|
|
60852
|
+
return ["Invalid parameter type!"];
|
|
60853
|
+
}
|
|
60854
|
+
const flags = (_params$9 = params[3]) !== null && _params$9 !== void 0 && _params$9.argument ? (0,_CodeDom_KCLangUtils__WEBPACK_IMPORTED_MODULE_23__.safeCastToStringFromExprOrValueRef)((_params$10 = params[3]) === null || _params$10 === void 0 ? void 0 : _params$10.argument) : undefined;
|
|
60855
|
+
return new _CodeDom_Functions_RegexReplaceFunctionCall__WEBPACK_IMPORTED_MODULE_58__.RegexReplaceFunctionCall(expr, pattern, replacement, flags);
|
|
60856
|
+
};
|
|
60804
60857
|
const roundKCLangFunction = params => {
|
|
60805
|
-
var _params$
|
|
60858
|
+
var _params$11, _params$12;
|
|
60806
60859
|
const errors = Array.from((0,_CodeDom_KCLangUtils__WEBPACK_IMPORTED_MODULE_23__.validateParams)(params, 1, 1));
|
|
60807
60860
|
if (errors.length > 0) {
|
|
60808
60861
|
return errors;
|
|
60809
60862
|
}
|
|
60810
|
-
const argumentExpr = (0,_CodeDom_KCLangUtils__WEBPACK_IMPORTED_MODULE_23__.safeCastExprToTypeOrConvertValueRef)((_params$
|
|
60811
|
-
const fractional = (0,_CodeDom_KCLangUtils__WEBPACK_IMPORTED_MODULE_23__.safeCastExprToTypeOrConvertValueRef)((_params$
|
|
60863
|
+
const argumentExpr = (0,_CodeDom_KCLangUtils__WEBPACK_IMPORTED_MODULE_23__.safeCastExprToTypeOrConvertValueRef)((_params$11 = params[0]) === null || _params$11 === void 0 ? void 0 : _params$11.argument, _CodeDom_KCLangType__WEBPACK_IMPORTED_MODULE_0__.DecimalType.default);
|
|
60864
|
+
const fractional = (0,_CodeDom_KCLangUtils__WEBPACK_IMPORTED_MODULE_23__.safeCastExprToTypeOrConvertValueRef)((_params$12 = params[1]) === null || _params$12 === void 0 ? void 0 : _params$12.argument, _CodeDom_KCLangType__WEBPACK_IMPORTED_MODULE_0__.DecimalType.default);
|
|
60812
60865
|
if (argumentExpr == undefined) {
|
|
60813
60866
|
return (0,_CodeDom_KCLangUtils__WEBPACK_IMPORTED_MODULE_23__.defaultArgumentErrors)();
|
|
60814
60867
|
}
|
|
60815
60868
|
return new _CodeDom_Functions_RoundFunctionCall__WEBPACK_IMPORTED_MODULE_18__.RoundFunctionCall(argumentExpr, fractional !== null && fractional !== void 0 ? fractional : new _CodeDom_DecimalConstExpression__WEBPACK_IMPORTED_MODULE_19__.DecimalConstExpression(0));
|
|
60816
60869
|
};
|
|
60817
60870
|
const floorKCLangFunction = params => {
|
|
60818
|
-
var _params$
|
|
60871
|
+
var _params$13;
|
|
60819
60872
|
const errors = Array.from((0,_CodeDom_KCLangUtils__WEBPACK_IMPORTED_MODULE_23__.validateParams)(params, 1, 1));
|
|
60820
60873
|
if (errors.length > 0) {
|
|
60821
60874
|
return errors;
|
|
60822
60875
|
}
|
|
60823
|
-
const argumentExpr = (0,_CodeDom_KCLangUtils__WEBPACK_IMPORTED_MODULE_23__.safeCastExprToTypeOrConvertValueRef)((_params$
|
|
60876
|
+
const argumentExpr = (0,_CodeDom_KCLangUtils__WEBPACK_IMPORTED_MODULE_23__.safeCastExprToTypeOrConvertValueRef)((_params$13 = params[0]) === null || _params$13 === void 0 ? void 0 : _params$13.argument, _CodeDom_KCLangType__WEBPACK_IMPORTED_MODULE_0__.DecimalType.default);
|
|
60824
60877
|
if (argumentExpr === undefined) {
|
|
60825
60878
|
return (0,_CodeDom_KCLangUtils__WEBPACK_IMPORTED_MODULE_23__.defaultArgumentErrors)();
|
|
60826
60879
|
}
|
|
60827
60880
|
return new _CodeDom_Functions_FloorFunctionCall__WEBPACK_IMPORTED_MODULE_17__.FloorFunctionCall(argumentExpr);
|
|
60828
60881
|
};
|
|
60829
60882
|
const existsKCLangFunction = params => {
|
|
60830
|
-
var _params$
|
|
60883
|
+
var _params$14;
|
|
60831
60884
|
const errors = Array.from((0,_CodeDom_KCLangUtils__WEBPACK_IMPORTED_MODULE_23__.validateParams)(params, 1));
|
|
60832
60885
|
if (errors.length > 0) {
|
|
60833
60886
|
return errors;
|
|
60834
60887
|
}
|
|
60835
|
-
const argumentExpr = (0,_CastUtils__WEBPACK_IMPORTED_MODULE_10__.safeCast)((_params$
|
|
60888
|
+
const argumentExpr = (0,_CastUtils__WEBPACK_IMPORTED_MODULE_10__.safeCast)((_params$14 = params[0]) === null || _params$14 === void 0 ? void 0 : _params$14.argument, _CodeDom_ValueReferenceExpression__WEBPACK_IMPORTED_MODULE_11__.ValueReferenceExpression);
|
|
60836
60889
|
if (argumentExpr === undefined) {
|
|
60837
60890
|
return (0,_CodeDom_KCLangUtils__WEBPACK_IMPORTED_MODULE_23__.defaultArgumentErrors)();
|
|
60838
60891
|
}
|
|
60839
60892
|
return new _CodeDom_Functions_ExistsFunctionCall__WEBPACK_IMPORTED_MODULE_16__.ExistsFunctionCall(argumentExpr);
|
|
60840
60893
|
};
|
|
60841
60894
|
const isSnilsKCLangFunction = params => {
|
|
60842
|
-
var _params$
|
|
60895
|
+
var _params$15;
|
|
60843
60896
|
const errors = Array.from((0,_CodeDom_KCLangUtils__WEBPACK_IMPORTED_MODULE_23__.validateParams)(params, 1));
|
|
60844
60897
|
if (errors.length > 0) {
|
|
60845
60898
|
return errors;
|
|
60846
60899
|
}
|
|
60847
|
-
const argumentExpr = (0,_CodeDom_KCLangUtils__WEBPACK_IMPORTED_MODULE_23__.safeCastToStringFromExprOrValueRef)((_params$
|
|
60900
|
+
const argumentExpr = (0,_CodeDom_KCLangUtils__WEBPACK_IMPORTED_MODULE_23__.safeCastToStringFromExprOrValueRef)((_params$15 = params[0]) === null || _params$15 === void 0 ? void 0 : _params$15.argument);
|
|
60848
60901
|
if (argumentExpr === undefined) {
|
|
60849
60902
|
return (0,_CodeDom_KCLangUtils__WEBPACK_IMPORTED_MODULE_23__.defaultArgumentErrors)();
|
|
60850
60903
|
}
|
|
60851
60904
|
return new _CodeDom_Functions_IsSnilsFunctionCall__WEBPACK_IMPORTED_MODULE_15__.IsSnilsFunctionCall(argumentExpr);
|
|
60852
60905
|
};
|
|
60853
60906
|
const isInnKCLangFunction = params => {
|
|
60854
|
-
var _params$
|
|
60907
|
+
var _params$16;
|
|
60855
60908
|
const errors = Array.from((0,_CodeDom_KCLangUtils__WEBPACK_IMPORTED_MODULE_23__.validateParams)(params, 1));
|
|
60856
60909
|
if (errors.length > 0) {
|
|
60857
60910
|
return errors;
|
|
60858
60911
|
}
|
|
60859
|
-
const argumentExpr = (0,_CodeDom_KCLangUtils__WEBPACK_IMPORTED_MODULE_23__.safeCastToStringFromExprOrValueRef)((_params$
|
|
60912
|
+
const argumentExpr = (0,_CodeDom_KCLangUtils__WEBPACK_IMPORTED_MODULE_23__.safeCastToStringFromExprOrValueRef)((_params$16 = params[0]) === null || _params$16 === void 0 ? void 0 : _params$16.argument);
|
|
60860
60913
|
if (argumentExpr === undefined) {
|
|
60861
60914
|
return (0,_CodeDom_KCLangUtils__WEBPACK_IMPORTED_MODULE_23__.defaultArgumentErrors)();
|
|
60862
60915
|
}
|
|
60863
60916
|
return new _CodeDom_Functions_IsInnFunctionCall__WEBPACK_IMPORTED_MODULE_22__.IsInnFunctionCall(argumentExpr);
|
|
60864
60917
|
};
|
|
60865
60918
|
const isValidMirCardNumberKCLangFunction = params => {
|
|
60866
|
-
var _params$
|
|
60919
|
+
var _params$17;
|
|
60867
60920
|
const errors = Array.from((0,_CodeDom_KCLangUtils__WEBPACK_IMPORTED_MODULE_23__.validateParams)(params, 1));
|
|
60868
60921
|
if (errors.length > 0) {
|
|
60869
60922
|
return errors;
|
|
60870
60923
|
}
|
|
60871
|
-
const argumentExpr = (0,_CodeDom_KCLangUtils__WEBPACK_IMPORTED_MODULE_23__.safeCastToStringFromExprOrValueRef)((_params$
|
|
60924
|
+
const argumentExpr = (0,_CodeDom_KCLangUtils__WEBPACK_IMPORTED_MODULE_23__.safeCastToStringFromExprOrValueRef)((_params$17 = params[0]) === null || _params$17 === void 0 ? void 0 : _params$17.argument);
|
|
60872
60925
|
if (argumentExpr == undefined) {
|
|
60873
60926
|
return (0,_CodeDom_KCLangUtils__WEBPACK_IMPORTED_MODULE_23__.defaultArgumentErrors)();
|
|
60874
60927
|
}
|
|
60875
60928
|
return new _CodeDom_Functions_IsValidMirCardNumberFunctionCall__WEBPACK_IMPORTED_MODULE_14__.IsValidMirCardNumberFunctionCall(argumentExpr);
|
|
60876
60929
|
};
|
|
60877
60930
|
const isValidAccountNumberKCLangFunction = params => {
|
|
60878
|
-
var _params$
|
|
60931
|
+
var _params$18, _params$19;
|
|
60879
60932
|
const errors = Array.from((0,_CodeDom_KCLangUtils__WEBPACK_IMPORTED_MODULE_23__.validateParams)(params, 2));
|
|
60880
60933
|
if (errors.length > 0) {
|
|
60881
60934
|
return errors;
|
|
60882
60935
|
}
|
|
60883
|
-
const bik = (0,_CodeDom_KCLangUtils__WEBPACK_IMPORTED_MODULE_23__.safeCastToStringFromExprOrValueRef)((_params$
|
|
60884
|
-
const account = (0,_CodeDom_KCLangUtils__WEBPACK_IMPORTED_MODULE_23__.safeCastToStringFromExprOrValueRef)((_params$
|
|
60936
|
+
const bik = (0,_CodeDom_KCLangUtils__WEBPACK_IMPORTED_MODULE_23__.safeCastToStringFromExprOrValueRef)((_params$18 = params[0]) === null || _params$18 === void 0 ? void 0 : _params$18.argument);
|
|
60937
|
+
const account = (0,_CodeDom_KCLangUtils__WEBPACK_IMPORTED_MODULE_23__.safeCastToStringFromExprOrValueRef)((_params$19 = params[1]) === null || _params$19 === void 0 ? void 0 : _params$19.argument);
|
|
60885
60938
|
if (bik == undefined || account == undefined) {
|
|
60886
60939
|
return (0,_CodeDom_KCLangUtils__WEBPACK_IMPORTED_MODULE_23__.defaultArgumentErrors)();
|
|
60887
60940
|
}
|
|
60888
60941
|
return new _CodeDom_Functions_IsValidAccountNumberFunctionCall__WEBPACK_IMPORTED_MODULE_13__.IsValidAccountNumberFunctionCall(bik, account);
|
|
60889
60942
|
};
|
|
60890
60943
|
const countKCLangFunction = params => {
|
|
60891
|
-
var _params$
|
|
60944
|
+
var _params$20;
|
|
60892
60945
|
const errors = Array.from((0,_CodeDom_KCLangUtils__WEBPACK_IMPORTED_MODULE_23__.validateParams)(params, 1));
|
|
60893
60946
|
if (errors.length > 0) {
|
|
60894
60947
|
return errors;
|
|
60895
60948
|
}
|
|
60896
|
-
const expr = (0,_CastUtils__WEBPACK_IMPORTED_MODULE_10__.safeCast)((_params$
|
|
60949
|
+
const expr = (0,_CastUtils__WEBPACK_IMPORTED_MODULE_10__.safeCast)((_params$20 = params[0]) === null || _params$20 === void 0 ? void 0 : _params$20.argument, _CodeDom_ValueReferenceExpression__WEBPACK_IMPORTED_MODULE_11__.ValueReferenceExpression);
|
|
60897
60950
|
if (expr == undefined) {
|
|
60898
60951
|
return (0,_CodeDom_KCLangUtils__WEBPACK_IMPORTED_MODULE_23__.defaultArgumentErrors)();
|
|
60899
60952
|
}
|
|
60900
60953
|
return new _CodeDom_Functions_CountFunctionCall__WEBPACK_IMPORTED_MODULE_12__.CountFunctionCall(expr);
|
|
60901
60954
|
};
|
|
60902
60955
|
const sumKCLangFunction = params => {
|
|
60903
|
-
var _params$
|
|
60956
|
+
var _params$21;
|
|
60904
60957
|
const errors = Array.from((0,_CodeDom_KCLangUtils__WEBPACK_IMPORTED_MODULE_23__.validateParams)(params, 1));
|
|
60905
60958
|
if (errors.length > 0) {
|
|
60906
60959
|
return errors;
|
|
60907
60960
|
}
|
|
60908
|
-
const argumentExpr = (0,_CastUtils__WEBPACK_IMPORTED_MODULE_10__.safeCast)((_params$
|
|
60961
|
+
const argumentExpr = (0,_CastUtils__WEBPACK_IMPORTED_MODULE_10__.safeCast)((_params$21 = params[0]) === null || _params$21 === void 0 ? void 0 : _params$21.argument, _CodeDom_ValueReferenceExpression__WEBPACK_IMPORTED_MODULE_11__.ValueReferenceExpression);
|
|
60909
60962
|
if (argumentExpr == undefined) {
|
|
60910
60963
|
return (0,_CodeDom_KCLangUtils__WEBPACK_IMPORTED_MODULE_23__.defaultArgumentErrors)();
|
|
60911
60964
|
}
|
|
60912
60965
|
return new _CodeDom_Functions_SumFunctionCall__WEBPACK_IMPORTED_MODULE_32__.SumFunctionCall(argumentExpr);
|
|
60913
60966
|
};
|
|
60914
60967
|
const substringKCLangFunction = params => {
|
|
60915
|
-
var _params$
|
|
60968
|
+
var _params$22, _params$23, _params$24, _params$25;
|
|
60916
60969
|
const errors = Array.from((0,_CodeDom_KCLangUtils__WEBPACK_IMPORTED_MODULE_23__.validateParams)(params, 2, 1));
|
|
60917
60970
|
if (errors.length > 0) {
|
|
60918
60971
|
return errors;
|
|
60919
60972
|
}
|
|
60920
|
-
const exprParam = (0,_CodeDom_KCLangUtils__WEBPACK_IMPORTED_MODULE_23__.safeCastToStringFromExprOrValueRef)((_params$
|
|
60921
|
-
const startParam = (0,_CodeDom_KCLangUtils__WEBPACK_IMPORTED_MODULE_23__.safeCastExprToTypeOrConvertValueRef)((_params$
|
|
60922
|
-
const lengthParam = (0,_CodeDom_KCLangUtils__WEBPACK_IMPORTED_MODULE_23__.safeCastExprToTypeOrConvertValueRef)((_params$
|
|
60973
|
+
const exprParam = (0,_CodeDom_KCLangUtils__WEBPACK_IMPORTED_MODULE_23__.safeCastToStringFromExprOrValueRef)((_params$22 = params[0]) === null || _params$22 === void 0 ? void 0 : _params$22.argument);
|
|
60974
|
+
const startParam = (0,_CodeDom_KCLangUtils__WEBPACK_IMPORTED_MODULE_23__.safeCastExprToTypeOrConvertValueRef)((_params$23 = params[1]) === null || _params$23 === void 0 ? void 0 : _params$23.argument, _CodeDom_KCLangType__WEBPACK_IMPORTED_MODULE_0__.DecimalType.default);
|
|
60975
|
+
const lengthParam = (0,_CodeDom_KCLangUtils__WEBPACK_IMPORTED_MODULE_23__.safeCastExprToTypeOrConvertValueRef)((_params$24 = params[2]) === null || _params$24 === void 0 ? void 0 : _params$24.argument, _CodeDom_KCLangType__WEBPACK_IMPORTED_MODULE_0__.DecimalType.default);
|
|
60923
60976
|
if (exprParam == undefined || startParam == undefined) {
|
|
60924
60977
|
return (0,_CodeDom_KCLangUtils__WEBPACK_IMPORTED_MODULE_23__.defaultArgumentErrors)();
|
|
60925
60978
|
}
|
|
60926
|
-
if (lengthParam == undefined && ((_params$
|
|
60979
|
+
if (lengthParam == undefined && ((_params$25 = params[2]) === null || _params$25 === void 0 ? void 0 : _params$25.argument) != undefined) {
|
|
60927
60980
|
return (0,_CodeDom_KCLangUtils__WEBPACK_IMPORTED_MODULE_23__.defaultArgumentErrors)();
|
|
60928
60981
|
}
|
|
60929
60982
|
const castedExprParam = exprParam instanceof _CodeDom_ValueReferenceExpression__WEBPACK_IMPORTED_MODULE_11__.ValueReferenceExpression ? new _CodeDom_CastExpression__WEBPACK_IMPORTED_MODULE_57__.CastExpression(exprParam, _CodeDom_KCLangType__WEBPACK_IMPORTED_MODULE_0__.StringType.default) : exprParam;
|
|
60930
60983
|
return new _CodeDom_Functions_SubstringFunctionCall__WEBPACK_IMPORTED_MODULE_9__.SubstringFunctionCall(castedExprParam, startParam, lengthParam);
|
|
60931
60984
|
};
|
|
60932
60985
|
const groupSumKCLangFunction = params => {
|
|
60933
|
-
var _ref, _ref2, _safeCast, _params$
|
|
60986
|
+
var _ref, _ref2, _safeCast, _params$26, _params$27, _params$28, _params$29, _params$30, _params$31;
|
|
60934
60987
|
const errors = Array.from((0,_CodeDom_KCLangUtils__WEBPACK_IMPORTED_MODULE_23__.validateParams)(params, 3));
|
|
60935
60988
|
if (errors.length > 0) {
|
|
60936
60989
|
return errors;
|
|
60937
60990
|
}
|
|
60938
|
-
const targetKeyPathParam = (_ref = (_ref2 = (_safeCast = (0,_CastUtils__WEBPACK_IMPORTED_MODULE_10__.safeCast)((_params$
|
|
60939
|
-
const sourceKeyPathParam = (0,_CastUtils__WEBPACK_IMPORTED_MODULE_10__.safeCast)((_params$
|
|
60940
|
-
const sourceValuePathParam = (0,_CastUtils__WEBPACK_IMPORTED_MODULE_10__.safeCast)((_params$
|
|
60991
|
+
const targetKeyPathParam = (_ref = (_ref2 = (_safeCast = (0,_CastUtils__WEBPACK_IMPORTED_MODULE_10__.safeCast)((_params$26 = params[0]) === null || _params$26 === void 0 ? void 0 : _params$26.argument, _CodeDom_ValueReferenceExpression__WEBPACK_IMPORTED_MODULE_11__.ValueReferenceExpression)) !== null && _safeCast !== void 0 ? _safeCast : (0,_CodeDom_KCLangUtils__WEBPACK_IMPORTED_MODULE_23__.safeCastExprToTypeOrConvertValueRef)((_params$27 = params[0]) === null || _params$27 === void 0 ? void 0 : _params$27.argument, _CodeDom_KCLangType__WEBPACK_IMPORTED_MODULE_0__.StringArrayType.default)) !== null && _ref2 !== void 0 ? _ref2 : (0,_CodeDom_KCLangUtils__WEBPACK_IMPORTED_MODULE_23__.safeCastExprToTypeOrConvertValueRef)((_params$28 = params[0]) === null || _params$28 === void 0 ? void 0 : _params$28.argument, _CodeDom_KCLangType__WEBPACK_IMPORTED_MODULE_0__.StringType.default)) !== null && _ref !== void 0 ? _ref : (0,_CodeDom_KCLangUtils__WEBPACK_IMPORTED_MODULE_23__.safeCastExprToTypeOrConvertValueRef)((_params$29 = params[0]) === null || _params$29 === void 0 ? void 0 : _params$29.argument, _CodeDom_KCLangType__WEBPACK_IMPORTED_MODULE_0__.DecimalType.default);
|
|
60992
|
+
const sourceKeyPathParam = (0,_CastUtils__WEBPACK_IMPORTED_MODULE_10__.safeCast)((_params$30 = params[1]) === null || _params$30 === void 0 ? void 0 : _params$30.argument, _CodeDom_ValueReferenceExpression__WEBPACK_IMPORTED_MODULE_11__.ValueReferenceExpression);
|
|
60993
|
+
const sourceValuePathParam = (0,_CastUtils__WEBPACK_IMPORTED_MODULE_10__.safeCast)((_params$31 = params[2]) === null || _params$31 === void 0 ? void 0 : _params$31.argument, _CodeDom_ValueReferenceExpression__WEBPACK_IMPORTED_MODULE_11__.ValueReferenceExpression);
|
|
60941
60994
|
if (targetKeyPathParam == undefined || sourceKeyPathParam == undefined || sourceValuePathParam == undefined) {
|
|
60942
60995
|
return ["Expected 3 paths as arguments: targetKeyPath, sourceKeyPath, sourceValuePath"];
|
|
60943
60996
|
}
|
|
60944
60997
|
return new _CodeDom_Functions_GroupSumFunctionCall__WEBPACK_IMPORTED_MODULE_20__.GroupSumFunctionCall(targetKeyPathParam, sourceKeyPathParam, sourceValuePathParam);
|
|
60945
60998
|
};
|
|
60946
60999
|
const groupCountKCLangFunction = params => {
|
|
60947
|
-
var _ref3, _ref4, _safeCast2, _params$
|
|
61000
|
+
var _ref3, _ref4, _safeCast2, _params$32, _params$33, _params$34, _params$35, _params$36;
|
|
60948
61001
|
const errors = Array.from((0,_CodeDom_KCLangUtils__WEBPACK_IMPORTED_MODULE_23__.validateParams)(params, 2));
|
|
60949
61002
|
if (errors.length > 0) {
|
|
60950
61003
|
return errors;
|
|
60951
61004
|
}
|
|
60952
|
-
const targetKeyPathParam = (_ref3 = (_ref4 = (_safeCast2 = (0,_CastUtils__WEBPACK_IMPORTED_MODULE_10__.safeCast)((_params$
|
|
60953
|
-
const sourceKeyPathParam = (0,_CastUtils__WEBPACK_IMPORTED_MODULE_10__.safeCast)((_params$
|
|
61005
|
+
const targetKeyPathParam = (_ref3 = (_ref4 = (_safeCast2 = (0,_CastUtils__WEBPACK_IMPORTED_MODULE_10__.safeCast)((_params$32 = params[0]) === null || _params$32 === void 0 ? void 0 : _params$32.argument, _CodeDom_ValueReferenceExpression__WEBPACK_IMPORTED_MODULE_11__.ValueReferenceExpression)) !== null && _safeCast2 !== void 0 ? _safeCast2 : (0,_CodeDom_KCLangUtils__WEBPACK_IMPORTED_MODULE_23__.safeCastExprToTypeOrConvertValueRef)((_params$33 = params[0]) === null || _params$33 === void 0 ? void 0 : _params$33.argument, _CodeDom_KCLangType__WEBPACK_IMPORTED_MODULE_0__.StringArrayType.default)) !== null && _ref4 !== void 0 ? _ref4 : (0,_CodeDom_KCLangUtils__WEBPACK_IMPORTED_MODULE_23__.safeCastExprToTypeOrConvertValueRef)((_params$34 = params[0]) === null || _params$34 === void 0 ? void 0 : _params$34.argument, _CodeDom_KCLangType__WEBPACK_IMPORTED_MODULE_0__.StringType.default)) !== null && _ref3 !== void 0 ? _ref3 : (0,_CodeDom_KCLangUtils__WEBPACK_IMPORTED_MODULE_23__.safeCastExprToTypeOrConvertValueRef)((_params$35 = params[0]) === null || _params$35 === void 0 ? void 0 : _params$35.argument, _CodeDom_KCLangType__WEBPACK_IMPORTED_MODULE_0__.DecimalType.default);
|
|
61006
|
+
const sourceKeyPathParam = (0,_CastUtils__WEBPACK_IMPORTED_MODULE_10__.safeCast)((_params$36 = params[1]) === null || _params$36 === void 0 ? void 0 : _params$36.argument, _CodeDom_ValueReferenceExpression__WEBPACK_IMPORTED_MODULE_11__.ValueReferenceExpression);
|
|
60954
61007
|
if (targetKeyPathParam == undefined || sourceKeyPathParam == undefined) {
|
|
60955
61008
|
return ["Expected 2 paths as arguments: targetKeyPath, sourceKeyPath"];
|
|
60956
61009
|
}
|
|
@@ -60985,153 +61038,153 @@ const dateNowKCLangFunction = params => {
|
|
|
60985
61038
|
return new _CodeDom_Functions_DateNowFunctionCall__WEBPACK_IMPORTED_MODULE_5__.DateNowFunctionCall();
|
|
60986
61039
|
};
|
|
60987
61040
|
const isNullKCLangFunction = params => {
|
|
60988
|
-
var _ref5, _safeCastExprToTypeOr, _params$
|
|
61041
|
+
var _ref5, _safeCastExprToTypeOr, _params$37, _params$38;
|
|
60989
61042
|
const errors = Array.from((0,_CodeDom_KCLangUtils__WEBPACK_IMPORTED_MODULE_23__.validateParams)(params, 1, 0));
|
|
60990
61043
|
if (errors.length > 0) {
|
|
60991
61044
|
return errors;
|
|
60992
61045
|
}
|
|
60993
|
-
const exprParam = (_ref5 = (_safeCastExprToTypeOr = (0,_CodeDom_KCLangUtils__WEBPACK_IMPORTED_MODULE_23__.safeCastExprToTypeOrConvertValueRef)((_params$
|
|
61046
|
+
const exprParam = (_ref5 = (_safeCastExprToTypeOr = (0,_CodeDom_KCLangUtils__WEBPACK_IMPORTED_MODULE_23__.safeCastExprToTypeOrConvertValueRef)((_params$37 = params[0]) === null || _params$37 === void 0 ? void 0 : _params$37.argument, _CodeDom_KCLangType__WEBPACK_IMPORTED_MODULE_0__.StringType.default)) !== null && _safeCastExprToTypeOr !== void 0 ? _safeCastExprToTypeOr : (0,_CodeDom_KCLangUtils__WEBPACK_IMPORTED_MODULE_23__.safeCastExprToTypeOrConvertValueRef)((_params$38 = params[0]) === null || _params$38 === void 0 ? void 0 : _params$38.argument, _CodeDom_KCLangType__WEBPACK_IMPORTED_MODULE_0__.DecimalType.default)) !== null && _ref5 !== void 0 ? _ref5 : (0,_Common_TypingUtils__WEBPACK_IMPORTED_MODULE_8__.reject)("Unsupported argument for isNull()");
|
|
60994
61047
|
return new _CodeDom_Functions_IsNullFunctionCall__WEBPACK_IMPORTED_MODULE_24__.IsNullFunctionCall(exprParam);
|
|
60995
61048
|
};
|
|
60996
61049
|
const getExternalInfoKCLangFunction = params => {
|
|
60997
|
-
var _safeCastExprToTypeOr2, _params$
|
|
61050
|
+
var _safeCastExprToTypeOr2, _params$39;
|
|
60998
61051
|
const errors = Array.from((0,_CodeDom_KCLangUtils__WEBPACK_IMPORTED_MODULE_23__.validateParams)(params, 1, 0));
|
|
60999
61052
|
if (errors.length > 0) {
|
|
61000
61053
|
return errors;
|
|
61001
61054
|
}
|
|
61002
|
-
const exprParam = (_safeCastExprToTypeOr2 = (0,_CodeDom_KCLangUtils__WEBPACK_IMPORTED_MODULE_23__.safeCastExprToTypeOrConvertValueRef)((_params$
|
|
61055
|
+
const exprParam = (_safeCastExprToTypeOr2 = (0,_CodeDom_KCLangUtils__WEBPACK_IMPORTED_MODULE_23__.safeCastExprToTypeOrConvertValueRef)((_params$39 = params[0]) === null || _params$39 === void 0 ? void 0 : _params$39.argument, _CodeDom_KCLangType__WEBPACK_IMPORTED_MODULE_0__.StringType.default)) !== null && _safeCastExprToTypeOr2 !== void 0 ? _safeCastExprToTypeOr2 : (0,_Common_TypingUtils__WEBPACK_IMPORTED_MODULE_8__.reject)("Unsupported argument for getExternalInfo()");
|
|
61003
61056
|
return new _CodeDom_Functions_GetExternalInfoFunctionalCall__WEBPACK_IMPORTED_MODULE_25__.GetExternalInfoFunctionalCall(exprParam);
|
|
61004
61057
|
};
|
|
61005
61058
|
const dateTimeKCLangFunction = params => {
|
|
61006
|
-
var _safeCastToStringFrom2, _params$
|
|
61059
|
+
var _safeCastToStringFrom2, _params$40, _params$41;
|
|
61007
61060
|
const errors = Array.from((0,_CodeDom_KCLangUtils__WEBPACK_IMPORTED_MODULE_23__.validateParams)(params, 1));
|
|
61008
61061
|
if (errors.length > 0) {
|
|
61009
61062
|
return errors;
|
|
61010
61063
|
}
|
|
61011
|
-
const exprParam = (_safeCastToStringFrom2 = (0,_CodeDom_KCLangUtils__WEBPACK_IMPORTED_MODULE_23__.safeCastToStringFromExprOrValueRef)((_params$
|
|
61064
|
+
const exprParam = (_safeCastToStringFrom2 = (0,_CodeDom_KCLangUtils__WEBPACK_IMPORTED_MODULE_23__.safeCastToStringFromExprOrValueRef)((_params$40 = params[0]) === null || _params$40 === void 0 ? void 0 : _params$40.argument)) !== null && _safeCastToStringFrom2 !== void 0 ? _safeCastToStringFrom2 : (0,_CodeDom_KCLangUtils__WEBPACK_IMPORTED_MODULE_23__.safeCastExprToTypeOrConvertValueRef)((_params$41 = params[0]) === null || _params$41 === void 0 ? void 0 : _params$41.argument, _CodeDom_KCLangType__WEBPACK_IMPORTED_MODULE_0__.DateType.default);
|
|
61012
61065
|
if (exprParam == undefined) {
|
|
61013
61066
|
return ["Invalid parameter type for dateTime()"];
|
|
61014
61067
|
}
|
|
61015
61068
|
return new _CodeDom_Functions_DateTimeFunctionCall__WEBPACK_IMPORTED_MODULE_26__.DateTimeFunctionCall(exprParam);
|
|
61016
61069
|
};
|
|
61017
61070
|
const getDateTimeTicksKCLangFunction = params => {
|
|
61018
|
-
var _params$
|
|
61071
|
+
var _params$42;
|
|
61019
61072
|
const errors = Array.from((0,_CodeDom_KCLangUtils__WEBPACK_IMPORTED_MODULE_23__.validateParams)(params, 1));
|
|
61020
61073
|
if (errors.length > 0) {
|
|
61021
61074
|
return errors;
|
|
61022
61075
|
}
|
|
61023
|
-
const argumentExpr = (0,_CodeDom_KCLangUtils__WEBPACK_IMPORTED_MODULE_23__.safeCastExprToTypeOrConvertValueRef)((_params$
|
|
61076
|
+
const argumentExpr = (0,_CodeDom_KCLangUtils__WEBPACK_IMPORTED_MODULE_23__.safeCastExprToTypeOrConvertValueRef)((_params$42 = params[0]) === null || _params$42 === void 0 ? void 0 : _params$42.argument, _CodeDom_KCLangType__WEBPACK_IMPORTED_MODULE_0__.DateType.default);
|
|
61024
61077
|
if (argumentExpr == undefined) {
|
|
61025
61078
|
return (0,_CodeDom_KCLangUtils__WEBPACK_IMPORTED_MODULE_23__.defaultArgumentErrors)();
|
|
61026
61079
|
}
|
|
61027
61080
|
return new _CodeDom_Functions_GetDateTimeTicksFunctionCall__WEBPACK_IMPORTED_MODULE_27__.GetDateTimeTicksFunctionCall(argumentExpr);
|
|
61028
61081
|
};
|
|
61029
61082
|
const getPicklistValuesKCLangFunction = params => {
|
|
61030
|
-
var _params$
|
|
61083
|
+
var _params$43, _safeCastExprToTypeOr3, _params$44, _params$45, _safeCastExprToTypeOr4, _params$46, _params$47, _params$48;
|
|
61031
61084
|
const errors = Array.from((0,_CodeDom_KCLangUtils__WEBPACK_IMPORTED_MODULE_23__.validateParams)(params, 4));
|
|
61032
61085
|
if (errors.length > 0) {
|
|
61033
61086
|
return errors;
|
|
61034
61087
|
}
|
|
61035
|
-
const gIdParam = (0,_CodeDom_KCLangUtils__WEBPACK_IMPORTED_MODULE_23__.safeCastExprToTypeOrConvertValueRef)((_params$
|
|
61036
|
-
const filterColumnsParam = (_safeCastExprToTypeOr3 = (0,_CodeDom_KCLangUtils__WEBPACK_IMPORTED_MODULE_23__.safeCastExprToTypeOrConvertValueRef)((_params$
|
|
61037
|
-
const filterValuesParam = (_safeCastExprToTypeOr4 = (0,_CodeDom_KCLangUtils__WEBPACK_IMPORTED_MODULE_23__.safeCastExprToTypeOrConvertValueRef)((_params$
|
|
61038
|
-
const resultColumnParam = (0,_CodeDom_KCLangUtils__WEBPACK_IMPORTED_MODULE_23__.safeCastExprToTypeOrConvertValueRef)((_params$
|
|
61088
|
+
const gIdParam = (0,_CodeDom_KCLangUtils__WEBPACK_IMPORTED_MODULE_23__.safeCastExprToTypeOrConvertValueRef)((_params$43 = params[0]) === null || _params$43 === void 0 ? void 0 : _params$43.argument, _CodeDom_KCLangType__WEBPACK_IMPORTED_MODULE_0__.StringType.default);
|
|
61089
|
+
const filterColumnsParam = (_safeCastExprToTypeOr3 = (0,_CodeDom_KCLangUtils__WEBPACK_IMPORTED_MODULE_23__.safeCastExprToTypeOrConvertValueRef)((_params$44 = params[1]) === null || _params$44 === void 0 ? void 0 : _params$44.argument, _CodeDom_KCLangType__WEBPACK_IMPORTED_MODULE_0__.StringArrayType.default)) !== null && _safeCastExprToTypeOr3 !== void 0 ? _safeCastExprToTypeOr3 : (0,_CodeDom_KCLangUtils__WEBPACK_IMPORTED_MODULE_23__.safeCastArrayAsStringArray)((_params$45 = params[1]) === null || _params$45 === void 0 ? void 0 : _params$45.argument);
|
|
61090
|
+
const filterValuesParam = (_safeCastExprToTypeOr4 = (0,_CodeDom_KCLangUtils__WEBPACK_IMPORTED_MODULE_23__.safeCastExprToTypeOrConvertValueRef)((_params$46 = params[2]) === null || _params$46 === void 0 ? void 0 : _params$46.argument, _CodeDom_KCLangType__WEBPACK_IMPORTED_MODULE_0__.StringArrayType.default)) !== null && _safeCastExprToTypeOr4 !== void 0 ? _safeCastExprToTypeOr4 : (0,_CodeDom_KCLangUtils__WEBPACK_IMPORTED_MODULE_23__.safeCastArrayAsStringArray)((_params$47 = params[2]) === null || _params$47 === void 0 ? void 0 : _params$47.argument);
|
|
61091
|
+
const resultColumnParam = (0,_CodeDom_KCLangUtils__WEBPACK_IMPORTED_MODULE_23__.safeCastExprToTypeOrConvertValueRef)((_params$48 = params[3]) === null || _params$48 === void 0 ? void 0 : _params$48.argument, _CodeDom_KCLangType__WEBPACK_IMPORTED_MODULE_0__.StringType.default);
|
|
61039
61092
|
if (gIdParam == undefined || filterColumnsParam == undefined || filterValuesParam == undefined || resultColumnParam == undefined) {
|
|
61040
61093
|
return ["Invalid parameter types for getPicklistValues()"];
|
|
61041
61094
|
}
|
|
61042
61095
|
return new _CodeDom_Functions_GetPicklistValuesFunctionCall__WEBPACK_IMPORTED_MODULE_28__.GetPicklistValuesFunctionCall(gIdParam, filterColumnsParam, filterValuesParam, resultColumnParam);
|
|
61043
61096
|
};
|
|
61044
61097
|
const getPropertyKCLangFunction = params => {
|
|
61045
|
-
var _params$
|
|
61098
|
+
var _params$49;
|
|
61046
61099
|
const errors = Array.from((0,_CodeDom_KCLangUtils__WEBPACK_IMPORTED_MODULE_23__.validateParams)(params, 1));
|
|
61047
61100
|
if (errors.length > 0) {
|
|
61048
61101
|
return errors;
|
|
61049
61102
|
}
|
|
61050
|
-
const propertyNameParam = (0,_CodeDom_KCLangUtils__WEBPACK_IMPORTED_MODULE_23__.safeCastExprToTypeOrConvertValueRef)((_params$
|
|
61103
|
+
const propertyNameParam = (0,_CodeDom_KCLangUtils__WEBPACK_IMPORTED_MODULE_23__.safeCastExprToTypeOrConvertValueRef)((_params$49 = params[0]) === null || _params$49 === void 0 ? void 0 : _params$49.argument, _CodeDom_KCLangType__WEBPACK_IMPORTED_MODULE_0__.StringType.default);
|
|
61051
61104
|
if (propertyNameParam == undefined) {
|
|
61052
61105
|
return (0,_CodeDom_KCLangUtils__WEBPACK_IMPORTED_MODULE_23__.defaultArgumentErrors)();
|
|
61053
61106
|
}
|
|
61054
61107
|
return new _CodeDom_Functions_GetPropertyFunctionCall__WEBPACK_IMPORTED_MODULE_29__.GetPropertyFunctionCall(propertyNameParam);
|
|
61055
61108
|
};
|
|
61056
61109
|
const isEqualToAutoCalculatedKCLangFunction = params => {
|
|
61057
|
-
var _safeCast3, _params$
|
|
61110
|
+
var _safeCast3, _params$50, _params$51;
|
|
61058
61111
|
const errors = Array.from((0,_CodeDom_KCLangUtils__WEBPACK_IMPORTED_MODULE_23__.validateParams)(params, 1));
|
|
61059
61112
|
if (errors.length > 0) {
|
|
61060
61113
|
return errors;
|
|
61061
61114
|
}
|
|
61062
|
-
const argumentExpr = (_safeCast3 = (0,_CastUtils__WEBPACK_IMPORTED_MODULE_10__.safeCast)((_params$
|
|
61115
|
+
const argumentExpr = (_safeCast3 = (0,_CastUtils__WEBPACK_IMPORTED_MODULE_10__.safeCast)((_params$50 = params[0]) === null || _params$50 === void 0 ? void 0 : _params$50.argument, _CodeDom_ValueReferenceExpression__WEBPACK_IMPORTED_MODULE_11__.ValueReferenceExpression)) !== null && _safeCast3 !== void 0 ? _safeCast3 : (0,_CastUtils__WEBPACK_IMPORTED_MODULE_10__.safeCast)((_params$51 = params[0]) === null || _params$51 === void 0 ? void 0 : _params$51.argument, _CodeDom_CastExpression__WEBPACK_IMPORTED_MODULE_57__.CastExpression);
|
|
61063
61116
|
if (argumentExpr == undefined) {
|
|
61064
61117
|
return (0,_CodeDom_KCLangUtils__WEBPACK_IMPORTED_MODULE_23__.defaultArgumentErrors)();
|
|
61065
61118
|
}
|
|
61066
61119
|
return new _CodeDom_Functions_IsEqualToAutoCalculatedFunctionCall__WEBPACK_IMPORTED_MODULE_30__.IsEqualToAutoCalculatedFunctionCall(argumentExpr);
|
|
61067
61120
|
};
|
|
61068
61121
|
const joinKCLangFunction = params => {
|
|
61069
|
-
var _params$
|
|
61122
|
+
var _params$52;
|
|
61070
61123
|
const errors = Array.from((0,_CodeDom_KCLangUtils__WEBPACK_IMPORTED_MODULE_23__.validateParams)(params, 1));
|
|
61071
61124
|
if (errors.length > 0) {
|
|
61072
61125
|
return errors;
|
|
61073
61126
|
}
|
|
61074
|
-
const arrayParam = (0,_CodeDom_KCLangUtils__WEBPACK_IMPORTED_MODULE_23__.safeCastExprToTypeOrConvertValueRef)((_params$
|
|
61127
|
+
const arrayParam = (0,_CodeDom_KCLangUtils__WEBPACK_IMPORTED_MODULE_23__.safeCastExprToTypeOrConvertValueRef)((_params$52 = params[0]) === null || _params$52 === void 0 ? void 0 : _params$52.argument, _CodeDom_KCLangType__WEBPACK_IMPORTED_MODULE_0__.StringArrayType.default);
|
|
61075
61128
|
if (arrayParam == undefined) {
|
|
61076
61129
|
return (0,_CodeDom_KCLangUtils__WEBPACK_IMPORTED_MODULE_23__.defaultArgumentErrors)();
|
|
61077
61130
|
}
|
|
61078
61131
|
return new _CodeDom_Functions_JoinFunctionCall__WEBPACK_IMPORTED_MODULE_31__.JoinFunctionCall(arrayParam);
|
|
61079
61132
|
};
|
|
61080
61133
|
const isRegNumSfrKCLangFunction = params => {
|
|
61081
|
-
var _params$
|
|
61134
|
+
var _params$53;
|
|
61082
61135
|
const errors = Array.from((0,_CodeDom_KCLangUtils__WEBPACK_IMPORTED_MODULE_23__.validateParams)(params, 1));
|
|
61083
61136
|
if (errors.length > 0) {
|
|
61084
61137
|
return errors;
|
|
61085
61138
|
}
|
|
61086
|
-
const argumentExpr = (0,_CodeDom_KCLangUtils__WEBPACK_IMPORTED_MODULE_23__.safeCastToStringFromExprOrValueRef)((_params$
|
|
61139
|
+
const argumentExpr = (0,_CodeDom_KCLangUtils__WEBPACK_IMPORTED_MODULE_23__.safeCastToStringFromExprOrValueRef)((_params$53 = params[0]) === null || _params$53 === void 0 ? void 0 : _params$53.argument);
|
|
61087
61140
|
if (argumentExpr == undefined) {
|
|
61088
61141
|
return (0,_CodeDom_KCLangUtils__WEBPACK_IMPORTED_MODULE_23__.defaultArgumentErrors)();
|
|
61089
61142
|
}
|
|
61090
61143
|
return new _CodeDom_Functions_IsRegNumSfrFunctionCall__WEBPACK_IMPORTED_MODULE_33__.IsRegNumSfrFunctionCall(argumentExpr);
|
|
61091
61144
|
};
|
|
61092
61145
|
const isOgrnKCLangFunction = params => {
|
|
61093
|
-
var _params$
|
|
61146
|
+
var _params$54;
|
|
61094
61147
|
const errors = Array.from((0,_CodeDom_KCLangUtils__WEBPACK_IMPORTED_MODULE_23__.validateParams)(params, 1));
|
|
61095
61148
|
if (errors.length > 0) {
|
|
61096
61149
|
return errors;
|
|
61097
61150
|
}
|
|
61098
|
-
const argumentExpr = (0,_CodeDom_KCLangUtils__WEBPACK_IMPORTED_MODULE_23__.safeCastToStringFromExprOrValueRef)((_params$
|
|
61151
|
+
const argumentExpr = (0,_CodeDom_KCLangUtils__WEBPACK_IMPORTED_MODULE_23__.safeCastToStringFromExprOrValueRef)((_params$54 = params[0]) === null || _params$54 === void 0 ? void 0 : _params$54.argument);
|
|
61099
61152
|
if (argumentExpr == undefined) {
|
|
61100
61153
|
return (0,_CodeDom_KCLangUtils__WEBPACK_IMPORTED_MODULE_23__.defaultArgumentErrors)();
|
|
61101
61154
|
}
|
|
61102
61155
|
return new _CodeDom_Functions_IsOgrnFunctionCall__WEBPACK_IMPORTED_MODULE_34__.IsOgrnFunctionCall(argumentExpr);
|
|
61103
61156
|
};
|
|
61104
61157
|
const firstOrDefaultKCLangFunction = params => {
|
|
61105
|
-
var _params$
|
|
61158
|
+
var _params$55;
|
|
61106
61159
|
const errors = Array.from((0,_CodeDom_KCLangUtils__WEBPACK_IMPORTED_MODULE_23__.validateParams)(params, 1));
|
|
61107
61160
|
if (errors.length > 0) {
|
|
61108
61161
|
return errors;
|
|
61109
61162
|
}
|
|
61110
|
-
const argumentExpr = (_params$
|
|
61163
|
+
const argumentExpr = (_params$55 = params[0]) === null || _params$55 === void 0 ? void 0 : _params$55.argument;
|
|
61111
61164
|
if (argumentExpr == undefined) {
|
|
61112
61165
|
return (0,_CodeDom_KCLangUtils__WEBPACK_IMPORTED_MODULE_23__.defaultArgumentErrors)();
|
|
61113
61166
|
}
|
|
61114
61167
|
return new _CodeDom_Functions_FirstOrDefaultFunctionCall__WEBPACK_IMPORTED_MODULE_35__.FirstOrDefaultFunctionCall(argumentExpr);
|
|
61115
61168
|
};
|
|
61116
61169
|
const nodepsKCLangFunction = params => {
|
|
61117
|
-
var _params$
|
|
61170
|
+
var _params$56;
|
|
61118
61171
|
const errors = Array.from((0,_CodeDom_KCLangUtils__WEBPACK_IMPORTED_MODULE_23__.validateParams)(params, 1));
|
|
61119
61172
|
if (errors.length > 0) {
|
|
61120
61173
|
return errors;
|
|
61121
61174
|
}
|
|
61122
|
-
const argumentExpr = (_params$
|
|
61175
|
+
const argumentExpr = (_params$56 = params[0]) === null || _params$56 === void 0 ? void 0 : _params$56.argument;
|
|
61123
61176
|
if (argumentExpr == undefined) {
|
|
61124
61177
|
return (0,_CodeDom_KCLangUtils__WEBPACK_IMPORTED_MODULE_23__.defaultArgumentErrors)();
|
|
61125
61178
|
}
|
|
61126
61179
|
return new _CodeDom_Functions_NodepsFunctionCall__WEBPACK_IMPORTED_MODULE_36__.NodepsFunctionCall(argumentExpr);
|
|
61127
61180
|
};
|
|
61128
61181
|
const hashSetKCLangFunction = params => {
|
|
61129
|
-
var _ref6, _safeCastExprToTypeOr5, _params$
|
|
61182
|
+
var _ref6, _safeCastExprToTypeOr5, _params$57, _params$58, _params$59;
|
|
61130
61183
|
const errors = Array.from((0,_CodeDom_KCLangUtils__WEBPACK_IMPORTED_MODULE_23__.validateParams)(params, 1));
|
|
61131
61184
|
if (errors.length > 0) {
|
|
61132
61185
|
return errors;
|
|
61133
61186
|
}
|
|
61134
|
-
const argumentExpr = (_ref6 = (_safeCastExprToTypeOr5 = (0,_CodeDom_KCLangUtils__WEBPACK_IMPORTED_MODULE_23__.safeCastExprToTypeOrConvertValueRef)((_params$
|
|
61187
|
+
const argumentExpr = (_ref6 = (_safeCastExprToTypeOr5 = (0,_CodeDom_KCLangUtils__WEBPACK_IMPORTED_MODULE_23__.safeCastExprToTypeOrConvertValueRef)((_params$57 = params[0]) === null || _params$57 === void 0 ? void 0 : _params$57.argument, _CodeDom_KCLangType__WEBPACK_IMPORTED_MODULE_0__.StringArrayType.default)) !== null && _safeCastExprToTypeOr5 !== void 0 ? _safeCastExprToTypeOr5 : (0,_CodeDom_KCLangUtils__WEBPACK_IMPORTED_MODULE_23__.safeCastExprToTypeOrConvertValueRef)((_params$58 = params[0]) === null || _params$58 === void 0 ? void 0 : _params$58.argument, _CodeDom_KCLangType__WEBPACK_IMPORTED_MODULE_0__.StringType.default)) !== null && _ref6 !== void 0 ? _ref6 : (0,_CastUtils__WEBPACK_IMPORTED_MODULE_10__.safeCast)((_params$59 = params[0]) === null || _params$59 === void 0 ? void 0 : _params$59.argument, _CodeDom_ValueReferenceExpression__WEBPACK_IMPORTED_MODULE_11__.ValueReferenceExpression);
|
|
61135
61188
|
if (argumentExpr == undefined) {
|
|
61136
61189
|
return (0,_CodeDom_KCLangUtils__WEBPACK_IMPORTED_MODULE_23__.defaultArgumentErrors)();
|
|
61137
61190
|
}
|
|
@@ -61156,225 +61209,225 @@ const arrayKCLangFunction = params => {
|
|
|
61156
61209
|
return new _CodeDom_Functions_ArrayFunctionCall__WEBPACK_IMPORTED_MODULE_38__.ArrayFunctionCall(...expressions.filter(expr => expr != undefined));
|
|
61157
61210
|
};
|
|
61158
61211
|
const instanceCountKCLangFunction = params => {
|
|
61159
|
-
var _params$
|
|
61212
|
+
var _params$60;
|
|
61160
61213
|
const errors = Array.from((0,_CodeDom_KCLangUtils__WEBPACK_IMPORTED_MODULE_23__.validateParams)(params, 1));
|
|
61161
61214
|
if (errors.length > 0) {
|
|
61162
61215
|
return errors;
|
|
61163
61216
|
}
|
|
61164
|
-
const argumentExpr = (0,_CastUtils__WEBPACK_IMPORTED_MODULE_10__.safeCast)((_params$
|
|
61217
|
+
const argumentExpr = (0,_CastUtils__WEBPACK_IMPORTED_MODULE_10__.safeCast)((_params$60 = params[0]) === null || _params$60 === void 0 ? void 0 : _params$60.argument, _CodeDom_ValueReferenceExpression__WEBPACK_IMPORTED_MODULE_11__.ValueReferenceExpression);
|
|
61165
61218
|
if (argumentExpr == undefined) {
|
|
61166
61219
|
return (0,_CodeDom_KCLangUtils__WEBPACK_IMPORTED_MODULE_23__.defaultArgumentErrors)();
|
|
61167
61220
|
}
|
|
61168
61221
|
return new _CodeDom_Functions_InstanceCountFunctionCall__WEBPACK_IMPORTED_MODULE_39__.InstanceCountFunctionCall(argumentExpr);
|
|
61169
61222
|
};
|
|
61170
61223
|
const getDaysInMonthKCLangFunction = params => {
|
|
61171
|
-
var _safeCastExprToTypeOr6, _params$
|
|
61224
|
+
var _safeCastExprToTypeOr6, _params$61, _params$62;
|
|
61172
61225
|
const errors = Array.from((0,_CodeDom_KCLangUtils__WEBPACK_IMPORTED_MODULE_23__.validateParams)(params, 1));
|
|
61173
61226
|
if (errors.length > 0) {
|
|
61174
61227
|
return errors;
|
|
61175
61228
|
}
|
|
61176
|
-
const argumentExpr = (_safeCastExprToTypeOr6 = (0,_CodeDom_KCLangUtils__WEBPACK_IMPORTED_MODULE_23__.safeCastExprToTypeOrConvertValueRef)((_params$
|
|
61229
|
+
const argumentExpr = (_safeCastExprToTypeOr6 = (0,_CodeDom_KCLangUtils__WEBPACK_IMPORTED_MODULE_23__.safeCastExprToTypeOrConvertValueRef)((_params$61 = params[0]) === null || _params$61 === void 0 ? void 0 : _params$61.argument, _CodeDom_KCLangType__WEBPACK_IMPORTED_MODULE_0__.DateType.default)) !== null && _safeCastExprToTypeOr6 !== void 0 ? _safeCastExprToTypeOr6 : (0,_CastUtils__WEBPACK_IMPORTED_MODULE_10__.safeCast)((_params$62 = params[0]) === null || _params$62 === void 0 ? void 0 : _params$62.argument, _CodeDom_ValueReferenceExpression__WEBPACK_IMPORTED_MODULE_11__.ValueReferenceExpression);
|
|
61177
61230
|
if (argumentExpr == undefined) {
|
|
61178
61231
|
return (0,_CodeDom_KCLangUtils__WEBPACK_IMPORTED_MODULE_23__.defaultArgumentErrors)();
|
|
61179
61232
|
}
|
|
61180
61233
|
return new _CodeDom_Functions_GetDaysInMonthFunctionCall__WEBPACK_IMPORTED_MODULE_40__.GetDaysInMonthFunctionCall(argumentExpr);
|
|
61181
61234
|
};
|
|
61182
61235
|
const getDayKCLangFunction = params => {
|
|
61183
|
-
var _params$
|
|
61236
|
+
var _params$63;
|
|
61184
61237
|
const errors = Array.from((0,_CodeDom_KCLangUtils__WEBPACK_IMPORTED_MODULE_23__.validateParams)(params, 1));
|
|
61185
61238
|
if (errors.length > 0) {
|
|
61186
61239
|
return errors;
|
|
61187
61240
|
}
|
|
61188
|
-
const argumentExpr = (0,_CodeDom_KCLangUtils__WEBPACK_IMPORTED_MODULE_23__.safeCastExprToTypeOrConvertValueRef)((_params$
|
|
61241
|
+
const argumentExpr = (0,_CodeDom_KCLangUtils__WEBPACK_IMPORTED_MODULE_23__.safeCastExprToTypeOrConvertValueRef)((_params$63 = params[0]) === null || _params$63 === void 0 ? void 0 : _params$63.argument, _CodeDom_KCLangType__WEBPACK_IMPORTED_MODULE_0__.DateType.default);
|
|
61189
61242
|
if (argumentExpr == undefined) {
|
|
61190
61243
|
return (0,_CodeDom_KCLangUtils__WEBPACK_IMPORTED_MODULE_23__.defaultArgumentErrors)();
|
|
61191
61244
|
}
|
|
61192
61245
|
return new _CodeDom_Functions_GetDayFunctionCall__WEBPACK_IMPORTED_MODULE_41__.GetDayFunctionCall(argumentExpr);
|
|
61193
61246
|
};
|
|
61194
61247
|
const getMonthKCLangFunction = params => {
|
|
61195
|
-
var _params$
|
|
61248
|
+
var _params$64;
|
|
61196
61249
|
const errors = Array.from((0,_CodeDom_KCLangUtils__WEBPACK_IMPORTED_MODULE_23__.validateParams)(params, 1));
|
|
61197
61250
|
if (errors.length > 0) {
|
|
61198
61251
|
return errors;
|
|
61199
61252
|
}
|
|
61200
|
-
const argumentExpr = (0,_CodeDom_KCLangUtils__WEBPACK_IMPORTED_MODULE_23__.safeCastExprToTypeOrConvertValueRef)((_params$
|
|
61253
|
+
const argumentExpr = (0,_CodeDom_KCLangUtils__WEBPACK_IMPORTED_MODULE_23__.safeCastExprToTypeOrConvertValueRef)((_params$64 = params[0]) === null || _params$64 === void 0 ? void 0 : _params$64.argument, _CodeDom_KCLangType__WEBPACK_IMPORTED_MODULE_0__.DateType.default);
|
|
61201
61254
|
if (argumentExpr == undefined) {
|
|
61202
61255
|
return (0,_CodeDom_KCLangUtils__WEBPACK_IMPORTED_MODULE_23__.defaultArgumentErrors)();
|
|
61203
61256
|
}
|
|
61204
61257
|
return new _CodeDom_Functions_GetMonthFunctionCall__WEBPACK_IMPORTED_MODULE_42__.GetMonthFunctionCall(argumentExpr);
|
|
61205
61258
|
};
|
|
61206
61259
|
const getYearKCLangFunction = params => {
|
|
61207
|
-
var _params$
|
|
61260
|
+
var _params$65;
|
|
61208
61261
|
const errors = Array.from((0,_CodeDom_KCLangUtils__WEBPACK_IMPORTED_MODULE_23__.validateParams)(params, 1));
|
|
61209
61262
|
if (errors.length > 0) {
|
|
61210
61263
|
return errors;
|
|
61211
61264
|
}
|
|
61212
|
-
const argumentExpr = (0,_CodeDom_KCLangUtils__WEBPACK_IMPORTED_MODULE_23__.safeCastExprToTypeOrConvertValueRef)((_params$
|
|
61265
|
+
const argumentExpr = (0,_CodeDom_KCLangUtils__WEBPACK_IMPORTED_MODULE_23__.safeCastExprToTypeOrConvertValueRef)((_params$65 = params[0]) === null || _params$65 === void 0 ? void 0 : _params$65.argument, _CodeDom_KCLangType__WEBPACK_IMPORTED_MODULE_0__.DateType.default);
|
|
61213
61266
|
if (argumentExpr == undefined) {
|
|
61214
61267
|
return (0,_CodeDom_KCLangUtils__WEBPACK_IMPORTED_MODULE_23__.defaultArgumentErrors)();
|
|
61215
61268
|
}
|
|
61216
61269
|
return new _CodeDom_Functions_GetYearFunctionCall__WEBPACK_IMPORTED_MODULE_43__.GetYearFunctionCall(argumentExpr);
|
|
61217
61270
|
};
|
|
61218
61271
|
const isDateKCLangFunction = params => {
|
|
61219
|
-
var _params$
|
|
61272
|
+
var _params$66;
|
|
61220
61273
|
const errors = Array.from((0,_CodeDom_KCLangUtils__WEBPACK_IMPORTED_MODULE_23__.validateParams)(params, 1));
|
|
61221
61274
|
if (errors.length > 0) {
|
|
61222
61275
|
return errors;
|
|
61223
61276
|
}
|
|
61224
|
-
const argumentExpr = (0,_CodeDom_KCLangUtils__WEBPACK_IMPORTED_MODULE_23__.safeCastToStringFromExprOrValueRef)((_params$
|
|
61277
|
+
const argumentExpr = (0,_CodeDom_KCLangUtils__WEBPACK_IMPORTED_MODULE_23__.safeCastToStringFromExprOrValueRef)((_params$66 = params[0]) === null || _params$66 === void 0 ? void 0 : _params$66.argument);
|
|
61225
61278
|
if (argumentExpr == undefined) {
|
|
61226
61279
|
return (0,_CodeDom_KCLangUtils__WEBPACK_IMPORTED_MODULE_23__.defaultArgumentErrors)();
|
|
61227
61280
|
}
|
|
61228
61281
|
return new _CodeDom_Functions_IsDateFunctionCall__WEBPACK_IMPORTED_MODULE_44__.IsDateFunctionCall(argumentExpr);
|
|
61229
61282
|
};
|
|
61230
61283
|
const differenceInMonthsKCLangFunction = params => {
|
|
61231
|
-
var _params$
|
|
61284
|
+
var _params$67, _params$68;
|
|
61232
61285
|
const errors = Array.from((0,_CodeDom_KCLangUtils__WEBPACK_IMPORTED_MODULE_23__.validateParams)(params, 2));
|
|
61233
61286
|
if (errors.length > 0) {
|
|
61234
61287
|
return errors;
|
|
61235
61288
|
}
|
|
61236
|
-
const startDateExpr = (0,_CodeDom_KCLangUtils__WEBPACK_IMPORTED_MODULE_23__.safeCastExprToTypeOrConvertValueRef)((_params$
|
|
61237
|
-
const endDateExpr = (0,_CodeDom_KCLangUtils__WEBPACK_IMPORTED_MODULE_23__.safeCastExprToTypeOrConvertValueRef)((_params$
|
|
61289
|
+
const startDateExpr = (0,_CodeDom_KCLangUtils__WEBPACK_IMPORTED_MODULE_23__.safeCastExprToTypeOrConvertValueRef)((_params$67 = params[0]) === null || _params$67 === void 0 ? void 0 : _params$67.argument, _CodeDom_KCLangType__WEBPACK_IMPORTED_MODULE_0__.DateType.default);
|
|
61290
|
+
const endDateExpr = (0,_CodeDom_KCLangUtils__WEBPACK_IMPORTED_MODULE_23__.safeCastExprToTypeOrConvertValueRef)((_params$68 = params[1]) === null || _params$68 === void 0 ? void 0 : _params$68.argument, _CodeDom_KCLangType__WEBPACK_IMPORTED_MODULE_0__.DateType.default);
|
|
61238
61291
|
if (startDateExpr == undefined || endDateExpr == undefined) {
|
|
61239
61292
|
return (0,_CodeDom_KCLangUtils__WEBPACK_IMPORTED_MODULE_23__.defaultArgumentErrors)();
|
|
61240
61293
|
}
|
|
61241
61294
|
return new _CodeDom_Functions_DifferenceInMonthsFunctionCall__WEBPACK_IMPORTED_MODULE_45__.DifferenceInMonthsFunctionCall(startDateExpr, endDateExpr);
|
|
61242
61295
|
};
|
|
61243
61296
|
const differenceInDaysKCLangFunction = params => {
|
|
61244
|
-
var _safeCastExprToTypeOr7, _params$
|
|
61297
|
+
var _safeCastExprToTypeOr7, _params$69, _params$70, _safeCastExprToTypeOr8, _params$71, _params$72;
|
|
61245
61298
|
const errors = Array.from((0,_CodeDom_KCLangUtils__WEBPACK_IMPORTED_MODULE_23__.validateParams)(params, 2));
|
|
61246
61299
|
if (errors.length > 0) {
|
|
61247
61300
|
return errors;
|
|
61248
61301
|
}
|
|
61249
|
-
const startDateExpr = (_safeCastExprToTypeOr7 = (0,_CodeDom_KCLangUtils__WEBPACK_IMPORTED_MODULE_23__.safeCastExprToTypeOrConvertValueRef)((_params$
|
|
61250
|
-
const endDateExpr = (_safeCastExprToTypeOr8 = (0,_CodeDom_KCLangUtils__WEBPACK_IMPORTED_MODULE_23__.safeCastExprToTypeOrConvertValueRef)((_params$
|
|
61302
|
+
const startDateExpr = (_safeCastExprToTypeOr7 = (0,_CodeDom_KCLangUtils__WEBPACK_IMPORTED_MODULE_23__.safeCastExprToTypeOrConvertValueRef)((_params$69 = params[0]) === null || _params$69 === void 0 ? void 0 : _params$69.argument, _CodeDom_KCLangType__WEBPACK_IMPORTED_MODULE_0__.DateType.default)) !== null && _safeCastExprToTypeOr7 !== void 0 ? _safeCastExprToTypeOr7 : (0,_CastUtils__WEBPACK_IMPORTED_MODULE_10__.safeCast)((_params$70 = params[0]) === null || _params$70 === void 0 ? void 0 : _params$70.argument, _CodeDom_ValueReferenceExpression__WEBPACK_IMPORTED_MODULE_11__.ValueReferenceExpression);
|
|
61303
|
+
const endDateExpr = (_safeCastExprToTypeOr8 = (0,_CodeDom_KCLangUtils__WEBPACK_IMPORTED_MODULE_23__.safeCastExprToTypeOrConvertValueRef)((_params$71 = params[1]) === null || _params$71 === void 0 ? void 0 : _params$71.argument, _CodeDom_KCLangType__WEBPACK_IMPORTED_MODULE_0__.DateType.default)) !== null && _safeCastExprToTypeOr8 !== void 0 ? _safeCastExprToTypeOr8 : (0,_CastUtils__WEBPACK_IMPORTED_MODULE_10__.safeCast)((_params$72 = params[1]) === null || _params$72 === void 0 ? void 0 : _params$72.argument, _CodeDom_ValueReferenceExpression__WEBPACK_IMPORTED_MODULE_11__.ValueReferenceExpression);
|
|
61251
61304
|
if (startDateExpr == undefined || endDateExpr == undefined) {
|
|
61252
61305
|
return (0,_CodeDom_KCLangUtils__WEBPACK_IMPORTED_MODULE_23__.defaultArgumentErrors)();
|
|
61253
61306
|
}
|
|
61254
61307
|
return new _CodeDom_Functions_DifferenceInDaysFunctionCall__WEBPACK_IMPORTED_MODULE_46__.DifferenceInDaysFunctionCall(startDateExpr, endDateExpr);
|
|
61255
61308
|
};
|
|
61256
61309
|
const sumOfDayWeightsKCLangFunction = params => {
|
|
61257
|
-
var _params$
|
|
61310
|
+
var _params$73, _params$74;
|
|
61258
61311
|
const errors = Array.from((0,_CodeDom_KCLangUtils__WEBPACK_IMPORTED_MODULE_23__.validateParams)(params, 2));
|
|
61259
61312
|
if (errors.length > 0) {
|
|
61260
61313
|
return errors;
|
|
61261
61314
|
}
|
|
61262
|
-
const startDateExpr = (0,_CodeDom_KCLangUtils__WEBPACK_IMPORTED_MODULE_23__.safeCastExprToTypeOrConvertValueRef)((_params$
|
|
61263
|
-
const endDateExpr = (0,_CodeDom_KCLangUtils__WEBPACK_IMPORTED_MODULE_23__.safeCastExprToTypeOrConvertValueRef)((_params$
|
|
61315
|
+
const startDateExpr = (0,_CodeDom_KCLangUtils__WEBPACK_IMPORTED_MODULE_23__.safeCastExprToTypeOrConvertValueRef)((_params$73 = params[0]) === null || _params$73 === void 0 ? void 0 : _params$73.argument, _CodeDom_KCLangType__WEBPACK_IMPORTED_MODULE_0__.DateType.default);
|
|
61316
|
+
const endDateExpr = (0,_CodeDom_KCLangUtils__WEBPACK_IMPORTED_MODULE_23__.safeCastExprToTypeOrConvertValueRef)((_params$74 = params[1]) === null || _params$74 === void 0 ? void 0 : _params$74.argument, _CodeDom_KCLangType__WEBPACK_IMPORTED_MODULE_0__.DateType.default);
|
|
61264
61317
|
if (startDateExpr == undefined || endDateExpr == undefined) {
|
|
61265
61318
|
return (0,_CodeDom_KCLangUtils__WEBPACK_IMPORTED_MODULE_23__.defaultArgumentErrors)();
|
|
61266
61319
|
}
|
|
61267
61320
|
return new _CodeDom_Functions_SumOfDayWeightsFunctionCall__WEBPACK_IMPORTED_MODULE_47__.SumOfDayWeightsFunctionCall(startDateExpr, endDateExpr);
|
|
61268
61321
|
};
|
|
61269
61322
|
const addDaysKCLangFunction = params => {
|
|
61270
|
-
var _params$
|
|
61323
|
+
var _params$75, _params$76;
|
|
61271
61324
|
const errors = Array.from((0,_CodeDom_KCLangUtils__WEBPACK_IMPORTED_MODULE_23__.validateParams)(params, 2));
|
|
61272
61325
|
if (errors.length > 0) {
|
|
61273
61326
|
return errors;
|
|
61274
61327
|
}
|
|
61275
|
-
const dateExpr = (0,_CodeDom_KCLangUtils__WEBPACK_IMPORTED_MODULE_23__.safeCastExprToTypeOrConvertValueRef)((_params$
|
|
61276
|
-
const daysExpr = (0,_CodeDom_KCLangUtils__WEBPACK_IMPORTED_MODULE_23__.safeCastExprToTypeOrConvertValueRef)((_params$
|
|
61328
|
+
const dateExpr = (0,_CodeDom_KCLangUtils__WEBPACK_IMPORTED_MODULE_23__.safeCastExprToTypeOrConvertValueRef)((_params$75 = params[0]) === null || _params$75 === void 0 ? void 0 : _params$75.argument, _CodeDom_KCLangType__WEBPACK_IMPORTED_MODULE_0__.DateType.default);
|
|
61329
|
+
const daysExpr = (0,_CodeDom_KCLangUtils__WEBPACK_IMPORTED_MODULE_23__.safeCastExprToTypeOrConvertValueRef)((_params$76 = params[1]) === null || _params$76 === void 0 ? void 0 : _params$76.argument, _CodeDom_KCLangType__WEBPACK_IMPORTED_MODULE_0__.DecimalType.default);
|
|
61277
61330
|
if (dateExpr == undefined || daysExpr == undefined) {
|
|
61278
61331
|
return (0,_CodeDom_KCLangUtils__WEBPACK_IMPORTED_MODULE_23__.defaultArgumentErrors)();
|
|
61279
61332
|
}
|
|
61280
61333
|
return new _CodeDom_Functions_AddDaysFunctionCall__WEBPACK_IMPORTED_MODULE_48__.AddDaysFunctionCall(dateExpr, daysExpr);
|
|
61281
61334
|
};
|
|
61282
61335
|
const addMonthsKCLangFunction = params => {
|
|
61283
|
-
var _params$
|
|
61336
|
+
var _params$77, _params$78;
|
|
61284
61337
|
const errors = Array.from((0,_CodeDom_KCLangUtils__WEBPACK_IMPORTED_MODULE_23__.validateParams)(params, 2));
|
|
61285
61338
|
if (errors.length > 0) {
|
|
61286
61339
|
return errors;
|
|
61287
61340
|
}
|
|
61288
|
-
const dateExpr = (0,_CodeDom_KCLangUtils__WEBPACK_IMPORTED_MODULE_23__.safeCastExprToTypeOrConvertValueRef)((_params$
|
|
61289
|
-
const monthsExpr = (0,_CodeDom_KCLangUtils__WEBPACK_IMPORTED_MODULE_23__.safeCastExprToTypeOrConvertValueRef)((_params$
|
|
61341
|
+
const dateExpr = (0,_CodeDom_KCLangUtils__WEBPACK_IMPORTED_MODULE_23__.safeCastExprToTypeOrConvertValueRef)((_params$77 = params[0]) === null || _params$77 === void 0 ? void 0 : _params$77.argument, _CodeDom_KCLangType__WEBPACK_IMPORTED_MODULE_0__.DateType.default);
|
|
61342
|
+
const monthsExpr = (0,_CodeDom_KCLangUtils__WEBPACK_IMPORTED_MODULE_23__.safeCastExprToTypeOrConvertValueRef)((_params$78 = params[1]) === null || _params$78 === void 0 ? void 0 : _params$78.argument, _CodeDom_KCLangType__WEBPACK_IMPORTED_MODULE_0__.DecimalType.default);
|
|
61290
61343
|
if (dateExpr == undefined || monthsExpr == undefined) {
|
|
61291
61344
|
return (0,_CodeDom_KCLangUtils__WEBPACK_IMPORTED_MODULE_23__.defaultArgumentErrors)();
|
|
61292
61345
|
}
|
|
61293
61346
|
return new _CodeDom_Functions_AddMonthsFunctionCall__WEBPACK_IMPORTED_MODULE_49__.AddMonthsFunctionCall(dateExpr, monthsExpr);
|
|
61294
61347
|
};
|
|
61295
61348
|
const addYearsKCLangFunction = params => {
|
|
61296
|
-
var _params$
|
|
61349
|
+
var _params$79, _params$80;
|
|
61297
61350
|
const errors = Array.from((0,_CodeDom_KCLangUtils__WEBPACK_IMPORTED_MODULE_23__.validateParams)(params, 2));
|
|
61298
61351
|
if (errors.length > 0) {
|
|
61299
61352
|
return errors;
|
|
61300
61353
|
}
|
|
61301
|
-
const dateExpr = (0,_CodeDom_KCLangUtils__WEBPACK_IMPORTED_MODULE_23__.safeCastExprToTypeOrConvertValueRef)((_params$
|
|
61302
|
-
const yearsExpr = (0,_CodeDom_KCLangUtils__WEBPACK_IMPORTED_MODULE_23__.safeCastExprToTypeOrConvertValueRef)((_params$
|
|
61354
|
+
const dateExpr = (0,_CodeDom_KCLangUtils__WEBPACK_IMPORTED_MODULE_23__.safeCastExprToTypeOrConvertValueRef)((_params$79 = params[0]) === null || _params$79 === void 0 ? void 0 : _params$79.argument, _CodeDom_KCLangType__WEBPACK_IMPORTED_MODULE_0__.DateType.default);
|
|
61355
|
+
const yearsExpr = (0,_CodeDom_KCLangUtils__WEBPACK_IMPORTED_MODULE_23__.safeCastExprToTypeOrConvertValueRef)((_params$80 = params[1]) === null || _params$80 === void 0 ? void 0 : _params$80.argument, _CodeDom_KCLangType__WEBPACK_IMPORTED_MODULE_0__.DecimalType.default);
|
|
61303
61356
|
if (dateExpr == undefined || yearsExpr == undefined) {
|
|
61304
61357
|
return (0,_CodeDom_KCLangUtils__WEBPACK_IMPORTED_MODULE_23__.defaultArgumentErrors)();
|
|
61305
61358
|
}
|
|
61306
61359
|
return new _CodeDom_Functions_AddYearsFunctionCall__WEBPACK_IMPORTED_MODULE_50__.AddYearsFunctionCall(dateExpr, yearsExpr);
|
|
61307
61360
|
};
|
|
61308
61361
|
const dateToStringKCLangFunction = params => {
|
|
61309
|
-
var _params$
|
|
61362
|
+
var _params$81, _params$82;
|
|
61310
61363
|
const errors = Array.from((0,_CodeDom_KCLangUtils__WEBPACK_IMPORTED_MODULE_23__.validateParams)(params, 1, 1));
|
|
61311
61364
|
if (errors.length > 0) {
|
|
61312
61365
|
return errors;
|
|
61313
61366
|
}
|
|
61314
|
-
const argumentExpr = (0,_CodeDom_KCLangUtils__WEBPACK_IMPORTED_MODULE_23__.safeCastExprToTypeOrConvertValueRef)((_params$
|
|
61315
|
-
const format = (0,_CodeDom_KCLangUtils__WEBPACK_IMPORTED_MODULE_23__.safeCastExprToTypeOrConvertValueRef)((_params$
|
|
61367
|
+
const argumentExpr = (0,_CodeDom_KCLangUtils__WEBPACK_IMPORTED_MODULE_23__.safeCastExprToTypeOrConvertValueRef)((_params$81 = params[0]) === null || _params$81 === void 0 ? void 0 : _params$81.argument, _CodeDom_KCLangType__WEBPACK_IMPORTED_MODULE_0__.DateType.default);
|
|
61368
|
+
const format = (0,_CodeDom_KCLangUtils__WEBPACK_IMPORTED_MODULE_23__.safeCastExprToTypeOrConvertValueRef)((_params$82 = params[1]) === null || _params$82 === void 0 ? void 0 : _params$82.argument, _CodeDom_KCLangType__WEBPACK_IMPORTED_MODULE_0__.StringType.default);
|
|
61316
61369
|
if (argumentExpr == undefined) {
|
|
61317
61370
|
return (0,_CodeDom_KCLangUtils__WEBPACK_IMPORTED_MODULE_23__.defaultArgumentErrors)();
|
|
61318
61371
|
}
|
|
61319
61372
|
return new _CodeDom_Functions_DateToStringFunctionCall__WEBPACK_IMPORTED_MODULE_51__.DateToStringFunctionCall(argumentExpr, format);
|
|
61320
61373
|
};
|
|
61321
61374
|
const hasAutoFlagKCLangFunction = params => {
|
|
61322
|
-
var _params$
|
|
61375
|
+
var _params$83;
|
|
61323
61376
|
const errors = Array.from((0,_CodeDom_KCLangUtils__WEBPACK_IMPORTED_MODULE_23__.validateParams)(params, 1));
|
|
61324
61377
|
if (errors.length > 0) {
|
|
61325
61378
|
return errors;
|
|
61326
61379
|
}
|
|
61327
|
-
const argumentExpr = (0,_CastUtils__WEBPACK_IMPORTED_MODULE_10__.safeCast)((_params$
|
|
61380
|
+
const argumentExpr = (0,_CastUtils__WEBPACK_IMPORTED_MODULE_10__.safeCast)((_params$83 = params[0]) === null || _params$83 === void 0 ? void 0 : _params$83.argument, _CodeDom_ValueReferenceExpression__WEBPACK_IMPORTED_MODULE_11__.ValueReferenceExpression);
|
|
61328
61381
|
if (argumentExpr == undefined) {
|
|
61329
61382
|
return (0,_CodeDom_KCLangUtils__WEBPACK_IMPORTED_MODULE_23__.defaultArgumentErrors)();
|
|
61330
61383
|
}
|
|
61331
61384
|
return new _CodeDom_Functions_HasAutoFlagFunctionCall__WEBPACK_IMPORTED_MODULE_52__.HasAutoFlagFunctionCall(argumentExpr);
|
|
61332
61385
|
};
|
|
61333
61386
|
const makeDictKCLangFunction = params => {
|
|
61334
|
-
var _params$
|
|
61387
|
+
var _params$84, _params$85;
|
|
61335
61388
|
const errors = Array.from((0,_CodeDom_KCLangUtils__WEBPACK_IMPORTED_MODULE_23__.validateParams)(params, 2));
|
|
61336
61389
|
if (errors.length > 0) {
|
|
61337
61390
|
return errors;
|
|
61338
61391
|
}
|
|
61339
|
-
const sourceKeyPath = (0,_CastUtils__WEBPACK_IMPORTED_MODULE_10__.safeCast)((_params$
|
|
61340
|
-
const sourceValuePath = (0,_CodeDom_KCLangUtils__WEBPACK_IMPORTED_MODULE_23__.safeCastExprToTypeOrConvertValueRef)((_params$
|
|
61392
|
+
const sourceKeyPath = (0,_CastUtils__WEBPACK_IMPORTED_MODULE_10__.safeCast)((_params$84 = params[0]) === null || _params$84 === void 0 ? void 0 : _params$84.argument, _CodeDom_ValueReferenceExpression__WEBPACK_IMPORTED_MODULE_11__.ValueReferenceExpression);
|
|
61393
|
+
const sourceValuePath = (0,_CodeDom_KCLangUtils__WEBPACK_IMPORTED_MODULE_23__.safeCastExprToTypeOrConvertValueRef)((_params$85 = params[1]) === null || _params$85 === void 0 ? void 0 : _params$85.argument, _CodeDom_KCLangType__WEBPACK_IMPORTED_MODULE_0__.DecimalType.default);
|
|
61341
61394
|
if (sourceKeyPath == undefined || sourceValuePath == undefined) {
|
|
61342
61395
|
return (0,_CodeDom_KCLangUtils__WEBPACK_IMPORTED_MODULE_23__.defaultArgumentErrors)();
|
|
61343
61396
|
}
|
|
61344
61397
|
return new _CodeDom_Functions_MakeDictFunctionCall__WEBPACK_IMPORTED_MODULE_53__.MakeDictFunctionCall(sourceKeyPath, sourceValuePath);
|
|
61345
61398
|
};
|
|
61346
61399
|
const getSumByKeysKCLangFunction = params => {
|
|
61347
|
-
var _params$
|
|
61400
|
+
var _params$86, _params$87;
|
|
61348
61401
|
const errors = Array.from((0,_CodeDom_KCLangUtils__WEBPACK_IMPORTED_MODULE_23__.validateParams)(params, 2));
|
|
61349
61402
|
if (errors.length > 0) {
|
|
61350
61403
|
return errors;
|
|
61351
61404
|
}
|
|
61352
|
-
const dictPath = (0,_CastUtils__WEBPACK_IMPORTED_MODULE_10__.safeCast)((_params$
|
|
61353
|
-
const targetKeys = (0,_CodeDom_KCLangUtils__WEBPACK_IMPORTED_MODULE_23__.safeCastExprToTypeOrConvertValueRef)((_params$
|
|
61405
|
+
const dictPath = (0,_CastUtils__WEBPACK_IMPORTED_MODULE_10__.safeCast)((_params$86 = params[0]) === null || _params$86 === void 0 ? void 0 : _params$86.argument, _CodeDom_ValueReferenceExpression__WEBPACK_IMPORTED_MODULE_11__.ValueReferenceExpression);
|
|
61406
|
+
const targetKeys = (0,_CodeDom_KCLangUtils__WEBPACK_IMPORTED_MODULE_23__.safeCastExprToTypeOrConvertValueRef)((_params$87 = params[1]) === null || _params$87 === void 0 ? void 0 : _params$87.argument, _CodeDom_KCLangType__WEBPACK_IMPORTED_MODULE_0__.StringArrayType.default);
|
|
61354
61407
|
if (dictPath == undefined || targetKeys == undefined) {
|
|
61355
61408
|
return (0,_CodeDom_KCLangUtils__WEBPACK_IMPORTED_MODULE_23__.defaultArgumentErrors)();
|
|
61356
61409
|
}
|
|
61357
61410
|
return new _CodeDom_Functions_GetSumByKeysFunctionCall__WEBPACK_IMPORTED_MODULE_54__.GetSumByKeysFunctionCall(dictPath, targetKeys);
|
|
61358
61411
|
};
|
|
61359
61412
|
const numeratorKCLangFunction = params => {
|
|
61360
|
-
var _params$
|
|
61413
|
+
var _params$88;
|
|
61361
61414
|
const errors = Array.from((0,_CodeDom_KCLangUtils__WEBPACK_IMPORTED_MODULE_23__.validateParams)(params, 1));
|
|
61362
61415
|
if (errors.length > 0) {
|
|
61363
61416
|
return errors;
|
|
61364
61417
|
}
|
|
61365
|
-
const argumentExpr = (0,_CodeDom_KCLangUtils__WEBPACK_IMPORTED_MODULE_23__.safeCastToStringFromExprOrValueRef)((_params$
|
|
61418
|
+
const argumentExpr = (0,_CodeDom_KCLangUtils__WEBPACK_IMPORTED_MODULE_23__.safeCastToStringFromExprOrValueRef)((_params$88 = params[0]) === null || _params$88 === void 0 ? void 0 : _params$88.argument);
|
|
61366
61419
|
if (argumentExpr == undefined) {
|
|
61367
61420
|
return (0,_CodeDom_KCLangUtils__WEBPACK_IMPORTED_MODULE_23__.defaultArgumentErrors)();
|
|
61368
61421
|
}
|
|
61369
61422
|
return new _CodeDom_Functions_NumeratorFunctionCall__WEBPACK_IMPORTED_MODULE_55__.NumeratorFunctionCall(argumentExpr);
|
|
61370
61423
|
};
|
|
61371
61424
|
const denominatorKCLangFunction = params => {
|
|
61372
|
-
var _params$
|
|
61425
|
+
var _params$89;
|
|
61373
61426
|
const errors = Array.from((0,_CodeDom_KCLangUtils__WEBPACK_IMPORTED_MODULE_23__.validateParams)(params, 1));
|
|
61374
61427
|
if (errors.length > 0) {
|
|
61375
61428
|
return errors;
|
|
61376
61429
|
}
|
|
61377
|
-
const argumentExpr = (0,_CodeDom_KCLangUtils__WEBPACK_IMPORTED_MODULE_23__.safeCastToStringFromExprOrValueRef)((_params$
|
|
61430
|
+
const argumentExpr = (0,_CodeDom_KCLangUtils__WEBPACK_IMPORTED_MODULE_23__.safeCastToStringFromExprOrValueRef)((_params$89 = params[0]) === null || _params$89 === void 0 ? void 0 : _params$89.argument);
|
|
61378
61431
|
if (argumentExpr == undefined) {
|
|
61379
61432
|
return (0,_CodeDom_KCLangUtils__WEBPACK_IMPORTED_MODULE_23__.defaultArgumentErrors)();
|
|
61380
61433
|
}
|
|
@@ -61385,7 +61438,7 @@ const uuidKCLangFunction = params => {
|
|
|
61385
61438
|
if (errors.length > 0) {
|
|
61386
61439
|
return errors;
|
|
61387
61440
|
}
|
|
61388
|
-
return new
|
|
61441
|
+
return new _CodeDom_Functions_UUIDFunctionCall__WEBPACK_IMPORTED_MODULE_59__.UUIDFunctionCall();
|
|
61389
61442
|
};
|
|
61390
61443
|
|
|
61391
61444
|
/***/ }),
|
|
@@ -64007,6 +64060,41 @@ class RegexMatchFunctionCall extends _FunctionCall__WEBPACK_IMPORTED_MODULE_0__.
|
|
|
64007
64060
|
|
|
64008
64061
|
/***/ }),
|
|
64009
64062
|
|
|
64063
|
+
/***/ "./Generator/src/common/KCLang/CodeDom/Functions/RegexReplaceFunctionCall.ts":
|
|
64064
|
+
/*!***********************************************************************************!*\
|
|
64065
|
+
!*** ./Generator/src/common/KCLang/CodeDom/Functions/RegexReplaceFunctionCall.ts ***!
|
|
64066
|
+
\***********************************************************************************/
|
|
64067
|
+
/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
|
|
64068
|
+
|
|
64069
|
+
"use strict";
|
|
64070
|
+
__webpack_require__.r(__webpack_exports__);
|
|
64071
|
+
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
64072
|
+
/* harmony export */ RegexReplaceFunctionCall: () => (/* binding */ RegexReplaceFunctionCall)
|
|
64073
|
+
/* harmony export */ });
|
|
64074
|
+
/* harmony import */ var _FunctionCall__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../FunctionCall */ "./Generator/src/common/KCLang/CodeDom/FunctionCall.ts");
|
|
64075
|
+
/* harmony import */ var _KCLangType__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../KCLangType */ "./Generator/src/common/KCLang/CodeDom/KCLangType.ts");
|
|
64076
|
+
|
|
64077
|
+
|
|
64078
|
+
class RegexReplaceFunctionCall extends _FunctionCall__WEBPACK_IMPORTED_MODULE_0__.FunctionCall {
|
|
64079
|
+
constructor(expr, pattern, replacement, flags) {
|
|
64080
|
+
const params = [expr, pattern, replacement];
|
|
64081
|
+
if (flags) {
|
|
64082
|
+
params.push(flags);
|
|
64083
|
+
}
|
|
64084
|
+
super("regexReplace", params, _KCLangType__WEBPACK_IMPORTED_MODULE_1__.StringType.default);
|
|
64085
|
+
this.argument = void 0;
|
|
64086
|
+
this.patternExpression = void 0;
|
|
64087
|
+
this.replacement = void 0;
|
|
64088
|
+
this.flags = void 0;
|
|
64089
|
+
this.argument = expr;
|
|
64090
|
+
this.patternExpression = pattern;
|
|
64091
|
+
this.replacement = replacement;
|
|
64092
|
+
this.flags = flags;
|
|
64093
|
+
}
|
|
64094
|
+
}
|
|
64095
|
+
|
|
64096
|
+
/***/ }),
|
|
64097
|
+
|
|
64010
64098
|
/***/ "./Generator/src/common/KCLang/CodeDom/Functions/RoundFunctionCall.ts":
|
|
64011
64099
|
/*!****************************************************************************!*\
|
|
64012
64100
|
!*** ./Generator/src/common/KCLang/CodeDom/Functions/RoundFunctionCall.ts ***!
|
|
@@ -65572,6 +65660,10 @@ function traverseKCLangExpression(node, visitor) {
|
|
|
65572
65660
|
traverseKCLangExpression(node.expression, visitor);
|
|
65573
65661
|
visitor.visitRegexMatchKCLangNode(node);
|
|
65574
65662
|
break;
|
|
65663
|
+
case "regexReplace":
|
|
65664
|
+
traverseKCLangExpression(node.expression, visitor);
|
|
65665
|
+
visitor.visitRegexReplaceKCLangNode(node);
|
|
65666
|
+
break;
|
|
65575
65667
|
case "concat":
|
|
65576
65668
|
for (const expression of node.expressions) {
|
|
65577
65669
|
traverseKCLangExpression(expression, visitor);
|
|
@@ -65762,6 +65854,9 @@ class DefaultKCLangExpressionVisitor {
|
|
|
65762
65854
|
visitRegexMatchKCLangNode(_node) {
|
|
65763
65855
|
// default empty implementation
|
|
65764
65856
|
}
|
|
65857
|
+
visitRegexReplaceKCLangNode(_node) {
|
|
65858
|
+
// default empty implementation
|
|
65859
|
+
}
|
|
65765
65860
|
visitConcatKCLangNode(_node) {
|
|
65766
65861
|
// default empty implementation
|
|
65767
65862
|
}
|
|
@@ -66029,6 +66124,15 @@ const getGenerateJsExpressionFunc = options => {
|
|
|
66029
66124
|
const pattern = expression.pattern.replace('"', '"');
|
|
66030
66125
|
return `${utilsName}.${regexpName}("${pattern}", ${generateJsExpression(expression.expression)})`;
|
|
66031
66126
|
}
|
|
66127
|
+
case "regexReplace":
|
|
66128
|
+
{
|
|
66129
|
+
// eslint-disable-next-line @typescript-eslint/unbound-method
|
|
66130
|
+
const regexName = gn(x => x.regexReplace);
|
|
66131
|
+
const pattern = expression.pattern.replace(/\\/g, "\\\\");
|
|
66132
|
+
const flags = expression.flags;
|
|
66133
|
+
const flagsArg = flags != null && flags !== "[undefined]" ? `, "${flags}"` : "";
|
|
66134
|
+
return `${utilsName}.${regexName}(${generateJsExpression(expression.expression)}, "${pattern}", "${expression.replacement}"${flagsArg})`;
|
|
66135
|
+
}
|
|
66032
66136
|
case "substring":
|
|
66033
66137
|
{
|
|
66034
66138
|
// eslint-disable-next-line @typescript-eslint/unbound-method
|
|
@@ -66362,6 +66466,12 @@ function generateKCXmlExpression(expression, prefixPath = "") {
|
|
|
66362
66466
|
const pattern = escapedPattern.match(/[\^\$]/g) != undefined ? escapedPattern : `^(${escapedPattern})$`;
|
|
66363
66467
|
return [`<m:regexMatch pattern="${pattern}">`, (0,_Common_IndentString__WEBPACK_IMPORTED_MODULE_2__.indent)(generateKCXmlExpression(expression.expression, prefixPath), 1), `</m:regexMatch>`].join("\n");
|
|
66364
66468
|
}
|
|
66469
|
+
case "regexReplace":
|
|
66470
|
+
{
|
|
66471
|
+
const escapedPattern = escapeHtmlCharacters(expression.pattern);
|
|
66472
|
+
const flags = expression.flags ? `flags="${expression.flags}"` : "";
|
|
66473
|
+
return [`<m:regexReplace pattern="${escapedPattern}" replacement="${expression.replacement}" ${flags}>`, (0,_Common_IndentString__WEBPACK_IMPORTED_MODULE_2__.indent)(generateKCXmlExpression(expression.expression, prefixPath), 1), `</m:regexReplace>`].join("\n");
|
|
66474
|
+
}
|
|
66365
66475
|
case "choose":
|
|
66366
66476
|
return [`<m:choose>`, ` <m:if>`, (0,_Common_IndentString__WEBPACK_IMPORTED_MODULE_2__.indent)(generateKCXmlExpression(expression.if, prefixPath), 2), ` </m:if>`, ` <m:then>`, (0,_Common_IndentString__WEBPACK_IMPORTED_MODULE_2__.indent)(generateKCXmlExpression(expression.then, prefixPath), 2), ` </m:then>`, ` <m:else>`, (0,_Common_IndentString__WEBPACK_IMPORTED_MODULE_2__.indent)(generateKCXmlExpression(expression.else, prefixPath), 2), ` </m:else>`, `</m:choose>`].join("\n");
|
|
66367
66477
|
break;
|
|
@@ -72689,6 +72799,7 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
72689
72799
|
/* harmony export */ FormulaOrExpression: () => (/* binding */ FormulaOrExpression),
|
|
72690
72800
|
/* harmony export */ FormulaPropertyByNameExpression: () => (/* binding */ FormulaPropertyByNameExpression),
|
|
72691
72801
|
/* harmony export */ FormulaRegexMatchExpression: () => (/* binding */ FormulaRegexMatchExpression),
|
|
72802
|
+
/* harmony export */ FormulaRegexReplaceExpression: () => (/* binding */ FormulaRegexReplaceExpression),
|
|
72692
72803
|
/* harmony export */ FormulaRoundExpression: () => (/* binding */ FormulaRoundExpression),
|
|
72693
72804
|
/* harmony export */ FormulaSubstringExpression: () => (/* binding */ FormulaSubstringExpression),
|
|
72694
72805
|
/* harmony export */ FormulaSumExpression: () => (/* binding */ FormulaSumExpression),
|
|
@@ -72712,7 +72823,7 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
72712
72823
|
|
|
72713
72824
|
|
|
72714
72825
|
|
|
72715
|
-
var _dec, _dec2, _class, _class2, _descriptor, _dec3, _class3, _dec4, _dec5, _class4, _class5, _descriptor2, _dec6, _dec7, _class6, _class7, _descriptor3, _dec8, _dec9, _class8, _class9, _descriptor4, _dec10, _dec11, _class10, _class11, _descriptor5, _dec12, _dec13, _class12, _class13, _descriptor6, _dec14, _dec15, _dec16, _class14, _class15, _descriptor7, _descriptor8, _dec17, _dec18, _dec19, _class16, _class17, _descriptor9, _descriptor10, _dec20, _dec21, _class18, _class19, _descriptor11,
|
|
72826
|
+
var _dec, _dec2, _class, _class2, _descriptor, _dec3, _class3, _dec4, _dec5, _class4, _class5, _descriptor2, _dec6, _dec7, _class6, _class7, _descriptor3, _dec8, _dec9, _class8, _class9, _descriptor4, _dec10, _dec11, _class10, _class11, _descriptor5, _dec12, _dec13, _class12, _class13, _descriptor6, _dec14, _dec15, _dec16, _class14, _class15, _descriptor7, _descriptor8, _dec17, _dec18, _dec19, _class16, _class17, _descriptor9, _descriptor10, _dec20, _dec21, _dec22, _dec23, _dec24, _class18, _class19, _descriptor11, _descriptor12, _descriptor13, _descriptor14, _dec25, _dec26, _class20, _class21, _descriptor15, _dec27, _dec28, _class22, _class23, _descriptor16, _dec29, _dec30, _class24, _class25, _descriptor17, _dec31, _dec32, _class26, _class27, _descriptor18, _dec33, _dec34, _class28, _class29, _descriptor19, _dec35, _dec36, _class30, _class31, _descriptor20, _dec37, _dec38, _class32, _class33, _descriptor21, _dec39, _dec40, _class34, _class35, _descriptor22, _dec41, _dec42, _class36, _class37, _descriptor23, _dec43, _dec44, _dec45, _dec46, _class38, _class39, _descriptor24, _descriptor25, _descriptor26, _dec47, _dec48, _class40, _class41, _descriptor27, _dec49, _dec50, _class42, _class43, _descriptor28, _dec51, _dec52, _dec53, _class44, _class45, _descriptor29, _descriptor30, _dec54, _dec55, _class46, _class47, _descriptor31, _dec56, _dec57, _class48, _class49, _descriptor32, _dec58, _dec59, _class50, _class51, _descriptor33, _dec60, _dec61, _class52, _class53, _descriptor34, _dec62, _dec63, _dec64, _class54, _class55, _descriptor35, _descriptor36, _dec65, _dec66, _dec67, _dec68, _class56, _class57, _descriptor37, _descriptor38, _descriptor39, _dec69, _dec70, _dec71, _class58, _class59, _descriptor40, _descriptor41, _dec72, _class60, _dec73, _dec74, _class61, _class62, _descriptor42, _dec75, _dec76, _class63, _class64, _descriptor43, _dec77, _dec78, _class65, _class66, _descriptor44, _dec79, _dec80, _class67, _class68, _descriptor45, _dec81, _dec82, _class69, _class70, _descriptor46, _dec83, _dec84, _class71, _class72, _descriptor47, _dec85, _dec86, _class73, _class74, _descriptor48, _dec87, _dec88, _class75, _class76, _descriptor49, _dec89, _dec90, _dec91, _class77, _class78, _descriptor50, _descriptor51, _dec92, _dec93, _dec94, _class79, _class80, _descriptor52, _descriptor53, _dec95, _dec96, _dec97, _class81, _class82, _descriptor54, _descriptor55, _dec98, _dec99, _dec100, _class83, _class84, _descriptor56, _descriptor57, _dec101, _dec102, _class85, _class86, _descriptor58, _dec103, _dec104, _class87, _class88, _descriptor59, _dec105, _dec106, _class89, _class90, _descriptor60, _dec107, _dec108, _class91, _class92, _descriptor61, _dec109, _dec110, _class93, _class94, _descriptor62, _dec111, _dec112, _class95, _class96, _descriptor63, _dec113, _dec114, _class97, _class98, _descriptor64, _dec115, _dec116, _class99, _class100, _descriptor65, _dec117, _dec118, _class101, _class102, _descriptor66, _dec119, _dec120, _dec121, _class103, _class104, _descriptor67, _descriptor68, _dec122, _dec123, _dec124, _class105, _class106, _descriptor69, _descriptor70, _dec125, _dec126, _class107, _class108, _descriptor71, _dec127, _dec128, _class109, _class110, _descriptor72, _dec129, _dec130, _class111, _class112, _descriptor73, _dec131, _dec132, _dec133, _dec134, _dec135, _class113, _class114, _descriptor74, _descriptor75, _descriptor76, _descriptor77, _dec136, _dec137, _class115, _class116, _descriptor78, _dec138, _dec139, _class117, _class118, _descriptor79, _dec140, _dec141, _class119, _class120, _descriptor80, _dec142, _dec143, _class121, _class122, _descriptor81, _dec144, _dec145, _dec146, _class123, _class124, _descriptor82, _descriptor83, _dec147, _dec148, _class125, _class126, _descriptor84, _dec149, _dec150, _dec151, _class127, _class128, _descriptor85, _descriptor86, _dec152, _dec153, _class129, _class130, _descriptor87, _dec154, _dec155, _class131, _class132, _descriptor88, _dec156, _dec157, _class133, _class134, _descriptor89, _dec158, _class135, _dec159, _dec160, _dec161, _dec162, _class136, _class137, _descriptor90, _descriptor91, _descriptor92, _dec163, _dec164, _class138, _class139, _descriptor93, _dec165, _dec166, _class140, _class141, _descriptor94, _dec167, _dec168, _dec169, _dec170, _dec171, _dec172, _class142, _class143, _descriptor95, _descriptor96, _descriptor97, _descriptor98, _descriptor99, _dec173, _dec174, _class144, _class145, _descriptor100, _dec175, _dec176, _dec177, _class146, _class147, _descriptor101, _descriptor102, _dec178, _dec179, _dec180, _class148, _class149, _descriptor103, _descriptor104, _dec181, _dec182, _dec183, _class150, _class151, _descriptor105, _descriptor106, _dec184, _dec185, _dec186, _dec187, _class152, _class153, _descriptor107, _descriptor108, _descriptor109, _dec188, _dec189, _dec190, _class154, _class155, _descriptor110, _descriptor111, _dec191, _dec192, _class156, _class157, _descriptor112, _dec193, _dec194, _class158, _class159, _descriptor113, _dec195, _dec196, _class160, _class161, _descriptor114, _dec197, _class162;
|
|
72716
72827
|
|
|
72717
72828
|
|
|
72718
72829
|
|
|
@@ -72849,1038 +72960,1067 @@ let FormulaRegexMatchExpression = (_dec17 = (0,_markupGenerator_Serializer_Sugar
|
|
|
72849
72960
|
writable: true,
|
|
72850
72961
|
initializer: null
|
|
72851
72962
|
}), _class17)) || _class16);
|
|
72852
|
-
let
|
|
72963
|
+
let FormulaRegexReplaceExpression = (_dec20 = (0,_markupGenerator_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_5__.sugarNode)("regexreplace", `заменить текст через regex`), _dec21 = (0,_markupGenerator_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_5__.singleChild)(), _dec22 = (0,_markupGenerator_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_5__.attr)("pattern", _markupGenerator_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_5__.attrType.string.required, `regExp`), _dec23 = (0,_markupGenerator_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_5__.attr)("replacement", _markupGenerator_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_5__.attrType.string.required, `строка для замены`), _dec24 = (0,_markupGenerator_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_5__.attr)("flags", _markupGenerator_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_5__.attrType.string, `regExp флаги`), _dec20(_class18 = (_class19 = class FormulaRegexReplaceExpression extends FormulaExpression {
|
|
72853
72964
|
constructor(...args) {
|
|
72854
72965
|
super(...args);
|
|
72855
72966
|
_babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0___default()(this, "argument", _descriptor11, this);
|
|
72967
|
+
_babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0___default()(this, "pattern", _descriptor12, this);
|
|
72968
|
+
_babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0___default()(this, "replacement", _descriptor13, this);
|
|
72969
|
+
_babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0___default()(this, "flags", _descriptor14, this);
|
|
72970
|
+
}
|
|
72971
|
+
}, _descriptor11 = _babel_runtime_helpers_applyDecoratedDescriptor__WEBPACK_IMPORTED_MODULE_1___default()(_class19.prototype, "argument", [_dec21], {
|
|
72972
|
+
configurable: true,
|
|
72973
|
+
enumerable: true,
|
|
72974
|
+
writable: true,
|
|
72975
|
+
initializer: null
|
|
72976
|
+
}), _descriptor12 = _babel_runtime_helpers_applyDecoratedDescriptor__WEBPACK_IMPORTED_MODULE_1___default()(_class19.prototype, "pattern", [_dec22], {
|
|
72977
|
+
configurable: true,
|
|
72978
|
+
enumerable: true,
|
|
72979
|
+
writable: true,
|
|
72980
|
+
initializer: null
|
|
72981
|
+
}), _descriptor13 = _babel_runtime_helpers_applyDecoratedDescriptor__WEBPACK_IMPORTED_MODULE_1___default()(_class19.prototype, "replacement", [_dec23], {
|
|
72982
|
+
configurable: true,
|
|
72983
|
+
enumerable: true,
|
|
72984
|
+
writable: true,
|
|
72985
|
+
initializer: null
|
|
72986
|
+
}), _descriptor14 = _babel_runtime_helpers_applyDecoratedDescriptor__WEBPACK_IMPORTED_MODULE_1___default()(_class19.prototype, "flags", [_dec24], {
|
|
72987
|
+
configurable: true,
|
|
72988
|
+
enumerable: true,
|
|
72989
|
+
writable: true,
|
|
72990
|
+
initializer: null
|
|
72991
|
+
}), _class19)) || _class18);
|
|
72992
|
+
let FormulaLengthExpression = (_dec25 = (0,_markupGenerator_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_5__.sugarNode)("length", `TODO`), _dec26 = (0,_markupGenerator_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_5__.singleChild)(), _dec25(_class20 = (_class21 = class FormulaLengthExpression extends FormulaExpression {
|
|
72993
|
+
constructor(...args) {
|
|
72994
|
+
super(...args);
|
|
72995
|
+
_babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0___default()(this, "argument", _descriptor15, this);
|
|
72856
72996
|
}
|
|
72857
72997
|
getLegacyExpressionTypeForFunctionName() {
|
|
72858
72998
|
return "length";
|
|
72859
72999
|
}
|
|
72860
|
-
},
|
|
73000
|
+
}, _descriptor15 = _babel_runtime_helpers_applyDecoratedDescriptor__WEBPACK_IMPORTED_MODULE_1___default()(_class21.prototype, "argument", [_dec26], {
|
|
72861
73001
|
configurable: true,
|
|
72862
73002
|
enumerable: true,
|
|
72863
73003
|
writable: true,
|
|
72864
73004
|
initializer: null
|
|
72865
|
-
}),
|
|
72866
|
-
let FormulaLtExpression = (
|
|
73005
|
+
}), _class21)) || _class20);
|
|
73006
|
+
let FormulaLtExpression = (_dec27 = (0,_markupGenerator_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_5__.sugarNode)("lt", `TODO`), _dec28 = (0,_markupGenerator_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_5__.children)(), _dec27(_class22 = (_class23 = class FormulaLtExpression extends FormulaExpression {
|
|
72867
73007
|
constructor(...args) {
|
|
72868
73008
|
super(...args);
|
|
72869
|
-
_babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0___default()(this, "arguments",
|
|
73009
|
+
_babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0___default()(this, "arguments", _descriptor16, this);
|
|
72870
73010
|
}
|
|
72871
73011
|
getLegacyExpressionTypeForFunctionName() {
|
|
72872
73012
|
return "lt";
|
|
72873
73013
|
}
|
|
72874
|
-
},
|
|
73014
|
+
}, _descriptor16 = _babel_runtime_helpers_applyDecoratedDescriptor__WEBPACK_IMPORTED_MODULE_1___default()(_class23.prototype, "arguments", [_dec28], {
|
|
72875
73015
|
configurable: true,
|
|
72876
73016
|
enumerable: true,
|
|
72877
73017
|
writable: true,
|
|
72878
73018
|
initializer: null
|
|
72879
|
-
}),
|
|
72880
|
-
let FormulaGeExpression = (
|
|
73019
|
+
}), _class23)) || _class22);
|
|
73020
|
+
let FormulaGeExpression = (_dec29 = (0,_markupGenerator_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_5__.sugarNode)("ge", `TODO`), _dec30 = (0,_markupGenerator_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_5__.children)(), _dec29(_class24 = (_class25 = class FormulaGeExpression extends FormulaExpression {
|
|
72881
73021
|
constructor(...args) {
|
|
72882
73022
|
super(...args);
|
|
72883
|
-
_babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0___default()(this, "arguments",
|
|
73023
|
+
_babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0___default()(this, "arguments", _descriptor17, this);
|
|
72884
73024
|
}
|
|
72885
73025
|
getLegacyExpressionTypeForFunctionName() {
|
|
72886
73026
|
return "ge";
|
|
72887
73027
|
}
|
|
72888
|
-
},
|
|
73028
|
+
}, _descriptor17 = _babel_runtime_helpers_applyDecoratedDescriptor__WEBPACK_IMPORTED_MODULE_1___default()(_class25.prototype, "arguments", [_dec30], {
|
|
72889
73029
|
configurable: true,
|
|
72890
73030
|
enumerable: true,
|
|
72891
73031
|
writable: true,
|
|
72892
73032
|
initializer: null
|
|
72893
|
-
}),
|
|
72894
|
-
let FormulaLeExpression = (
|
|
73033
|
+
}), _class25)) || _class24);
|
|
73034
|
+
let FormulaLeExpression = (_dec31 = (0,_markupGenerator_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_5__.sugarNode)("le", `TODO`), _dec32 = (0,_markupGenerator_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_5__.children)(), _dec31(_class26 = (_class27 = class FormulaLeExpression extends FormulaExpression {
|
|
72895
73035
|
constructor(...args) {
|
|
72896
73036
|
super(...args);
|
|
72897
|
-
_babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0___default()(this, "arguments",
|
|
73037
|
+
_babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0___default()(this, "arguments", _descriptor18, this);
|
|
72898
73038
|
}
|
|
72899
73039
|
getLegacyExpressionTypeForFunctionName() {
|
|
72900
73040
|
return "le";
|
|
72901
73041
|
}
|
|
72902
|
-
},
|
|
73042
|
+
}, _descriptor18 = _babel_runtime_helpers_applyDecoratedDescriptor__WEBPACK_IMPORTED_MODULE_1___default()(_class27.prototype, "arguments", [_dec32], {
|
|
72903
73043
|
configurable: true,
|
|
72904
73044
|
enumerable: true,
|
|
72905
73045
|
writable: true,
|
|
72906
73046
|
initializer: null
|
|
72907
|
-
}),
|
|
72908
|
-
let FormulaNotExpression = (
|
|
73047
|
+
}), _class27)) || _class26);
|
|
73048
|
+
let FormulaNotExpression = (_dec33 = (0,_markupGenerator_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_5__.sugarNode)("not", `TODO`), _dec34 = (0,_markupGenerator_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_5__.singleChild)(), _dec33(_class28 = (_class29 = class FormulaNotExpression extends FormulaExpression {
|
|
72909
73049
|
constructor(...args) {
|
|
72910
73050
|
super(...args);
|
|
72911
|
-
_babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0___default()(this, "argument",
|
|
73051
|
+
_babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0___default()(this, "argument", _descriptor19, this);
|
|
72912
73052
|
}
|
|
72913
73053
|
getLegacyExpressionTypeForFunctionName() {
|
|
72914
73054
|
return "not";
|
|
72915
73055
|
}
|
|
72916
|
-
},
|
|
73056
|
+
}, _descriptor19 = _babel_runtime_helpers_applyDecoratedDescriptor__WEBPACK_IMPORTED_MODULE_1___default()(_class29.prototype, "argument", [_dec34], {
|
|
72917
73057
|
configurable: true,
|
|
72918
73058
|
enumerable: true,
|
|
72919
73059
|
writable: true,
|
|
72920
73060
|
initializer: null
|
|
72921
|
-
}),
|
|
72922
|
-
let FormulaEqExpression = (
|
|
73061
|
+
}), _class29)) || _class28);
|
|
73062
|
+
let FormulaEqExpression = (_dec35 = (0,_markupGenerator_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_5__.sugarNode)("eq", `TODO`), _dec36 = (0,_markupGenerator_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_5__.children)(), _dec35(_class30 = (_class31 = class FormulaEqExpression extends FormulaExpression {
|
|
72923
73063
|
constructor(...args) {
|
|
72924
73064
|
super(...args);
|
|
72925
|
-
_babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0___default()(this, "arguments",
|
|
73065
|
+
_babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0___default()(this, "arguments", _descriptor20, this);
|
|
72926
73066
|
}
|
|
72927
73067
|
getLegacyExpressionTypeForFunctionName() {
|
|
72928
73068
|
return "eq";
|
|
72929
73069
|
}
|
|
72930
|
-
},
|
|
73070
|
+
}, _descriptor20 = _babel_runtime_helpers_applyDecoratedDescriptor__WEBPACK_IMPORTED_MODULE_1___default()(_class31.prototype, "arguments", [_dec36], {
|
|
72931
73071
|
configurable: true,
|
|
72932
73072
|
enumerable: true,
|
|
72933
73073
|
writable: true,
|
|
72934
73074
|
initializer: null
|
|
72935
|
-
}),
|
|
72936
|
-
let FormulaChooseIfExpression = (
|
|
73075
|
+
}), _class31)) || _class30);
|
|
73076
|
+
let FormulaChooseIfExpression = (_dec37 = (0,_markupGenerator_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_5__.sugarNode)("if", `TODO`), _dec38 = (0,_markupGenerator_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_5__.singleChild)(), _dec37(_class32 = (_class33 = class FormulaChooseIfExpression extends FormulaExpression {
|
|
72937
73077
|
constructor(...args) {
|
|
72938
73078
|
super(...args);
|
|
72939
|
-
_babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0___default()(this, "condition",
|
|
73079
|
+
_babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0___default()(this, "condition", _descriptor21, this);
|
|
72940
73080
|
}
|
|
72941
73081
|
getLegacyExpressionTypeForFunctionName() {
|
|
72942
73082
|
return "if";
|
|
72943
73083
|
}
|
|
72944
|
-
},
|
|
73084
|
+
}, _descriptor21 = _babel_runtime_helpers_applyDecoratedDescriptor__WEBPACK_IMPORTED_MODULE_1___default()(_class33.prototype, "condition", [_dec38], {
|
|
72945
73085
|
configurable: true,
|
|
72946
73086
|
enumerable: true,
|
|
72947
73087
|
writable: true,
|
|
72948
73088
|
initializer: null
|
|
72949
|
-
}),
|
|
72950
|
-
let FormulaChooseThenExpression = (
|
|
73089
|
+
}), _class33)) || _class32);
|
|
73090
|
+
let FormulaChooseThenExpression = (_dec39 = (0,_markupGenerator_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_5__.sugarNode)("then", `TODO`), _dec40 = (0,_markupGenerator_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_5__.singleChild)(), _dec39(_class34 = (_class35 = class FormulaChooseThenExpression extends FormulaExpression {
|
|
72951
73091
|
constructor(...args) {
|
|
72952
73092
|
super(...args);
|
|
72953
|
-
_babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0___default()(this, "expression",
|
|
73093
|
+
_babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0___default()(this, "expression", _descriptor22, this);
|
|
72954
73094
|
}
|
|
72955
73095
|
getLegacyExpressionTypeForFunctionName() {
|
|
72956
73096
|
return "then";
|
|
72957
73097
|
}
|
|
72958
|
-
},
|
|
73098
|
+
}, _descriptor22 = _babel_runtime_helpers_applyDecoratedDescriptor__WEBPACK_IMPORTED_MODULE_1___default()(_class35.prototype, "expression", [_dec40], {
|
|
72959
73099
|
configurable: true,
|
|
72960
73100
|
enumerable: true,
|
|
72961
73101
|
writable: true,
|
|
72962
73102
|
initializer: null
|
|
72963
|
-
}),
|
|
72964
|
-
let FormulaChooseElseExpression = (
|
|
73103
|
+
}), _class35)) || _class34);
|
|
73104
|
+
let FormulaChooseElseExpression = (_dec41 = (0,_markupGenerator_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_5__.sugarNode)("else", `TODO`), _dec42 = (0,_markupGenerator_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_5__.singleChild)(), _dec41(_class36 = (_class37 = class FormulaChooseElseExpression extends FormulaExpression {
|
|
72965
73105
|
constructor(...args) {
|
|
72966
73106
|
super(...args);
|
|
72967
|
-
_babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0___default()(this, "expression",
|
|
73107
|
+
_babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0___default()(this, "expression", _descriptor23, this);
|
|
72968
73108
|
}
|
|
72969
73109
|
getLegacyExpressionTypeForFunctionName() {
|
|
72970
73110
|
return "else";
|
|
72971
73111
|
}
|
|
72972
|
-
},
|
|
73112
|
+
}, _descriptor23 = _babel_runtime_helpers_applyDecoratedDescriptor__WEBPACK_IMPORTED_MODULE_1___default()(_class37.prototype, "expression", [_dec42], {
|
|
72973
73113
|
configurable: true,
|
|
72974
73114
|
enumerable: true,
|
|
72975
73115
|
writable: true,
|
|
72976
73116
|
initializer: null
|
|
72977
|
-
}),
|
|
72978
|
-
let FormulaChooseExpression = (
|
|
73117
|
+
}), _class37)) || _class36);
|
|
73118
|
+
let FormulaChooseExpression = (_dec43 = (0,_markupGenerator_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_5__.sugarNode)("choose", `TODO`), _dec44 = (0,_markupGenerator_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_5__.singleChild)("if", [FormulaChooseIfExpression]), _dec45 = (0,_markupGenerator_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_5__.singleChild)("then", [FormulaChooseThenExpression]), _dec46 = (0,_markupGenerator_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_5__.singleChild)("else", [FormulaChooseElseExpression]), _dec43(_class38 = (_class39 = class FormulaChooseExpression extends FormulaExpression {
|
|
72979
73119
|
constructor(...args) {
|
|
72980
73120
|
super(...args);
|
|
72981
|
-
_babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0___default()(this, "ifNode",
|
|
72982
|
-
_babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0___default()(this, "thenNode",
|
|
72983
|
-
_babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0___default()(this, "elseNode",
|
|
73121
|
+
_babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0___default()(this, "ifNode", _descriptor24, this);
|
|
73122
|
+
_babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0___default()(this, "thenNode", _descriptor25, this);
|
|
73123
|
+
_babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0___default()(this, "elseNode", _descriptor26, this);
|
|
72984
73124
|
}
|
|
72985
73125
|
getLegacyExpressionTypeForFunctionName() {
|
|
72986
73126
|
return "choose";
|
|
72987
73127
|
}
|
|
72988
|
-
},
|
|
73128
|
+
}, _descriptor24 = _babel_runtime_helpers_applyDecoratedDescriptor__WEBPACK_IMPORTED_MODULE_1___default()(_class39.prototype, "ifNode", [_dec44], {
|
|
72989
73129
|
configurable: true,
|
|
72990
73130
|
enumerable: true,
|
|
72991
73131
|
writable: true,
|
|
72992
73132
|
initializer: null
|
|
72993
|
-
}),
|
|
73133
|
+
}), _descriptor25 = _babel_runtime_helpers_applyDecoratedDescriptor__WEBPACK_IMPORTED_MODULE_1___default()(_class39.prototype, "thenNode", [_dec45], {
|
|
72994
73134
|
configurable: true,
|
|
72995
73135
|
enumerable: true,
|
|
72996
73136
|
writable: true,
|
|
72997
73137
|
initializer: null
|
|
72998
|
-
}),
|
|
73138
|
+
}), _descriptor26 = _babel_runtime_helpers_applyDecoratedDescriptor__WEBPACK_IMPORTED_MODULE_1___default()(_class39.prototype, "elseNode", [_dec46], {
|
|
72999
73139
|
configurable: true,
|
|
73000
73140
|
enumerable: true,
|
|
73001
73141
|
writable: true,
|
|
73002
73142
|
initializer: null
|
|
73003
|
-
}),
|
|
73004
|
-
let FormulaDivisionExpression = (
|
|
73143
|
+
}), _class39)) || _class38);
|
|
73144
|
+
let FormulaDivisionExpression = (_dec47 = (0,_markupGenerator_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_5__.sugarNode)("division", `TODO`), _dec48 = (0,_markupGenerator_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_5__.children)(), _dec47(_class40 = (_class41 = class FormulaDivisionExpression extends FormulaExpression {
|
|
73005
73145
|
constructor(...args) {
|
|
73006
73146
|
super(...args);
|
|
73007
|
-
_babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0___default()(this, "arguments",
|
|
73147
|
+
_babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0___default()(this, "arguments", _descriptor27, this);
|
|
73008
73148
|
}
|
|
73009
|
-
},
|
|
73149
|
+
}, _descriptor27 = _babel_runtime_helpers_applyDecoratedDescriptor__WEBPACK_IMPORTED_MODULE_1___default()(_class41.prototype, "arguments", [_dec48], {
|
|
73010
73150
|
configurable: true,
|
|
73011
73151
|
enumerable: true,
|
|
73012
73152
|
writable: true,
|
|
73013
73153
|
initializer: null
|
|
73014
|
-
}),
|
|
73015
|
-
let FormulaMultiplyExpression = (
|
|
73154
|
+
}), _class41)) || _class40);
|
|
73155
|
+
let FormulaMultiplyExpression = (_dec49 = (0,_markupGenerator_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_5__.sugarNode)("multiply", `TODO`), _dec50 = (0,_markupGenerator_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_5__.children)(), _dec49(_class42 = (_class43 = class FormulaMultiplyExpression extends FormulaExpression {
|
|
73016
73156
|
constructor(...args) {
|
|
73017
73157
|
super(...args);
|
|
73018
|
-
_babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0___default()(this, "arguments",
|
|
73158
|
+
_babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0___default()(this, "arguments", _descriptor28, this);
|
|
73019
73159
|
}
|
|
73020
|
-
},
|
|
73160
|
+
}, _descriptor28 = _babel_runtime_helpers_applyDecoratedDescriptor__WEBPACK_IMPORTED_MODULE_1___default()(_class43.prototype, "arguments", [_dec50], {
|
|
73021
73161
|
configurable: true,
|
|
73022
73162
|
enumerable: true,
|
|
73023
73163
|
writable: true,
|
|
73024
73164
|
initializer: null
|
|
73025
|
-
}),
|
|
73026
|
-
let FormulaRoundExpression = (
|
|
73165
|
+
}), _class43)) || _class42);
|
|
73166
|
+
let FormulaRoundExpression = (_dec51 = (0,_markupGenerator_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_5__.sugarNode)("round", `TODO`), _dec52 = (0,_markupGenerator_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_5__.singleChild)(), _dec53 = (0,_markupGenerator_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_5__.attr)("fractionalDigits", _markupGenerator_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_5__.attrType.number, `TODO`), _dec51(_class44 = (_class45 = class FormulaRoundExpression extends FormulaExpression {
|
|
73027
73167
|
constructor(...args) {
|
|
73028
73168
|
super(...args);
|
|
73029
|
-
_babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0___default()(this, "expression",
|
|
73030
|
-
_babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0___default()(this, "fractionalDigits",
|
|
73169
|
+
_babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0___default()(this, "expression", _descriptor29, this);
|
|
73170
|
+
_babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0___default()(this, "fractionalDigits", _descriptor30, this);
|
|
73031
73171
|
}
|
|
73032
|
-
},
|
|
73172
|
+
}, _descriptor29 = _babel_runtime_helpers_applyDecoratedDescriptor__WEBPACK_IMPORTED_MODULE_1___default()(_class45.prototype, "expression", [_dec52], {
|
|
73033
73173
|
configurable: true,
|
|
73034
73174
|
enumerable: true,
|
|
73035
73175
|
writable: true,
|
|
73036
73176
|
initializer: null
|
|
73037
|
-
}),
|
|
73177
|
+
}), _descriptor30 = _babel_runtime_helpers_applyDecoratedDescriptor__WEBPACK_IMPORTED_MODULE_1___default()(_class45.prototype, "fractionalDigits", [_dec53], {
|
|
73038
73178
|
configurable: true,
|
|
73039
73179
|
enumerable: true,
|
|
73040
73180
|
writable: true,
|
|
73041
73181
|
initializer: null
|
|
73042
|
-
}),
|
|
73043
|
-
let FormulaFloorExpression = (
|
|
73182
|
+
}), _class45)) || _class44);
|
|
73183
|
+
let FormulaFloorExpression = (_dec54 = (0,_markupGenerator_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_5__.sugarNode)("floor", `Округление числа в меньшую сторону`), _dec55 = (0,_markupGenerator_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_5__.singleChild)(), _dec54(_class46 = (_class47 = class FormulaFloorExpression extends FormulaExpression {
|
|
73044
73184
|
constructor(...args) {
|
|
73045
73185
|
super(...args);
|
|
73046
|
-
_babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0___default()(this, "expression",
|
|
73186
|
+
_babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0___default()(this, "expression", _descriptor31, this);
|
|
73047
73187
|
}
|
|
73048
|
-
},
|
|
73188
|
+
}, _descriptor31 = _babel_runtime_helpers_applyDecoratedDescriptor__WEBPACK_IMPORTED_MODULE_1___default()(_class47.prototype, "expression", [_dec55], {
|
|
73049
73189
|
configurable: true,
|
|
73050
73190
|
enumerable: true,
|
|
73051
73191
|
writable: true,
|
|
73052
73192
|
initializer: null
|
|
73053
|
-
}),
|
|
73054
|
-
let FormulaAbsExpression = (
|
|
73193
|
+
}), _class47)) || _class46);
|
|
73194
|
+
let FormulaAbsExpression = (_dec56 = (0,_markupGenerator_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_5__.sugarNode)("abs", `TODO`), _dec57 = (0,_markupGenerator_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_5__.singleChild)(), _dec56(_class48 = (_class49 = class FormulaAbsExpression extends FormulaExpression {
|
|
73055
73195
|
constructor(...args) {
|
|
73056
73196
|
super(...args);
|
|
73057
|
-
_babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0___default()(this, "expression",
|
|
73197
|
+
_babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0___default()(this, "expression", _descriptor32, this);
|
|
73058
73198
|
}
|
|
73059
|
-
},
|
|
73199
|
+
}, _descriptor32 = _babel_runtime_helpers_applyDecoratedDescriptor__WEBPACK_IMPORTED_MODULE_1___default()(_class49.prototype, "expression", [_dec57], {
|
|
73060
73200
|
configurable: true,
|
|
73061
73201
|
enumerable: true,
|
|
73062
73202
|
writable: true,
|
|
73063
73203
|
initializer: null
|
|
73064
|
-
}),
|
|
73065
|
-
let FormulaXAbsExpression = (
|
|
73204
|
+
}), _class49)) || _class48);
|
|
73205
|
+
let FormulaXAbsExpression = (_dec58 = (0,_markupGenerator_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_5__.sugarNode)("xabs", `TODO`), _dec59 = (0,_markupGenerator_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_5__.singleChild)(), _dec58(_class50 = (_class51 = class FormulaXAbsExpression extends FormulaExpression {
|
|
73066
73206
|
constructor(...args) {
|
|
73067
73207
|
super(...args);
|
|
73068
|
-
_babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0___default()(this, "expression",
|
|
73208
|
+
_babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0___default()(this, "expression", _descriptor33, this);
|
|
73069
73209
|
}
|
|
73070
|
-
},
|
|
73210
|
+
}, _descriptor33 = _babel_runtime_helpers_applyDecoratedDescriptor__WEBPACK_IMPORTED_MODULE_1___default()(_class51.prototype, "expression", [_dec59], {
|
|
73071
73211
|
configurable: true,
|
|
73072
73212
|
enumerable: true,
|
|
73073
73213
|
writable: true,
|
|
73074
73214
|
initializer: null
|
|
73075
|
-
}),
|
|
73076
|
-
let FormulaMinusExpression = (
|
|
73215
|
+
}), _class51)) || _class50);
|
|
73216
|
+
let FormulaMinusExpression = (_dec60 = (0,_markupGenerator_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_5__.sugarNode)("minus", `TODO`), _dec61 = (0,_markupGenerator_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_5__.singleChild)(), _dec60(_class52 = (_class53 = class FormulaMinusExpression extends FormulaExpression {
|
|
73077
73217
|
constructor(...args) {
|
|
73078
73218
|
super(...args);
|
|
73079
|
-
_babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0___default()(this, "expression",
|
|
73219
|
+
_babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0___default()(this, "expression", _descriptor34, this);
|
|
73080
73220
|
}
|
|
73081
|
-
},
|
|
73221
|
+
}, _descriptor34 = _babel_runtime_helpers_applyDecoratedDescriptor__WEBPACK_IMPORTED_MODULE_1___default()(_class53.prototype, "expression", [_dec61], {
|
|
73082
73222
|
configurable: true,
|
|
73083
73223
|
enumerable: true,
|
|
73084
73224
|
writable: true,
|
|
73085
73225
|
initializer: null
|
|
73086
|
-
}),
|
|
73087
|
-
let FormulaConstExpression = (
|
|
73226
|
+
}), _class53)) || _class52);
|
|
73227
|
+
let FormulaConstExpression = (_dec62 = (0,_markupGenerator_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_5__.sugarNode)("const", `TODO`), _dec63 = (0,_markupGenerator_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_5__.attr)("value", _markupGenerator_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_5__.attrType.string.required, ``), _dec64 = (0,_markupGenerator_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_5__.attr)("type", typeArgumentValueParser, `Тип константы: string или decimal (по умолчанию)`), _dec62(_class54 = (_class55 = class FormulaConstExpression extends FormulaExpression {
|
|
73088
73228
|
constructor(...args) {
|
|
73089
73229
|
super(...args);
|
|
73090
|
-
_babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0___default()(this, "value",
|
|
73091
|
-
_babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0___default()(this, "type",
|
|
73230
|
+
_babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0___default()(this, "value", _descriptor35, this);
|
|
73231
|
+
_babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0___default()(this, "type", _descriptor36, this);
|
|
73092
73232
|
}
|
|
73093
|
-
},
|
|
73233
|
+
}, _descriptor35 = _babel_runtime_helpers_applyDecoratedDescriptor__WEBPACK_IMPORTED_MODULE_1___default()(_class55.prototype, "value", [_dec63], {
|
|
73094
73234
|
configurable: true,
|
|
73095
73235
|
enumerable: true,
|
|
73096
73236
|
writable: true,
|
|
73097
73237
|
initializer: null
|
|
73098
|
-
}),
|
|
73238
|
+
}), _descriptor36 = _babel_runtime_helpers_applyDecoratedDescriptor__WEBPACK_IMPORTED_MODULE_1___default()(_class55.prototype, "type", [_dec64], {
|
|
73099
73239
|
configurable: true,
|
|
73100
73240
|
enumerable: true,
|
|
73101
73241
|
writable: true,
|
|
73102
73242
|
initializer: function () {
|
|
73103
73243
|
return "decimal";
|
|
73104
73244
|
}
|
|
73105
|
-
}),
|
|
73106
|
-
let FormulaSubstringExpression = (
|
|
73245
|
+
}), _class55)) || _class54);
|
|
73246
|
+
let FormulaSubstringExpression = (_dec65 = (0,_markupGenerator_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_5__.sugarNode)("substring", `TODO`), _dec66 = (0,_markupGenerator_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_5__.singleChild)(), _dec67 = (0,_markupGenerator_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_5__.attr)("start", _markupGenerator_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_5__.attrType.number.required, `TODO`), _dec68 = (0,_markupGenerator_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_5__.attr)("length", _markupGenerator_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_5__.attrType.number, `TODO`), _dec65(_class56 = (_class57 = class FormulaSubstringExpression extends FormulaExpression {
|
|
73107
73247
|
constructor(...args) {
|
|
73108
73248
|
super(...args);
|
|
73109
|
-
_babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0___default()(this, "expression",
|
|
73110
|
-
_babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0___default()(this, "start",
|
|
73111
|
-
_babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0___default()(this, "length",
|
|
73249
|
+
_babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0___default()(this, "expression", _descriptor37, this);
|
|
73250
|
+
_babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0___default()(this, "start", _descriptor38, this);
|
|
73251
|
+
_babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0___default()(this, "length", _descriptor39, this);
|
|
73112
73252
|
}
|
|
73113
73253
|
getLegacyExpressionTypeForFunctionName() {
|
|
73114
73254
|
return "substring";
|
|
73115
73255
|
}
|
|
73116
|
-
},
|
|
73256
|
+
}, _descriptor37 = _babel_runtime_helpers_applyDecoratedDescriptor__WEBPACK_IMPORTED_MODULE_1___default()(_class57.prototype, "expression", [_dec66], {
|
|
73117
73257
|
configurable: true,
|
|
73118
73258
|
enumerable: true,
|
|
73119
73259
|
writable: true,
|
|
73120
73260
|
initializer: null
|
|
73121
|
-
}),
|
|
73261
|
+
}), _descriptor38 = _babel_runtime_helpers_applyDecoratedDescriptor__WEBPACK_IMPORTED_MODULE_1___default()(_class57.prototype, "start", [_dec67], {
|
|
73122
73262
|
configurable: true,
|
|
73123
73263
|
enumerable: true,
|
|
73124
73264
|
writable: true,
|
|
73125
73265
|
initializer: null
|
|
73126
|
-
}),
|
|
73266
|
+
}), _descriptor39 = _babel_runtime_helpers_applyDecoratedDescriptor__WEBPACK_IMPORTED_MODULE_1___default()(_class57.prototype, "length", [_dec68], {
|
|
73127
73267
|
configurable: true,
|
|
73128
73268
|
enumerable: true,
|
|
73129
73269
|
writable: true,
|
|
73130
73270
|
initializer: null
|
|
73131
|
-
}),
|
|
73132
|
-
let FormulaCastExpression = (
|
|
73271
|
+
}), _class57)) || _class56);
|
|
73272
|
+
let FormulaCastExpression = (_dec69 = (0,_markupGenerator_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_5__.sugarNode)("cast", `TODO`), _dec70 = (0,_markupGenerator_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_5__.singleChild)(), _dec71 = (0,_markupGenerator_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_5__.attr)("type", typeArgumentValueParser.required, `TODO`), _dec69(_class58 = (_class59 = class FormulaCastExpression extends FormulaExpression {
|
|
73133
73273
|
constructor(...args) {
|
|
73134
73274
|
super(...args);
|
|
73135
|
-
_babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0___default()(this, "expression",
|
|
73136
|
-
_babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0___default()(this, "type",
|
|
73275
|
+
_babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0___default()(this, "expression", _descriptor40, this);
|
|
73276
|
+
_babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0___default()(this, "type", _descriptor41, this);
|
|
73137
73277
|
}
|
|
73138
73278
|
getLegacyExpressionTypeForFunctionName() {
|
|
73139
73279
|
return "cast";
|
|
73140
73280
|
}
|
|
73141
|
-
},
|
|
73142
|
-
configurable: true,
|
|
73143
|
-
enumerable: true,
|
|
73144
|
-
writable: true,
|
|
73145
|
-
initializer: null
|
|
73146
|
-
}), _descriptor37 = _babel_runtime_helpers_applyDecoratedDescriptor__WEBPACK_IMPORTED_MODULE_1___default()(_class57.prototype, "type", [_dec66], {
|
|
73281
|
+
}, _descriptor40 = _babel_runtime_helpers_applyDecoratedDescriptor__WEBPACK_IMPORTED_MODULE_1___default()(_class59.prototype, "expression", [_dec70], {
|
|
73147
73282
|
configurable: true,
|
|
73148
73283
|
enumerable: true,
|
|
73149
73284
|
writable: true,
|
|
73150
73285
|
initializer: null
|
|
73151
|
-
}),
|
|
73152
|
-
let FormulaDateNowExpression = (_dec67 = (0,_markupGenerator_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_5__.sugarNode)("datenow", `Дата в формате: {dd/mm/yyyy}`), _dec67(_class58 = class FormulaDateNowExpression extends FormulaDateHandlerExpression {}) || _class58);
|
|
73153
|
-
let FormulaHasAutoFlagExpression = (_dec68 = (0,_markupGenerator_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_5__.sugarNode)("hasautoflag", `Проверить наличие автофлага`), _dec69 = (0,_markupGenerator_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_5__.singleChild)(), _dec68(_class59 = (_class60 = class FormulaHasAutoFlagExpression extends FormulaExpression {
|
|
73154
|
-
constructor(...args) {
|
|
73155
|
-
super(...args);
|
|
73156
|
-
_babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0___default()(this, "expression", _descriptor38, this);
|
|
73157
|
-
}
|
|
73158
|
-
}, _descriptor38 = _babel_runtime_helpers_applyDecoratedDescriptor__WEBPACK_IMPORTED_MODULE_1___default()(_class60.prototype, "expression", [_dec69], {
|
|
73286
|
+
}), _descriptor41 = _babel_runtime_helpers_applyDecoratedDescriptor__WEBPACK_IMPORTED_MODULE_1___default()(_class59.prototype, "type", [_dec71], {
|
|
73159
73287
|
configurable: true,
|
|
73160
73288
|
enumerable: true,
|
|
73161
73289
|
writable: true,
|
|
73162
73290
|
initializer: null
|
|
73163
|
-
}),
|
|
73164
|
-
let
|
|
73291
|
+
}), _class59)) || _class58);
|
|
73292
|
+
let FormulaDateNowExpression = (_dec72 = (0,_markupGenerator_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_5__.sugarNode)("datenow", `Дата в формате: {dd/mm/yyyy}`), _dec72(_class60 = class FormulaDateNowExpression extends FormulaDateHandlerExpression {}) || _class60);
|
|
73293
|
+
let FormulaHasAutoFlagExpression = (_dec73 = (0,_markupGenerator_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_5__.sugarNode)("hasautoflag", `Проверить наличие автофлага`), _dec74 = (0,_markupGenerator_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_5__.singleChild)(), _dec73(_class61 = (_class62 = class FormulaHasAutoFlagExpression extends FormulaExpression {
|
|
73165
73294
|
constructor(...args) {
|
|
73166
73295
|
super(...args);
|
|
73167
|
-
_babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0___default()(this, "expression",
|
|
73296
|
+
_babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0___default()(this, "expression", _descriptor42, this);
|
|
73168
73297
|
}
|
|
73169
|
-
},
|
|
73298
|
+
}, _descriptor42 = _babel_runtime_helpers_applyDecoratedDescriptor__WEBPACK_IMPORTED_MODULE_1___default()(_class62.prototype, "expression", [_dec74], {
|
|
73170
73299
|
configurable: true,
|
|
73171
73300
|
enumerable: true,
|
|
73172
73301
|
writable: true,
|
|
73173
73302
|
initializer: null
|
|
73174
73303
|
}), _class62)) || _class61);
|
|
73175
|
-
let
|
|
73304
|
+
let FormulaGetDaysInMonthExpression = (_dec75 = (0,_markupGenerator_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_5__.sugarNode)("getdaysinmonth", `Количество дней в месяце указанной даты`), _dec76 = (0,_markupGenerator_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_5__.singleChild)(), _dec75(_class63 = (_class64 = class FormulaGetDaysInMonthExpression extends FormulaExpression {
|
|
73176
73305
|
constructor(...args) {
|
|
73177
73306
|
super(...args);
|
|
73178
|
-
_babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0___default()(this, "expression",
|
|
73307
|
+
_babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0___default()(this, "expression", _descriptor43, this);
|
|
73179
73308
|
}
|
|
73180
|
-
},
|
|
73309
|
+
}, _descriptor43 = _babel_runtime_helpers_applyDecoratedDescriptor__WEBPACK_IMPORTED_MODULE_1___default()(_class64.prototype, "expression", [_dec76], {
|
|
73181
73310
|
configurable: true,
|
|
73182
73311
|
enumerable: true,
|
|
73183
73312
|
writable: true,
|
|
73184
73313
|
initializer: null
|
|
73185
73314
|
}), _class64)) || _class63);
|
|
73186
|
-
let
|
|
73315
|
+
let FormulaGetDayExpression = (_dec77 = (0,_markupGenerator_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_5__.sugarNode)("getday", `День из указанной даты`), _dec78 = (0,_markupGenerator_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_5__.singleChild)(), _dec77(_class65 = (_class66 = class FormulaGetDayExpression extends FormulaExpression {
|
|
73187
73316
|
constructor(...args) {
|
|
73188
73317
|
super(...args);
|
|
73189
|
-
_babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0___default()(this, "expression",
|
|
73318
|
+
_babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0___default()(this, "expression", _descriptor44, this);
|
|
73190
73319
|
}
|
|
73191
|
-
},
|
|
73320
|
+
}, _descriptor44 = _babel_runtime_helpers_applyDecoratedDescriptor__WEBPACK_IMPORTED_MODULE_1___default()(_class66.prototype, "expression", [_dec78], {
|
|
73192
73321
|
configurable: true,
|
|
73193
73322
|
enumerable: true,
|
|
73194
73323
|
writable: true,
|
|
73195
73324
|
initializer: null
|
|
73196
73325
|
}), _class66)) || _class65);
|
|
73197
|
-
let
|
|
73326
|
+
let FormulaGetMonthExpression = (_dec79 = (0,_markupGenerator_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_5__.sugarNode)("getmonth", `Месяц из указанной даты`), _dec80 = (0,_markupGenerator_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_5__.singleChild)(), _dec79(_class67 = (_class68 = class FormulaGetMonthExpression extends FormulaExpression {
|
|
73198
73327
|
constructor(...args) {
|
|
73199
73328
|
super(...args);
|
|
73200
|
-
_babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0___default()(this, "expression",
|
|
73329
|
+
_babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0___default()(this, "expression", _descriptor45, this);
|
|
73201
73330
|
}
|
|
73202
|
-
},
|
|
73331
|
+
}, _descriptor45 = _babel_runtime_helpers_applyDecoratedDescriptor__WEBPACK_IMPORTED_MODULE_1___default()(_class68.prototype, "expression", [_dec80], {
|
|
73203
73332
|
configurable: true,
|
|
73204
73333
|
enumerable: true,
|
|
73205
73334
|
writable: true,
|
|
73206
73335
|
initializer: null
|
|
73207
73336
|
}), _class68)) || _class67);
|
|
73208
|
-
let
|
|
73337
|
+
let FormulaGetYearExpression = (_dec81 = (0,_markupGenerator_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_5__.sugarNode)("getyear", `Год из указанной даты`), _dec82 = (0,_markupGenerator_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_5__.singleChild)(), _dec81(_class69 = (_class70 = class FormulaGetYearExpression extends FormulaExpression {
|
|
73209
73338
|
constructor(...args) {
|
|
73210
73339
|
super(...args);
|
|
73211
|
-
_babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0___default()(this, "expression",
|
|
73340
|
+
_babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0___default()(this, "expression", _descriptor46, this);
|
|
73212
73341
|
}
|
|
73213
|
-
},
|
|
73342
|
+
}, _descriptor46 = _babel_runtime_helpers_applyDecoratedDescriptor__WEBPACK_IMPORTED_MODULE_1___default()(_class70.prototype, "expression", [_dec82], {
|
|
73214
73343
|
configurable: true,
|
|
73215
73344
|
enumerable: true,
|
|
73216
73345
|
writable: true,
|
|
73217
73346
|
initializer: null
|
|
73218
73347
|
}), _class70)) || _class69);
|
|
73219
|
-
let
|
|
73348
|
+
let FormulaIsDateExpression = (_dec83 = (0,_markupGenerator_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_5__.sugarNode)("isdate", `Проверка, является ли дата валидной`), _dec84 = (0,_markupGenerator_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_5__.singleChild)(), _dec83(_class71 = (_class72 = class FormulaIsDateExpression extends FormulaExpression {
|
|
73220
73349
|
constructor(...args) {
|
|
73221
73350
|
super(...args);
|
|
73222
|
-
_babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0___default()(this, "
|
|
73351
|
+
_babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0___default()(this, "expression", _descriptor47, this);
|
|
73223
73352
|
}
|
|
73224
|
-
},
|
|
73353
|
+
}, _descriptor47 = _babel_runtime_helpers_applyDecoratedDescriptor__WEBPACK_IMPORTED_MODULE_1___default()(_class72.prototype, "expression", [_dec84], {
|
|
73225
73354
|
configurable: true,
|
|
73226
73355
|
enumerable: true,
|
|
73227
73356
|
writable: true,
|
|
73228
73357
|
initializer: null
|
|
73229
73358
|
}), _class72)) || _class71);
|
|
73230
|
-
let
|
|
73359
|
+
let FormulaDifferenceInMonthsExpression = (_dec85 = (0,_markupGenerator_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_5__.sugarNode)("differenceinmonths", `Количество полных месяцев между двумя датами`), _dec86 = (0,_markupGenerator_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_5__.children)(), _dec85(_class73 = (_class74 = class FormulaDifferenceInMonthsExpression extends FormulaExpression {
|
|
73231
73360
|
constructor(...args) {
|
|
73232
73361
|
super(...args);
|
|
73233
|
-
_babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0___default()(this, "arguments",
|
|
73362
|
+
_babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0___default()(this, "arguments", _descriptor48, this);
|
|
73234
73363
|
}
|
|
73235
|
-
},
|
|
73364
|
+
}, _descriptor48 = _babel_runtime_helpers_applyDecoratedDescriptor__WEBPACK_IMPORTED_MODULE_1___default()(_class74.prototype, "arguments", [_dec86], {
|
|
73236
73365
|
configurable: true,
|
|
73237
73366
|
enumerable: true,
|
|
73238
73367
|
writable: true,
|
|
73239
73368
|
initializer: null
|
|
73240
73369
|
}), _class74)) || _class73);
|
|
73241
|
-
let
|
|
73370
|
+
let FormulaDifferenceInDaysExpression = (_dec87 = (0,_markupGenerator_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_5__.sugarNode)("differenceindays", `Разница в днях между двумя датами`), _dec88 = (0,_markupGenerator_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_5__.children)(), _dec87(_class75 = (_class76 = class FormulaDifferenceInDaysExpression extends FormulaExpression {
|
|
73242
73371
|
constructor(...args) {
|
|
73243
73372
|
super(...args);
|
|
73244
|
-
_babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0___default()(this, "
|
|
73245
|
-
_babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0___default()(this, "amount", _descriptor47, this);
|
|
73373
|
+
_babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0___default()(this, "arguments", _descriptor49, this);
|
|
73246
73374
|
}
|
|
73247
|
-
},
|
|
73375
|
+
}, _descriptor49 = _babel_runtime_helpers_applyDecoratedDescriptor__WEBPACK_IMPORTED_MODULE_1___default()(_class76.prototype, "arguments", [_dec88], {
|
|
73248
73376
|
configurable: true,
|
|
73249
73377
|
enumerable: true,
|
|
73250
73378
|
writable: true,
|
|
73251
73379
|
initializer: null
|
|
73252
|
-
}),
|
|
73380
|
+
}), _class76)) || _class75);
|
|
73381
|
+
let FormulaAddDaysExpression = (_dec89 = (0,_markupGenerator_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_5__.sugarNode)("adddays", `Добавить дни к дате`), _dec90 = (0,_markupGenerator_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_5__.singleChild)(), _dec91 = (0,_markupGenerator_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_5__.attr)("amount", _markupGenerator_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_5__.attrType.number.required, `Количество дней (можно указать отрицательное)`), _dec89(_class77 = (_class78 = class FormulaAddDaysExpression extends FormulaDateHandlerExpression {
|
|
73382
|
+
constructor(...args) {
|
|
73383
|
+
super(...args);
|
|
73384
|
+
_babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0___default()(this, "expression", _descriptor50, this);
|
|
73385
|
+
_babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0___default()(this, "amount", _descriptor51, this);
|
|
73386
|
+
}
|
|
73387
|
+
}, _descriptor50 = _babel_runtime_helpers_applyDecoratedDescriptor__WEBPACK_IMPORTED_MODULE_1___default()(_class78.prototype, "expression", [_dec90], {
|
|
73253
73388
|
configurable: true,
|
|
73254
73389
|
enumerable: true,
|
|
73255
73390
|
writable: true,
|
|
73256
73391
|
initializer: null
|
|
73257
|
-
}),
|
|
73258
|
-
|
|
73392
|
+
}), _descriptor51 = _babel_runtime_helpers_applyDecoratedDescriptor__WEBPACK_IMPORTED_MODULE_1___default()(_class78.prototype, "amount", [_dec91], {
|
|
73393
|
+
configurable: true,
|
|
73394
|
+
enumerable: true,
|
|
73395
|
+
writable: true,
|
|
73396
|
+
initializer: null
|
|
73397
|
+
}), _class78)) || _class77);
|
|
73398
|
+
let FormulaAddMonthsExpression = (_dec92 = (0,_markupGenerator_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_5__.sugarNode)("addmonths", `Добавить месяцы к дате`), _dec93 = (0,_markupGenerator_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_5__.singleChild)(), _dec94 = (0,_markupGenerator_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_5__.attr)("amount", _markupGenerator_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_5__.attrType.number.required, `Количество месяцев (можно указать отрицательное)`), _dec92(_class79 = (_class80 = class FormulaAddMonthsExpression extends FormulaDateHandlerExpression {
|
|
73259
73399
|
constructor(...args) {
|
|
73260
73400
|
super(...args);
|
|
73261
|
-
_babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0___default()(this, "expression",
|
|
73262
|
-
_babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0___default()(this, "amount",
|
|
73401
|
+
_babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0___default()(this, "expression", _descriptor52, this);
|
|
73402
|
+
_babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0___default()(this, "amount", _descriptor53, this);
|
|
73263
73403
|
}
|
|
73264
|
-
},
|
|
73404
|
+
}, _descriptor52 = _babel_runtime_helpers_applyDecoratedDescriptor__WEBPACK_IMPORTED_MODULE_1___default()(_class80.prototype, "expression", [_dec93], {
|
|
73265
73405
|
configurable: true,
|
|
73266
73406
|
enumerable: true,
|
|
73267
73407
|
writable: true,
|
|
73268
73408
|
initializer: null
|
|
73269
|
-
}),
|
|
73409
|
+
}), _descriptor53 = _babel_runtime_helpers_applyDecoratedDescriptor__WEBPACK_IMPORTED_MODULE_1___default()(_class80.prototype, "amount", [_dec94], {
|
|
73270
73410
|
configurable: true,
|
|
73271
73411
|
enumerable: true,
|
|
73272
73412
|
writable: true,
|
|
73273
73413
|
initializer: null
|
|
73274
|
-
}),
|
|
73275
|
-
let FormulaAddYearsExpression = (
|
|
73414
|
+
}), _class80)) || _class79);
|
|
73415
|
+
let FormulaAddYearsExpression = (_dec95 = (0,_markupGenerator_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_5__.sugarNode)("addyears", `Добавить годы к дате`), _dec96 = (0,_markupGenerator_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_5__.singleChild)(), _dec97 = (0,_markupGenerator_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_5__.attr)("amount", _markupGenerator_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_5__.attrType.number.required, `Количество лет (можно указать отрицательное)`), _dec95(_class81 = (_class82 = class FormulaAddYearsExpression extends FormulaDateHandlerExpression {
|
|
73276
73416
|
constructor(...args) {
|
|
73277
73417
|
super(...args);
|
|
73278
|
-
_babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0___default()(this, "expression",
|
|
73279
|
-
_babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0___default()(this, "amount",
|
|
73418
|
+
_babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0___default()(this, "expression", _descriptor54, this);
|
|
73419
|
+
_babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0___default()(this, "amount", _descriptor55, this);
|
|
73280
73420
|
}
|
|
73281
|
-
},
|
|
73421
|
+
}, _descriptor54 = _babel_runtime_helpers_applyDecoratedDescriptor__WEBPACK_IMPORTED_MODULE_1___default()(_class82.prototype, "expression", [_dec96], {
|
|
73282
73422
|
configurable: true,
|
|
73283
73423
|
enumerable: true,
|
|
73284
73424
|
writable: true,
|
|
73285
73425
|
initializer: null
|
|
73286
|
-
}),
|
|
73426
|
+
}), _descriptor55 = _babel_runtime_helpers_applyDecoratedDescriptor__WEBPACK_IMPORTED_MODULE_1___default()(_class82.prototype, "amount", [_dec97], {
|
|
73287
73427
|
configurable: true,
|
|
73288
73428
|
enumerable: true,
|
|
73289
73429
|
writable: true,
|
|
73290
73430
|
initializer: null
|
|
73291
|
-
}),
|
|
73292
|
-
let FormulaDateToStringExpression = (
|
|
73431
|
+
}), _class82)) || _class81);
|
|
73432
|
+
let FormulaDateToStringExpression = (_dec98 = (0,_markupGenerator_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_5__.sugarNode)("datetostring", `Преобразование даты в строку. Используется как обертка над методами, которые возвращают объект даты (addDays, dateNow и т.д.)`), _dec99 = (0,_markupGenerator_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_5__.singleChild)(), _dec100 = (0,_markupGenerator_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_5__.attr)("format", _markupGenerator_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_5__.attrType.string, `
|
|
73293
73433
|
Формат даты.
|
|
73294
73434
|
- По дефолту (ничего не указано): dd.MM.yyyy
|
|
73295
73435
|
- Можно указать "fss" (будет yyyy-MM-dd)
|
|
73296
73436
|
- Можно указывать любые форматы с "yyyy", "MM", "dd", например US формат: MM/dd/yyyy
|
|
73297
|
-
`),
|
|
73437
|
+
`), _dec98(_class83 = (_class84 = class FormulaDateToStringExpression extends FormulaExpression {
|
|
73298
73438
|
constructor(...args) {
|
|
73299
73439
|
super(...args);
|
|
73300
|
-
_babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0___default()(this, "expression",
|
|
73301
|
-
_babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0___default()(this, "format",
|
|
73440
|
+
_babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0___default()(this, "expression", _descriptor56, this);
|
|
73441
|
+
_babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0___default()(this, "format", _descriptor57, this);
|
|
73302
73442
|
}
|
|
73303
|
-
},
|
|
73443
|
+
}, _descriptor56 = _babel_runtime_helpers_applyDecoratedDescriptor__WEBPACK_IMPORTED_MODULE_1___default()(_class84.prototype, "expression", [_dec99], {
|
|
73304
73444
|
configurable: true,
|
|
73305
73445
|
enumerable: true,
|
|
73306
73446
|
writable: true,
|
|
73307
73447
|
initializer: null
|
|
73308
|
-
}),
|
|
73448
|
+
}), _descriptor57 = _babel_runtime_helpers_applyDecoratedDescriptor__WEBPACK_IMPORTED_MODULE_1___default()(_class84.prototype, "format", [_dec100], {
|
|
73309
73449
|
configurable: true,
|
|
73310
73450
|
enumerable: true,
|
|
73311
73451
|
writable: true,
|
|
73312
73452
|
initializer: null
|
|
73313
|
-
}),
|
|
73314
|
-
let FormulaDateTimeExpression = (
|
|
73453
|
+
}), _class84)) || _class83);
|
|
73454
|
+
let FormulaDateTimeExpression = (_dec101 = (0,_markupGenerator_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_5__.sugarNode)("datetime", `Преобразование строки в дату`), _dec102 = (0,_markupGenerator_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_5__.singleChild)(), _dec101(_class85 = (_class86 = class FormulaDateTimeExpression extends FormulaDateHandlerExpression {
|
|
73315
73455
|
constructor(...args) {
|
|
73316
73456
|
super(...args);
|
|
73317
|
-
_babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0___default()(this, "expression",
|
|
73457
|
+
_babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0___default()(this, "expression", _descriptor58, this);
|
|
73318
73458
|
}
|
|
73319
|
-
},
|
|
73459
|
+
}, _descriptor58 = _babel_runtime_helpers_applyDecoratedDescriptor__WEBPACK_IMPORTED_MODULE_1___default()(_class86.prototype, "expression", [_dec102], {
|
|
73320
73460
|
configurable: true,
|
|
73321
73461
|
enumerable: true,
|
|
73322
73462
|
writable: true,
|
|
73323
73463
|
initializer: null
|
|
73324
|
-
}),
|
|
73325
|
-
let FormulaSumOfDayWeightsExpression = (
|
|
73464
|
+
}), _class86)) || _class85);
|
|
73465
|
+
let FormulaSumOfDayWeightsExpression = (_dec103 = (0,_markupGenerator_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_5__.sugarNode)("sumofdayweights", `Сумма весов дней между датами (включительно)`), _dec104 = (0,_markupGenerator_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_5__.children)(), _dec103(_class87 = (_class88 = class FormulaSumOfDayWeightsExpression extends FormulaExpression {
|
|
73326
73466
|
constructor(...args) {
|
|
73327
73467
|
super(...args);
|
|
73328
|
-
_babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0___default()(this, "arguments",
|
|
73468
|
+
_babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0___default()(this, "arguments", _descriptor59, this);
|
|
73329
73469
|
}
|
|
73330
|
-
},
|
|
73470
|
+
}, _descriptor59 = _babel_runtime_helpers_applyDecoratedDescriptor__WEBPACK_IMPORTED_MODULE_1___default()(_class88.prototype, "arguments", [_dec104], {
|
|
73331
73471
|
configurable: true,
|
|
73332
73472
|
enumerable: true,
|
|
73333
73473
|
writable: true,
|
|
73334
73474
|
initializer: null
|
|
73335
|
-
}),
|
|
73336
|
-
let FormulaIsSnilsExpression = (
|
|
73475
|
+
}), _class88)) || _class87);
|
|
73476
|
+
let FormulaIsSnilsExpression = (_dec105 = (0,_markupGenerator_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_5__.sugarNode)("issnils", `Проверка на валидность снилса`), _dec106 = (0,_markupGenerator_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_5__.singleChild)(), _dec105(_class89 = (_class90 = class FormulaIsSnilsExpression extends FormulaExpression {
|
|
73337
73477
|
constructor(...args) {
|
|
73338
73478
|
super(...args);
|
|
73339
|
-
_babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0___default()(this, "expression",
|
|
73479
|
+
_babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0___default()(this, "expression", _descriptor60, this);
|
|
73340
73480
|
}
|
|
73341
73481
|
getLegacyExpressionTypeForFunctionName() {
|
|
73342
73482
|
return "isSnils";
|
|
73343
73483
|
}
|
|
73344
|
-
},
|
|
73484
|
+
}, _descriptor60 = _babel_runtime_helpers_applyDecoratedDescriptor__WEBPACK_IMPORTED_MODULE_1___default()(_class90.prototype, "expression", [_dec106], {
|
|
73345
73485
|
configurable: true,
|
|
73346
73486
|
enumerable: true,
|
|
73347
73487
|
writable: true,
|
|
73348
73488
|
initializer: null
|
|
73349
|
-
}),
|
|
73350
|
-
let FormulaIsRegNumSfrExpression = (
|
|
73489
|
+
}), _class90)) || _class89);
|
|
73490
|
+
let FormulaIsRegNumSfrExpression = (_dec107 = (0,_markupGenerator_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_5__.sugarNode)("isregnumsfr", `Проверка на валидность рег-номера СФР`), _dec108 = (0,_markupGenerator_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_5__.singleChild)(), _dec107(_class91 = (_class92 = class FormulaIsRegNumSfrExpression extends FormulaExpression {
|
|
73351
73491
|
constructor(...args) {
|
|
73352
73492
|
super(...args);
|
|
73353
|
-
_babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0___default()(this, "expression",
|
|
73493
|
+
_babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0___default()(this, "expression", _descriptor61, this);
|
|
73354
73494
|
}
|
|
73355
73495
|
getLegacyExpressionTypeForFunctionName() {
|
|
73356
73496
|
return "isRegNumSfr";
|
|
73357
73497
|
}
|
|
73358
|
-
},
|
|
73498
|
+
}, _descriptor61 = _babel_runtime_helpers_applyDecoratedDescriptor__WEBPACK_IMPORTED_MODULE_1___default()(_class92.prototype, "expression", [_dec108], {
|
|
73359
73499
|
configurable: true,
|
|
73360
73500
|
enumerable: true,
|
|
73361
73501
|
writable: true,
|
|
73362
73502
|
initializer: null
|
|
73363
|
-
}),
|
|
73364
|
-
let FormulaIsInnExpression = (
|
|
73503
|
+
}), _class92)) || _class91);
|
|
73504
|
+
let FormulaIsInnExpression = (_dec109 = (0,_markupGenerator_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_5__.sugarNode)("isinn", `Проверка на валидность ИИН`), _dec110 = (0,_markupGenerator_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_5__.singleChild)(), _dec109(_class93 = (_class94 = class FormulaIsInnExpression extends FormulaExpression {
|
|
73365
73505
|
constructor(...args) {
|
|
73366
73506
|
super(...args);
|
|
73367
|
-
_babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0___default()(this, "expression",
|
|
73507
|
+
_babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0___default()(this, "expression", _descriptor62, this);
|
|
73368
73508
|
}
|
|
73369
73509
|
getLegacyExpressionTypeForFunctionName() {
|
|
73370
73510
|
return "isInn";
|
|
73371
73511
|
}
|
|
73372
|
-
},
|
|
73512
|
+
}, _descriptor62 = _babel_runtime_helpers_applyDecoratedDescriptor__WEBPACK_IMPORTED_MODULE_1___default()(_class94.prototype, "expression", [_dec110], {
|
|
73373
73513
|
configurable: true,
|
|
73374
73514
|
enumerable: true,
|
|
73375
73515
|
writable: true,
|
|
73376
73516
|
initializer: null
|
|
73377
|
-
}),
|
|
73378
|
-
let FormulaIsOgrnExpression = (
|
|
73517
|
+
}), _class94)) || _class93);
|
|
73518
|
+
let FormulaIsOgrnExpression = (_dec111 = (0,_markupGenerator_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_5__.sugarNode)("isogrn", `Проверка на валидность ОГРН`), _dec112 = (0,_markupGenerator_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_5__.singleChild)(), _dec111(_class95 = (_class96 = class FormulaIsOgrnExpression extends FormulaExpression {
|
|
73379
73519
|
constructor(...args) {
|
|
73380
73520
|
super(...args);
|
|
73381
|
-
_babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0___default()(this, "expression",
|
|
73521
|
+
_babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0___default()(this, "expression", _descriptor63, this);
|
|
73382
73522
|
}
|
|
73383
73523
|
getLegacyExpressionTypeForFunctionName() {
|
|
73384
73524
|
return "isOgrn";
|
|
73385
73525
|
}
|
|
73386
|
-
},
|
|
73526
|
+
}, _descriptor63 = _babel_runtime_helpers_applyDecoratedDescriptor__WEBPACK_IMPORTED_MODULE_1___default()(_class96.prototype, "expression", [_dec112], {
|
|
73387
73527
|
configurable: true,
|
|
73388
73528
|
enumerable: true,
|
|
73389
73529
|
writable: true,
|
|
73390
73530
|
initializer: null
|
|
73391
|
-
}),
|
|
73392
|
-
let FormulaIsValidMirCardNumberExpression = (
|
|
73531
|
+
}), _class96)) || _class95);
|
|
73532
|
+
let FormulaIsValidMirCardNumberExpression = (_dec113 = (0,_markupGenerator_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_5__.sugarNode)("isvalidmircardnumber", `Проверка на валидность карты МИР`), _dec114 = (0,_markupGenerator_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_5__.singleChild)(), _dec113(_class97 = (_class98 = class FormulaIsValidMirCardNumberExpression extends FormulaExpression {
|
|
73393
73533
|
constructor(...args) {
|
|
73394
73534
|
super(...args);
|
|
73395
|
-
_babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0___default()(this, "expression",
|
|
73535
|
+
_babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0___default()(this, "expression", _descriptor64, this);
|
|
73396
73536
|
}
|
|
73397
73537
|
getLegacyExpressionTypeForFunctionName() {
|
|
73398
73538
|
return "isValidMirCardNumber";
|
|
73399
73539
|
}
|
|
73400
|
-
},
|
|
73540
|
+
}, _descriptor64 = _babel_runtime_helpers_applyDecoratedDescriptor__WEBPACK_IMPORTED_MODULE_1___default()(_class98.prototype, "expression", [_dec114], {
|
|
73401
73541
|
configurable: true,
|
|
73402
73542
|
enumerable: true,
|
|
73403
73543
|
writable: true,
|
|
73404
73544
|
initializer: null
|
|
73405
|
-
}),
|
|
73406
|
-
let FormulaIsValidAccountNumberBikExpression = (
|
|
73545
|
+
}), _class98)) || _class97);
|
|
73546
|
+
let FormulaIsValidAccountNumberBikExpression = (_dec115 = (0,_markupGenerator_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_5__.sugarNode)("isvalidaccountnumberbik", `Проверка на валидность карты МИР`), _dec116 = (0,_markupGenerator_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_5__.singleChild)(), _dec115(_class99 = (_class100 = class FormulaIsValidAccountNumberBikExpression extends FormulaExpression {
|
|
73407
73547
|
constructor(...args) {
|
|
73408
73548
|
super(...args);
|
|
73409
|
-
_babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0___default()(this, "bik",
|
|
73549
|
+
_babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0___default()(this, "bik", _descriptor65, this);
|
|
73410
73550
|
}
|
|
73411
73551
|
getLegacyExpressionTypeForFunctionName() {
|
|
73412
73552
|
return "isValidAccountNumberBik";
|
|
73413
73553
|
}
|
|
73414
|
-
},
|
|
73554
|
+
}, _descriptor65 = _babel_runtime_helpers_applyDecoratedDescriptor__WEBPACK_IMPORTED_MODULE_1___default()(_class100.prototype, "bik", [_dec116], {
|
|
73415
73555
|
configurable: true,
|
|
73416
73556
|
enumerable: true,
|
|
73417
73557
|
writable: true,
|
|
73418
73558
|
initializer: null
|
|
73419
|
-
}),
|
|
73420
|
-
let FormulaIsValidAccountNumberAccountExpression = (
|
|
73559
|
+
}), _class100)) || _class99);
|
|
73560
|
+
let FormulaIsValidAccountNumberAccountExpression = (_dec117 = (0,_markupGenerator_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_5__.sugarNode)("isvalidaccountnumberaccount", `Проверка на валидность карты МИР`), _dec118 = (0,_markupGenerator_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_5__.singleChild)(), _dec117(_class101 = (_class102 = class FormulaIsValidAccountNumberAccountExpression extends FormulaExpression {
|
|
73421
73561
|
constructor(...args) {
|
|
73422
73562
|
super(...args);
|
|
73423
|
-
_babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0___default()(this, "account",
|
|
73563
|
+
_babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0___default()(this, "account", _descriptor66, this);
|
|
73424
73564
|
}
|
|
73425
73565
|
getLegacyExpressionTypeForFunctionName() {
|
|
73426
73566
|
return "isValidAccountNumberAccount";
|
|
73427
73567
|
}
|
|
73428
|
-
},
|
|
73568
|
+
}, _descriptor66 = _babel_runtime_helpers_applyDecoratedDescriptor__WEBPACK_IMPORTED_MODULE_1___default()(_class102.prototype, "account", [_dec118], {
|
|
73429
73569
|
configurable: true,
|
|
73430
73570
|
enumerable: true,
|
|
73431
73571
|
writable: true,
|
|
73432
73572
|
initializer: null
|
|
73433
|
-
}),
|
|
73434
|
-
let FormulaIsValidAccountNumberExpression = (
|
|
73573
|
+
}), _class102)) || _class101);
|
|
73574
|
+
let FormulaIsValidAccountNumberExpression = (_dec119 = (0,_markupGenerator_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_5__.sugarNode)("isvalidaccountnumber", `Проверка на валидность карты МИР`), _dec120 = (0,_markupGenerator_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_5__.singleChild)("isvalidaccountnumberbik", [FormulaIsValidAccountNumberBikExpression]), _dec121 = (0,_markupGenerator_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_5__.singleChild)("isvalidaccountnumberaccount", [FormulaIsValidAccountNumberAccountExpression]), _dec119(_class103 = (_class104 = class FormulaIsValidAccountNumberExpression extends FormulaExpression {
|
|
73435
73575
|
constructor(...args) {
|
|
73436
73576
|
super(...args);
|
|
73437
|
-
_babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0___default()(this, "bik",
|
|
73438
|
-
_babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0___default()(this, "account",
|
|
73577
|
+
_babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0___default()(this, "bik", _descriptor67, this);
|
|
73578
|
+
_babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0___default()(this, "account", _descriptor68, this);
|
|
73439
73579
|
}
|
|
73440
73580
|
getLegacyExpressionTypeForFunctionName() {
|
|
73441
73581
|
return "isValidAccountNumber";
|
|
73442
73582
|
}
|
|
73443
|
-
},
|
|
73583
|
+
}, _descriptor67 = _babel_runtime_helpers_applyDecoratedDescriptor__WEBPACK_IMPORTED_MODULE_1___default()(_class104.prototype, "bik", [_dec120], {
|
|
73444
73584
|
configurable: true,
|
|
73445
73585
|
enumerable: true,
|
|
73446
73586
|
writable: true,
|
|
73447
73587
|
initializer: null
|
|
73448
|
-
}),
|
|
73588
|
+
}), _descriptor68 = _babel_runtime_helpers_applyDecoratedDescriptor__WEBPACK_IMPORTED_MODULE_1___default()(_class104.prototype, "account", [_dec121], {
|
|
73449
73589
|
configurable: true,
|
|
73450
73590
|
enumerable: true,
|
|
73451
73591
|
writable: true,
|
|
73452
73592
|
initializer: null
|
|
73453
|
-
}),
|
|
73454
|
-
let FormulaArgumentExpression = (
|
|
73593
|
+
}), _class104)) || _class103);
|
|
73594
|
+
let FormulaArgumentExpression = (_dec122 = (0,_markupGenerator_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_5__.sugarNode)("argument", `TODO`), _dec123 = (0,_markupGenerator_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_5__.attr)("select", _markupGenerator_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_5__.attrType.string.required, ``), _dec124 = (0,_markupGenerator_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_5__.attr)("type", typeArgumentValueParser, `Тип атрибута: string или decimal (по умолчанию)`), _dec122(_class105 = (_class106 = class FormulaArgumentExpression extends FormulaExpression {
|
|
73455
73595
|
constructor(...args) {
|
|
73456
73596
|
super(...args);
|
|
73457
|
-
_babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0___default()(this, "select",
|
|
73458
|
-
_babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0___default()(this, "type",
|
|
73597
|
+
_babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0___default()(this, "select", _descriptor69, this);
|
|
73598
|
+
_babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0___default()(this, "type", _descriptor70, this);
|
|
73459
73599
|
}
|
|
73460
|
-
},
|
|
73600
|
+
}, _descriptor69 = _babel_runtime_helpers_applyDecoratedDescriptor__WEBPACK_IMPORTED_MODULE_1___default()(_class106.prototype, "select", [_dec123], {
|
|
73461
73601
|
configurable: true,
|
|
73462
73602
|
enumerable: true,
|
|
73463
73603
|
writable: true,
|
|
73464
73604
|
initializer: null
|
|
73465
|
-
}),
|
|
73605
|
+
}), _descriptor70 = _babel_runtime_helpers_applyDecoratedDescriptor__WEBPACK_IMPORTED_MODULE_1___default()(_class106.prototype, "type", [_dec124], {
|
|
73466
73606
|
configurable: true,
|
|
73467
73607
|
enumerable: true,
|
|
73468
73608
|
writable: true,
|
|
73469
73609
|
initializer: function () {
|
|
73470
73610
|
return "decimal";
|
|
73471
73611
|
}
|
|
73472
|
-
}),
|
|
73473
|
-
let FormulaArrayExpression = (
|
|
73612
|
+
}), _class106)) || _class105);
|
|
73613
|
+
let FormulaArrayExpression = (_dec125 = (0,_markupGenerator_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_5__.sugarNode)("array", `TODO`), _dec126 = (0,_markupGenerator_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_5__.children)(), _dec125(_class107 = (_class108 = class FormulaArrayExpression extends FormulaExpression {
|
|
73474
73614
|
constructor(...args) {
|
|
73475
73615
|
super(...args);
|
|
73476
|
-
_babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0___default()(this, "items",
|
|
73616
|
+
_babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0___default()(this, "items", _descriptor71, this);
|
|
73477
73617
|
}
|
|
73478
|
-
},
|
|
73618
|
+
}, _descriptor71 = _babel_runtime_helpers_applyDecoratedDescriptor__WEBPACK_IMPORTED_MODULE_1___default()(_class108.prototype, "items", [_dec126], {
|
|
73479
73619
|
configurable: true,
|
|
73480
73620
|
enumerable: true,
|
|
73481
73621
|
writable: true,
|
|
73482
73622
|
initializer: null
|
|
73483
|
-
}),
|
|
73484
|
-
let FormulaFilterColumnExpression = (
|
|
73623
|
+
}), _class108)) || _class107);
|
|
73624
|
+
let FormulaFilterColumnExpression = (_dec127 = (0,_markupGenerator_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_5__.sugarNode)("filtercolumn", `Получить значения пиклиста по фильру`), _dec128 = (0,_markupGenerator_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_5__.singleChild)(), _dec127(_class109 = (_class110 = class FormulaFilterColumnExpression extends FormulaExpression {
|
|
73485
73625
|
constructor(...args) {
|
|
73486
73626
|
super(...args);
|
|
73487
|
-
_babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0___default()(this, "filterColumn",
|
|
73627
|
+
_babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0___default()(this, "filterColumn", _descriptor72, this);
|
|
73488
73628
|
}
|
|
73489
|
-
},
|
|
73629
|
+
}, _descriptor72 = _babel_runtime_helpers_applyDecoratedDescriptor__WEBPACK_IMPORTED_MODULE_1___default()(_class110.prototype, "filterColumn", [_dec128], {
|
|
73490
73630
|
configurable: true,
|
|
73491
73631
|
enumerable: true,
|
|
73492
73632
|
writable: true,
|
|
73493
73633
|
initializer: null
|
|
73494
|
-
}),
|
|
73495
|
-
let FormulaFilterKeyExpression = (
|
|
73634
|
+
}), _class110)) || _class109);
|
|
73635
|
+
let FormulaFilterKeyExpression = (_dec129 = (0,_markupGenerator_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_5__.sugarNode)("filterkey", `Получить значения пиклиста по фильру`), _dec130 = (0,_markupGenerator_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_5__.singleChild)(), _dec129(_class111 = (_class112 = class FormulaFilterKeyExpression extends FormulaExpression {
|
|
73496
73636
|
constructor(...args) {
|
|
73497
73637
|
super(...args);
|
|
73498
|
-
_babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0___default()(this, "filterKey",
|
|
73638
|
+
_babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0___default()(this, "filterKey", _descriptor73, this);
|
|
73499
73639
|
}
|
|
73500
|
-
},
|
|
73640
|
+
}, _descriptor73 = _babel_runtime_helpers_applyDecoratedDescriptor__WEBPACK_IMPORTED_MODULE_1___default()(_class112.prototype, "filterKey", [_dec130], {
|
|
73501
73641
|
configurable: true,
|
|
73502
73642
|
enumerable: true,
|
|
73503
73643
|
writable: true,
|
|
73504
73644
|
initializer: null
|
|
73505
|
-
}),
|
|
73506
|
-
let FormulaGetPicklistValuesExpression = (
|
|
73645
|
+
}), _class112)) || _class111);
|
|
73646
|
+
let FormulaGetPicklistValuesExpression = (_dec131 = (0,_markupGenerator_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_5__.sugarNode)("getpicklistvalues", `Получить значения пиклиста по фильру. Используется только для генерации FLANG. В калькуляторе не работает`), _dec132 = (0,_markupGenerator_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_5__.attr)("gId", _markupGenerator_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_5__.attrType.string.required, ``), _dec133 = (0,_markupGenerator_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_5__.singleChild)("filtercolumn", [FormulaFilterColumnExpression]), _dec134 = (0,_markupGenerator_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_5__.singleChild)("filterkey", [FormulaFilterKeyExpression]), _dec135 = (0,_markupGenerator_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_5__.attr)("resultColumn", _markupGenerator_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_5__.attrType.string.required, ``), _dec131(_class113 = (_class114 = class FormulaGetPicklistValuesExpression extends FormulaExpression {
|
|
73507
73647
|
constructor(...args) {
|
|
73508
73648
|
super(...args);
|
|
73509
|
-
_babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0___default()(this, "gId",
|
|
73510
|
-
_babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0___default()(this, "filterColumn",
|
|
73511
|
-
_babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0___default()(this, "filterKey",
|
|
73512
|
-
_babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0___default()(this, "resultColumn",
|
|
73649
|
+
_babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0___default()(this, "gId", _descriptor74, this);
|
|
73650
|
+
_babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0___default()(this, "filterColumn", _descriptor75, this);
|
|
73651
|
+
_babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0___default()(this, "filterKey", _descriptor76, this);
|
|
73652
|
+
_babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0___default()(this, "resultColumn", _descriptor77, this);
|
|
73513
73653
|
}
|
|
73514
73654
|
getLegacyExpressionTypeForFunctionName() {
|
|
73515
73655
|
return "getPicklistValues";
|
|
73516
73656
|
}
|
|
73517
|
-
},
|
|
73657
|
+
}, _descriptor74 = _babel_runtime_helpers_applyDecoratedDescriptor__WEBPACK_IMPORTED_MODULE_1___default()(_class114.prototype, "gId", [_dec132], {
|
|
73518
73658
|
configurable: true,
|
|
73519
73659
|
enumerable: true,
|
|
73520
73660
|
writable: true,
|
|
73521
73661
|
initializer: null
|
|
73522
|
-
}),
|
|
73662
|
+
}), _descriptor75 = _babel_runtime_helpers_applyDecoratedDescriptor__WEBPACK_IMPORTED_MODULE_1___default()(_class114.prototype, "filterColumn", [_dec133], {
|
|
73523
73663
|
configurable: true,
|
|
73524
73664
|
enumerable: true,
|
|
73525
73665
|
writable: true,
|
|
73526
73666
|
initializer: null
|
|
73527
|
-
}),
|
|
73667
|
+
}), _descriptor76 = _babel_runtime_helpers_applyDecoratedDescriptor__WEBPACK_IMPORTED_MODULE_1___default()(_class114.prototype, "filterKey", [_dec134], {
|
|
73528
73668
|
configurable: true,
|
|
73529
73669
|
enumerable: true,
|
|
73530
73670
|
writable: true,
|
|
73531
73671
|
initializer: null
|
|
73532
|
-
}),
|
|
73672
|
+
}), _descriptor77 = _babel_runtime_helpers_applyDecoratedDescriptor__WEBPACK_IMPORTED_MODULE_1___default()(_class114.prototype, "resultColumn", [_dec135], {
|
|
73533
73673
|
configurable: true,
|
|
73534
73674
|
enumerable: true,
|
|
73535
73675
|
writable: true,
|
|
73536
73676
|
initializer: null
|
|
73537
|
-
}),
|
|
73538
|
-
let FormulaFirstOrDefaultExpression = (
|
|
73677
|
+
}), _class114)) || _class113);
|
|
73678
|
+
let FormulaFirstOrDefaultExpression = (_dec136 = (0,_markupGenerator_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_5__.sugarNode)("firstordefault", `Взять первый элемент массива. Используется только для генерации FLANG. В калькуляторе не работает`), _dec137 = (0,_markupGenerator_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_5__.singleChild)(), _dec136(_class115 = (_class116 = class FormulaFirstOrDefaultExpression extends FormulaExpression {
|
|
73539
73679
|
constructor(...args) {
|
|
73540
73680
|
super(...args);
|
|
73541
|
-
_babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0___default()(this, "expression",
|
|
73681
|
+
_babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0___default()(this, "expression", _descriptor78, this);
|
|
73542
73682
|
}
|
|
73543
|
-
},
|
|
73683
|
+
}, _descriptor78 = _babel_runtime_helpers_applyDecoratedDescriptor__WEBPACK_IMPORTED_MODULE_1___default()(_class116.prototype, "expression", [_dec137], {
|
|
73544
73684
|
configurable: true,
|
|
73545
73685
|
enumerable: true,
|
|
73546
73686
|
writable: true,
|
|
73547
73687
|
initializer: null
|
|
73548
|
-
}),
|
|
73549
|
-
let FormulaHashSetExpression = (
|
|
73688
|
+
}), _class116)) || _class115);
|
|
73689
|
+
let FormulaHashSetExpression = (_dec138 = (0,_markupGenerator_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_5__.sugarNode)("hashset", `Оставить только уникальные значения в массиве. Используется только для генерации FLANG. В калькуляторе не работает`), _dec139 = (0,_markupGenerator_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_5__.singleChild)(), _dec138(_class117 = (_class118 = class FormulaHashSetExpression extends FormulaExpression {
|
|
73550
73690
|
constructor(...args) {
|
|
73551
73691
|
super(...args);
|
|
73552
|
-
_babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0___default()(this, "expression",
|
|
73692
|
+
_babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0___default()(this, "expression", _descriptor79, this);
|
|
73553
73693
|
}
|
|
73554
|
-
},
|
|
73694
|
+
}, _descriptor79 = _babel_runtime_helpers_applyDecoratedDescriptor__WEBPACK_IMPORTED_MODULE_1___default()(_class118.prototype, "expression", [_dec139], {
|
|
73555
73695
|
configurable: true,
|
|
73556
73696
|
enumerable: true,
|
|
73557
73697
|
writable: true,
|
|
73558
73698
|
initializer: null
|
|
73559
|
-
}),
|
|
73560
|
-
let FormulaExistsExpression = (
|
|
73699
|
+
}), _class118)) || _class117);
|
|
73700
|
+
let FormulaExistsExpression = (_dec140 = (0,_markupGenerator_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_5__.sugarNode)("exists", `TODO`), _dec141 = (0,_markupGenerator_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_5__.attr)("select", _markupGenerator_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_5__.attrType.string.required, ``), _dec140(_class119 = (_class120 = class FormulaExistsExpression extends FormulaExpression {
|
|
73561
73701
|
constructor(...args) {
|
|
73562
73702
|
super(...args);
|
|
73563
|
-
_babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0___default()(this, "select",
|
|
73703
|
+
_babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0___default()(this, "select", _descriptor80, this);
|
|
73564
73704
|
}
|
|
73565
73705
|
getLegacyExpressionTypeForFunctionName() {
|
|
73566
73706
|
return "exists";
|
|
73567
73707
|
}
|
|
73568
|
-
},
|
|
73708
|
+
}, _descriptor80 = _babel_runtime_helpers_applyDecoratedDescriptor__WEBPACK_IMPORTED_MODULE_1___default()(_class120.prototype, "select", [_dec141], {
|
|
73569
73709
|
configurable: true,
|
|
73570
73710
|
enumerable: true,
|
|
73571
73711
|
writable: true,
|
|
73572
73712
|
initializer: null
|
|
73573
|
-
}),
|
|
73574
|
-
let FormulaMultySumExpression = (
|
|
73713
|
+
}), _class120)) || _class119);
|
|
73714
|
+
let FormulaMultySumExpression = (_dec142 = (0,_markupGenerator_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_5__.sugarNode)("multysum", `TODO`), _dec143 = (0,_markupGenerator_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_5__.attr)("select", _markupGenerator_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_5__.attrType.string.required, ``), _dec142(_class121 = (_class122 = class FormulaMultySumExpression extends FormulaExpression {
|
|
73575
73715
|
constructor(...args) {
|
|
73576
73716
|
super(...args);
|
|
73577
|
-
_babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0___default()(this, "select",
|
|
73717
|
+
_babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0___default()(this, "select", _descriptor81, this);
|
|
73578
73718
|
}
|
|
73579
|
-
},
|
|
73719
|
+
}, _descriptor81 = _babel_runtime_helpers_applyDecoratedDescriptor__WEBPACK_IMPORTED_MODULE_1___default()(_class122.prototype, "select", [_dec143], {
|
|
73580
73720
|
configurable: true,
|
|
73581
73721
|
enumerable: true,
|
|
73582
73722
|
writable: true,
|
|
73583
73723
|
initializer: null
|
|
73584
|
-
}),
|
|
73585
|
-
let FormulaCountExpression = (
|
|
73724
|
+
}), _class122)) || _class121);
|
|
73725
|
+
let FormulaCountExpression = (_dec144 = (0,_markupGenerator_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_5__.sugarNode)("count", `TODO`), _dec145 = (0,_markupGenerator_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_5__.attr)("select", _markupGenerator_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_5__.attrType.string.required, ``), _dec146 = (0,_markupGenerator_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_5__.attr)("withNullOrEmptyValues", _markupGenerator_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_5__.attrType.boolean, `брать в расчет незаполненные экземпляры`), _dec144(_class123 = (_class124 = class FormulaCountExpression extends FormulaExpression {
|
|
73586
73726
|
constructor(...args) {
|
|
73587
73727
|
super(...args);
|
|
73588
|
-
_babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0___default()(this, "select",
|
|
73589
|
-
_babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0___default()(this, "withNullOrEmptyValues",
|
|
73728
|
+
_babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0___default()(this, "select", _descriptor82, this);
|
|
73729
|
+
_babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0___default()(this, "withNullOrEmptyValues", _descriptor83, this);
|
|
73590
73730
|
}
|
|
73591
|
-
},
|
|
73731
|
+
}, _descriptor82 = _babel_runtime_helpers_applyDecoratedDescriptor__WEBPACK_IMPORTED_MODULE_1___default()(_class124.prototype, "select", [_dec145], {
|
|
73592
73732
|
configurable: true,
|
|
73593
73733
|
enumerable: true,
|
|
73594
73734
|
writable: true,
|
|
73595
73735
|
initializer: null
|
|
73596
|
-
}),
|
|
73736
|
+
}), _descriptor83 = _babel_runtime_helpers_applyDecoratedDescriptor__WEBPACK_IMPORTED_MODULE_1___default()(_class124.prototype, "withNullOrEmptyValues", [_dec146], {
|
|
73597
73737
|
configurable: true,
|
|
73598
73738
|
enumerable: true,
|
|
73599
73739
|
writable: true,
|
|
73600
73740
|
initializer: null
|
|
73601
|
-
}),
|
|
73602
|
-
let FormulaInstanceCountExpression = (
|
|
73741
|
+
}), _class124)) || _class123);
|
|
73742
|
+
let FormulaInstanceCountExpression = (_dec147 = (0,_markupGenerator_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_5__.sugarNode)("instancecount", `TODO`), _dec148 = (0,_markupGenerator_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_5__.attr)("select", _markupGenerator_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_5__.attrType.string.required, ``), _dec147(_class125 = (_class126 = class FormulaInstanceCountExpression extends FormulaExpression {
|
|
73603
73743
|
constructor(...args) {
|
|
73604
73744
|
super(...args);
|
|
73605
|
-
_babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0___default()(this, "select",
|
|
73745
|
+
_babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0___default()(this, "select", _descriptor84, this);
|
|
73606
73746
|
}
|
|
73607
|
-
},
|
|
73747
|
+
}, _descriptor84 = _babel_runtime_helpers_applyDecoratedDescriptor__WEBPACK_IMPORTED_MODULE_1___default()(_class126.prototype, "select", [_dec148], {
|
|
73608
73748
|
configurable: true,
|
|
73609
73749
|
enumerable: true,
|
|
73610
73750
|
writable: true,
|
|
73611
73751
|
initializer: null
|
|
73612
|
-
}),
|
|
73613
|
-
let FormulaIsEqualToAutoCalculatedExpression = (
|
|
73752
|
+
}), _class126)) || _class125);
|
|
73753
|
+
let FormulaIsEqualToAutoCalculatedExpression = (_dec149 = (0,_markupGenerator_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_5__.sugarNode)("isequaltoautocalculated", `TODO`), _dec150 = (0,_markupGenerator_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_5__.attr)("select", _markupGenerator_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_5__.attrType.string.required, ``), _dec151 = (0,_markupGenerator_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_5__.attr)("type", _markupGenerator_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_5__.attrType.enum("decimal", "string"), ``), _dec149(_class127 = (_class128 = class FormulaIsEqualToAutoCalculatedExpression extends FormulaExpression {
|
|
73614
73754
|
constructor(...args) {
|
|
73615
73755
|
super(...args);
|
|
73616
|
-
_babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0___default()(this, "select",
|
|
73617
|
-
_babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0___default()(this, "type",
|
|
73756
|
+
_babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0___default()(this, "select", _descriptor85, this);
|
|
73757
|
+
_babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0___default()(this, "type", _descriptor86, this);
|
|
73618
73758
|
}
|
|
73619
|
-
},
|
|
73759
|
+
}, _descriptor85 = _babel_runtime_helpers_applyDecoratedDescriptor__WEBPACK_IMPORTED_MODULE_1___default()(_class128.prototype, "select", [_dec150], {
|
|
73620
73760
|
configurable: true,
|
|
73621
73761
|
enumerable: true,
|
|
73622
73762
|
writable: true,
|
|
73623
73763
|
initializer: null
|
|
73624
|
-
}),
|
|
73764
|
+
}), _descriptor86 = _babel_runtime_helpers_applyDecoratedDescriptor__WEBPACK_IMPORTED_MODULE_1___default()(_class128.prototype, "type", [_dec151], {
|
|
73625
73765
|
configurable: true,
|
|
73626
73766
|
enumerable: true,
|
|
73627
73767
|
writable: true,
|
|
73628
73768
|
initializer: null
|
|
73629
|
-
}),
|
|
73630
|
-
let FormulaJoinExpression = (
|
|
73769
|
+
}), _class128)) || _class127);
|
|
73770
|
+
let FormulaJoinExpression = (_dec152 = (0,_markupGenerator_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_5__.sugarNode)("join", `TODO`), _dec153 = (0,_markupGenerator_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_5__.singleChild)(), _dec152(_class129 = (_class130 = class FormulaJoinExpression extends FormulaExpression {
|
|
73631
73771
|
constructor(...args) {
|
|
73632
73772
|
super(...args);
|
|
73633
|
-
_babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0___default()(this, "array",
|
|
73773
|
+
_babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0___default()(this, "array", _descriptor87, this);
|
|
73634
73774
|
}
|
|
73635
|
-
},
|
|
73775
|
+
}, _descriptor87 = _babel_runtime_helpers_applyDecoratedDescriptor__WEBPACK_IMPORTED_MODULE_1___default()(_class130.prototype, "array", [_dec153], {
|
|
73636
73776
|
configurable: true,
|
|
73637
73777
|
enumerable: true,
|
|
73638
73778
|
writable: true,
|
|
73639
73779
|
initializer: null
|
|
73640
|
-
}),
|
|
73641
|
-
let FormulaPropertyByNameExpression = (
|
|
73780
|
+
}), _class130)) || _class129);
|
|
73781
|
+
let FormulaPropertyByNameExpression = (_dec154 = (0,_markupGenerator_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_5__.sugarNode)("property", `TODO`), _dec155 = (0,_markupGenerator_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_5__.attr)("name", _markupGenerator_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_5__.attrType.string.required, ``), _dec154(_class131 = (_class132 = class FormulaPropertyByNameExpression extends FormulaExpression {
|
|
73642
73782
|
constructor(...args) {
|
|
73643
73783
|
super(...args);
|
|
73644
|
-
_babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0___default()(this, "name",
|
|
73784
|
+
_babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0___default()(this, "name", _descriptor88, this);
|
|
73645
73785
|
}
|
|
73646
|
-
},
|
|
73786
|
+
}, _descriptor88 = _babel_runtime_helpers_applyDecoratedDescriptor__WEBPACK_IMPORTED_MODULE_1___default()(_class132.prototype, "name", [_dec155], {
|
|
73647
73787
|
configurable: true,
|
|
73648
73788
|
enumerable: true,
|
|
73649
73789
|
writable: true,
|
|
73650
73790
|
initializer: null
|
|
73651
|
-
}),
|
|
73652
|
-
let FormulaConcatExpression = (
|
|
73791
|
+
}), _class132)) || _class131);
|
|
73792
|
+
let FormulaConcatExpression = (_dec156 = (0,_markupGenerator_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_5__.sugarNode)("concat", `Конкатенация строк`), _dec157 = (0,_markupGenerator_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_5__.children)(), _dec156(_class133 = (_class134 = class FormulaConcatExpression extends FormulaExpression {
|
|
73653
73793
|
constructor(...args) {
|
|
73654
73794
|
super(...args);
|
|
73655
|
-
_babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0___default()(this, "arguments",
|
|
73795
|
+
_babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0___default()(this, "arguments", _descriptor89, this);
|
|
73656
73796
|
}
|
|
73657
|
-
},
|
|
73797
|
+
}, _descriptor89 = _babel_runtime_helpers_applyDecoratedDescriptor__WEBPACK_IMPORTED_MODULE_1___default()(_class134.prototype, "arguments", [_dec157], {
|
|
73658
73798
|
configurable: true,
|
|
73659
73799
|
enumerable: true,
|
|
73660
73800
|
writable: true,
|
|
73661
73801
|
initializer: null
|
|
73662
|
-
}),
|
|
73663
|
-
let FormulaNewLineExpression = (
|
|
73664
|
-
let Formula = (
|
|
73802
|
+
}), _class134)) || _class133);
|
|
73803
|
+
let FormulaNewLineExpression = (_dec158 = (0,_markupGenerator_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_5__.sugarNode)("newline", `Перевод на новую строку`), _dec158(_class135 = class FormulaNewLineExpression extends FormulaExpression {}) || _class135);
|
|
73804
|
+
let Formula = (_dec159 = (0,_markupGenerator_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_5__.sugarNode)("formula", `TODO`), _dec160 = (0,_markupGenerator_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_5__.attr)("match", _markupGenerator_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_5__.attrType.string.required, ``), _dec161 = (0,_markupGenerator_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_5__.attr)("target", _markupGenerator_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_5__.attrType.string.required, ``), _dec162 = (0,_markupGenerator_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_5__.singleChild)(), _dec159(_class136 = (_class137 = class Formula extends _markupGenerator_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_5__.SugarNodeBase {
|
|
73665
73805
|
constructor(...args) {
|
|
73666
73806
|
super(...args);
|
|
73667
|
-
_babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0___default()(this, "match",
|
|
73668
|
-
_babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0___default()(this, "target",
|
|
73669
|
-
_babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0___default()(this, "expression",
|
|
73807
|
+
_babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0___default()(this, "match", _descriptor90, this);
|
|
73808
|
+
_babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0___default()(this, "target", _descriptor91, this);
|
|
73809
|
+
_babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0___default()(this, "expression", _descriptor92, this);
|
|
73670
73810
|
}
|
|
73671
|
-
},
|
|
73811
|
+
}, _descriptor90 = _babel_runtime_helpers_applyDecoratedDescriptor__WEBPACK_IMPORTED_MODULE_1___default()(_class137.prototype, "match", [_dec160], {
|
|
73672
73812
|
configurable: true,
|
|
73673
73813
|
enumerable: true,
|
|
73674
73814
|
writable: true,
|
|
73675
73815
|
initializer: null
|
|
73676
|
-
}),
|
|
73816
|
+
}), _descriptor91 = _babel_runtime_helpers_applyDecoratedDescriptor__WEBPACK_IMPORTED_MODULE_1___default()(_class137.prototype, "target", [_dec161], {
|
|
73677
73817
|
configurable: true,
|
|
73678
73818
|
enumerable: true,
|
|
73679
73819
|
writable: true,
|
|
73680
73820
|
initializer: null
|
|
73681
|
-
}),
|
|
73821
|
+
}), _descriptor92 = _babel_runtime_helpers_applyDecoratedDescriptor__WEBPACK_IMPORTED_MODULE_1___default()(_class137.prototype, "expression", [_dec162], {
|
|
73682
73822
|
configurable: true,
|
|
73683
73823
|
enumerable: true,
|
|
73684
73824
|
writable: true,
|
|
73685
73825
|
initializer: null
|
|
73686
|
-
}),
|
|
73687
|
-
let FormulaNoDepsNode = (
|
|
73826
|
+
}), _class137)) || _class136);
|
|
73827
|
+
let FormulaNoDepsNode = (_dec163 = (0,_markupGenerator_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_5__.sugarNode)("nodeps", `Замыкает цикл пробега по зависимостям на элементе, что исключает бесконечную зацикленность. Только для серверной нормализации`), _dec164 = (0,_markupGenerator_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_5__.singleChild)(), _dec163(_class138 = (_class139 = class FormulaNoDepsNode extends _markupGenerator_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_5__.SugarNodeBase {
|
|
73688
73828
|
constructor(...args) {
|
|
73689
73829
|
super(...args);
|
|
73690
|
-
_babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0___default()(this, "expression",
|
|
73830
|
+
_babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0___default()(this, "expression", _descriptor93, this);
|
|
73691
73831
|
}
|
|
73692
|
-
},
|
|
73832
|
+
}, _descriptor93 = _babel_runtime_helpers_applyDecoratedDescriptor__WEBPACK_IMPORTED_MODULE_1___default()(_class139.prototype, "expression", [_dec164], {
|
|
73693
73833
|
configurable: true,
|
|
73694
73834
|
enumerable: true,
|
|
73695
73835
|
writable: true,
|
|
73696
73836
|
initializer: null
|
|
73697
|
-
}),
|
|
73698
|
-
let Formulas = (
|
|
73837
|
+
}), _class139)) || _class138);
|
|
73838
|
+
let Formulas = (_dec165 = (0,_markupGenerator_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_5__.sugarNode)("formulas", `TODO`), _dec166 = (0,_markupGenerator_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_5__.children)("formula", [Formula]), _dec165(_class140 = (_class141 = class Formulas extends _markupGenerator_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_5__.SugarNodeBase {
|
|
73699
73839
|
constructor(...args) {
|
|
73700
73840
|
super(...args);
|
|
73701
|
-
_babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0___default()(this, "items",
|
|
73841
|
+
_babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0___default()(this, "items", _descriptor94, this);
|
|
73702
73842
|
}
|
|
73703
|
-
},
|
|
73843
|
+
}, _descriptor94 = _babel_runtime_helpers_applyDecoratedDescriptor__WEBPACK_IMPORTED_MODULE_1___default()(_class141.prototype, "items", [_dec166], {
|
|
73704
73844
|
configurable: true,
|
|
73705
73845
|
enumerable: true,
|
|
73706
73846
|
writable: true,
|
|
73707
73847
|
initializer: null
|
|
73708
|
-
}),
|
|
73709
|
-
let ConditionNode = (
|
|
73848
|
+
}), _class141)) || _class140);
|
|
73849
|
+
let ConditionNode = (_dec167 = (0,_markupGenerator_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_5__.sugarNode)("condition", `TODO`), _dec168 = (0,_markupGenerator_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_5__.attr)("match", _markupGenerator_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_5__.attrType.string.required, ``), _dec169 = (0,_markupGenerator_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_5__.attr)("target", _markupGenerator_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_5__.attrType.string.required, ``), _dec170 = (0,_markupGenerator_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_5__.attr)("description", _markupGenerator_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_5__.attrType.string.required, ``), _dec171 = (0,_markupGenerator_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_5__.attr)("errorLevel", _markupGenerator_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_5__.attrType.enum("Error", "Warning"), `Уровень ошибки может быть Error или Warning - параметр влияет на подсветку. Красную или Оранжевую соотвественно`), _dec172 = (0,_markupGenerator_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_5__.singleChild)(), _dec167(_class142 = (_class143 = class ConditionNode extends _markupGenerator_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_5__.SugarNodeBase {
|
|
73710
73850
|
constructor(...args) {
|
|
73711
73851
|
super(...args);
|
|
73712
|
-
_babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0___default()(this, "match",
|
|
73713
|
-
_babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0___default()(this, "target",
|
|
73714
|
-
_babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0___default()(this, "description",
|
|
73715
|
-
_babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0___default()(this, "errorLevel",
|
|
73716
|
-
_babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0___default()(this, "expression",
|
|
73852
|
+
_babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0___default()(this, "match", _descriptor95, this);
|
|
73853
|
+
_babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0___default()(this, "target", _descriptor96, this);
|
|
73854
|
+
_babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0___default()(this, "description", _descriptor97, this);
|
|
73855
|
+
_babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0___default()(this, "errorLevel", _descriptor98, this);
|
|
73856
|
+
_babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0___default()(this, "expression", _descriptor99, this);
|
|
73717
73857
|
}
|
|
73718
|
-
},
|
|
73858
|
+
}, _descriptor95 = _babel_runtime_helpers_applyDecoratedDescriptor__WEBPACK_IMPORTED_MODULE_1___default()(_class143.prototype, "match", [_dec168], {
|
|
73719
73859
|
configurable: true,
|
|
73720
73860
|
enumerable: true,
|
|
73721
73861
|
writable: true,
|
|
73722
73862
|
initializer: null
|
|
73723
|
-
}),
|
|
73863
|
+
}), _descriptor96 = _babel_runtime_helpers_applyDecoratedDescriptor__WEBPACK_IMPORTED_MODULE_1___default()(_class143.prototype, "target", [_dec169], {
|
|
73724
73864
|
configurable: true,
|
|
73725
73865
|
enumerable: true,
|
|
73726
73866
|
writable: true,
|
|
73727
73867
|
initializer: null
|
|
73728
|
-
}),
|
|
73868
|
+
}), _descriptor97 = _babel_runtime_helpers_applyDecoratedDescriptor__WEBPACK_IMPORTED_MODULE_1___default()(_class143.prototype, "description", [_dec170], {
|
|
73729
73869
|
configurable: true,
|
|
73730
73870
|
enumerable: true,
|
|
73731
73871
|
writable: true,
|
|
73732
73872
|
initializer: null
|
|
73733
|
-
}),
|
|
73873
|
+
}), _descriptor98 = _babel_runtime_helpers_applyDecoratedDescriptor__WEBPACK_IMPORTED_MODULE_1___default()(_class143.prototype, "errorLevel", [_dec171], {
|
|
73734
73874
|
configurable: true,
|
|
73735
73875
|
enumerable: true,
|
|
73736
73876
|
writable: true,
|
|
73737
73877
|
initializer: null
|
|
73738
|
-
}),
|
|
73878
|
+
}), _descriptor99 = _babel_runtime_helpers_applyDecoratedDescriptor__WEBPACK_IMPORTED_MODULE_1___default()(_class143.prototype, "expression", [_dec172], {
|
|
73739
73879
|
configurable: true,
|
|
73740
73880
|
enumerable: true,
|
|
73741
73881
|
writable: true,
|
|
73742
73882
|
initializer: null
|
|
73743
|
-
}),
|
|
73744
|
-
let ConditionsNode = (
|
|
73883
|
+
}), _class143)) || _class142);
|
|
73884
|
+
let ConditionsNode = (_dec173 = (0,_markupGenerator_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_5__.sugarNode)("conditions", `TODO`), _dec174 = (0,_markupGenerator_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_5__.children)("condition", [ConditionNode]), _dec173(_class144 = (_class145 = class ConditionsNode extends _markupGenerator_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_5__.SugarNodeBase {
|
|
73745
73885
|
constructor(...args) {
|
|
73746
73886
|
super(...args);
|
|
73747
|
-
_babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0___default()(this, "items",
|
|
73887
|
+
_babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0___default()(this, "items", _descriptor100, this);
|
|
73748
73888
|
}
|
|
73749
|
-
},
|
|
73889
|
+
}, _descriptor100 = _babel_runtime_helpers_applyDecoratedDescriptor__WEBPACK_IMPORTED_MODULE_1___default()(_class145.prototype, "items", [_dec174], {
|
|
73750
73890
|
configurable: true,
|
|
73751
73891
|
enumerable: true,
|
|
73752
73892
|
writable: true,
|
|
73753
73893
|
initializer: null
|
|
73754
|
-
}),
|
|
73755
|
-
let MathContainer = (
|
|
73894
|
+
}), _class145)) || _class144);
|
|
73895
|
+
let MathContainer = (_dec175 = (0,_markupGenerator_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_5__.sugarNode)("math", `TODO`), _dec176 = (0,_markupGenerator_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_5__.singleChild)("formulas", [Formulas]), _dec177 = (0,_markupGenerator_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_5__.singleChild)("conditions", [ConditionsNode]), _dec175(_class146 = (_class147 = class MathContainer extends _markupGenerator_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_5__.SugarNodeBase {
|
|
73756
73896
|
constructor(...args) {
|
|
73757
73897
|
super(...args);
|
|
73758
|
-
_babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0___default()(this, "formulas",
|
|
73759
|
-
_babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0___default()(this, "conditions",
|
|
73898
|
+
_babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0___default()(this, "formulas", _descriptor101, this);
|
|
73899
|
+
_babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0___default()(this, "conditions", _descriptor102, this);
|
|
73760
73900
|
}
|
|
73761
|
-
},
|
|
73901
|
+
}, _descriptor101 = _babel_runtime_helpers_applyDecoratedDescriptor__WEBPACK_IMPORTED_MODULE_1___default()(_class147.prototype, "formulas", [_dec176], {
|
|
73762
73902
|
configurable: true,
|
|
73763
73903
|
enumerable: true,
|
|
73764
73904
|
writable: true,
|
|
73765
73905
|
initializer: null
|
|
73766
|
-
}),
|
|
73906
|
+
}), _descriptor102 = _babel_runtime_helpers_applyDecoratedDescriptor__WEBPACK_IMPORTED_MODULE_1___default()(_class147.prototype, "conditions", [_dec177], {
|
|
73767
73907
|
configurable: true,
|
|
73768
73908
|
enumerable: true,
|
|
73769
73909
|
writable: true,
|
|
73770
73910
|
initializer: null
|
|
73771
|
-
}),
|
|
73772
|
-
let FormulaMakeDictExpression = (
|
|
73911
|
+
}), _class147)) || _class146);
|
|
73912
|
+
let FormulaMakeDictExpression = (_dec178 = (0,_markupGenerator_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_5__.sugarNode)("makedict", `Получение словаря по ключу-значению из иннера`), _dec179 = (0,_markupGenerator_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_5__.attr)("sourceKeyPath", _markupGenerator_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_5__.attrType.string.required, `Путь откуда брать ключ`), _dec180 = (0,_markupGenerator_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_5__.singleChild)(undefined, [FormulaArgumentExpression, FormulaConstExpression, FormulaCastExpression], `Путь откуда брать значение или константа`), _dec178(_class148 = (_class149 = class FormulaMakeDictExpression extends FormulaExpression {
|
|
73773
73913
|
constructor(...args) {
|
|
73774
73914
|
super(...args);
|
|
73775
|
-
_babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0___default()(this, "sourceKeyPath",
|
|
73776
|
-
_babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0___default()(this, "sourceValueExpression",
|
|
73915
|
+
_babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0___default()(this, "sourceKeyPath", _descriptor103, this);
|
|
73916
|
+
_babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0___default()(this, "sourceValueExpression", _descriptor104, this);
|
|
73777
73917
|
}
|
|
73778
|
-
},
|
|
73918
|
+
}, _descriptor103 = _babel_runtime_helpers_applyDecoratedDescriptor__WEBPACK_IMPORTED_MODULE_1___default()(_class149.prototype, "sourceKeyPath", [_dec179], {
|
|
73779
73919
|
configurable: true,
|
|
73780
73920
|
enumerable: true,
|
|
73781
73921
|
writable: true,
|
|
73782
73922
|
initializer: null
|
|
73783
|
-
}),
|
|
73923
|
+
}), _descriptor104 = _babel_runtime_helpers_applyDecoratedDescriptor__WEBPACK_IMPORTED_MODULE_1___default()(_class149.prototype, "sourceValueExpression", [_dec180], {
|
|
73784
73924
|
configurable: true,
|
|
73785
73925
|
enumerable: true,
|
|
73786
73926
|
writable: true,
|
|
73787
73927
|
initializer: null
|
|
73788
|
-
}),
|
|
73789
|
-
let FormulaGetSumByKeysExpression = (
|
|
73928
|
+
}), _class149)) || _class148);
|
|
73929
|
+
let FormulaGetSumByKeysExpression = (_dec181 = (0,_markupGenerator_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_5__.sugarNode)("getsumbykeys", `Вычисление суммы с группировкой в разных множественностях`), _dec182 = (0,_markupGenerator_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_5__.attr)("dictPath", _markupGenerator_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_5__.attrType.string.required, `Путь к словарю`), _dec183 = (0,_markupGenerator_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_5__.singleChild)("array", [FormulaArrayExpression]), _dec181(_class150 = (_class151 = class FormulaGetSumByKeysExpression extends FormulaExpression {
|
|
73790
73930
|
constructor(...args) {
|
|
73791
73931
|
super(...args);
|
|
73792
|
-
_babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0___default()(this, "dictPath",
|
|
73793
|
-
_babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0___default()(this, "targetKeys",
|
|
73932
|
+
_babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0___default()(this, "dictPath", _descriptor105, this);
|
|
73933
|
+
_babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0___default()(this, "targetKeys", _descriptor106, this);
|
|
73794
73934
|
}
|
|
73795
|
-
},
|
|
73935
|
+
}, _descriptor105 = _babel_runtime_helpers_applyDecoratedDescriptor__WEBPACK_IMPORTED_MODULE_1___default()(_class151.prototype, "dictPath", [_dec182], {
|
|
73796
73936
|
configurable: true,
|
|
73797
73937
|
enumerable: true,
|
|
73798
73938
|
writable: true,
|
|
73799
73939
|
initializer: null
|
|
73800
|
-
}),
|
|
73940
|
+
}), _descriptor106 = _babel_runtime_helpers_applyDecoratedDescriptor__WEBPACK_IMPORTED_MODULE_1___default()(_class151.prototype, "targetKeys", [_dec183], {
|
|
73801
73941
|
configurable: true,
|
|
73802
73942
|
enumerable: true,
|
|
73803
73943
|
writable: true,
|
|
73804
73944
|
initializer: null
|
|
73805
|
-
}),
|
|
73806
|
-
let FormulaGroupSumExpression = (
|
|
73945
|
+
}), _class151)) || _class150);
|
|
73946
|
+
let FormulaGroupSumExpression = (_dec184 = (0,_markupGenerator_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_5__.sugarNode)("groupsum", `Вычисление суммы с группировкой в разных множественностях`), _dec185 = (0,_markupGenerator_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_5__.singleChild)("array", [FormulaArrayExpression]), _dec186 = (0,_markupGenerator_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_5__.attr)("sourceKeyPath", _markupGenerator_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_5__.attrType.string.required, `Путь откуда брать ключ группы в суммируемой множественности`), _dec187 = (0,_markupGenerator_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_5__.attr)("sourceValuePath", _markupGenerator_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_5__.attrType.string.required, `Путь в суммируемой множественности откуда берем значение для свёртки`), _dec184(_class152 = (_class153 = class FormulaGroupSumExpression extends FormulaExpression {
|
|
73807
73947
|
constructor(...args) {
|
|
73808
73948
|
super(...args);
|
|
73809
|
-
_babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0___default()(this, "targetKeys",
|
|
73810
|
-
_babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0___default()(this, "sourceKeyPath",
|
|
73811
|
-
_babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0___default()(this, "sourceValuePath",
|
|
73949
|
+
_babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0___default()(this, "targetKeys", _descriptor107, this);
|
|
73950
|
+
_babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0___default()(this, "sourceKeyPath", _descriptor108, this);
|
|
73951
|
+
_babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0___default()(this, "sourceValuePath", _descriptor109, this);
|
|
73812
73952
|
}
|
|
73813
|
-
},
|
|
73953
|
+
}, _descriptor107 = _babel_runtime_helpers_applyDecoratedDescriptor__WEBPACK_IMPORTED_MODULE_1___default()(_class153.prototype, "targetKeys", [_dec185], {
|
|
73814
73954
|
configurable: true,
|
|
73815
73955
|
enumerable: true,
|
|
73816
73956
|
writable: true,
|
|
73817
73957
|
initializer: null
|
|
73818
|
-
}),
|
|
73958
|
+
}), _descriptor108 = _babel_runtime_helpers_applyDecoratedDescriptor__WEBPACK_IMPORTED_MODULE_1___default()(_class153.prototype, "sourceKeyPath", [_dec186], {
|
|
73819
73959
|
configurable: true,
|
|
73820
73960
|
enumerable: true,
|
|
73821
73961
|
writable: true,
|
|
73822
73962
|
initializer: null
|
|
73823
|
-
}),
|
|
73963
|
+
}), _descriptor109 = _babel_runtime_helpers_applyDecoratedDescriptor__WEBPACK_IMPORTED_MODULE_1___default()(_class153.prototype, "sourceValuePath", [_dec187], {
|
|
73824
73964
|
configurable: true,
|
|
73825
73965
|
enumerable: true,
|
|
73826
73966
|
writable: true,
|
|
73827
73967
|
initializer: null
|
|
73828
|
-
}),
|
|
73829
|
-
let FormulaGroupCountExpression = (
|
|
73968
|
+
}), _class153)) || _class152);
|
|
73969
|
+
let FormulaGroupCountExpression = (_dec188 = (0,_markupGenerator_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_5__.sugarNode)("groupcount", `Вычисление количества элементов по группам в разных множественностях`), _dec189 = (0,_markupGenerator_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_5__.singleChild)("array", [FormulaArrayExpression]), _dec190 = (0,_markupGenerator_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_5__.attr)("sourceKeyPath", _markupGenerator_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_5__.attrType.string.required, `Путь откуда брать ключ группы в суммируемой множественности`), _dec188(_class154 = (_class155 = class FormulaGroupCountExpression extends FormulaExpression {
|
|
73830
73970
|
constructor(...args) {
|
|
73831
73971
|
super(...args);
|
|
73832
|
-
_babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0___default()(this, "targetKeys",
|
|
73833
|
-
_babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0___default()(this, "sourceKeyPath",
|
|
73972
|
+
_babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0___default()(this, "targetKeys", _descriptor110, this);
|
|
73973
|
+
_babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0___default()(this, "sourceKeyPath", _descriptor111, this);
|
|
73834
73974
|
}
|
|
73835
|
-
},
|
|
73975
|
+
}, _descriptor110 = _babel_runtime_helpers_applyDecoratedDescriptor__WEBPACK_IMPORTED_MODULE_1___default()(_class155.prototype, "targetKeys", [_dec189], {
|
|
73836
73976
|
configurable: true,
|
|
73837
73977
|
enumerable: true,
|
|
73838
73978
|
writable: true,
|
|
73839
73979
|
initializer: null
|
|
73840
|
-
}),
|
|
73980
|
+
}), _descriptor111 = _babel_runtime_helpers_applyDecoratedDescriptor__WEBPACK_IMPORTED_MODULE_1___default()(_class155.prototype, "sourceKeyPath", [_dec190], {
|
|
73841
73981
|
configurable: true,
|
|
73842
73982
|
enumerable: true,
|
|
73843
73983
|
writable: true,
|
|
73844
73984
|
initializer: null
|
|
73845
|
-
}),
|
|
73846
|
-
let FormulaNumeratorExpression = (
|
|
73985
|
+
}), _class155)) || _class154);
|
|
73986
|
+
let FormulaNumeratorExpression = (_dec191 = (0,_markupGenerator_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_5__.sugarNode)("numerator", `Получение делимого из дроби A/B`), _dec192 = (0,_markupGenerator_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_5__.singleChild)(), _dec191(_class156 = (_class157 = class FormulaNumeratorExpression extends FormulaExpression {
|
|
73847
73987
|
constructor(...args) {
|
|
73848
73988
|
super(...args);
|
|
73849
|
-
_babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0___default()(this, "expression",
|
|
73989
|
+
_babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0___default()(this, "expression", _descriptor112, this);
|
|
73850
73990
|
}
|
|
73851
|
-
},
|
|
73991
|
+
}, _descriptor112 = _babel_runtime_helpers_applyDecoratedDescriptor__WEBPACK_IMPORTED_MODULE_1___default()(_class157.prototype, "expression", [_dec192], {
|
|
73852
73992
|
configurable: true,
|
|
73853
73993
|
enumerable: true,
|
|
73854
73994
|
writable: true,
|
|
73855
73995
|
initializer: null
|
|
73856
|
-
}),
|
|
73857
|
-
let FormulaDenominatorExpression = (
|
|
73996
|
+
}), _class157)) || _class156);
|
|
73997
|
+
let FormulaDenominatorExpression = (_dec193 = (0,_markupGenerator_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_5__.sugarNode)("denominator", `Получение делителя из дроби A/B`), _dec194 = (0,_markupGenerator_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_5__.singleChild)(), _dec193(_class158 = (_class159 = class FormulaDenominatorExpression extends FormulaExpression {
|
|
73858
73998
|
constructor(...args) {
|
|
73859
73999
|
super(...args);
|
|
73860
|
-
_babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0___default()(this, "expression",
|
|
74000
|
+
_babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0___default()(this, "expression", _descriptor113, this);
|
|
73861
74001
|
}
|
|
73862
|
-
},
|
|
74002
|
+
}, _descriptor113 = _babel_runtime_helpers_applyDecoratedDescriptor__WEBPACK_IMPORTED_MODULE_1___default()(_class159.prototype, "expression", [_dec194], {
|
|
73863
74003
|
configurable: true,
|
|
73864
74004
|
enumerable: true,
|
|
73865
74005
|
writable: true,
|
|
73866
74006
|
initializer: null
|
|
73867
|
-
}),
|
|
73868
|
-
let FormulaGetDateTimeTicksExpression = (
|
|
74007
|
+
}), _class159)) || _class158);
|
|
74008
|
+
let FormulaGetDateTimeTicksExpression = (_dec195 = (0,_markupGenerator_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_5__.sugarNode)("getdatetimeticks", `Получить количество тиков от 01.01.0001`), _dec196 = (0,_markupGenerator_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_5__.singleChild)(), _dec195(_class160 = (_class161 = class FormulaGetDateTimeTicksExpression extends FormulaExpression {
|
|
73869
74009
|
constructor(...args) {
|
|
73870
74010
|
super(...args);
|
|
73871
|
-
_babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0___default()(this, "expression",
|
|
74011
|
+
_babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0___default()(this, "expression", _descriptor114, this);
|
|
73872
74012
|
}
|
|
73873
74013
|
getLegacyExpressionTypeForFunctionName() {
|
|
73874
74014
|
return "getDateTimeTicks";
|
|
73875
74015
|
}
|
|
73876
|
-
},
|
|
74016
|
+
}, _descriptor114 = _babel_runtime_helpers_applyDecoratedDescriptor__WEBPACK_IMPORTED_MODULE_1___default()(_class161.prototype, "expression", [_dec196], {
|
|
73877
74017
|
configurable: true,
|
|
73878
74018
|
enumerable: true,
|
|
73879
74019
|
writable: true,
|
|
73880
74020
|
initializer: null
|
|
73881
|
-
}),
|
|
73882
|
-
let FormulaUUIDExpression = (
|
|
73883
|
-
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, FormulaInstanceCountExpression, FormulaIsEqualToAutoCalculatedExpression, FormulaDateNowExpression, FormulaGetDaysInMonthExpression, FormulaGetDayExpression, FormulaGetMonthExpression, FormulaGetYearExpression, FormulaIsDateExpression, FormulaDifferenceInMonthsExpression, FormulaDifferenceInDaysExpression, FormulaAddDaysExpression, FormulaAddMonthsExpression, FormulaAddYearsExpression, FormulaDateToStringExpression, FormulaDateTimeExpression, FormulaSumOfDayWeightsExpression, FormulaIsSnilsExpression, FormulaIsRegNumSfrExpression, FormulaIsInnExpression, FormulaIsOgrnExpression, FormulaIsValidAccountNumberExpression, FormulaIsValidMirCardNumberExpression, FormulaCastExpression, FormulaConcatExpression, FormulaGroupSumExpression, FormulaGroupCountExpression, FormulaNewLineExpression, FormulaOneOfExpression, FormulaGetPicklistValuesExpression, FormulaArrayExpression, FormulaFirstOrDefaultExpression, FormulaHashSetExpression, FormulaFilterColumnExpression, FormulaFilterKeyExpression, FormulaNoDepsNode, FormulaHasAutoFlagExpression, FormulaMakeDictExpression, FormulaGetSumByKeysExpression, FormulaJoinExpression, FormulaPropertyByNameExpression, FormulaNumeratorExpression, FormulaDenominatorExpression, FormulaGetDateTimeTicksExpression, FormulaUUIDExpression];
|
|
74021
|
+
}), _class161)) || _class160);
|
|
74022
|
+
let FormulaUUIDExpression = (_dec197 = (0,_markupGenerator_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_5__.sugarNode)("uuid", `Сгенерировать UUID`), _dec197(_class162 = class FormulaUUIDExpression extends FormulaExpression {}) || _class162);
|
|
74023
|
+
const formulaExpressions = [FormulaSumExpression, FormulaArgumentExpression, FormulaConstExpression, FormulaMultySumExpression, FormulaRoundExpression, FormulaFloorExpression, FormulaAbsExpression, FormulaDivisionExpression, FormulaMinusExpression, FormulaMultiplyExpression, FormulaChooseExpression, FormulaEqExpression, FormulaGtExpression, FormulaLtExpression, FormulaGeExpression, FormulaLeExpression, FormulaAndExpression, FormulaOrExpression, FormulaNotExpression, FormulaRegexMatchExpression, FormulaRegexReplaceExpression, FormulaSubstringExpression, FormulaXAbsExpression, FormulaExistsExpression, FormulaLengthExpression, FormulaWhenExpression, FormulaCountExpression, FormulaInstanceCountExpression, FormulaIsEqualToAutoCalculatedExpression, FormulaDateNowExpression, FormulaGetDaysInMonthExpression, FormulaGetDayExpression, FormulaGetMonthExpression, FormulaGetYearExpression, FormulaIsDateExpression, FormulaDifferenceInMonthsExpression, FormulaDifferenceInDaysExpression, FormulaAddDaysExpression, FormulaAddMonthsExpression, FormulaAddYearsExpression, FormulaDateToStringExpression, FormulaDateTimeExpression, FormulaSumOfDayWeightsExpression, FormulaIsSnilsExpression, FormulaIsRegNumSfrExpression, FormulaIsInnExpression, FormulaIsOgrnExpression, FormulaIsValidAccountNumberExpression, FormulaIsValidMirCardNumberExpression, FormulaCastExpression, FormulaConcatExpression, FormulaGroupSumExpression, FormulaGroupCountExpression, FormulaNewLineExpression, FormulaOneOfExpression, FormulaGetPicklistValuesExpression, FormulaArrayExpression, FormulaFirstOrDefaultExpression, FormulaHashSetExpression, FormulaFilterColumnExpression, FormulaFilterKeyExpression, FormulaNoDepsNode, FormulaHasAutoFlagExpression, FormulaMakeDictExpression, FormulaGetSumByKeysExpression, FormulaJoinExpression, FormulaPropertyByNameExpression, FormulaNumeratorExpression, FormulaDenominatorExpression, FormulaGetDateTimeTicksExpression, FormulaUUIDExpression];
|
|
73884
74024
|
|
|
73885
74025
|
/***/ }),
|
|
73886
74026
|
|
|
@@ -76404,6 +76544,13 @@ class KCLangExpressionToJsExpressionConverter extends _common_KCLang_CodeDom_KCL
|
|
|
76404
76544
|
visitRegexMatchFunctionCall(expression, context) {
|
|
76405
76545
|
return this.gcf(x => x.regexMatch, this.visit(expression.argument, context), this.visit(expression.patternExpression, context));
|
|
76406
76546
|
}
|
|
76547
|
+
visitRegexReplaceFunctionCall(expression, context) {
|
|
76548
|
+
const params = [this.visit(expression.argument, context), this.visit(expression.patternExpression, context), this.visit(expression.replacement, context)];
|
|
76549
|
+
if (expression.flags != undefined) {
|
|
76550
|
+
params.push(this.visit(expression.flags, context));
|
|
76551
|
+
}
|
|
76552
|
+
return this.gcf(x => x.regexReplace, ...params);
|
|
76553
|
+
}
|
|
76407
76554
|
visitSubstringFunctionCall(expression, context) {
|
|
76408
76555
|
const value = this.visit(expression.argument, context);
|
|
76409
76556
|
const start = this.visit(expression.start, context);
|
|
@@ -76984,6 +77131,16 @@ class KCXmlGeneratorBase {
|
|
|
76984
77131
|
const preparedPattern = JSON.stringify(expression.pattern);
|
|
76985
77132
|
return gcf(x => x.regexMatch, compiledArgument, preparedPattern);
|
|
76986
77133
|
}
|
|
77134
|
+
if (expression instanceof _AutoCalculationsGenerator_AutoCalculationsFromFormulas_KCXmlContract_Formula__WEBPACK_IMPORTED_MODULE_1__.FormulaRegexReplaceExpression) {
|
|
77135
|
+
const compiledArgument = this.compileExpression(prefix, targetFullPath, expression.argument, deps);
|
|
77136
|
+
const preparedPattern = JSON.stringify(expression.pattern);
|
|
77137
|
+
const replacement = JSON.stringify(expression.replacement);
|
|
77138
|
+
if (expression.flags != undefined) {
|
|
77139
|
+
const flags = JSON.stringify(expression.flags);
|
|
77140
|
+
return gcf(x => x.regexReplace, compiledArgument, preparedPattern, replacement, flags);
|
|
77141
|
+
}
|
|
77142
|
+
return gcf(x => x.regexReplace, compiledArgument, preparedPattern, replacement);
|
|
77143
|
+
}
|
|
76987
77144
|
if (expression instanceof _AutoCalculationsGenerator_AutoCalculationsFromFormulas_KCXmlContract_Formula__WEBPACK_IMPORTED_MODULE_1__.FormulaMultiplyExpression) {
|
|
76988
77145
|
(0,_Common_TypingUtils__WEBPACK_IMPORTED_MODULE_2__.ensureArrayLengthGreaterThenOrEqual)(expression.arguments, 2);
|
|
76989
77146
|
const compiledExpressions = expression.arguments.map(arg => this.compileExpression(prefix, targetFullPath, arg, deps)).join(",");
|
|
@@ -78536,6 +78693,7 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
78536
78693
|
/* harmony export */ ReduceCallExpression: () => (/* binding */ ReduceCallExpression),
|
|
78537
78694
|
/* harmony export */ ReduceMultipleCallExpression: () => (/* binding */ ReduceMultipleCallExpression),
|
|
78538
78695
|
/* harmony export */ RegexMatchExpression: () => (/* binding */ RegexMatchExpression),
|
|
78696
|
+
/* harmony export */ RegexReplaceExpression: () => (/* binding */ RegexReplaceExpression),
|
|
78539
78697
|
/* harmony export */ RoundExpression: () => (/* binding */ RoundExpression),
|
|
78540
78698
|
/* harmony export */ SerializeEnumerationExpression: () => (/* binding */ SerializeEnumerationExpression),
|
|
78541
78699
|
/* harmony export */ SetStatement: () => (/* binding */ SetStatement),
|
|
@@ -78982,6 +79140,33 @@ class RegexMatchExpression extends FLangExpression {
|
|
|
78982
79140
|
return `regexMatch(${this.value.convertToString()}, ${this.pattern.convertToString()})`;
|
|
78983
79141
|
}
|
|
78984
79142
|
}
|
|
79143
|
+
class RegexReplaceExpression extends FLangExpression {
|
|
79144
|
+
constructor(value, pattern, replacement, flags) {
|
|
79145
|
+
super();
|
|
79146
|
+
this.value = void 0;
|
|
79147
|
+
this.pattern = void 0;
|
|
79148
|
+
this.replacement = void 0;
|
|
79149
|
+
this.flags = void 0;
|
|
79150
|
+
this.pattern = pattern;
|
|
79151
|
+
this.value = value;
|
|
79152
|
+
this.replacement = replacement;
|
|
79153
|
+
this.flags = flags;
|
|
79154
|
+
}
|
|
79155
|
+
getType() {
|
|
79156
|
+
return BuildInTypeExpression.string;
|
|
79157
|
+
}
|
|
79158
|
+
*getChildNodes() {
|
|
79159
|
+
yield this.value;
|
|
79160
|
+
yield this.pattern;
|
|
79161
|
+
yield this.replacement;
|
|
79162
|
+
if (this.flags) {
|
|
79163
|
+
yield this.flags;
|
|
79164
|
+
}
|
|
79165
|
+
}
|
|
79166
|
+
convertToString() {
|
|
79167
|
+
return `regexMatch(${this.value.convertToString()}, ${this.pattern.convertToString()}, ${this.replacement.convertToString()}${!!this.flags ? ", " + this.flags.convertToString() : ""})`;
|
|
79168
|
+
}
|
|
79169
|
+
}
|
|
78985
79170
|
class SubstringExpression extends FLangExpression {
|
|
78986
79171
|
constructor(argument, start, length) {
|
|
78987
79172
|
super();
|
|
@@ -80616,6 +80801,12 @@ class FormulaExpressionToFlangExpressionConverter {
|
|
|
80616
80801
|
const correctedArg = (0,_FLang_FlangUtils__WEBPACK_IMPORTED_MODULE_8__.tryExtractValueReferenceAsStringFromDecimal)(arg);
|
|
80617
80802
|
return new _FLang_FLangCodeDom__WEBPACK_IMPORTED_MODULE_9__.RegexMatchExpression((0,_FLang_FlangUtils__WEBPACK_IMPORTED_MODULE_8__.castOperandToStringIfNeed)(correctedArg), new _FLang_FLangCodeDom__WEBPACK_IMPORTED_MODULE_9__.StringLiteralExpression(expression.pattern));
|
|
80618
80803
|
}
|
|
80804
|
+
if (expression instanceof _AutoCalculationsGenerator_AutoCalculationsFromFormulas_KCXmlContract_Formula__WEBPACK_IMPORTED_MODULE_0__.FormulaRegexReplaceExpression) {
|
|
80805
|
+
var _expression$flags;
|
|
80806
|
+
const arg = this.compileExpressionToFlangExpressionInternal(expression.argument, prefix, target, addPrecalculationRule);
|
|
80807
|
+
const correctedArg = (0,_FLang_FlangUtils__WEBPACK_IMPORTED_MODULE_8__.tryExtractValueReferenceAsStringFromDecimal)(arg);
|
|
80808
|
+
return new _FLang_FLangCodeDom__WEBPACK_IMPORTED_MODULE_9__.RegexReplaceExpression((0,_FLang_FlangUtils__WEBPACK_IMPORTED_MODULE_8__.castOperandToStringIfNeed)(correctedArg), new _FLang_FLangCodeDom__WEBPACK_IMPORTED_MODULE_9__.StringLiteralExpression(expression.pattern), new _FLang_FLangCodeDom__WEBPACK_IMPORTED_MODULE_9__.StringLiteralExpression(expression.replacement), new _FLang_FLangCodeDom__WEBPACK_IMPORTED_MODULE_9__.StringLiteralExpression((_expression$flags = expression.flags) !== null && _expression$flags !== void 0 ? _expression$flags : ""));
|
|
80809
|
+
}
|
|
80619
80810
|
if (expression instanceof _AutoCalculationsGenerator_AutoCalculationsFromFormulas_KCXmlContract_Formula__WEBPACK_IMPORTED_MODULE_0__.FormulaCountExpression) {
|
|
80620
80811
|
return (0,_FLang_FlangUtils__WEBPACK_IMPORTED_MODULE_8__.castOperandToDecimalIfNeed)(this.compiledArgumentExpression(prefix, target, expression.select, "string", addPrecalculationRule, "Count"), 0);
|
|
80621
80812
|
}
|
|
@@ -80798,6 +80989,9 @@ class FormulaExpressionToFlangExpressionConverter {
|
|
|
80798
80989
|
const arg = this.compileExpressionToFlangExpressionInternal(expression.expression, prefix, target, addPrecalculationRule);
|
|
80799
80990
|
return new _FLang_FLangCodeDom__WEBPACK_IMPORTED_MODULE_9__.GetDateTimeTicksExpression(arg);
|
|
80800
80991
|
}
|
|
80992
|
+
if (expression instanceof _AutoCalculationsGenerator_AutoCalculationsFromFormulas_KCXmlContract_Formula__WEBPACK_IMPORTED_MODULE_0__.FormulaUUIDExpression) {
|
|
80993
|
+
return new _FLang_FLangCodeDom__WEBPACK_IMPORTED_MODULE_9__.UUIDExpression();
|
|
80994
|
+
}
|
|
80801
80995
|
throw new Error(`Unsupported type of node: ${expression.constructor.name}, ${expression.sourceXmlNode.name}`);
|
|
80802
80996
|
}
|
|
80803
80997
|
castOperandForComparisonExpression(formulaExpression, flangExpression) {
|
|
@@ -81427,6 +81621,17 @@ class KCLangExpressionToFlangExpressionConverter extends _common_KCLang_CodeDom_
|
|
|
81427
81621
|
const pattern = this.visit(expression.patternExpression, context);
|
|
81428
81622
|
return new _FLang_FLangCodeDom__WEBPACK_IMPORTED_MODULE_11__.RegexMatchExpression((0,_FLang_FlangUtils__WEBPACK_IMPORTED_MODULE_12__.castOperandToStringIfNeed)(correctedArg), (0,_FLang_FlangUtils__WEBPACK_IMPORTED_MODULE_12__.castOperandToStringIfNeed)(pattern));
|
|
81429
81623
|
}
|
|
81624
|
+
visitRegexReplaceFunctionCall(expression, context) {
|
|
81625
|
+
const arg = this.visit(expression.argument, context);
|
|
81626
|
+
const correctedArg = (0,_FLang_FlangUtils__WEBPACK_IMPORTED_MODULE_12__.tryExtractValueReferenceAsStringFromDecimal)(arg);
|
|
81627
|
+
const pattern = this.visit(expression.patternExpression, context);
|
|
81628
|
+
const replacement = this.visit(expression.replacement, context);
|
|
81629
|
+
if (!expression.flags) {
|
|
81630
|
+
return new _FLang_FLangCodeDom__WEBPACK_IMPORTED_MODULE_11__.RegexReplaceExpression((0,_FLang_FlangUtils__WEBPACK_IMPORTED_MODULE_12__.castOperandToStringIfNeed)(correctedArg), (0,_FLang_FlangUtils__WEBPACK_IMPORTED_MODULE_12__.castOperandToStringIfNeed)(pattern), (0,_FLang_FlangUtils__WEBPACK_IMPORTED_MODULE_12__.castOperandToStringIfNeed)(replacement));
|
|
81631
|
+
}
|
|
81632
|
+
const flags = this.visit(expression.flags, context);
|
|
81633
|
+
return new _FLang_FLangCodeDom__WEBPACK_IMPORTED_MODULE_11__.RegexReplaceExpression((0,_FLang_FlangUtils__WEBPACK_IMPORTED_MODULE_12__.castOperandToStringIfNeed)(correctedArg), (0,_FLang_FlangUtils__WEBPACK_IMPORTED_MODULE_12__.castOperandToStringIfNeed)(pattern), (0,_FLang_FlangUtils__WEBPACK_IMPORTED_MODULE_12__.castOperandToStringIfNeed)(replacement), (0,_FLang_FlangUtils__WEBPACK_IMPORTED_MODULE_12__.castOperandToStringIfNeed)(flags));
|
|
81634
|
+
}
|
|
81430
81635
|
visitRoundFunctionCall(expression, context) {
|
|
81431
81636
|
const fractionalDigitsValue = expression.fractionalDigits ? this.visit(expression.fractionalDigits, context) : new _FLang_FLangCodeDom__WEBPACK_IMPORTED_MODULE_11__.DecimalLiteralExpression(0);
|
|
81432
81637
|
return new _FLang_FLangCodeDom__WEBPACK_IMPORTED_MODULE_11__.RoundExpression((0,_FLang_FlangUtils__WEBPACK_IMPORTED_MODULE_12__.castOperandToDecimalIfNeed)(this.visit(expression.argument, context)), (0,_FLang_FlangUtils__WEBPACK_IMPORTED_MODULE_12__.castOperandToDecimalIfNeed)(fractionalDigitsValue));
|
|
@@ -95519,7 +95724,7 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
95519
95724
|
var _dec, _dec2, _dec3, _dec4, _dec5, _dec6, _dec7, _dec8, _dec9, _dec10, _dec11, _class, _class2, _descriptor, _descriptor2, _descriptor3, _descriptor4, _descriptor5, _descriptor6, _descriptor7, _descriptor8, _descriptor9, _descriptor10;
|
|
95520
95725
|
|
|
95521
95726
|
|
|
95522
|
-
let ModalFormNode = (_dec = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_4__.sugarNode)("modalform", `Модальное окно со значениями из модели`, __webpack_require__("./Generator/src/generators/markupGenerator/ElementProcessors/Modal/ModalForm sync recursive .md$")), _dec2 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_4__.attrMixin)(_CommonNodeProperties_DataBindingMixinNode__WEBPACK_IMPORTED_MODULE_3__.DataBindingScopeMixinNode), _dec3 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_4__.attr)("header", _Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_4__.attrType.string, `Заголовок`), _dec4 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_4__.attr)("enabledBackgroundClick", _Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_4__.attrType.boolean, `Закрывать окно при клике на фон.`), _dec5 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_4__.attr)("doNotValidateFormOnStart", _Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_4__.attrType.boolean, `Отменяет показ валидаций при
|
|
95727
|
+
let ModalFormNode = (_dec = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_4__.sugarNode)("modalform", `Модальное окно со значениями из модели`, __webpack_require__("./Generator/src/generators/markupGenerator/ElementProcessors/Modal/ModalForm sync recursive .md$")), _dec2 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_4__.attrMixin)(_CommonNodeProperties_DataBindingMixinNode__WEBPACK_IMPORTED_MODULE_3__.DataBindingScopeMixinNode), _dec3 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_4__.attr)("header", _Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_4__.attrType.string, `Заголовок`), _dec4 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_4__.attr)("enabledBackgroundClick", _Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_4__.attrType.boolean, `Закрывать окно при клике на фон.`), _dec5 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_4__.attr)("doNotValidateFormOnStart", _Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_4__.attrType.boolean, `Отменяет показ валидаций при открытии модального окна`), _dec6 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_4__.attr)("footerPanel", _Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_4__.attrType.boolean, `Задает серый footer`), _dec7 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_4__.attr)("width", _Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_4__.attrType.lengthUnit, `Ширина модального окна`), _dec8 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_4__.attr)("onAfterOpen", _Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_4__.attrType.helperFunctionName, "Имя кастомной helpers функции, которая вызовется после открытия модалки"), _dec9 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_4__.attr)("excludedVerifiablePath", _Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_4__.attrType.string, `Путь, который нужно исключить из валидаций`), _dec10 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_4__.attr)("disableFocusLock", _Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_4__.attrType.boolean, `Отключает focusLock на модалке`), _dec11 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_4__.children)(), _dec(_class = (_class2 = class ModalFormNode extends _Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_4__.SugarNodeBase {
|
|
95523
95728
|
constructor(...args) {
|
|
95524
95729
|
super(...args);
|
|
95525
95730
|
_babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0___default()(this, "dataScope", _descriptor, this);
|
|
@@ -95824,6 +96029,7 @@ class ModalFormLabelConverter extends _SugarNodeConverter__WEBPACK_IMPORTED_MODU
|
|
|
95824
96029
|
markupBuilder.appendChild(context.convertChildNodes(node.children));
|
|
95825
96030
|
markupBuilder.prop(x => x.modalId).set(node.modalId);
|
|
95826
96031
|
markupBuilder.prop(x => x.navigationPathMask).set(node.navigationPathMask);
|
|
96032
|
+
markupBuilder.prop(x => x.showDefaultReadOnlyButton).set(node.showDefaultReadOnlyButton);
|
|
95827
96033
|
markupBuilder.prop(x => x.bindingPath).set((0,_getBindingPath__WEBPACK_IMPORTED_MODULE_2__.getNewBindingPathExpression)(node));
|
|
95828
96034
|
if (node.relativeNavigationPath) {
|
|
95829
96035
|
markupBuilder.prop(x => x.relativeNavigationPath).set((0,_getBindingPath__WEBPACK_IMPORTED_MODULE_2__.getNewBindingPathExpression)(node, node.relativeNavigationPath));
|
|
@@ -95856,7 +96062,7 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
95856
96062
|
|
|
95857
96063
|
|
|
95858
96064
|
|
|
95859
|
-
var _dec, _dec2, _dec3, _dec4, _dec5, _class, _class2, _descriptor, _descriptor2, _descriptor3, _descriptor4;
|
|
96065
|
+
var _dec, _dec2, _dec3, _dec4, _dec5, _dec6, _class, _class2, _descriptor, _descriptor2, _descriptor3, _descriptor4, _descriptor5;
|
|
95860
96066
|
|
|
95861
96067
|
|
|
95862
96068
|
let ModalFormLabelNode = (_dec = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_4__.sugarNode)("modalformlabel", `Контейнер с модальным окном`, __webpack_require__("./Generator/src/generators/markupGenerator/ElementProcessors/Modal/ModalFormLabel sync recursive .md$")), _dec2 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_4__.children)(), _dec3 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_4__.attr)("modalId", _Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_4__.attrType.string, `Id модалки. Нужно для ручного управления открытием/закрытием. Поведение:
|
|
@@ -95866,13 +96072,14 @@ let ModalFormLabelNode = (_dec = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTE
|
|
|
95866
96072
|
`), _dec4 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_4__.attr)("navigationPathMask", _Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_4__.attrType.string, `Потенциальные пути для навигации`), _dec5 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_4__.attr)("relativeNavigationPath", _Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_4__.attrType.string, `Относительный путь для навигации:
|
|
95867
96073
|
- Строится относительно текущего path;
|
|
95868
96074
|
- Само значение должно указывать на родительскую ноду, по которой которой будет проходить валидация внутри модального окна
|
|
95869
|
-
`), _dec(_class = (_class2 = class ModalFormLabelNode extends _Serializer_SugarNodeWithLegacyVisibility__WEBPACK_IMPORTED_MODULE_3__.SugarNodeWithLegacyVisibility {
|
|
96075
|
+
`), _dec6 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_4__.attr)("showDefaultReadOnlyButton", _Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_4__.attrType.boolean, `Флаг настройки кнопки открытия модальной формы в режиме readOnly. Если true, то в качестве кнопки открытия будет отображаться дефолтная ссылка "Посмотреть данные". Иначе будет отображаться то, что внутри modalformlabel`), _dec(_class = (_class2 = class ModalFormLabelNode extends _Serializer_SugarNodeWithLegacyVisibility__WEBPACK_IMPORTED_MODULE_3__.SugarNodeWithLegacyVisibility {
|
|
95870
96076
|
constructor(...args) {
|
|
95871
96077
|
super(...args);
|
|
95872
96078
|
_babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0___default()(this, "children", _descriptor, this);
|
|
95873
96079
|
_babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0___default()(this, "modalId", _descriptor2, this);
|
|
95874
96080
|
_babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0___default()(this, "navigationPathMask", _descriptor3, this);
|
|
95875
96081
|
_babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0___default()(this, "relativeNavigationPath", _descriptor4, this);
|
|
96082
|
+
_babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0___default()(this, "showDefaultReadOnlyButton", _descriptor5, this);
|
|
95876
96083
|
}
|
|
95877
96084
|
}, _descriptor = _babel_runtime_helpers_applyDecoratedDescriptor__WEBPACK_IMPORTED_MODULE_1___default()(_class2.prototype, "children", [_dec2], {
|
|
95878
96085
|
configurable: true,
|
|
@@ -95894,6 +96101,11 @@ let ModalFormLabelNode = (_dec = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTE
|
|
|
95894
96101
|
enumerable: true,
|
|
95895
96102
|
writable: true,
|
|
95896
96103
|
initializer: null
|
|
96104
|
+
}), _descriptor5 = _babel_runtime_helpers_applyDecoratedDescriptor__WEBPACK_IMPORTED_MODULE_1___default()(_class2.prototype, "showDefaultReadOnlyButton", [_dec6], {
|
|
96105
|
+
configurable: true,
|
|
96106
|
+
enumerable: true,
|
|
96107
|
+
writable: true,
|
|
96108
|
+
initializer: null
|
|
95897
96109
|
}), _class2)) || _class);
|
|
95898
96110
|
|
|
95899
96111
|
/***/ }),
|