@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.
Files changed (101) hide show
  1. package/dist/{basic-Dxm6jWFu.d.ts → basic-BXJVfD0P.d.ts} +68 -50
  2. package/dist/{basic-GFsWfi0Z.d.mts → basic-CNIjb6rI.d.mts} +68 -50
  3. package/dist/cjs/react-querybuilder_core.cjs.development.d.ts +183 -127
  4. package/dist/cjs/react-querybuilder_core.cjs.development.js +311 -252
  5. package/dist/cjs/react-querybuilder_core.cjs.development.js.map +1 -1
  6. package/dist/cjs/react-querybuilder_core.cjs.production.d.ts +183 -127
  7. package/dist/cjs/react-querybuilder_core.cjs.production.js +1 -1
  8. package/dist/cjs/react-querybuilder_core.cjs.production.js.map +1 -1
  9. package/dist/{convertQuery-DAj92cbM.mjs → convertQuery-CeJSNn37.mjs} +30 -22
  10. package/dist/convertQuery-CeJSNn37.mjs.map +1 -0
  11. package/dist/convertQuery-J8LpTG-7.js +94 -0
  12. package/dist/convertQuery-J8LpTG-7.js.map +1 -0
  13. package/dist/{export-_wipiqJZ.d.mts → export-6x7MilFR.d.mts} +2 -3
  14. package/dist/{export-6VbkhCrf.d.ts → export-CpJOQuZv.d.ts} +2 -3
  15. package/dist/formatQuery.d.mts +4 -3
  16. package/dist/formatQuery.d.ts +4 -3
  17. package/dist/formatQuery.js +75 -107
  18. package/dist/formatQuery.js.map +1 -1
  19. package/dist/formatQuery.mjs +17 -49
  20. package/dist/formatQuery.mjs.map +1 -1
  21. package/dist/{import-D8M7awTx.d.ts → import-B5Iq8XmL.d.ts} +2 -3
  22. package/dist/{import-DRmutNSr.d.mts → import-Bltb2mT4.d.mts} +2 -3
  23. package/dist/objectUtils-ButT0Mng.js +105 -0
  24. package/dist/objectUtils-ButT0Mng.js.map +1 -0
  25. package/dist/{isRuleGroup-DztIOOKa.mjs → objectUtils-C0WB-8ex.mjs} +16 -5
  26. package/dist/objectUtils-C0WB-8ex.mjs.map +1 -0
  27. package/dist/parseCEL.d.mts +2 -2
  28. package/dist/parseCEL.d.ts +2 -2
  29. package/dist/parseCEL.js +14 -16
  30. package/dist/parseCEL.js.map +1 -1
  31. package/dist/parseCEL.mjs +7 -10
  32. package/dist/parseCEL.mjs.map +1 -1
  33. package/dist/parseJSONata.d.mts +2 -3
  34. package/dist/parseJSONata.d.ts +2 -3
  35. package/dist/parseJSONata.js +40 -5614
  36. package/dist/parseJSONata.js.map +1 -1
  37. package/dist/parseJSONata.mjs +11 -13
  38. package/dist/parseJSONata.mjs.map +1 -1
  39. package/dist/parseJsonLogic.d.mts +3 -4
  40. package/dist/parseJsonLogic.d.ts +3 -4
  41. package/dist/parseJsonLogic.js +47 -48
  42. package/dist/parseJsonLogic.js.map +1 -1
  43. package/dist/parseJsonLogic.mjs +19 -21
  44. package/dist/parseJsonLogic.mjs.map +1 -1
  45. package/dist/parseMongoDB.d.mts +2 -3
  46. package/dist/parseMongoDB.d.ts +2 -3
  47. package/dist/parseMongoDB.js +26 -27
  48. package/dist/parseMongoDB.js.map +1 -1
  49. package/dist/parseMongoDB.mjs +6 -8
  50. package/dist/parseMongoDB.mjs.map +1 -1
  51. package/dist/parseSQL.d.mts +2 -3
  52. package/dist/parseSQL.d.ts +2 -3
  53. package/dist/parseSQL.js +13 -15
  54. package/dist/parseSQL.js.map +1 -1
  55. package/dist/parseSQL.mjs +7 -10
  56. package/dist/parseSQL.mjs.map +1 -1
  57. package/dist/parseSpEL.d.mts +2 -3
  58. package/dist/parseSpEL.d.ts +2 -3
  59. package/dist/parseSpEL.js +13 -2702
  60. package/dist/parseSpEL.js.map +1 -1
  61. package/dist/parseSpEL.mjs +7 -9
  62. package/dist/parseSpEL.mjs.map +1 -1
  63. package/dist/{prepareQueryObjects-BBayjIn2.mjs → prepareQueryObjects-BfMlS4ql.mjs} +34 -18
  64. package/dist/prepareQueryObjects-BfMlS4ql.mjs.map +1 -0
  65. package/dist/{prepareQueryObjects-BxWvIPI4.js → prepareQueryObjects-DO3qXriW.js} +50 -35
  66. package/dist/prepareQueryObjects-DO3qXriW.js.map +1 -0
  67. package/dist/react-querybuilder_core.d.mts +183 -127
  68. package/dist/react-querybuilder_core.legacy-esm.d.ts +183 -127
  69. package/dist/react-querybuilder_core.legacy-esm.js +307 -280
  70. package/dist/react-querybuilder_core.legacy-esm.js.map +1 -1
  71. package/dist/react-querybuilder_core.mjs +299 -248
  72. package/dist/react-querybuilder_core.mjs.map +1 -1
  73. package/dist/react-querybuilder_core.production.d.mts +183 -127
  74. package/dist/react-querybuilder_core.production.mjs +1 -1
  75. package/dist/react-querybuilder_core.production.mjs.map +1 -1
  76. package/dist/transformQuery.d.mts +1 -2
  77. package/dist/transformQuery.d.ts +1 -2
  78. package/dist/transformQuery.js +45 -2
  79. package/dist/transformQuery.js.map +1 -0
  80. package/dist/transformQuery.mjs +44 -2
  81. package/dist/transformQuery.mjs.map +1 -0
  82. package/dist/{utils-nQU7WCM9.mjs → utils-BlMGIhvx.mjs} +32 -92
  83. package/dist/utils-BlMGIhvx.mjs.map +1 -0
  84. package/dist/{utils-CR1ToTMW.js → utils-CZRhzje-.js} +187 -265
  85. package/dist/utils-CZRhzje-.js.map +1 -0
  86. package/package.json +25 -17
  87. package/dist/chunk-U64pC571.js +0 -41
  88. package/dist/convertQuery-DAj92cbM.mjs.map +0 -1
  89. package/dist/convertQuery-DRldbzhZ.js +0 -87
  90. package/dist/convertQuery-DRldbzhZ.js.map +0 -1
  91. package/dist/isRuleGroup-Cjk1Q2mj.js +0 -82
  92. package/dist/isRuleGroup-Cjk1Q2mj.js.map +0 -1
  93. package/dist/isRuleGroup-DztIOOKa.mjs.map +0 -1
  94. package/dist/prepareQueryObjects-BBayjIn2.mjs.map +0 -1
  95. package/dist/prepareQueryObjects-BxWvIPI4.js.map +0 -1
  96. package/dist/transformQuery-ClBRfnFg.js +0 -54
  97. package/dist/transformQuery-ClBRfnFg.js.map +0 -1
  98. package/dist/transformQuery-DUpbpqjX.mjs +0 -48
  99. package/dist/transformQuery-DUpbpqjX.mjs.map +0 -1
  100. package/dist/utils-CR1ToTMW.js.map +0 -1
  101. package/dist/utils-nQU7WCM9.mjs.map +0 -1
