@react-querybuilder/core 8.14.4 → 8.16.0

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 (123) hide show
  1. package/README.md +114 -53
  2. package/dist/cjs/react-querybuilder_core.cjs.development.d.ts +288 -22
  3. package/dist/cjs/react-querybuilder_core.cjs.development.js +796 -77
  4. package/dist/cjs/react-querybuilder_core.cjs.development.js.map +1 -1
  5. package/dist/cjs/react-querybuilder_core.cjs.production.d.ts +288 -22
  6. package/dist/cjs/react-querybuilder_core.cjs.production.js +1 -1
  7. package/dist/cjs/react-querybuilder_core.cjs.production.js.map +1 -1
  8. package/dist/{convertQuery-CeJSNn37.mjs → convertQuery-BeJJH9BI.mjs} +2 -2
  9. package/dist/convertQuery-BeJJH9BI.mjs.map +1 -0
  10. package/dist/{convertQuery-J8LpTG-7.js → convertQuery-Lx2HQa0m.js} +2 -2
  11. package/dist/convertQuery-Lx2HQa0m.js.map +1 -0
  12. package/dist/formatQuery.d.mts +89 -2
  13. package/dist/formatQuery.d.ts +89 -2
  14. package/dist/formatQuery.js +775 -66
  15. package/dist/formatQuery.js.map +1 -1
  16. package/dist/formatQuery.mjs +768 -67
  17. package/dist/formatQuery.mjs.map +1 -1
  18. package/dist/{import-BwQqExpO.d.mts → import-BHlzBLM_.d.mts} +2 -2
  19. package/dist/{import-CrJf23Nf.d.ts → import-C6imciDf.d.ts} +2 -2
  20. package/dist/{index-CYT4Saz-.d.mts → index-Cjapnb-H.d.ts} +161 -10
  21. package/dist/{index-DBlQeLax.d.ts → index-D-Iej37L.d.mts} +161 -10
  22. package/dist/{objectUtils-ButT0Mng.js → objectUtils-Bzug_QfX.js} +2 -2
  23. package/dist/objectUtils-Bzug_QfX.js.map +1 -0
  24. package/dist/{objectUtils-C0WB-8ex.mjs → objectUtils-D96eEEzL.mjs} +2 -2
  25. package/dist/objectUtils-D96eEEzL.mjs.map +1 -0
  26. package/dist/parseCEL.d.mts +2 -2
  27. package/dist/parseCEL.d.ts +2 -2
  28. package/dist/parseCEL.js +35 -35
  29. package/dist/parseCEL.js.map +1 -1
  30. package/dist/parseCEL.mjs +35 -35
  31. package/dist/parseCEL.mjs.map +1 -1
  32. package/dist/parseCypher.d.mts +49 -0
  33. package/dist/parseCypher.d.ts +49 -0
  34. package/dist/parseCypher.js +578 -0
  35. package/dist/parseCypher.js.map +1 -0
  36. package/dist/parseCypher.mjs +575 -0
  37. package/dist/parseCypher.mjs.map +1 -0
  38. package/dist/parseGremlin.d.mts +35 -0
  39. package/dist/parseGremlin.d.ts +35 -0
  40. package/dist/parseGremlin.js +192 -0
  41. package/dist/parseGremlin.js.map +1 -0
  42. package/dist/parseGremlin.mjs +191 -0
  43. package/dist/parseGremlin.mjs.map +1 -0
  44. package/dist/parseJSONata.d.mts +2 -2
  45. package/dist/parseJSONata.d.ts +2 -2
  46. package/dist/parseJSONata.js +11 -11
  47. package/dist/parseJSONata.js.map +1 -1
  48. package/dist/parseJSONata.mjs +11 -11
  49. package/dist/parseJSONata.mjs.map +1 -1
  50. package/dist/parseJsonLogic.d.mts +2 -2
  51. package/dist/parseJsonLogic.d.ts +2 -2
  52. package/dist/parseJsonLogic.js +6 -6
  53. package/dist/parseJsonLogic.js.map +1 -1
  54. package/dist/parseJsonLogic.mjs +6 -6
  55. package/dist/parseJsonLogic.mjs.map +1 -1
  56. package/dist/parseMongoDB.d.mts +2 -2
  57. package/dist/parseMongoDB.d.ts +2 -2
  58. package/dist/parseMongoDB.js +6 -6
  59. package/dist/parseMongoDB.js.map +1 -1
  60. package/dist/parseMongoDB.mjs +6 -6
  61. package/dist/parseMongoDB.mjs.map +1 -1
  62. package/dist/parseSPARQL.d.mts +34 -0
  63. package/dist/parseSPARQL.d.ts +34 -0
  64. package/dist/parseSPARQL.js +253 -0
  65. package/dist/parseSPARQL.js.map +1 -0
  66. package/dist/parseSPARQL.mjs +251 -0
  67. package/dist/parseSPARQL.mjs.map +1 -0
  68. package/dist/parseSQL.d.mts +2 -2
  69. package/dist/parseSQL.d.ts +2 -2
  70. package/dist/parseSQL.js +16 -16
  71. package/dist/parseSQL.js.map +1 -1
  72. package/dist/parseSQL.mjs +16 -16
  73. package/dist/parseSQL.mjs.map +1 -1
  74. package/dist/parseSpEL.d.mts +2 -2
  75. package/dist/parseSpEL.d.ts +2 -2
  76. package/dist/parseSpEL.js +10 -10
  77. package/dist/parseSpEL.js.map +1 -1
  78. package/dist/parseSpEL.mjs +10 -10
  79. package/dist/parseSpEL.mjs.map +1 -1
  80. package/dist/{prepareQueryObjects-DO3qXriW.js → prepareQueryObjects-BoG5Rt8z.js} +6 -6
  81. package/dist/prepareQueryObjects-BoG5Rt8z.js.map +1 -0
  82. package/dist/{prepareQueryObjects-BfMlS4ql.mjs → prepareQueryObjects-uA10ZpZX.mjs} +6 -6
  83. package/dist/prepareQueryObjects-uA10ZpZX.mjs.map +1 -0
  84. package/dist/query-builder.css +1 -1
  85. package/dist/query-builder.css.map +1 -1
  86. package/dist/react-querybuilder_core.d.mts +288 -22
  87. package/dist/react-querybuilder_core.legacy-esm.d.ts +288 -22
  88. package/dist/react-querybuilder_core.legacy-esm.js +833 -108
  89. package/dist/react-querybuilder_core.legacy-esm.js.map +1 -1
  90. package/dist/react-querybuilder_core.mjs +788 -78
  91. package/dist/react-querybuilder_core.mjs.map +1 -1
  92. package/dist/react-querybuilder_core.production.d.mts +288 -22
  93. package/dist/react-querybuilder_core.production.mjs +1 -1
  94. package/dist/react-querybuilder_core.production.mjs.map +1 -1
  95. package/dist/styles/_main.scss +4 -0
  96. package/dist/transformQuery.d.mts +1 -1
  97. package/dist/transformQuery.d.ts +1 -1
  98. package/dist/transformQuery.js +1 -1
  99. package/dist/transformQuery.mjs +1 -1
  100. package/dist/{utils-BlMGIhvx.mjs → utils-ChLG90DP.mjs} +3 -3
  101. package/dist/utils-ChLG90DP.mjs.map +1 -0
  102. package/dist/{utils-CZRhzje-.js → utils-Qwkq2Q0F.js} +3 -3
  103. package/dist/utils-Qwkq2Q0F.js.map +1 -0
  104. package/formatQuery/package.json +1 -1
  105. package/package.json +53 -14
  106. package/parseCEL/package.json +1 -1
  107. package/parseCypher/package.json +4 -0
  108. package/parseGremlin/package.json +4 -0
  109. package/parseJSONata/package.json +1 -1
  110. package/parseJsonLogic/package.json +1 -1
  111. package/parseMongoDB/package.json +1 -1
  112. package/parseSPARQL/package.json +4 -0
  113. package/parseSQL/package.json +1 -1
  114. package/parseSpEL/package.json +1 -1
  115. package/transformQuery/package.json +1 -1
  116. package/dist/convertQuery-CeJSNn37.mjs.map +0 -1
  117. package/dist/convertQuery-J8LpTG-7.js.map +0 -1
  118. package/dist/objectUtils-ButT0Mng.js.map +0 -1
  119. package/dist/objectUtils-C0WB-8ex.mjs.map +0 -1
  120. package/dist/prepareQueryObjects-BfMlS4ql.mjs.map +0 -1
  121. package/dist/prepareQueryObjects-DO3qXriW.js.map +0 -1
  122. package/dist/utils-BlMGIhvx.mjs.map +0 -1
  123. package/dist/utils-CZRhzje-.js.map +0 -1
