@react-querybuilder/core 8.9.2 → 8.11.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 (113) hide show
  1. package/dist/{arrayUtils-BF1P8iHS.mjs → arrayUtils-A_OXU9W1.mjs} +3 -75
  2. package/dist/arrayUtils-A_OXU9W1.mjs.map +1 -0
  3. package/dist/arrayUtils-QxZOZTf6.js +73 -0
  4. package/dist/arrayUtils-QxZOZTf6.js.map +1 -0
  5. package/dist/basic-DEc65Kng.d.mts +363 -0
  6. package/dist/basic-Dd_M2f3M.d.ts +363 -0
  7. package/dist/cjs/react-querybuilder_core.cjs.development.d.ts +806 -1366
  8. package/dist/cjs/react-querybuilder_core.cjs.development.js +455 -116
  9. package/dist/cjs/react-querybuilder_core.cjs.development.js.map +1 -1
  10. package/dist/cjs/react-querybuilder_core.cjs.production.d.ts +806 -1366
  11. package/dist/cjs/react-querybuilder_core.cjs.production.js +1 -1
  12. package/dist/cjs/react-querybuilder_core.cjs.production.js.map +1 -1
  13. package/dist/{convertQuery-H7RhQiIc.mjs → convertQuery-CqX3rPvj.mjs} +3 -3
  14. package/dist/{convertQuery-H7RhQiIc.mjs.map → convertQuery-CqX3rPvj.mjs.map} +1 -1
  15. package/dist/{export-DyrnTh6K.d.ts → export-Dy4FckB-.d.ts} +7 -6
  16. package/dist/{export-r-V7bU31.d.mts → export-t1V2N8pz.d.mts} +7 -6
  17. package/dist/formatQuery.d.mts +3 -2
  18. package/dist/formatQuery.d.ts +3 -2
  19. package/dist/formatQuery.js +217 -87
  20. package/dist/formatQuery.js.map +1 -1
  21. package/dist/formatQuery.mjs +217 -87
  22. package/dist/formatQuery.mjs.map +1 -1
  23. package/dist/{import-Cksobmln.d.ts → import-Cz8canKo.d.mts} +3 -3
  24. package/dist/{import-BwbbP4oU.d.mts → import-DtS9Ocx5.d.ts} +3 -3
  25. package/dist/{isRuleGroup-CnhYpLOM.mjs → isRuleGroup-CYcfPgbg.mjs} +2 -2
  26. package/dist/{isRuleGroup-CnhYpLOM.mjs.map → isRuleGroup-CYcfPgbg.mjs.map} +1 -1
  27. package/dist/lexer-C53tqS2p.js +406 -0
  28. package/dist/lexer-C53tqS2p.js.map +1 -0
  29. package/dist/{optGroupUtils-CXLgyg2i.js → optGroupUtils-B0hTpodo.js} +114 -1
  30. package/dist/optGroupUtils-B0hTpodo.js.map +1 -0
  31. package/dist/{optGroupUtils-Duv-M8rf.mjs → optGroupUtils-VeZ3k7-1.mjs} +86 -3
  32. package/dist/optGroupUtils-VeZ3k7-1.mjs.map +1 -0
  33. package/dist/parseCEL.d.mts +292 -11
  34. package/dist/parseCEL.d.ts +292 -11
  35. package/dist/parseCEL.js +874 -1125
  36. package/dist/parseCEL.js.map +1 -1
  37. package/dist/parseCEL.mjs +828 -1126
  38. package/dist/parseCEL.mjs.map +1 -1
  39. package/dist/parseJSONata.d.mts +3 -2
  40. package/dist/parseJSONata.d.ts +3 -2
  41. package/dist/parseJSONata.js +49 -77
  42. package/dist/parseJSONata.js.map +1 -1
  43. package/dist/parseJSONata.mjs +4 -5
  44. package/dist/parseJSONata.mjs.map +1 -1
  45. package/dist/parseJsonLogic.d.mts +4 -3
  46. package/dist/parseJsonLogic.d.ts +4 -3
  47. package/dist/parseJsonLogic.js +5 -6
  48. package/dist/parseJsonLogic.js.map +1 -1
  49. package/dist/parseJsonLogic.mjs +5 -6
  50. package/dist/parseJsonLogic.mjs.map +1 -1
  51. package/dist/parseMongoDB.d.mts +3 -2
  52. package/dist/parseMongoDB.d.ts +3 -2
  53. package/dist/parseMongoDB.js +15 -16
  54. package/dist/parseMongoDB.js.map +1 -1
  55. package/dist/parseMongoDB.mjs +5 -6
  56. package/dist/parseMongoDB.mjs.map +1 -1
  57. package/dist/{parseNumber-BtGKa58z.mjs → parseNumber-CXdMVNFx.mjs} +2 -2
  58. package/dist/{parseNumber-BtGKa58z.mjs.map → parseNumber-CXdMVNFx.mjs.map} +1 -1
  59. package/dist/{parseNumber-Bcys1kOH.js → parseNumber-D4iQDxK-.js} +1 -1
  60. package/dist/{parseNumber-Bcys1kOH.js.map → parseNumber-D4iQDxK-.js.map} +1 -1
  61. package/dist/parseSQL.d.mts +3 -2
  62. package/dist/parseSQL.d.ts +3 -2
  63. package/dist/parseSQL.js +2691 -3036
  64. package/dist/parseSQL.js.map +1 -1
  65. package/dist/parseSQL.mjs +2691 -3037
  66. package/dist/parseSQL.mjs.map +1 -1
  67. package/dist/parseSpEL.d.mts +3 -2
  68. package/dist/parseSpEL.d.ts +3 -2
  69. package/dist/parseSpEL.js +7 -9
  70. package/dist/parseSpEL.js.map +1 -1
  71. package/dist/parseSpEL.mjs +5 -6
  72. package/dist/parseSpEL.mjs.map +1 -1
  73. package/dist/{prepareQueryObjects-BqFEs4eV.js → prepareQueryObjects-BOUWfel5.js} +4 -5
  74. package/dist/prepareQueryObjects-BOUWfel5.js.map +1 -0
  75. package/dist/{prepareQueryObjects-CS6Wmhmf.mjs → prepareQueryObjects-DPCC-iHp.mjs} +6 -7
  76. package/dist/prepareQueryObjects-DPCC-iHp.mjs.map +1 -0
  77. package/dist/query-builder-layout.css +1 -1
  78. package/dist/query-builder-layout.css.map +1 -1
  79. package/dist/query-builder.css +1 -1
  80. package/dist/query-builder.css.map +1 -1
  81. package/dist/react-querybuilder_core.d.mts +806 -1366
  82. package/dist/react-querybuilder_core.legacy-esm.d.ts +806 -1366
  83. package/dist/react-querybuilder_core.legacy-esm.js +455 -114
  84. package/dist/react-querybuilder_core.legacy-esm.js.map +1 -1
  85. package/dist/react-querybuilder_core.mjs +448 -117
  86. package/dist/react-querybuilder_core.mjs.map +1 -1
  87. package/dist/react-querybuilder_core.production.d.mts +806 -1366
  88. package/dist/react-querybuilder_core.production.mjs +1 -1
  89. package/dist/react-querybuilder_core.production.mjs.map +1 -1
  90. package/dist/styles/_layout.scss +61 -17
  91. package/dist/styles/_main.scss +22 -4
  92. package/dist/{transformQuery-FL_nlpp5.js → transformQuery-CWDPogO5.js} +1 -1
  93. package/dist/{transformQuery-FL_nlpp5.js.map → transformQuery-CWDPogO5.js.map} +1 -1
  94. package/dist/{transformQuery-DdMvmrCh.mjs → transformQuery-DCCpjtyq.mjs} +3 -3
  95. package/dist/{transformQuery-DdMvmrCh.mjs.map → transformQuery-DCCpjtyq.mjs.map} +1 -1
  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 +2 -2
  100. package/package.json +14 -12
  101. package/dist/arrayUtils-BF1P8iHS.mjs.map +0 -1
  102. package/dist/arrayUtils-D5EoIsKP.js +0 -164
  103. package/dist/arrayUtils-D5EoIsKP.js.map +0 -1
  104. package/dist/basic-BfD-7CN3.d.mts +0 -1235
  105. package/dist/basic-C8xXKHIA.d.ts +0 -1235
  106. package/dist/objectUtils-BBZSfZJz.js +0 -17
  107. package/dist/objectUtils-BBZSfZJz.js.map +0 -1
  108. package/dist/objectUtils-BtWdcZVG.mjs +0 -11
  109. package/dist/objectUtils-BtWdcZVG.mjs.map +0 -1
  110. package/dist/optGroupUtils-CXLgyg2i.js.map +0 -1
  111. package/dist/optGroupUtils-Duv-M8rf.mjs.map +0 -1
  112. package/dist/prepareQueryObjects-BqFEs4eV.js.map +0 -1
  113. package/dist/prepareQueryObjects-CS6Wmhmf.mjs.map +0 -1