@@ -1,32 +1,8 @@
1
- const require_chunk = require('./chunk-U64pC571.js');
2
- const require_isRuleGroup = require('./isRuleGroup-Cjk1Q2mj.js');
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 = defaultJoinChar) => typeof str === "string" ? str.split(`\\${splitChar}`).map((c) => c.split(splitChar)).reduce((prev, curr, idx) => {
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 = defaultJoinChar) => strArr.map((str) => `${str ?? ""}`.replaceAll(joinChar[0], `\\${joinChar[0]}`)).join(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 = (v, { retainEmptyStrings } = {}) => Array.isArray(v) ? v.map((v$1) => trimIfString(v$1)) : typeof v === "string" ? splitBy(v, defaultJoinChar).filter(retainEmptyStrings ? () => true : (s) => !/^\s*$/.test(s)).map((s) => s.trim()) : typeof v === "number" ? [v] : [];
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) => require_isRuleGroup.isPojo(opt) && "name" in opt && typeof opt.name === "string";
157
- const isOptionWithValue = (opt) => require_isRuleGroup.isPojo(opt) && "value" in opt && typeof opt.value === "string";
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
- return (0, immer.produce)((draft) => {
166
- const idObj = {};
167
- let needsUpdating = !!baseProperties;
168
- if (typeof draft === "string") return {
169
- ...baseProperties,
170
- name: draft,
171
- value: draft,
172
- label: labelMap?.[draft] ?? draft
173
- };
174
- if (isOptionWithName(draft) && !isOptionWithValue(draft)) {
175
- idObj.value = draft.name;
176
- needsUpdating = true;
177
- } else if (!isOptionWithName(draft) && isOptionWithValue(draft)) {
178
- idObj.name = draft.value;
179
- needsUpdating = true;
180
- }
181
- if (needsUpdating) return Object.assign({}, baseProperties, draft, idObj);
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
- return (0, immer.produce)((draft) => {
193
- if (isFlexibleOptionGroupArray(draft)) for (const optGroup of draft) for (const [idx, opt] of optGroup.options.entries()) optGroup.options[idx] = toFullOption(opt, baseProperties, labelMap);
194
- else for (const [idx, opt] of draft.entries()) draft[idx] = toFullOption(opt, baseProperties, labelMap);
195
- })(optList);
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 && require_isRuleGroup.isPojo(arr[0]) && "options" in arr[0] && Array.isArray(arr[0].options);
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 (require_isRuleGroup.isPojo(og) && "options" in og && (isFlexibleOptionArray(og.options) || allowEmpty && Array.isArray(og.options) && og.options.length === 0)) isFOGA = true;
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 (require_isRuleGroup.lc(rqbOperator)) {
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
- * Converts all `string`-type `value` properties of a query object into `number` where appropriate.
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 (require_isRuleGroup.isRuleGroup(r)) return numerifyValues(r, options);
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" && require_isRuleGroup.numericRegex.test(value));
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 (!require_isRuleGroup.isRuleGroup(rule.value)) return false;
485
- const matchModeLC = require_isRuleGroup.lc(mode);
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) => require_isRuleGroup.isPojo(value) && Object.keys(value).length === 1 && typeof value.$bigint === "string" ? BigInt(value.$bigint) : 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, 'bigIntJsonParseReviver', {
515
- enumerable: true,
516
- get: function () {
517
- return bigIntJsonParseReviver;
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, 'defaultOperatorNegationMap', {
539
- enumerable: true,
540
- get: function () {
541
- return defaultOperatorNegationMap;
542
- }
459
+ Object.defineProperty(exports, "bigIntJsonStringifyReplacer", {
460
+ enumerable: true,
461
+ get: function() {
462
+ return bigIntJsonStringifyReplacer;
463
+ }
543
464
  });
544
- Object.defineProperty(exports, 'defaultPlaceholderFieldName', {
545
- enumerable: true,
546
- get: function () {
547
- return defaultPlaceholderFieldName;
548
- }
465
+ Object.defineProperty(exports, "celCombinatorMap", {
466
+ enumerable: true,
467
+ get: function() {
468
+ return celCombinatorMap;
469
+ }
549
470
  });
550
- Object.defineProperty(exports, 'defaultPlaceholderOperatorName', {
551
- enumerable: true,
552
- get: function () {
553
- return defaultPlaceholderOperatorName;
554
- }
471
+ Object.defineProperty(exports, "defaultNLTranslations", {
472
+ enumerable: true,
473
+ get: function() {
474
+ return defaultNLTranslations;
475
+ }
555
476
  });
556
- Object.defineProperty(exports, 'getNLTranslataion', {
557
- enumerable: true,
558
- get: function () {
559
- return getNLTranslataion;
560
- }
477
+ Object.defineProperty(exports, "defaultOperatorNegationMap", {
478
+ enumerable: true,
479
+ get: function() {
480
+ return defaultOperatorNegationMap;
481
+ }
561
482
  });
562
- Object.defineProperty(exports, 'getOption', {
563
- enumerable: true,
564
- get: function () {
565
- return getOption;
566
- }
483
+ Object.defineProperty(exports, "getNLTranslataion", {
484
+ enumerable: true,
485
+ get: function() {
486
+ return getNLTranslataion;
487
+ }
567
488
  });
568
- Object.defineProperty(exports, 'getParseNumberMethod', {
569
- enumerable: true,
570
- get: function () {
571
- return getParseNumberMethod;
572
- }
489
+ Object.defineProperty(exports, "getOption", {
490
+ enumerable: true,
491
+ get: function() {
492
+ return getOption;
493
+ }
573
494
  });
574
- Object.defineProperty(exports, 'getQuoteFieldNamesWithArray', {
575
- enumerable: true,
576
- get: function () {
577
- return getQuoteFieldNamesWithArray;
578
- }
495
+ Object.defineProperty(exports, "getParseNumberMethod", {
496
+ enumerable: true,
497
+ get: function() {
498
+ return getParseNumberMethod;
499
+ }
579
500
  });
580
- Object.defineProperty(exports, 'getQuotedFieldName', {
581
- enumerable: true,
582
- get: function () {
583
- return getQuotedFieldName;
584
- }
501
+ Object.defineProperty(exports, "getQuoteFieldNamesWithArray", {
502
+ enumerable: true,
503
+ get: function() {
504
+ return getQuoteFieldNamesWithArray;
505
+ }
585
506
  });
586
- Object.defineProperty(exports, 'isFlexibleOptionArray', {
587
- enumerable: true,
588
- get: function () {
589
- return isFlexibleOptionArray;
590
- }
507
+ Object.defineProperty(exports, "getQuotedFieldName", {
508
+ enumerable: true,
509
+ get: function() {
510
+ return getQuotedFieldName;
511
+ }
591
512
  });
592
- Object.defineProperty(exports, 'isFlexibleOptionGroupArray', {
593
- enumerable: true,
594
- get: function () {
595
- return isFlexibleOptionGroupArray;
596
- }
513
+ Object.defineProperty(exports, "isFlexibleOptionArray", {
514
+ enumerable: true,
515
+ get: function() {
516
+ return isFlexibleOptionArray;
517
+ }
597
518
  });
598
- Object.defineProperty(exports, 'isValidValue', {
599
- enumerable: true,
600
- get: function () {
601
- return isValidValue;
602
- }
519
+ Object.defineProperty(exports, "isFlexibleOptionGroupArray", {
520
+ enumerable: true,
521
+ get: function() {
522
+ return isFlexibleOptionGroupArray;
523
+ }
603
524
  });
604
- Object.defineProperty(exports, 'isValueProcessorLegacy', {
605
- enumerable: true,
606
- get: function () {
607
- return isValueProcessorLegacy;
608
- }
525
+ Object.defineProperty(exports, "isValidValue", {
526
+ enumerable: true,
527
+ get: function() {
528
+ return isValidValue;
529
+ }
609
530
  });
610
- Object.defineProperty(exports, 'joinWith', {
611
- enumerable: true,
612
- get: function () {
613
- return joinWith;
614
- }
531
+ Object.defineProperty(exports, "isValueProcessorLegacy", {
532
+ enumerable: true,
533
+ get: function() {
534
+ return isValueProcessorLegacy;
535
+ }
615
536
  });
616
- Object.defineProperty(exports, 'jsonLogicAdditionalOperators', {
617
- enumerable: true,
618
- get: function () {
619
- return jsonLogicAdditionalOperators;
620
- }
537
+ Object.defineProperty(exports, "joinWith", {
538
+ enumerable: true,
539
+ get: function() {
540
+ return joinWith;
541
+ }
621
542
  });
622
- Object.defineProperty(exports, 'mapSQLOperator', {
623
- enumerable: true,
624
- get: function () {
625
- return mapSQLOperator;
626
- }
543
+ Object.defineProperty(exports, "jsonLogicAdditionalOperators", {
544
+ enumerable: true,
545
+ get: function() {
546
+ return jsonLogicAdditionalOperators;
547
+ }
627
548
  });
628
- Object.defineProperty(exports, 'mongoOperators', {
629
- enumerable: true,
630
- get: function () {
631
- return mongoOperators;
632
- }
549
+ Object.defineProperty(exports, "mapSQLOperator", {
550
+ enumerable: true,
551
+ get: function() {
552
+ return mapSQLOperator;
553
+ }
633
554
  });
634
- Object.defineProperty(exports, 'normalizeConstituentWordOrder', {
635
- enumerable: true,
636
- get: function () {
637
- return normalizeConstituentWordOrder;
638
- }
555
+ Object.defineProperty(exports, "mongoOperators", {
556
+ enumerable: true,
557
+ get: function() {
558
+ return mongoOperators;
559
+ }
639
560
  });
640
- Object.defineProperty(exports, 'numerifyValues', {
641
- enumerable: true,
642
- get: function () {
643
- return numerifyValues;
644
- }
561
+ Object.defineProperty(exports, "normalizeConstituentWordOrder", {
562
+ enumerable: true,
563
+ get: function() {
564
+ return normalizeConstituentWordOrder;
565
+ }
645
566
  });
646
- Object.defineProperty(exports, 'objectKeys', {
647
- enumerable: true,
648
- get: function () {
649
- return objectKeys;
650
- }
567
+ Object.defineProperty(exports, "numerifyValues", {
568
+ enumerable: true,
569
+ get: function() {
570
+ return numerifyValues;
571
+ }
651
572
  });
652
- Object.defineProperty(exports, 'parseNumber', {
653
- enumerable: true,
654
- get: function () {
655
- return parseNumber;
656
- }
573
+ Object.defineProperty(exports, "parseNumber", {
574
+ enumerable: true,
575
+ get: function() {
576
+ return parseNumber;
577
+ }
657
578
  });
658
- Object.defineProperty(exports, 'prismaOperators', {
659
- enumerable: true,
660
- get: function () {
661
- return prismaOperators;
662
- }
579
+ Object.defineProperty(exports, "prismaOperators", {
580
+ enumerable: true,
581
+ get: function() {
582
+ return prismaOperators;
583
+ }
663
584
  });
664
- Object.defineProperty(exports, 'processMatchMode', {
665
- enumerable: true,
666
- get: function () {
667
- return processMatchMode;
668
- }
585
+ Object.defineProperty(exports, "processMatchMode", {
586
+ enumerable: true,
587
+ get: function() {
588
+ return processMatchMode;
589
+ }
669
590
  });
670
- Object.defineProperty(exports, 'shouldRenderAsNumber', {
671
- enumerable: true,
672
- get: function () {
673
- return shouldRenderAsNumber;
674
- }
591
+ Object.defineProperty(exports, "shouldRenderAsNumber", {
592
+ enumerable: true,
593
+ get: function() {
594
+ return shouldRenderAsNumber;
595
+ }
675
596
  });
676
- Object.defineProperty(exports, 'toArray', {
677
- enumerable: true,
678
- get: function () {
679
- return toArray;
680
- }
597
+ Object.defineProperty(exports, "toArray", {
598
+ enumerable: true,
599
+ get: function() {
600
+ return toArray;
601
+ }
681
602
  });
682
- Object.defineProperty(exports, 'toFlatOptionArray', {
683
- enumerable: true,
684
- get: function () {
685
- return toFlatOptionArray;
686
- }
603
+ Object.defineProperty(exports, "toFlatOptionArray", {
604
+ enumerable: true,
605
+ get: function() {
606
+ return toFlatOptionArray;
607
+ }
687
608
  });
688
- Object.defineProperty(exports, 'toFullOption', {
689
- enumerable: true,
690
- get: function () {
691
- return toFullOption;
692
- }
609
+ Object.defineProperty(exports, "toFullOption", {
610
+ enumerable: true,
611
+ get: function() {
612
+ return toFullOption;
613
+ }
693
614
  });
694
- Object.defineProperty(exports, 'toFullOptionList', {
695
- enumerable: true,
696
- get: function () {
697
- return toFullOptionList;
698
- }
615
+ Object.defineProperty(exports, "toFullOptionList", {
616
+ enumerable: true,
617
+ get: function() {
618
+ return toFullOptionList;
619
+ }
699
620
  });
700
- Object.defineProperty(exports, 'trimIfString', {
701
- enumerable: true,
702
- get: function () {
703
- return trimIfString;
704
- }
621
+ Object.defineProperty(exports, "trimIfString", {
622
+ enumerable: true,
623
+ get: function() {
624
+ return trimIfString;
625
+ }
705
626
  });
706
- //# sourceMappingURL=utils-CR1ToTMW.js.map
627
+
628
+ //# sourceMappingURL=utils-CZRhzje-.js.map