@@ -12,7 +12,7 @@ type Primitive = null | undefined | string | number | boolean | symbol | bigint;
12
12
  //#endregion
13
13
  //#region ../../node_modules/type-fest/source/union-to-intersection.d.ts
14
14
  /**
15
- Convert a union type to an intersection type using [distributive conditional types](https://www.typescriptlang.org/docs/handbook/release-notes/typescript-2-8.html#distributive-conditional-types).
15
+ Convert a union type to an intersection type.
16
16
 
17
17
  Inspired by [this Stack Overflow answer](https://stackoverflow.com/a/50375286/2172153).
18
18
 
@@ -972,7 +972,7 @@ type _Except<ObjectType, KeysType extends keyof ObjectType, Options extends Requ
972
972
  //#endregion
973
973
  //#region ../../node_modules/type-fest/source/require-at-least-one.d.ts
974
974
  /**
975
- Create a type that requires at least one of the given keys. The remaining keys are kept as is.
975
+ Create a type that requires at least one of the given keys, while keeping the remaining keys as is.
976
976
 
977
977
  @example
978
978
  ```
@@ -994,19 +994,20 @@ const responder: RequireAtLeastOne<Responder, 'text' | 'json'> = {
994
994
  */
995
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>>>>;
996
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
998
- // 2. Make all other keys in `KeysType` optional
999
- Partial<Pick<ObjectType, Exclude<KeysType, Key>>> }[KeysType] & // 3. Add the remaining keys not in `KeysType`
1000
- Except<ObjectType, KeysType>;
997
+ // 2. Make all other keys in `KeysType` optional
998
+ [Key in KeysType]-?: Required<Pick<ObjectType, Key>> // 1. Make `Key`'s type required
999
+ & Partial<Pick<ObjectType, Exclude<KeysType, Key>>> }[KeysType] & Except<ObjectType, KeysType>; // 3. Add the remaining keys not in `KeysType`
1001
1000
  //#endregion
