@react-querybuilder/core 8.14.0 → 8.14.1
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/{basic-Dxm6jWFu.d.ts → basic-BXJVfD0P.d.ts} +68 -50
- package/dist/{basic-GFsWfi0Z.d.mts → basic-CNIjb6rI.d.mts} +68 -50
- package/dist/cjs/react-querybuilder_core.cjs.development.d.ts +178 -127
- package/dist/cjs/react-querybuilder_core.cjs.development.js +299 -251
- package/dist/cjs/react-querybuilder_core.cjs.development.js.map +1 -1
- package/dist/cjs/react-querybuilder_core.cjs.production.d.ts +178 -127
- package/dist/cjs/react-querybuilder_core.cjs.production.js +1 -1
- package/dist/cjs/react-querybuilder_core.cjs.production.js.map +1 -1
- package/dist/{convertQuery-DAj92cbM.mjs → convertQuery-B5Qm_6ut.mjs} +30 -22
- package/dist/convertQuery-B5Qm_6ut.mjs.map +1 -0
- package/dist/convertQuery-DfZehtnd.js +94 -0
- package/dist/convertQuery-DfZehtnd.js.map +1 -0
- package/dist/{export-_wipiqJZ.d.mts → export-6x7MilFR.d.mts} +2 -3
- package/dist/{export-6VbkhCrf.d.ts → export-CpJOQuZv.d.ts} +2 -3
- package/dist/formatQuery.d.mts +4 -3
- package/dist/formatQuery.d.ts +4 -3
- package/dist/formatQuery.js +18 -50
- package/dist/formatQuery.js.map +1 -1
- package/dist/formatQuery.mjs +17 -49
- package/dist/formatQuery.mjs.map +1 -1
- package/dist/{import-D8M7awTx.d.ts → import-B5Iq8XmL.d.ts} +2 -3
- package/dist/{import-DRmutNSr.d.mts → import-Bltb2mT4.d.mts} +2 -3
- package/dist/{isRuleGroup-Cjk1Q2mj.js → isRuleGroup-BCwaLzDj.js} +38 -40
- package/dist/isRuleGroup-BCwaLzDj.js.map +1 -0
- package/dist/{isRuleGroup-DztIOOKa.mjs → isRuleGroup-LzP0HCKh.mjs} +2 -4
- package/dist/isRuleGroup-LzP0HCKh.mjs.map +1 -0
- package/dist/parseCEL.d.mts +2 -2
- package/dist/parseCEL.d.ts +2 -2
- package/dist/parseCEL.js +9 -11
- package/dist/parseCEL.js.map +1 -1
- package/dist/parseCEL.mjs +7 -10
- package/dist/parseCEL.mjs.map +1 -1
- package/dist/parseJSONata.d.mts +2 -3
- package/dist/parseJSONata.d.ts +2 -3
- package/dist/parseJSONata.js +37 -5611
- package/dist/parseJSONata.js.map +1 -1
- package/dist/parseJSONata.mjs +11 -13
- package/dist/parseJSONata.mjs.map +1 -1
- package/dist/parseJsonLogic.d.mts +3 -4
- package/dist/parseJsonLogic.d.ts +3 -4
- package/dist/parseJsonLogic.js +20 -21
- package/dist/parseJsonLogic.js.map +1 -1
- package/dist/parseJsonLogic.mjs +19 -21
- package/dist/parseJsonLogic.mjs.map +1 -1
- package/dist/parseMongoDB.d.mts +2 -3
- package/dist/parseMongoDB.d.ts +2 -3
- package/dist/parseMongoDB.js +7 -8
- package/dist/parseMongoDB.js.map +1 -1
- package/dist/parseMongoDB.mjs +6 -8
- package/dist/parseMongoDB.mjs.map +1 -1
- package/dist/parseSQL.d.mts +2 -3
- package/dist/parseSQL.d.ts +2 -3
- package/dist/parseSQL.js +9 -11
- package/dist/parseSQL.js.map +1 -1
- package/dist/parseSQL.mjs +7 -10
- package/dist/parseSQL.mjs.map +1 -1
- package/dist/parseSpEL.d.mts +2 -3
- package/dist/parseSpEL.d.ts +2 -3
- package/dist/parseSpEL.js +11 -2700
- package/dist/parseSpEL.js.map +1 -1
- package/dist/parseSpEL.mjs +7 -9
- package/dist/parseSpEL.mjs.map +1 -1
- package/dist/{prepareQueryObjects-BxWvIPI4.js → prepareQueryObjects-Dc8rqsYM.js} +49 -34
- package/dist/prepareQueryObjects-Dc8rqsYM.js.map +1 -0
- package/dist/{prepareQueryObjects-BBayjIn2.mjs → prepareQueryObjects-tMukQHT9.mjs} +34 -18
- package/dist/prepareQueryObjects-tMukQHT9.mjs.map +1 -0
- package/dist/react-querybuilder_core.d.mts +178 -127
- package/dist/react-querybuilder_core.legacy-esm.d.ts +178 -127
- package/dist/react-querybuilder_core.legacy-esm.js +296 -279
- package/dist/react-querybuilder_core.legacy-esm.js.map +1 -1
- package/dist/react-querybuilder_core.mjs +288 -247
- package/dist/react-querybuilder_core.mjs.map +1 -1
- package/dist/react-querybuilder_core.production.d.mts +178 -127
- package/dist/react-querybuilder_core.production.mjs +1 -1
- package/dist/react-querybuilder_core.production.mjs.map +1 -1
- package/dist/transformQuery.d.mts +1 -2
- package/dist/transformQuery.d.ts +1 -2
- package/dist/transformQuery.js +44 -2
- package/dist/transformQuery.js.map +1 -0
- package/dist/transformQuery.mjs +43 -2
- package/dist/transformQuery.mjs.map +1 -0
- package/dist/{utils-nQU7WCM9.mjs → utils-DQoYnxpa.mjs} +32 -84
- package/dist/utils-DQoYnxpa.mjs.map +1 -0
- package/dist/{utils-CR1ToTMW.js → utils-EsYRkPtf.js} +182 -246
- package/dist/utils-EsYRkPtf.js.map +1 -0
- package/package.json +25 -17
- package/dist/chunk-U64pC571.js +0 -41
- package/dist/convertQuery-DAj92cbM.mjs.map +0 -1
- package/dist/convertQuery-DRldbzhZ.js +0 -87
- package/dist/convertQuery-DRldbzhZ.js.map +0 -1
- package/dist/isRuleGroup-Cjk1Q2mj.js.map +0 -1
- package/dist/isRuleGroup-DztIOOKa.mjs.map +0 -1
- package/dist/prepareQueryObjects-BBayjIn2.mjs.map +0 -1
- package/dist/prepareQueryObjects-BxWvIPI4.js.map +0 -1
- package/dist/transformQuery-ClBRfnFg.js +0 -54
- package/dist/transformQuery-ClBRfnFg.js.map +0 -1
- package/dist/transformQuery-DUpbpqjX.mjs +0 -48
- package/dist/transformQuery-DUpbpqjX.mjs.map +0 -1
- package/dist/utils-CR1ToTMW.js.map +0 -1
- package/dist/utils-nQU7WCM9.mjs.map +0 -1
|
@@ -1,32 +1,8 @@
|
|
|
1
|
-
const
|
|
2
|
-
|
|
1
|
+
const require_isRuleGroup = require("./isRuleGroup-BCwaLzDj.js");
|
|
2
|
+
require("./parseJSONata.js");
|
|
3
3
|
let numeric_quantity = require("numeric-quantity");
|
|
4
|
-
let immer = require("immer");
|
|
5
|
-
|
|
6
4
|
//#region src/defaults.ts
|
|
7
5
|
/**
|
|
8
|
-
* @group Defaults
|
|
9
|
-
*/
|
|
10
|
-
const defaultPlaceholderName = "~";
|
|
11
|
-
/**
|
|
12
|
-
* Default `name` for placeholder option in the `fields` array.
|
|
13
|
-
*
|
|
14
|
-
* @group Defaults
|
|
15
|
-
*/
|
|
16
|
-
const defaultPlaceholderFieldName = defaultPlaceholderName;
|
|
17
|
-
/**
|
|
18
|
-
* Default `name` for placeholder option in the `operators` array.
|
|
19
|
-
*
|
|
20
|
-
* @group Defaults
|
|
21
|
-
*/
|
|
22
|
-
const defaultPlaceholderOperatorName = defaultPlaceholderName;
|
|
23
|
-
/**
|
|
24
|
-
* Default character used to `.join` and `.split` arrays.
|
|
25
|
-
*
|
|
26
|
-
* @group Defaults
|
|
27
|
-
*/
|
|
28
|
-
const defaultJoinChar = ",";
|
|
29
|
-
/**
|
|
30
6
|
* Map of default operators to their respective opposite/negating operators.
|
|
31
7
|
*
|
|
32
8
|
* @group Defaults
|
|
@@ -51,31 +27,6 @@ const defaultOperatorNegationMap = {
|
|
|
51
27
|
notNull: "null",
|
|
52
28
|
null: "notNull"
|
|
53
29
|
};
|
|
54
|
-
/**
|
|
55
|
-
* Default combinator list.
|
|
56
|
-
*
|
|
57
|
-
* @group Defaults
|
|
58
|
-
*/
|
|
59
|
-
const defaultCombinators = [{
|
|
60
|
-
name: "and",
|
|
61
|
-
value: "and",
|
|
62
|
-
label: "AND"
|
|
63
|
-
}, {
|
|
64
|
-
name: "or",
|
|
65
|
-
value: "or",
|
|
66
|
-
label: "OR"
|
|
67
|
-
}];
|
|
68
|
-
/**
|
|
69
|
-
* Default combinator list, with `XOR` added.
|
|
70
|
-
*
|
|
71
|
-
* @group Defaults
|
|
72
|
-
*/
|
|
73
|
-
const defaultCombinatorsExtended = [...defaultCombinators, {
|
|
74
|
-
name: "xor",
|
|
75
|
-
value: "xor",
|
|
76
|
-
label: "XOR"
|
|
77
|
-
}];
|
|
78
|
-
|
|
79
30
|
//#endregion
|
|
80
31
|
//#region src/utils/arrayUtils.ts
|
|
81
32
|
/**
|
|
@@ -90,7 +41,7 @@ const defaultCombinatorsExtended = [...defaultCombinators, {
|
|
|
90
41
|
* // would return
|
|
91
42
|
* ['this,,that', '', 'the other', '', '', ',']
|
|
92
43
|
*/
|
|
93
|
-
const splitBy = (str, splitChar =
|
|
44
|
+
const splitBy = (str, splitChar = ",") => typeof str === "string" ? str.split(`\\${splitChar}`).map((c) => c.split(splitChar)).reduce((prev, curr, idx) => {
|
|
94
45
|
if (idx === 0) return curr;
|
|
95
46
|
return [
|
|
96
47
|
...prev.slice(0, -1),
|
|
@@ -111,7 +62,7 @@ const splitBy = (str, splitChar = defaultJoinChar) => typeof str === "string" ?
|
|
|
111
62
|
* // would return
|
|
112
63
|
* 'this\\,\\,that, , the other, , , \\,'
|
|
113
64
|
*/
|
|
114
|
-
const joinWith = (strArr, joinChar =
|
|
65
|
+
const joinWith = (strArr, joinChar = ",") => strArr.map((str) => `${str ?? ""}`.replaceAll(joinChar[0], `\\${joinChar[0]}`)).join(joinChar);
|
|
115
66
|
/**
|
|
116
67
|
* Trims the value if it is a string. Otherwise returns the value as is.
|
|
117
68
|
*/
|
|
@@ -120,8 +71,7 @@ const trimIfString = (val) => typeof val === "string" ? val.trim() : val;
|
|
|
120
71
|
* Splits a string by comma then trims each element. Arrays are returned as is except
|
|
121
72
|
* any string elements are trimmed.
|
|
122
73
|
*/
|
|
123
|
-
const toArray = (
|
|
124
|
-
|
|
74
|
+
const toArray = (a, { retainEmptyStrings } = {}) => Array.isArray(a) ? a.map((v) => trimIfString(v)) : typeof a === "string" ? splitBy(a, ",").filter(retainEmptyStrings ? () => true : (s) => !/^\s*$/.test(s)).map((s) => s.trim()) : typeof a === "number" ? [a] : [];
|
|
125
75
|
//#endregion
|
|
126
76
|
//#region src/utils/parseNumber.ts
|
|
127
77
|
/**
|
|
@@ -141,7 +91,6 @@ const parseNumber = (val, { parseNumbers, bigIntOnOverflow } = {}) => {
|
|
|
141
91
|
});
|
|
142
92
|
return typeof valAsNum === "bigint" || !Number.isNaN(valAsNum) ? valAsNum : val;
|
|
143
93
|
};
|
|
144
|
-
|
|
145
94
|
//#endregion
|
|
146
95
|
//#region src/utils/objectUtils.ts
|
|
147
96
|
/**
|
|
@@ -150,7 +99,6 @@ const parseNumber = (val, { parseNumbers, bigIntOnOverflow } = {}) => {
|
|
|
150
99
|
* [Original source](https://github.com/sindresorhus/ts-extras/blob/44f57392c5f027268330771996c4fdf9260b22d6/source/object-keys.ts)
|
|
151
100
|
*/
|
|
152
101
|
const objectKeys = Object.keys;
|
|
153
|
-
|
|
154
102
|
//#endregion
|
|
155
103
|
//#region src/utils/optGroupUtils.ts
|
|
156
104
|
const isOptionWithName = (opt) => require_isRuleGroup.isPojo(opt) && "name" in opt && typeof opt.name === "string";
|
|
@@ -162,24 +110,23 @@ const isOptionWithValue = (opt) => require_isRuleGroup.isPojo(opt) && "value" in
|
|
|
162
110
|
* @group Option Lists
|
|
163
111
|
*/
|
|
164
112
|
function toFullOption(opt, baseProperties, labelMap) {
|
|
165
|
-
|
|
166
|
-
|
|
167
|
-
|
|
168
|
-
|
|
169
|
-
|
|
170
|
-
|
|
171
|
-
|
|
172
|
-
|
|
173
|
-
|
|
174
|
-
|
|
175
|
-
|
|
176
|
-
|
|
177
|
-
|
|
178
|
-
|
|
179
|
-
|
|
180
|
-
|
|
181
|
-
|
|
182
|
-
})(opt);
|
|
113
|
+
if (typeof opt === "string") return {
|
|
114
|
+
...baseProperties,
|
|
115
|
+
name: opt,
|
|
116
|
+
value: opt,
|
|
117
|
+
label: labelMap?.[opt] ?? opt
|
|
118
|
+
};
|
|
119
|
+
const idObj = {};
|
|
120
|
+
let needsUpdating = !!baseProperties;
|
|
121
|
+
if (isOptionWithName(opt) && !isOptionWithValue(opt)) {
|
|
122
|
+
idObj.value = opt.name;
|
|
123
|
+
needsUpdating = true;
|
|
124
|
+
} else if (!isOptionWithName(opt) && isOptionWithValue(opt)) {
|
|
125
|
+
idObj.name = opt.value;
|
|
126
|
+
needsUpdating = true;
|
|
127
|
+
}
|
|
128
|
+
if (needsUpdating) return Object.assign({}, baseProperties, opt, idObj);
|
|
129
|
+
return opt;
|
|
183
130
|
}
|
|
184
131
|
/**
|
|
185
132
|
* Converts an {@link OptionList} or {@link FlexibleOptionList} into a {@link FullOptionList}.
|
|
@@ -189,10 +136,12 @@ function toFullOption(opt, baseProperties, labelMap) {
|
|
|
189
136
|
*/
|
|
190
137
|
function toFullOptionList(optList, baseProperties, labelMap) {
|
|
191
138
|
if (!Array.isArray(optList)) return [];
|
|
192
|
-
|
|
193
|
-
|
|
194
|
-
|
|
195
|
-
|
|
139
|
+
const list = optList;
|
|
140
|
+
if (isFlexibleOptionGroupArray(list)) return list.map((optGroup) => ({
|
|
141
|
+
...optGroup,
|
|
142
|
+
options: optGroup.options.map((opt) => toFullOption(opt, baseProperties, labelMap))
|
|
143
|
+
}));
|
|
144
|
+
return list.map((opt) => toFullOption(opt, baseProperties, labelMap));
|
|
196
145
|
}
|
|
197
146
|
/**
|
|
198
147
|
* Generates a new array of objects with duplicates removed based
|
|
@@ -247,7 +196,6 @@ function getOption(arr, name) {
|
|
|
247
196
|
* @group Option Lists
|
|
248
197
|
*/
|
|
249
198
|
const toFlatOptionArray = (arr) => uniqByIdentifier(isOptionGroupArray(arr) ? arr.flatMap((og) => og.options) : arr);
|
|
250
|
-
|
|
251
199
|
//#endregion
|
|
252
200
|
//#region src/utils/getParseNumberMethod.ts
|
|
253
201
|
const getParseNumberMethod = ({ parseNumbers, inputType }) => {
|
|
@@ -258,7 +206,6 @@ const getParseNumberMethod = ({ parseNumbers, inputType }) => {
|
|
|
258
206
|
}
|
|
259
207
|
return parseNumbers ? "strict" : false;
|
|
260
208
|
};
|
|
261
|
-
|
|
262
209
|
//#endregion
|
|
263
210
|
//#region src/utils/formatQuery/utils.ts
|
|
264
211
|
/**
|
|
@@ -340,7 +287,8 @@ const jsonLogicAdditionalOperators = {
|
|
|
340
287
|
endsWith: (a, b) => typeof a === "string" && a.endsWith(b)
|
|
341
288
|
};
|
|
342
289
|
/**
|
|
343
|
-
*
|
|
290
|
+
* Returns a new query object with all `string`-type `value` properties converted
|
|
291
|
+
* to `number` where appropriate.
|
|
344
292
|
*
|
|
345
293
|
* Used by {@link formatQuery} for the `json*` formats when `parseNumbers` is `true`.
|
|
346
294
|
*
|
|
@@ -509,198 +457,186 @@ const bigIntJsonStringifyReplacer = (_key, value) => typeof value === "bigint" ?
|
|
|
509
457
|
* @see https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/BigInt#use_within_json
|
|
510
458
|
*/
|
|
511
459
|
const bigIntJsonParseReviver = (_key, value) => require_isRuleGroup.isPojo(value) && Object.keys(value).length === 1 && typeof value.$bigint === "string" ? BigInt(value.$bigint) : value;
|
|
512
|
-
|
|
513
460
|
//#endregion
|
|
514
|
-
Object.defineProperty(exports,
|
|
515
|
-
|
|
516
|
-
|
|
517
|
-
|
|
518
|
-
|
|
519
|
-
});
|
|
520
|
-
Object.defineProperty(exports, 'bigIntJsonStringifyReplacer', {
|
|
521
|
-
enumerable: true,
|
|
522
|
-
get: function () {
|
|
523
|
-
return bigIntJsonStringifyReplacer;
|
|
524
|
-
}
|
|
525
|
-
});
|
|
526
|
-
Object.defineProperty(exports, 'celCombinatorMap', {
|
|
527
|
-
enumerable: true,
|
|
528
|
-
get: function () {
|
|
529
|
-
return celCombinatorMap;
|
|
530
|
-
}
|
|
461
|
+
Object.defineProperty(exports, "bigIntJsonParseReviver", {
|
|
462
|
+
enumerable: true,
|
|
463
|
+
get: function() {
|
|
464
|
+
return bigIntJsonParseReviver;
|
|
465
|
+
}
|
|
531
466
|
});
|
|
532
|
-
Object.defineProperty(exports,
|
|
533
|
-
|
|
534
|
-
|
|
535
|
-
|
|
536
|
-
|
|
467
|
+
Object.defineProperty(exports, "bigIntJsonStringifyReplacer", {
|
|
468
|
+
enumerable: true,
|
|
469
|
+
get: function() {
|
|
470
|
+
return bigIntJsonStringifyReplacer;
|
|
471
|
+
}
|
|
537
472
|
});
|
|
538
|
-
Object.defineProperty(exports,
|
|
539
|
-
|
|
540
|
-
|
|
541
|
-
|
|
542
|
-
|
|
473
|
+
Object.defineProperty(exports, "celCombinatorMap", {
|
|
474
|
+
enumerable: true,
|
|
475
|
+
get: function() {
|
|
476
|
+
return celCombinatorMap;
|
|
477
|
+
}
|
|
543
478
|
});
|
|
544
|
-
Object.defineProperty(exports,
|
|
545
|
-
|
|
546
|
-
|
|
547
|
-
|
|
548
|
-
|
|
479
|
+
Object.defineProperty(exports, "defaultNLTranslations", {
|
|
480
|
+
enumerable: true,
|
|
481
|
+
get: function() {
|
|
482
|
+
return defaultNLTranslations;
|
|
483
|
+
}
|
|
549
484
|
});
|
|
550
|
-
Object.defineProperty(exports,
|
|
551
|
-
|
|
552
|
-
|
|
553
|
-
|
|
554
|
-
|
|
485
|
+
Object.defineProperty(exports, "defaultOperatorNegationMap", {
|
|
486
|
+
enumerable: true,
|
|
487
|
+
get: function() {
|
|
488
|
+
return defaultOperatorNegationMap;
|
|
489
|
+
}
|
|
555
490
|
});
|
|
556
|
-
Object.defineProperty(exports,
|
|
557
|
-
|
|
558
|
-
|
|
559
|
-
|
|
560
|
-
|
|
491
|
+
Object.defineProperty(exports, "getNLTranslataion", {
|
|
492
|
+
enumerable: true,
|
|
493
|
+
get: function() {
|
|
494
|
+
return getNLTranslataion;
|
|
495
|
+
}
|
|
561
496
|
});
|
|
562
|
-
Object.defineProperty(exports,
|
|
563
|
-
|
|
564
|
-
|
|
565
|
-
|
|
566
|
-
|
|
497
|
+
Object.defineProperty(exports, "getOption", {
|
|
498
|
+
enumerable: true,
|
|
499
|
+
get: function() {
|
|
500
|
+
return getOption;
|
|
501
|
+
}
|
|
567
502
|
});
|
|
568
|
-
Object.defineProperty(exports,
|
|
569
|
-
|
|
570
|
-
|
|
571
|
-
|
|
572
|
-
|
|
503
|
+
Object.defineProperty(exports, "getParseNumberMethod", {
|
|
504
|
+
enumerable: true,
|
|
505
|
+
get: function() {
|
|
506
|
+
return getParseNumberMethod;
|
|
507
|
+
}
|
|
573
508
|
});
|
|
574
|
-
Object.defineProperty(exports,
|
|
575
|
-
|
|
576
|
-
|
|
577
|
-
|
|
578
|
-
|
|
509
|
+
Object.defineProperty(exports, "getQuoteFieldNamesWithArray", {
|
|
510
|
+
enumerable: true,
|
|
511
|
+
get: function() {
|
|
512
|
+
return getQuoteFieldNamesWithArray;
|
|
513
|
+
}
|
|
579
514
|
});
|
|
580
|
-
Object.defineProperty(exports,
|
|
581
|
-
|
|
582
|
-
|
|
583
|
-
|
|
584
|
-
|
|
515
|
+
Object.defineProperty(exports, "getQuotedFieldName", {
|
|
516
|
+
enumerable: true,
|
|
517
|
+
get: function() {
|
|
518
|
+
return getQuotedFieldName;
|
|
519
|
+
}
|
|
585
520
|
});
|
|
586
|
-
Object.defineProperty(exports,
|
|
587
|
-
|
|
588
|
-
|
|
589
|
-
|
|
590
|
-
|
|
521
|
+
Object.defineProperty(exports, "isFlexibleOptionArray", {
|
|
522
|
+
enumerable: true,
|
|
523
|
+
get: function() {
|
|
524
|
+
return isFlexibleOptionArray;
|
|
525
|
+
}
|
|
591
526
|
});
|
|
592
|
-
Object.defineProperty(exports,
|
|
593
|
-
|
|
594
|
-
|
|
595
|
-
|
|
596
|
-
|
|
527
|
+
Object.defineProperty(exports, "isFlexibleOptionGroupArray", {
|
|
528
|
+
enumerable: true,
|
|
529
|
+
get: function() {
|
|
530
|
+
return isFlexibleOptionGroupArray;
|
|
531
|
+
}
|
|
597
532
|
});
|
|
598
|
-
Object.defineProperty(exports,
|
|
599
|
-
|
|
600
|
-
|
|
601
|
-
|
|
602
|
-
|
|
533
|
+
Object.defineProperty(exports, "isValidValue", {
|
|
534
|
+
enumerable: true,
|
|
535
|
+
get: function() {
|
|
536
|
+
return isValidValue;
|
|
537
|
+
}
|
|
603
538
|
});
|
|
604
|
-
Object.defineProperty(exports,
|
|
605
|
-
|
|
606
|
-
|
|
607
|
-
|
|
608
|
-
|
|
539
|
+
Object.defineProperty(exports, "isValueProcessorLegacy", {
|
|
540
|
+
enumerable: true,
|
|
541
|
+
get: function() {
|
|
542
|
+
return isValueProcessorLegacy;
|
|
543
|
+
}
|
|
609
544
|
});
|
|
610
|
-
Object.defineProperty(exports,
|
|
611
|
-
|
|
612
|
-
|
|
613
|
-
|
|
614
|
-
|
|
545
|
+
Object.defineProperty(exports, "joinWith", {
|
|
546
|
+
enumerable: true,
|
|
547
|
+
get: function() {
|
|
548
|
+
return joinWith;
|
|
549
|
+
}
|
|
615
550
|
});
|
|
616
|
-
Object.defineProperty(exports,
|
|
617
|
-
|
|
618
|
-
|
|
619
|
-
|
|
620
|
-
|
|
551
|
+
Object.defineProperty(exports, "jsonLogicAdditionalOperators", {
|
|
552
|
+
enumerable: true,
|
|
553
|
+
get: function() {
|
|
554
|
+
return jsonLogicAdditionalOperators;
|
|
555
|
+
}
|
|
621
556
|
});
|
|
622
|
-
Object.defineProperty(exports,
|
|
623
|
-
|
|
624
|
-
|
|
625
|
-
|
|
626
|
-
|
|
557
|
+
Object.defineProperty(exports, "mapSQLOperator", {
|
|
558
|
+
enumerable: true,
|
|
559
|
+
get: function() {
|
|
560
|
+
return mapSQLOperator;
|
|
561
|
+
}
|
|
627
562
|
});
|
|
628
|
-
Object.defineProperty(exports,
|
|
629
|
-
|
|
630
|
-
|
|
631
|
-
|
|
632
|
-
|
|
563
|
+
Object.defineProperty(exports, "mongoOperators", {
|
|
564
|
+
enumerable: true,
|
|
565
|
+
get: function() {
|
|
566
|
+
return mongoOperators;
|
|
567
|
+
}
|
|
633
568
|
});
|
|
634
|
-
Object.defineProperty(exports,
|
|
635
|
-
|
|
636
|
-
|
|
637
|
-
|
|
638
|
-
|
|
569
|
+
Object.defineProperty(exports, "normalizeConstituentWordOrder", {
|
|
570
|
+
enumerable: true,
|
|
571
|
+
get: function() {
|
|
572
|
+
return normalizeConstituentWordOrder;
|
|
573
|
+
}
|
|
639
574
|
});
|
|
640
|
-
Object.defineProperty(exports,
|
|
641
|
-
|
|
642
|
-
|
|
643
|
-
|
|
644
|
-
|
|
575
|
+
Object.defineProperty(exports, "numerifyValues", {
|
|
576
|
+
enumerable: true,
|
|
577
|
+
get: function() {
|
|
578
|
+
return numerifyValues;
|
|
579
|
+
}
|
|
645
580
|
});
|
|
646
|
-
Object.defineProperty(exports,
|
|
647
|
-
|
|
648
|
-
|
|
649
|
-
|
|
650
|
-
|
|
581
|
+
Object.defineProperty(exports, "objectKeys", {
|
|
582
|
+
enumerable: true,
|
|
583
|
+
get: function() {
|
|
584
|
+
return objectKeys;
|
|
585
|
+
}
|
|
651
586
|
});
|
|
652
|
-
Object.defineProperty(exports,
|
|
653
|
-
|
|
654
|
-
|
|
655
|
-
|
|
656
|
-
|
|
587
|
+
Object.defineProperty(exports, "parseNumber", {
|
|
588
|
+
enumerable: true,
|
|
589
|
+
get: function() {
|
|
590
|
+
return parseNumber;
|
|
591
|
+
}
|
|
657
592
|
});
|
|
658
|
-
Object.defineProperty(exports,
|
|
659
|
-
|
|
660
|
-
|
|
661
|
-
|
|
662
|
-
|
|
593
|
+
Object.defineProperty(exports, "prismaOperators", {
|
|
594
|
+
enumerable: true,
|
|
595
|
+
get: function() {
|
|
596
|
+
return prismaOperators;
|
|
597
|
+
}
|
|
663
598
|
});
|
|
664
|
-
Object.defineProperty(exports,
|
|
665
|
-
|
|
666
|
-
|
|
667
|
-
|
|
668
|
-
|
|
599
|
+
Object.defineProperty(exports, "processMatchMode", {
|
|
600
|
+
enumerable: true,
|
|
601
|
+
get: function() {
|
|
602
|
+
return processMatchMode;
|
|
603
|
+
}
|
|
669
604
|
});
|
|
670
|
-
Object.defineProperty(exports,
|
|
671
|
-
|
|
672
|
-
|
|
673
|
-
|
|
674
|
-
|
|
605
|
+
Object.defineProperty(exports, "shouldRenderAsNumber", {
|
|
606
|
+
enumerable: true,
|
|
607
|
+
get: function() {
|
|
608
|
+
return shouldRenderAsNumber;
|
|
609
|
+
}
|
|
675
610
|
});
|
|
676
|
-
Object.defineProperty(exports,
|
|
677
|
-
|
|
678
|
-
|
|
679
|
-
|
|
680
|
-
|
|
611
|
+
Object.defineProperty(exports, "toArray", {
|
|
612
|
+
enumerable: true,
|
|
613
|
+
get: function() {
|
|
614
|
+
return toArray;
|
|
615
|
+
}
|
|
681
616
|
});
|
|
682
|
-
Object.defineProperty(exports,
|
|
683
|
-
|
|
684
|
-
|
|
685
|
-
|
|
686
|
-
|
|
617
|
+
Object.defineProperty(exports, "toFlatOptionArray", {
|
|
618
|
+
enumerable: true,
|
|
619
|
+
get: function() {
|
|
620
|
+
return toFlatOptionArray;
|
|
621
|
+
}
|
|
687
622
|
});
|
|
688
|
-
Object.defineProperty(exports,
|
|
689
|
-
|
|
690
|
-
|
|
691
|
-
|
|
692
|
-
|
|
623
|
+
Object.defineProperty(exports, "toFullOption", {
|
|
624
|
+
enumerable: true,
|
|
625
|
+
get: function() {
|
|
626
|
+
return toFullOption;
|
|
627
|
+
}
|
|
693
628
|
});
|
|
694
|
-
Object.defineProperty(exports,
|
|
695
|
-
|
|
696
|
-
|
|
697
|
-
|
|
698
|
-
|
|
629
|
+
Object.defineProperty(exports, "toFullOptionList", {
|
|
630
|
+
enumerable: true,
|
|
631
|
+
get: function() {
|
|
632
|
+
return toFullOptionList;
|
|
633
|
+
}
|
|
699
634
|
});
|
|
700
|
-
Object.defineProperty(exports,
|
|
701
|
-
|
|
702
|
-
|
|
703
|
-
|
|
704
|
-
|
|
635
|
+
Object.defineProperty(exports, "trimIfString", {
|
|
636
|
+
enumerable: true,
|
|
637
|
+
get: function() {
|
|
638
|
+
return trimIfString;
|
|
639
|
+
}
|
|
705
640
|
});
|
|
706
|
-
|
|
641
|
+
|
|
642
|
+
//# sourceMappingURL=utils-EsYRkPtf.js.map
|