@@ -1,12 +1,228 @@
1
- import { DefaultRuleGroupType, DefaultRuleGroupTypeIC, Except } from "./basic-C8xXKHIA.js";
2
- import { ParserCommonOptions } from "./import-Cksobmln.js";
1
+ import { _ as RuleGroupType, d as DefaultRuleGroupTypeIC, g as DefaultRuleGroupType, h as DefaultOperatorName, m as DefaultCombinatorName, p as RuleGroupTypeIC, v as RuleType } from "./basic-Dd_M2f3M.js";
2
+ import { t as ParserCommonOptions } from "./import-DtS9Ocx5.js";
3
+ import { Except } from "type-fest";
3
4
 
5
+ //#region src/utils/parseCEL/types.d.ts
6
+ type CELExpressionType = "Addition" | "BooleanLiteral" | "BytesLiteral" | "ConditionalAnd" | "ConditionalExpr" | "ConditionalOr" | "Division" | "DynamicPropertyAccessor" | "ExpressionGroup" | "ExpressionList" | "FieldInit" | "FieldInits" | "FieldsObject" | "FloatLiteral" | "FunctionCall" | "Identifier" | "IntegerLiteral" | "List" | "Map" | "MapInit" | "MapInits" | "Member" | "Modulo" | "Multiplication" | "Negation" | "Negative" | "NullLiteral" | "Property" | "Relation" | "StringLiteral" | "Subtraction" | "Unary" | "UnsignedIntegerLiteral" | "LikeExpression";
7
+ type CELRelop = "==" | ">=" | ">" | "<=" | "<" | "!=" | "in";
8
+ interface CELExpression {
9
+ type: CELExpressionType;
10
+ }
11
+ interface CELIdentifier<LimitTo extends string = string> extends CELExpression {
12
+ type: "Identifier";
13
+ value: LimitTo;
14
+ }
15
+ interface CELStringLiteral extends CELExpression {
16
+ type: "StringLiteral";
17
+ value: `'${string}'` | `"${string}"` | `'''${string}'''` | `"""${string}"""`;
18
+ }
19
+ interface CELBytesLiteral extends CELExpression {
20
+ type: "BytesLiteral";
21
+ value: string;
22
+ }
23
+ interface CELIntegerLiteral extends CELExpression {
24
+ type: "IntegerLiteral";
25
+ value: number;
26
+ }
27
+ interface CELUnsignedIntegerLiteral extends CELExpression {
28
+ type: "UnsignedIntegerLiteral";
29
+ value: number;
30
+ }
31
+ interface CELFloatLiteral extends CELExpression {
32
+ type: "FloatLiteral";
33
+ value: number;
34
+ }
35
+ interface CELBooleanLiteral extends CELExpression {
36
+ type: "BooleanLiteral";
37
+ value: boolean;
38
+ }
39
+ interface CELNullLiteral extends CELExpression {
40
+ type: "NullLiteral";
41
+ value: null;
42
+ }
43
+ interface CELRelation extends CELExpression {
44
+ type: "Relation";
45
+ left: CELExpression;
46
+ operator: CELRelop;
47
+ right: CELExpression;
48
+ }
49
+ interface CELConditionalExpr extends CELExpression {
50
+ type: "ConditionalExpr";
51
+ condition: CELExpression;
52
+ valueIfTrue: CELExpression;
53
+ valueIfFalse: CELExpression;
54
+ }
55
+ interface CELNegation extends CELExpression {
56
+ type: "Negation";
57
+ negations: number;
58
+ value: CELPrimary;
59
+ }
60
+ interface CELNegative extends CELExpression {
61
+ type: "Negative";
62
+ negatives: number;
63
+ value: CELMember;
64
+ }
65
+ interface CELMember extends CELExpression {
66
+ type: "Member";
67
+ value?: CELPrimary;
68
+ left?: CELPrimary | CELMember;
69
+ right?: CELIdentifier;
70
+ list?: CELExpressionList;
71
+ }
72
+ interface CELMemberIdentifierChain extends CELMember {
73
+ type: "Member";
74
+ value: never;
75
+ left: CELMemberIdentifierChain;
76
+ right: CELIdentifier;
77
+ list: never;
78
+ }
79
+ interface CELMemberNegatedIdentifier extends CELNegation {
80
+ value: CELIdentifier;
81
+ }
82
+ interface CELMemberNegatedIdentifierChain extends CELExpression {
83
+ value: never;
84
+ left: CELMemberIdentifierChain | CELMemberNegatedIdentifier;
85
+ right: CELIdentifier;
86
+ list: never;
87
+ }
88
+ interface CELDynamicPropertyAccessor extends CELExpression {
89
+ type: "DynamicPropertyAccessor";
90
+ left: CELMember;
91
+ right: CELExpression;
92
+ }
93
+ interface CELProperty extends CELExpression {
94
+ type: "Property";
95
+ value: CELIdentifier;
96
+ args?: CELExpressionList;
97
+ trailingComma?: boolean;
98
+ }
99
+ interface CELFunctionCall extends CELExpression {
100
+ type: "FunctionCall";
101
+ name: CELIdentifier;
102
+ args: CELExpressionList;
103
+ trailingComma?: boolean;
104
+ }
105
+ interface CELExpressionGroup extends CELExpression {
106
+ type: "ExpressionGroup";
107
+ value: CELExpression;
108
+ }
109
+ interface CELList extends CELExpression {
110
+ type: "List";
111
+ value: CELExpressionList;
112
+ trailingComma?: boolean;
113
+ }
114
+ interface CELMap extends CELExpression {
115
+ type: "Map";
116
+ value: CELMapInits;
117
+ trailingComma?: boolean;
118
+ }
119
+ interface CELAddition extends CELExpression {
120
+ type: "Addition";
121
+ left: CELExpression;
122
+ right: CELExpression;
123
+ }
124
+ interface CELSubtraction extends CELExpression {
125
+ type: "Subtraction";
126
+ left: CELExpression;
127
+ right: CELExpression;
128
+ }
129
+ interface CELMultiplication extends CELExpression {
130
+ type: "Multiplication";
131
+ left: CELExpression;
132
+ right: CELExpression;
133
+ }
134
+ interface CELDivision extends CELExpression {
135
+ type: "Division";
136
+ left: CELExpression;
137
+ right: CELExpression;
138
+ }
139
+ interface CELModulo extends CELExpression {
140
+ type: "Modulo";
141
+ left: CELExpression;
142
+ right: CELExpression;
143
+ }
144
+ interface CELConditionalOr extends CELExpression {
145
+ type: "ConditionalOr";
146
+ left: CELExpression;
147
+ right: CELExpression;
148
+ }
149
+ interface CELConditionalAnd extends CELExpression {
150
+ type: "ConditionalAnd";
151
+ left: CELExpression;
152
+ right: CELExpression;
153
+ }
154
+ interface CELExpressionList extends CELExpression {
155
+ type: "ExpressionList";
156
+ value: CELExpression[];
157
+ }
158
+ interface CELFieldsObject extends CELExpression {
159
+ type: "FieldsObject";
160
+ left: CELMember;
161
+ list: CELFieldInits;
162
+ trailingComma?: boolean;
163
+ }
164
+ interface CELFieldInits extends CELExpression {
165
+ type: "FieldInits";
166
+ value: CELFieldInit[];
167
+ }
168
+ interface CELFieldInit extends CELExpression {
169
+ type: "FieldInit";
170
+ left: CELIdentifier;
171
+ right: CELExpression;
172
+ }
173
+ interface CELMapInits extends CELExpression {
174
+ type: "MapInits";
175
+ value: CELMapInit[];
176
+ }
177
+ interface CELMapInit extends CELExpression {
178
+ type: "MapInit";
179
+ left: CELExpression;
180
+ right: CELExpression;
181
+ }
182
+ interface CELLikeExpression extends CELExpression {
183
+ type: "LikeExpression";
184
+ left: CELIdentifier | CELMemberIdentifierChain;
185
+ right: CELIdentifier<"contains" | "startsWith" | "endsWith">;
186
+ list: CELExpressionList & {
187
+ value: [CELStringLiteral | CELIdentifier];
188
+ };
189
+ }
190
+ interface CELNegatedLikeExpression extends CELExpression {
191
+ type: "LikeExpression";
192
+ left: CELMemberNegatedIdentifier | CELMemberNegatedIdentifierChain;
193
+ right: CELIdentifier<"contains" | "startsWith" | "endsWith">;
194
+ list: CELExpressionList & {
195
+ value: [CELStringLiteral | CELIdentifier];
196
+ };
197
+ }
198
+ type CELNumericLiteral = CELIntegerLiteral | CELUnsignedIntegerLiteral | CELFloatLiteral;
199
+ type CELLiteral = CELStringLiteral | CELBytesLiteral | CELNumericLiteral | CELBooleanLiteral | CELNullLiteral;
200
+ type CELPrimary = CELProperty | CELIdentifier | CELExpressionGroup | CELFunctionCall | CELLiteral | CELList | CELMap;
201
+ type CELMathOperation = CELAddition | CELSubtraction | CELMultiplication | CELDivision | CELModulo;
202
+ interface ParsedCEL {
203
+ nodeType: "Main";
204
+ value: CELExpression;
205
+ }
206
+ //#endregion
4
207
  //#region src/utils/parseCEL/parseCEL.d.ts