1002
1001
  //#region ../../node_modules/type-fest/source/required-deep.d.ts
1003
1002
  /**
1004
- Create a type from another type with all keys and nested keys set to required.
1003
+ Create a deeply required version of another type.
1005
1004
 
1006
1005
  Use-cases:
1007
1006
  - Creating optional configuration interfaces where the underlying implementation still requires all options to be fully specified.
1008
1007
  - Modeling the resulting type after a deep merge with a set of defaults.
1009
1008
 
1009
+ Use [`Required<T>`](https://www.typescriptlang.org/docs/handbook/utility-types.html#requiredtype) if you only need one level deep.
1010
+
1010
1011
  @example
1011
1012
  ```
1012
1013
  import type {RequiredDeep} from 'type-fest';
@@ -1047,7 +1048,7 @@ type RequiredObjectDeep<ObjectType extends object> = { [KeyType in keyof ObjectT
1047
1048
  //#endregion
1048
1049
  //#region ../../node_modules/type-fest/source/set-optional.d.ts
1049
1050
  /**
1050
- Create a type that makes the given keys optional. The remaining keys are kept as is. The sister of the `SetRequired` type.
1051
+ Create a type that makes the given keys optional, while keeping the remaining keys as is.
1051
1052
 
1052
1053
  Use-case: You want to define a single model where the only thing that changes is whether or not some of the keys are optional.
1053
1054
 
@@ -1070,12 +1071,12 @@ type SomeOptional = SetOptional<Foo, 'b' | 'c'>;
1070
1071
  type SetOptional<BaseType, Keys extends keyof BaseType> = (BaseType extends ((...arguments_: never) => any) ? (...arguments_: Parameters<BaseType>) => ReturnType<BaseType> : unknown) & _SetOptional<BaseType, Keys>;
1071
1072
  type _SetOptional<BaseType, Keys extends keyof BaseType> = BaseType extends unknown // To distribute `BaseType` when it's a union type.
1072
1073
  ? 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.
1074
- Partial<HomomorphicPick<BaseType, Keys>>> : never;
1074
+ Except<BaseType, Keys> // Pick the keys that should be mutable from the base type and make them mutable.
1075
+ & Partial<HomomorphicPick<BaseType, Keys>>> : never;
1075
1076
  //#endregion
1076
1077
  //#region ../../node_modules/type-fest/source/set-required.d.ts
1077
1078
  /**
1078
- Create a type that makes the given keys required. The remaining keys are kept as is. The sister of the `SetOptional` type.
1079
+ Create a type that makes the given keys required, while keeping the remaining keys as is.
1079
1080
 
1080
1081
  Use-case: You want to define a single model where the only thing that changes is whether or not some of the keys are required.
1081
1082
 
@@ -1101,8 +1102,8 @@ type ArrayExample = SetRequired<[number?, number?, number?], 0 | 1>;
1101
1102
  */
1102
1103
  type SetRequired<BaseType, Keys extends keyof BaseType> = (BaseType extends ((...arguments_: never) => any) ? (...arguments_: Parameters<BaseType>) => ReturnType<BaseType> : unknown) & _SetRequired<BaseType, Keys>;
1103
1104
  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.
1105
- Required<HomomorphicPick<BaseType, Keys>>>;
1105
+ Except<BaseType, Keys> // Pick the keys that should be required from the base type and make them required.
1106
+ & Required<HomomorphicPick<BaseType, Keys>>>;
1106
1107
  /**
1107
1108
  Remove the optional modifier from the specified keys in an array.
1108
1109
  */
