@react-querybuilder/core 8.14.0 → 8.14.2
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 +183 -127
- package/dist/cjs/react-querybuilder_core.cjs.development.js +311 -252
- package/dist/cjs/react-querybuilder_core.cjs.development.js.map +1 -1
- package/dist/cjs/react-querybuilder_core.cjs.production.d.ts +183 -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-CeJSNn37.mjs} +30 -22
- package/dist/convertQuery-CeJSNn37.mjs.map +1 -0
- package/dist/convertQuery-J8LpTG-7.js +94 -0
- package/dist/convertQuery-J8LpTG-7.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 +75 -107
- 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/objectUtils-ButT0Mng.js +105 -0
- package/dist/objectUtils-ButT0Mng.js.map +1 -0
- package/dist/{isRuleGroup-DztIOOKa.mjs → objectUtils-C0WB-8ex.mjs} +16 -5
- package/dist/objectUtils-C0WB-8ex.mjs.map +1 -0
- package/dist/parseCEL.d.mts +2 -2
- package/dist/parseCEL.d.ts +2 -2
- package/dist/parseCEL.js +14 -16
- 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 +40 -5614
- 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 +47 -48
- 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 +26 -27
- 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 +13 -15
- 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 +13 -2702
- package/dist/parseSpEL.js.map +1 -1
- package/dist/parseSpEL.mjs +7 -9
- package/dist/parseSpEL.mjs.map +1 -1
- package/dist/{prepareQueryObjects-BBayjIn2.mjs → prepareQueryObjects-BfMlS4ql.mjs} +34 -18
- package/dist/prepareQueryObjects-BfMlS4ql.mjs.map +1 -0
- package/dist/{prepareQueryObjects-BxWvIPI4.js → prepareQueryObjects-DO3qXriW.js} +50 -35
- package/dist/prepareQueryObjects-DO3qXriW.js.map +1 -0
- package/dist/react-querybuilder_core.d.mts +183 -127
- package/dist/react-querybuilder_core.legacy-esm.d.ts +183 -127
- package/dist/react-querybuilder_core.legacy-esm.js +307 -280
- package/dist/react-querybuilder_core.legacy-esm.js.map +1 -1
- package/dist/react-querybuilder_core.mjs +299 -248
- package/dist/react-querybuilder_core.mjs.map +1 -1
- package/dist/react-querybuilder_core.production.d.mts +183 -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 +45 -2
- package/dist/transformQuery.js.map +1 -0
- package/dist/transformQuery.mjs +44 -2
- package/dist/transformQuery.mjs.map +1 -0
- package/dist/{utils-nQU7WCM9.mjs → utils-BlMGIhvx.mjs} +32 -92
- package/dist/utils-BlMGIhvx.mjs.map +1 -0
- package/dist/{utils-CR1ToTMW.js → utils-CZRhzje-.js} +187 -265
- package/dist/utils-CZRhzje-.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 +0 -82
- 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_objectUtils = require("./objectUtils-ButT0Mng.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,20 +91,10 @@ const parseNumber = (val, { parseNumbers, bigIntOnOverflow } = {}) => {
|
|
|
141
91
|
});
|
|
142
92
|
return typeof valAsNum === "bigint" || !Number.isNaN(valAsNum) ? valAsNum : val;
|
|
143
93
|
};
|
|
144
|
-
|
|
145
|
-
//#endregion
|
|
146
|
-
//#region src/utils/objectUtils.ts
|
|
147
|
-
/**
|
|
148
|
-
* A strongly-typed version of `Object.keys()`.
|
|
149
|
-
*
|
|
150
|
-
* [Original source](https://github.com/sindresorhus/ts-extras/blob/44f57392c5f027268330771996c4fdf9260b22d6/source/object-keys.ts)
|
|
151
|
-
*/
|
|
152
|
-
const objectKeys = Object.keys;
|
|
153
|
-
|
|
154
94
|
//#endregion
|
|
155
95
|
//#region src/utils/optGroupUtils.ts
|
|
156
|
-
const isOptionWithName = (opt) =>
|
|
157
|
-
const isOptionWithValue = (opt) =>
|
|
96
|
+
const isOptionWithName = (opt) => require_objectUtils.isPojo(opt) && "name" in opt && typeof opt.name === "string";
|
|
97
|
+
const isOptionWithValue = (opt) => require_objectUtils.isPojo(opt) && "value" in opt && typeof opt.value === "string";
|
|
158
98
|
/**
|
|
159
99
|
* Converts an {@link Option} or {@link ValueOption} (i.e., {@link BaseOption})
|
|
160
100
|
* into a {@link FullOption}. Full options are left unchanged.
|
|
@@ -162,24 +102,23 @@ const isOptionWithValue = (opt) => require_isRuleGroup.isPojo(opt) && "value" in
|
|
|
162
102
|
* @group Option Lists
|
|
163
103
|
*/
|
|
164
104
|
function toFullOption(opt, baseProperties, labelMap) {
|
|
165
|
-
|
|
166
|
-
|
|
167
|
-
|
|
168
|
-
|
|
169
|
-
|
|
170
|
-
|
|
171
|
-
|
|
172
|
-
|
|
173
|
-
|
|
174
|
-
|
|
175
|
-
|
|
176
|
-
|
|
177
|
-
|
|
178
|
-
|
|
179
|
-
|
|
180
|
-
|
|
181
|
-
|
|
182
|
-
})(opt);
|
|
105
|
+
if (typeof opt === "string") return {
|
|
106
|
+
...baseProperties,
|
|
107
|
+
name: opt,
|
|
108
|
+
value: opt,
|
|
109
|
+
label: labelMap?.[opt] ?? opt
|
|
110
|
+
};
|
|
111
|
+
const idObj = {};
|
|
112
|
+
let needsUpdating = !!baseProperties;
|
|
113
|
+
if (isOptionWithName(opt) && !isOptionWithValue(opt)) {
|
|
114
|
+
idObj.value = opt.name;
|
|
115
|
+
needsUpdating = true;
|
|
116
|
+
} else if (!isOptionWithName(opt) && isOptionWithValue(opt)) {
|
|
117
|
+
idObj.name = opt.value;
|
|
118
|
+
needsUpdating = true;
|
|
119
|
+
}
|
|
120
|
+
if (needsUpdating) return Object.assign({}, baseProperties, opt, idObj);
|
|
121
|
+
return opt;
|
|
183
122
|
}
|
|
184
123
|
/**
|
|
185
124
|
* Converts an {@link OptionList} or {@link FlexibleOptionList} into a {@link FullOptionList}.
|
|
@@ -189,10 +128,12 @@ function toFullOption(opt, baseProperties, labelMap) {
|
|
|
189
128
|
*/
|
|
190
129
|
function toFullOptionList(optList, baseProperties, labelMap) {
|
|
191
130
|
if (!Array.isArray(optList)) return [];
|
|
192
|
-
|
|
193
|
-
|
|
194
|
-
|
|
195
|
-
|
|
131
|
+
const list = optList;
|
|
132
|
+
if (isFlexibleOptionGroupArray(list)) return list.map((optGroup) => ({
|
|
133
|
+
...optGroup,
|
|
134
|
+
options: optGroup.options.map((opt) => toFullOption(opt, baseProperties, labelMap))
|
|
135
|
+
}));
|
|
136
|
+
return list.map((opt) => toFullOption(opt, baseProperties, labelMap));
|
|
196
137
|
}
|
|
197
138
|
/**
|
|
198
139
|
* Generates a new array of objects with duplicates removed based
|
|
@@ -214,7 +155,7 @@ const uniqByIdentifier = (originalArray) => {
|
|
|
214
155
|
*
|
|
215
156
|
* @group Option Lists
|
|
216
157
|
*/
|
|
217
|
-
const isOptionGroupArray = (arr) => Array.isArray(arr) && arr.length > 0 &&
|
|
158
|
+
const isOptionGroupArray = (arr) => Array.isArray(arr) && arr.length > 0 && require_objectUtils.isPojo(arr[0]) && "options" in arr[0] && Array.isArray(arr[0].options);
|
|
218
159
|
/**
|
|
219
160
|
* Determines if an array is a flat array of {@link FlexibleOption}.
|
|
220
161
|
*
|
|
@@ -233,7 +174,7 @@ const isFlexibleOptionArray = (arr) => {
|
|
|
233
174
|
*/
|
|
234
175
|
const isFlexibleOptionGroupArray = (arr, { allowEmpty = false } = {}) => {
|
|
235
176
|
let isFOGA = false;
|
|
236
|
-
if (Array.isArray(arr)) for (const og of arr) if (
|
|
177
|
+
if (Array.isArray(arr)) for (const og of arr) if (require_objectUtils.isPojo(og) && "options" in og && (isFlexibleOptionArray(og.options) || allowEmpty && Array.isArray(og.options) && og.options.length === 0)) isFOGA = true;
|
|
237
178
|
else return false;
|
|
238
179
|
return isFOGA;
|
|
239
180
|
};
|
|
@@ -247,7 +188,6 @@ function getOption(arr, name) {
|
|
|
247
188
|
* @group Option Lists
|
|
248
189
|
*/
|
|
249
190
|
const toFlatOptionArray = (arr) => uniqByIdentifier(isOptionGroupArray(arr) ? arr.flatMap((og) => og.options) : arr);
|
|
250
|
-
|
|
251
191
|
//#endregion
|
|
252
192
|
//#region src/utils/getParseNumberMethod.ts
|
|
253
193
|
const getParseNumberMethod = ({ parseNumbers, inputType }) => {
|
|
@@ -258,7 +198,6 @@ const getParseNumberMethod = ({ parseNumbers, inputType }) => {
|
|
|
258
198
|
}
|
|
259
199
|
return parseNumbers ? "strict" : false;
|
|
260
200
|
};
|
|
261
|
-
|
|
262
201
|
//#endregion
|
|
263
202
|
//#region src/utils/formatQuery/utils.ts
|
|
264
203
|
/**
|
|
@@ -267,7 +206,7 @@ const getParseNumberMethod = ({ parseNumbers, inputType }) => {
|
|
|
267
206
|
* @group Export
|
|
268
207
|
*/
|
|
269
208
|
const mapSQLOperator = (rqbOperator) => {
|
|
270
|
-
switch (
|
|
209
|
+
switch (require_objectUtils.lc(rqbOperator)) {
|
|
271
210
|
case "null": return "is null";
|
|
272
211
|
case "notnull": return "is not null";
|
|
273
212
|
case "notin": return "not in";
|
|
@@ -340,7 +279,8 @@ const jsonLogicAdditionalOperators = {
|
|
|
340
279
|
endsWith: (a, b) => typeof a === "string" && a.endsWith(b)
|
|
341
280
|
};
|
|
342
281
|
/**
|
|
343
|
-
*
|
|
282
|
+
* Returns a new query object with all `string`-type `value` properties converted
|
|
283
|
+
* to `number` where appropriate.
|
|
344
284
|
*
|
|
345
285
|
* Used by {@link formatQuery} for the `json*` formats when `parseNumbers` is `true`.
|
|
346
286
|
*
|
|
@@ -350,7 +290,7 @@ const numerifyValues = (rg, options) => ({
|
|
|
350
290
|
...rg,
|
|
351
291
|
rules: rg.rules.map((r) => {
|
|
352
292
|
if (typeof r === "string") return r;
|
|
353
|
-
if (
|
|
293
|
+
if (require_objectUtils.isRuleGroup(r)) return numerifyValues(r, options);
|
|
354
294
|
const fieldData = getOption(options.fields, r.field);
|
|
355
295
|
const parseNumbers = getParseNumberMethod({
|
|
356
296
|
parseNumbers: options.parseNumbers,
|
|
@@ -388,7 +328,7 @@ const isValidValue = (value) => typeof value === "string" && value.length > 0 ||
|
|
|
388
328
|
*
|
|
389
329
|
* @group Export
|
|
390
330
|
*/
|
|
391
|
-
const shouldRenderAsNumber = (value, parseNumbers) => !!parseNumbers && (typeof value === "number" || typeof value === "bigint" || typeof value === "string" &&
|
|
331
|
+
const shouldRenderAsNumber = (value, parseNumbers) => !!parseNumbers && (typeof value === "number" || typeof value === "bigint" || typeof value === "string" && require_objectUtils.numericRegex.test(value));
|
|
392
332
|
/**
|
|
393
333
|
* Used by {@link formatQuery} to determine whether the given value processor is a
|
|
394
334
|
* "legacy" value processor by counting the number of arguments. Legacy value
|
|
@@ -481,8 +421,8 @@ const getNLTranslataion = (key, translations, conditions = []) => conditions.len
|
|
|
481
421
|
const processMatchMode = (rule) => {
|
|
482
422
|
const { mode, threshold } = rule.match ?? {};
|
|
483
423
|
if (!mode) return null;
|
|
484
|
-
if (!
|
|
485
|
-
const matchModeLC =
|
|
424
|
+
if (!require_objectUtils.isRuleGroup(rule.value)) return false;
|
|
425
|
+
const matchModeLC = require_objectUtils.lc(mode);
|
|
486
426
|
const matchModeCoerced = matchModeLC === "atleast" && threshold === 1 ? "some" : matchModeLC === "atmost" && threshold === 0 ? "none" : matchModeLC;
|
|
487
427
|
if ((matchModeCoerced === "atleast" || matchModeCoerced === "atmost" || matchModeCoerced === "exactly") && (typeof threshold !== "number" || threshold < 0)) return false;
|
|
488
428
|
return {
|
|
@@ -508,199 +448,181 @@ const bigIntJsonStringifyReplacer = (_key, value) => typeof value === "bigint" ?
|
|
|
508
448
|
*
|
|
509
449
|
* @see https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/BigInt#use_within_json
|
|
510
450
|
*/
|
|
511
|
-
const bigIntJsonParseReviver = (_key, value) =>
|
|
512
|
-
|
|
451
|
+
const bigIntJsonParseReviver = (_key, value) => require_objectUtils.isPojo(value) && Object.keys(value).length === 1 && typeof value.$bigint === "string" ? BigInt(value.$bigint) : value;
|
|
513
452
|
//#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
|
-
}
|
|
531
|
-
});
|
|
532
|
-
Object.defineProperty(exports, 'defaultNLTranslations', {
|
|
533
|
-
enumerable: true,
|
|
534
|
-
get: function () {
|
|
535
|
-
return defaultNLTranslations;
|
|
536
|
-
}
|
|
453
|
+
Object.defineProperty(exports, "bigIntJsonParseReviver", {
|
|
454
|
+
enumerable: true,
|
|
455
|
+
get: function() {
|
|
456
|
+
return bigIntJsonParseReviver;
|
|
457
|
+
}
|
|
537
458
|
});
|
|
538
|
-
Object.defineProperty(exports,
|
|
539
|
-
|
|
540
|
-
|
|
541
|
-
|
|
542
|
-
|
|
459
|
+
Object.defineProperty(exports, "bigIntJsonStringifyReplacer", {
|
|
460
|
+
enumerable: true,
|
|
461
|
+
get: function() {
|
|
462
|
+
return bigIntJsonStringifyReplacer;
|
|
463
|
+
}
|
|
543
464
|
});
|
|
544
|
-
Object.defineProperty(exports,
|
|
545
|
-
|
|
546
|
-
|
|
547
|
-
|
|
548
|
-
|
|
465
|
+
Object.defineProperty(exports, "celCombinatorMap", {
|
|
466
|
+
enumerable: true,
|
|
467
|
+
get: function() {
|
|
468
|
+
return celCombinatorMap;
|
|
469
|
+
}
|
|
549
470
|
});
|
|
550
|
-
Object.defineProperty(exports,
|
|
551
|
-
|
|
552
|
-
|
|
553
|
-
|
|
554
|
-
|
|
471
|
+
Object.defineProperty(exports, "defaultNLTranslations", {
|
|
472
|
+
enumerable: true,
|
|
473
|
+
get: function() {
|
|
474
|
+
return defaultNLTranslations;
|
|
475
|
+
}
|
|
555
476
|
});
|
|
556
|
-
Object.defineProperty(exports,
|
|
557
|
-
|
|
558
|
-
|
|
559
|
-
|
|
560
|
-
|
|
477
|
+
Object.defineProperty(exports, "defaultOperatorNegationMap", {
|
|
478
|
+
enumerable: true,
|
|
479
|
+
get: function() {
|
|
480
|
+
return defaultOperatorNegationMap;
|
|
481
|
+
}
|
|
561
482
|
});
|
|
562
|
-
Object.defineProperty(exports,
|
|
563
|
-
|
|
564
|
-
|
|
565
|
-
|
|
566
|
-
|
|
483
|
+
Object.defineProperty(exports, "getNLTranslataion", {
|
|
484
|
+
enumerable: true,
|
|
485
|
+
get: function() {
|
|
486
|
+
return getNLTranslataion;
|
|
487
|
+
}
|
|
567
488
|
});
|
|
568
|
-
Object.defineProperty(exports,
|
|
569
|
-
|
|
570
|
-
|
|
571
|
-
|
|
572
|
-
|
|
489
|
+
Object.defineProperty(exports, "getOption", {
|
|
490
|
+
enumerable: true,
|
|
491
|
+
get: function() {
|
|
492
|
+
return getOption;
|
|
493
|
+
}
|
|
573
494
|
});
|
|
574
|
-
Object.defineProperty(exports,
|
|
575
|
-
|
|
576
|
-
|
|
577
|
-
|
|
578
|
-
|
|
495
|
+
Object.defineProperty(exports, "getParseNumberMethod", {
|
|
496
|
+
enumerable: true,
|
|
497
|
+
get: function() {
|
|
498
|
+
return getParseNumberMethod;
|
|
499
|
+
}
|
|
579
500
|
});
|
|
580
|
-
Object.defineProperty(exports,
|
|
581
|
-
|
|
582
|
-
|
|
583
|
-
|
|
584
|
-
|
|
501
|
+
Object.defineProperty(exports, "getQuoteFieldNamesWithArray", {
|
|
502
|
+
enumerable: true,
|
|
503
|
+
get: function() {
|
|
504
|
+
return getQuoteFieldNamesWithArray;
|
|
505
|
+
}
|
|
585
506
|
});
|
|
586
|
-
Object.defineProperty(exports,
|
|
587
|
-
|
|
588
|
-
|
|
589
|
-
|
|
590
|
-
|
|
507
|
+
Object.defineProperty(exports, "getQuotedFieldName", {
|
|
508
|
+
enumerable: true,
|
|
509
|
+
get: function() {
|
|
510
|
+
return getQuotedFieldName;
|
|
511
|
+
}
|
|
591
512
|
});
|
|
592
|
-
Object.defineProperty(exports,
|
|
593
|
-
|
|
594
|
-
|
|
595
|
-
|
|
596
|
-
|
|
513
|
+
Object.defineProperty(exports, "isFlexibleOptionArray", {
|
|
514
|
+
enumerable: true,
|
|
515
|
+
get: function() {
|
|
516
|
+
return isFlexibleOptionArray;
|
|
517
|
+
}
|
|
597
518
|
});
|
|
598
|
-
Object.defineProperty(exports,
|
|
599
|
-
|
|
600
|
-
|
|
601
|
-
|
|
602
|
-
|
|
519
|
+
Object.defineProperty(exports, "isFlexibleOptionGroupArray", {
|
|
520
|
+
enumerable: true,
|
|
521
|
+
get: function() {
|
|
522
|
+
return isFlexibleOptionGroupArray;
|
|
523
|
+
}
|
|
603
524
|
});
|
|
604
|
-
Object.defineProperty(exports,
|
|
605
|
-
|
|
606
|
-
|
|
607
|
-
|
|
608
|
-
|
|
525
|
+
Object.defineProperty(exports, "isValidValue", {
|
|
526
|
+
enumerable: true,
|
|
527
|
+
get: function() {
|
|
528
|
+
return isValidValue;
|
|
529
|
+
}
|
|
609
530
|
});
|
|
610
|
-
Object.defineProperty(exports,
|
|
611
|
-
|
|
612
|
-
|
|
613
|
-
|
|
614
|
-
|
|
531
|
+
Object.defineProperty(exports, "isValueProcessorLegacy", {
|
|
532
|
+
enumerable: true,
|
|
533
|
+
get: function() {
|
|
534
|
+
return isValueProcessorLegacy;
|
|
535
|
+
}
|
|
615
536
|
});
|
|
616
|
-
Object.defineProperty(exports,
|
|
617
|
-
|
|
618
|
-
|
|
619
|
-
|
|
620
|
-
|
|
537
|
+
Object.defineProperty(exports, "joinWith", {
|
|
538
|
+
enumerable: true,
|
|
539
|
+
get: function() {
|
|
540
|
+
return joinWith;
|
|
541
|
+
}
|
|
621
542
|
});
|
|
622
|
-
Object.defineProperty(exports,
|
|
623
|
-
|
|
624
|
-
|
|
625
|
-
|
|
626
|
-
|
|
543
|
+
Object.defineProperty(exports, "jsonLogicAdditionalOperators", {
|
|
544
|
+
enumerable: true,
|
|
545
|
+
get: function() {
|
|
546
|
+
return jsonLogicAdditionalOperators;
|
|
547
|
+
}
|
|
627
548
|
});
|
|
628
|
-
Object.defineProperty(exports,
|
|
629
|
-
|
|
630
|
-
|
|
631
|
-
|
|
632
|
-
|
|
549
|
+
Object.defineProperty(exports, "mapSQLOperator", {
|
|
550
|
+
enumerable: true,
|
|
551
|
+
get: function() {
|
|
552
|
+
return mapSQLOperator;
|
|
553
|
+
}
|
|
633
554
|
});
|
|
634
|
-
Object.defineProperty(exports,
|
|
635
|
-
|
|
636
|
-
|
|
637
|
-
|
|
638
|
-
|
|
555
|
+
Object.defineProperty(exports, "mongoOperators", {
|
|
556
|
+
enumerable: true,
|
|
557
|
+
get: function() {
|
|
558
|
+
return mongoOperators;
|
|
559
|
+
}
|
|
639
560
|
});
|
|
640
|
-
Object.defineProperty(exports,
|
|
641
|
-
|
|
642
|
-
|
|
643
|
-
|
|
644
|
-
|
|
561
|
+
Object.defineProperty(exports, "normalizeConstituentWordOrder", {
|
|
562
|
+
enumerable: true,
|
|
563
|
+
get: function() {
|
|
564
|
+
return normalizeConstituentWordOrder;
|
|
565
|
+
}
|
|
645
566
|
});
|
|
646
|
-
Object.defineProperty(exports,
|
|
647
|
-
|
|
648
|
-
|
|
649
|
-
|
|
650
|
-
|
|
567
|
+
Object.defineProperty(exports, "numerifyValues", {
|
|
568
|
+
enumerable: true,
|
|
569
|
+
get: function() {
|
|
570
|
+
return numerifyValues;
|
|
571
|
+
}
|
|
651
572
|
});
|
|
652
|
-
Object.defineProperty(exports,
|
|
653
|
-
|
|
654
|
-
|
|
655
|
-
|
|
656
|
-
|
|
573
|
+
Object.defineProperty(exports, "parseNumber", {
|
|
574
|
+
enumerable: true,
|
|
575
|
+
get: function() {
|
|
576
|
+
return parseNumber;
|
|
577
|
+
}
|
|
657
578
|
});
|
|
658
|
-
Object.defineProperty(exports,
|
|
659
|
-
|
|
660
|
-
|
|
661
|
-
|
|
662
|
-
|
|
579
|
+
Object.defineProperty(exports, "prismaOperators", {
|
|
580
|
+
enumerable: true,
|
|
581
|
+
get: function() {
|
|
582
|
+
return prismaOperators;
|
|
583
|
+
}
|
|
663
584
|
});
|
|
664
|
-
Object.defineProperty(exports,
|
|
665
|
-
|
|
666
|
-
|
|
667
|
-
|
|
668
|
-
|
|
585
|
+
Object.defineProperty(exports, "processMatchMode", {
|
|
586
|
+
enumerable: true,
|
|
587
|
+
get: function() {
|
|
588
|
+
return processMatchMode;
|
|
589
|
+
}
|
|
669
590
|
});
|
|
670
|
-
Object.defineProperty(exports,
|
|
671
|
-
|
|
672
|
-
|
|
673
|
-
|
|
674
|
-
|
|
591
|
+
Object.defineProperty(exports, "shouldRenderAsNumber", {
|
|
592
|
+
enumerable: true,
|
|
593
|
+
get: function() {
|
|
594
|
+
return shouldRenderAsNumber;
|
|
595
|
+
}
|
|
675
596
|
});
|
|
676
|
-
Object.defineProperty(exports,
|
|
677
|
-
|
|
678
|
-
|
|
679
|
-
|
|
680
|
-
|
|
597
|
+
Object.defineProperty(exports, "toArray", {
|
|
598
|
+
enumerable: true,
|
|
599
|
+
get: function() {
|
|
600
|
+
return toArray;
|
|
601
|
+
}
|
|
681
602
|
});
|
|
682
|
-
Object.defineProperty(exports,
|
|
683
|
-
|
|
684
|
-
|
|
685
|
-
|
|
686
|
-
|
|
603
|
+
Object.defineProperty(exports, "toFlatOptionArray", {
|
|
604
|
+
enumerable: true,
|
|
605
|
+
get: function() {
|
|
606
|
+
return toFlatOptionArray;
|
|
607
|
+
}
|
|
687
608
|
});
|
|
688
|
-
Object.defineProperty(exports,
|
|
689
|
-
|
|
690
|
-
|
|
691
|
-
|
|
692
|
-
|
|
609
|
+
Object.defineProperty(exports, "toFullOption", {
|
|
610
|
+
enumerable: true,
|
|
611
|
+
get: function() {
|
|
612
|
+
return toFullOption;
|
|
613
|
+
}
|
|
693
614
|
});
|
|
694
|
-
Object.defineProperty(exports,
|
|
695
|
-
|
|
696
|
-
|
|
697
|
-
|
|
698
|
-
|
|
615
|
+
Object.defineProperty(exports, "toFullOptionList", {
|
|
616
|
+
enumerable: true,
|
|
617
|
+
get: function() {
|
|
618
|
+
return toFullOptionList;
|
|
619
|
+
}
|
|
699
620
|
});
|
|
700
|
-
Object.defineProperty(exports,
|
|
701
|
-
|
|
702
|
-
|
|
703
|
-
|
|
704
|
-
|
|
621
|
+
Object.defineProperty(exports, "trimIfString", {
|
|
622
|
+
enumerable: true,
|
|
623
|
+
get: function() {
|
|
624
|
+
return trimIfString;
|
|
625
|
+
}
|
|
705
626
|
});
|
|
706
|
-
|
|
627
|
+
|
|
628
|
+
//# sourceMappingURL=utils-CZRhzje-.js.map
|