5
-
208
+ interface ParseCELOptionsStandard extends Except<ParserCommonOptions, "independentCombinators"> {
209
+ independentCombinators?: false;
210
+ /**
211
+ * Handler for custom CEL expressions.
212
+ */
213
+ customExpressionHandler?: (expr: CELExpression) => RuleType | RuleGroupType | null;
214
+ }
215
+ interface ParseCELOptionsIC extends Except<ParserCommonOptions, "independentCombinators"> {
216
+ independentCombinators: true;
217
+ /**
218
+ * Handler for custom CEL expressions.
219
+ */
220
+ customExpressionHandler?: (expr: CELExpression) => RuleType | RuleGroupTypeIC | null;
221
+ }
6
222
  /**
7
223
  * Options object for {@link parseCEL}.
8
224
  */
9
- interface ParseCELOptions extends ParserCommonOptions {}
225
+ type ParseCELOptions = ParseCELOptionsStandard | ParseCELOptionsIC;
10
226
  /**
11
227
  * Converts a CEL string expression into a query suitable for the
12
228
  * {@link index!QueryBuilder QueryBuilder} component's `query` or `defaultQuery` props
@@ -16,19 +232,84 @@ declare function parseCEL(cel: string): DefaultRuleGroupType;
16
232
  /**
17
233
  * Converts a CEL string expression into a query suitable for the
18
234
  * {@link index!QueryBuilder QueryBuilder} component's `query` or `defaultQuery` props
235
+ * ({@link index!RuleGroupType RuleGroupType}).
236
+ */
237
+ declare function parseCEL(cel: string, options: ParseCELOptionsStandard & {
238
+ customExpressionHandler: (expr: CELExpression) => RuleType | RuleGroupType | null;
239
+ }): RuleGroupType;
240
+ /**
241
+ * Converts a CEL string expression into a query suitable for the
242
+ * {@link index!QueryBuilder QueryBuilder} component's `query` or `defaultQuery` props
243
+ * ({@link index!RuleGroupTypeIC RuleGroupTypeIC}).
244
+ */
245
+ declare function parseCEL(cel: string, options: ParseCELOptionsIC & {
246
+ customExpressionHandler: (expr: CELExpression) => RuleType | RuleGroupTypeIC | null;
247
+ }): RuleGroupTypeIC;
248
+ /**
249
+ * Converts a CEL string expression into a query suitable for the
250
+ * {@link index!QueryBuilder QueryBuilder} component's `query` or `defaultQuery` props
19
251
  * ({@link index!DefaultRuleGroupType DefaultRuleGroupType}).
20
252
  */
