@kontur.candy/generator 5.16.0-single-autocalc.0 → 5.16.3
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 +881 -677
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -29960,7 +29960,7 @@ module.exports = _initializerWarningHelper, module.exports.__esModule = true, mo
|
|
|
29960
29960
|
/***/ (function(__unused_webpack_module, exports, __webpack_require__) {
|
|
29961
29961
|
|
|
29962
29962
|
(function (global, factory) {
|
|
29963
|
-
true ? factory(exports, __webpack_require__(/*! @jridgewell/set-array */ "./node_modules/@jridgewell/set-array/dist/set-array.umd.js"), __webpack_require__(/*! @jridgewell/sourcemap-codec */ "./node_modules/@jridgewell/
|
|
29963
|
+
true ? factory(exports, __webpack_require__(/*! @jridgewell/set-array */ "./node_modules/@jridgewell/set-array/dist/set-array.umd.js"), __webpack_require__(/*! @jridgewell/sourcemap-codec */ "./node_modules/@jridgewell/sourcemap-codec/dist/sourcemap-codec.umd.js"), __webpack_require__(/*! @jridgewell/trace-mapping */ "./node_modules/@jridgewell/trace-mapping/dist/trace-mapping.umd.js")) :
|
|
29964
29964
|
0;
|
|
29965
29965
|
})(this, (function (exports, setArray, sourcemapCodec, traceMapping) { 'use strict';
|
|
29966
29966
|
|
|
@@ -30196,190 +30196,6 @@ module.exports = _initializerWarningHelper, module.exports.__esModule = true, mo
|
|
|
30196
30196
|
//# sourceMappingURL=gen-mapping.umd.js.map
|
|
30197
30197
|
|
|
30198
30198
|
|
|
30199
|
-
/***/ }),
|
|
30200
|
-
|
|
30201
|
-
/***/ "./node_modules/@jridgewell/gen-mapping/node_modules/@jridgewell/sourcemap-codec/dist/sourcemap-codec.umd.js":
|
|
30202
|
-
/*!*******************************************************************************************************************!*\
|
|
30203
|
-
!*** ./node_modules/@jridgewell/gen-mapping/node_modules/@jridgewell/sourcemap-codec/dist/sourcemap-codec.umd.js ***!
|
|
30204
|
-
\*******************************************************************************************************************/
|
|
30205
|
-
/***/ (function(__unused_webpack_module, exports) {
|
|
30206
|
-
|
|
30207
|
-
(function (global, factory) {
|
|
30208
|
-
true ? factory(exports) :
|
|
30209
|
-
0;
|
|
30210
|
-
})(this, (function (exports) { 'use strict';
|
|
30211
|
-
|
|
30212
|
-
const comma = ','.charCodeAt(0);
|
|
30213
|
-
const semicolon = ';'.charCodeAt(0);
|
|
30214
|
-
const chars = 'ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/';
|
|
30215
|
-
const intToChar = new Uint8Array(64); // 64 possible chars.
|
|
30216
|
-
const charToInt = new Uint8Array(128); // z is 122 in ASCII
|
|
30217
|
-
for (let i = 0; i < chars.length; i++) {
|
|
30218
|
-
const c = chars.charCodeAt(i);
|
|
30219
|
-
intToChar[i] = c;
|
|
30220
|
-
charToInt[c] = i;
|
|
30221
|
-
}
|
|
30222
|
-
// Provide a fallback for older environments.
|
|
30223
|
-
const td = typeof TextDecoder !== 'undefined'
|
|
30224
|
-
? /* #__PURE__ */ new TextDecoder()
|
|
30225
|
-
: typeof Buffer !== 'undefined'
|
|
30226
|
-
? {
|
|
30227
|
-
decode(buf) {
|
|
30228
|
-
const out = Buffer.from(buf.buffer, buf.byteOffset, buf.byteLength);
|
|
30229
|
-
return out.toString();
|
|
30230
|
-
},
|
|
30231
|
-
}
|
|
30232
|
-
: {
|
|
30233
|
-
decode(buf) {
|
|
30234
|
-
let out = '';
|
|
30235
|
-
for (let i = 0; i < buf.length; i++) {
|
|
30236
|
-
out += String.fromCharCode(buf[i]);
|
|
30237
|
-
}
|
|
30238
|
-
return out;
|
|
30239
|
-
},
|
|
30240
|
-
};
|
|
30241
|
-
function decode(mappings) {
|
|
30242
|
-
const state = new Int32Array(5);
|
|
30243
|
-
const decoded = [];
|
|
30244
|
-
let index = 0;
|
|
30245
|
-
do {
|
|
30246
|
-
const semi = indexOf(mappings, index);
|
|
30247
|
-
const line = [];
|
|
30248
|
-
let sorted = true;
|
|
30249
|
-
let lastCol = 0;
|
|
30250
|
-
state[0] = 0;
|
|
30251
|
-
for (let i = index; i < semi; i++) {
|
|
30252
|
-
let seg;
|
|
30253
|
-
i = decodeInteger(mappings, i, state, 0); // genColumn
|
|
30254
|
-
const col = state[0];
|
|
30255
|
-
if (col < lastCol)
|
|
30256
|
-
sorted = false;
|
|
30257
|
-
lastCol = col;
|
|
30258
|
-
if (hasMoreVlq(mappings, i, semi)) {
|
|
30259
|
-
i = decodeInteger(mappings, i, state, 1); // sourcesIndex
|
|
30260
|
-
i = decodeInteger(mappings, i, state, 2); // sourceLine
|
|
30261
|
-
i = decodeInteger(mappings, i, state, 3); // sourceColumn
|
|
30262
|
-
if (hasMoreVlq(mappings, i, semi)) {
|
|
30263
|
-
i = decodeInteger(mappings, i, state, 4); // namesIndex
|
|
30264
|
-
seg = [col, state[1], state[2], state[3], state[4]];
|
|
30265
|
-
}
|
|
30266
|
-
else {
|
|
30267
|
-
seg = [col, state[1], state[2], state[3]];
|
|
30268
|
-
}
|
|
30269
|
-
}
|
|
30270
|
-
else {
|
|
30271
|
-
seg = [col];
|
|
30272
|
-
}
|
|
30273
|
-
line.push(seg);
|
|
30274
|
-
}
|
|
30275
|
-
if (!sorted)
|
|
30276
|
-
sort(line);
|
|
30277
|
-
decoded.push(line);
|
|
30278
|
-
index = semi + 1;
|
|
30279
|
-
} while (index <= mappings.length);
|
|
30280
|
-
return decoded;
|
|
30281
|
-
}
|
|
30282
|
-
function indexOf(mappings, index) {
|
|
30283
|
-
const idx = mappings.indexOf(';', index);
|
|
30284
|
-
return idx === -1 ? mappings.length : idx;
|
|
30285
|
-
}
|
|
30286
|
-
function decodeInteger(mappings, pos, state, j) {
|
|
30287
|
-
let value = 0;
|
|
30288
|
-
let shift = 0;
|
|
30289
|
-
let integer = 0;
|
|
30290
|
-
do {
|
|
30291
|
-
const c = mappings.charCodeAt(pos++);
|
|
30292
|
-
integer = charToInt[c];
|
|
30293
|
-
value |= (integer & 31) << shift;
|
|
30294
|
-
shift += 5;
|
|
30295
|
-
} while (integer & 32);
|
|
30296
|
-
const shouldNegate = value & 1;
|
|
30297
|
-
value >>>= 1;
|
|
30298
|
-
if (shouldNegate) {
|
|
30299
|
-
value = -0x80000000 | -value;
|
|
30300
|
-
}
|
|
30301
|
-
state[j] += value;
|
|
30302
|
-
return pos;
|
|
30303
|
-
}
|
|
30304
|
-
function hasMoreVlq(mappings, i, length) {
|
|
30305
|
-
if (i >= length)
|
|
30306
|
-
return false;
|
|
30307
|
-
return mappings.charCodeAt(i) !== comma;
|
|
30308
|
-
}
|
|
30309
|
-
function sort(line) {
|
|
30310
|
-
line.sort(sortComparator);
|
|
30311
|
-
}
|
|
30312
|
-
function sortComparator(a, b) {
|
|
30313
|
-
return a[0] - b[0];
|
|
30314
|
-
}
|
|
30315
|
-
function encode(decoded) {
|
|
30316
|
-
const state = new Int32Array(5);
|
|
30317
|
-
const bufLength = 1024 * 16;
|
|
30318
|
-
const subLength = bufLength - 36;
|
|
30319
|
-
const buf = new Uint8Array(bufLength);
|
|
30320
|
-
const sub = buf.subarray(0, subLength);
|
|
30321
|
-
let pos = 0;
|
|
30322
|
-
let out = '';
|
|
30323
|
-
for (let i = 0; i < decoded.length; i++) {
|
|
30324
|
-
const line = decoded[i];
|
|
30325
|
-
if (i > 0) {
|
|
30326
|
-
if (pos === bufLength) {
|
|
30327
|
-
out += td.decode(buf);
|
|
30328
|
-
pos = 0;
|
|
30329
|
-
}
|
|
30330
|
-
buf[pos++] = semicolon;
|
|
30331
|
-
}
|
|
30332
|
-
if (line.length === 0)
|
|
30333
|
-
continue;
|
|
30334
|
-
state[0] = 0;
|
|
30335
|
-
for (let j = 0; j < line.length; j++) {
|
|
30336
|
-
const segment = line[j];
|
|
30337
|
-
// We can push up to 5 ints, each int can take at most 7 chars, and we
|
|
30338
|
-
// may push a comma.
|
|
30339
|
-
if (pos > subLength) {
|
|
30340
|
-
out += td.decode(sub);
|
|
30341
|
-
buf.copyWithin(0, subLength, pos);
|
|
30342
|
-
pos -= subLength;
|
|
30343
|
-
}
|
|
30344
|
-
if (j > 0)
|
|
30345
|
-
buf[pos++] = comma;
|
|
30346
|
-
pos = encodeInteger(buf, pos, state, segment, 0); // genColumn
|
|
30347
|
-
if (segment.length === 1)
|
|
30348
|
-
continue;
|
|
30349
|
-
pos = encodeInteger(buf, pos, state, segment, 1); // sourcesIndex
|
|
30350
|
-
pos = encodeInteger(buf, pos, state, segment, 2); // sourceLine
|
|
30351
|
-
pos = encodeInteger(buf, pos, state, segment, 3); // sourceColumn
|
|
30352
|
-
if (segment.length === 4)
|
|
30353
|
-
continue;
|
|
30354
|
-
pos = encodeInteger(buf, pos, state, segment, 4); // namesIndex
|
|
30355
|
-
}
|
|
30356
|
-
}
|
|
30357
|
-
return out + td.decode(buf.subarray(0, pos));
|
|
30358
|
-
}
|
|
30359
|
-
function encodeInteger(buf, pos, state, segment, j) {
|
|
30360
|
-
const next = segment[j];
|
|
30361
|
-
let num = next - state[j];
|
|
30362
|
-
state[j] = next;
|
|
30363
|
-
num = num < 0 ? (-num << 1) | 1 : num << 1;
|
|
30364
|
-
do {
|
|
30365
|
-
let clamped = num & 0b011111;
|
|
30366
|
-
num >>>= 5;
|
|
30367
|
-
if (num > 0)
|
|
30368
|
-
clamped |= 0b100000;
|
|
30369
|
-
buf[pos++] = intToChar[clamped];
|
|
30370
|
-
} while (num > 0);
|
|
30371
|
-
return pos;
|
|
30372
|
-
}
|
|
30373
|
-
|
|
30374
|
-
exports.decode = decode;
|
|
30375
|
-
exports.encode = encode;
|
|
30376
|
-
|
|
30377
|
-
Object.defineProperty(exports, '__esModule', { value: true });
|
|
30378
|
-
|
|
30379
|
-
}));
|
|
30380
|
-
//# sourceMappingURL=sourcemap-codec.umd.js.map
|
|
30381
|
-
|
|
30382
|
-
|
|
30383
30199
|
/***/ }),
|
|
30384
30200
|
|
|
30385
30201
|
/***/ "./node_modules/@jridgewell/resolve-uri/dist/resolve-uri.umd.js":
|
|
@@ -30899,7 +30715,7 @@ module.exports = _initializerWarningHelper, module.exports.__esModule = true, mo
|
|
|
30899
30715
|
/***/ (function(__unused_webpack_module, exports, __webpack_require__) {
|
|
30900
30716
|
|
|
30901
30717
|
(function (global, factory) {
|
|
30902
|
-
true ? factory(exports, __webpack_require__(/*! @jridgewell/sourcemap-codec */ "./node_modules/@jridgewell/sourcemap-codec/dist/sourcemap-codec.umd.js"), __webpack_require__(/*! @jridgewell/resolve-uri */ "./node_modules/@jridgewell/resolve-uri/dist/resolve-uri.umd.js")) :
|
|
30718
|
+
true ? factory(exports, __webpack_require__(/*! @jridgewell/sourcemap-codec */ "./node_modules/@jridgewell/trace-mapping/node_modules/@jridgewell/sourcemap-codec/dist/sourcemap-codec.umd.js"), __webpack_require__(/*! @jridgewell/resolve-uri */ "./node_modules/@jridgewell/resolve-uri/dist/resolve-uri.umd.js")) :
|
|
30903
30719
|
0;
|
|
30904
30720
|
})(this, (function (exports, sourcemapCodec, resolveUri) { 'use strict';
|
|
30905
30721
|
|
|
@@ -31465,6 +31281,190 @@ module.exports = _initializerWarningHelper, module.exports.__esModule = true, mo
|
|
|
31465
31281
|
//# sourceMappingURL=trace-mapping.umd.js.map
|
|
31466
31282
|
|
|
31467
31283
|
|
|
31284
|
+
/***/ }),
|
|
31285
|
+
|
|
31286
|
+
/***/ "./node_modules/@jridgewell/trace-mapping/node_modules/@jridgewell/sourcemap-codec/dist/sourcemap-codec.umd.js":
|
|
31287
|
+
/*!*********************************************************************************************************************!*\
|
|
31288
|
+
!*** ./node_modules/@jridgewell/trace-mapping/node_modules/@jridgewell/sourcemap-codec/dist/sourcemap-codec.umd.js ***!
|
|
31289
|
+
\*********************************************************************************************************************/
|
|
31290
|
+
/***/ (function(__unused_webpack_module, exports) {
|
|
31291
|
+
|
|
31292
|
+
(function (global, factory) {
|
|
31293
|
+
true ? factory(exports) :
|
|
31294
|
+
0;
|
|
31295
|
+
})(this, (function (exports) { 'use strict';
|
|
31296
|
+
|
|
31297
|
+
const comma = ','.charCodeAt(0);
|
|
31298
|
+
const semicolon = ';'.charCodeAt(0);
|
|
31299
|
+
const chars = 'ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/';
|
|
31300
|
+
const intToChar = new Uint8Array(64); // 64 possible chars.
|
|
31301
|
+
const charToInt = new Uint8Array(128); // z is 122 in ASCII
|
|
31302
|
+
for (let i = 0; i < chars.length; i++) {
|
|
31303
|
+
const c = chars.charCodeAt(i);
|
|
31304
|
+
intToChar[i] = c;
|
|
31305
|
+
charToInt[c] = i;
|
|
31306
|
+
}
|
|
31307
|
+
// Provide a fallback for older environments.
|
|
31308
|
+
const td = typeof TextDecoder !== 'undefined'
|
|
31309
|
+
? /* #__PURE__ */ new TextDecoder()
|
|
31310
|
+
: typeof Buffer !== 'undefined'
|
|
31311
|
+
? {
|
|
31312
|
+
decode(buf) {
|
|
31313
|
+
const out = Buffer.from(buf.buffer, buf.byteOffset, buf.byteLength);
|
|
31314
|
+
return out.toString();
|
|
31315
|
+
},
|
|
31316
|
+
}
|
|
31317
|
+
: {
|
|
31318
|
+
decode(buf) {
|
|
31319
|
+
let out = '';
|
|
31320
|
+
for (let i = 0; i < buf.length; i++) {
|
|
31321
|
+
out += String.fromCharCode(buf[i]);
|
|
31322
|
+
}
|
|
31323
|
+
return out;
|
|
31324
|
+
},
|
|
31325
|
+
};
|
|
31326
|
+
function decode(mappings) {
|
|
31327
|
+
const state = new Int32Array(5);
|
|
31328
|
+
const decoded = [];
|
|
31329
|
+
let index = 0;
|
|
31330
|
+
do {
|
|
31331
|
+
const semi = indexOf(mappings, index);
|
|
31332
|
+
const line = [];
|
|
31333
|
+
let sorted = true;
|
|
31334
|
+
let lastCol = 0;
|
|
31335
|
+
state[0] = 0;
|
|
31336
|
+
for (let i = index; i < semi; i++) {
|
|
31337
|
+
let seg;
|
|
31338
|
+
i = decodeInteger(mappings, i, state, 0); // genColumn
|
|
31339
|
+
const col = state[0];
|
|
31340
|
+
if (col < lastCol)
|
|
31341
|
+
sorted = false;
|
|
31342
|
+
lastCol = col;
|
|
31343
|
+
if (hasMoreVlq(mappings, i, semi)) {
|
|
31344
|
+
i = decodeInteger(mappings, i, state, 1); // sourcesIndex
|
|
31345
|
+
i = decodeInteger(mappings, i, state, 2); // sourceLine
|
|
31346
|
+
i = decodeInteger(mappings, i, state, 3); // sourceColumn
|
|
31347
|
+
if (hasMoreVlq(mappings, i, semi)) {
|
|
31348
|
+
i = decodeInteger(mappings, i, state, 4); // namesIndex
|
|
31349
|
+
seg = [col, state[1], state[2], state[3], state[4]];
|
|
31350
|
+
}
|
|
31351
|
+
else {
|
|
31352
|
+
seg = [col, state[1], state[2], state[3]];
|
|
31353
|
+
}
|
|
31354
|
+
}
|
|
31355
|
+
else {
|
|
31356
|
+
seg = [col];
|
|
31357
|
+
}
|
|
31358
|
+
line.push(seg);
|
|
31359
|
+
}
|
|
31360
|
+
if (!sorted)
|
|
31361
|
+
sort(line);
|
|
31362
|
+
decoded.push(line);
|
|
31363
|
+
index = semi + 1;
|
|
31364
|
+
} while (index <= mappings.length);
|
|
31365
|
+
return decoded;
|
|
31366
|
+
}
|
|
31367
|
+
function indexOf(mappings, index) {
|
|
31368
|
+
const idx = mappings.indexOf(';', index);
|
|
31369
|
+
return idx === -1 ? mappings.length : idx;
|
|
31370
|
+
}
|
|
31371
|
+
function decodeInteger(mappings, pos, state, j) {
|
|
31372
|
+
let value = 0;
|
|
31373
|
+
let shift = 0;
|
|
31374
|
+
let integer = 0;
|
|
31375
|
+
do {
|
|
31376
|
+
const c = mappings.charCodeAt(pos++);
|
|
31377
|
+
integer = charToInt[c];
|
|
31378
|
+
value |= (integer & 31) << shift;
|
|
31379
|
+
shift += 5;
|
|
31380
|
+
} while (integer & 32);
|
|
31381
|
+
const shouldNegate = value & 1;
|
|
31382
|
+
value >>>= 1;
|
|
31383
|
+
if (shouldNegate) {
|
|
31384
|
+
value = -0x80000000 | -value;
|
|
31385
|
+
}
|
|
31386
|
+
state[j] += value;
|
|
31387
|
+
return pos;
|
|
31388
|
+
}
|
|
31389
|
+
function hasMoreVlq(mappings, i, length) {
|
|
31390
|
+
if (i >= length)
|
|
31391
|
+
return false;
|
|
31392
|
+
return mappings.charCodeAt(i) !== comma;
|
|
31393
|
+
}
|
|
31394
|
+
function sort(line) {
|
|
31395
|
+
line.sort(sortComparator);
|
|
31396
|
+
}
|
|
31397
|
+
function sortComparator(a, b) {
|
|
31398
|
+
return a[0] - b[0];
|
|
31399
|
+
}
|
|
31400
|
+
function encode(decoded) {
|
|
31401
|
+
const state = new Int32Array(5);
|
|
31402
|
+
const bufLength = 1024 * 16;
|
|
31403
|
+
const subLength = bufLength - 36;
|
|
31404
|
+
const buf = new Uint8Array(bufLength);
|
|
31405
|
+
const sub = buf.subarray(0, subLength);
|
|
31406
|
+
let pos = 0;
|
|
31407
|
+
let out = '';
|
|
31408
|
+
for (let i = 0; i < decoded.length; i++) {
|
|
31409
|
+
const line = decoded[i];
|
|
31410
|
+
if (i > 0) {
|
|
31411
|
+
if (pos === bufLength) {
|
|
31412
|
+
out += td.decode(buf);
|
|
31413
|
+
pos = 0;
|
|
31414
|
+
}
|
|
31415
|
+
buf[pos++] = semicolon;
|
|
31416
|
+
}
|
|
31417
|
+
if (line.length === 0)
|
|
31418
|
+
continue;
|
|
31419
|
+
state[0] = 0;
|
|
31420
|
+
for (let j = 0; j < line.length; j++) {
|
|
31421
|
+
const segment = line[j];
|
|
31422
|
+
// We can push up to 5 ints, each int can take at most 7 chars, and we
|
|
31423
|
+
// may push a comma.
|
|
31424
|
+
if (pos > subLength) {
|
|
31425
|
+
out += td.decode(sub);
|
|
31426
|
+
buf.copyWithin(0, subLength, pos);
|
|
31427
|
+
pos -= subLength;
|
|
31428
|
+
}
|
|
31429
|
+
if (j > 0)
|
|
31430
|
+
buf[pos++] = comma;
|
|
31431
|
+
pos = encodeInteger(buf, pos, state, segment, 0); // genColumn
|
|
31432
|
+
if (segment.length === 1)
|
|
31433
|
+
continue;
|
|
31434
|
+
pos = encodeInteger(buf, pos, state, segment, 1); // sourcesIndex
|
|
31435
|
+
pos = encodeInteger(buf, pos, state, segment, 2); // sourceLine
|
|
31436
|
+
pos = encodeInteger(buf, pos, state, segment, 3); // sourceColumn
|
|
31437
|
+
if (segment.length === 4)
|
|
31438
|
+
continue;
|
|
31439
|
+
pos = encodeInteger(buf, pos, state, segment, 4); // namesIndex
|
|
31440
|
+
}
|
|
31441
|
+
}
|
|
31442
|
+
return out + td.decode(buf.subarray(0, pos));
|
|
31443
|
+
}
|
|
31444
|
+
function encodeInteger(buf, pos, state, segment, j) {
|
|
31445
|
+
const next = segment[j];
|
|
31446
|
+
let num = next - state[j];
|
|
31447
|
+
state[j] = next;
|
|
31448
|
+
num = num < 0 ? (-num << 1) | 1 : num << 1;
|
|
31449
|
+
do {
|
|
31450
|
+
let clamped = num & 0b011111;
|
|
31451
|
+
num >>>= 5;
|
|
31452
|
+
if (num > 0)
|
|
31453
|
+
clamped |= 0b100000;
|
|
31454
|
+
buf[pos++] = intToChar[clamped];
|
|
31455
|
+
} while (num > 0);
|
|
31456
|
+
return pos;
|
|
31457
|
+
}
|
|
31458
|
+
|
|
31459
|
+
exports.decode = decode;
|
|
31460
|
+
exports.encode = encode;
|
|
31461
|
+
|
|
31462
|
+
Object.defineProperty(exports, '__esModule', { value: true });
|
|
31463
|
+
|
|
31464
|
+
}));
|
|
31465
|
+
//# sourceMappingURL=sourcemap-codec.umd.js.map
|
|
31466
|
+
|
|
31467
|
+
|
|
31468
31468
|
/***/ }),
|
|
31469
31469
|
|
|
31470
31470
|
/***/ "./node_modules/ansi-styles/index.js":
|
|
@@ -59579,6 +59579,10 @@ class ModelPathImpl {
|
|
|
59579
59579
|
const lastItem = _IterableUtils__WEBPACK_IMPORTED_MODULE_0__.IterUtils.last(this.tokens);
|
|
59580
59580
|
return lastItem == PathTokens.each;
|
|
59581
59581
|
}
|
|
59582
|
+
isEndsWithCurrentIteration() {
|
|
59583
|
+
const lastItem = _IterableUtils__WEBPACK_IMPORTED_MODULE_0__.IterUtils.last(this.tokens);
|
|
59584
|
+
return lastItem == PathTokens.current;
|
|
59585
|
+
}
|
|
59582
59586
|
isAbsolute() {
|
|
59583
59587
|
return this.absolute;
|
|
59584
59588
|
}
|
|
@@ -60039,8 +60043,13 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
60039
60043
|
/* harmony export */ "Set2": () => (/* binding */ Set2)
|
|
60040
60044
|
/* harmony export */ });
|
|
60041
60045
|
class Set2 {
|
|
60042
|
-
constructor() {
|
|
60046
|
+
constructor(source) {
|
|
60043
60047
|
this.hashMap = new Map();
|
|
60048
|
+
if (source != undefined) {
|
|
60049
|
+
for (const sourceElement of source) {
|
|
60050
|
+
this.add(sourceElement);
|
|
60051
|
+
}
|
|
60052
|
+
}
|
|
60044
60053
|
}
|
|
60045
60054
|
add(path) {
|
|
60046
60055
|
const hash = this.getItemHash(path);
|
|
@@ -61843,6 +61852,7 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
61843
61852
|
/* harmony export */ "isInnKCLangFunction": () => (/* binding */ isInnKCLangFunction),
|
|
61844
61853
|
/* harmony export */ "arrayKCLangFunction": () => (/* binding */ arrayKCLangFunction),
|
|
61845
61854
|
/* harmony export */ "firstOrDefaultKCLangFunction": () => (/* binding */ firstOrDefaultKCLangFunction),
|
|
61855
|
+
/* harmony export */ "hashSetKCLangFunction": () => (/* binding */ hashSetKCLangFunction),
|
|
61846
61856
|
/* harmony export */ "noDepsKCLangFunction": () => (/* binding */ noDepsKCLangFunction),
|
|
61847
61857
|
/* harmony export */ "getPicklistValuesKCLangFunction": () => (/* binding */ getPicklistValuesKCLangFunction),
|
|
61848
61858
|
/* harmony export */ "isValidMirCardNumberKCLangFunction": () => (/* binding */ isValidMirCardNumberKCLangFunction),
|
|
@@ -62044,7 +62054,7 @@ const isInnKCLangFunction = params => {
|
|
|
62044
62054
|
throw new Error("Invalid parameters!");
|
|
62045
62055
|
};
|
|
62046
62056
|
const arrayKCLangFunction = params => {
|
|
62047
|
-
const errors = Array.from(validateParams(params,
|
|
62057
|
+
const errors = Array.from(validateParams(params, 0, Infinity));
|
|
62048
62058
|
if (errors.length > 0) {
|
|
62049
62059
|
return new FunctionValidationErrorCollection(errors);
|
|
62050
62060
|
}
|
|
@@ -62068,13 +62078,28 @@ const firstOrDefaultKCLangFunction = params => {
|
|
|
62068
62078
|
expression: expr
|
|
62069
62079
|
};
|
|
62070
62080
|
};
|
|
62071
|
-
const
|
|
62081
|
+
const hashSetKCLangFunction = params => {
|
|
62072
62082
|
var _params$13;
|
|
62073
62083
|
const errors = Array.from(validateParams(params, 1));
|
|
62074
62084
|
if (errors.length > 0) {
|
|
62075
62085
|
return new FunctionValidationErrorCollection(errors);
|
|
62076
62086
|
}
|
|
62077
62087
|
const expr = (_params$13 = params[0]) === null || _params$13 === void 0 ? void 0 : _params$13.value;
|
|
62088
|
+
if (expr === undefined) {
|
|
62089
|
+
throw new Error("Parameter in hashSet() must be defined");
|
|
62090
|
+
}
|
|
62091
|
+
return {
|
|
62092
|
+
type: "hashSet",
|
|
62093
|
+
expression: expr
|
|
62094
|
+
};
|
|
62095
|
+
};
|
|
62096
|
+
const noDepsKCLangFunction = params => {
|
|
62097
|
+
var _params$14;
|
|
62098
|
+
const errors = Array.from(validateParams(params, 1));
|
|
62099
|
+
if (errors.length > 0) {
|
|
62100
|
+
return new FunctionValidationErrorCollection(errors);
|
|
62101
|
+
}
|
|
62102
|
+
const expr = (_params$14 = params[0]) === null || _params$14 === void 0 ? void 0 : _params$14.value;
|
|
62078
62103
|
if (expr === undefined) {
|
|
62079
62104
|
throw new Error("first param in nodeps must be defined");
|
|
62080
62105
|
}
|
|
@@ -62084,15 +62109,15 @@ const noDepsKCLangFunction = params => {
|
|
|
62084
62109
|
};
|
|
62085
62110
|
};
|
|
62086
62111
|
const getPicklistValuesKCLangFunction = params => {
|
|
62087
|
-
var _params$
|
|
62112
|
+
var _params$15, _params$16, _params$17, _params$18;
|
|
62088
62113
|
const errors = Array.from(validateParams(params, 4));
|
|
62089
62114
|
if (errors.length > 0) {
|
|
62090
62115
|
return new FunctionValidationErrorCollection(errors);
|
|
62091
62116
|
}
|
|
62092
|
-
const gId = (_params$
|
|
62093
|
-
const filterColumnParam = (_params$
|
|
62094
|
-
const filterKeyParam = (_params$
|
|
62095
|
-
const resultColumn = (_params$
|
|
62117
|
+
const gId = (_params$15 = params[0]) === null || _params$15 === void 0 ? void 0 : _params$15.value;
|
|
62118
|
+
const filterColumnParam = (_params$16 = params[1]) === null || _params$16 === void 0 ? void 0 : _params$16.value;
|
|
62119
|
+
const filterKeyParam = (_params$17 = params[2]) === null || _params$17 === void 0 ? void 0 : _params$17.value;
|
|
62120
|
+
const resultColumn = (_params$18 = params[3]) === null || _params$18 === void 0 ? void 0 : _params$18.value;
|
|
62096
62121
|
if ((filterColumnParam === null || filterColumnParam === void 0 ? void 0 : filterColumnParam.type) !== "array") {
|
|
62097
62122
|
throw new Error("second param in getPicklistValues must be wrapped in array( ... )");
|
|
62098
62123
|
}
|
|
@@ -62114,12 +62139,12 @@ const getPicklistValuesKCLangFunction = params => {
|
|
|
62114
62139
|
};
|
|
62115
62140
|
};
|
|
62116
62141
|
const isValidMirCardNumberKCLangFunction = params => {
|
|
62117
|
-
var _params$
|
|
62142
|
+
var _params$19;
|
|
62118
62143
|
const errors = Array.from(validateParams(params, 1));
|
|
62119
62144
|
if (errors.length > 0) {
|
|
62120
62145
|
return new FunctionValidationErrorCollection(errors);
|
|
62121
62146
|
}
|
|
62122
|
-
const argumentExpr = (_params$
|
|
62147
|
+
const argumentExpr = (_params$19 = params[0]) === null || _params$19 === void 0 ? void 0 : _params$19.value;
|
|
62123
62148
|
if ((argumentExpr === null || argumentExpr === void 0 ? void 0 : argumentExpr.type) === "argument") {
|
|
62124
62149
|
const param = argumentExpr.select;
|
|
62125
62150
|
if (param == undefined) {
|
|
@@ -62133,13 +62158,13 @@ const isValidMirCardNumberKCLangFunction = params => {
|
|
|
62133
62158
|
throw new Error("Invalid parameters!");
|
|
62134
62159
|
};
|
|
62135
62160
|
const isValidAccountNumberKCLangFunction = params => {
|
|
62136
|
-
var _params$
|
|
62161
|
+
var _params$20, _params$21;
|
|
62137
62162
|
const errors = Array.from(validateParams(params, 2));
|
|
62138
62163
|
if (errors.length > 0) {
|
|
62139
62164
|
return new FunctionValidationErrorCollection(errors);
|
|
62140
62165
|
}
|
|
62141
|
-
const bik = (_params$
|
|
62142
|
-
const account = (_params$
|
|
62166
|
+
const bik = (_params$20 = params[0]) === null || _params$20 === void 0 ? void 0 : _params$20.value;
|
|
62167
|
+
const account = (_params$21 = params[1]) === null || _params$21 === void 0 ? void 0 : _params$21.value;
|
|
62143
62168
|
if ((bik === null || bik === void 0 ? void 0 : bik.type) === "argument" && (account === null || account === void 0 ? void 0 : account.type) === "argument") {
|
|
62144
62169
|
const bikValue = bik.select;
|
|
62145
62170
|
const accountValue = account.select;
|
|
@@ -62155,12 +62180,12 @@ const isValidAccountNumberKCLangFunction = params => {
|
|
|
62155
62180
|
throw new Error("Invalid parameters!");
|
|
62156
62181
|
};
|
|
62157
62182
|
const countKCLangFunction = params => {
|
|
62158
|
-
var _params$
|
|
62183
|
+
var _params$22;
|
|
62159
62184
|
const errors = Array.from(validateParams(params, 1));
|
|
62160
62185
|
if (errors.length > 0) {
|
|
62161
62186
|
return new FunctionValidationErrorCollection(errors);
|
|
62162
62187
|
}
|
|
62163
|
-
const expr = (_params$
|
|
62188
|
+
const expr = (_params$22 = params[0]) === null || _params$22 === void 0 ? void 0 : _params$22.value;
|
|
62164
62189
|
if ((expr === null || expr === void 0 ? void 0 : expr.type) === "argument") {
|
|
62165
62190
|
const param = expr.select;
|
|
62166
62191
|
if (param == undefined) {
|
|
@@ -62174,12 +62199,12 @@ const countKCLangFunction = params => {
|
|
|
62174
62199
|
throw new Error("Invalid parameters!");
|
|
62175
62200
|
};
|
|
62176
62201
|
const sumKCLangFunction = params => {
|
|
62177
|
-
var _params$
|
|
62202
|
+
var _params$23;
|
|
62178
62203
|
const errors = Array.from(validateParams(params, 1));
|
|
62179
62204
|
if (errors.length > 0) {
|
|
62180
62205
|
return new FunctionValidationErrorCollection(errors);
|
|
62181
62206
|
}
|
|
62182
|
-
const argumentExpr = (_params$
|
|
62207
|
+
const argumentExpr = (_params$23 = params[0]) === null || _params$23 === void 0 ? void 0 : _params$23.value;
|
|
62183
62208
|
if ((argumentExpr === null || argumentExpr === void 0 ? void 0 : argumentExpr.type) === "argument") {
|
|
62184
62209
|
const param = argumentExpr.select;
|
|
62185
62210
|
if (param == undefined) {
|
|
@@ -62203,14 +62228,14 @@ const sumKCLangFunction = params => {
|
|
|
62203
62228
|
throw new Error("Invalid parameters!");
|
|
62204
62229
|
};
|
|
62205
62230
|
const substringKCLangFunction = params => {
|
|
62206
|
-
var _params$
|
|
62231
|
+
var _params$24, _params$25, _params$26;
|
|
62207
62232
|
const errors = Array.from(validateParams(params, 2, 1));
|
|
62208
62233
|
if (errors.length > 0) {
|
|
62209
62234
|
return new FunctionValidationErrorCollection(errors);
|
|
62210
62235
|
}
|
|
62211
|
-
const exprParam = (_params$
|
|
62212
|
-
const startParam = (_params$
|
|
62213
|
-
const lengthParam = (_params$
|
|
62236
|
+
const exprParam = (_params$24 = params[0]) === null || _params$24 === void 0 ? void 0 : _params$24.value;
|
|
62237
|
+
const startParam = (_params$25 = params[1]) === null || _params$25 === void 0 ? void 0 : _params$25.value;
|
|
62238
|
+
const lengthParam = (_params$26 = params[2]) === null || _params$26 === void 0 ? void 0 : _params$26.value;
|
|
62214
62239
|
if (exprParam == undefined) {
|
|
62215
62240
|
throw new Error("Unexpected error!");
|
|
62216
62241
|
}
|
|
@@ -62228,40 +62253,48 @@ const substringKCLangFunction = params => {
|
|
|
62228
62253
|
};
|
|
62229
62254
|
};
|
|
62230
62255
|
const groupSumKCLangFunction = params => {
|
|
62231
|
-
var _params$
|
|
62256
|
+
var _params$27, _params$28, _params$29;
|
|
62232
62257
|
const errors = Array.from(validateParams(params, 3));
|
|
62233
62258
|
if (errors.length > 0) {
|
|
62234
62259
|
return new FunctionValidationErrorCollection(errors);
|
|
62235
62260
|
}
|
|
62236
|
-
const
|
|
62237
|
-
const sourceKeyPathParam = (_params$
|
|
62238
|
-
const sourceValuePathParam = (_params$
|
|
62239
|
-
if (
|
|
62240
|
-
const argumentsValidationError = new ArgumentValidationError("Expected 3 paths as arguments:
|
|
62261
|
+
const targetKeysParam = (_params$27 = params[0]) === null || _params$27 === void 0 ? void 0 : _params$27.value;
|
|
62262
|
+
const sourceKeyPathParam = (_params$28 = params[1]) === null || _params$28 === void 0 ? void 0 : _params$28.value;
|
|
62263
|
+
const sourceValuePathParam = (_params$29 = params[2]) === null || _params$29 === void 0 ? void 0 : _params$29.value;
|
|
62264
|
+
if (targetKeysParam == undefined || (sourceKeyPathParam === null || sourceKeyPathParam === void 0 ? void 0 : sourceKeyPathParam.type) !== "argument" || (sourceValuePathParam === null || sourceValuePathParam === void 0 ? void 0 : sourceValuePathParam.type) !== "argument") {
|
|
62265
|
+
const argumentsValidationError = new ArgumentValidationError("Expected 3 paths as arguments: targetKeys, sourceKeyPath, sourceValuePath");
|
|
62241
62266
|
return new FunctionValidationErrorCollection([argumentsValidationError]);
|
|
62242
62267
|
}
|
|
62268
|
+
const targetKeys = targetKeysParam.type === "array" ? targetKeysParam : {
|
|
62269
|
+
type: "array",
|
|
62270
|
+
items: [targetKeysParam]
|
|
62271
|
+
};
|
|
62243
62272
|
return {
|
|
62244
62273
|
type: "groupSum",
|
|
62245
|
-
|
|
62274
|
+
targetKeys: targetKeys,
|
|
62246
62275
|
sourceKeyPath: sourceKeyPathParam.select,
|
|
62247
62276
|
sourceValuePath: sourceValuePathParam.select
|
|
62248
62277
|
};
|
|
62249
62278
|
};
|
|
62250
62279
|
const groupCountKCLangFunction = params => {
|
|
62251
|
-
var _params$
|
|
62280
|
+
var _params$30, _params$31;
|
|
62252
62281
|
const errors = Array.from(validateParams(params, 2));
|
|
62253
62282
|
if (errors.length > 0) {
|
|
62254
62283
|
return new FunctionValidationErrorCollection(errors);
|
|
62255
62284
|
}
|
|
62256
|
-
const
|
|
62257
|
-
const sourceKeyPathParam = (_params$
|
|
62258
|
-
if (
|
|
62285
|
+
const targetKeysParam = (_params$30 = params[0]) === null || _params$30 === void 0 ? void 0 : _params$30.value;
|
|
62286
|
+
const sourceKeyPathParam = (_params$31 = params[1]) === null || _params$31 === void 0 ? void 0 : _params$31.value;
|
|
62287
|
+
if (targetKeysParam == undefined || (sourceKeyPathParam === null || sourceKeyPathParam === void 0 ? void 0 : sourceKeyPathParam.type) !== "argument") {
|
|
62259
62288
|
const argumentsValidationError = new ArgumentValidationError("Expected 2 paths as arguments: targetKeyPath, sourceKeyPath");
|
|
62260
62289
|
return new FunctionValidationErrorCollection([argumentsValidationError]);
|
|
62261
62290
|
}
|
|
62291
|
+
const targetKeys = targetKeysParam.type === "array" ? targetKeysParam : {
|
|
62292
|
+
type: "array",
|
|
62293
|
+
items: [targetKeysParam]
|
|
62294
|
+
};
|
|
62262
62295
|
return {
|
|
62263
62296
|
type: "groupCount",
|
|
62264
|
-
|
|
62297
|
+
targetKeys: targetKeys,
|
|
62265
62298
|
sourceKeyPath: sourceKeyPathParam.select
|
|
62266
62299
|
};
|
|
62267
62300
|
};
|
|
@@ -62294,12 +62327,12 @@ const dateNowKCLangFunction = params => {
|
|
|
62294
62327
|
};
|
|
62295
62328
|
};
|
|
62296
62329
|
const getDaysInMonthKCLangFunction = params => {
|
|
62297
|
-
var _params$
|
|
62330
|
+
var _params$32;
|
|
62298
62331
|
const errors = Array.from(validateParams(params, 1));
|
|
62299
62332
|
if (errors.length > 0) {
|
|
62300
62333
|
return new FunctionValidationErrorCollection(errors);
|
|
62301
62334
|
}
|
|
62302
|
-
const param = (_params$
|
|
62335
|
+
const param = (_params$32 = params[0]) === null || _params$32 === void 0 ? void 0 : _params$32.value;
|
|
62303
62336
|
if (param == undefined) {
|
|
62304
62337
|
throw new Error("Unexpected error!");
|
|
62305
62338
|
}
|
|
@@ -62309,12 +62342,12 @@ const getDaysInMonthKCLangFunction = params => {
|
|
|
62309
62342
|
};
|
|
62310
62343
|
};
|
|
62311
62344
|
const getDayKCLangFunction = params => {
|
|
62312
|
-
var _params$
|
|
62345
|
+
var _params$33;
|
|
62313
62346
|
const errors = Array.from(validateParams(params, 1));
|
|
62314
62347
|
if (errors.length > 0) {
|
|
62315
62348
|
return new FunctionValidationErrorCollection(errors);
|
|
62316
62349
|
}
|
|
62317
|
-
const param = (_params$
|
|
62350
|
+
const param = (_params$33 = params[0]) === null || _params$33 === void 0 ? void 0 : _params$33.value;
|
|
62318
62351
|
if (param == undefined) {
|
|
62319
62352
|
throw new Error("Unexpected error!");
|
|
62320
62353
|
}
|
|
@@ -62324,12 +62357,12 @@ const getDayKCLangFunction = params => {
|
|
|
62324
62357
|
};
|
|
62325
62358
|
};
|
|
62326
62359
|
const getMonthKCLangFunction = params => {
|
|
62327
|
-
var _params$
|
|
62360
|
+
var _params$34;
|
|
62328
62361
|
const errors = Array.from(validateParams(params, 1));
|
|
62329
62362
|
if (errors.length > 0) {
|
|
62330
62363
|
return new FunctionValidationErrorCollection(errors);
|
|
62331
62364
|
}
|
|
62332
|
-
const param = (_params$
|
|
62365
|
+
const param = (_params$34 = params[0]) === null || _params$34 === void 0 ? void 0 : _params$34.value;
|
|
62333
62366
|
if (param == undefined) {
|
|
62334
62367
|
throw new Error("Unexpected error!");
|
|
62335
62368
|
}
|
|
@@ -62339,12 +62372,12 @@ const getMonthKCLangFunction = params => {
|
|
|
62339
62372
|
};
|
|
62340
62373
|
};
|
|
62341
62374
|
const getYearKCLangFunction = params => {
|
|
62342
|
-
var _params$
|
|
62375
|
+
var _params$35;
|
|
62343
62376
|
const errors = Array.from(validateParams(params, 1));
|
|
62344
62377
|
if (errors.length > 0) {
|
|
62345
62378
|
return new FunctionValidationErrorCollection(errors);
|
|
62346
62379
|
}
|
|
62347
|
-
const param = (_params$
|
|
62380
|
+
const param = (_params$35 = params[0]) === null || _params$35 === void 0 ? void 0 : _params$35.value;
|
|
62348
62381
|
if (param == undefined) {
|
|
62349
62382
|
throw new Error("Unexpected error!");
|
|
62350
62383
|
}
|
|
@@ -62354,12 +62387,12 @@ const getYearKCLangFunction = params => {
|
|
|
62354
62387
|
};
|
|
62355
62388
|
};
|
|
62356
62389
|
const isDateInMonthKCLangFunction = params => {
|
|
62357
|
-
var _params$
|
|
62390
|
+
var _params$36;
|
|
62358
62391
|
const errors = Array.from(validateParams(params, 1));
|
|
62359
62392
|
if (errors.length > 0) {
|
|
62360
62393
|
return new FunctionValidationErrorCollection(errors);
|
|
62361
62394
|
}
|
|
62362
|
-
const param = (_params$
|
|
62395
|
+
const param = (_params$36 = params[0]) === null || _params$36 === void 0 ? void 0 : _params$36.value;
|
|
62363
62396
|
if (param == undefined) {
|
|
62364
62397
|
throw new Error("Unexpected error!");
|
|
62365
62398
|
}
|
|
@@ -62389,13 +62422,13 @@ const differenceInDaysKCLangFunction = params => {
|
|
|
62389
62422
|
};
|
|
62390
62423
|
};
|
|
62391
62424
|
const addDaysKCLangFunction = params => {
|
|
62392
|
-
var _params$
|
|
62425
|
+
var _params$37, _params$38;
|
|
62393
62426
|
const errors = Array.from(validateParams(params, 2));
|
|
62394
62427
|
if (errors.length > 0) {
|
|
62395
62428
|
return new FunctionValidationErrorCollection(errors);
|
|
62396
62429
|
}
|
|
62397
|
-
const exprParam = (_params$
|
|
62398
|
-
const amountParam = (_params$
|
|
62430
|
+
const exprParam = (_params$37 = params[0]) === null || _params$37 === void 0 ? void 0 : _params$37.value;
|
|
62431
|
+
const amountParam = (_params$38 = params[1]) === null || _params$38 === void 0 ? void 0 : _params$38.value;
|
|
62399
62432
|
if (exprParam == undefined) {
|
|
62400
62433
|
throw new Error("Expected expression for addDays().");
|
|
62401
62434
|
}
|
|
@@ -62411,13 +62444,13 @@ const addDaysKCLangFunction = params => {
|
|
|
62411
62444
|
};
|
|
62412
62445
|
};
|
|
62413
62446
|
const addMonthsKCLangFunction = params => {
|
|
62414
|
-
var _params$
|
|
62447
|
+
var _params$39, _params$40;
|
|
62415
62448
|
const errors = Array.from(validateParams(params, 2));
|
|
62416
62449
|
if (errors.length > 0) {
|
|
62417
62450
|
return new FunctionValidationErrorCollection(errors);
|
|
62418
62451
|
}
|
|
62419
|
-
const exprParam = (_params$
|
|
62420
|
-
const amountParam = (_params$
|
|
62452
|
+
const exprParam = (_params$39 = params[0]) === null || _params$39 === void 0 ? void 0 : _params$39.value;
|
|
62453
|
+
const amountParam = (_params$40 = params[1]) === null || _params$40 === void 0 ? void 0 : _params$40.value;
|
|
62421
62454
|
if (exprParam == undefined) {
|
|
62422
62455
|
throw new Error("Expected expression for addMonths().");
|
|
62423
62456
|
}
|
|
@@ -62433,13 +62466,13 @@ const addMonthsKCLangFunction = params => {
|
|
|
62433
62466
|
};
|
|
62434
62467
|
};
|
|
62435
62468
|
const addYearsKCLangFunction = params => {
|
|
62436
|
-
var _params$
|
|
62469
|
+
var _params$41, _params$42;
|
|
62437
62470
|
const errors = Array.from(validateParams(params, 2));
|
|
62438
62471
|
if (errors.length > 0) {
|
|
62439
62472
|
return new FunctionValidationErrorCollection(errors);
|
|
62440
62473
|
}
|
|
62441
|
-
const exprParam = (_params$
|
|
62442
|
-
const amountParam = (_params$
|
|
62474
|
+
const exprParam = (_params$41 = params[0]) === null || _params$41 === void 0 ? void 0 : _params$41.value;
|
|
62475
|
+
const amountParam = (_params$42 = params[1]) === null || _params$42 === void 0 ? void 0 : _params$42.value;
|
|
62443
62476
|
if (exprParam == undefined) {
|
|
62444
62477
|
throw new Error("Expected expression for addYears().");
|
|
62445
62478
|
}
|
|
@@ -62455,13 +62488,13 @@ const addYearsKCLangFunction = params => {
|
|
|
62455
62488
|
};
|
|
62456
62489
|
};
|
|
62457
62490
|
const dateToStringKCLangFunction = params => {
|
|
62458
|
-
var _params$
|
|
62491
|
+
var _params$43, _params$44;
|
|
62459
62492
|
const errors = Array.from(validateParams(params, 1, 2));
|
|
62460
62493
|
if (errors.length > 0) {
|
|
62461
62494
|
return new FunctionValidationErrorCollection(errors);
|
|
62462
62495
|
}
|
|
62463
|
-
const exprParam = (_params$
|
|
62464
|
-
const formatParam = (_params$
|
|
62496
|
+
const exprParam = (_params$43 = params[0]) === null || _params$43 === void 0 ? void 0 : _params$43.value;
|
|
62497
|
+
const formatParam = (_params$44 = params[1]) === null || _params$44 === void 0 ? void 0 : _params$44.value;
|
|
62465
62498
|
if (exprParam == undefined) {
|
|
62466
62499
|
throw new Error("Expected expression for dateToString().");
|
|
62467
62500
|
}
|
|
@@ -62476,12 +62509,12 @@ const dateToStringKCLangFunction = params => {
|
|
|
62476
62509
|
};
|
|
62477
62510
|
};
|
|
62478
62511
|
const dateTimeKCLangFunction = params => {
|
|
62479
|
-
var _params$
|
|
62512
|
+
var _params$45;
|
|
62480
62513
|
const errors = Array.from(validateParams(params, 1));
|
|
62481
62514
|
if (errors.length > 0) {
|
|
62482
62515
|
return new FunctionValidationErrorCollection(errors);
|
|
62483
62516
|
}
|
|
62484
|
-
const param = (_params$
|
|
62517
|
+
const param = (_params$45 = params[0]) === null || _params$45 === void 0 ? void 0 : _params$45.value;
|
|
62485
62518
|
if (param == undefined) {
|
|
62486
62519
|
throw new Error("Unexpected error!");
|
|
62487
62520
|
}
|
|
@@ -62528,6 +62561,7 @@ const getKCLangGlobalFunctionBuilders = () => ({
|
|
|
62528
62561
|
isInn: [_KCLangAntlrFunctions__WEBPACK_IMPORTED_MODULE_2__.isInnKCLangFunction],
|
|
62529
62562
|
firstOrDefault: [_KCLangAntlrFunctions__WEBPACK_IMPORTED_MODULE_2__.firstOrDefaultKCLangFunction],
|
|
62530
62563
|
nodeps: [_KCLangAntlrFunctions__WEBPACK_IMPORTED_MODULE_2__.noDepsKCLangFunction],
|
|
62564
|
+
hashSet: [_KCLangAntlrFunctions__WEBPACK_IMPORTED_MODULE_2__.hashSetKCLangFunction],
|
|
62531
62565
|
isValidAccountNumber: [_KCLangAntlrFunctions__WEBPACK_IMPORTED_MODULE_2__.isValidAccountNumberKCLangFunction],
|
|
62532
62566
|
isValidMirCardNumber: [_KCLangAntlrFunctions__WEBPACK_IMPORTED_MODULE_2__.isValidMirCardNumberKCLangFunction],
|
|
62533
62567
|
getPicklistValues: [_KCLangAntlrFunctions__WEBPACK_IMPORTED_MODULE_2__.getPicklistValuesKCLangFunction],
|
|
@@ -70090,6 +70124,9 @@ function traverseKCLangExpression(node, visitor) {
|
|
|
70090
70124
|
case "nodeps":
|
|
70091
70125
|
visitor.visitNoDepsKCLangNode(node);
|
|
70092
70126
|
break;
|
|
70127
|
+
case "hashSet":
|
|
70128
|
+
visitor.visitHashSetKCLangNode(node);
|
|
70129
|
+
break;
|
|
70093
70130
|
default:
|
|
70094
70131
|
(0,_Common_TypingUtils__WEBPACK_IMPORTED_MODULE_0__.ensureNever)(node);
|
|
70095
70132
|
break;
|
|
@@ -70105,6 +70142,9 @@ class DefaultKCLangExpressionVisitor {
|
|
|
70105
70142
|
visitFirstOrDefaultKCLangNode(node) {
|
|
70106
70143
|
// default empty implementation
|
|
70107
70144
|
}
|
|
70145
|
+
visitHashSetKCLangNode(node) {
|
|
70146
|
+
// default empty implementation
|
|
70147
|
+
}
|
|
70108
70148
|
visitNoDepsKCLangNode(node) {
|
|
70109
70149
|
// default empty implementation
|
|
70110
70150
|
}
|
|
@@ -70584,6 +70624,7 @@ const getGenerateJsExpressionFunc = options => {
|
|
|
70584
70624
|
case "nodeps":
|
|
70585
70625
|
case "array":
|
|
70586
70626
|
case "firstOrDefault":
|
|
70627
|
+
case "hashSet":
|
|
70587
70628
|
case "concat":
|
|
70588
70629
|
case "newline":
|
|
70589
70630
|
throw new _Common_Errors__WEBPACK_IMPORTED_MODULE_1__.NotImplementedError();
|
|
@@ -70654,6 +70695,7 @@ function generateKCXmlExpression(expression) {
|
|
|
70654
70695
|
case "xabs":
|
|
70655
70696
|
case "firstOrDefault":
|
|
70656
70697
|
case "nodeps":
|
|
70698
|
+
case "hashSet":
|
|
70657
70699
|
case "length":
|
|
70658
70700
|
return [`<m:${expression.type}>`, (0,_Common_IndentString__WEBPACK_IMPORTED_MODULE_2__.indent)(generateKCXmlExpression(expression.expression), 1), `</m:${expression.type}>`].join("\n");
|
|
70659
70701
|
case "exists":
|
|
@@ -70665,9 +70707,9 @@ function generateKCXmlExpression(expression) {
|
|
|
70665
70707
|
case "isValidAccountNumber":
|
|
70666
70708
|
return `<m:${expression.type} bik="${expression.bik}" account="${expression.account}" />`;
|
|
70667
70709
|
case "groupSum":
|
|
70668
|
-
return `<m:${expression.type}
|
|
70710
|
+
return [`<m:${expression.type} sourceKeyPath="${expression.sourceKeyPath}" sourceValuePath="${expression.sourceValuePath}" >`, (0,_Common_IndentString__WEBPACK_IMPORTED_MODULE_2__.indent)(generateKCXmlExpression(expression.targetKeys), 1), `</m:${expression.type}>`].join("\n");
|
|
70669
70711
|
case "groupCount":
|
|
70670
|
-
return `<m:${expression.type}
|
|
70712
|
+
return [`<m:${expression.type} sourceKeyPath="${expression.sourceKeyPath}" >`, (0,_Common_IndentString__WEBPACK_IMPORTED_MODULE_2__.indent)(generateKCXmlExpression(expression.targetKeys), 1), `</m:${expression.type}>`].join("\n");
|
|
70671
70713
|
case "cast":
|
|
70672
70714
|
if (expression.expression.type === "argument") {
|
|
70673
70715
|
return `<m:argument select="${expression.expression.select}" type="${expression.targetType}" />`;
|
|
@@ -76080,8 +76122,6 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
76080
76122
|
/* harmony export */ "FormulaWhenExpression": () => (/* binding */ FormulaWhenExpression),
|
|
76081
76123
|
/* harmony export */ "DummyContent": () => (/* binding */ DummyContent),
|
|
76082
76124
|
/* harmony export */ "FormulaSumExpression": () => (/* binding */ FormulaSumExpression),
|
|
76083
|
-
/* harmony export */ "FormulaGroupSumExpression": () => (/* binding */ FormulaGroupSumExpression),
|
|
76084
|
-
/* harmony export */ "FormulaGroupCountExpression": () => (/* binding */ FormulaGroupCountExpression),
|
|
76085
76125
|
/* harmony export */ "FormulaAndExpression": () => (/* binding */ FormulaAndExpression),
|
|
76086
76126
|
/* harmony export */ "FormulaOrExpression": () => (/* binding */ FormulaOrExpression),
|
|
76087
76127
|
/* harmony export */ "FormulaGtExpression": () => (/* binding */ FormulaGtExpression),
|
|
@@ -76131,6 +76171,7 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
76131
76171
|
/* harmony export */ "FormulaFilterKeyExpression": () => (/* binding */ FormulaFilterKeyExpression),
|
|
76132
76172
|
/* harmony export */ "FormulaGetPicklistValuesExpression": () => (/* binding */ FormulaGetPicklistValuesExpression),
|
|
76133
76173
|
/* harmony export */ "FormulaFirstOrDefaultExpression": () => (/* binding */ FormulaFirstOrDefaultExpression),
|
|
76174
|
+
/* harmony export */ "FormulaHashSetExpression": () => (/* binding */ FormulaHashSetExpression),
|
|
76134
76175
|
/* harmony export */ "FormulaExistsExpression": () => (/* binding */ FormulaExistsExpression),
|
|
76135
76176
|
/* harmony export */ "FormulaMultySumExpression": () => (/* binding */ FormulaMultySumExpression),
|
|
76136
76177
|
/* harmony export */ "FormulaCountExpression": () => (/* binding */ FormulaCountExpression),
|
|
@@ -76142,6 +76183,8 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
76142
76183
|
/* harmony export */ "ConditionNode": () => (/* binding */ ConditionNode),
|
|
76143
76184
|
/* harmony export */ "ConditionsNode": () => (/* binding */ ConditionsNode),
|
|
76144
76185
|
/* harmony export */ "MathContainer": () => (/* binding */ MathContainer),
|
|
76186
|
+
/* harmony export */ "FormulaGroupSumExpression": () => (/* binding */ FormulaGroupSumExpression),
|
|
76187
|
+
/* harmony export */ "FormulaGroupCountExpression": () => (/* binding */ FormulaGroupCountExpression),
|
|
76145
76188
|
/* harmony export */ "formulaExpressions": () => (/* binding */ formulaExpressions)
|
|
76146
76189
|
/* harmony export */ });
|
|
76147
76190
|
/* harmony import */ var _babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @babel/runtime/helpers/initializerDefineProperty */ "./node_modules/@babel/runtime/helpers/initializerDefineProperty.js");
|
|
@@ -76156,7 +76199,7 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
76156
76199
|
|
|
76157
76200
|
|
|
76158
76201
|
|
|
76159
|
-
var _dec, _dec2, _class, _class2, _descriptor, _dec3, _class4, _dec4, _dec5, _class5, _class6, _descriptor2, _dec6, _dec7,
|
|
76202
|
+
var _dec, _dec2, _class, _class2, _descriptor, _dec3, _class4, _dec4, _dec5, _class5, _class6, _descriptor2, _dec6, _dec7, _class8, _class9, _descriptor3, _dec8, _dec9, _class11, _class12, _descriptor4, _dec10, _dec11, _class14, _class15, _descriptor5, _dec12, _dec13, _class17, _class18, _descriptor6, _dec14, _dec15, _dec16, _class20, _class21, _descriptor7, _descriptor8, _dec17, _dec18, _dec19, _class23, _class24, _descriptor9, _descriptor10, _dec20, _dec21, _class26, _class27, _descriptor11, _dec22, _dec23, _class29, _class30, _descriptor12, _dec24, _dec25, _class32, _class33, _descriptor13, _dec26, _dec27, _class35, _class36, _descriptor14, _dec28, _dec29, _class38, _class39, _descriptor15, _dec30, _dec31, _class41, _class42, _descriptor16, _dec32, _dec33, _class44, _class45, _descriptor17, _dec34, _dec35, _class47, _class48, _descriptor18, _dec36, _dec37, _class50, _class51, _descriptor19, _dec38, _dec39, _dec40, _dec41, _class53, _class54, _descriptor20, _descriptor21, _descriptor22, _dec42, _dec43, _class56, _class57, _descriptor23, _dec44, _dec45, _class59, _class60, _descriptor24, _dec46, _dec47, _dec48, _class62, _class63, _descriptor25, _descriptor26, _dec49, _dec50, _class65, _class66, _descriptor27, _dec51, _dec52, _class68, _class69, _descriptor28, _dec53, _dec54, _class71, _class72, _descriptor29, _dec55, _dec56, _class74, _class75, _descriptor30, _dec57, _dec58, _dec59, _class77, _class78, _descriptor31, _descriptor32, _dec60, _dec61, _dec62, _dec63, _class80, _class81, _descriptor33, _descriptor34, _descriptor35, _dec64, _dec65, _dec66, _class83, _class84, _descriptor36, _descriptor37, _dec67, _class86, _dec68, _dec69, _class87, _class88, _descriptor38, _dec70, _dec71, _class90, _class91, _descriptor39, _dec72, _dec73, _class93, _class94, _descriptor40, _dec74, _dec75, _class96, _class97, _descriptor41, _dec76, _dec77, _class99, _class100, _descriptor42, _dec78, _dec79, _class102, _class103, _descriptor43, _dec80, _dec81, _class105, _class106, _descriptor44, _dec82, _dec83, _dec84, _class108, _class109, _descriptor45, _descriptor46, _dec85, _dec86, _dec87, _class111, _class112, _descriptor47, _descriptor48, _dec88, _dec89, _dec90, _class114, _class115, _descriptor49, _descriptor50, _dec91, _dec92, _dec93, _class117, _class118, _descriptor51, _descriptor52, _dec94, _dec95, _class120, _class121, _descriptor53, _dec96, _dec97, _class123, _class124, _descriptor54, _dec98, _dec99, _class126, _class127, _descriptor55, _dec100, _dec101, _class129, _class130, _descriptor56, _dec102, _dec103, _dec104, _class132, _class133, _descriptor57, _descriptor58, _dec105, _dec106, _dec107, _class135, _class136, _descriptor59, _descriptor60, _dec108, _dec109, _class138, _class139, _descriptor61, _dec110, _dec111, _class141, _class142, _descriptor62, _dec112, _dec113, _class144, _class145, _descriptor63, _dec114, _dec115, _dec116, _dec117, _dec118, _class147, _class148, _descriptor64, _descriptor65, _descriptor66, _descriptor67, _dec119, _dec120, _class150, _class151, _descriptor68, _dec121, _dec122, _class153, _class154, _descriptor69, _dec123, _dec124, _class156, _class157, _descriptor70, _dec125, _dec126, _class159, _class160, _descriptor71, _dec127, _dec128, _dec129, _class162, _class163, _descriptor72, _descriptor73, _dec130, _dec131, _class165, _class166, _descriptor74, _dec132, _class168, _dec133, _dec134, _dec135, _dec136, _class169, _class170, _descriptor75, _descriptor76, _descriptor77, _dec137, _dec138, _class172, _class173, _descriptor78, _dec139, _dec140, _class175, _class176, _descriptor79, _dec141, _dec142, _dec143, _dec144, _dec145, _dec146, _class178, _class179, _descriptor80, _descriptor81, _descriptor82, _descriptor83, _descriptor84, _dec147, _dec148, _class181, _class182, _descriptor85, _dec149, _dec150, _dec151, _class184, _class185, _descriptor86, _descriptor87, _dec152, _dec153, _dec154, _dec155, _class187, _class188, _descriptor88, _descriptor89, _descriptor90, _dec156, _dec157, _dec158, _class190, _class191, _descriptor91, _descriptor92;
|
|
76160
76203
|
|
|
76161
76204
|
|
|
76162
76205
|
|
|
@@ -76199,921 +76242,932 @@ let FormulaSumExpression = (_dec4 = (0,_markupGenerator_Serializer_SugarSerializ
|
|
|
76199
76242
|
writable: true,
|
|
76200
76243
|
initializer: null
|
|
76201
76244
|
})), _class6)) || _class5);
|
|
76202
|
-
let
|
|
76245
|
+
let FormulaAndExpression = (_dec6 = (0,_markupGenerator_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_5__.sugarNode)("and", `TODO`), _dec7 = (0,_markupGenerator_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_5__.children)(), _dec6(_class8 = (_class9 = class FormulaAndExpression extends FormulaExpression {
|
|
76203
76246
|
constructor(...args) {
|
|
76204
76247
|
super(...args);
|
|
76205
|
-
_babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0___default()(this, "
|
|
76206
|
-
_babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0___default()(this, "sourceKeyPath", _descriptor4, this);
|
|
76207
|
-
_babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0___default()(this, "sourceValuePath", _descriptor5, this);
|
|
76208
|
-
}
|
|
76209
|
-
}, (_descriptor3 = _babel_runtime_helpers_applyDecoratedDescriptor__WEBPACK_IMPORTED_MODULE_1___default()(_class9.prototype, "targetKeyPath", [_dec7], {
|
|
76210
|
-
configurable: true,
|
|
76211
|
-
enumerable: true,
|
|
76212
|
-
writable: true,
|
|
76213
|
-
initializer: null
|
|
76214
|
-
}), _descriptor4 = _babel_runtime_helpers_applyDecoratedDescriptor__WEBPACK_IMPORTED_MODULE_1___default()(_class9.prototype, "sourceKeyPath", [_dec8], {
|
|
76215
|
-
configurable: true,
|
|
76216
|
-
enumerable: true,
|
|
76217
|
-
writable: true,
|
|
76218
|
-
initializer: null
|
|
76219
|
-
}), _descriptor5 = _babel_runtime_helpers_applyDecoratedDescriptor__WEBPACK_IMPORTED_MODULE_1___default()(_class9.prototype, "sourceValuePath", [_dec9], {
|
|
76220
|
-
configurable: true,
|
|
76221
|
-
enumerable: true,
|
|
76222
|
-
writable: true,
|
|
76223
|
-
initializer: null
|
|
76224
|
-
})), _class9)) || _class8);
|
|
76225
|
-
let FormulaGroupCountExpression = (_dec10 = (0,_markupGenerator_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_5__.sugarNode)("groupcount", `Вычисление количества элементов по группам в разных множественностях`), _dec11 = (0,_markupGenerator_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_5__.attr)("targetKeyPath", _markupGenerator_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_5__.attrType.string.required, `Путь откуда брать ключ группы в целевой множественности`), _dec12 = (0,_markupGenerator_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_5__.attr)("sourceKeyPath", _markupGenerator_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_5__.attrType.string.required, `Путь откуда брать ключ группы в суммируемой множественности`), _dec10(_class11 = (_class12 = class FormulaGroupCountExpression extends FormulaExpression {
|
|
76226
|
-
constructor(...args) {
|
|
76227
|
-
super(...args);
|
|
76228
|
-
_babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0___default()(this, "targetKeyPath", _descriptor6, this);
|
|
76229
|
-
_babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0___default()(this, "sourceKeyPath", _descriptor7, this);
|
|
76230
|
-
}
|
|
76231
|
-
}, (_descriptor6 = _babel_runtime_helpers_applyDecoratedDescriptor__WEBPACK_IMPORTED_MODULE_1___default()(_class12.prototype, "targetKeyPath", [_dec11], {
|
|
76232
|
-
configurable: true,
|
|
76233
|
-
enumerable: true,
|
|
76234
|
-
writable: true,
|
|
76235
|
-
initializer: null
|
|
76236
|
-
}), _descriptor7 = _babel_runtime_helpers_applyDecoratedDescriptor__WEBPACK_IMPORTED_MODULE_1___default()(_class12.prototype, "sourceKeyPath", [_dec12], {
|
|
76237
|
-
configurable: true,
|
|
76238
|
-
enumerable: true,
|
|
76239
|
-
writable: true,
|
|
76240
|
-
initializer: null
|
|
76241
|
-
})), _class12)) || _class11);
|
|
76242
|
-
let FormulaAndExpression = (_dec13 = (0,_markupGenerator_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_5__.sugarNode)("and", `TODO`), _dec14 = (0,_markupGenerator_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_5__.children)(), _dec13(_class14 = (_class15 = class FormulaAndExpression extends FormulaExpression {
|
|
76243
|
-
constructor(...args) {
|
|
76244
|
-
super(...args);
|
|
76245
|
-
_babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0___default()(this, "arguments", _descriptor8, this);
|
|
76248
|
+
_babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0___default()(this, "arguments", _descriptor3, this);
|
|
76246
76249
|
}
|
|
76247
76250
|
getLegacyExpressionTypeForFunctionName() {
|
|
76248
76251
|
return "and";
|
|
76249
76252
|
}
|
|
76250
|
-
}, (
|
|
76253
|
+
}, (_descriptor3 = _babel_runtime_helpers_applyDecoratedDescriptor__WEBPACK_IMPORTED_MODULE_1___default()(_class9.prototype, "arguments", [_dec7], {
|
|
76251
76254
|
configurable: true,
|
|
76252
76255
|
enumerable: true,
|
|
76253
76256
|
writable: true,
|
|
76254
76257
|
initializer: null
|
|
76255
|
-
})),
|
|
76256
|
-
let FormulaOrExpression = (
|
|
76258
|
+
})), _class9)) || _class8);
|
|
76259
|
+
let FormulaOrExpression = (_dec8 = (0,_markupGenerator_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_5__.sugarNode)("or", `TODO`), _dec9 = (0,_markupGenerator_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_5__.children)(), _dec8(_class11 = (_class12 = class FormulaOrExpression extends FormulaExpression {
|
|
76257
76260
|
constructor(...args) {
|
|
76258
76261
|
super(...args);
|
|
76259
|
-
_babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0___default()(this, "arguments",
|
|
76262
|
+
_babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0___default()(this, "arguments", _descriptor4, this);
|
|
76260
76263
|
}
|
|
76261
76264
|
getLegacyExpressionTypeForFunctionName() {
|
|
76262
76265
|
return "or";
|
|
76263
76266
|
}
|
|
76264
|
-
}, (
|
|
76267
|
+
}, (_descriptor4 = _babel_runtime_helpers_applyDecoratedDescriptor__WEBPACK_IMPORTED_MODULE_1___default()(_class12.prototype, "arguments", [_dec9], {
|
|
76265
76268
|
configurable: true,
|
|
76266
76269
|
enumerable: true,
|
|
76267
76270
|
writable: true,
|
|
76268
76271
|
initializer: null
|
|
76269
|
-
})),
|
|
76270
|
-
let FormulaGtExpression = (
|
|
76272
|
+
})), _class12)) || _class11);
|
|
76273
|
+
let FormulaGtExpression = (_dec10 = (0,_markupGenerator_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_5__.sugarNode)("gt", `TODO`), _dec11 = (0,_markupGenerator_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_5__.children)(), _dec10(_class14 = (_class15 = class FormulaGtExpression extends FormulaExpression {
|
|
76271
76274
|
constructor(...args) {
|
|
76272
76275
|
super(...args);
|
|
76273
|
-
_babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0___default()(this, "arguments",
|
|
76276
|
+
_babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0___default()(this, "arguments", _descriptor5, this);
|
|
76274
76277
|
}
|
|
76275
76278
|
getLegacyExpressionTypeForFunctionName() {
|
|
76276
76279
|
return "gt";
|
|
76277
76280
|
}
|
|
76278
|
-
}, (
|
|
76281
|
+
}, (_descriptor5 = _babel_runtime_helpers_applyDecoratedDescriptor__WEBPACK_IMPORTED_MODULE_1___default()(_class15.prototype, "arguments", [_dec11], {
|
|
76279
76282
|
configurable: true,
|
|
76280
76283
|
enumerable: true,
|
|
76281
76284
|
writable: true,
|
|
76282
76285
|
initializer: null
|
|
76283
|
-
})),
|
|
76284
|
-
let FormulaOneOfItemsExpression = (
|
|
76286
|
+
})), _class15)) || _class14);
|
|
76287
|
+
let FormulaOneOfItemsExpression = (_dec12 = (0,_markupGenerator_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_5__.sugarNode)("oneofitems", `TODO`), _dec13 = (0,_markupGenerator_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_5__.children)(), _dec12(_class17 = (_class18 = class FormulaOneOfItemsExpression extends FormulaExpression {
|
|
76285
76288
|
constructor(...args) {
|
|
76286
76289
|
super(...args);
|
|
76287
|
-
_babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0___default()(this, "expressions",
|
|
76290
|
+
_babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0___default()(this, "expressions", _descriptor6, this);
|
|
76288
76291
|
}
|
|
76289
|
-
}, (
|
|
76292
|
+
}, (_descriptor6 = _babel_runtime_helpers_applyDecoratedDescriptor__WEBPACK_IMPORTED_MODULE_1___default()(_class18.prototype, "expressions", [_dec13], {
|
|
76290
76293
|
configurable: true,
|
|
76291
76294
|
enumerable: true,
|
|
76292
76295
|
writable: true,
|
|
76293
76296
|
initializer: null
|
|
76294
|
-
})),
|
|
76295
|
-
let FormulaOneOfExpression = (
|
|
76297
|
+
})), _class18)) || _class17);
|
|
76298
|
+
let FormulaOneOfExpression = (_dec14 = (0,_markupGenerator_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_5__.sugarNode)("oneof", `TODO`), _dec15 = (0,_markupGenerator_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_5__.singleChild)(), _dec16 = (0,_markupGenerator_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_5__.singleChild)("oneofitems", [FormulaOneOfItemsExpression]), _dec14(_class20 = (_class21 = class FormulaOneOfExpression extends FormulaExpression {
|
|
76296
76299
|
constructor(...args) {
|
|
76297
76300
|
super(...args);
|
|
76298
|
-
_babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0___default()(this, "argument",
|
|
76299
|
-
_babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0___default()(this, "items",
|
|
76301
|
+
_babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0___default()(this, "argument", _descriptor7, this);
|
|
76302
|
+
_babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0___default()(this, "items", _descriptor8, this);
|
|
76300
76303
|
}
|
|
76301
76304
|
getLegacyExpressionTypeForFunctionName() {
|
|
76302
76305
|
return "oneof";
|
|
76303
76306
|
}
|
|
76304
|
-
}, (
|
|
76307
|
+
}, (_descriptor7 = _babel_runtime_helpers_applyDecoratedDescriptor__WEBPACK_IMPORTED_MODULE_1___default()(_class21.prototype, "argument", [_dec15], {
|
|
76305
76308
|
configurable: true,
|
|
76306
76309
|
enumerable: true,
|
|
76307
76310
|
writable: true,
|
|
76308
76311
|
initializer: null
|
|
76309
|
-
}),
|
|
76312
|
+
}), _descriptor8 = _babel_runtime_helpers_applyDecoratedDescriptor__WEBPACK_IMPORTED_MODULE_1___default()(_class21.prototype, "items", [_dec16], {
|
|
76310
76313
|
configurable: true,
|
|
76311
76314
|
enumerable: true,
|
|
76312
76315
|
writable: true,
|
|
76313
76316
|
initializer: null
|
|
76314
|
-
})),
|
|
76315
|
-
let FormulaRegexMatchExpression = (
|
|
76317
|
+
})), _class21)) || _class20);
|
|
76318
|
+
let FormulaRegexMatchExpression = (_dec17 = (0,_markupGenerator_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_5__.sugarNode)("regexmatch", `TODO`), _dec18 = (0,_markupGenerator_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_5__.singleChild)(), _dec19 = (0,_markupGenerator_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_5__.attr)("pattern", _markupGenerator_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_5__.attrType.string.required, `TODO`), _dec17(_class23 = (_class24 = class FormulaRegexMatchExpression extends FormulaExpression {
|
|
76316
76319
|
constructor(...args) {
|
|
76317
76320
|
super(...args);
|
|
76318
|
-
_babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0___default()(this, "argument",
|
|
76319
|
-
_babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0___default()(this, "pattern",
|
|
76321
|
+
_babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0___default()(this, "argument", _descriptor9, this);
|
|
76322
|
+
_babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0___default()(this, "pattern", _descriptor10, this);
|
|
76320
76323
|
}
|
|
76321
76324
|
getLegacyExpressionTypeForFunctionName() {
|
|
76322
76325
|
return "regexMatch";
|
|
76323
76326
|
}
|
|
76324
|
-
}, (
|
|
76327
|
+
}, (_descriptor9 = _babel_runtime_helpers_applyDecoratedDescriptor__WEBPACK_IMPORTED_MODULE_1___default()(_class24.prototype, "argument", [_dec18], {
|
|
76325
76328
|
configurable: true,
|
|
76326
76329
|
enumerable: true,
|
|
76327
76330
|
writable: true,
|
|
76328
76331
|
initializer: null
|
|
76329
|
-
}),
|
|
76332
|
+
}), _descriptor10 = _babel_runtime_helpers_applyDecoratedDescriptor__WEBPACK_IMPORTED_MODULE_1___default()(_class24.prototype, "pattern", [_dec19], {
|
|
76330
76333
|
configurable: true,
|
|
76331
76334
|
enumerable: true,
|
|
76332
76335
|
writable: true,
|
|
76333
76336
|
initializer: null
|
|
76334
|
-
})),
|
|
76335
|
-
let FormulaLengthExpression = (
|
|
76337
|
+
})), _class24)) || _class23);
|
|
76338
|
+
let FormulaLengthExpression = (_dec20 = (0,_markupGenerator_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_5__.sugarNode)("length", `TODO`), _dec21 = (0,_markupGenerator_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_5__.singleChild)(), _dec20(_class26 = (_class27 = class FormulaLengthExpression extends FormulaExpression {
|
|
76336
76339
|
constructor(...args) {
|
|
76337
76340
|
super(...args);
|
|
76338
|
-
_babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0___default()(this, "argument",
|
|
76341
|
+
_babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0___default()(this, "argument", _descriptor11, this);
|
|
76339
76342
|
}
|
|
76340
76343
|
getLegacyExpressionTypeForFunctionName() {
|
|
76341
76344
|
return "length";
|
|
76342
76345
|
}
|
|
76343
|
-
}, (
|
|
76346
|
+
}, (_descriptor11 = _babel_runtime_helpers_applyDecoratedDescriptor__WEBPACK_IMPORTED_MODULE_1___default()(_class27.prototype, "argument", [_dec21], {
|
|
76344
76347
|
configurable: true,
|
|
76345
76348
|
enumerable: true,
|
|
76346
76349
|
writable: true,
|
|
76347
76350
|
initializer: null
|
|
76348
|
-
})),
|
|
76349
|
-
let FormulaLtExpression = (
|
|
76351
|
+
})), _class27)) || _class26);
|
|
76352
|
+
let FormulaLtExpression = (_dec22 = (0,_markupGenerator_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_5__.sugarNode)("lt", `TODO`), _dec23 = (0,_markupGenerator_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_5__.children)(), _dec22(_class29 = (_class30 = class FormulaLtExpression extends FormulaExpression {
|
|
76350
76353
|
constructor(...args) {
|
|
76351
76354
|
super(...args);
|
|
76352
|
-
_babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0___default()(this, "arguments",
|
|
76355
|
+
_babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0___default()(this, "arguments", _descriptor12, this);
|
|
76353
76356
|
}
|
|
76354
76357
|
getLegacyExpressionTypeForFunctionName() {
|
|
76355
76358
|
return "lt";
|
|
76356
76359
|
}
|
|
76357
|
-
}, (
|
|
76360
|
+
}, (_descriptor12 = _babel_runtime_helpers_applyDecoratedDescriptor__WEBPACK_IMPORTED_MODULE_1___default()(_class30.prototype, "arguments", [_dec23], {
|
|
76358
76361
|
configurable: true,
|
|
76359
76362
|
enumerable: true,
|
|
76360
76363
|
writable: true,
|
|
76361
76364
|
initializer: null
|
|
76362
|
-
})),
|
|
76363
|
-
let FormulaGeExpression = (
|
|
76365
|
+
})), _class30)) || _class29);
|
|
76366
|
+
let FormulaGeExpression = (_dec24 = (0,_markupGenerator_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_5__.sugarNode)("ge", `TODO`), _dec25 = (0,_markupGenerator_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_5__.children)(), _dec24(_class32 = (_class33 = class FormulaGeExpression extends FormulaExpression {
|
|
76364
76367
|
constructor(...args) {
|
|
76365
76368
|
super(...args);
|
|
76366
|
-
_babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0___default()(this, "arguments",
|
|
76369
|
+
_babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0___default()(this, "arguments", _descriptor13, this);
|
|
76367
76370
|
}
|
|
76368
76371
|
getLegacyExpressionTypeForFunctionName() {
|
|
76369
76372
|
return "ge";
|
|
76370
76373
|
}
|
|
76371
|
-
}, (
|
|
76374
|
+
}, (_descriptor13 = _babel_runtime_helpers_applyDecoratedDescriptor__WEBPACK_IMPORTED_MODULE_1___default()(_class33.prototype, "arguments", [_dec25], {
|
|
76372
76375
|
configurable: true,
|
|
76373
76376
|
enumerable: true,
|
|
76374
76377
|
writable: true,
|
|
76375
76378
|
initializer: null
|
|
76376
|
-
})),
|
|
76377
|
-
let FormulaLeExpression = (
|
|
76379
|
+
})), _class33)) || _class32);
|
|
76380
|
+
let FormulaLeExpression = (_dec26 = (0,_markupGenerator_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_5__.sugarNode)("le", `TODO`), _dec27 = (0,_markupGenerator_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_5__.children)(), _dec26(_class35 = (_class36 = class FormulaLeExpression extends FormulaExpression {
|
|
76378
76381
|
constructor(...args) {
|
|
76379
76382
|
super(...args);
|
|
76380
|
-
_babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0___default()(this, "arguments",
|
|
76383
|
+
_babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0___default()(this, "arguments", _descriptor14, this);
|
|
76381
76384
|
}
|
|
76382
76385
|
getLegacyExpressionTypeForFunctionName() {
|
|
76383
76386
|
return "le";
|
|
76384
76387
|
}
|
|
76385
|
-
}, (
|
|
76388
|
+
}, (_descriptor14 = _babel_runtime_helpers_applyDecoratedDescriptor__WEBPACK_IMPORTED_MODULE_1___default()(_class36.prototype, "arguments", [_dec27], {
|
|
76386
76389
|
configurable: true,
|
|
76387
76390
|
enumerable: true,
|
|
76388
76391
|
writable: true,
|
|
76389
76392
|
initializer: null
|
|
76390
|
-
})),
|
|
76391
|
-
let FormulaNotExpression = (
|
|
76393
|
+
})), _class36)) || _class35);
|
|
76394
|
+
let FormulaNotExpression = (_dec28 = (0,_markupGenerator_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_5__.sugarNode)("not", `TODO`), _dec29 = (0,_markupGenerator_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_5__.singleChild)(), _dec28(_class38 = (_class39 = class FormulaNotExpression extends FormulaExpression {
|
|
76392
76395
|
constructor(...args) {
|
|
76393
76396
|
super(...args);
|
|
76394
|
-
_babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0___default()(this, "argument",
|
|
76397
|
+
_babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0___default()(this, "argument", _descriptor15, this);
|
|
76395
76398
|
}
|
|
76396
76399
|
getLegacyExpressionTypeForFunctionName() {
|
|
76397
76400
|
return "not";
|
|
76398
76401
|
}
|
|
76399
|
-
}, (
|
|
76402
|
+
}, (_descriptor15 = _babel_runtime_helpers_applyDecoratedDescriptor__WEBPACK_IMPORTED_MODULE_1___default()(_class39.prototype, "argument", [_dec29], {
|
|
76400
76403
|
configurable: true,
|
|
76401
76404
|
enumerable: true,
|
|
76402
76405
|
writable: true,
|
|
76403
76406
|
initializer: null
|
|
76404
|
-
})),
|
|
76405
|
-
let FormulaEqExpression = (
|
|
76407
|
+
})), _class39)) || _class38);
|
|
76408
|
+
let FormulaEqExpression = (_dec30 = (0,_markupGenerator_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_5__.sugarNode)("eq", `TODO`), _dec31 = (0,_markupGenerator_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_5__.children)(), _dec30(_class41 = (_class42 = class FormulaEqExpression extends FormulaExpression {
|
|
76406
76409
|
constructor(...args) {
|
|
76407
76410
|
super(...args);
|
|
76408
|
-
_babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0___default()(this, "arguments",
|
|
76411
|
+
_babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0___default()(this, "arguments", _descriptor16, this);
|
|
76409
76412
|
}
|
|
76410
76413
|
getLegacyExpressionTypeForFunctionName() {
|
|
76411
76414
|
return "eq";
|
|
76412
76415
|
}
|
|
76413
|
-
}, (
|
|
76416
|
+
}, (_descriptor16 = _babel_runtime_helpers_applyDecoratedDescriptor__WEBPACK_IMPORTED_MODULE_1___default()(_class42.prototype, "arguments", [_dec31], {
|
|
76414
76417
|
configurable: true,
|
|
76415
76418
|
enumerable: true,
|
|
76416
76419
|
writable: true,
|
|
76417
76420
|
initializer: null
|
|
76418
|
-
})),
|
|
76419
|
-
let FormulaChooseIfExpression = (
|
|
76421
|
+
})), _class42)) || _class41);
|
|
76422
|
+
let FormulaChooseIfExpression = (_dec32 = (0,_markupGenerator_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_5__.sugarNode)("if", `TODO`), _dec33 = (0,_markupGenerator_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_5__.singleChild)(), _dec32(_class44 = (_class45 = class FormulaChooseIfExpression extends FormulaExpression {
|
|
76420
76423
|
constructor(...args) {
|
|
76421
76424
|
super(...args);
|
|
76422
|
-
_babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0___default()(this, "condition",
|
|
76425
|
+
_babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0___default()(this, "condition", _descriptor17, this);
|
|
76423
76426
|
}
|
|
76424
76427
|
getLegacyExpressionTypeForFunctionName() {
|
|
76425
76428
|
return "if";
|
|
76426
76429
|
}
|
|
76427
|
-
}, (
|
|
76430
|
+
}, (_descriptor17 = _babel_runtime_helpers_applyDecoratedDescriptor__WEBPACK_IMPORTED_MODULE_1___default()(_class45.prototype, "condition", [_dec33], {
|
|
76428
76431
|
configurable: true,
|
|
76429
76432
|
enumerable: true,
|
|
76430
76433
|
writable: true,
|
|
76431
76434
|
initializer: null
|
|
76432
|
-
})),
|
|
76433
|
-
let FormulaChooseThenExpression = (
|
|
76435
|
+
})), _class45)) || _class44);
|
|
76436
|
+
let FormulaChooseThenExpression = (_dec34 = (0,_markupGenerator_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_5__.sugarNode)("then", `TODO`), _dec35 = (0,_markupGenerator_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_5__.singleChild)(), _dec34(_class47 = (_class48 = class FormulaChooseThenExpression extends FormulaExpression {
|
|
76434
76437
|
constructor(...args) {
|
|
76435
76438
|
super(...args);
|
|
76436
|
-
_babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0___default()(this, "expression",
|
|
76439
|
+
_babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0___default()(this, "expression", _descriptor18, this);
|
|
76437
76440
|
}
|
|
76438
76441
|
getLegacyExpressionTypeForFunctionName() {
|
|
76439
76442
|
return "then";
|
|
76440
76443
|
}
|
|
76441
|
-
}, (
|
|
76444
|
+
}, (_descriptor18 = _babel_runtime_helpers_applyDecoratedDescriptor__WEBPACK_IMPORTED_MODULE_1___default()(_class48.prototype, "expression", [_dec35], {
|
|
76442
76445
|
configurable: true,
|
|
76443
76446
|
enumerable: true,
|
|
76444
76447
|
writable: true,
|
|
76445
76448
|
initializer: null
|
|
76446
|
-
})),
|
|
76447
|
-
let FormulaChooseElseExpression = (
|
|
76449
|
+
})), _class48)) || _class47);
|
|
76450
|
+
let FormulaChooseElseExpression = (_dec36 = (0,_markupGenerator_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_5__.sugarNode)("else", `TODO`), _dec37 = (0,_markupGenerator_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_5__.singleChild)(), _dec36(_class50 = (_class51 = class FormulaChooseElseExpression extends FormulaExpression {
|
|
76448
76451
|
constructor(...args) {
|
|
76449
76452
|
super(...args);
|
|
76450
|
-
_babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0___default()(this, "expression",
|
|
76453
|
+
_babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0___default()(this, "expression", _descriptor19, this);
|
|
76451
76454
|
}
|
|
76452
76455
|
getLegacyExpressionTypeForFunctionName() {
|
|
76453
76456
|
return "else";
|
|
76454
76457
|
}
|
|
76455
|
-
}, (
|
|
76458
|
+
}, (_descriptor19 = _babel_runtime_helpers_applyDecoratedDescriptor__WEBPACK_IMPORTED_MODULE_1___default()(_class51.prototype, "expression", [_dec37], {
|
|
76456
76459
|
configurable: true,
|
|
76457
76460
|
enumerable: true,
|
|
76458
76461
|
writable: true,
|
|
76459
76462
|
initializer: null
|
|
76460
|
-
})),
|
|
76461
|
-
let FormulaChooseExpression = (
|
|
76463
|
+
})), _class51)) || _class50);
|
|
76464
|
+
let FormulaChooseExpression = (_dec38 = (0,_markupGenerator_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_5__.sugarNode)("choose", `TODO`), _dec39 = (0,_markupGenerator_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_5__.singleChild)("if", [FormulaChooseIfExpression]), _dec40 = (0,_markupGenerator_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_5__.singleChild)("then", [FormulaChooseThenExpression]), _dec41 = (0,_markupGenerator_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_5__.singleChild)("else", [FormulaChooseElseExpression]), _dec38(_class53 = (_class54 = class FormulaChooseExpression extends FormulaExpression {
|
|
76462
76465
|
constructor(...args) {
|
|
76463
76466
|
super(...args);
|
|
76464
|
-
_babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0___default()(this, "ifNode",
|
|
76465
|
-
_babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0___default()(this, "thenNode",
|
|
76466
|
-
_babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0___default()(this, "elseNode",
|
|
76467
|
+
_babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0___default()(this, "ifNode", _descriptor20, this);
|
|
76468
|
+
_babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0___default()(this, "thenNode", _descriptor21, this);
|
|
76469
|
+
_babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0___default()(this, "elseNode", _descriptor22, this);
|
|
76467
76470
|
}
|
|
76468
76471
|
getLegacyExpressionTypeForFunctionName() {
|
|
76469
76472
|
return "choose";
|
|
76470
76473
|
}
|
|
76471
|
-
}, (
|
|
76474
|
+
}, (_descriptor20 = _babel_runtime_helpers_applyDecoratedDescriptor__WEBPACK_IMPORTED_MODULE_1___default()(_class54.prototype, "ifNode", [_dec39], {
|
|
76472
76475
|
configurable: true,
|
|
76473
76476
|
enumerable: true,
|
|
76474
76477
|
writable: true,
|
|
76475
76478
|
initializer: null
|
|
76476
|
-
}),
|
|
76479
|
+
}), _descriptor21 = _babel_runtime_helpers_applyDecoratedDescriptor__WEBPACK_IMPORTED_MODULE_1___default()(_class54.prototype, "thenNode", [_dec40], {
|
|
76477
76480
|
configurable: true,
|
|
76478
76481
|
enumerable: true,
|
|
76479
76482
|
writable: true,
|
|
76480
76483
|
initializer: null
|
|
76481
|
-
}),
|
|
76484
|
+
}), _descriptor22 = _babel_runtime_helpers_applyDecoratedDescriptor__WEBPACK_IMPORTED_MODULE_1___default()(_class54.prototype, "elseNode", [_dec41], {
|
|
76482
76485
|
configurable: true,
|
|
76483
76486
|
enumerable: true,
|
|
76484
76487
|
writable: true,
|
|
76485
76488
|
initializer: null
|
|
76486
|
-
})),
|
|
76487
|
-
let FormulaDivisionExpression = (
|
|
76489
|
+
})), _class54)) || _class53);
|
|
76490
|
+
let FormulaDivisionExpression = (_dec42 = (0,_markupGenerator_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_5__.sugarNode)("division", `TODO`), _dec43 = (0,_markupGenerator_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_5__.children)(), _dec42(_class56 = (_class57 = class FormulaDivisionExpression extends FormulaExpression {
|
|
76488
76491
|
constructor(...args) {
|
|
76489
76492
|
super(...args);
|
|
76490
|
-
_babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0___default()(this, "arguments",
|
|
76493
|
+
_babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0___default()(this, "arguments", _descriptor23, this);
|
|
76491
76494
|
}
|
|
76492
|
-
}, (
|
|
76495
|
+
}, (_descriptor23 = _babel_runtime_helpers_applyDecoratedDescriptor__WEBPACK_IMPORTED_MODULE_1___default()(_class57.prototype, "arguments", [_dec43], {
|
|
76493
76496
|
configurable: true,
|
|
76494
76497
|
enumerable: true,
|
|
76495
76498
|
writable: true,
|
|
76496
76499
|
initializer: null
|
|
76497
|
-
})),
|
|
76498
|
-
let FormulaMultiplyExpression = (
|
|
76500
|
+
})), _class57)) || _class56);
|
|
76501
|
+
let FormulaMultiplyExpression = (_dec44 = (0,_markupGenerator_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_5__.sugarNode)("multiply", `TODO`), _dec45 = (0,_markupGenerator_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_5__.children)(), _dec44(_class59 = (_class60 = class FormulaMultiplyExpression extends FormulaExpression {
|
|
76499
76502
|
constructor(...args) {
|
|
76500
76503
|
super(...args);
|
|
76501
|
-
_babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0___default()(this, "arguments",
|
|
76504
|
+
_babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0___default()(this, "arguments", _descriptor24, this);
|
|
76502
76505
|
}
|
|
76503
|
-
}, (
|
|
76506
|
+
}, (_descriptor24 = _babel_runtime_helpers_applyDecoratedDescriptor__WEBPACK_IMPORTED_MODULE_1___default()(_class60.prototype, "arguments", [_dec45], {
|
|
76504
76507
|
configurable: true,
|
|
76505
76508
|
enumerable: true,
|
|
76506
76509
|
writable: true,
|
|
76507
76510
|
initializer: null
|
|
76508
|
-
})),
|
|
76509
|
-
let FormulaRoundExpression = (
|
|
76511
|
+
})), _class60)) || _class59);
|
|
76512
|
+
let FormulaRoundExpression = (_dec46 = (0,_markupGenerator_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_5__.sugarNode)("round", `TODO`), _dec47 = (0,_markupGenerator_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_5__.singleChild)(), _dec48 = (0,_markupGenerator_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_5__.attr)("fractionalDigits", _markupGenerator_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_5__.attrType.number, `TODO`), _dec46(_class62 = (_class63 = class FormulaRoundExpression extends FormulaExpression {
|
|
76510
76513
|
constructor(...args) {
|
|
76511
76514
|
super(...args);
|
|
76512
|
-
_babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0___default()(this, "expression",
|
|
76513
|
-
_babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0___default()(this, "fractionalDigits",
|
|
76515
|
+
_babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0___default()(this, "expression", _descriptor25, this);
|
|
76516
|
+
_babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0___default()(this, "fractionalDigits", _descriptor26, this);
|
|
76514
76517
|
}
|
|
76515
|
-
}, (
|
|
76518
|
+
}, (_descriptor25 = _babel_runtime_helpers_applyDecoratedDescriptor__WEBPACK_IMPORTED_MODULE_1___default()(_class63.prototype, "expression", [_dec47], {
|
|
76516
76519
|
configurable: true,
|
|
76517
76520
|
enumerable: true,
|
|
76518
76521
|
writable: true,
|
|
76519
76522
|
initializer: null
|
|
76520
|
-
}),
|
|
76523
|
+
}), _descriptor26 = _babel_runtime_helpers_applyDecoratedDescriptor__WEBPACK_IMPORTED_MODULE_1___default()(_class63.prototype, "fractionalDigits", [_dec48], {
|
|
76521
76524
|
configurable: true,
|
|
76522
76525
|
enumerable: true,
|
|
76523
76526
|
writable: true,
|
|
76524
76527
|
initializer: null
|
|
76525
|
-
})),
|
|
76526
|
-
let FormulaFloorExpression = (
|
|
76528
|
+
})), _class63)) || _class62);
|
|
76529
|
+
let FormulaFloorExpression = (_dec49 = (0,_markupGenerator_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_5__.sugarNode)("floor", `Округление числа в меньшую сторону`), _dec50 = (0,_markupGenerator_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_5__.singleChild)(), _dec49(_class65 = (_class66 = class FormulaFloorExpression extends FormulaExpression {
|
|
76527
76530
|
constructor(...args) {
|
|
76528
76531
|
super(...args);
|
|
76529
|
-
_babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0___default()(this, "expression",
|
|
76532
|
+
_babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0___default()(this, "expression", _descriptor27, this);
|
|
76530
76533
|
}
|
|
76531
|
-
}, (
|
|
76534
|
+
}, (_descriptor27 = _babel_runtime_helpers_applyDecoratedDescriptor__WEBPACK_IMPORTED_MODULE_1___default()(_class66.prototype, "expression", [_dec50], {
|
|
76532
76535
|
configurable: true,
|
|
76533
76536
|
enumerable: true,
|
|
76534
76537
|
writable: true,
|
|
76535
76538
|
initializer: null
|
|
76536
|
-
})),
|
|
76537
|
-
let FormulaAbsExpression = (
|
|
76539
|
+
})), _class66)) || _class65);
|
|
76540
|
+
let FormulaAbsExpression = (_dec51 = (0,_markupGenerator_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_5__.sugarNode)("abs", `TODO`), _dec52 = (0,_markupGenerator_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_5__.singleChild)(), _dec51(_class68 = (_class69 = class FormulaAbsExpression extends FormulaExpression {
|
|
76538
76541
|
constructor(...args) {
|
|
76539
76542
|
super(...args);
|
|
76540
|
-
_babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0___default()(this, "expression",
|
|
76543
|
+
_babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0___default()(this, "expression", _descriptor28, this);
|
|
76541
76544
|
}
|
|
76542
|
-
}, (
|
|
76545
|
+
}, (_descriptor28 = _babel_runtime_helpers_applyDecoratedDescriptor__WEBPACK_IMPORTED_MODULE_1___default()(_class69.prototype, "expression", [_dec52], {
|
|
76543
76546
|
configurable: true,
|
|
76544
76547
|
enumerable: true,
|
|
76545
76548
|
writable: true,
|
|
76546
76549
|
initializer: null
|
|
76547
|
-
})),
|
|
76548
|
-
let FormulaXAbsExpression = (
|
|
76550
|
+
})), _class69)) || _class68);
|
|
76551
|
+
let FormulaXAbsExpression = (_dec53 = (0,_markupGenerator_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_5__.sugarNode)("xabs", `TODO`), _dec54 = (0,_markupGenerator_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_5__.singleChild)(), _dec53(_class71 = (_class72 = class FormulaXAbsExpression extends FormulaExpression {
|
|
76549
76552
|
constructor(...args) {
|
|
76550
76553
|
super(...args);
|
|
76551
|
-
_babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0___default()(this, "expression",
|
|
76554
|
+
_babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0___default()(this, "expression", _descriptor29, this);
|
|
76552
76555
|
}
|
|
76553
|
-
}, (
|
|
76556
|
+
}, (_descriptor29 = _babel_runtime_helpers_applyDecoratedDescriptor__WEBPACK_IMPORTED_MODULE_1___default()(_class72.prototype, "expression", [_dec54], {
|
|
76554
76557
|
configurable: true,
|
|
76555
76558
|
enumerable: true,
|
|
76556
76559
|
writable: true,
|
|
76557
76560
|
initializer: null
|
|
76558
|
-
})),
|
|
76559
|
-
let FormulaMinusExpression = (
|
|
76561
|
+
})), _class72)) || _class71);
|
|
76562
|
+
let FormulaMinusExpression = (_dec55 = (0,_markupGenerator_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_5__.sugarNode)("minus", `TODO`), _dec56 = (0,_markupGenerator_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_5__.singleChild)(), _dec55(_class74 = (_class75 = class FormulaMinusExpression extends FormulaExpression {
|
|
76560
76563
|
constructor(...args) {
|
|
76561
76564
|
super(...args);
|
|
76562
|
-
_babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0___default()(this, "expression",
|
|
76565
|
+
_babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0___default()(this, "expression", _descriptor30, this);
|
|
76563
76566
|
}
|
|
76564
|
-
}, (
|
|
76567
|
+
}, (_descriptor30 = _babel_runtime_helpers_applyDecoratedDescriptor__WEBPACK_IMPORTED_MODULE_1___default()(_class75.prototype, "expression", [_dec56], {
|
|
76565
76568
|
configurable: true,
|
|
76566
76569
|
enumerable: true,
|
|
76567
76570
|
writable: true,
|
|
76568
76571
|
initializer: null
|
|
76569
|
-
})),
|
|
76570
|
-
let FormulaConstExpression = (
|
|
76572
|
+
})), _class75)) || _class74);
|
|
76573
|
+
let FormulaConstExpression = (_dec57 = (0,_markupGenerator_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_5__.sugarNode)("const", `TODO`), _dec58 = (0,_markupGenerator_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_5__.attr)("value", _markupGenerator_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_5__.attrType.string.required, ``), _dec59 = (0,_markupGenerator_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_5__.attr)("type", typeArgumentValueParser, `Тип константы: string или decimal (по умолчанию)`), _dec57(_class77 = (_class78 = class FormulaConstExpression extends FormulaExpression {
|
|
76571
76574
|
constructor(...args) {
|
|
76572
76575
|
super(...args);
|
|
76573
|
-
_babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0___default()(this, "value",
|
|
76574
|
-
_babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0___default()(this, "type",
|
|
76576
|
+
_babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0___default()(this, "value", _descriptor31, this);
|
|
76577
|
+
_babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0___default()(this, "type", _descriptor32, this);
|
|
76575
76578
|
}
|
|
76576
|
-
}, (
|
|
76579
|
+
}, (_descriptor31 = _babel_runtime_helpers_applyDecoratedDescriptor__WEBPACK_IMPORTED_MODULE_1___default()(_class78.prototype, "value", [_dec58], {
|
|
76577
76580
|
configurable: true,
|
|
76578
76581
|
enumerable: true,
|
|
76579
76582
|
writable: true,
|
|
76580
76583
|
initializer: null
|
|
76581
|
-
}),
|
|
76584
|
+
}), _descriptor32 = _babel_runtime_helpers_applyDecoratedDescriptor__WEBPACK_IMPORTED_MODULE_1___default()(_class78.prototype, "type", [_dec59], {
|
|
76582
76585
|
configurable: true,
|
|
76583
76586
|
enumerable: true,
|
|
76584
76587
|
writable: true,
|
|
76585
76588
|
initializer: function () {
|
|
76586
76589
|
return "decimal";
|
|
76587
76590
|
}
|
|
76588
|
-
})),
|
|
76589
|
-
let FormulaSubstringExpression = (
|
|
76591
|
+
})), _class78)) || _class77);
|
|
76592
|
+
let FormulaSubstringExpression = (_dec60 = (0,_markupGenerator_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_5__.sugarNode)("substring", `TODO`), _dec61 = (0,_markupGenerator_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_5__.singleChild)(), _dec62 = (0,_markupGenerator_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_5__.attr)("start", _markupGenerator_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_5__.attrType.number.required, `TODO`), _dec63 = (0,_markupGenerator_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_5__.attr)("length", _markupGenerator_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_5__.attrType.number, `TODO`), _dec60(_class80 = (_class81 = class FormulaSubstringExpression extends FormulaExpression {
|
|
76590
76593
|
constructor(...args) {
|
|
76591
76594
|
super(...args);
|
|
76592
|
-
_babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0___default()(this, "expression",
|
|
76593
|
-
_babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0___default()(this, "start",
|
|
76594
|
-
_babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0___default()(this, "length",
|
|
76595
|
+
_babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0___default()(this, "expression", _descriptor33, this);
|
|
76596
|
+
_babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0___default()(this, "start", _descriptor34, this);
|
|
76597
|
+
_babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0___default()(this, "length", _descriptor35, this);
|
|
76595
76598
|
}
|
|
76596
76599
|
getLegacyExpressionTypeForFunctionName() {
|
|
76597
76600
|
return "substring";
|
|
76598
76601
|
}
|
|
76599
|
-
}, (
|
|
76602
|
+
}, (_descriptor33 = _babel_runtime_helpers_applyDecoratedDescriptor__WEBPACK_IMPORTED_MODULE_1___default()(_class81.prototype, "expression", [_dec61], {
|
|
76600
76603
|
configurable: true,
|
|
76601
76604
|
enumerable: true,
|
|
76602
76605
|
writable: true,
|
|
76603
76606
|
initializer: null
|
|
76604
|
-
}),
|
|
76607
|
+
}), _descriptor34 = _babel_runtime_helpers_applyDecoratedDescriptor__WEBPACK_IMPORTED_MODULE_1___default()(_class81.prototype, "start", [_dec62], {
|
|
76605
76608
|
configurable: true,
|
|
76606
76609
|
enumerable: true,
|
|
76607
76610
|
writable: true,
|
|
76608
76611
|
initializer: null
|
|
76609
|
-
}),
|
|
76612
|
+
}), _descriptor35 = _babel_runtime_helpers_applyDecoratedDescriptor__WEBPACK_IMPORTED_MODULE_1___default()(_class81.prototype, "length", [_dec63], {
|
|
76610
76613
|
configurable: true,
|
|
76611
76614
|
enumerable: true,
|
|
76612
76615
|
writable: true,
|
|
76613
76616
|
initializer: null
|
|
76614
|
-
})),
|
|
76615
|
-
let FormulaCastExpression = (
|
|
76617
|
+
})), _class81)) || _class80);
|
|
76618
|
+
let FormulaCastExpression = (_dec64 = (0,_markupGenerator_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_5__.sugarNode)("cast", `TODO`), _dec65 = (0,_markupGenerator_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_5__.singleChild)(), _dec66 = (0,_markupGenerator_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_5__.attr)("type", typeArgumentValueParser.required, `TODO`), _dec64(_class83 = (_class84 = class FormulaCastExpression extends FormulaExpression {
|
|
76616
76619
|
constructor(...args) {
|
|
76617
76620
|
super(...args);
|
|
76618
|
-
_babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0___default()(this, "expression",
|
|
76619
|
-
_babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0___default()(this, "type",
|
|
76621
|
+
_babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0___default()(this, "expression", _descriptor36, this);
|
|
76622
|
+
_babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0___default()(this, "type", _descriptor37, this);
|
|
76620
76623
|
}
|
|
76621
76624
|
getLegacyExpressionTypeForFunctionName() {
|
|
76622
76625
|
return "cast";
|
|
76623
76626
|
}
|
|
76624
|
-
}, (
|
|
76627
|
+
}, (_descriptor36 = _babel_runtime_helpers_applyDecoratedDescriptor__WEBPACK_IMPORTED_MODULE_1___default()(_class84.prototype, "expression", [_dec65], {
|
|
76625
76628
|
configurable: true,
|
|
76626
76629
|
enumerable: true,
|
|
76627
76630
|
writable: true,
|
|
76628
76631
|
initializer: null
|
|
76629
|
-
}),
|
|
76632
|
+
}), _descriptor37 = _babel_runtime_helpers_applyDecoratedDescriptor__WEBPACK_IMPORTED_MODULE_1___default()(_class84.prototype, "type", [_dec66], {
|
|
76630
76633
|
configurable: true,
|
|
76631
76634
|
enumerable: true,
|
|
76632
76635
|
writable: true,
|
|
76633
76636
|
initializer: null
|
|
76634
|
-
})),
|
|
76635
|
-
let FormulaDateNowExpression = (
|
|
76636
|
-
let FormulaGetDaysInMonthExpression = (
|
|
76637
|
+
})), _class84)) || _class83);
|
|
76638
|
+
let FormulaDateNowExpression = (_dec67 = (0,_markupGenerator_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_5__.sugarNode)("datenow", `Дата в формате: {dd/mm/yyyy}`), _dec67(_class86 = class FormulaDateNowExpression extends FormulaExpression {}) || _class86);
|
|
76639
|
+
let FormulaGetDaysInMonthExpression = (_dec68 = (0,_markupGenerator_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_5__.sugarNode)("getdaysinmonth", `Количество дней в месяце указанной даты`), _dec69 = (0,_markupGenerator_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_5__.singleChild)(), _dec68(_class87 = (_class88 = class FormulaGetDaysInMonthExpression extends FormulaExpression {
|
|
76637
76640
|
constructor(...args) {
|
|
76638
76641
|
super(...args);
|
|
76639
|
-
_babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0___default()(this, "expression",
|
|
76642
|
+
_babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0___default()(this, "expression", _descriptor38, this);
|
|
76640
76643
|
}
|
|
76641
|
-
}, (
|
|
76644
|
+
}, (_descriptor38 = _babel_runtime_helpers_applyDecoratedDescriptor__WEBPACK_IMPORTED_MODULE_1___default()(_class88.prototype, "expression", [_dec69], {
|
|
76642
76645
|
configurable: true,
|
|
76643
76646
|
enumerable: true,
|
|
76644
76647
|
writable: true,
|
|
76645
76648
|
initializer: null
|
|
76646
|
-
})),
|
|
76647
|
-
let FormulaGetDayExpression = (
|
|
76649
|
+
})), _class88)) || _class87);
|
|
76650
|
+
let FormulaGetDayExpression = (_dec70 = (0,_markupGenerator_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_5__.sugarNode)("getday", `День из указанной даты`), _dec71 = (0,_markupGenerator_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_5__.singleChild)(), _dec70(_class90 = (_class91 = class FormulaGetDayExpression extends FormulaExpression {
|
|
76648
76651
|
constructor(...args) {
|
|
76649
76652
|
super(...args);
|
|
76650
|
-
_babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0___default()(this, "expression",
|
|
76653
|
+
_babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0___default()(this, "expression", _descriptor39, this);
|
|
76651
76654
|
}
|
|
76652
|
-
}, (
|
|
76655
|
+
}, (_descriptor39 = _babel_runtime_helpers_applyDecoratedDescriptor__WEBPACK_IMPORTED_MODULE_1___default()(_class91.prototype, "expression", [_dec71], {
|
|
76653
76656
|
configurable: true,
|
|
76654
76657
|
enumerable: true,
|
|
76655
76658
|
writable: true,
|
|
76656
76659
|
initializer: null
|
|
76657
|
-
})),
|
|
76658
|
-
let FormulaGetMonthExpression = (
|
|
76660
|
+
})), _class91)) || _class90);
|
|
76661
|
+
let FormulaGetMonthExpression = (_dec72 = (0,_markupGenerator_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_5__.sugarNode)("getmonth", `Месяц из указанной даты`), _dec73 = (0,_markupGenerator_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_5__.singleChild)(), _dec72(_class93 = (_class94 = class FormulaGetMonthExpression extends FormulaExpression {
|
|
76659
76662
|
constructor(...args) {
|
|
76660
76663
|
super(...args);
|
|
76661
|
-
_babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0___default()(this, "expression",
|
|
76664
|
+
_babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0___default()(this, "expression", _descriptor40, this);
|
|
76662
76665
|
}
|
|
76663
|
-
}, (
|
|
76666
|
+
}, (_descriptor40 = _babel_runtime_helpers_applyDecoratedDescriptor__WEBPACK_IMPORTED_MODULE_1___default()(_class94.prototype, "expression", [_dec73], {
|
|
76664
76667
|
configurable: true,
|
|
76665
76668
|
enumerable: true,
|
|
76666
76669
|
writable: true,
|
|
76667
76670
|
initializer: null
|
|
76668
|
-
})),
|
|
76669
|
-
let FormulaGetYearExpression = (
|
|
76671
|
+
})), _class94)) || _class93);
|
|
76672
|
+
let FormulaGetYearExpression = (_dec74 = (0,_markupGenerator_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_5__.sugarNode)("getyear", `Год из указанной даты`), _dec75 = (0,_markupGenerator_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_5__.singleChild)(), _dec74(_class96 = (_class97 = class FormulaGetYearExpression extends FormulaExpression {
|
|
76670
76673
|
constructor(...args) {
|
|
76671
76674
|
super(...args);
|
|
76672
|
-
_babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0___default()(this, "expression",
|
|
76675
|
+
_babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0___default()(this, "expression", _descriptor41, this);
|
|
76673
76676
|
}
|
|
76674
|
-
}, (
|
|
76677
|
+
}, (_descriptor41 = _babel_runtime_helpers_applyDecoratedDescriptor__WEBPACK_IMPORTED_MODULE_1___default()(_class97.prototype, "expression", [_dec75], {
|
|
76675
76678
|
configurable: true,
|
|
76676
76679
|
enumerable: true,
|
|
76677
76680
|
writable: true,
|
|
76678
76681
|
initializer: null
|
|
76679
|
-
})),
|
|
76680
|
-
let FormulaIsDateExpression = (
|
|
76682
|
+
})), _class97)) || _class96);
|
|
76683
|
+
let FormulaIsDateExpression = (_dec76 = (0,_markupGenerator_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_5__.sugarNode)("isdate", `Проверка, является ли дата валидной`), _dec77 = (0,_markupGenerator_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_5__.singleChild)(), _dec76(_class99 = (_class100 = class FormulaIsDateExpression extends FormulaExpression {
|
|
76681
76684
|
constructor(...args) {
|
|
76682
76685
|
super(...args);
|
|
76683
|
-
_babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0___default()(this, "expression",
|
|
76686
|
+
_babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0___default()(this, "expression", _descriptor42, this);
|
|
76684
76687
|
}
|
|
76685
|
-
}, (
|
|
76688
|
+
}, (_descriptor42 = _babel_runtime_helpers_applyDecoratedDescriptor__WEBPACK_IMPORTED_MODULE_1___default()(_class100.prototype, "expression", [_dec77], {
|
|
76686
76689
|
configurable: true,
|
|
76687
76690
|
enumerable: true,
|
|
76688
76691
|
writable: true,
|
|
76689
76692
|
initializer: null
|
|
76690
|
-
})),
|
|
76691
|
-
let FormulaDifferenceInMonthsExpression = (
|
|
76693
|
+
})), _class100)) || _class99);
|
|
76694
|
+
let FormulaDifferenceInMonthsExpression = (_dec78 = (0,_markupGenerator_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_5__.sugarNode)("differenceinmonths", `Количество полных месяцев между двумя датами`), _dec79 = (0,_markupGenerator_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_5__.children)(), _dec78(_class102 = (_class103 = class FormulaDifferenceInMonthsExpression extends FormulaExpression {
|
|
76692
76695
|
constructor(...args) {
|
|
76693
76696
|
super(...args);
|
|
76694
|
-
_babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0___default()(this, "arguments",
|
|
76697
|
+
_babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0___default()(this, "arguments", _descriptor43, this);
|
|
76695
76698
|
}
|
|
76696
|
-
}, (
|
|
76699
|
+
}, (_descriptor43 = _babel_runtime_helpers_applyDecoratedDescriptor__WEBPACK_IMPORTED_MODULE_1___default()(_class103.prototype, "arguments", [_dec79], {
|
|
76697
76700
|
configurable: true,
|
|
76698
76701
|
enumerable: true,
|
|
76699
76702
|
writable: true,
|
|
76700
76703
|
initializer: null
|
|
76701
|
-
})),
|
|
76702
|
-
let FormulaDifferenceInDaysExpression = (
|
|
76704
|
+
})), _class103)) || _class102);
|
|
76705
|
+
let FormulaDifferenceInDaysExpression = (_dec80 = (0,_markupGenerator_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_5__.sugarNode)("differenceindays", `Разница в днях между двумя датами`), _dec81 = (0,_markupGenerator_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_5__.children)(), _dec80(_class105 = (_class106 = class FormulaDifferenceInDaysExpression extends FormulaExpression {
|
|
76703
76706
|
constructor(...args) {
|
|
76704
76707
|
super(...args);
|
|
76705
|
-
_babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0___default()(this, "arguments",
|
|
76708
|
+
_babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0___default()(this, "arguments", _descriptor44, this);
|
|
76706
76709
|
}
|
|
76707
|
-
}, (
|
|
76710
|
+
}, (_descriptor44 = _babel_runtime_helpers_applyDecoratedDescriptor__WEBPACK_IMPORTED_MODULE_1___default()(_class106.prototype, "arguments", [_dec81], {
|
|
76708
76711
|
configurable: true,
|
|
76709
76712
|
enumerable: true,
|
|
76710
76713
|
writable: true,
|
|
76711
76714
|
initializer: null
|
|
76712
|
-
})),
|
|
76713
|
-
let FormulaAddDaysExpression = (
|
|
76715
|
+
})), _class106)) || _class105);
|
|
76716
|
+
let FormulaAddDaysExpression = (_dec82 = (0,_markupGenerator_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_5__.sugarNode)("adddays", `Добавить дни к дате`), _dec83 = (0,_markupGenerator_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_5__.singleChild)(), _dec84 = (0,_markupGenerator_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_5__.attr)("amount", _markupGenerator_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_5__.attrType.number.required, `Количество дней (можно указать отрицательное)`), _dec82(_class108 = (_class109 = class FormulaAddDaysExpression extends FormulaExpression {
|
|
76714
76717
|
constructor(...args) {
|
|
76715
76718
|
super(...args);
|
|
76716
|
-
_babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0___default()(this, "expression",
|
|
76717
|
-
_babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0___default()(this, "amount",
|
|
76719
|
+
_babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0___default()(this, "expression", _descriptor45, this);
|
|
76720
|
+
_babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0___default()(this, "amount", _descriptor46, this);
|
|
76718
76721
|
}
|
|
76719
|
-
}, (
|
|
76722
|
+
}, (_descriptor45 = _babel_runtime_helpers_applyDecoratedDescriptor__WEBPACK_IMPORTED_MODULE_1___default()(_class109.prototype, "expression", [_dec83], {
|
|
76720
76723
|
configurable: true,
|
|
76721
76724
|
enumerable: true,
|
|
76722
76725
|
writable: true,
|
|
76723
76726
|
initializer: null
|
|
76724
|
-
}),
|
|
76727
|
+
}), _descriptor46 = _babel_runtime_helpers_applyDecoratedDescriptor__WEBPACK_IMPORTED_MODULE_1___default()(_class109.prototype, "amount", [_dec84], {
|
|
76725
76728
|
configurable: true,
|
|
76726
76729
|
enumerable: true,
|
|
76727
76730
|
writable: true,
|
|
76728
76731
|
initializer: null
|
|
76729
|
-
})),
|
|
76730
|
-
let FormulaAddMonthsExpression = (
|
|
76732
|
+
})), _class109)) || _class108);
|
|
76733
|
+
let FormulaAddMonthsExpression = (_dec85 = (0,_markupGenerator_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_5__.sugarNode)("addmonths", `Добавить месяцы к дате`), _dec86 = (0,_markupGenerator_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_5__.singleChild)(), _dec87 = (0,_markupGenerator_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_5__.attr)("amount", _markupGenerator_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_5__.attrType.number.required, `Количество месяцев (можно указать отрицательное)`), _dec85(_class111 = (_class112 = class FormulaAddMonthsExpression extends FormulaExpression {
|
|
76731
76734
|
constructor(...args) {
|
|
76732
76735
|
super(...args);
|
|
76733
|
-
_babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0___default()(this, "expression",
|
|
76734
|
-
_babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0___default()(this, "amount",
|
|
76736
|
+
_babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0___default()(this, "expression", _descriptor47, this);
|
|
76737
|
+
_babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0___default()(this, "amount", _descriptor48, this);
|
|
76735
76738
|
}
|
|
76736
|
-
}, (
|
|
76739
|
+
}, (_descriptor47 = _babel_runtime_helpers_applyDecoratedDescriptor__WEBPACK_IMPORTED_MODULE_1___default()(_class112.prototype, "expression", [_dec86], {
|
|
76737
76740
|
configurable: true,
|
|
76738
76741
|
enumerable: true,
|
|
76739
76742
|
writable: true,
|
|
76740
76743
|
initializer: null
|
|
76741
|
-
}),
|
|
76744
|
+
}), _descriptor48 = _babel_runtime_helpers_applyDecoratedDescriptor__WEBPACK_IMPORTED_MODULE_1___default()(_class112.prototype, "amount", [_dec87], {
|
|
76742
76745
|
configurable: true,
|
|
76743
76746
|
enumerable: true,
|
|
76744
76747
|
writable: true,
|
|
76745
76748
|
initializer: null
|
|
76746
|
-
})),
|
|
76747
|
-
let FormulaAddYearsExpression = (
|
|
76749
|
+
})), _class112)) || _class111);
|
|
76750
|
+
let FormulaAddYearsExpression = (_dec88 = (0,_markupGenerator_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_5__.sugarNode)("addyears", `Добавить годы к дате`), _dec89 = (0,_markupGenerator_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_5__.singleChild)(), _dec90 = (0,_markupGenerator_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_5__.attr)("amount", _markupGenerator_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_5__.attrType.number.required, `Количество лет (можно указать отрицательное)`), _dec88(_class114 = (_class115 = class FormulaAddYearsExpression extends FormulaExpression {
|
|
76748
76751
|
constructor(...args) {
|
|
76749
76752
|
super(...args);
|
|
76750
|
-
_babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0___default()(this, "expression",
|
|
76751
|
-
_babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0___default()(this, "amount",
|
|
76753
|
+
_babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0___default()(this, "expression", _descriptor49, this);
|
|
76754
|
+
_babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0___default()(this, "amount", _descriptor50, this);
|
|
76752
76755
|
}
|
|
76753
|
-
}, (
|
|
76756
|
+
}, (_descriptor49 = _babel_runtime_helpers_applyDecoratedDescriptor__WEBPACK_IMPORTED_MODULE_1___default()(_class115.prototype, "expression", [_dec89], {
|
|
76754
76757
|
configurable: true,
|
|
76755
76758
|
enumerable: true,
|
|
76756
76759
|
writable: true,
|
|
76757
76760
|
initializer: null
|
|
76758
|
-
}),
|
|
76761
|
+
}), _descriptor50 = _babel_runtime_helpers_applyDecoratedDescriptor__WEBPACK_IMPORTED_MODULE_1___default()(_class115.prototype, "amount", [_dec90], {
|
|
76759
76762
|
configurable: true,
|
|
76760
76763
|
enumerable: true,
|
|
76761
76764
|
writable: true,
|
|
76762
76765
|
initializer: null
|
|
76763
|
-
})),
|
|
76764
|
-
let FormulaDateToStringExpression = (
|
|
76766
|
+
})), _class115)) || _class114);
|
|
76767
|
+
let FormulaDateToStringExpression = (_dec91 = (0,_markupGenerator_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_5__.sugarNode)("datetostring", `Преобразование даты в строку. Используется как обертка над методами, которые возвращают объект даты (addDays, dateNow и т.д.)`), _dec92 = (0,_markupGenerator_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_5__.singleChild)(), _dec93 = (0,_markupGenerator_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_5__.attr)("format", _markupGenerator_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_5__.attrType.string, `
|
|
76765
76768
|
Формат даты.
|
|
76766
76769
|
- По дефолту (ничего не указано): dd.MM.yyyy
|
|
76767
76770
|
- Можно указать "fss" (будет yyyy-MM-dd)
|
|
76768
76771
|
- Можно указывать любые форматы с "yyyy", "MM", "dd", например US формат: MM/dd/yyyy
|
|
76769
|
-
`),
|
|
76772
|
+
`), _dec91(_class117 = (_class118 = class FormulaDateToStringExpression extends FormulaExpression {
|
|
76770
76773
|
constructor(...args) {
|
|
76771
76774
|
super(...args);
|
|
76772
|
-
_babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0___default()(this, "expression",
|
|
76773
|
-
_babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0___default()(this, "format",
|
|
76775
|
+
_babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0___default()(this, "expression", _descriptor51, this);
|
|
76776
|
+
_babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0___default()(this, "format", _descriptor52, this);
|
|
76774
76777
|
}
|
|
76775
|
-
}, (
|
|
76778
|
+
}, (_descriptor51 = _babel_runtime_helpers_applyDecoratedDescriptor__WEBPACK_IMPORTED_MODULE_1___default()(_class118.prototype, "expression", [_dec92], {
|
|
76776
76779
|
configurable: true,
|
|
76777
76780
|
enumerable: true,
|
|
76778
76781
|
writable: true,
|
|
76779
76782
|
initializer: null
|
|
76780
|
-
}),
|
|
76783
|
+
}), _descriptor52 = _babel_runtime_helpers_applyDecoratedDescriptor__WEBPACK_IMPORTED_MODULE_1___default()(_class118.prototype, "format", [_dec93], {
|
|
76781
76784
|
configurable: true,
|
|
76782
76785
|
enumerable: true,
|
|
76783
76786
|
writable: true,
|
|
76784
76787
|
initializer: null
|
|
76785
|
-
})),
|
|
76786
|
-
let FormulaDateTimeExpression = (
|
|
76788
|
+
})), _class118)) || _class117);
|
|
76789
|
+
let FormulaDateTimeExpression = (_dec94 = (0,_markupGenerator_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_5__.sugarNode)("datetime", `Преобразование строки в дату`), _dec95 = (0,_markupGenerator_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_5__.singleChild)(), _dec94(_class120 = (_class121 = class FormulaDateTimeExpression extends FormulaExpression {
|
|
76787
76790
|
constructor(...args) {
|
|
76788
76791
|
super(...args);
|
|
76789
|
-
_babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0___default()(this, "expression",
|
|
76792
|
+
_babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0___default()(this, "expression", _descriptor53, this);
|
|
76790
76793
|
}
|
|
76791
|
-
}, (
|
|
76794
|
+
}, (_descriptor53 = _babel_runtime_helpers_applyDecoratedDescriptor__WEBPACK_IMPORTED_MODULE_1___default()(_class121.prototype, "expression", [_dec95], {
|
|
76792
76795
|
configurable: true,
|
|
76793
76796
|
enumerable: true,
|
|
76794
76797
|
writable: true,
|
|
76795
76798
|
initializer: null
|
|
76796
|
-
})),
|
|
76797
|
-
let FormulaIsSnilsExpression = (
|
|
76799
|
+
})), _class121)) || _class120);
|
|
76800
|
+
let FormulaIsSnilsExpression = (_dec96 = (0,_markupGenerator_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_5__.sugarNode)("issnils", `Проверка на валидность снилса`), _dec97 = (0,_markupGenerator_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_5__.attr)("select", _markupGenerator_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_5__.attrType.string.required, ``), _dec96(_class123 = (_class124 = class FormulaIsSnilsExpression extends FormulaExpression {
|
|
76798
76801
|
constructor(...args) {
|
|
76799
76802
|
super(...args);
|
|
76800
|
-
_babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0___default()(this, "select",
|
|
76803
|
+
_babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0___default()(this, "select", _descriptor54, this);
|
|
76801
76804
|
}
|
|
76802
76805
|
getLegacyExpressionTypeForFunctionName() {
|
|
76803
76806
|
return "isSnils";
|
|
76804
76807
|
}
|
|
76805
|
-
}, (
|
|
76808
|
+
}, (_descriptor54 = _babel_runtime_helpers_applyDecoratedDescriptor__WEBPACK_IMPORTED_MODULE_1___default()(_class124.prototype, "select", [_dec97], {
|
|
76806
76809
|
configurable: true,
|
|
76807
76810
|
enumerable: true,
|
|
76808
76811
|
writable: true,
|
|
76809
76812
|
initializer: null
|
|
76810
|
-
})),
|
|
76811
|
-
let FormulaIsInnExpression = (
|
|
76813
|
+
})), _class124)) || _class123);
|
|
76814
|
+
let FormulaIsInnExpression = (_dec98 = (0,_markupGenerator_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_5__.sugarNode)("isinn", `Проверка на валидность ИИН`), _dec99 = (0,_markupGenerator_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_5__.attr)("select", _markupGenerator_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_5__.attrType.string.required, ``), _dec98(_class126 = (_class127 = class FormulaIsInnExpression extends FormulaExpression {
|
|
76812
76815
|
constructor(...args) {
|
|
76813
76816
|
super(...args);
|
|
76814
|
-
_babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0___default()(this, "select",
|
|
76817
|
+
_babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0___default()(this, "select", _descriptor55, this);
|
|
76815
76818
|
}
|
|
76816
76819
|
getLegacyExpressionTypeForFunctionName() {
|
|
76817
76820
|
return "isInn";
|
|
76818
76821
|
}
|
|
76819
|
-
}, (
|
|
76822
|
+
}, (_descriptor55 = _babel_runtime_helpers_applyDecoratedDescriptor__WEBPACK_IMPORTED_MODULE_1___default()(_class127.prototype, "select", [_dec99], {
|
|
76820
76823
|
configurable: true,
|
|
76821
76824
|
enumerable: true,
|
|
76822
76825
|
writable: true,
|
|
76823
76826
|
initializer: null
|
|
76824
|
-
})),
|
|
76825
|
-
let FormulaIsValidMirCardNumberExpression = (
|
|
76827
|
+
})), _class127)) || _class126);
|
|
76828
|
+
let FormulaIsValidMirCardNumberExpression = (_dec100 = (0,_markupGenerator_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_5__.sugarNode)("isvalidmircardnumber", `Проверка на валидность карты МИР`), _dec101 = (0,_markupGenerator_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_5__.attr)("select", _markupGenerator_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_5__.attrType.string.required, ``), _dec100(_class129 = (_class130 = class FormulaIsValidMirCardNumberExpression extends FormulaExpression {
|
|
76826
76829
|
constructor(...args) {
|
|
76827
76830
|
super(...args);
|
|
76828
|
-
_babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0___default()(this, "select",
|
|
76831
|
+
_babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0___default()(this, "select", _descriptor56, this);
|
|
76829
76832
|
}
|
|
76830
76833
|
getLegacyExpressionTypeForFunctionName() {
|
|
76831
76834
|
return "isValidMirCardNumber";
|
|
76832
76835
|
}
|
|
76833
|
-
}, (
|
|
76836
|
+
}, (_descriptor56 = _babel_runtime_helpers_applyDecoratedDescriptor__WEBPACK_IMPORTED_MODULE_1___default()(_class130.prototype, "select", [_dec101], {
|
|
76834
76837
|
configurable: true,
|
|
76835
76838
|
enumerable: true,
|
|
76836
76839
|
writable: true,
|
|
76837
76840
|
initializer: null
|
|
76838
|
-
})),
|
|
76839
|
-
let FormulaIsValidAccountNumberExpression = (
|
|
76841
|
+
})), _class130)) || _class129);
|
|
76842
|
+
let FormulaIsValidAccountNumberExpression = (_dec102 = (0,_markupGenerator_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_5__.sugarNode)("isvalidaccountnumber", `Проверка на валидность карты МИР`), _dec103 = (0,_markupGenerator_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_5__.attr)("bik", _markupGenerator_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_5__.attrType.string.required, ``), _dec104 = (0,_markupGenerator_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_5__.attr)("account", _markupGenerator_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_5__.attrType.string.required, ``), _dec102(_class132 = (_class133 = class FormulaIsValidAccountNumberExpression extends FormulaExpression {
|
|
76840
76843
|
constructor(...args) {
|
|
76841
76844
|
super(...args);
|
|
76842
|
-
_babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0___default()(this, "bik",
|
|
76843
|
-
_babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0___default()(this, "account",
|
|
76845
|
+
_babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0___default()(this, "bik", _descriptor57, this);
|
|
76846
|
+
_babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0___default()(this, "account", _descriptor58, this);
|
|
76844
76847
|
}
|
|
76845
76848
|
getLegacyExpressionTypeForFunctionName() {
|
|
76846
76849
|
return "isValidAccountNumber";
|
|
76847
76850
|
}
|
|
76848
|
-
}, (
|
|
76851
|
+
}, (_descriptor57 = _babel_runtime_helpers_applyDecoratedDescriptor__WEBPACK_IMPORTED_MODULE_1___default()(_class133.prototype, "bik", [_dec103], {
|
|
76849
76852
|
configurable: true,
|
|
76850
76853
|
enumerable: true,
|
|
76851
76854
|
writable: true,
|
|
76852
76855
|
initializer: null
|
|
76853
|
-
}),
|
|
76856
|
+
}), _descriptor58 = _babel_runtime_helpers_applyDecoratedDescriptor__WEBPACK_IMPORTED_MODULE_1___default()(_class133.prototype, "account", [_dec104], {
|
|
76854
76857
|
configurable: true,
|
|
76855
76858
|
enumerable: true,
|
|
76856
76859
|
writable: true,
|
|
76857
76860
|
initializer: null
|
|
76858
|
-
})),
|
|
76859
|
-
let FormulaArgumentExpression = (
|
|
76861
|
+
})), _class133)) || _class132);
|
|
76862
|
+
let FormulaArgumentExpression = (_dec105 = (0,_markupGenerator_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_5__.sugarNode)("argument", `TODO`), _dec106 = (0,_markupGenerator_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_5__.attr)("select", _markupGenerator_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_5__.attrType.string.required, ``), _dec107 = (0,_markupGenerator_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_5__.attr)("type", typeArgumentValueParser, `Тип атрибута: string или decimal (по умолчанию)`), _dec105(_class135 = (_class136 = class FormulaArgumentExpression extends FormulaExpression {
|
|
76860
76863
|
constructor(...args) {
|
|
76861
76864
|
super(...args);
|
|
76862
|
-
_babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0___default()(this, "select",
|
|
76863
|
-
_babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0___default()(this, "type",
|
|
76865
|
+
_babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0___default()(this, "select", _descriptor59, this);
|
|
76866
|
+
_babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0___default()(this, "type", _descriptor60, this);
|
|
76864
76867
|
}
|
|
76865
|
-
}, (
|
|
76868
|
+
}, (_descriptor59 = _babel_runtime_helpers_applyDecoratedDescriptor__WEBPACK_IMPORTED_MODULE_1___default()(_class136.prototype, "select", [_dec106], {
|
|
76866
76869
|
configurable: true,
|
|
76867
76870
|
enumerable: true,
|
|
76868
76871
|
writable: true,
|
|
76869
76872
|
initializer: null
|
|
76870
|
-
}),
|
|
76873
|
+
}), _descriptor60 = _babel_runtime_helpers_applyDecoratedDescriptor__WEBPACK_IMPORTED_MODULE_1___default()(_class136.prototype, "type", [_dec107], {
|
|
76871
76874
|
configurable: true,
|
|
76872
76875
|
enumerable: true,
|
|
76873
76876
|
writable: true,
|
|
76874
76877
|
initializer: function () {
|
|
76875
76878
|
return "decimal";
|
|
76876
76879
|
}
|
|
76877
|
-
})),
|
|
76878
|
-
let FormulaArrayExpression = (
|
|
76880
|
+
})), _class136)) || _class135);
|
|
76881
|
+
let FormulaArrayExpression = (_dec108 = (0,_markupGenerator_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_5__.sugarNode)("array", `TODO`), _dec109 = (0,_markupGenerator_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_5__.children)(), _dec108(_class138 = (_class139 = class FormulaArrayExpression extends FormulaExpression {
|
|
76879
76882
|
constructor(...args) {
|
|
76880
76883
|
super(...args);
|
|
76881
|
-
_babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0___default()(this, "items",
|
|
76884
|
+
_babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0___default()(this, "items", _descriptor61, this);
|
|
76882
76885
|
}
|
|
76883
|
-
}, (
|
|
76886
|
+
}, (_descriptor61 = _babel_runtime_helpers_applyDecoratedDescriptor__WEBPACK_IMPORTED_MODULE_1___default()(_class139.prototype, "items", [_dec109], {
|
|
76884
76887
|
configurable: true,
|
|
76885
76888
|
enumerable: true,
|
|
76886
76889
|
writable: true,
|
|
76887
76890
|
initializer: null
|
|
76888
|
-
})),
|
|
76889
|
-
let FormulaFilterColumnExpression = (
|
|
76891
|
+
})), _class139)) || _class138);
|
|
76892
|
+
let FormulaFilterColumnExpression = (_dec110 = (0,_markupGenerator_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_5__.sugarNode)("filtercolumn", `Получить значения пиклиста по фильру`), _dec111 = (0,_markupGenerator_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_5__.singleChild)(), _dec110(_class141 = (_class142 = class FormulaFilterColumnExpression extends FormulaExpression {
|
|
76890
76893
|
constructor(...args) {
|
|
76891
76894
|
super(...args);
|
|
76892
|
-
_babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0___default()(this, "filterColumn",
|
|
76895
|
+
_babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0___default()(this, "filterColumn", _descriptor62, this);
|
|
76893
76896
|
}
|
|
76894
|
-
}, (
|
|
76897
|
+
}, (_descriptor62 = _babel_runtime_helpers_applyDecoratedDescriptor__WEBPACK_IMPORTED_MODULE_1___default()(_class142.prototype, "filterColumn", [_dec111], {
|
|
76895
76898
|
configurable: true,
|
|
76896
76899
|
enumerable: true,
|
|
76897
76900
|
writable: true,
|
|
76898
76901
|
initializer: null
|
|
76899
|
-
})),
|
|
76900
|
-
let FormulaFilterKeyExpression = (
|
|
76902
|
+
})), _class142)) || _class141);
|
|
76903
|
+
let FormulaFilterKeyExpression = (_dec112 = (0,_markupGenerator_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_5__.sugarNode)("filterkey", `Получить значения пиклиста по фильру`), _dec113 = (0,_markupGenerator_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_5__.singleChild)(), _dec112(_class144 = (_class145 = class FormulaFilterKeyExpression extends FormulaExpression {
|
|
76901
76904
|
constructor(...args) {
|
|
76902
76905
|
super(...args);
|
|
76903
|
-
_babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0___default()(this, "filterKey",
|
|
76906
|
+
_babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0___default()(this, "filterKey", _descriptor63, this);
|
|
76904
76907
|
}
|
|
76905
|
-
}, (
|
|
76908
|
+
}, (_descriptor63 = _babel_runtime_helpers_applyDecoratedDescriptor__WEBPACK_IMPORTED_MODULE_1___default()(_class145.prototype, "filterKey", [_dec113], {
|
|
76906
76909
|
configurable: true,
|
|
76907
76910
|
enumerable: true,
|
|
76908
76911
|
writable: true,
|
|
76909
76912
|
initializer: null
|
|
76910
|
-
})),
|
|
76911
|
-
let FormulaGetPicklistValuesExpression = (
|
|
76913
|
+
})), _class145)) || _class144);
|
|
76914
|
+
let FormulaGetPicklistValuesExpression = (_dec114 = (0,_markupGenerator_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_5__.sugarNode)("getpicklistvalues", `Получить значения пиклиста по фильру. Используется только для генерации FLANG. В калькуляторе не работает`), _dec115 = (0,_markupGenerator_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_5__.attr)("gId", _markupGenerator_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_5__.attrType.string.required, ``), _dec116 = (0,_markupGenerator_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_5__.singleChild)("filtercolumn", [FormulaFilterColumnExpression]), _dec117 = (0,_markupGenerator_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_5__.singleChild)("filterkey", [FormulaFilterKeyExpression]), _dec118 = (0,_markupGenerator_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_5__.attr)("resultColumn", _markupGenerator_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_5__.attrType.string.required, ``), _dec114(_class147 = (_class148 = class FormulaGetPicklistValuesExpression extends FormulaExpression {
|
|
76912
76915
|
constructor(...args) {
|
|
76913
76916
|
super(...args);
|
|
76914
|
-
_babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0___default()(this, "gId",
|
|
76915
|
-
_babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0___default()(this, "filterColumn",
|
|
76916
|
-
_babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0___default()(this, "filterKey",
|
|
76917
|
-
_babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0___default()(this, "resultColumn",
|
|
76917
|
+
_babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0___default()(this, "gId", _descriptor64, this);
|
|
76918
|
+
_babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0___default()(this, "filterColumn", _descriptor65, this);
|
|
76919
|
+
_babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0___default()(this, "filterKey", _descriptor66, this);
|
|
76920
|
+
_babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0___default()(this, "resultColumn", _descriptor67, this);
|
|
76918
76921
|
}
|
|
76919
76922
|
getLegacyExpressionTypeForFunctionName() {
|
|
76920
76923
|
return "getPicklistValues";
|
|
76921
76924
|
}
|
|
76922
|
-
}, (
|
|
76925
|
+
}, (_descriptor64 = _babel_runtime_helpers_applyDecoratedDescriptor__WEBPACK_IMPORTED_MODULE_1___default()(_class148.prototype, "gId", [_dec115], {
|
|
76923
76926
|
configurable: true,
|
|
76924
76927
|
enumerable: true,
|
|
76925
76928
|
writable: true,
|
|
76926
76929
|
initializer: null
|
|
76927
|
-
}),
|
|
76930
|
+
}), _descriptor65 = _babel_runtime_helpers_applyDecoratedDescriptor__WEBPACK_IMPORTED_MODULE_1___default()(_class148.prototype, "filterColumn", [_dec116], {
|
|
76928
76931
|
configurable: true,
|
|
76929
76932
|
enumerable: true,
|
|
76930
76933
|
writable: true,
|
|
76931
76934
|
initializer: null
|
|
76932
|
-
}),
|
|
76935
|
+
}), _descriptor66 = _babel_runtime_helpers_applyDecoratedDescriptor__WEBPACK_IMPORTED_MODULE_1___default()(_class148.prototype, "filterKey", [_dec117], {
|
|
76933
76936
|
configurable: true,
|
|
76934
76937
|
enumerable: true,
|
|
76935
76938
|
writable: true,
|
|
76936
76939
|
initializer: null
|
|
76937
|
-
}),
|
|
76940
|
+
}), _descriptor67 = _babel_runtime_helpers_applyDecoratedDescriptor__WEBPACK_IMPORTED_MODULE_1___default()(_class148.prototype, "resultColumn", [_dec118], {
|
|
76938
76941
|
configurable: true,
|
|
76939
76942
|
enumerable: true,
|
|
76940
76943
|
writable: true,
|
|
76941
76944
|
initializer: null
|
|
76942
|
-
})),
|
|
76943
|
-
let FormulaFirstOrDefaultExpression = (
|
|
76945
|
+
})), _class148)) || _class147);
|
|
76946
|
+
let FormulaFirstOrDefaultExpression = (_dec119 = (0,_markupGenerator_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_5__.sugarNode)("firstordefault", `Взять первый элемент массива. Используется только для генерации FLANG. В калькуляторе не работает`), _dec120 = (0,_markupGenerator_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_5__.singleChild)(), _dec119(_class150 = (_class151 = class FormulaFirstOrDefaultExpression extends FormulaExpression {
|
|
76944
76947
|
constructor(...args) {
|
|
76945
76948
|
super(...args);
|
|
76946
|
-
_babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0___default()(this, "expression",
|
|
76949
|
+
_babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0___default()(this, "expression", _descriptor68, this);
|
|
76947
76950
|
}
|
|
76948
|
-
}, (
|
|
76951
|
+
}, (_descriptor68 = _babel_runtime_helpers_applyDecoratedDescriptor__WEBPACK_IMPORTED_MODULE_1___default()(_class151.prototype, "expression", [_dec120], {
|
|
76949
76952
|
configurable: true,
|
|
76950
76953
|
enumerable: true,
|
|
76951
76954
|
writable: true,
|
|
76952
76955
|
initializer: null
|
|
76953
|
-
})),
|
|
76954
|
-
let
|
|
76956
|
+
})), _class151)) || _class150);
|
|
76957
|
+
let FormulaHashSetExpression = (_dec121 = (0,_markupGenerator_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_5__.sugarNode)("hashset", `Оставить только уникальные значения в массиве. Используется только для генерации FLANG. В калькуляторе не работает`), _dec122 = (0,_markupGenerator_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_5__.singleChild)(), _dec121(_class153 = (_class154 = class FormulaHashSetExpression extends FormulaExpression {
|
|
76958
|
+
constructor(...args) {
|
|
76959
|
+
super(...args);
|
|
76960
|
+
_babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0___default()(this, "expression", _descriptor69, this);
|
|
76961
|
+
}
|
|
76962
|
+
}, (_descriptor69 = _babel_runtime_helpers_applyDecoratedDescriptor__WEBPACK_IMPORTED_MODULE_1___default()(_class154.prototype, "expression", [_dec122], {
|
|
76963
|
+
configurable: true,
|
|
76964
|
+
enumerable: true,
|
|
76965
|
+
writable: true,
|
|
76966
|
+
initializer: null
|
|
76967
|
+
})), _class154)) || _class153);
|
|
76968
|
+
let FormulaExistsExpression = (_dec123 = (0,_markupGenerator_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_5__.sugarNode)("exists", `TODO`), _dec124 = (0,_markupGenerator_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_5__.attr)("select", _markupGenerator_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_5__.attrType.string.required, ``), _dec123(_class156 = (_class157 = class FormulaExistsExpression extends FormulaExpression {
|
|
76955
76969
|
constructor(...args) {
|
|
76956
76970
|
super(...args);
|
|
76957
|
-
_babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0___default()(this, "select",
|
|
76971
|
+
_babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0___default()(this, "select", _descriptor70, this);
|
|
76958
76972
|
}
|
|
76959
76973
|
getLegacyExpressionTypeForFunctionName() {
|
|
76960
76974
|
return "exists";
|
|
76961
76975
|
}
|
|
76962
|
-
}, (
|
|
76976
|
+
}, (_descriptor70 = _babel_runtime_helpers_applyDecoratedDescriptor__WEBPACK_IMPORTED_MODULE_1___default()(_class157.prototype, "select", [_dec124], {
|
|
76963
76977
|
configurable: true,
|
|
76964
76978
|
enumerable: true,
|
|
76965
76979
|
writable: true,
|
|
76966
76980
|
initializer: null
|
|
76967
|
-
})),
|
|
76968
|
-
let FormulaMultySumExpression = (
|
|
76981
|
+
})), _class157)) || _class156);
|
|
76982
|
+
let FormulaMultySumExpression = (_dec125 = (0,_markupGenerator_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_5__.sugarNode)("multysum", `TODO`), _dec126 = (0,_markupGenerator_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_5__.attr)("select", _markupGenerator_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_5__.attrType.string.required, ``), _dec125(_class159 = (_class160 = class FormulaMultySumExpression extends FormulaExpression {
|
|
76969
76983
|
constructor(...args) {
|
|
76970
76984
|
super(...args);
|
|
76971
|
-
_babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0___default()(this, "select",
|
|
76985
|
+
_babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0___default()(this, "select", _descriptor71, this);
|
|
76972
76986
|
}
|
|
76973
|
-
}, (
|
|
76987
|
+
}, (_descriptor71 = _babel_runtime_helpers_applyDecoratedDescriptor__WEBPACK_IMPORTED_MODULE_1___default()(_class160.prototype, "select", [_dec126], {
|
|
76974
76988
|
configurable: true,
|
|
76975
76989
|
enumerable: true,
|
|
76976
76990
|
writable: true,
|
|
76977
76991
|
initializer: null
|
|
76978
|
-
})),
|
|
76979
|
-
let FormulaCountExpression = (
|
|
76992
|
+
})), _class160)) || _class159);
|
|
76993
|
+
let FormulaCountExpression = (_dec127 = (0,_markupGenerator_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_5__.sugarNode)("count", `TODO`), _dec128 = (0,_markupGenerator_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_5__.attr)("select", _markupGenerator_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_5__.attrType.string.required, ``), _dec129 = (0,_markupGenerator_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_5__.attr)("withNullOrEmptyValues", _markupGenerator_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_5__.attrType.boolean, `брать в расчет незаполненные экземпляры`), _dec127(_class162 = (_class163 = class FormulaCountExpression extends FormulaExpression {
|
|
76980
76994
|
constructor(...args) {
|
|
76981
76995
|
super(...args);
|
|
76982
|
-
_babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0___default()(this, "select",
|
|
76983
|
-
_babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0___default()(this, "withNullOrEmptyValues",
|
|
76996
|
+
_babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0___default()(this, "select", _descriptor72, this);
|
|
76997
|
+
_babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0___default()(this, "withNullOrEmptyValues", _descriptor73, this);
|
|
76984
76998
|
}
|
|
76985
|
-
}, (
|
|
76999
|
+
}, (_descriptor72 = _babel_runtime_helpers_applyDecoratedDescriptor__WEBPACK_IMPORTED_MODULE_1___default()(_class163.prototype, "select", [_dec128], {
|
|
76986
77000
|
configurable: true,
|
|
76987
77001
|
enumerable: true,
|
|
76988
77002
|
writable: true,
|
|
76989
77003
|
initializer: null
|
|
76990
|
-
}),
|
|
77004
|
+
}), _descriptor73 = _babel_runtime_helpers_applyDecoratedDescriptor__WEBPACK_IMPORTED_MODULE_1___default()(_class163.prototype, "withNullOrEmptyValues", [_dec129], {
|
|
76991
77005
|
configurable: true,
|
|
76992
77006
|
enumerable: true,
|
|
76993
77007
|
writable: true,
|
|
76994
77008
|
initializer: null
|
|
76995
|
-
})),
|
|
76996
|
-
let FormulaConcatExpression = (
|
|
77009
|
+
})), _class163)) || _class162);
|
|
77010
|
+
let FormulaConcatExpression = (_dec130 = (0,_markupGenerator_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_5__.sugarNode)("concat", `Конкатенация строк`), _dec131 = (0,_markupGenerator_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_5__.children)(), _dec130(_class165 = (_class166 = class FormulaConcatExpression extends FormulaExpression {
|
|
76997
77011
|
constructor(...args) {
|
|
76998
77012
|
super(...args);
|
|
76999
|
-
_babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0___default()(this, "arguments",
|
|
77013
|
+
_babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0___default()(this, "arguments", _descriptor74, this);
|
|
77000
77014
|
}
|
|
77001
|
-
}, (
|
|
77015
|
+
}, (_descriptor74 = _babel_runtime_helpers_applyDecoratedDescriptor__WEBPACK_IMPORTED_MODULE_1___default()(_class166.prototype, "arguments", [_dec131], {
|
|
77002
77016
|
configurable: true,
|
|
77003
77017
|
enumerable: true,
|
|
77004
77018
|
writable: true,
|
|
77005
77019
|
initializer: null
|
|
77006
|
-
})),
|
|
77007
|
-
let FormulaNewLineExpression = (
|
|
77008
|
-
let Formula = (
|
|
77020
|
+
})), _class166)) || _class165);
|
|
77021
|
+
let FormulaNewLineExpression = (_dec132 = (0,_markupGenerator_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_5__.sugarNode)("newline", `Перевод на новую строку`), _dec132(_class168 = class FormulaNewLineExpression extends FormulaExpression {}) || _class168);
|
|
77022
|
+
let Formula = (_dec133 = (0,_markupGenerator_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_5__.sugarNode)("formula", `TODO`), _dec134 = (0,_markupGenerator_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_5__.attr)("match", _markupGenerator_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_5__.attrType.string.required, ``), _dec135 = (0,_markupGenerator_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_5__.attr)("target", _markupGenerator_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_5__.attrType.string.required, ``), _dec136 = (0,_markupGenerator_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_5__.singleChild)(), _dec133(_class169 = (_class170 = class Formula extends _markupGenerator_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_5__.SugarNodeBase {
|
|
77009
77023
|
constructor(...args) {
|
|
77010
77024
|
super(...args);
|
|
77011
|
-
_babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0___default()(this, "match",
|
|
77012
|
-
_babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0___default()(this, "target",
|
|
77013
|
-
_babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0___default()(this, "expression",
|
|
77025
|
+
_babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0___default()(this, "match", _descriptor75, this);
|
|
77026
|
+
_babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0___default()(this, "target", _descriptor76, this);
|
|
77027
|
+
_babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0___default()(this, "expression", _descriptor77, this);
|
|
77014
77028
|
}
|
|
77015
|
-
}, (
|
|
77029
|
+
}, (_descriptor75 = _babel_runtime_helpers_applyDecoratedDescriptor__WEBPACK_IMPORTED_MODULE_1___default()(_class170.prototype, "match", [_dec134], {
|
|
77016
77030
|
configurable: true,
|
|
77017
77031
|
enumerable: true,
|
|
77018
77032
|
writable: true,
|
|
77019
77033
|
initializer: null
|
|
77020
|
-
}),
|
|
77034
|
+
}), _descriptor76 = _babel_runtime_helpers_applyDecoratedDescriptor__WEBPACK_IMPORTED_MODULE_1___default()(_class170.prototype, "target", [_dec135], {
|
|
77021
77035
|
configurable: true,
|
|
77022
77036
|
enumerable: true,
|
|
77023
77037
|
writable: true,
|
|
77024
77038
|
initializer: null
|
|
77025
|
-
}),
|
|
77039
|
+
}), _descriptor77 = _babel_runtime_helpers_applyDecoratedDescriptor__WEBPACK_IMPORTED_MODULE_1___default()(_class170.prototype, "expression", [_dec136], {
|
|
77026
77040
|
configurable: true,
|
|
77027
77041
|
enumerable: true,
|
|
77028
77042
|
writable: true,
|
|
77029
77043
|
initializer: null
|
|
77030
|
-
})),
|
|
77031
|
-
let FormulaNoDepsNode = (
|
|
77044
|
+
})), _class170)) || _class169);
|
|
77045
|
+
let FormulaNoDepsNode = (_dec137 = (0,_markupGenerator_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_5__.sugarNode)("nodeps", `Замыкает цикл пробега по зависимостям на элементе, что исключает бесконечную зацикленность. Только для серверной нормализации`), _dec138 = (0,_markupGenerator_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_5__.singleChild)(), _dec137(_class172 = (_class173 = class FormulaNoDepsNode extends _markupGenerator_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_5__.SugarNodeBase {
|
|
77032
77046
|
constructor(...args) {
|
|
77033
77047
|
super(...args);
|
|
77034
|
-
_babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0___default()(this, "expression",
|
|
77048
|
+
_babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0___default()(this, "expression", _descriptor78, this);
|
|
77035
77049
|
}
|
|
77036
|
-
}, (
|
|
77050
|
+
}, (_descriptor78 = _babel_runtime_helpers_applyDecoratedDescriptor__WEBPACK_IMPORTED_MODULE_1___default()(_class173.prototype, "expression", [_dec138], {
|
|
77037
77051
|
configurable: true,
|
|
77038
77052
|
enumerable: true,
|
|
77039
77053
|
writable: true,
|
|
77040
77054
|
initializer: null
|
|
77041
|
-
})),
|
|
77042
|
-
let Formulas = (
|
|
77055
|
+
})), _class173)) || _class172);
|
|
77056
|
+
let Formulas = (_dec139 = (0,_markupGenerator_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_5__.sugarNode)("formulas", `TODO`), _dec140 = (0,_markupGenerator_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_5__.children)("formula", [Formula]), _dec139(_class175 = (_class176 = class Formulas extends _markupGenerator_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_5__.SugarNodeBase {
|
|
77043
77057
|
constructor(...args) {
|
|
77044
77058
|
super(...args);
|
|
77045
|
-
_babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0___default()(this, "items",
|
|
77059
|
+
_babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0___default()(this, "items", _descriptor79, this);
|
|
77046
77060
|
}
|
|
77047
|
-
}, (
|
|
77061
|
+
}, (_descriptor79 = _babel_runtime_helpers_applyDecoratedDescriptor__WEBPACK_IMPORTED_MODULE_1___default()(_class176.prototype, "items", [_dec140], {
|
|
77048
77062
|
configurable: true,
|
|
77049
77063
|
enumerable: true,
|
|
77050
77064
|
writable: true,
|
|
77051
77065
|
initializer: null
|
|
77052
|
-
})),
|
|
77053
|
-
let ConditionNode = (
|
|
77066
|
+
})), _class176)) || _class175);
|
|
77067
|
+
let ConditionNode = (_dec141 = (0,_markupGenerator_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_5__.sugarNode)("condition", `TODO`), _dec142 = (0,_markupGenerator_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_5__.attr)("match", _markupGenerator_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_5__.attrType.string.required, ``), _dec143 = (0,_markupGenerator_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_5__.attr)("target", _markupGenerator_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_5__.attrType.string.required, ``), _dec144 = (0,_markupGenerator_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_5__.attr)("description", _markupGenerator_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_5__.attrType.string.required, ``), _dec145 = (0,_markupGenerator_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_5__.attr)("errorLevel", _markupGenerator_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_5__.attrType["enum"]("Error", "Warning"), `Уровень ошибки может быть Error или Warning - параметр влияет на подсветку. Красную или Оранжевую соотвественно`), _dec146 = (0,_markupGenerator_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_5__.singleChild)(), _dec141(_class178 = (_class179 = class ConditionNode extends _markupGenerator_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_5__.SugarNodeBase {
|
|
77054
77068
|
constructor(...args) {
|
|
77055
77069
|
super(...args);
|
|
77056
|
-
_babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0___default()(this, "match",
|
|
77057
|
-
_babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0___default()(this, "target",
|
|
77058
|
-
_babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0___default()(this, "description",
|
|
77059
|
-
_babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0___default()(this, "errorLevel",
|
|
77060
|
-
_babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0___default()(this, "expression",
|
|
77070
|
+
_babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0___default()(this, "match", _descriptor80, this);
|
|
77071
|
+
_babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0___default()(this, "target", _descriptor81, this);
|
|
77072
|
+
_babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0___default()(this, "description", _descriptor82, this);
|
|
77073
|
+
_babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0___default()(this, "errorLevel", _descriptor83, this);
|
|
77074
|
+
_babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0___default()(this, "expression", _descriptor84, this);
|
|
77061
77075
|
}
|
|
77062
|
-
}, (
|
|
77076
|
+
}, (_descriptor80 = _babel_runtime_helpers_applyDecoratedDescriptor__WEBPACK_IMPORTED_MODULE_1___default()(_class179.prototype, "match", [_dec142], {
|
|
77077
|
+
configurable: true,
|
|
77078
|
+
enumerable: true,
|
|
77079
|
+
writable: true,
|
|
77080
|
+
initializer: null
|
|
77081
|
+
}), _descriptor81 = _babel_runtime_helpers_applyDecoratedDescriptor__WEBPACK_IMPORTED_MODULE_1___default()(_class179.prototype, "target", [_dec143], {
|
|
77063
77082
|
configurable: true,
|
|
77064
77083
|
enumerable: true,
|
|
77065
77084
|
writable: true,
|
|
77066
77085
|
initializer: null
|
|
77067
|
-
}),
|
|
77086
|
+
}), _descriptor82 = _babel_runtime_helpers_applyDecoratedDescriptor__WEBPACK_IMPORTED_MODULE_1___default()(_class179.prototype, "description", [_dec144], {
|
|
77068
77087
|
configurable: true,
|
|
77069
77088
|
enumerable: true,
|
|
77070
77089
|
writable: true,
|
|
77071
77090
|
initializer: null
|
|
77072
|
-
}),
|
|
77091
|
+
}), _descriptor83 = _babel_runtime_helpers_applyDecoratedDescriptor__WEBPACK_IMPORTED_MODULE_1___default()(_class179.prototype, "errorLevel", [_dec145], {
|
|
77073
77092
|
configurable: true,
|
|
77074
77093
|
enumerable: true,
|
|
77075
77094
|
writable: true,
|
|
77076
77095
|
initializer: null
|
|
77077
|
-
}),
|
|
77096
|
+
}), _descriptor84 = _babel_runtime_helpers_applyDecoratedDescriptor__WEBPACK_IMPORTED_MODULE_1___default()(_class179.prototype, "expression", [_dec146], {
|
|
77078
77097
|
configurable: true,
|
|
77079
77098
|
enumerable: true,
|
|
77080
77099
|
writable: true,
|
|
77081
77100
|
initializer: null
|
|
77082
|
-
}),
|
|
77101
|
+
})), _class179)) || _class178);
|
|
77102
|
+
let ConditionsNode = (_dec147 = (0,_markupGenerator_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_5__.sugarNode)("conditions", `TODO`), _dec148 = (0,_markupGenerator_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_5__.children)("condition", [ConditionNode]), _dec147(_class181 = (_class182 = class ConditionsNode extends _markupGenerator_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_5__.SugarNodeBase {
|
|
77103
|
+
constructor(...args) {
|
|
77104
|
+
super(...args);
|
|
77105
|
+
_babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0___default()(this, "items", _descriptor85, this);
|
|
77106
|
+
}
|
|
77107
|
+
}, (_descriptor85 = _babel_runtime_helpers_applyDecoratedDescriptor__WEBPACK_IMPORTED_MODULE_1___default()(_class182.prototype, "items", [_dec148], {
|
|
77083
77108
|
configurable: true,
|
|
77084
77109
|
enumerable: true,
|
|
77085
77110
|
writable: true,
|
|
77086
77111
|
initializer: null
|
|
77087
77112
|
})), _class182)) || _class181);
|
|
77088
|
-
let
|
|
77113
|
+
let MathContainer = (_dec149 = (0,_markupGenerator_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_5__.sugarNode)("math", `TODO`), _dec150 = (0,_markupGenerator_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_5__.singleChild)("formulas", [Formulas]), _dec151 = (0,_markupGenerator_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_5__.singleChild)("conditions", [ConditionsNode]), _dec149(_class184 = (_class185 = class MathContainer extends _markupGenerator_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_5__.SugarNodeBase {
|
|
77089
77114
|
constructor(...args) {
|
|
77090
77115
|
super(...args);
|
|
77091
|
-
_babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0___default()(this, "
|
|
77116
|
+
_babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0___default()(this, "formulas", _descriptor86, this);
|
|
77117
|
+
_babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0___default()(this, "conditions", _descriptor87, this);
|
|
77092
77118
|
}
|
|
77093
|
-
}, (
|
|
77119
|
+
}, (_descriptor86 = _babel_runtime_helpers_applyDecoratedDescriptor__WEBPACK_IMPORTED_MODULE_1___default()(_class185.prototype, "formulas", [_dec150], {
|
|
77120
|
+
configurable: true,
|
|
77121
|
+
enumerable: true,
|
|
77122
|
+
writable: true,
|
|
77123
|
+
initializer: null
|
|
77124
|
+
}), _descriptor87 = _babel_runtime_helpers_applyDecoratedDescriptor__WEBPACK_IMPORTED_MODULE_1___default()(_class185.prototype, "conditions", [_dec151], {
|
|
77094
77125
|
configurable: true,
|
|
77095
77126
|
enumerable: true,
|
|
77096
77127
|
writable: true,
|
|
77097
77128
|
initializer: null
|
|
77098
77129
|
})), _class185)) || _class184);
|
|
77099
|
-
let
|
|
77130
|
+
let FormulaGroupSumExpression = (_dec152 = (0,_markupGenerator_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_5__.sugarNode)("groupsum", `Вычисление суммы с группировкой в разных множественностях`), _dec153 = (0,_markupGenerator_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_5__.singleChild)("array", [FormulaArrayExpression]), _dec154 = (0,_markupGenerator_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_5__.attr)("sourceKeyPath", _markupGenerator_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_5__.attrType.string.required, `Путь откуда брать ключ группы в суммируемой множественности`), _dec155 = (0,_markupGenerator_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_5__.attr)("sourceValuePath", _markupGenerator_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_5__.attrType.string.required, `Путь в суммируемой множественности откуда берем значение для свёртки`), _dec152(_class187 = (_class188 = class FormulaGroupSumExpression extends FormulaExpression {
|
|
77100
77131
|
constructor(...args) {
|
|
77101
77132
|
super(...args);
|
|
77102
|
-
_babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0___default()(this, "
|
|
77103
|
-
_babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0___default()(this, "
|
|
77133
|
+
_babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0___default()(this, "targetKeys", _descriptor88, this);
|
|
77134
|
+
_babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0___default()(this, "sourceKeyPath", _descriptor89, this);
|
|
77135
|
+
_babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0___default()(this, "sourceValuePath", _descriptor90, this);
|
|
77104
77136
|
}
|
|
77105
|
-
}, (
|
|
77137
|
+
}, (_descriptor88 = _babel_runtime_helpers_applyDecoratedDescriptor__WEBPACK_IMPORTED_MODULE_1___default()(_class188.prototype, "targetKeys", [_dec153], {
|
|
77106
77138
|
configurable: true,
|
|
77107
77139
|
enumerable: true,
|
|
77108
77140
|
writable: true,
|
|
77109
77141
|
initializer: null
|
|
77110
|
-
}),
|
|
77142
|
+
}), _descriptor89 = _babel_runtime_helpers_applyDecoratedDescriptor__WEBPACK_IMPORTED_MODULE_1___default()(_class188.prototype, "sourceKeyPath", [_dec154], {
|
|
77143
|
+
configurable: true,
|
|
77144
|
+
enumerable: true,
|
|
77145
|
+
writable: true,
|
|
77146
|
+
initializer: null
|
|
77147
|
+
}), _descriptor90 = _babel_runtime_helpers_applyDecoratedDescriptor__WEBPACK_IMPORTED_MODULE_1___default()(_class188.prototype, "sourceValuePath", [_dec155], {
|
|
77111
77148
|
configurable: true,
|
|
77112
77149
|
enumerable: true,
|
|
77113
77150
|
writable: true,
|
|
77114
77151
|
initializer: null
|
|
77115
77152
|
})), _class188)) || _class187);
|
|
77116
|
-
|
|
77153
|
+
let FormulaGroupCountExpression = (_dec156 = (0,_markupGenerator_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_5__.sugarNode)("groupcount", `Вычисление количества элементов по группам в разных множественностях`), _dec157 = (0,_markupGenerator_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_5__.singleChild)("array", [FormulaArrayExpression]), _dec158 = (0,_markupGenerator_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_5__.attr)("sourceKeyPath", _markupGenerator_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_5__.attrType.string.required, `Путь откуда брать ключ группы в суммируемой множественности`), _dec156(_class190 = (_class191 = class FormulaGroupCountExpression extends FormulaExpression {
|
|
77154
|
+
constructor(...args) {
|
|
77155
|
+
super(...args);
|
|
77156
|
+
_babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0___default()(this, "targetKeys", _descriptor91, this);
|
|
77157
|
+
_babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0___default()(this, "sourceKeyPath", _descriptor92, this);
|
|
77158
|
+
}
|
|
77159
|
+
}, (_descriptor91 = _babel_runtime_helpers_applyDecoratedDescriptor__WEBPACK_IMPORTED_MODULE_1___default()(_class191.prototype, "targetKeys", [_dec157], {
|
|
77160
|
+
configurable: true,
|
|
77161
|
+
enumerable: true,
|
|
77162
|
+
writable: true,
|
|
77163
|
+
initializer: null
|
|
77164
|
+
}), _descriptor92 = _babel_runtime_helpers_applyDecoratedDescriptor__WEBPACK_IMPORTED_MODULE_1___default()(_class191.prototype, "sourceKeyPath", [_dec158], {
|
|
77165
|
+
configurable: true,
|
|
77166
|
+
enumerable: true,
|
|
77167
|
+
writable: true,
|
|
77168
|
+
initializer: null
|
|
77169
|
+
})), _class191)) || _class190);
|
|
77170
|
+
const formulaExpressions = [FormulaSumExpression, FormulaArgumentExpression, FormulaConstExpression, FormulaMultySumExpression, FormulaRoundExpression, FormulaFloorExpression, FormulaAbsExpression, FormulaDivisionExpression, FormulaMinusExpression, FormulaMultiplyExpression, FormulaChooseExpression, FormulaEqExpression, FormulaGtExpression, FormulaLtExpression, FormulaGeExpression, FormulaLeExpression, FormulaAndExpression, FormulaOrExpression, FormulaNotExpression, FormulaRegexMatchExpression, FormulaSubstringExpression, FormulaXAbsExpression, FormulaExistsExpression, FormulaLengthExpression, FormulaWhenExpression, FormulaCountExpression, FormulaDateNowExpression, FormulaGetDaysInMonthExpression, FormulaGetDayExpression, FormulaGetMonthExpression, FormulaGetYearExpression, FormulaIsDateExpression, FormulaDifferenceInMonthsExpression, FormulaDifferenceInDaysExpression, FormulaAddDaysExpression, FormulaAddMonthsExpression, FormulaAddYearsExpression, FormulaDateToStringExpression, FormulaDateTimeExpression, FormulaIsSnilsExpression, FormulaIsInnExpression, FormulaIsValidAccountNumberExpression, FormulaIsValidMirCardNumberExpression, FormulaCastExpression, FormulaConcatExpression, FormulaGroupSumExpression, FormulaGroupCountExpression, FormulaNewLineExpression, FormulaOneOfExpression, FormulaGetPicklistValuesExpression, FormulaArrayExpression, FormulaFirstOrDefaultExpression, FormulaHashSetExpression, FormulaFilterColumnExpression, FormulaFilterKeyExpression, FormulaNoDepsNode];
|
|
77117
77171
|
|
|
77118
77172
|
/***/ }),
|
|
77119
77173
|
|
|
@@ -79249,23 +79303,22 @@ class KCXmlGeneratorBase {
|
|
|
79249
79303
|
return `expression.sum([${compiledExpressions}])`;
|
|
79250
79304
|
}
|
|
79251
79305
|
if (expression instanceof _AutoCalculationsGenerator_AutoCalculationsFromFormulas_KCXmlContract_Formula__WEBPACK_IMPORTED_MODULE_1__.FormulaGroupSumExpression) {
|
|
79252
|
-
const
|
|
79253
|
-
deps.push(new DependencyWithoutChecks(targetKeyPath));
|
|
79306
|
+
const targetKeys = this.compileExpression(prefix, targetFullPath, expression.targetKeys, deps);
|
|
79254
79307
|
const sourceKeyPath = this.getModelPath(prefix, expression.sourceKeyPath);
|
|
79255
|
-
const sourceKeyDeps = this.calculatedGroupSumDependencyForSourcePath(
|
|
79308
|
+
const sourceKeyDeps = this.calculatedGroupSumDependencyForSourcePath(targetFullPath, sourceKeyPath);
|
|
79256
79309
|
deps.push(new DependencyWithoutChecks(sourceKeyDeps.currentDepsPath, sourceKeyDeps.eachDepsPath));
|
|
79257
79310
|
const sourceValuePath = this.getModelPath(prefix, expression.sourceValuePath);
|
|
79258
|
-
const sourceValueDeps = this.calculatedGroupSumDependencyForSourcePath(
|
|
79311
|
+
const sourceValueDeps = this.calculatedGroupSumDependencyForSourcePath(targetFullPath, sourceValuePath);
|
|
79259
79312
|
deps.push(new DependencyWithoutChecks(sourceValueDeps.currentDepsPath, sourceValueDeps.eachDepsPath));
|
|
79260
|
-
return gcf(x => x.groupSum,
|
|
79313
|
+
return gcf(x => x.groupSum, `${targetKeys}, "${sourceKeyPath}", "${sourceValuePath}"`);
|
|
79261
79314
|
}
|
|
79262
79315
|
if (expression instanceof _AutoCalculationsGenerator_AutoCalculationsFromFormulas_KCXmlContract_Formula__WEBPACK_IMPORTED_MODULE_1__.FormulaGroupCountExpression) {
|
|
79263
|
-
const
|
|
79264
|
-
deps.push(new DependencyWithoutChecks(
|
|
79316
|
+
const targetKeys = this.compileExpression(prefix, targetFullPath, expression.targetKeys, deps);
|
|
79317
|
+
deps.push(new DependencyWithoutChecks(targetFullPath));
|
|
79265
79318
|
const sourceKeyPath = this.getModelPath(prefix, expression.sourceKeyPath);
|
|
79266
|
-
const sourceKeyDeps = this.calculatedGroupSumDependencyForSourcePath(
|
|
79319
|
+
const sourceKeyDeps = this.calculatedGroupSumDependencyForSourcePath(targetFullPath, sourceKeyPath);
|
|
79267
79320
|
deps.push(new DependencyWithoutChecks(sourceKeyDeps.currentDepsPath, sourceKeyDeps.eachDepsPath));
|
|
79268
|
-
return gcf(x => x.groupCount,
|
|
79321
|
+
return gcf(x => x.groupCount, `${targetKeys}, "${sourceKeyPath}"`);
|
|
79269
79322
|
}
|
|
79270
79323
|
if (expression instanceof _AutoCalculationsGenerator_AutoCalculationsFromFormulas_KCXmlContract_Formula__WEBPACK_IMPORTED_MODULE_1__.FormulaConcatExpression) {
|
|
79271
79324
|
(0,_Common_TypingUtils__WEBPACK_IMPORTED_MODULE_2__.ensureArrayLengthGreaterThenOrEqual)(expression.arguments, 2);
|
|
@@ -79280,7 +79333,10 @@ class KCXmlGeneratorBase {
|
|
|
79280
79333
|
const compiledItems = expression.items.expressions.map(item => this.compileExpression(prefix, targetFullPath, item, deps)).join(",");
|
|
79281
79334
|
return gcf(x => x.oneOf, compiledArgument, `[${compiledItems}]`);
|
|
79282
79335
|
}
|
|
79283
|
-
|
|
79336
|
+
if (expression instanceof _AutoCalculationsGenerator_AutoCalculationsFromFormulas_KCXmlContract_Formula__WEBPACK_IMPORTED_MODULE_1__.FormulaArrayExpression) {
|
|
79337
|
+
const itemsText = expression.items.map(x => this.compileExpression(prefix, targetFullPath, x, deps)).join(", ");
|
|
79338
|
+
return `JSON.stringify([${itemsText}])`;
|
|
79339
|
+
}
|
|
79284
79340
|
// -- не работает в рантайм калькуляторе
|
|
79285
79341
|
if (expression instanceof _AutoCalculationsGenerator_AutoCalculationsFromFormulas_KCXmlContract_Formula__WEBPACK_IMPORTED_MODULE_1__.FormulaGetPicklistValuesExpression) {
|
|
79286
79342
|
return "null";
|
|
@@ -79288,7 +79344,7 @@ class KCXmlGeneratorBase {
|
|
|
79288
79344
|
if (expression instanceof _AutoCalculationsGenerator_AutoCalculationsFromFormulas_KCXmlContract_Formula__WEBPACK_IMPORTED_MODULE_1__.FormulaFirstOrDefaultExpression) {
|
|
79289
79345
|
return "null";
|
|
79290
79346
|
}
|
|
79291
|
-
if (expression instanceof _AutoCalculationsGenerator_AutoCalculationsFromFormulas_KCXmlContract_Formula__WEBPACK_IMPORTED_MODULE_1__.
|
|
79347
|
+
if (expression instanceof _AutoCalculationsGenerator_AutoCalculationsFromFormulas_KCXmlContract_Formula__WEBPACK_IMPORTED_MODULE_1__.FormulaHashSetExpression) {
|
|
79292
79348
|
return "null";
|
|
79293
79349
|
}
|
|
79294
79350
|
if (expression instanceof _AutoCalculationsGenerator_AutoCalculationsFromFormulas_KCXmlContract_Formula__WEBPACK_IMPORTED_MODULE_1__.FormulaNoDepsNode) {
|
|
@@ -79310,7 +79366,6 @@ class KCXmlGeneratorBase {
|
|
|
79310
79366
|
в зависимостях в CalculationFunction в данном случае все звёздочки превратятся в PathTokens.current.
|
|
79311
79367
|
*/
|
|
79312
79368
|
calculatedGroupSumDependencyForSourcePath(targetKeyPath, sourcePath) {
|
|
79313
|
-
var _targetPathParts$last;
|
|
79314
79369
|
const diffPaths = (0,_Common_ModelPath_PathSplitHelper__WEBPACK_IMPORTED_MODULE_4__.getMatchedAndDifferentModelPaths)(targetKeyPath, sourcePath);
|
|
79315
79370
|
if (targetKeyPath.getIterationRank() > diffPaths.matchedPath.getIterationRank()) {
|
|
79316
79371
|
return {
|
|
@@ -79321,7 +79376,13 @@ class KCXmlGeneratorBase {
|
|
|
79321
79376
|
const targetPathParts = diffPaths.matchedPath.getPathPartsAsArray();
|
|
79322
79377
|
const lastStarIndex = targetPathParts.lastIndexOf(_Common_ModelPath_ModelPath__WEBPACK_IMPORTED_MODULE_0__.PathTokens.each);
|
|
79323
79378
|
const currentDepsPath = (0,_Common_ModelPath_ModelPath__WEBPACK_IMPORTED_MODULE_0__.createAbsoluteFromTokens)(targetPathParts.slice(0, lastStarIndex));
|
|
79324
|
-
|
|
79379
|
+
let eachDepsPath;
|
|
79380
|
+
if (lastStarIndex === -1) {
|
|
79381
|
+
eachDepsPath = (0,_Common_ModelPath_ModelPath__WEBPACK_IMPORTED_MODULE_0__.createRelativeFromTokens)([...diffPaths.matchedPath.getPathParts(), ...diffPaths.differentPath.getPathParts()]);
|
|
79382
|
+
} else {
|
|
79383
|
+
var _targetPathParts$last;
|
|
79384
|
+
eachDepsPath = (0,_Common_ModelPath_ModelPath__WEBPACK_IMPORTED_MODULE_0__.createRelativeFromTokens)([(_targetPathParts$last = targetPathParts[lastStarIndex]) !== null && _targetPathParts$last !== void 0 ? _targetPathParts$last : (0,_Common_TypingUtils__WEBPACK_IMPORTED_MODULE_2__.reject)("path in groupSum is incorrect. Cannot create DepsPath for " + targetPathParts.join("/")), ...targetPathParts.slice(lastStarIndex + 1), ...diffPaths.differentPath.getPathParts()]);
|
|
79385
|
+
}
|
|
79325
79386
|
return {
|
|
79326
79387
|
currentDepsPath: currentDepsPath,
|
|
79327
79388
|
eachDepsPath: eachDepsPath
|
|
@@ -80798,6 +80859,10 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
80798
80859
|
/* harmony export */ "DateToStringExpression": () => (/* binding */ DateToStringExpression),
|
|
80799
80860
|
/* harmony export */ "GetPicklistValuesExpression": () => (/* binding */ GetPicklistValuesExpression),
|
|
80800
80861
|
/* harmony export */ "FirstOrDefaultExpression": () => (/* binding */ FirstOrDefaultExpression),
|
|
80862
|
+
/* harmony export */ "HashSetExpression": () => (/* binding */ HashSetExpression),
|
|
80863
|
+
/* harmony export */ "AddArrayExpression": () => (/* binding */ AddArrayExpression),
|
|
80864
|
+
/* harmony export */ "SerializeEnumerationExpression": () => (/* binding */ SerializeEnumerationExpression),
|
|
80865
|
+
/* harmony export */ "DeserializeEnumerationExpression": () => (/* binding */ DeserializeEnumerationExpression),
|
|
80801
80866
|
/* harmony export */ "ArrayExpression": () => (/* binding */ ArrayExpression),
|
|
80802
80867
|
/* harmony export */ "NullCoalesceExpression": () => (/* binding */ NullCoalesceExpression),
|
|
80803
80868
|
/* harmony export */ "OneOfExpression": () => (/* binding */ OneOfExpression),
|
|
@@ -81092,6 +81157,7 @@ BuildInTypeExpression.null = new BuildInTypeExpression("null");
|
|
|
81092
81157
|
BuildInTypeExpression.dateTime = new BuildInTypeExpression("dateTime");
|
|
81093
81158
|
BuildInTypeExpression.int = new BuildInTypeExpression("int");
|
|
81094
81159
|
BuildInTypeExpression.array = new BuildInTypeExpression("array");
|
|
81160
|
+
BuildInTypeExpression.hashSet = new BuildInTypeExpression("hashSet");
|
|
81095
81161
|
class ArgumentDeclarationExpression extends FLangExpression {
|
|
81096
81162
|
constructor(argumentName, typeExpression) {
|
|
81097
81163
|
super();
|
|
@@ -81245,7 +81311,7 @@ class ReduceCallExpression extends CallExpression {
|
|
|
81245
81311
|
return this.reduceFunction.getType();
|
|
81246
81312
|
}
|
|
81247
81313
|
convertToString() {
|
|
81248
|
-
return `reduce(${toFLangString(this.modelPath)}/#iter, ${this.reduceFunction.convertToString()}, ${this.initialValue.convertToString()})`;
|
|
81314
|
+
return `reduce(${toFLangString(this.modelPath)}${this.modelPath.isEndsWithIteration() ? "" : "/#iter"}, ${this.reduceFunction.convertToString()}, ${this.initialValue.convertToString()})`;
|
|
81249
81315
|
}
|
|
81250
81316
|
}
|
|
81251
81317
|
class ReduceMultipleCallExpression extends CallExpression {
|
|
@@ -81596,7 +81662,7 @@ class AddSumExpression extends FLangDictExpression {
|
|
|
81596
81662
|
const dictName = this.argumentReference.convertToString();
|
|
81597
81663
|
const key = this.key.convertToString();
|
|
81598
81664
|
const value = this.valuePath.convertToString();
|
|
81599
|
-
return `
|
|
81665
|
+
return `addSumByKeys(${dictName}, ${key}, ${value})`;
|
|
81600
81666
|
}
|
|
81601
81667
|
}
|
|
81602
81668
|
class GetExpression extends FLangDecimalExpression {
|
|
@@ -81614,7 +81680,7 @@ class GetExpression extends FLangDecimalExpression {
|
|
|
81614
81680
|
convertToString() {
|
|
81615
81681
|
const dict = this.dictionaryExpression.convertToString();
|
|
81616
81682
|
const key = this.key.convertToString();
|
|
81617
|
-
return `
|
|
81683
|
+
return `getSumByKeys(${dict}, ${key})`;
|
|
81618
81684
|
}
|
|
81619
81685
|
}
|
|
81620
81686
|
class IntegerLiteralExpression extends ConstExpression {
|
|
@@ -81785,6 +81851,82 @@ class FirstOrDefaultExpression extends FLangExpression {
|
|
|
81785
81851
|
return `firstOrDefault(${this.expression.convertToString()})`;
|
|
81786
81852
|
}
|
|
81787
81853
|
}
|
|
81854
|
+
class HashSetExpression extends FLangExpression {
|
|
81855
|
+
constructor(expression) {
|
|
81856
|
+
super();
|
|
81857
|
+
this.expression = void 0;
|
|
81858
|
+
this.expression = expression;
|
|
81859
|
+
}
|
|
81860
|
+
getType() {
|
|
81861
|
+
return BuildInTypeExpression.hashSet;
|
|
81862
|
+
}
|
|
81863
|
+
*getChildNodes() {
|
|
81864
|
+
if (this.expression != undefined) {
|
|
81865
|
+
yield this.expression;
|
|
81866
|
+
}
|
|
81867
|
+
return [];
|
|
81868
|
+
}
|
|
81869
|
+
convertToString() {
|
|
81870
|
+
var _this$expression$conv, _this$expression;
|
|
81871
|
+
return `hashSet(${(_this$expression$conv = (_this$expression = this.expression) === null || _this$expression === void 0 ? void 0 : _this$expression.convertToString()) !== null && _this$expression$conv !== void 0 ? _this$expression$conv : ""})`;
|
|
81872
|
+
}
|
|
81873
|
+
}
|
|
81874
|
+
class AddArrayExpression extends FLangExpression {
|
|
81875
|
+
constructor(argumentReference, expression) {
|
|
81876
|
+
super();
|
|
81877
|
+
this.expression = void 0;
|
|
81878
|
+
this.argumentReference = void 0;
|
|
81879
|
+
this.expression = expression;
|
|
81880
|
+
this.argumentReference = argumentReference;
|
|
81881
|
+
}
|
|
81882
|
+
getType() {
|
|
81883
|
+
return BuildInTypeExpression.hashSet;
|
|
81884
|
+
}
|
|
81885
|
+
*getChildNodes() {
|
|
81886
|
+
yield this.expression;
|
|
81887
|
+
}
|
|
81888
|
+
convertToString() {
|
|
81889
|
+
return `addArray(${this.argumentReference.convertToString()}, ${this.expression.convertToString()})`;
|
|
81890
|
+
}
|
|
81891
|
+
}
|
|
81892
|
+
class SerializeEnumerationExpression extends FLangExpression {
|
|
81893
|
+
constructor(expression) {
|
|
81894
|
+
super();
|
|
81895
|
+
this.expression = void 0;
|
|
81896
|
+
this.expression = expression;
|
|
81897
|
+
}
|
|
81898
|
+
getType() {
|
|
81899
|
+
return BuildInTypeExpression.string;
|
|
81900
|
+
}
|
|
81901
|
+
*getChildNodes() {
|
|
81902
|
+
yield this.expression;
|
|
81903
|
+
}
|
|
81904
|
+
convertToString() {
|
|
81905
|
+
return `serializeEnumeration(${this.expression.convertToString()})`;
|
|
81906
|
+
}
|
|
81907
|
+
}
|
|
81908
|
+
class DeserializeEnumerationExpression extends FLangExpression {
|
|
81909
|
+
constructor(items, convertToStringFlag) {
|
|
81910
|
+
super();
|
|
81911
|
+
this.items = void 0;
|
|
81912
|
+
this.autoConvertToArray = void 0;
|
|
81913
|
+
this.items = items;
|
|
81914
|
+
this.autoConvertToArray = convertToStringFlag;
|
|
81915
|
+
}
|
|
81916
|
+
getType() {
|
|
81917
|
+
return BuildInTypeExpression.string;
|
|
81918
|
+
}
|
|
81919
|
+
*getChildNodes() {
|
|
81920
|
+
for (const item of this.items) {
|
|
81921
|
+
yield item;
|
|
81922
|
+
}
|
|
81923
|
+
yield this.autoConvertToArray;
|
|
81924
|
+
}
|
|
81925
|
+
convertToString() {
|
|
81926
|
+
const items = this.items.map(x => x.convertToString()).join(", ");
|
|
81927
|
+
return `deserializeEnumeration(${items}, ${this.autoConvertToArray.convertToString()})`;
|
|
81928
|
+
}
|
|
81929
|
+
}
|
|
81788
81930
|
class ArrayExpression extends FLangExpression {
|
|
81789
81931
|
constructor(items) {
|
|
81790
81932
|
super();
|
|
@@ -82022,11 +82164,14 @@ function tryExtractValueReferenceAsStringFromDecimal(expression) {
|
|
|
82022
82164
|
}
|
|
82023
82165
|
return expression;
|
|
82024
82166
|
}
|
|
82025
|
-
function castOperandToStringIfNeed(operandExpression,
|
|
82167
|
+
function castOperandToStringIfNeed(operandExpression, decimalFormat) {
|
|
82026
82168
|
if (operandExpression instanceof _FLangCodeDom__WEBPACK_IMPORTED_MODULE_2__.DateTimeExpression || operandExpression instanceof _FLangCodeDom__WEBPACK_IMPORTED_MODULE_2__.DateNowExpression) {
|
|
82027
82169
|
return new _FLangCodeDom__WEBPACK_IMPORTED_MODULE_2__.DateToStringExpression(operandExpression, new _FLangCodeDom__WEBPACK_IMPORTED_MODULE_2__.StringLiteralExpression("dd.MM.yyyy"));
|
|
82028
82170
|
}
|
|
82029
|
-
|
|
82171
|
+
if (operandExpression instanceof _FLangCodeDom__WEBPACK_IMPORTED_MODULE_2__.HashSetExpression) {
|
|
82172
|
+
return new _FLangCodeDom__WEBPACK_IMPORTED_MODULE_2__.SerializeEnumerationExpression(operandExpression);
|
|
82173
|
+
}
|
|
82174
|
+
return operandExpression.getType() != _FLangCodeDom__WEBPACK_IMPORTED_MODULE_2__.BuildInTypeExpression.string ? new _FLangCodeDom__WEBPACK_IMPORTED_MODULE_2__.CastExpression(operandExpression, _FLangCodeDom__WEBPACK_IMPORTED_MODULE_2__.BuildInTypeExpression.string, decimalFormat != undefined && operandExpression.getType() === _FLangCodeDom__WEBPACK_IMPORTED_MODULE_2__.BuildInTypeExpression.decimal ? new _FLangCodeDom__WEBPACK_IMPORTED_MODULE_2__.StringLiteralExpression(decimalFormat) : undefined) : operandExpression;
|
|
82030
82175
|
}
|
|
82031
82176
|
function castOperandToBoolIfNeed(operandExpression) {
|
|
82032
82177
|
return operandExpression.getType() != _FLangCodeDom__WEBPACK_IMPORTED_MODULE_2__.BuildInTypeExpression.bool ? new _FLangCodeDom__WEBPACK_IMPORTED_MODULE_2__.CastExpression(operandExpression, _FLangCodeDom__WEBPACK_IMPORTED_MODULE_2__.BuildInTypeExpression.bool) : operandExpression;
|
|
@@ -82487,13 +82632,33 @@ class FormulaExpressionToFlangExpressionConverter {
|
|
|
82487
82632
|
return new _FLang_FLangCodeDom__WEBPACK_IMPORTED_MODULE_8__.IsValidMirCardNumberExpression((0,_FLang_FlangUtils__WEBPACK_IMPORTED_MODULE_7__.castOperandToStringIfNeed)(arg));
|
|
82488
82633
|
}
|
|
82489
82634
|
if (expression instanceof _AutoCalculationsGenerator_AutoCalculationsFromFormulas_KCXmlContract_Formula__WEBPACK_IMPORTED_MODULE_0__.FormulaArrayExpression) {
|
|
82490
|
-
const items = expression.items.map(arg => this.
|
|
82635
|
+
const items = expression.items.map(arg => this.compileEnumerationItem(arg, prefix, target, addPrecalculationRule));
|
|
82491
82636
|
return new _FLang_FLangCodeDom__WEBPACK_IMPORTED_MODULE_8__.ArrayExpression(items);
|
|
82492
82637
|
}
|
|
82493
82638
|
if (expression instanceof _AutoCalculationsGenerator_AutoCalculationsFromFormulas_KCXmlContract_Formula__WEBPACK_IMPORTED_MODULE_0__.FormulaFirstOrDefaultExpression) {
|
|
82494
82639
|
const firstOrDefaultExpression = this.compileExpressionToFlangExpressionInternal(expression.expression, prefix, target, addPrecalculationRule);
|
|
82495
82640
|
return new _FLang_FLangCodeDom__WEBPACK_IMPORTED_MODULE_8__.FirstOrDefaultExpression(firstOrDefaultExpression);
|
|
82496
82641
|
}
|
|
82642
|
+
if (expression instanceof _AutoCalculationsGenerator_AutoCalculationsFromFormulas_KCXmlContract_Formula__WEBPACK_IMPORTED_MODULE_0__.FormulaHashSetExpression) {
|
|
82643
|
+
if (expression.expression instanceof _AutoCalculationsGenerator_AutoCalculationsFromFormulas_KCXmlContract_Formula__WEBPACK_IMPORTED_MODULE_0__.FormulaArgumentExpression) {
|
|
82644
|
+
const adjustedSelectPath = this.preparePathAndAdjustMultiplicity(prefix, expression.expression.select);
|
|
82645
|
+
const splitInfo = (0,_Common_ModelPath_PathSplitHelper__WEBPACK_IMPORTED_MODULE_5__.getMatchedAndDifferentModelPaths)(target.path, adjustedSelectPath);
|
|
82646
|
+
const diffSelectPath = splitInfo.differentPath;
|
|
82647
|
+
const hasMultiplicity = diffSelectPath.getIterationRank() > 0;
|
|
82648
|
+
if (hasMultiplicity) {
|
|
82649
|
+
const sourceKeyParts = adjustedSelectPath.getPathPartsAsArray();
|
|
82650
|
+
const firstPart = splitInfo.matchedPath.toCurrentIteration();
|
|
82651
|
+
const firstPartLength = _Common_IterableUtils__WEBPACK_IMPORTED_MODULE_3__.IterUtils.count(firstPart.getPathParts());
|
|
82652
|
+
const secondPartParts = (0,_Common_ModelPath_ModelPath__WEBPACK_IMPORTED_MODULE_1__.createRelativeFromTokens)(sourceKeyParts.slice(firstPartLength)).getPathPartsAsArray();
|
|
82653
|
+
const lastStarIndexSecondPart = secondPartParts.lastIndexOf(_Common_ModelPath_ModelPath__WEBPACK_IMPORTED_MODULE_1__.PathTokens.each);
|
|
82654
|
+
const secondPartFinalParts = secondPartParts.slice(0, lastStarIndexSecondPart);
|
|
82655
|
+
const finalIterPath = (0,_Common_ModelPath_ModelPath__WEBPACK_IMPORTED_MODULE_1__.createAbsoluteFromTokens)([...firstPart.getPathParts(), ...secondPartFinalParts]).trimLastStarIfLastToken();
|
|
82656
|
+
return new _FLang_FLangCodeDom__WEBPACK_IMPORTED_MODULE_8__.ReduceCallExpression(finalIterPath, new _FLang_FLangCodeDom__WEBPACK_IMPORTED_MODULE_8__.AnonymousFunctionDeclarationExpression(_FLang_FLangCodeDom__WEBPACK_IMPORTED_MODULE_8__.BuildInTypeExpression.hashSet, [new _FLang_FLangCodeDom__WEBPACK_IMPORTED_MODULE_8__.ArgumentDeclarationExpression("result", _FLang_FLangCodeDom__WEBPACK_IMPORTED_MODULE_8__.BuildInTypeExpression.hashSet)], new _FLang_FLangCodeDom__WEBPACK_IMPORTED_MODULE_8__.AddArrayExpression(new _FLang_FLangCodeDom__WEBPACK_IMPORTED_MODULE_8__.ArgumentReferenceExpression("result"), new _FLang_FLangCodeDom__WEBPACK_IMPORTED_MODULE_8__.HashSetExpression(new _FLang_FLangCodeDom__WEBPACK_IMPORTED_MODULE_8__.ValueReferenceExpression(adjustedSelectPath.toCurrentIteration(), "value")))), new _FLang_FLangCodeDom__WEBPACK_IMPORTED_MODULE_8__.HashSetExpression());
|
|
82657
|
+
}
|
|
82658
|
+
}
|
|
82659
|
+
const hashSetExpression = this.compileExpressionToFlangExpressionInternal(expression.expression, prefix, target, addPrecalculationRule);
|
|
82660
|
+
return new _FLang_FLangCodeDom__WEBPACK_IMPORTED_MODULE_8__.HashSetExpression(hashSetExpression);
|
|
82661
|
+
}
|
|
82497
82662
|
if (expression instanceof _AutoCalculationsGenerator_AutoCalculationsFromFormulas_KCXmlContract_Formula__WEBPACK_IMPORTED_MODULE_0__.FormulaGetPicklistValuesExpression) {
|
|
82498
82663
|
const filterColumn = this.compileExpressionToFlangExpressionInternal(expression.filterColumn.filterColumn, prefix, target, addPrecalculationRule);
|
|
82499
82664
|
const filterKey = this.compileExpressionToFlangExpressionInternal(expression.filterKey.filterKey, prefix, target, addPrecalculationRule);
|
|
@@ -82534,31 +82699,70 @@ class FormulaExpressionToFlangExpressionConverter {
|
|
|
82534
82699
|
}
|
|
82535
82700
|
return new _FLang_FLangCodeDom__WEBPACK_IMPORTED_MODULE_8__.EqExpression((0,_FLang_FlangUtils__WEBPACK_IMPORTED_MODULE_7__.castOperandToStringIfNeed)(left), (0,_FLang_FlangUtils__WEBPACK_IMPORTED_MODULE_7__.castOperandToStringIfNeed)(right));
|
|
82536
82701
|
}
|
|
82537
|
-
compileGroupSumExpressionWithCustomValueExpression(prefix, target,
|
|
82702
|
+
compileGroupSumExpressionWithCustomValueExpression(prefix, target, targetKeys, sourceKeyPath, sourceValueExpression, addPrecalculationRule) {
|
|
82538
82703
|
const matchPaths = (0,_Common_ModelPath_PathSplitHelper__WEBPACK_IMPORTED_MODULE_5__.getMatchedAndDifferentModelPaths)(target.path, sourceKeyPath);
|
|
82539
82704
|
const sourceKeyParts = sourceKeyPath.getPathPartsAsArray();
|
|
82540
82705
|
const firstPart = matchPaths.matchedPath.toCurrentIteration();
|
|
82706
|
+
let finalIterPath;
|
|
82541
82707
|
const firstPartLength = _Common_IterableUtils__WEBPACK_IMPORTED_MODULE_3__.IterUtils.count(firstPart.getPathParts());
|
|
82542
|
-
const
|
|
82543
|
-
|
|
82544
|
-
|
|
82545
|
-
|
|
82546
|
-
|
|
82547
|
-
|
|
82708
|
+
const secondParts = (0,_Common_ModelPath_ModelPath__WEBPACK_IMPORTED_MODULE_1__.createRelativeFromTokens)(sourceKeyParts.slice(firstPartLength));
|
|
82709
|
+
if (secondParts.isContainIteration() || secondParts.isContainCurrentIteration()) {
|
|
82710
|
+
const secondPartParts = (0,_Common_ModelPath_ModelPath__WEBPACK_IMPORTED_MODULE_1__.createRelativeFromTokens)(sourceKeyParts.slice(firstPartLength)).getPathPartsAsArray();
|
|
82711
|
+
const lastStarIndexSecondPart = secondPartParts.lastIndexOf(_Common_ModelPath_ModelPath__WEBPACK_IMPORTED_MODULE_1__.PathTokens.each);
|
|
82712
|
+
const secondPartFinalParts = secondPartParts.slice(0, lastStarIndexSecondPart);
|
|
82713
|
+
finalIterPath = (0,_Common_ModelPath_ModelPath__WEBPACK_IMPORTED_MODULE_1__.createAbsoluteFromTokens)([...firstPart.getPathParts(), ...secondPartFinalParts]).trimLastStarIfLastToken();
|
|
82714
|
+
} else {
|
|
82715
|
+
const predictIterMultiplisity = (0,_Common_ModelPath_ModelPath__WEBPACK_IMPORTED_MODULE_1__.createAbsoluteFromTokens)(sourceKeyParts.slice(0, firstPartLength));
|
|
82716
|
+
if (predictIterMultiplisity.getIterationRank() > 1) {
|
|
82717
|
+
/**
|
|
82718
|
+
* В зависимости от того - на каком уровне пишем groupCount
|
|
82719
|
+
* in GroupCountConstThrewMultiple
|
|
82720
|
+
* {
|
|
82721
|
+
* check all === groupCount("1", Б/С/Код);
|
|
82722
|
+
* GroupCountConstThrewMultiple/Б/__EACH__/С/__EACH__/Код
|
|
82723
|
+
* in Б
|
|
82724
|
+
* {
|
|
82725
|
+
* in С
|
|
82726
|
+
* {
|
|
82727
|
+
* check inС === groupCount(Код, Код);
|
|
82728
|
+
* GroupCountConstThrewMultiple/Б/__CURRENT__/С/__CURRENT__/Код
|
|
82729
|
+
* }
|
|
82730
|
+
* }
|
|
82731
|
+
* }
|
|
82732
|
+
* */
|
|
82733
|
+
finalIterPath = (0,_Common_ModelPath_ModelPath__WEBPACK_IMPORTED_MODULE_1__.createAbsoluteFromTokens)(predictIterMultiplisity.toCurrentIteration().getPathPartsAsArray().slice(0, firstPartLength - 1));
|
|
82734
|
+
} else {
|
|
82735
|
+
finalIterPath = (0,_Common_ModelPath_ModelPath__WEBPACK_IMPORTED_MODULE_1__.createAbsoluteFromTokens)(sourceKeyParts.slice(0, firstPartLength - 1));
|
|
82736
|
+
}
|
|
82737
|
+
}
|
|
82738
|
+
if (!finalIterPath) {
|
|
82739
|
+
throw new Error("Error occurred while trying parse path for reduce: " + firstPart.toLegacyPath());
|
|
82740
|
+
}
|
|
82741
|
+
const keys = new _FLang_FLangCodeDom__WEBPACK_IMPORTED_MODULE_8__.DeserializeEnumerationExpression([new _FLang_FLangCodeDom__WEBPACK_IMPORTED_MODULE_8__.ValueReferenceExpression(sourceKeyPath.toCurrentIteration(), "value")], new _FLang_FLangCodeDom__WEBPACK_IMPORTED_MODULE_8__.BoolLiteralExpression(true));
|
|
82742
|
+
const reduceExpression = new _FLang_FLangCodeDom__WEBPACK_IMPORTED_MODULE_8__.ReduceCallExpression(finalIterPath, new _FLang_FLangCodeDom__WEBPACK_IMPORTED_MODULE_8__.AnonymousFunctionDeclarationExpression(_FLang_FLangCodeDom__WEBPACK_IMPORTED_MODULE_8__.BuildInTypeExpression.dict, [new _FLang_FLangCodeDom__WEBPACK_IMPORTED_MODULE_8__.ArgumentDeclarationExpression("result", _FLang_FLangCodeDom__WEBPACK_IMPORTED_MODULE_8__.BuildInTypeExpression.dict)], new _FLang_FLangCodeDom__WEBPACK_IMPORTED_MODULE_8__.AddSumExpression(new _FLang_FLangCodeDom__WEBPACK_IMPORTED_MODULE_8__.ArgumentReferenceExpression("result"), keys, (0,_FLang_FlangUtils__WEBPACK_IMPORTED_MODULE_7__.castOperandToDecimalIfNeed)(sourceValueExpression))), new _FLang_FLangCodeDom__WEBPACK_IMPORTED_MODULE_8__.DictLiteralExpression());
|
|
82743
|
+
if (reduceExpression == undefined) {
|
|
82744
|
+
throw new _Common_Errors__WEBPACK_IMPORTED_MODULE_2__.NotSupportedError("Target and source must be in different collections! " + "\n" + `Target: ${target}` + "\n" + `SourceKey: ${sourceKeyPath}`);
|
|
82745
|
+
}
|
|
82746
|
+
const deserializedKeys = targetKeys.items[0] instanceof _AutoCalculationsGenerator_AutoCalculationsFromFormulas_KCXmlContract_Formula__WEBPACK_IMPORTED_MODULE_0__.FormulaGetPicklistValuesExpression ? this.compileExpressionToFlangExpressionInternal(targetKeys.items[0], prefix, target, addPrecalculationRule) : new _FLang_FLangCodeDom__WEBPACK_IMPORTED_MODULE_8__.DeserializeEnumerationExpression(targetKeys.items.map(i => this.compileEnumerationItem(i, prefix, target, addPrecalculationRule)), new _FLang_FLangCodeDom__WEBPACK_IMPORTED_MODULE_8__.BoolLiteralExpression(true));
|
|
82747
|
+
const finalValueExpression = new _FLang_FLangCodeDom__WEBPACK_IMPORTED_MODULE_8__.GetExpression(reduceExpression, deserializedKeys !== null && deserializedKeys !== void 0 ? deserializedKeys : (0,_Common_TypingUtils__WEBPACK_IMPORTED_MODULE_6__.reject)());
|
|
82548
82748
|
return finalValueExpression;
|
|
82549
82749
|
}
|
|
82750
|
+
compileEnumerationItem(expression, prefix, target, addPrecalculationRule) {
|
|
82751
|
+
if (expression instanceof _AutoCalculationsGenerator_AutoCalculationsFromFormulas_KCXmlContract_Formula__WEBPACK_IMPORTED_MODULE_0__.FormulaArgumentExpression) {
|
|
82752
|
+
return this.compiledArgumentExpression(prefix, target, expression.select, "string", addPrecalculationRule);
|
|
82753
|
+
}
|
|
82754
|
+
return this.compileExpressionToFlangExpressionInternal(expression, prefix, target, addPrecalculationRule);
|
|
82755
|
+
}
|
|
82550
82756
|
compileGroupSumExpression(prefix, target, expression, addPrecalculationRule) {
|
|
82551
|
-
const targetKeyPath = this.preparePathAndAdjustMultiplicity(prefix, expression.targetKeyPath);
|
|
82552
82757
|
const sourceKeyPath = this.preparePathAndAdjustMultiplicity(prefix, expression.sourceKeyPath);
|
|
82553
82758
|
const sourceValuePath = this.preparePathAndAdjustMultiplicity(prefix, expression.sourceValuePath);
|
|
82554
82759
|
const sourceValueExpression = new _FLang_FLangCodeDom__WEBPACK_IMPORTED_MODULE_8__.ValueReferenceExpression(sourceValuePath.toCurrentIteration(), "value");
|
|
82555
|
-
return this.compileGroupSumExpressionWithCustomValueExpression(prefix, target,
|
|
82760
|
+
return this.compileGroupSumExpressionWithCustomValueExpression(prefix, target, expression.targetKeys, sourceKeyPath, sourceValueExpression, addPrecalculationRule);
|
|
82556
82761
|
}
|
|
82557
82762
|
compileGroupCountExpression(prefix, target, expression, addPrecalculationRule) {
|
|
82558
|
-
const targetKeyPath = this.preparePathAndAdjustMultiplicity(prefix, expression.targetKeyPath);
|
|
82559
82763
|
const sourceKeyPath = this.preparePathAndAdjustMultiplicity(prefix, expression.sourceKeyPath);
|
|
82560
82764
|
const sourceValueExpression = new _FLang_FLangCodeDom__WEBPACK_IMPORTED_MODULE_8__.DecimalLiteralExpression(1);
|
|
82561
|
-
return this.compileGroupSumExpressionWithCustomValueExpression(prefix, target,
|
|
82765
|
+
return this.compileGroupSumExpressionWithCustomValueExpression(prefix, target, expression.targetKeys, sourceKeyPath, sourceValueExpression, addPrecalculationRule);
|
|
82562
82766
|
}
|
|
82563
82767
|
compiledArgumentExpression(prefix, target, selectPath, selectType, addPrecalculationRule, aggregationFunction = "Sum") {
|
|
82564
82768
|
const adjustedSelectPath = this.preparePathAndAdjustMultiplicity(prefix, selectPath);
|
|
@@ -111238,6 +111442,79 @@ function absoluteModelPathGenerator(path) {
|
|
|
111238
111442
|
return `ap([${path.getPathPartsAsArray().map(x => x === _Common_ModelPath_ModelPath__WEBPACK_IMPORTED_MODULE_8__.PathTokens.each ? "each" : x === _Common_ModelPath_ModelPath__WEBPACK_IMPORTED_MODULE_8__.PathTokens.current ? "current" : JSON.stringify(x)).join(", ")}])`;
|
|
111239
111443
|
}
|
|
111240
111444
|
|
|
111445
|
+
/***/ }),
|
|
111446
|
+
|
|
111447
|
+
/***/ "./node_modules/balanced-match/index.js":
|
|
111448
|
+
/*!**********************************************!*\
|
|
111449
|
+
!*** ./node_modules/balanced-match/index.js ***!
|
|
111450
|
+
\**********************************************/
|
|
111451
|
+
/***/ ((module) => {
|
|
111452
|
+
|
|
111453
|
+
"use strict";
|
|
111454
|
+
|
|
111455
|
+
module.exports = balanced;
|
|
111456
|
+
function balanced(a, b, str) {
|
|
111457
|
+
if (a instanceof RegExp) a = maybeMatch(a, str);
|
|
111458
|
+
if (b instanceof RegExp) b = maybeMatch(b, str);
|
|
111459
|
+
|
|
111460
|
+
var r = range(a, b, str);
|
|
111461
|
+
|
|
111462
|
+
return r && {
|
|
111463
|
+
start: r[0],
|
|
111464
|
+
end: r[1],
|
|
111465
|
+
pre: str.slice(0, r[0]),
|
|
111466
|
+
body: str.slice(r[0] + a.length, r[1]),
|
|
111467
|
+
post: str.slice(r[1] + b.length)
|
|
111468
|
+
};
|
|
111469
|
+
}
|
|
111470
|
+
|
|
111471
|
+
function maybeMatch(reg, str) {
|
|
111472
|
+
var m = str.match(reg);
|
|
111473
|
+
return m ? m[0] : null;
|
|
111474
|
+
}
|
|
111475
|
+
|
|
111476
|
+
balanced.range = range;
|
|
111477
|
+
function range(a, b, str) {
|
|
111478
|
+
var begs, beg, left, right, result;
|
|
111479
|
+
var ai = str.indexOf(a);
|
|
111480
|
+
var bi = str.indexOf(b, ai + 1);
|
|
111481
|
+
var i = ai;
|
|
111482
|
+
|
|
111483
|
+
if (ai >= 0 && bi > 0) {
|
|
111484
|
+
if(a===b) {
|
|
111485
|
+
return [ai, bi];
|
|
111486
|
+
}
|
|
111487
|
+
begs = [];
|
|
111488
|
+
left = str.length;
|
|
111489
|
+
|
|
111490
|
+
while (i >= 0 && !result) {
|
|
111491
|
+
if (i == ai) {
|
|
111492
|
+
begs.push(i);
|
|
111493
|
+
ai = str.indexOf(a, i + 1);
|
|
111494
|
+
} else if (begs.length == 1) {
|
|
111495
|
+
result = [ begs.pop(), bi ];
|
|
111496
|
+
} else {
|
|
111497
|
+
beg = begs.pop();
|
|
111498
|
+
if (beg < left) {
|
|
111499
|
+
left = beg;
|
|
111500
|
+
right = bi;
|
|
111501
|
+
}
|
|
111502
|
+
|
|
111503
|
+
bi = str.indexOf(b, i + 1);
|
|
111504
|
+
}
|
|
111505
|
+
|
|
111506
|
+
i = ai < bi && ai >= 0 ? ai : bi;
|
|
111507
|
+
}
|
|
111508
|
+
|
|
111509
|
+
if (begs.length) {
|
|
111510
|
+
result = [ left, right ];
|
|
111511
|
+
}
|
|
111512
|
+
}
|
|
111513
|
+
|
|
111514
|
+
return result;
|
|
111515
|
+
}
|
|
111516
|
+
|
|
111517
|
+
|
|
111241
111518
|
/***/ }),
|
|
111242
111519
|
|
|
111243
111520
|
/***/ "./node_modules/brace-expansion/index.js":
|
|
@@ -111247,7 +111524,7 @@ function absoluteModelPathGenerator(path) {
|
|
|
111247
111524
|
/***/ ((module, __unused_webpack_exports, __webpack_require__) => {
|
|
111248
111525
|
|
|
111249
111526
|
var concatMap = __webpack_require__(/*! concat-map */ "./node_modules/concat-map/index.js");
|
|
111250
|
-
var balanced = __webpack_require__(/*! balanced-match */ "./node_modules/
|
|
111527
|
+
var balanced = __webpack_require__(/*! balanced-match */ "./node_modules/balanced-match/index.js");
|
|
111251
111528
|
|
|
111252
111529
|
module.exports = expandTop;
|
|
111253
111530
|
|
|
@@ -111449,79 +111726,6 @@ function expand(str, isTop) {
|
|
|
111449
111726
|
|
|
111450
111727
|
|
|
111451
111728
|
|
|
111452
|
-
/***/ }),
|
|
111453
|
-
|
|
111454
|
-
/***/ "./node_modules/brace-expansion/node_modules/balanced-match/index.js":
|
|
111455
|
-
/*!***************************************************************************!*\
|
|
111456
|
-
!*** ./node_modules/brace-expansion/node_modules/balanced-match/index.js ***!
|
|
111457
|
-
\***************************************************************************/
|
|
111458
|
-
/***/ ((module) => {
|
|
111459
|
-
|
|
111460
|
-
"use strict";
|
|
111461
|
-
|
|
111462
|
-
module.exports = balanced;
|
|
111463
|
-
function balanced(a, b, str) {
|
|
111464
|
-
if (a instanceof RegExp) a = maybeMatch(a, str);
|
|
111465
|
-
if (b instanceof RegExp) b = maybeMatch(b, str);
|
|
111466
|
-
|
|
111467
|
-
var r = range(a, b, str);
|
|
111468
|
-
|
|
111469
|
-
return r && {
|
|
111470
|
-
start: r[0],
|
|
111471
|
-
end: r[1],
|
|
111472
|
-
pre: str.slice(0, r[0]),
|
|
111473
|
-
body: str.slice(r[0] + a.length, r[1]),
|
|
111474
|
-
post: str.slice(r[1] + b.length)
|
|
111475
|
-
};
|
|
111476
|
-
}
|
|
111477
|
-
|
|
111478
|
-
function maybeMatch(reg, str) {
|
|
111479
|
-
var m = str.match(reg);
|
|
111480
|
-
return m ? m[0] : null;
|
|
111481
|
-
}
|
|
111482
|
-
|
|
111483
|
-
balanced.range = range;
|
|
111484
|
-
function range(a, b, str) {
|
|
111485
|
-
var begs, beg, left, right, result;
|
|
111486
|
-
var ai = str.indexOf(a);
|
|
111487
|
-
var bi = str.indexOf(b, ai + 1);
|
|
111488
|
-
var i = ai;
|
|
111489
|
-
|
|
111490
|
-
if (ai >= 0 && bi > 0) {
|
|
111491
|
-
if(a===b) {
|
|
111492
|
-
return [ai, bi];
|
|
111493
|
-
}
|
|
111494
|
-
begs = [];
|
|
111495
|
-
left = str.length;
|
|
111496
|
-
|
|
111497
|
-
while (i >= 0 && !result) {
|
|
111498
|
-
if (i == ai) {
|
|
111499
|
-
begs.push(i);
|
|
111500
|
-
ai = str.indexOf(a, i + 1);
|
|
111501
|
-
} else if (begs.length == 1) {
|
|
111502
|
-
result = [ begs.pop(), bi ];
|
|
111503
|
-
} else {
|
|
111504
|
-
beg = begs.pop();
|
|
111505
|
-
if (beg < left) {
|
|
111506
|
-
left = beg;
|
|
111507
|
-
right = bi;
|
|
111508
|
-
}
|
|
111509
|
-
|
|
111510
|
-
bi = str.indexOf(b, i + 1);
|
|
111511
|
-
}
|
|
111512
|
-
|
|
111513
|
-
i = ai < bi && ai >= 0 ? ai : bi;
|
|
111514
|
-
}
|
|
111515
|
-
|
|
111516
|
-
if (begs.length) {
|
|
111517
|
-
result = [ left, right ];
|
|
111518
|
-
}
|
|
111519
|
-
}
|
|
111520
|
-
|
|
111521
|
-
return result;
|
|
111522
|
-
}
|
|
111523
|
-
|
|
111524
|
-
|
|
111525
111729
|
/***/ }),
|
|
111526
111730
|
|
|
111527
111731
|
/***/ "./node_modules/chalk/node_modules/ansi-styles/index.js":
|