@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.
Files changed (100) 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 +178 -127
  4. package/dist/cjs/react-querybuilder_core.cjs.development.js +299 -251
  5. package/dist/cjs/react-querybuilder_core.cjs.development.js.map +1 -1
  6. package/dist/cjs/react-querybuilder_core.cjs.production.d.ts +178 -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-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-_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 +18 -50
  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/{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 +9 -11
  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 -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 +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 +9 -11
  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-BxWvIPI4.js → prepareQueryObjects-Dc8rqsYM.js} +49 -34
  64. package/dist/prepareQueryObjects-Dc8rqsYM.js.map +1 -0
  65. package/dist/{prepareQueryObjects-BBayjIn2.mjs → prepareQueryObjects-tMukQHT9.mjs} +34 -18
  66. package/dist/prepareQueryObjects-tMukQHT9.mjs.map +1 -0
  67. package/dist/react-querybuilder_core.d.mts +178 -127
  68. package/dist/react-querybuilder_core.legacy-esm.d.ts +178 -127
  69. package/dist/react-querybuilder_core.legacy-esm.js +296 -279
  70. package/dist/react-querybuilder_core.legacy-esm.js.map +1 -1
  71. package/dist/react-querybuilder_core.mjs +288 -247
  72. package/dist/react-querybuilder_core.mjs.map +1 -1
  73. package/dist/react-querybuilder_core.production.d.mts +178 -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 +44 -2
  79. package/dist/transformQuery.js.map +1 -0
  80. package/dist/transformQuery.mjs +43 -2
  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 +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.map +0 -1
  92. package/dist/isRuleGroup-DztIOOKa.mjs.map +0 -1
  93. package/dist/prepareQueryObjects-BBayjIn2.mjs.map +0 -1
  94. package/dist/prepareQueryObjects-BxWvIPI4.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
@@ -23,25 +23,20 @@ import type {UnionToIntersection} from 'type-fest';
23
23
  type Union = {the(): void} | {great(arg: string): void} | {escape: boolean};
24
24
 
25
25
  type Intersection = UnionToIntersection<Union>;
26
- //=> {the(): void; great(arg: string): void; escape: boolean};
26
+ //=> {the(): void} & {great(arg: string): void} & {escape: boolean}
27
27
  ```
28
28
 
29
29
  @category Type
30
30
  */
31
- type UnionToIntersection<Union> = (
32
- // `extends unknown` is always going to be the case and is used to convert the
31
+ type UnionToIntersection<Union> = (// `extends unknown` is always going to be the case and is used to convert the
33
32
  // `Union` into a [distributive conditional
34
33
  // type](https://www.typescriptlang.org/docs/handbook/release-notes/typescript-2-8.html#distributive-conditional-types).
35
- Union extends unknown
36
- // The union type is used as the only argument to a function since the union
34
+ Union extends unknown // The union type is used as the only argument to a function since the union
37
35
  // of function arguments is an intersection.
38
- ? (distributedUnion: Union) => void
39
- // This won't happen.
40
- : never
41
- // Infer the `Intersection` type since TypeScript represents the positional
36
+ ? (distributedUnion: Union) => void // This won't happen.
37
+ : never // Infer the `Intersection` type since TypeScript represents the positional
42
38
  // arguments of unions of functions as an intersection of the union.
43
- ) extends ((mergedIntersection: infer Intersection) => void)
44
- // The `& Union` is to ensure result of `UnionToIntersection<A | B>` is always assignable to `A | B`
39
+ ) extends ((mergedIntersection: infer Intersection) => void) // The `& Union` is to ensure result of `UnionToIntersection<A | B>` is always assignable to `A | B`
45
40
  ? Intersection & Union : never;
46
41
  //#endregion
47
42
  //#region ../../node_modules/type-fest/source/keys-of-union.d.ts
@@ -82,8 +77,7 @@ type AllKeys = KeysOfUnion<Union>;
82
77
 
83
78
  @category Object
84
79
  */
85
- type KeysOfUnion<ObjectType> =
86
- // Hack to fix https://github.com/sindresorhus/type-fest/issues/1008
80
+ type KeysOfUnion<ObjectType> = // Hack to fix https://github.com/sindresorhus/type-fest/issues/1008
87
81
  keyof UnionToIntersection<ObjectType extends unknown ? Record<keyof ObjectType, never> : never>;
88
82
  //#endregion
89
83
  //#region ../../node_modules/type-fest/source/is-any.d.ts
@@ -158,7 +152,7 @@ type T5 = IsOptionalKeyOf<User | Admin, 'surname'>;
158
152
  @category Type Guard
159
153
  @category Utilities
160
154
  */
161
- type IsOptionalKeyOf<Type extends object, Key$1 extends keyof Type> = IsAny<Type | Key$1> extends true ? never : Key$1 extends keyof Type ? Type extends Record<Key$1, Type[Key$1]> ? false : true : false;
155
+ type IsOptionalKeyOf<Type extends object, Key extends keyof Type> = IsAny<Type | Key> extends true ? never : Key extends keyof Type ? Type extends Record<Key, Type[Key]> ? false : true : false;
162
156
  //#endregion
163
157
  //#region ../../node_modules/type-fest/source/optional-keys-of.d.ts
164
158
  /**
@@ -273,14 +267,14 @@ type IsTrue<T> = T extends true ? true : false;
273
267
 
274
268
  // When a distributive conditional is instantiated with `never`, the entire conditional results in `never`.
275
269
  type A = IsTrue<never>;
276
- // ^? type A = never
270
+ //=> never
277
271
 
278
272
  // If you don't want that behaviour, you can explicitly add an `IsNever` check before the distributive conditional.
279
273
  type IsTrueFixed<T> =
280
274
  IsNever<T> extends true ? false : T extends true ? true : false;
281
275
 
282
276
  type B = IsTrueFixed<never>;
283
- // ^? type B = false
277
+ //=> false
284
278
  ```
285
279
 
286
280
  @category Type Guard
@@ -471,7 +465,7 @@ type T2 = TrimLeftOptimised<NineHundredNinetyNineSpaces>;
471
465
  //=> ''
472
466
  ```
473
467
  */
474
- type IfNotAnyOrNever<T, IfNotAnyOrNever$1, IfAny = any, IfNever = never> = If<IsAny<T>, IfAny, If<IsNever<T>, IfNever, IfNotAnyOrNever$1>>;
468
+ type IfNotAnyOrNever<T, IfNotAnyOrNever, IfAny = any, IfNever = never> = If<IsAny<T>, IfAny, If<IsNever<T>, IfNever, IfNotAnyOrNever>>;
475
469
  //#endregion
476
470
  //#region ../../node_modules/type-fest/source/internal/array.d.ts
477
471
  /**
@@ -591,7 +585,7 @@ const indexed: Record<string, unknown> = {}; // Allowed
591
585
 
592
586
  // @ts-expect-error
593
587
  const keyed: Record<'foo', unknown> = {}; // Error
594
- // => TS2739: Type '{}' is missing the following properties from type 'Record<"foo" | "bar", unknown>': foo, bar
588
+ // TS2739: Type '{}' is missing the following properties from type 'Record<"foo" | "bar", unknown>': foo, bar
595
589
  ```
