@react-querybuilder/core 8.13.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.
Files changed (100) hide show
  1. package/dist/{basic-Cw014pDc.d.mts → basic-BXJVfD0P.d.ts} +77 -59
  2. package/dist/{basic-_KlsCAyT.d.ts → basic-CNIjb6rI.d.mts} +77 -59
  3. package/dist/cjs/react-querybuilder_core.cjs.development.d.ts +201 -150
  4. package/dist/cjs/react-querybuilder_core.cjs.development.js +323 -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 +201 -150
  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-B5Qm_6ut.mjs} +30 -22
  10. package/dist/convertQuery-B5Qm_6ut.mjs.map +1 -0
  11. package/dist/convertQuery-DfZehtnd.js +94 -0
  12. package/dist/convertQuery-DfZehtnd.js.map +1 -0
  13. package/dist/{export-CffjLxEe.d.mts → export-6x7MilFR.d.mts} +2 -3
  14. package/dist/{export-DRA8O1Wz.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 +42 -51
  18. package/dist/formatQuery.js.map +1 -1
  19. package/dist/formatQuery.mjs +41 -50
  20. package/dist/formatQuery.mjs.map +1 -1
  21. package/dist/{import-CWYJkN_w.d.ts → import-B5Iq8XmL.d.ts} +2 -3
  22. package/dist/{import-DjHGaGhJ.d.mts → import-Bltb2mT4.d.mts} +2 -3
  23. package/dist/{isRuleGroup-Cjk1Q2mj.js → isRuleGroup-BCwaLzDj.js} +38 -40
  24. package/dist/isRuleGroup-BCwaLzDj.js.map +1 -0
  25. package/dist/{isRuleGroup-DztIOOKa.mjs → isRuleGroup-LzP0HCKh.mjs} +2 -4
  26. package/dist/isRuleGroup-LzP0HCKh.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 +37 -5611
  36. package/dist/parseJSONata.js.map +1 -1
  37. package/dist/parseJSONata.mjs +11 -14
  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 +20 -21
  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 +7 -8
  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 +14 -16
  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 +11 -2700
  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-CkN0bTKm.js → prepareQueryObjects-Dc8rqsYM.js} +50 -38
  64. package/dist/prepareQueryObjects-Dc8rqsYM.js.map +1 -0
  65. package/dist/{prepareQueryObjects-6Bxx4Bs1.mjs → prepareQueryObjects-tMukQHT9.mjs} +35 -22
  66. package/dist/prepareQueryObjects-tMukQHT9.mjs.map +1 -0
  67. package/dist/react-querybuilder_core.d.mts +201 -150
  68. package/dist/react-querybuilder_core.legacy-esm.d.ts +201 -150
  69. package/dist/react-querybuilder_core.legacy-esm.js +317 -280
  70. package/dist/react-querybuilder_core.legacy-esm.js.map +1 -1
  71. package/dist/react-querybuilder_core.mjs +312 -248
  72. package/dist/react-querybuilder_core.mjs.map +1 -1
  73. package/dist/react-querybuilder_core.production.d.mts +201 -150
  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 +44 -3
  79. package/dist/transformQuery.js.map +1 -0
  80. package/dist/transformQuery.mjs +43 -3
  81. package/dist/transformQuery.mjs.map +1 -0
  82. package/dist/{utils-nQU7WCM9.mjs → utils-DQoYnxpa.mjs} +32 -84
  83. package/dist/utils-DQoYnxpa.mjs.map +1 -0
  84. package/dist/{utils-CR1ToTMW.js → utils-EsYRkPtf.js} +182 -246
  85. package/dist/utils-EsYRkPtf.js.map +1 -0
  86. package/package.json +29 -21
  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.map +0 -1
  92. package/dist/isRuleGroup-DztIOOKa.mjs.map +0 -1
  93. package/dist/prepareQueryObjects-6Bxx4Bs1.mjs.map +0 -1
  94. package/dist/prepareQueryObjects-CkN0bTKm.js.map +0 -1
  95. package/dist/transformQuery-ClBRfnFg.js +0 -54
  96. package/dist/transformQuery-ClBRfnFg.js.map +0 -1
  97. package/dist/transformQuery-DUpbpqjX.mjs +0 -48
  98. package/dist/transformQuery-DUpbpqjX.mjs.map +0 -1
  99. package/dist/utils-CR1ToTMW.js.map +0 -1
  100. 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_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 = 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,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