@@ -1301,7 +1302,7 @@ interface CommonRuleAndGroupProperties {
1301
1302
  * The main rule type. The `field`, `operator`, and `value` properties
1302
1303
  * can be narrowed with generics.
1303
1304
  */
1304
- interface RuleType<F extends string = string, O extends string = string, V = any, C extends string = string> extends CommonRuleAndGroupProperties {
1305
+ interface RuleType<F extends string = string, O extends string = string, V = any, C extends string = string, M = Record<string, any>> extends CommonRuleAndGroupProperties {
1305
1306
  field: F;
1306
1307
  operator: O;
1307
1308
  value: V;
@@ -1311,6 +1312,13 @@ interface RuleType<F extends string = string, O extends string = string, V = any
1311
1312
  * Only used when adding a rule to a query that uses independent combinators.
1312
1313
  */
1313
1314
  combinatorPreceding?: C;
1315
+ /**
1316
+ * Opaque metadata for use by extension packages. The core library
1317
+ * preserves this property but does not read or interpret it.
1318
+ * Extensions like `@react-querybuilder/graph` use `meta` to store
1319
+ * domain-specific context (e.g., graph pattern information).
1320
+ */
1321
+ meta?: M;
1314
1322
  }
1315
1323
  /**
1316
1324
  * The main rule group type. This type is used for query definitions as well as
@@ -1452,6 +1460,20 @@ type GetRuleTypeFromGroupWithFieldAndOperator<RG extends RuleGroupTypeAny, F ext
1452
1460
  * Converts a narrowed rule group type to its most generic form.
1453
1461
  */
1454
1462
  type GenericizeRuleGroupType<RG> = RG extends RuleGroupType ? RuleGroupType : RuleGroupTypeIC;
1463
+ /**
1464
+ * Converts a {@link RuleGroupType} extension to the corresponding
1465
+ * {@link RuleGroupTypeIC} type, preserving any additional properties.
1466
+ * If the type already extends {@link RuleGroupTypeIC}, it is returned as-is.
1467
+ */
1468
+ type ToRuleGroupTypeIC<T extends RuleGroupTypeAny> = T extends RuleGroupTypeIC ? T : T extends DefaultRuleGroupType<infer F> ? DefaultRuleGroupTypeIC<F> : T extends RuleGroupType<infer R, infer C> ? RuleGroupTypeIC<R, C> & Omit<T, keyof RuleGroupType<R, C>> : T;
1469
+ /**
1470
+ * Converts a {@link RuleGroupTypeIC} extension to the corresponding
1471
+ * {@link RuleGroupType} type, preserving any additional properties.
1472
+ * If the type already extends {@link RuleGroupType} (non-IC), it is returned as-is.
1473
+ */
1474
+ type ToRuleGroupType<T extends RuleGroupTypeAny> = T extends {
1475
+ combinator: string;
1476
+ } ? T : T extends DefaultRuleGroupTypeIC<infer F> ? DefaultRuleGroupType<F> : T extends RuleGroupTypeIC<infer R, infer C> ? RuleGroupType<R, C> & Omit<T, keyof RuleGroupTypeIC<R, C>> : T;
1455
1477
  //#endregion
1456
1478
  //#region src/types/validation.d.ts
1457
1479
  /**
@@ -1506,7 +1528,7 @@ type ToOptionArrays<Sources extends readonly string[]> = Sources extends unknown
1506
1528
  value: Sources[K];
1507
1529
  label: string;
1508
1530
  } } : never;
1509
- type ToFlexibleOptionArrays<Sources extends readonly string[]> = Sources extends unknown ? { [K in keyof Sources]: FlexibleOption<Sources[K]> } : never;
1531
+ type ToFlexibleOptionArrays<Sources extends readonly string[]> = Sources extends unknown ? { [K in keyof Sources]: FlexibleOption } : never;
1510
1532
  type WithOptionalClassName<T> = T & {
1511
1533
  className?: Classname;
1512
1534
  };
@@ -1726,13 +1748,13 @@ interface DropCollection {
1726
1748
  *
1727
1749
  * @group Export
1728
1750
  */
1729
- type ExportFormat = "json" | "sql" | "json_without_ids" | "parameterized" | "parameterized_named" | "mongodb" | "mongodb_query" | "cel" | "jsonlogic" | "spel" | "elasticsearch" | "jsonata" | "natural_language" | "ldap" | "drizzle" | "prisma" | "sequelize";
1751
+ type ExportFormat = "json" | "sql" | "json_without_ids" | "parameterized" | "parameterized_named" | "mongodb" | "mongodb_query" | "cel" | "jsonlogic" | "spel" | "elasticsearch" | "jsonata" | "natural_language" | "ldap" | "drizzle" | "prisma" | "sequelize" | "cypher" | "gql" | "sparql" | "gremlin" | "diagnostics";
1730
1752
  /**
1731
1753
  * Export formats for {@link formatQuery} that produce objects instead of strings.
1732
1754
  *
1733
1755
  * @group Export
1734
1756
  */
1735
- type ExportObjectFormats = "parameterized" | "parameterized_named" | "jsonlogic" | "elasticsearch" | "jsonata" | "mongodb_query";
1757
+ type ExportObjectFormats = "parameterized" | "parameterized_named" | "jsonlogic" | "elasticsearch" | "jsonata" | "mongodb_query" | "diagnostics";
1736
1758
  /**
1737
1759
  * Available presets for the "sql" export format.
1738
1760
  *
@@ -2111,6 +2133,150 @@ interface ParameterizedNamedSQL {
2111
2133
  params: Record<string, any>;
2112
2134
  }
2113
2135
  /**
2136
+ * A {@link RuleType} annotated with diagnostics results, as produced
2137
+ * by {@link formatQuery} for the `"diagnostics"` format.
2138
+ *
2139
+ * The generics mirror those of {@link RuleType}.
2140
+ *
2141
+ * @group Export
2142
+ */
2143
+ type RuleDiagnosticsResult<F extends string = string, O extends string = string, V = any, C extends string = string> = RuleType<F, O, V, C> & {
2144
+ /** Whether the rule passed all validation checks. */valid: boolean;
2145
+ /**
2146
+ * Reasons why the rule is invalid. Only present when
2147
+ * the rule is invalid and specific reasons were provided
2148
+ * by the validator.
2149
+ */
2150
+ reasons?: any[]; /** The path to this rule within the query tree. */
2151
+ path: number[]; /** The nesting depth of this rule (`path.length`). */
2152
+ level: number;
2153
+ };
2154
+ /**
2155
+ * The type of the `rules` array in a {@link RuleGroupDiagnosticsResult}.
2156
+ *
2157
+ * @group Export
2158
+ */
2159
+ type RuleGroupDiagnosticsArray<RG extends RuleGroupDiagnosticsResult = RuleGroupDiagnosticsResult, R extends RuleDiagnosticsResult = RuleDiagnosticsResult> = RuleGroupArray<RG, R>;
2160
+ /**
2161
+ * A {@link RuleGroupType} annotated with diagnostics results, as produced
2162
+ * by {@link formatQuery} for the `"diagnostics"` format.
2163
+ *
2164
+ * The generics mirror those of {@link RuleGroupType}.
2165
+ *
2166
+ * @group Export
2167
+ */
2168
+ interface RuleGroupDiagnosticsResult<R extends RuleDiagnosticsResult = RuleDiagnosticsResult, C extends string = string> extends Omit<RuleGroupType<R, C>, "rules"> {
2169
+ /** Whether the group and all of its descendants are valid. */
2170
+ valid: boolean;
2171
+ /**
2172
+ * Reasons why the group itself is invalid. Only present when
2173
+ * the group is invalid and specific reasons were provided
2174
+ * by the validator.
2175
+ */
2176
+ reasons?: any[];
2177
+ /** The path to this group within the query tree. */
2178
+ path: number[];
2179
+ /** The nesting depth of this group (`path.length`). */
2180
+ level: number;
2181
+ rules: RuleGroupDiagnosticsArray<RuleGroupDiagnosticsResult<R, C>, R>;
2182
+ }
2183
+ /**
2184
+ * The type of the `rules` array in a {@link RuleGroupICDiagnosticsResult}.
2185
+ *
2186
+ * Mirrors {@link RuleGroupICArray} but with diagnostics-annotated node types.
2187
+ *
2188
+ * @group Export
2189
+ */
2190
+ type RuleGroupICDiagnosticsArray<RG extends RuleGroupICDiagnosticsResult = RuleGroupICDiagnosticsResult, R extends RuleDiagnosticsResult = RuleDiagnosticsResult, C extends string = string> = RuleGroupICArray<RG, R, C>;
2191
+ /**
2192
+ * A {@link RuleGroupTypeIC} annotated with diagnostics results, as produced
2193
+ * by {@link formatQuery} for the `"diagnostics"` format (independent combinators).
2194
+ *
2195
+ * The generics mirror those of {@link RuleGroupTypeIC}.
2196
+ *
2197
+ * @group Export
2198
+ */
2199
+ interface RuleGroupICDiagnosticsResult<R extends RuleDiagnosticsResult = RuleDiagnosticsResult, C extends string = string> extends Omit<RuleGroupTypeIC<R, C>, "rules"> {
2200
+ /** Whether the group and all of its descendants are valid. */
2201
+ valid: boolean;
2202
+ /**
2203
+ * Reasons why the group itself is invalid. Only present when
2204
+ * the group is invalid and specific reasons were provided
2205
+ * by the validator.
2206
+ */
2207
+ reasons?: any[];
2208
+ /** The path to this group within the query tree. */
2209
+ path: number[];
2210
+ /** The nesting depth of this group (`path.length`). */
2211
+ level: number;
2212
+ rules: RuleGroupICDiagnosticsArray<RuleGroupICDiagnosticsResult<R, C>, R, C>;
2213
+ }
2214
+ /**
2215
+ * A single diagnostic entry produced by the `"diagnostics"` format.
2216
+ *
2217
+ * @group Export
2218
+ */
2219
+ interface DiagnosticEntry {
2220
+ /** The `id` of the rule or group this diagnostic pertains to. */
2221
+ id: string;
2222
+ /** The path to the rule or group within the query tree. */
2223
+ path: number[];
2224
+ /** A machine-readable code identifying the type of diagnostic. */
2225
+ code: string;
2226
+ /** A human-readable description of the diagnostic. */
2227
+ message: string;
2228
+ /**
2229
+ * Which check produced this diagnostic.
2230
+ *
2231
+ * - `"placeholder"` — a placeholder field, operator, or value
2232
+ * - `"muted"` — a muted rule or group
2233
+ * - `"query-validator"` — the query-level validator
2234
+ * - `"field-validator"` — a field-level validator
2235
+ * - `"type-check"` — value/type mismatch based on field `inputType`
2236
+ * - `"field-check"` — field existence check against the `fields` config
2237
+ */
2238
+ source: "placeholder" | "muted" | "query-validator" | "field-validator" | "type-check" | "field-check";
2239
+ }
2240
+ /**
2241
+ * Aggregate statistics for the `"diagnostics"` format.
2242
+ *
2243
+ * @group Export
2244
+ */
2245
+ interface DiagnosticsStats {
2246
+ totalRules: number;
2247
+ totalGroups: number;
2248
+ validRules: number;
2249
+ invalidRules: number;
2250
+ validGroups: number;
2251
+ invalidGroups: number;
2252
+ }
2253
+ /**
2254
+ * Per-field summary entry for the `"diagnostics"` format.
2255
+ *
2256
+ * @group Export
2257
+ */
2258
+ interface DiagnosticsFieldSummaryEntry {
2259
+ /** Number of rules referencing this field. */
2260
+ ruleCount: number;
2261
+ /** Number of invalid rules referencing this field. */
2262
+ invalidCount: number;
2263
+ }
2264
+ /**
2265
+ * Top-level result of {@link formatQuery} for the `"diagnostics"` format.
2266
+ *
2267
+ * @group Export
2268
+ */
2269
+ interface DiagnosticsResult {
2270
+ /** The annotated query tree with `valid`, `path`, and `level` on every node. */
2271
+ query: RuleGroupDiagnosticsResult | RuleGroupICDiagnosticsResult;
2272
+ /** A flat array of all diagnostic entries across the tree. */
2273
+ diagnostics: DiagnosticEntry[];
2274
+ /** Aggregate statistics about the query. */
2275
+ stats: DiagnosticsStats;
2276
+ /** Per-field summary of rule counts and invalid counts. */
2277
+ fieldSummary: Record<string, DiagnosticsFieldSummaryEntry>;
2278
+ }
2279
+ /**
2114
2280
  * @group Export
2115
2281
  */
2116
2282
  interface RQBJsonLogicStartsWith {
@@ -2335,6 +2501,16 @@ interface Classnames {
2335
2501
  */
2336
2502
  dndDropNotAllowed: Classname;
2337
2503
  /**
2504
+ * Classname(s) applied to a rule or group at its prospective position
2505
+ * during an active drag when `updateWhileDragging` is enabled.
2506
+ */
2507
+ dndPreviewPosition: Classname;
2508
+ /**
2509
+ * Classname(s) applied to a dragged rule or group at its original position
2510
+ * to hide it when `updateWhileDragging` is enabled.
2511
+ */
2512
+ dndHidden: Classname;
2513
+ /**
2338
2514
  * Classname(s) applied to disabled elements.
2339
2515
  */
2340
2516
  disabled: Classname;
@@ -2708,6 +2884,8 @@ declare const standardClassnames: {
2708
2884
  readonly dndCopy: "dndCopy";
2709
2885
  readonly dndGroup: "dndGroup";
2710
2886
  readonly dndDropNotAllowed: "dndDropNotAllowed";
2887
+ readonly dndPreviewPosition: "dndPreviewPosition";
2888
+ readonly dndHidden: "dndHidden";
2711
2889
  readonly dragHandle: "queryBuilder-dragHandle";
2712
2890
  readonly disabled: "queryBuilder-disabled";
2713
2891
  readonly muted: "queryBuilder-muted";
@@ -2864,7 +3042,7 @@ declare function clsx(...args: ClassValue[]): string;
2864
3042
  *
2865
3043
  * @group Query Tools
2866
3044
  */
2867
- declare const convertFromIC: <RG extends RuleGroupType = RuleGroupType>(rg: RuleGroupTypeAny) => RG;
3045
+ declare const convertFromIC: <RG extends RuleGroupTypeAny>(rg: RG) => ToRuleGroupType<RG>;
2868
3046
  /**
2869
3047
  * Converts a {@link RuleGroupType} to {@link RuleGroupTypeIC}.
2870
3048
  *
@@ -2873,7 +3051,7 @@ declare const convertFromIC: <RG extends RuleGroupType = RuleGroupType>(rg: Rule
2873
3051
  *
2874
3052
  * @group Query Tools
2875
3053
  */
2876
- declare const convertToIC: <RGIC extends RuleGroupTypeIC = RuleGroupTypeIC>(rg: RuleGroupTypeAny) => RGIC;
3054
+ declare const convertToIC: <RG extends RuleGroupTypeAny>(rg: RG) => ToRuleGroupTypeIC<RG>;
2877
3055
  /**
2878
3056
  * Converts a {@link RuleGroupType} to {@link RuleGroupTypeIC}. For a more explicit
2879
3057
  * operation, use {@link convertToIC}.
@@ -2956,6 +3134,23 @@ declare const defaultValueProcessorByRule: ValueProcessorByRule;
2956
3134
  */
2957
3135
  declare const defaultRuleGroupProcessorCEL: RuleGroupProcessor<string>;
2958
3136
  //#endregion
3137
+ //#region src/utils/formatQuery/defaultRuleGroupProcessorCypher.d.ts
3138
+ /**
3139
+ * Maps a {@link DefaultCombinatorName} to a Cypher combinator keyword.
3140
+ *
3141
+ * @group Export
3142
+ */
3143
+ declare const cypherCombinatorMap: {
3144
+ and: "AND";
3145
+ or: "OR";
3146
+ };
3147
+ /**
3148
+ * Rule group processor used by {@link formatQuery} for "cypher" and "gql" formats.
3149
+ *
3150
+ * @group Export
3151
+ */
3152
+ declare const defaultRuleGroupProcessorCypher: RuleGroupProcessor<string>;
3153
+ //#endregion
2959
3154
  //#region src/utils/formatQuery/defaultRuleGroupProcessorDrizzle.d.ts
2960
3155
  /**
2961
3156
  * Default rule group processor used by {@link formatQuery} for the "drizzle" format. The returned
@@ -2979,6 +3174,18 @@ declare const defaultRuleGroupProcessorDrizzle: RuleGroupProcessor<(columns: Rec
2979
3174
  */
2980
3175
  declare const defaultRuleGroupProcessorElasticSearch: RuleGroupProcessor<Record<string, unknown>>;
2981
3176
  //#endregion
3177
+ //#region src/utils/formatQuery/defaultRuleGroupProcessorGremlin.d.ts
3178
+ /**
3179
+ * Rule group processor used by {@link formatQuery} for "gremlin" format.
3180
+ *
3181
+ * At the top level, filter rules produce chained `.has()` steps (implicit AND).
3182
+ * Nested groups use `.and()` / `.or()` / `.not()` compound traversals with
3183
+ * `__` anonymous traversal prefixes.
3184
+ *
3185
+ * @group Export
3186
+ */
3187
+ declare const defaultRuleGroupProcessorGremlin: RuleGroupProcessor<string>;
3188
+ //#endregion
2982
3189
  //#region src/utils/formatQuery/defaultRuleGroupProcessorJSONata.d.ts
2983
3190
  /**
2984
3191
  * Rule group processor used by {@link formatQuery} for "jsonata" format.
@@ -3070,6 +3277,16 @@ declare const defaultRuleGroupProcessorPrisma: RuleGroupProcessor<Record<string,
3070
3277
  */
3071
3278
  declare const defaultRuleGroupProcessorSequelize: RuleGroupProcessor<WhereOptions | undefined>;
3072
3279
  //#endregion
3280
+ //#region src/utils/formatQuery/defaultRuleGroupProcessorSPARQL.d.ts
3281
+ /**
3282
+ * Rule group processor used by {@link formatQuery} for "sparql" format.
3283
+ *
3284
+ * SPARQL uses the same combinators as CEL (`&&` / `||`) and `!()` for negation.
3285
+ *
3286
+ * @group Export
3287
+ */
3288
+ declare const defaultRuleGroupProcessorSPARQL: RuleGroupProcessor<string>;
3289
+ //#endregion
3073
3290
  //#region src/utils/formatQuery/defaultRuleGroupProcessorSpEL.d.ts
3074
3291
  /**
3075
3292
  * Default rule processor used by {@link formatQuery} for "spel" format.
@@ -3086,6 +3303,27 @@ declare const defaultRuleGroupProcessorSpEL: RuleGroupProcessor<string>;
3086
3303
  */
3087
3304
  declare const defaultRuleGroupProcessorSQL: RuleGroupProcessor<string>;
3088
3305
  //#endregion
3306
+ //#region src/utils/formatQuery/defaultRuleGroupProcessorDiagnostics.d.ts
3307
+ /**
3308
+ * Rule group processor used by {@link formatQuery} for "diagnostics" format.
3309
+ *
3310
+ * Produces a {@link DiagnosticsResult} containing an annotated copy of the query
3311
+ * tree (`query`) with `valid`, `reasons`, `path`, and `level` properties on every
3312
+ * rule and group; a flat `diagnostics` array; aggregate `stats`; and a per-field
3313
+ * `fieldSummary`.
3314
+ *
3315
+ * @group Export
3316
+ */
3317
+ declare const defaultRuleGroupProcessorDiagnostics: RuleGroupProcessor<DiagnosticsResult>;
3318
+ //#endregion
3319
+ //#region src/utils/formatQuery/defaultRuleProcessorCypher.d.ts
3320
+ /**
3321
+ * Default rule processor used by {@link formatQuery} for "cypher" and "gql" formats.
3322
+ *
3323
+ * @group Export
3324
+ */
3325
+ declare const defaultRuleProcessorCypher: RuleProcessor;
3326
+ //#endregion
3089
3327
  //#region src/utils/formatQuery/defaultRuleProcessorDrizzle.d.ts
3090
3328
  /**
3091
3329
  * Default rule processor used by {@link formatQuery} for the "drizzle" format.
@@ -3102,6 +3340,16 @@ declare const defaultRuleProcessorDrizzle: RuleProcessor;
3102
3340
  */
3103
3341
  declare const defaultRuleProcessorElasticSearch: RuleProcessor;
3104
3342
  //#endregion
3343
+ //#region src/utils/formatQuery/defaultRuleProcessorGremlin.d.ts
3344
+ /**
3345
+ * Default rule processor used by {@link formatQuery} for "gremlin" format.
3346
+ *
3347
+ * Each rule becomes a `.has()` step (or `.hasNot()`/`.has()` for null checks).
3348
+ *
3349
+ * @group Export
3350
+ */
3351
+ declare const defaultRuleProcessorGremlin: RuleProcessor;
3352
+ //#endregion
3105
3353
  //#region src/utils/formatQuery/defaultRuleProcessorJSONata.d.ts
3106
3354
  /**
3107
3355
  * Default rule processor used by {@link formatQuery} for "jsonata" format.
@@ -3179,6 +3427,14 @@ declare const defaultRuleProcessorPrisma: RuleProcessor;
3179
3427
  */
3180
3428
  declare const defaultRuleProcessorSequelize: RuleProcessor;
3181
3429
  //#endregion
3430
+ //#region src/utils/formatQuery/defaultRuleProcessorSPARQL.d.ts
3431
+ /**
3432
+ * Default rule processor used by {@link formatQuery} for "sparql" format.
3433
+ *
3434
+ * @group Export
3435
+ */
3436
+ declare const defaultRuleProcessorSPARQL: RuleProcessor;
3437
+ //#endregion
3182
3438
  //#region src/utils/formatQuery/defaultRuleProcessorSQL.d.ts
3183
3439
  /**
3184
3440
  * Default operator processor used by {@link formatQuery} for "sql" and "parameterized*" formats.
@@ -3334,6 +3590,15 @@ declare function formatQuery(ruleGroup: RuleGroupTypeAny, options: "ldap" | (For
3334
3590
  format: "ldap";
3335
3591
  })): string;
3336
3592
  /**
3593
+ * Generates a {@link DiagnosticsResult} from a query object, containing an annotated
3594
+ * query tree, a flat diagnostics array, aggregate stats, and a per-field summary.
3595
+ *
3596
+ * @group Export
3597
+ */
3598
+ declare function formatQuery(ruleGroup: RuleGroupTypeAny, options: "diagnostics" | (FormatQueryOptions & {
3599
+ format: "diagnostics";
3600
+ })): DiagnosticsResult;
3601
+ /**
3337
3602
  * Generates a formatted (indented two spaces) JSON string from a query object.
3338
3603
  *
3339
3604
  * @group Export
@@ -3592,6 +3857,7 @@ declare const generateAccessibleDescription: AccessibleDescriptionGenerator;
3592
3857
  //#endregion
3593
3858
  //#region src/utils/generateID.d.ts
3594
3859
  type UUID = `${string}-${string}-${string}-${string}-${string}`;
3860
+ declare const uuidV4regex: RegExp;
3595
3861
  /**
3596
3862
  * Default `id` generator. Generates a valid v4 UUID. Uses `crypto.randomUUID()`
3597
3863
  * when available, otherwise uses an alternate method based on `getRandomValues`.
@@ -3835,7 +4101,7 @@ declare function getFirstOption<Opt extends Option>(arr?: OptionGroup<Opt>[] | O
3835
4101
  *
3836
4102
  * @group Option Lists
3837
4103
  */
3838
- declare const toFlatOptionArray: <T extends FullOption, OL extends FullOptionList<T>>(arr: OL) => T[];
4104
+ declare const toFlatOptionArray: <T extends FullOption>(arr: FullOptionList<T>) => T[];
3839
4105
  /**
3840
4106
  * Generates a new {@link OptionGroup} array with duplicates
3841
4107
  * removed based on the identifying property (`value` or `name`).
@@ -3970,7 +4236,7 @@ declare const prepareRuleGroup: <RG extends RuleGroupTypeAny>(queryObject: RG, {
3970
4236
  /**
3971
4237
  * Ensures that a rule or group is valid. See {@link prepareRule} and {@link prepareRuleGroup}.
3972
4238
  */
3973
- declare const prepareRuleOrGroup: <RG extends RuleGroupTypeAny>(rg: RG | RuleType, {
4239
+ declare const prepareRuleOrGroup: (rg: RuleGroupTypeAny | RuleType, {
3974
4240
  idGenerator
3975
4241
  }?: PreparerOptions) => RuleGroupType | RuleGroupTypeIC | RuleType;
3976
4242
  //#endregion
@@ -4368,5 +4634,5 @@ declare function transformQuery(query: RuleGroupType, options?: TransformQueryOp
4368
4634
  */
4369
4635
  declare function transformQuery(query: RuleGroupTypeIC, options?: TransformQueryOptions<RuleGroupTypeIC>): any;
4370
4636
  //#endregion
4371
- 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, isUnsafeKey, 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 };
4637
+ 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, DiagnosticEntry, DiagnosticsFieldSummaryEntry, DiagnosticsResult, DiagnosticsStats, 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, RuleDiagnosticsResult, RuleGroupArray, RuleGroupDiagnosticsArray, RuleGroupDiagnosticsResult, RuleGroupICArray, RuleGroupICDiagnosticsArray, RuleGroupICDiagnosticsResult, RuleGroupProcessor, RuleGroupType, RuleGroupTypeAny, RuleGroupTypeIC, RuleOrGroupArray, RuleProcessor, RuleType, RuleValidator, SQLPreset, StringUnionToFlexibleOptionArray, StringUnionToFullOptionArray, TestID, ToFlexibleOption, ToFullOption, ToRuleGroupType, ToRuleGroupTypeIC, 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, cypherCombinatorMap, 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, defaultRuleGroupProcessorCypher, defaultRuleGroupProcessorDiagnostics, defaultRuleGroupProcessorDrizzle, defaultRuleGroupProcessorElasticSearch, defaultRuleGroupProcessorGremlin, defaultRuleGroupProcessorJSONata, defaultRuleGroupProcessorJsonLogic, defaultRuleGroupProcessorLDAP, defaultRuleGroupProcessorMongoDB, defaultRuleGroupProcessorMongoDBQuery, defaultRuleGroupProcessorNL, defaultRuleGroupProcessorParameterized, defaultRuleGroupProcessorPrisma, defaultRuleGroupProcessorSPARQL, defaultRuleGroupProcessorSQL, defaultRuleGroupProcessorSequelize, defaultRuleGroupProcessorSpEL, defaultRuleProcessorCEL, defaultRuleProcessorCypher, defaultRuleProcessorDrizzle, defaultRuleProcessorElasticSearch, defaultRuleProcessorGremlin, defaultRuleProcessorJSONata, defaultRuleProcessorJsonLogic, defaultRuleProcessorLDAP, defaultRuleProcessorMongoDB, defaultRuleProcessorMongoDBQuery, defaultRuleProcessorNL, defaultRuleProcessorParameterized, defaultRuleProcessorPrisma, defaultRuleProcessorSPARQL, 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, isUnsafeKey, 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, uuidV4regex };
4372
4638
  //# sourceMappingURL=react-querybuilder_core.legacy-esm.d.ts.map