596
590
 
597
591
  Instead of causing a type error like the above, you can also use a [conditional type](https://www.typescriptlang.org/docs/handbook/2/conditional-types.html) to test whether a type is assignable to another:
@@ -600,12 +594,16 @@ Instead of causing a type error like the above, you can also use a [conditional
600
594
  type Indexed = {} extends Record<string, unknown>
601
595
  ? '✅ `{}` is assignable to `Record<string, unknown>`'
602
596
  : '❌ `{}` is NOT assignable to `Record<string, unknown>`';
603
- // => '✅ `{}` is assignable to `Record<string, unknown>`'
597
+
598
+ type IndexedResult = Indexed;
599
+ //=> '✅ `{}` is assignable to `Record<string, unknown>`'
604
600
 
605
601
  type Keyed = {} extends Record<'foo' | 'bar', unknown>
606
602
  ? '✅ `{}` is assignable to `Record<\'foo\' | \'bar\', unknown>`'
607
603
  : '❌ `{}` is NOT assignable to `Record<\'foo\' | \'bar\', unknown>`';
608
- // => "❌ `{}` is NOT assignable to `Record<'foo' | 'bar', unknown>`"
604
+
605
+ type KeyedResult = Keyed;
606
+ //=> '❌ `{}` is NOT assignable to `Record<\'foo\' | \'bar\', unknown>`'
609
607
  ```
610
608
 
611
609
  Using a [mapped type](https://www.typescriptlang.org/docs/handbook/2/mapped-types.html#further-exploration), you can then check for each `KeyType` of `ObjectType`...
@@ -653,7 +651,7 @@ type Example = {
653
651
  };
654
652
 
655
653
  type ExampleWithoutIndexSignatures = OmitIndexSignature<Example>;
656
- // => { foo: 'bar'; qux?: 'baz' | undefined; }
654
+ //=> {foo: 'bar'; qux?: 'baz'}
657
655
  ```
658
656
 
659
657
  @see {@link PickIndexSignature}
@@ -711,11 +709,35 @@ type PickIndexSignature<ObjectType> = { [KeyType in keyof ObjectType as {} exten
711
709
  //#endregion
712
710
  //#region ../../node_modules/type-fest/source/merge.d.ts
713
711
  // Merges two objects without worrying about index signatures.
714
- type SimpleMerge<Destination, Source> = { [Key in keyof Destination as Key extends keyof Source ? never : Key]: Destination[Key] } & Source;
715
-
712
+ type SimpleMerge<Destination, Source> = Simplify<{ [Key in keyof Destination as Key extends keyof Source ? never : Key]: Destination[Key] } & Source>;
716
713
  /**
717
714
  Merge two types into a new type. Keys of the second type overrides keys of the first type.
718
715
 
716
+ This is different from the TypeScript `&` (intersection) operator. With `&`, conflicting property types are intersected, which often results in `never`. For example, `{a: string} & {a: number}` makes `a` become `string & number`, which resolves to `never`. With `Merge`, the second type's keys cleanly override the first, so `Merge<{a: string}, {a: number}>` gives `{a: number}` as expected. `Merge` also produces a flattened type (via `Simplify`), making it more readable in IDE tooltips compared to `A & B`.
717
+
718
+ @example
719
+ ```
720
+ import type {Merge} from 'type-fest';
721
+
722
+ type Foo = {
723
+ a: string;
724
+ b: number;
725
+ };
726
+
727
+ type Bar = {
728
+ a: number; // Conflicts with Foo['a']
729
+ c: boolean;
730
+ };
731
+
732
+ // With `&`, `a` becomes `string & number` which is `never`. Not what you want.
733
+ type WithIntersection = (Foo & Bar)['a'];
734
+ //=> never
735
+
736
+ // With `Merge`, `a` is cleanly overridden to `number`.
737
+ type WithMerge = Merge<Foo, Bar>['a'];
738
+ //=> number
739
+ ```
740
+
719
741
  @example
720
742
  ```
721
743
  import type {Merge} from 'type-fest';
@@ -735,7 +757,7 @@ type Bar = {
735
757
  };
736
758
 
737
759
  export type FooBar = Merge<Foo, Bar>;
738
- // => {
760
+ //=> {
739
761
  // [x: string]: unknown;
740
762
  // [x: number]: number;
741
763
  // [x: symbol]: unknown;
@@ -745,9 +767,17 @@ export type FooBar = Merge<Foo, Bar>;
745
767
  // }
746
768
  ```
747
769
 
770
+ Note: If you want a merge type that more accurately reflects the runtime behavior of object spread or `Object.assign`, refer to the {@link ObjectMerge} type.
771
+
772
+ @see {@link ObjectMerge}
748
773
  @category Object
749
774
  */
750
- type Merge<Destination, Source> = Simplify<SimpleMerge<PickIndexSignature<Destination>, PickIndexSignature<Source>> & SimpleMerge<OmitIndexSignature<Destination>, OmitIndexSignature<Source>>>;
775
+ type Merge<Destination, Source> = Destination extends unknown // For distributing `Destination`
776
+ ? Source extends unknown // For distributing `Source`
777
+ ? If<IsEqual<Destination, Source>, Destination, _Merge<Destination, Source>> : never // Should never happen
778
+ : never;
779
+ // Should never happen
780
+ type _Merge<Destination, Source> = Simplify<SimpleMerge<PickIndexSignature<Destination>, PickIndexSignature<Source>> & SimpleMerge<OmitIndexSignature<Destination>, OmitIndexSignature<Source>>>;
751
781
  //#endregion
752
782
  //#region ../../node_modules/type-fest/source/internal/object.d.ts
753
783
  /**
@@ -870,7 +900,7 @@ type Filtered = Filter<'bar', 'foo'>;
870
900
 
871
901
  @see {Except}
872
902
  */
873
- type Filter<KeyType$1, ExcludeType> = IsEqual<KeyType$1, ExcludeType> extends true ? never : (KeyType$1 extends ExcludeType ? never : KeyType$1);
903
+ type Filter<KeyType, ExcludeType> = IsEqual<KeyType, ExcludeType> extends true ? never : (KeyType extends ExcludeType ? never : KeyType);
874
904
  type ExceptOptions = {
875
905
  /**
876
906
  Disallow assigning non-specified properties.
@@ -882,7 +912,6 @@ type ExceptOptions = {
882
912
  type DefaultExceptOptions = {
883
913
  requireExactProps: false;
884
914
  };
885
-
886
915
  /**
887
916
  Create a type from an object type without certain keys.
888
917
 
@@ -906,14 +935,14 @@ type FooWithoutA = Except<Foo, 'a'>;
906
935
 
907
936
  // @ts-expect-error
908
937
  const fooWithoutA: FooWithoutA = {a: 1, b: '2'};
909
- //=> errors: 'a' does not exist in type '{ b: string; }'
938
+ // errors: 'a' does not exist in type '{ b: string; }'
910
939
 
911
940
  type FooWithoutB = Except<Foo, 'b', {requireExactProps: true}>;
912
- //=> {a: number} & Partial<Record<"b", never>>
941
+ //=> {a: number} & Partial<Record<'b', never>>
913
942
 
914
943
  // @ts-expect-error
915
944
  const fooWithoutB: FooWithoutB = {a: 1, b: '2'};
916
- //=> errors at 'b': Type 'string' is not assignable to type 'undefined'.
945
+ // errors at 'b': Type 'string' is not assignable to type 'undefined'.
917
946
 
918
947
  // The `Omit` utility type doesn't work when omitting specific keys from objects containing index signatures.
919
948
 
@@ -928,12 +957,12 @@ type UserData = {
928
957
 
929
958
  // `Omit` clearly doesn't behave as expected in this case:
930
959
  type PostPayload = Omit<UserData, 'email'>;
931
- //=> { [x: string]: string; [x: number]: string; }
960
+ //=> {[x: string]: string; [x: number]: string}
932
961
 
933
962
  // In situations like this, `Except` works better.
934
963
  // It simply removes the `email` key while preserving all the other keys.
935
964
  type PostPayloadFixed = Except<UserData, 'email'>;
936
- //=> { [x: string]: string; name: string; role: 'admin' | 'user'; }
965
+ //=> {[x: string]: string; name: string; role: 'admin' | 'user'}
937
966
  ```
938
967
 
939
968
  @category Object
@@ -964,13 +993,10 @@ const responder: RequireAtLeastOne<Responder, 'text' | 'json'> = {
964
993
  @category Object
965
994
  */
966
995
  type RequireAtLeastOne$1<ObjectType, KeysType extends keyof ObjectType = keyof ObjectType> = IfNotAnyOrNever<ObjectType, If<IsNever<KeysType>, never, _RequireAtLeastOne<ObjectType, If<IsAny<KeysType>, keyof ObjectType, KeysType>>>>;
967
- type _RequireAtLeastOne<ObjectType, KeysType extends keyof ObjectType> = {
968
- // For each `Key` in `KeysType` make a mapped type:
969
- [Key in KeysType]-?: Required<Pick<ObjectType, Key>> &
970
- // 1. Make `Key`'s type required
996
+ type _RequireAtLeastOne<ObjectType, KeysType extends keyof ObjectType> = { // For each `Key` in `KeysType` make a mapped type:
997
+ [Key in KeysType]-?: Required<Pick<ObjectType, Key>> & // 1. Make `Key`'s type required
971
998
  // 2. Make all other keys in `KeysType` optional
972
- Partial<Pick<ObjectType, Exclude<KeysType, Key>>> }[KeysType] &
973
- // 3. Add the remaining keys not in `KeysType`
999
+ Partial<Pick<ObjectType, Exclude<KeysType, Key>>> }[KeysType] & // 3. Add the remaining keys not in `KeysType`
974
1000
  Except<ObjectType, KeysType>;
975
1001
  //#endregion
976
1002
  //#region ../../node_modules/type-fest/source/required-deep.d.ts
@@ -1015,7 +1041,8 @@ Note that types containing overloaded functions are not made deeply required due
1015
1041
  @category Set
1016
1042
  @category Map
1017
1043
  */
1018
- type RequiredDeep<T> = T extends BuiltIns ? T : T extends Map<infer KeyType, infer ValueType> ? Map<RequiredDeep<KeyType>, RequiredDeep<ValueType>> : T extends Set<infer ItemType> ? Set<RequiredDeep<ItemType>> : T extends ReadonlyMap<infer KeyType, infer ValueType> ? ReadonlyMap<RequiredDeep<KeyType>, RequiredDeep<ValueType>> : T extends ReadonlySet<infer ItemType> ? ReadonlySet<RequiredDeep<ItemType>> : T extends WeakMap<infer KeyType, infer ValueType> ? WeakMap<RequiredDeep<KeyType>, RequiredDeep<ValueType>> : T extends WeakSet<infer ItemType> ? WeakSet<RequiredDeep<ItemType>> : T extends Promise<infer ValueType> ? Promise<RequiredDeep<ValueType>> : T extends ((...arguments_: any[]) => unknown) ? IsNever<keyof T> extends true ? T : HasMultipleCallSignatures<T> extends true ? T : ((...arguments_: Parameters<T>) => ReturnType<T>) & RequiredObjectDeep<T> : T extends object ? RequiredObjectDeep<T> : unknown;
1044
+ type RequiredDeep<T> = T extends BuiltIns ? T : T extends Map<infer KeyType, infer ValueType> ? Map<RequiredDeep<KeyType>, RequiredDeep<ValueType>> : T extends Set<infer ItemType> ? Set<RequiredDeep<ItemType>> : T extends ReadonlyMap<infer KeyType, infer ValueType> ? ReadonlyMap<RequiredDeep<KeyType>, RequiredDeep<ValueType>> : T extends ReadonlySet<infer ItemType> ? ReadonlySet<RequiredDeep<ItemType>> : T extends WeakMap<infer KeyType, infer ValueType> ? WeakMap<RequiredDeep<KeyType>, RequiredDeep<ValueType>> : T extends WeakSet<infer ItemType> ? WeakSet<RequiredDeep<ItemType>> : T extends Promise<infer ValueType> ? Promise<RequiredDeep<ValueType>> : T extends ((...arguments_: any[]) => unknown) ? IsNever<keyof T> extends true ? T : HasMultipleCallSignatures<T> extends true ? T : ((...arguments_: Parameters<T>) => ReturnType<T>) & RequiredObjectDeep<T> : T extends object ? Simplify<RequiredObjectDeep<T>> // `Simplify` to prevent `RequiredObjectDeep` from appearing in the resulting type
1045
+ : unknown;
1019
1046
  type RequiredObjectDeep<ObjectType extends object> = { [KeyType in keyof ObjectType]-?: RequiredDeep<ObjectType[KeyType]> };
1020
1047
  //#endregion
1021
1048
  //#region ../../node_modules/type-fest/source/set-optional.d.ts
@@ -1035,21 +1062,15 @@ type Foo = {
1035
1062
  };
1036
1063
 
1037
1064
  type SomeOptional = SetOptional<Foo, 'b' | 'c'>;
1038
- // type SomeOptional = {
1039
- // a: number;
1040
- // b?: string; // Was already optional and still is.
1041
- // c?: boolean; // Is now optional.
1042
- // }
1065
+ //=> {a: number; b?: string; c?: boolean}
1043
1066
  ```
1044
1067
 
1045
1068
  @category Object
1046
1069
  */
1047
1070
  type SetOptional<BaseType, Keys extends keyof BaseType> = (BaseType extends ((...arguments_: never) => any) ? (...arguments_: Parameters<BaseType>) => ReturnType<BaseType> : unknown) & _SetOptional<BaseType, Keys>;
1048
1071
  type _SetOptional<BaseType, Keys extends keyof BaseType> = BaseType extends unknown // To distribute `BaseType` when it's a union type.
1049
- ? Simplify<
1050
- // Pick just the keys that are readonly from the base type.
1051
- Except<BaseType, Keys> &
1052
- // Pick the keys that should be mutable from the base type and make them mutable.
1072
+ ? Simplify< // Pick just the keys that are readonly from the base type.
1073
+ Except<BaseType, Keys> & // Pick the keys that should be mutable from the base type and make them mutable.
1053
1074
  Partial<HomomorphicPick<BaseType, Keys>>> : never;
1054
1075
  //#endregion
1055
1076
  //#region ../../node_modules/type-fest/source/set-required.d.ts
@@ -1069,11 +1090,7 @@ type Foo = {
1069
1090
  };
1070
1091
 
1071
1092
  type SomeRequired = SetRequired<Foo, 'b' | 'c'>;
1072
- // type SomeRequired = {
1073
- // a?: number;
1074
- // b: string; // Was already required and still is.
1075
- // c: boolean; // Is now required.
1076
- // }
1093
+ //=> {a?: number; b: string; c: boolean}
1077
1094
 
1078
1095
  // Set specific indices in an array to be required.
1079
1096
  type ArrayExample = SetRequired<[number?, number?, number?], 0 | 1>;
@@ -1083,23 +1100,18 @@ type ArrayExample = SetRequired<[number?, number?, number?], 0 | 1>;
1083
1100
  @category Object
1084
1101
  */
1085
1102
  type SetRequired<BaseType, Keys extends keyof BaseType> = (BaseType extends ((...arguments_: never) => any) ? (...arguments_: Parameters<BaseType>) => ReturnType<BaseType> : unknown) & _SetRequired<BaseType, Keys>;
1086
- type _SetRequired<BaseType, Keys extends keyof BaseType> = BaseType extends UnknownArray ? SetArrayRequired<BaseType, Keys> extends infer ResultantArray ? If<IsArrayReadonly<BaseType>, Readonly<ResultantArray>, ResultantArray> : never : Simplify<
1087
- // Pick just the keys that are optional from the base type.
1088
- Except<BaseType, Keys> &
1089
- // Pick the keys that should be required from the base type and make them required.
1103
+ type _SetRequired<BaseType, Keys extends keyof BaseType> = BaseType extends UnknownArray ? SetArrayRequired<BaseType, Keys> extends infer ResultantArray ? If<IsArrayReadonly<BaseType>, Readonly<ResultantArray>, ResultantArray> : never : Simplify< // Pick just the keys that are optional from the base type.
1104
+ Except<BaseType, Keys> & // Pick the keys that should be required from the base type and make them required.
1090
1105
  Required<HomomorphicPick<BaseType, Keys>>>;
1091
-
1092
1106
  /**
1093
1107
  Remove the optional modifier from the specified keys in an array.
1094
1108
  */
1095
1109
  type SetArrayRequired<TArray extends UnknownArray, Keys, Counter extends any[] = [], Accumulator extends UnknownArray = []> = TArray extends unknown // For distributing `TArray` when it's a union
1096
- ? keyof TArray & `${number}` extends never
1097
- // Exit if `TArray` is empty (e.g., []), or
1110
+ ? keyof TArray & `${number}` extends never // Exit if `TArray` is empty (e.g., []), or
1098
1111
  // `TArray` contains no non-rest elements preceding the rest element (e.g., `[...string[]]` or `[...string[], string]`).
1099
1112
  ? [...Accumulator, ...TArray] : TArray extends readonly [(infer First)?, ...infer Rest] ? '0' extends OptionalKeysOf<TArray> // If the first element of `TArray` is optional
1100
1113
  ? `${Counter['length']}` extends `${Keys & (string | number)}` // If the current index needs to be required
1101
- ? SetArrayRequired<Rest, Keys, [...Counter, any], [...Accumulator, First]>
1102
- // If the current element is optional, but it doesn't need to be required,
1114
+ ? SetArrayRequired<Rest, Keys, [...Counter, any], [...Accumulator, First]> // If the current element is optional, but it doesn't need to be required,
1103
1115
  // then we can exit early, since no further elements can now be made required.
1104
1116
  : [...Accumulator, ...TArray] : SetArrayRequired<Rest, Keys, [...Counter, any], [...Accumulator, TArray[0]]> : never // Should never happen, since `[(infer F)?, ...infer R]` is a top-type for arrays.
1105
1117
  : never; // Should never happen
@@ -1255,20 +1267,20 @@ type FullOptionList<Opt extends BaseOption> = Opt extends BaseFullOption ? Opt[]
1255
1267
  *
1256
1268
  * @group Option Lists
1257
1269
  */
1258
- type BaseOptionMap<V$1 extends BaseOption = BaseOption, K$1 extends string = GetOptionIdentifierType<V$1>> = { [k in K$1]?: ToFlexibleOption<V$1> };
1270
+ type BaseOptionMap<V extends BaseOption = BaseOption, K extends string = GetOptionIdentifierType<V>> = { [k in K]?: ToFlexibleOption<V> };
1259
1271
  /**
1260
1272
  * Map of option identifiers to their respective {@link FullOption}.
1261
1273
  *
1262
1274
  * @group Option Lists
1263
1275
  */
1264
- type FullOptionMap<V$1 extends BaseFullOption, K$1 extends string = GetOptionIdentifierType<V$1>> = { [k in K$1]?: V$1 };
1276
+ type FullOptionMap<V extends BaseFullOption, K extends string = GetOptionIdentifierType<V>> = { [k in K]?: V };
1265
1277
  /**
1266
1278
  * Map of option identifiers to their respective {@link FullOption}.
1267
1279
  * Must include all possible strings from the identifier type.
1268
1280
  *
1269
1281
  * @group Option Lists
1270
1282
  */
1271
- type FullOptionRecord<V$1 extends BaseFullOption, K$1 extends string = GetOptionIdentifierType<V$1>> = Record<K$1, V$1>;
1283
+ type FullOptionRecord<V extends BaseFullOption, K extends string = GetOptionIdentifierType<V>> = Record<K, V>;
1272
1284
  //#endregion
1273
1285
  //#region src/types/ruleGroups.d.ts
1274
1286
  /**
@@ -1289,10 +1301,10 @@ interface CommonRuleAndGroupProperties {
1289
1301
  * The main rule type. The `field`, `operator`, and `value` properties
1290
1302
  * can be narrowed with generics.
1291
1303
  */
1292
- interface RuleType<F extends string = string, O extends string = string, V$1 = any, C extends string = string> extends CommonRuleAndGroupProperties {
1304
+ interface RuleType<F extends string = string, O extends string = string, V = any, C extends string = string> extends CommonRuleAndGroupProperties {
1293
1305
  field: F;
1294
1306
  operator: O;
1295
- value: V$1;
1307
+ value: V;
1296
1308
  valueSource?: ValueSource;
1297
1309
  match?: MatchConfig;
1298
1310
  /**
@@ -1579,7 +1591,7 @@ type FieldByValue<FieldName extends string = string, OperatorName extends string
1579
1591
  /**
1580
1592
  * Utility type to make one or more properties required.
1581
1593
  */
1582
- type WithRequired<T, K$1 extends keyof T> = T & { [P in K$1]-?: T[P] };
1594
+ type WithRequired<T, K extends keyof T> = T & { [P in K]-?: T[P] };
1583
1595
  /**
1584
1596
  * Utility type to make all properties non-nullable.
1585
1597
  */
@@ -2822,7 +2834,7 @@ declare const trimIfString: (val: any) => any;
2822
2834
  * Splits a string by comma then trims each element. Arrays are returned as is except
2823
2835
  * any string elements are trimmed.
2824
2836
  */
2825
- declare const toArray: (v: any, {
2837
+ declare const toArray: (a: any, {
2826
2838
  retainEmptyStrings
2827
2839
  }?: {
2828
2840
  retainEmptyStrings?: boolean;
@@ -3405,7 +3417,8 @@ declare const celCombinatorMap: {
3405
3417
  */
3406
3418
  declare const jsonLogicAdditionalOperators: Record<"startsWith" | "endsWith", (a: string, b: string) => boolean>;
3407
3419
  /**
3408
- * Converts all `string`-type `value` properties of a query object into `number` where appropriate.
3420
+ * Returns a new query object with all `string`-type `value` properties converted
3421
+ * to `number` where appropriate.
3409
3422
  *
3410
3423
  * Used by {@link formatQuery} for the `json*` formats when `parseNumbers` is `true`.
3411
3424
  *
@@ -3912,17 +3925,6 @@ declare const getCommonAncestorPath: (path1: Path, path2: Path) => Path;
3912
3925
  */
3913
3926
  declare const pathIsDisabled: (path: Path, query: RuleGroupTypeAny) => boolean;
3914
3927
  //#endregion
3915
- //#region ../react-querybuilder/src/redux/getRqbStore.d.ts
3916
- declare global {
3917
- var __RQB_DEVTOOLS__: boolean | undefined;
3918
- }
3919
- /**
3920
- * Gets the singleton React Query Builder store instance.
3921
- * DevTools are enabled if either:
3922
- * - globalThis.__RQB_DEVTOOLS__ is truthy
3923
- * - window.__RQB_DEVTOOLS__ is truthy
3924
- */
3925
- //#endregion
3926
3928
  //#region src/utils/preferProp.d.ts
3927
3929
  /**
3928
3930
  * For given default, prop, and context values, return the first provided of prop,
@@ -3992,17 +3994,25 @@ interface AddOptions {
3992
3994
  */
3993
3995
  idGenerator?: () => string;
3994
3996
  }
3997
+ interface AddMethod {
3998
+ <RG extends RuleGroupTypeAny>(query: RG, ruleOrGroup: RG | RuleType, parentPathOrID: Path | string, options?: AddOptions): RG;
3999
+ }
3995
4000
  /**
3996
- * Adds a rule or group to a query.
3997
- * @returns The new query with the rule or group added.
4001
+ * Adds a rule or group to a query without mutating the original query.
4002
+ *
4003
+ * @returns A new query with the rule or group added.
3998
4004
  *
3999
4005
  * @group Query Tools
4000
4006
  */
4001
- declare const add: <RG extends RuleGroupTypeAny>(query: RG, ruleOrGroup: RG | RuleType, parentPathOrID: Path | string, {
4002
- combinators,
4003
- combinatorPreceding,
4004
- idGenerator
4005
- }?: AddOptions) => RG;
4007
+ declare const add: AddMethod;
4008
+ /**
4009
+ * Adds a rule or group to a query in place.
4010
+ *
4011
+ * @returns The query (mutated in place) with the rule or group added.
4012
+ *
4013
+ * @group Query Tools
4014
+ */
4015
+ declare const addInPlace: AddMethod;
4006
4016
  /**
4007
4017
  * Options for {@link update}.
4008
4018
  *
@@ -4036,27 +4046,44 @@ interface UpdateOptions {
4036
4046
  */
4037
4047
  getMatchModes?: (field: string) => MatchModeOptions;
4038
4048
  }
4049
+ interface UpdateMethod {
4050
+ <RG extends RuleGroupTypeAny>(query: RG, prop: UpdateableProperties, value: any, pathOrID: Path | string, options?: UpdateOptions): RG;
4051
+ }
4052
+ /**
4053
+ * Updates a property of a rule or group within a query without mutating the original query.
4054
+ *
4055
+ * @returns A new query with the rule or group property updated.
4056
+ *
4057
+ * @group Query Tools
4058
+ */
4059
+ declare const update: UpdateMethod;
4039
4060
  /**
4040
- * Updates a property of a rule or group within a query.
4041
- * @returns The new query with the rule or group property updated.
4061
+ * Updates a property of a rule or group within a query in place.
4062
+ *
4063
+ * @returns The query (mutated in place) with the rule or group property updated.
4042
4064
  *
4043
4065
  * @group Query Tools
4044
4066
  */
4045
- declare const update: <RG extends RuleGroupTypeAny>(query: RG, prop: UpdateableProperties, value: any, pathOrID: Path | string, {
4046
- resetOnFieldChange,
4047
- resetOnOperatorChange,
4048
- getRuleDefaultOperator,
4049
- getValueSources,
4050
- getRuleDefaultValue,
4051
- getMatchModes
4052
- }?: UpdateOptions) => RG;
4067
+ declare const updateInPlace: UpdateMethod;
4068
+ interface RemoveMethod {
4069
+ <RG extends RuleGroupTypeAny>(query: RG, pathOrID: Path | string): RG;
4070
+ }
4053
4071
  /**
4054
- * Removes a rule or group from a query.
4055
- * @returns The new query with the rule or group removed.
4072
+ * Removes a rule or group from a query without mutating the original query.
4073
+ *
4074
+ * @returns A new query with the rule or group removed.
4056
4075
  *
4057
4076
  * @group Query Tools
4058
4077
  */
4059
- declare const remove: <RG extends RuleGroupTypeAny>(query: RG, pathOrID: Path | string) => RG;
4078
+ declare const remove: RemoveMethod;
4079
+ /**
4080
+ * Removes a rule or group from a query in place.
4081
+ *
4082
+ * @returns The query (mutated in place) with the rule or group removed.
4083
+ *
4084
+ * @group Query Tools
4085
+ */
4086
+ declare const removeInPlace: RemoveMethod;
4060
4087
  /**
4061
4088
  * Options for {@link move}.
4062
4089
  *
@@ -4078,18 +4105,27 @@ interface MoveOptions {
4078
4105
  */
4079
4106
  idGenerator?: () => string;
4080
4107
  }
4108
+ interface MoveMethod {
4109
+ <RG extends RuleGroupTypeAny>(query: RG, oldPathOrID: Path | string, newPath: Path | "up" | "down", options?: MoveOptions): RG;
4110
+ }
4081
4111
  /**
4082
- * Moves a rule or group from one path to another. In the options parameter, pass
4083
- * `{ clone: true }` to copy instead of move.
4084
- * @returns The new query with the rule or group moved or cloned.
4112
+ * Moves a rule or group from one path to another without mutating the original query.
4113
+ * In the options parameter, pass `{ clone: true }` to copy instead of move.
4114
+ *
4115
+ * @returns A new query with the rule or group moved or cloned.
4085
4116
  *
4086
4117
  * @group Query Tools
4087
4118
  */
4088
- declare const move: <RG extends RuleGroupTypeAny>(query: RG, oldPathOrID: Path | string, newPath: Path | "up" | "down", {
4089
- clone,
4090
- combinators,
4091
- idGenerator
4092
- }?: MoveOptions) => RG;
4119
+ declare const move: MoveMethod;
4120
+ /**
4121
+ * Moves a rule or group from one path to another in place.
4122
+ * In the options parameter, pass `{ clone: true }` to copy instead of move.
4123
+ *
4124
+ * @returns The query (mutated in place) with the rule or group moved or cloned.
4125
+ *
4126
+ * @group Query Tools
4127
+ */
4128
+ declare const moveInPlace: MoveMethod;
4093
4129
  /**
4094
4130
  * Options for {@link insert}.
4095
4131
  *
@@ -4128,19 +4164,25 @@ interface InsertOptions {
4128
4164
  */
4129
4165
  replace?: boolean;
4130
4166
  }
4167
+ interface InsertMethod {
4168
+ <RG extends RuleGroupTypeAny>(query: RG, ruleOrGroup: RG | RuleType, path: number[], options?: InsertOptions): RG;
4169
+ }
4131
4170
  /**
4132
- * Inserts a rule or group into a query.
4133
- * @returns The new query with the rule or group inserted.
4171
+ * Inserts a rule or group into a query without mutating the original query.
4172
+ *
4173
+ * @returns A new query with the rule or group inserted.
4134
4174
  *
4135
4175
  * @group Query Tools
4136
4176
  */
4137
- declare const insert: <RG extends RuleGroupTypeAny>(query: RG, ruleOrGroup: RG | RuleType, path: number[], {
4138
- combinators,
4139
- combinatorPreceding,
4140
- combinatorSucceeding,
4141
- idGenerator,
4142
- replace
4143
- }?: InsertOptions) => RG;
4177
+ declare const insert: InsertMethod;
4178
+ /**
4179
+ * Inserts a rule or group into a query in place.
4180
+ *
4181
+ * @returns The query (mutated in place) with the rule or group inserted.
4182
+ *
4183
+ * @group Query Tools
4184
+ */
4185
+ declare const insertInPlace: InsertMethod;
4144
4186
  /**
4145
4187
  * Options for {@link group}.
4146
4188
  *
@@ -4162,20 +4204,29 @@ interface GroupOptions {
4162
4204
  */
4163
4205
  idGenerator?: () => string;
4164
4206
  }
4207
+ interface GroupMethod {
4208
+ <RG extends RuleGroupTypeAny>(query: RG, sourcePathOrID: Path | string, targetPathOrID: Path | string, options?: GroupOptions): RG;
4209
+ }
4165
4210
  /**
4166
4211
  * Creates a new group at a target path with its `rules` array containing the current
4167
- * objects at the target path and the source path. In the options parameter, pass
4168
- * `{ clone: true }` to copy the source rule/group instead of move.
4212
+ * objects at the target path and the source path without mutating the original query.
4213
+ * In the options parameter, pass `{ clone: true }` to copy the source rule/group instead of move.
4169
4214
  *
4170
- * @returns The new query with the rules or groups grouped.
4215
+ * @returns A new query with the rules or groups grouped.
4171
4216
  *
4172
4217
  * @group Query Tools
4173
4218
  */
4174
- declare const group: <RG extends RuleGroupTypeAny>(query: RG, sourcePathOrID: Path | string, targetPathOrID: Path | string, {
4175
- clone,
4176
- combinators,
4177
- idGenerator
4178
- }?: GroupOptions) => RG;
4219
+ declare const group: GroupMethod;
4220
+ /**
4221
+ * Creates a new group at a target path with its `rules` array containing the current
4222
+ * objects at the target path and the source path in place.
4223
+ * In the options parameter, pass `{ clone: true }` to copy the source rule/group instead of move.
4224
+ *
4225
+ * @returns The query (mutated in place) with the rules or groups grouped.
4226
+ *
4227
+ * @group Query Tools
4228
+ */
4229
+ declare const groupInPlace: GroupMethod;
4179
4230
  //#endregion
4180
4231
  //#region src/utils/regenerateIDs.d.ts
4181
4232
  /**
@@ -4312,5 +4363,5 @@ declare function transformQuery(query: RuleGroupType, options?: TransformQueryOp
4312
4363
  */
4313
4364
  declare function transformQuery(query: RuleGroupTypeIC, options?: TransformQueryOptions<RuleGroupTypeIC>): any;
4314
4365
  //#endregion
4315
- export { AccessibleDescriptionGenerator, ActionElementEventHandler, AddOptions, Arity, BaseFullOption, BaseOption, BaseOptionMap, BaseTranslation, BaseTranslationWithLabel, BaseTranslationWithPlaceholders, BaseTranslations, BaseTranslationsFull, Classname, Classnames, Combinator, CombinatorByValue, CommonRuleAndGroupProperties, CommonRuleSubComponentProps, ConstituentWordOrder, ConstituentWordOrderString, DefaultCombinator, DefaultCombinatorExtended, DefaultCombinatorName, DefaultCombinatorNameExtended, DefaultCombinators, DefaultCombinatorsExtended, DefaultMatchModes, DefaultOperator, DefaultOperatorName, DefaultOperators, DefaultRuleGroupArray, DefaultRuleGroupICArray, DefaultRuleGroupType, DefaultRuleGroupTypeAny, DefaultRuleGroupTypeIC, DefaultRuleOrGroupArray, DefaultRuleType, DndDropTargetType, DragCollection, DraggedItem, DropCollection, DropEffect, DropResult, ExportFormat, ExportObjectFormats, ExportOperatorMap, Field, FieldByValue, FindPathReturnType, FlexibleOption, FlexibleOptionGroup, FlexibleOptionList, FlexibleOptionListProp, FormatQueryFinalOptions, FormatQueryOptions, FormatQueryValidateRule, FullCombinator, FullField, FullOperator, FullOption, FullOptionList, FullOptionMap, FullOptionRecord, GenericizeRuleGroupType, GetOptionIdentifierType, GetOptionType, GetRuleGroupType, GetRuleTypeFromGroupWithFieldAndOperator, GroupOptions, GroupVariantCondition, InputType, InsertOptions, type JsonLogicAll, type JsonLogicAnd, type JsonLogicDoubleNegation, type JsonLogicEqual, type JsonLogicGreaterThan, type JsonLogicGreaterThanOrEqual, type JsonLogicInArray, type JsonLogicInString, type JsonLogicLessThan, type JsonLogicLessThanOrEqual, type JsonLogicNegation, type JsonLogicNone, type JsonLogicNotEqual, type JsonLogicOr, type JsonLogicReservedOperations, type JsonLogicRulesLogic, type JsonLogicSome, type JsonLogicStrictEqual, type JsonLogicStrictNotEqual, type JsonLogicVar, LogType, MatchConfig, MatchMode, MatchModeOptions, MoveOptions, NLTranslationKey, NLTranslations, NameLabelPair, Operator, OperatorByValue, Option, OptionGroup, OptionList, ParameterizedNamedSQL, ParameterizedSQL, ParseNumberMethod, ParseNumberOptions, ParseNumbersPropConfig, Path, Placeholder, PrepareOptionListParams, PreparedOptionList, PreparerOptions, QueryActions, QueryBuilderFlags, QueryValidator, RQBJsonLogic, RQBJsonLogicEndsWith, RQBJsonLogicStartsWith, RQBJsonLogicVar, RegenerateIdOptions, RemoveNullability, RuleGroupArray, RuleGroupICArray, RuleGroupProcessor, RuleGroupType, RuleGroupTypeAny, RuleGroupTypeIC, RuleOrGroupArray, RuleProcessor, RuleType, RuleValidator, SQLPreset, StringUnionToFlexibleOptionArray, StringUnionToFullOptionArray, TestID, ToFlexibleOption, ToFullOption, TransformQueryOptions, UpdateOptions, UpdateableProperties, ValidationMap, ValidationResult, ValueChangeEventHandler, ValueEditorType, ValueOption, ValueProcessor, ValueProcessorByRule, ValueProcessorLegacy, ValueProcessorOptions, ValueSource, ValueSourceFlexibleOptions, ValueSourceFullOptions, ValueSources, WithRequired, WithUnknownIndex, add, bigIntJsonParseReviver, bigIntJsonStringifyReplacer, celCombinatorMap, clsx, convertFromIC, convertQuery, convertToIC, defaultCELValueProcessor, defaultCombinatorLabelMap, defaultCombinators, defaultCombinatorsExtended, defaultControlClassnames, defaultExportOperatorMap, defaultJoinChar, defaultMatchModes, defaultMongoDBValueProcessor, defaultNLTranslations, defaultOperatorLabelMap, defaultOperatorNegationMap, defaultOperatorProcessorNL, defaultOperatorProcessorSQL, defaultOperators, defaultPlaceholderFieldGroupLabel, defaultPlaceholderFieldLabel, defaultPlaceholderFieldName, defaultPlaceholderLabel, defaultPlaceholderName, defaultPlaceholderOperatorGroupLabel, defaultPlaceholderOperatorLabel, defaultPlaceholderOperatorName, defaultPlaceholderValueGroupLabel, defaultPlaceholderValueLabel, defaultPlaceholderValueName, defaultRuleGroupProcessorCEL, defaultRuleGroupProcessorDrizzle, defaultRuleGroupProcessorElasticSearch, defaultRuleGroupProcessorJSONata, defaultRuleGroupProcessorJsonLogic, defaultRuleGroupProcessorLDAP, defaultRuleGroupProcessorMongoDB, defaultRuleGroupProcessorMongoDBQuery, defaultRuleGroupProcessorNL, defaultRuleGroupProcessorParameterized, defaultRuleGroupProcessorPrisma, defaultRuleGroupProcessorSQL, defaultRuleGroupProcessorSequelize, defaultRuleGroupProcessorSpEL, defaultRuleProcessorCEL, defaultRuleProcessorDrizzle, defaultRuleProcessorElasticSearch, defaultRuleProcessorJSONata, defaultRuleProcessorJsonLogic, defaultRuleProcessorLDAP, defaultRuleProcessorMongoDB, defaultRuleProcessorMongoDBQuery, defaultRuleProcessorNL, defaultRuleProcessorParameterized, defaultRuleProcessorPrisma, defaultRuleProcessorSQL, defaultRuleProcessorSequelize, defaultRuleProcessorSpEL, defaultSpELValueProcessor, defaultTranslations, defaultValidator, defaultValueProcessor, defaultValueProcessorByRule, defaultValueProcessorCELByRule, defaultValueProcessorMongoDBByRule, defaultValueProcessorNL, defaultValueProcessorSpELByRule, filterFieldsByComparator, findID, findPath, formatQuery, formatQueryOptionPresets, generateAccessibleDescription, generateID, getCommonAncestorPath, getFirstOption, getMatchModesUtil, getNLTranslataion, getOption, getParentPath, getParseNumberMethod, getPathOfID, getQuoteFieldNamesWithArray, getQuotedFieldName, getValidationClassNames, getValueSourcesUtil, group, groupInvalidReasons, insert, isAncestor, isFlexibleOptionArray, isFlexibleOptionGroupArray, isFullOptionArray, isFullOptionGroupArray, isOptionGroupArray, isPojo, isRuleGroup, isRuleGroupType, isRuleGroupTypeIC, isRuleOrGroupValid, isRuleType, isValidValue, isValidationResult, isValueProcessorLegacy, joinWith, jsonLogicAdditionalOperators, lc, mapSQLOperator, mergeAnyTranslation, mergeAnyTranslations, mergeClassnames, mongoDbFallback, mongoOperators, move, normalizeConstituentWordOrder, nullFreeArray, nullOrUndefinedOrEmpty, numericRegex, numerifyValues, objectEntries, objectKeys, parseNumber, pathIsDisabled, pathsAreEqual, preferAnyProp, preferFlagProps, preferProp, prepareOptionList, prepareRule, prepareRuleGroup, prepareRuleOrGroup, prismaFallback, prismaOperators, processMatchMode, queryBuilderFlagDefaults, regenerateID, regenerateIDs, remove, rootPath, shouldRenderAsNumber, splitBy, sqlDialectPresets, standardClassnames, toArray, toFlatOptionArray, toFullOption, toFullOptionList, toFullOptionMap, transformQuery, trimIfString, uniqByIdentifier, uniqByName, uniqOptGroups, uniqOptList, update };
4366
+ export { AccessibleDescriptionGenerator, ActionElementEventHandler, AddMethod, AddOptions, Arity, BaseFullOption, BaseOption, BaseOptionMap, BaseTranslation, BaseTranslationWithLabel, BaseTranslationWithPlaceholders, BaseTranslations, BaseTranslationsFull, Classname, Classnames, Combinator, CombinatorByValue, CommonRuleAndGroupProperties, CommonRuleSubComponentProps, ConstituentWordOrder, ConstituentWordOrderString, DefaultCombinator, DefaultCombinatorExtended, DefaultCombinatorName, DefaultCombinatorNameExtended, DefaultCombinators, DefaultCombinatorsExtended, DefaultMatchModes, DefaultOperator, DefaultOperatorName, DefaultOperators, DefaultRuleGroupArray, DefaultRuleGroupICArray, DefaultRuleGroupType, DefaultRuleGroupTypeAny, DefaultRuleGroupTypeIC, DefaultRuleOrGroupArray, DefaultRuleType, DndDropTargetType, DragCollection, DraggedItem, DropCollection, DropEffect, DropResult, ExportFormat, ExportObjectFormats, ExportOperatorMap, Field, FieldByValue, FindPathReturnType, FlexibleOption, FlexibleOptionGroup, FlexibleOptionList, FlexibleOptionListProp, FormatQueryFinalOptions, FormatQueryOptions, FormatQueryValidateRule, FullCombinator, FullField, FullOperator, FullOption, FullOptionList, FullOptionMap, FullOptionRecord, GenericizeRuleGroupType, GetOptionIdentifierType, GetOptionType, GetRuleGroupType, GetRuleTypeFromGroupWithFieldAndOperator, GroupMethod, GroupOptions, GroupVariantCondition, InputType, InsertMethod, InsertOptions, type JsonLogicAll, type JsonLogicAnd, type JsonLogicDoubleNegation, type JsonLogicEqual, type JsonLogicGreaterThan, type JsonLogicGreaterThanOrEqual, type JsonLogicInArray, type JsonLogicInString, type JsonLogicLessThan, type JsonLogicLessThanOrEqual, type JsonLogicNegation, type JsonLogicNone, type JsonLogicNotEqual, type JsonLogicOr, type JsonLogicReservedOperations, type JsonLogicRulesLogic, type JsonLogicSome, type JsonLogicStrictEqual, type JsonLogicStrictNotEqual, type JsonLogicVar, LogType, MatchConfig, MatchMode, MatchModeOptions, MoveMethod, MoveOptions, NLTranslationKey, NLTranslations, NameLabelPair, Operator, OperatorByValue, Option, OptionGroup, OptionList, ParameterizedNamedSQL, ParameterizedSQL, ParseNumberMethod, ParseNumberOptions, ParseNumbersPropConfig, Path, Placeholder, PrepareOptionListParams, PreparedOptionList, PreparerOptions, QueryActions, QueryBuilderFlags, QueryValidator, RQBJsonLogic, RQBJsonLogicEndsWith, RQBJsonLogicStartsWith, RQBJsonLogicVar, RegenerateIdOptions, RemoveMethod, RemoveNullability, RuleGroupArray, RuleGroupICArray, RuleGroupProcessor, RuleGroupType, RuleGroupTypeAny, RuleGroupTypeIC, RuleOrGroupArray, RuleProcessor, RuleType, RuleValidator, SQLPreset, StringUnionToFlexibleOptionArray, StringUnionToFullOptionArray, TestID, ToFlexibleOption, ToFullOption, TransformQueryOptions, UpdateMethod, UpdateOptions, UpdateableProperties, ValidationMap, ValidationResult, ValueChangeEventHandler, ValueEditorType, ValueOption, ValueProcessor, ValueProcessorByRule, ValueProcessorLegacy, ValueProcessorOptions, ValueSource, ValueSourceFlexibleOptions, ValueSourceFullOptions, ValueSources, WithRequired, WithUnknownIndex, add, addInPlace, bigIntJsonParseReviver, bigIntJsonStringifyReplacer, celCombinatorMap, clsx, convertFromIC, convertQuery, convertToIC, defaultCELValueProcessor, defaultCombinatorLabelMap, defaultCombinators, defaultCombinatorsExtended, defaultControlClassnames, defaultExportOperatorMap, defaultJoinChar, defaultMatchModes, defaultMongoDBValueProcessor, defaultNLTranslations, defaultOperatorLabelMap, defaultOperatorNegationMap, defaultOperatorProcessorNL, defaultOperatorProcessorSQL, defaultOperators, defaultPlaceholderFieldGroupLabel, defaultPlaceholderFieldLabel, defaultPlaceholderFieldName, defaultPlaceholderLabel, defaultPlaceholderName, defaultPlaceholderOperatorGroupLabel, defaultPlaceholderOperatorLabel, defaultPlaceholderOperatorName, defaultPlaceholderValueGroupLabel, defaultPlaceholderValueLabel, defaultPlaceholderValueName, defaultRuleGroupProcessorCEL, defaultRuleGroupProcessorDrizzle, defaultRuleGroupProcessorElasticSearch, defaultRuleGroupProcessorJSONata, defaultRuleGroupProcessorJsonLogic, defaultRuleGroupProcessorLDAP, defaultRuleGroupProcessorMongoDB, defaultRuleGroupProcessorMongoDBQuery, defaultRuleGroupProcessorNL, defaultRuleGroupProcessorParameterized, defaultRuleGroupProcessorPrisma, defaultRuleGroupProcessorSQL, defaultRuleGroupProcessorSequelize, defaultRuleGroupProcessorSpEL, defaultRuleProcessorCEL, defaultRuleProcessorDrizzle, defaultRuleProcessorElasticSearch, defaultRuleProcessorJSONata, defaultRuleProcessorJsonLogic, defaultRuleProcessorLDAP, defaultRuleProcessorMongoDB, defaultRuleProcessorMongoDBQuery, defaultRuleProcessorNL, defaultRuleProcessorParameterized, defaultRuleProcessorPrisma, defaultRuleProcessorSQL, defaultRuleProcessorSequelize, defaultRuleProcessorSpEL, defaultSpELValueProcessor, defaultTranslations, defaultValidator, defaultValueProcessor, defaultValueProcessorByRule, defaultValueProcessorCELByRule, defaultValueProcessorMongoDBByRule, defaultValueProcessorNL, defaultValueProcessorSpELByRule, filterFieldsByComparator, findID, findPath, formatQuery, formatQueryOptionPresets, generateAccessibleDescription, generateID, getCommonAncestorPath, getFirstOption, getMatchModesUtil, getNLTranslataion, getOption, getParentPath, getParseNumberMethod, getPathOfID, getQuoteFieldNamesWithArray, getQuotedFieldName, getValidationClassNames, getValueSourcesUtil, group, groupInPlace, groupInvalidReasons, insert, insertInPlace, isAncestor, isFlexibleOptionArray, isFlexibleOptionGroupArray, isFullOptionArray, isFullOptionGroupArray, isOptionGroupArray, isPojo, isRuleGroup, isRuleGroupType, isRuleGroupTypeIC, isRuleOrGroupValid, isRuleType, isValidValue, isValidationResult, isValueProcessorLegacy, joinWith, jsonLogicAdditionalOperators, lc, mapSQLOperator, mergeAnyTranslation, mergeAnyTranslations, mergeClassnames, mongoDbFallback, mongoOperators, move, moveInPlace, normalizeConstituentWordOrder, nullFreeArray, nullOrUndefinedOrEmpty, numericRegex, numerifyValues, objectEntries, objectKeys, parseNumber, pathIsDisabled, pathsAreEqual, preferAnyProp, preferFlagProps, preferProp, prepareOptionList, prepareRule, prepareRuleGroup, prepareRuleOrGroup, prismaFallback, prismaOperators, processMatchMode, queryBuilderFlagDefaults, regenerateID, regenerateIDs, remove, removeInPlace, rootPath, shouldRenderAsNumber, splitBy, sqlDialectPresets, standardClassnames, toArray, toFlatOptionArray, toFullOption, toFullOptionList, toFullOptionMap, transformQuery, trimIfString, uniqByIdentifier, uniqByName, uniqOptGroups, uniqOptList, update, updateInPlace };
4316
4367
  //# sourceMappingURL=react-querybuilder_core.legacy-esm.d.ts.map