- 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);
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
- 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);
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
- * Converts all `string`-type `value` properties of a query object into `number` where appropriate.
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, '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
- }
461
+ Object.defineProperty(exports, "bigIntJsonParseReviver", {
462
+ enumerable: true,
463
+ get: function() {
464
+ return bigIntJsonParseReviver;
465
+ }
531
466
  });
532
- Object.defineProperty(exports, 'defaultNLTranslations', {
533
- enumerable: true,
534
- get: function () {
535
- return defaultNLTranslations;
536
- }
467
+ Object.defineProperty(exports, "bigIntJsonStringifyReplacer", {
468
+ enumerable: true,
469
+ get: function() {
470
+ return bigIntJsonStringifyReplacer;
471
+ }
537
472
  });
538
- Object.defineProperty(exports, 'defaultOperatorNegationMap', {
539
- enumerable: true,
540
- get: function () {
541
- return defaultOperatorNegationMap;
542
- }
473
+ Object.defineProperty(exports, "celCombinatorMap", {
474
+ enumerable: true,
475
+ get: function() {
476
+ return celCombinatorMap;
477
+ }
543
478
  });
544
- Object.defineProperty(exports, 'defaultPlaceholderFieldName', {
545
- enumerable: true,
546
- get: function () {
547
- return defaultPlaceholderFieldName;
548
- }
479
+ Object.defineProperty(exports, "defaultNLTranslations", {
480
+ enumerable: true,
481
+ get: function() {
482
+ return defaultNLTranslations;
483
+ }
549
484
  });
550
- Object.defineProperty(exports, 'defaultPlaceholderOperatorName', {
551
- enumerable: true,
552
- get: function () {
553
- return defaultPlaceholderOperatorName;
554
- }
485
+ Object.defineProperty(exports, "defaultOperatorNegationMap", {
486
+ enumerable: true,
487
+ get: function() {
488
+ return defaultOperatorNegationMap;
489
+ }
555
490
  });
556
- Object.defineProperty(exports, 'getNLTranslataion', {
557
- enumerable: true,
558
- get: function () {
559
- return getNLTranslataion;
560
- }
491
+ Object.defineProperty(exports, "getNLTranslataion", {
492
+ enumerable: true,
493
+ get: function() {
494
+ return getNLTranslataion;
495
+ }
561
496
  });
562
- Object.defineProperty(exports, 'getOption', {
563
- enumerable: true,
564
- get: function () {
565
- return getOption;
566
- }
497
+ Object.defineProperty(exports, "getOption", {
498
+ enumerable: true,
499
+ get: function() {
500
+ return getOption;
501
+ }
567
502
  });
568
- Object.defineProperty(exports, 'getParseNumberMethod', {
569
- enumerable: true,
570
- get: function () {
571
- return getParseNumberMethod;
572
- }
503
+ Object.defineProperty(exports, "getParseNumberMethod", {
504
+ enumerable: true,
505
+ get: function() {
506
+ return getParseNumberMethod;
507
+ }
573
508
  });
574
- Object.defineProperty(exports, 'getQuoteFieldNamesWithArray', {
575
- enumerable: true,
576
- get: function () {
577
- return getQuoteFieldNamesWithArray;
578
- }
509
+ Object.defineProperty(exports, "getQuoteFieldNamesWithArray", {
510
+ enumerable: true,
511
+ get: function() {
512
+ return getQuoteFieldNamesWithArray;
513
+ }
579
514
  });
580
- Object.defineProperty(exports, 'getQuotedFieldName', {
581
- enumerable: true,
582
- get: function () {
583
- return getQuotedFieldName;
584
- }
515
+ Object.defineProperty(exports, "getQuotedFieldName", {
516
+ enumerable: true,
517
+ get: function() {
518
+ return getQuotedFieldName;
519
+ }
585
520
  });
586
- Object.defineProperty(exports, 'isFlexibleOptionArray', {
587
- enumerable: true,
588
- get: function () {
589
- return isFlexibleOptionArray;
590
- }
521
+ Object.defineProperty(exports, "isFlexibleOptionArray", {
522
+ enumerable: true,
523
+ get: function() {
524
+ return isFlexibleOptionArray;
525
+ }
591
526
  });
592
- Object.defineProperty(exports, 'isFlexibleOptionGroupArray', {
593
- enumerable: true,
594
- get: function () {
595
- return isFlexibleOptionGroupArray;
596
- }
527
+ Object.defineProperty(exports, "isFlexibleOptionGroupArray", {
528
+ enumerable: true,
529
+ get: function() {
530
+ return isFlexibleOptionGroupArray;
531
+ }
597
532
  });
598
- Object.defineProperty(exports, 'isValidValue', {
599
- enumerable: true,
600
- get: function () {
601
- return isValidValue;
602
- }
533
+ Object.defineProperty(exports, "isValidValue", {
534
+ enumerable: true,
535
+ get: function() {
536
+ return isValidValue;
537
+ }
603
538
  });
604
- Object.defineProperty(exports, 'isValueProcessorLegacy', {
605
- enumerable: true,
606
- get: function () {
607
- return isValueProcessorLegacy;
608
- }
539
+ Object.defineProperty(exports, "isValueProcessorLegacy", {
540
+ enumerable: true,
541
+ get: function() {
542
+ return isValueProcessorLegacy;
543
+ }
609
544
  });
610
- Object.defineProperty(exports, 'joinWith', {
611
- enumerable: true,
612
- get: function () {
613
- return joinWith;
614
- }
545
+ Object.defineProperty(exports, "joinWith", {
546
+ enumerable: true,
547
+ get: function() {
548
+ return joinWith;
549
+ }
615
550
  });
616
- Object.defineProperty(exports, 'jsonLogicAdditionalOperators', {
617
- enumerable: true,
618
- get: function () {
619
- return jsonLogicAdditionalOperators;
620
- }
551
+ Object.defineProperty(exports, "jsonLogicAdditionalOperators", {
552
+ enumerable: true,
553
+ get: function() {
554
+ return jsonLogicAdditionalOperators;
555
+ }
621
556
  });
622
- Object.defineProperty(exports, 'mapSQLOperator', {
623
- enumerable: true,
624
- get: function () {
625
- return mapSQLOperator;
626
- }
557
+ Object.defineProperty(exports, "mapSQLOperator", {
558
+ enumerable: true,
559
+ get: function() {
560
+ return mapSQLOperator;
561
+ }
627
562
  });
628
- Object.defineProperty(exports, 'mongoOperators', {
629
- enumerable: true,
630
- get: function () {
631
- return mongoOperators;
632
- }
563
+ Object.defineProperty(exports, "mongoOperators", {
564
+ enumerable: true,
565
+ get: function() {
566
+ return mongoOperators;
567
+ }
633
568
  });
634
- Object.defineProperty(exports, 'normalizeConstituentWordOrder', {
635
- enumerable: true,
636
- get: function () {
637
- return normalizeConstituentWordOrder;
638
- }
569
+ Object.defineProperty(exports, "normalizeConstituentWordOrder", {
570
+ enumerable: true,
571
+ get: function() {
572
+ return normalizeConstituentWordOrder;
573
+ }
639
574
  });
640
- Object.defineProperty(exports, 'numerifyValues', {
641
- enumerable: true,
642
- get: function () {
643
- return numerifyValues;
644
- }
575
+ Object.defineProperty(exports, "numerifyValues", {
576
+ enumerable: true,
577
+ get: function() {
578
+ return numerifyValues;
579
+ }
645
580
  });
646
- Object.defineProperty(exports, 'objectKeys', {
647
- enumerable: true,
648
- get: function () {
649
- return objectKeys;
650
- }
581
+ Object.defineProperty(exports, "objectKeys", {
582
+ enumerable: true,
583
+ get: function() {
584
+ return objectKeys;
585
+ }
651
586
  });
652
- Object.defineProperty(exports, 'parseNumber', {
653
- enumerable: true,
654
- get: function () {
655
- return parseNumber;
656
- }
587
+ Object.defineProperty(exports, "parseNumber", {
588
+ enumerable: true,
589
+ get: function() {
590
+ return parseNumber;
591
+ }
657
592
  });
658
- Object.defineProperty(exports, 'prismaOperators', {
659
- enumerable: true,
660
- get: function () {
661
- return prismaOperators;
662
- }
593
+ Object.defineProperty(exports, "prismaOperators", {
594
+ enumerable: true,
595
+ get: function() {
596
+ return prismaOperators;
597
+ }
663
598
  });
664
- Object.defineProperty(exports, 'processMatchMode', {
665
- enumerable: true,
666
- get: function () {
667
- return processMatchMode;
668
- }
599
+ Object.defineProperty(exports, "processMatchMode", {
600
+ enumerable: true,
601
+ get: function() {
602
+ return processMatchMode;
603
+ }
669
604
  });
670
- Object.defineProperty(exports, 'shouldRenderAsNumber', {
671
- enumerable: true,
672
- get: function () {
673
- return shouldRenderAsNumber;
674
- }
605
+ Object.defineProperty(exports, "shouldRenderAsNumber", {
606
+ enumerable: true,
607
+ get: function() {
608
+ return shouldRenderAsNumber;
609
+ }
675
610
  });
676
- Object.defineProperty(exports, 'toArray', {
677
- enumerable: true,
678
- get: function () {
679
- return toArray;
680
- }
611
+ Object.defineProperty(exports, "toArray", {
612
+ enumerable: true,
613
+ get: function() {
614
+ return toArray;
615
+ }
681
616
  });
682
- Object.defineProperty(exports, 'toFlatOptionArray', {
683
- enumerable: true,
684
- get: function () {
685
- return toFlatOptionArray;
686
- }
617
+ Object.defineProperty(exports, "toFlatOptionArray", {
618
+ enumerable: true,
619
+ get: function() {
620
+ return toFlatOptionArray;
621
+ }
687
622
  });
688
- Object.defineProperty(exports, 'toFullOption', {
689
- enumerable: true,
690
- get: function () {
691
- return toFullOption;
692
- }
623
+ Object.defineProperty(exports, "toFullOption", {
624
+ enumerable: true,
625
+ get: function() {
626
+ return toFullOption;
627
+ }
693
628
  });
694
- Object.defineProperty(exports, 'toFullOptionList', {
695
- enumerable: true,
696
- get: function () {
697
- return toFullOptionList;
698
- }
629
+ Object.defineProperty(exports, "toFullOptionList", {
630
+ enumerable: true,
631
+ get: function() {
632
+ return toFullOptionList;
633
+ }
699
634
  });
700
- Object.defineProperty(exports, 'trimIfString', {
701
- enumerable: true,
702
- get: function () {
703
- return trimIfString;
704
- }
635
+ Object.defineProperty(exports, "trimIfString", {
636
+ enumerable: true,
637
+ get: function() {
638
+ return trimIfString;
639
+ }
705
640
  });
706
- //# sourceMappingURL=utils-CR1ToTMW.js.map
641
+
642
+ //# sourceMappingURL=utils-EsYRkPtf.js.map