21
- declare function parseCEL(cel: string, options: Except<ParseCELOptions, "independentCombinators"> & {
22
- independentCombinators?: false;
23
- }): DefaultRuleGroupType;
253
+ declare function parseCEL(cel: string, options?: ParseCELOptionsStandard): DefaultRuleGroupType;
24
254
  /**
25
255
  * Converts a CEL string expression into a query suitable for the
26
256
  * {@link index!QueryBuilder QueryBuilder} component's `query` or `defaultQuery` props
27
257
  * ({@link index!DefaultRuleGroupTypeIC DefaultRuleGroupTypeIC}).
28
258
  */
29
- declare function parseCEL(cel: string, options: Except<ParseCELOptions, "independentCombinators"> & {
30
- independentCombinators: true;
31
- }): DefaultRuleGroupTypeIC;
259
+ declare function parseCEL(cel: string, options: ParseCELOptionsIC): DefaultRuleGroupTypeIC;
260
+ //#endregion
261
+ //#region src/utils/parseCEL/utils.d.ts
262
+ declare const isCELExpressionGroup: (expr: CELExpression) => expr is CELExpressionGroup;
263
+ declare const isCELConditionalAnd: (expr: CELExpression) => expr is CELConditionalAnd;
264
+ declare const isCELConditionalOr: (expr: CELExpression) => expr is CELConditionalOr;
265
+ declare const isCELStringLiteral: (expr: CELExpression) => expr is CELStringLiteral;
266
+ declare const isCELLiteral: (expr: CELExpression) => expr is CELLiteral;
267
+ declare const isCELNumericLiteral: (expr: CELExpression) => expr is CELNumericLiteral;
268
+ declare const isCELRelation: (expr: CELExpression) => expr is CELRelation;
269
+ declare const isCELList: (expr: CELExpression) => expr is CELList;
270
+ declare const isCELMap: (expr: CELExpression) => expr is CELMap;
271
+ declare const isCELIdentifier: (expr: CELExpression) => expr is CELIdentifier;
272
+ declare const isCELNegation: (expr: CELExpression) => expr is CELNegation;
273
+ declare const isCELMember: (expr: CELExpression) => expr is CELMember;
274
+ declare const isCELAddition: (expr: CELExpression) => expr is CELAddition;
275
+ declare const isCELBooleanLiteral: (expr: CELExpression) => expr is CELBooleanLiteral;
276
+ declare const isCELBytesLiteral: (expr: CELExpression) => expr is CELBytesLiteral;
277
+ declare const isCELConditionalExpr: (expr: CELExpression) => expr is CELConditionalExpr;
278
+ declare const isCELDivision: (expr: CELExpression) => expr is CELDivision;
279
+ declare const isCELDynamicPropertyAccessor: (expr: CELExpression) => expr is CELDynamicPropertyAccessor;
280
+ declare const isCELExpressionList: (expr: CELExpression) => expr is CELExpressionList;
281
+ declare const isCELFieldInit: (expr: CELExpression) => expr is CELFieldInit;
282
+ declare const isCELFieldInits: (expr: CELExpression) => expr is CELFieldInits;
283
+ declare const isCELFieldsObject: (expr: CELExpression) => expr is CELFieldsObject;
284
+ declare const isCELFloatLiteral: (expr: CELExpression) => expr is CELFloatLiteral;
285
+ declare const isCELFunctionCall: (expr: CELExpression) => expr is CELFunctionCall;
286
+ declare const isCELIntegerLiteral: (expr: CELExpression) => expr is CELIntegerLiteral;
287
+ declare const isCELMapInit: (expr: CELExpression) => expr is CELMapInit;
288
+ declare const isCELMapInits: (expr: CELExpression) => expr is CELMapInits;
289
+ declare const isCELModulo: (expr: CELExpression) => expr is CELModulo;
290
+ declare const isCELMultiplication: (expr: CELExpression) => expr is CELMultiplication;
291
+ declare const isCELNegative: (expr: CELExpression) => expr is CELNegative;
292
+ declare const isCELNullLiteral: (expr: CELExpression) => expr is CELNullLiteral;
293
+ declare const isCELProperty: (expr: CELExpression) => expr is CELProperty;
294
+ declare const isCELSubtraction: (expr: CELExpression) => expr is CELSubtraction;
295
+ declare const isCELUnsignedIntegerLiteral: (expr: CELExpression) => expr is CELUnsignedIntegerLiteral;
296
+ declare const isCELIdentifierOrChain: (expr: CELExpression) => expr is CELMemberIdentifierChain | CELIdentifier;
297
+ declare const isCELNegatedIdentifier: (expr: CELExpression) => expr is CELMemberNegatedIdentifier;
298
+ declare const isCELNegatedIdentifierOrChain: (expr: CELExpression) => expr is CELMemberNegatedIdentifierChain | CELMemberNegatedIdentifier;
299
+ declare const isCELLikeExpression: (expr: CELExpression) => expr is CELLikeExpression;
300
+ declare const isCELNegatedLikeExpression: (expr: CELExpression) => expr is CELNegatedLikeExpression;
301
+ declare const getCELIdentifierFromChain: (expr: CELIdentifier | CELMemberIdentifierChain) => string;
302
+ declare const getCELIdentifierFromNegatedChain: (expr: CELMemberNegatedIdentifier | CELMemberNegatedIdentifierChain) => string;
303
+ declare function evalCELLiteralValue(literal: CELStringLiteral): string;
304
+ declare function evalCELLiteralValue(literal: CELBooleanLiteral): boolean;
305
+ declare function evalCELLiteralValue(literal: CELNumericLiteral): number | null;
306
+ declare function evalCELLiteralValue(literal: CELBytesLiteral): null;
307
+ declare function evalCELLiteralValue(literal: CELNullLiteral): null;
308
+ declare function evalCELLiteralValue(literal: CELLiteral): string | boolean | number | null;
309
+ declare const celNormalizeCombinator: (c: "&&" | "||") => DefaultCombinatorName;
310
+ declare const celNormalizeOperator: (op: CELRelop, flip?: boolean) => DefaultOperatorName;
311
+ declare const celGenerateFlatAndOrList: (expr: CELConditionalAnd | CELConditionalOr) => (DefaultCombinatorName | CELExpression)[];
312
+ declare const celGenerateMixedAndOrList: (expr: CELConditionalAnd | CELConditionalOr) => (DefaultCombinatorName | CELExpression | ("and" | CELExpression)[])[];
32
313
  //#endregion
33
- export { ParseCELOptions, parseCEL };
314
+ export { CELAddition, CELBooleanLiteral, CELBytesLiteral, CELConditionalAnd, CELConditionalExpr, CELConditionalOr, CELDivision, CELDynamicPropertyAccessor, CELExpression, CELExpressionGroup, CELExpressionList, CELExpressionType, CELFieldInit, CELFieldInits, CELFieldsObject, CELFloatLiteral, CELFunctionCall, CELIdentifier, CELIntegerLiteral, CELLikeExpression, CELList, CELLiteral, CELMap, CELMapInit, CELMapInits, CELMathOperation, CELMember, CELMemberIdentifierChain, CELMemberNegatedIdentifier, CELMemberNegatedIdentifierChain, CELModulo, CELMultiplication, CELNegatedLikeExpression, CELNegation, CELNegative, CELNullLiteral, CELNumericLiteral, CELPrimary, CELProperty, CELRelation, CELRelop, CELStringLiteral, CELSubtraction, CELUnsignedIntegerLiteral, ParseCELOptions, ParseCELOptionsIC, ParseCELOptionsStandard, ParsedCEL, celGenerateFlatAndOrList, celGenerateMixedAndOrList, celNormalizeCombinator, celNormalizeOperator, evalCELLiteralValue, getCELIdentifierFromChain, getCELIdentifierFromNegatedChain, isCELAddition, isCELBooleanLiteral, isCELBytesLiteral, isCELConditionalAnd, isCELConditionalExpr, isCELConditionalOr, isCELDivision, isCELDynamicPropertyAccessor, isCELExpressionGroup, isCELExpressionList, isCELFieldInit, isCELFieldInits, isCELFieldsObject, isCELFloatLiteral, isCELFunctionCall, isCELIdentifier, isCELIdentifierOrChain, isCELIntegerLiteral, isCELLikeExpression, isCELList, isCELLiteral, isCELMap, isCELMapInit, isCELMapInits, isCELMember, isCELModulo, isCELMultiplication, isCELNegatedIdentifier, isCELNegatedIdentifierOrChain, isCELNegatedLikeExpression, isCELNegation, isCELNegative, isCELNullLiteral, isCELNumericLiteral, isCELProperty, isCELRelation, isCELStringLiteral, isCELSubtraction, isCELUnsignedIntegerLiteral, parseCEL };
34
315
  //# sourceMappingURL=parseCEL.d.ts.map