@molecule/app-rule-builder-angular 0.0.0-stage → 1.1.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.
- package/LICENSE +202 -0
- package/README.md +725 -2
- package/dist/index.d.ts +66 -0
- package/dist/index.d.ts.map +1 -0
- package/dist/index.js +66 -0
- package/dist/index.js.map +1 -0
- package/dist/operators.d.ts +61 -0
- package/dist/operators.d.ts.map +1 -0
- package/dist/operators.js +98 -0
- package/dist/operators.js.map +1 -0
- package/dist/rule-builder.component.d.ts +388 -0
- package/dist/rule-builder.component.d.ts.map +1 -0
- package/dist/rule-builder.component.js +991 -0
- package/dist/rule-builder.component.js.map +1 -0
- package/dist/types.d.ts +138 -0
- package/dist/types.d.ts.map +1 -0
- package/dist/types.js +16 -0
- package/dist/types.js.map +1 -0
- package/dist/utilities.d.ts +67 -0
- package/dist/utilities.d.ts.map +1 -0
- package/dist/utilities.js +108 -0
- package/dist/utilities.js.map +1 -0
- package/package.json +74 -4
|
@@ -0,0 +1,388 @@
|
|
|
1
|
+
import type { UIClassMap } from '@molecule/app-ui';
|
|
2
|
+
import { operatorById } from './operators.js';
|
|
3
|
+
import type { Rule, RuleField, RuleGroup, RuleLeaf, RuleLeafValue, RuleSchema } from './types.js';
|
|
4
|
+
import * as i0 from "@angular/core";
|
|
5
|
+
/** The context one group template renders from. */
|
|
6
|
+
interface GroupContext {
|
|
7
|
+
$implicit: RuleGroup;
|
|
8
|
+
isRoot: boolean;
|
|
9
|
+
onReplace: (next: Rule) => void;
|
|
10
|
+
onRemove: () => void;
|
|
11
|
+
}
|
|
12
|
+
/** The context one leaf template renders from. */
|
|
13
|
+
interface LeafContext {
|
|
14
|
+
$implicit: RuleLeaf;
|
|
15
|
+
onReplace: (next: Rule) => void;
|
|
16
|
+
onRemove: () => void;
|
|
17
|
+
}
|
|
18
|
+
/** The context the value-editor template renders from. */
|
|
19
|
+
interface ValueContext {
|
|
20
|
+
id: string;
|
|
21
|
+
field: RuleField;
|
|
22
|
+
arity: 'binary' | 'between';
|
|
23
|
+
value: RuleLeafValue | undefined;
|
|
24
|
+
onChange: (next: RuleLeafValue | undefined) => void;
|
|
25
|
+
}
|
|
26
|
+
/**
|
|
27
|
+
* Visual rule / predicate builder.
|
|
28
|
+
*
|
|
29
|
+
* The host IS the outer `<div>` React renders (`div[mol-rule-builder]`),
|
|
30
|
+
* matching React exactly. The page frame uses ClassMap tokens so the styling
|
|
31
|
+
* library can be swapped without touching consumers; a recursive
|
|
32
|
+
* `<ng-template>` renders each AND / OR group, so the tree nests to any depth.
|
|
33
|
+
*
|
|
34
|
+
* The component is fully controlled — every interaction emits a new root rule
|
|
35
|
+
* through the `onChange` input.
|
|
36
|
+
*/
|
|
37
|
+
export declare class RuleBuilder {
|
|
38
|
+
/** Field catalog the user picks from. */
|
|
39
|
+
schema: RuleSchema;
|
|
40
|
+
/** Current rule tree (controlled). */
|
|
41
|
+
rules: Rule;
|
|
42
|
+
/** Called whenever the user mutates the tree, with the full new root rule. */
|
|
43
|
+
onChange?: (next: Rule) => void;
|
|
44
|
+
/** Optional extra root-level class. */
|
|
45
|
+
className?: string;
|
|
46
|
+
/**
|
|
47
|
+
* Reactive translation, read in the injection context so the view re-renders
|
|
48
|
+
* its text (and its aria labels) on a locale switch.
|
|
49
|
+
*/
|
|
50
|
+
private readonly i18n;
|
|
51
|
+
/**
|
|
52
|
+
* The bonded ClassMap (styling tokens resolve at render time).
|
|
53
|
+
* @returns The UIClassMap.
|
|
54
|
+
*/
|
|
55
|
+
cm(): UIClassMap;
|
|
56
|
+
/**
|
|
57
|
+
* The rendered root group: the given tree itself when it is a group,
|
|
58
|
+
* otherwise an implicit AND group wrapping the bare leaf (React's
|
|
59
|
+
* `rules.kind === 'group' ? rules : {...}`).
|
|
60
|
+
* @returns The root group.
|
|
61
|
+
*/
|
|
62
|
+
rootGroup(): RuleGroup;
|
|
63
|
+
/**
|
|
64
|
+
* The root group's template context.
|
|
65
|
+
* @returns The group context.
|
|
66
|
+
*/
|
|
67
|
+
rootContext(): GroupContext;
|
|
68
|
+
/**
|
|
69
|
+
* Narrows a rule to a group.
|
|
70
|
+
* @param rule - The rule.
|
|
71
|
+
* @returns Whether it is a group.
|
|
72
|
+
*/
|
|
73
|
+
isGroup(rule: Rule): rule is RuleGroup;
|
|
74
|
+
/**
|
|
75
|
+
* The next tree after `child` is replaced inside `parent` (React's
|
|
76
|
+
* `replaceChild` closure).
|
|
77
|
+
* @param parent - The parent group.
|
|
78
|
+
* @param child - The child being replaced.
|
|
79
|
+
* @param onReplace - The parent's own replacement callback.
|
|
80
|
+
* @returns The child replacement callback.
|
|
81
|
+
*/
|
|
82
|
+
childReplace(parent: RuleGroup, child: Rule, onReplace: (next: Rule) => void): (next: Rule) => void;
|
|
83
|
+
/**
|
|
84
|
+
* The next tree after `child` is removed from `parent` (React's
|
|
85
|
+
* `removeChild` closure).
|
|
86
|
+
* @param parent - The parent group.
|
|
87
|
+
* @param child - The child being removed.
|
|
88
|
+
* @param onReplace - The parent's own replacement callback.
|
|
89
|
+
* @returns The child removal callback.
|
|
90
|
+
*/
|
|
91
|
+
childRemove(parent: RuleGroup, child: Rule, onReplace: (next: Rule) => void): () => void;
|
|
92
|
+
/**
|
|
93
|
+
* The template context of a nested group.
|
|
94
|
+
* @param parent - The enclosing group.
|
|
95
|
+
* @param child - The nested group.
|
|
96
|
+
* @param onReplace - The enclosing group's replacement callback.
|
|
97
|
+
* @returns The group context.
|
|
98
|
+
*/
|
|
99
|
+
groupContextOf(parent: RuleGroup, child: RuleGroup, onReplace: (next: Rule) => void): GroupContext;
|
|
100
|
+
/**
|
|
101
|
+
* The template context of a leaf.
|
|
102
|
+
* @param parent - The enclosing group.
|
|
103
|
+
* @param child - The leaf.
|
|
104
|
+
* @param onReplace - The enclosing group's replacement callback.
|
|
105
|
+
* @returns The leaf context.
|
|
106
|
+
*/
|
|
107
|
+
leafContextOf(parent: RuleGroup, child: RuleLeaf, onReplace: (next: Rule) => void): LeafContext;
|
|
108
|
+
/**
|
|
109
|
+
* The template context of a leaf's value editor.
|
|
110
|
+
* @param leaf - The leaf that owns the value.
|
|
111
|
+
* @param field - The leaf's field descriptor.
|
|
112
|
+
* @param arity - The operator's arity.
|
|
113
|
+
* @param onReplace - The leaf's replacement callback.
|
|
114
|
+
* @returns The value-editor context.
|
|
115
|
+
*/
|
|
116
|
+
valueContextOf(leaf: RuleLeaf, field: RuleField, arity: 'binary' | 'between', onReplace: (next: Rule) => void): ValueContext;
|
|
117
|
+
/**
|
|
118
|
+
* Flips a group's operator between AND and OR.
|
|
119
|
+
* @param group - The group.
|
|
120
|
+
* @param onReplace - The group's replacement callback.
|
|
121
|
+
*/
|
|
122
|
+
toggle(group: RuleGroup, onReplace: (next: Rule) => void): void;
|
|
123
|
+
/**
|
|
124
|
+
* Appends an empty leaf to a group.
|
|
125
|
+
* @param group - The group.
|
|
126
|
+
* @param onReplace - The group's replacement callback.
|
|
127
|
+
*/
|
|
128
|
+
addCondition(group: RuleGroup, onReplace: (next: Rule) => void): void;
|
|
129
|
+
/**
|
|
130
|
+
* Appends an empty nested group to a group.
|
|
131
|
+
* @param group - The group.
|
|
132
|
+
* @param onReplace - The group's replacement callback.
|
|
133
|
+
*/
|
|
134
|
+
addGroup(group: RuleGroup, onReplace: (next: Rule) => void): void;
|
|
135
|
+
/**
|
|
136
|
+
* The field descriptor a leaf names, if the schema has it.
|
|
137
|
+
* @param leaf - The leaf.
|
|
138
|
+
* @returns The field, or undefined.
|
|
139
|
+
*/
|
|
140
|
+
fieldOf(leaf: RuleLeaf): RuleField | undefined;
|
|
141
|
+
/**
|
|
142
|
+
* The operator descriptor a leaf names within its field's catalog.
|
|
143
|
+
* @param field - The leaf's field.
|
|
144
|
+
* @param leaf - The leaf.
|
|
145
|
+
* @returns The operator, or undefined.
|
|
146
|
+
*/
|
|
147
|
+
opOf(field: RuleField, leaf: RuleLeaf): ReturnType<typeof operatorById>;
|
|
148
|
+
/**
|
|
149
|
+
* An operator's value arity (React's `op?.arity ?? 'binary'`).
|
|
150
|
+
* @param op - The operator.
|
|
151
|
+
* @returns The arity.
|
|
152
|
+
*/
|
|
153
|
+
arityOf(op: ReturnType<typeof operatorById>): 'unary' | 'binary' | 'between';
|
|
154
|
+
/**
|
|
155
|
+
* Sets a leaf's field and auto-picks the field's first operator.
|
|
156
|
+
* @param leaf - The leaf.
|
|
157
|
+
* @param onReplace - The leaf's replacement callback.
|
|
158
|
+
* @param name - The field name.
|
|
159
|
+
*/
|
|
160
|
+
setField(leaf: RuleLeaf, onReplace: (next: Rule) => void, name: string): void;
|
|
161
|
+
/**
|
|
162
|
+
* Sets a leaf's operator, resetting its value.
|
|
163
|
+
* @param leaf - The leaf.
|
|
164
|
+
* @param onReplace - The leaf's replacement callback.
|
|
165
|
+
* @param opId - The operator id.
|
|
166
|
+
*/
|
|
167
|
+
setOp(leaf: RuleLeaf, onReplace: (next: Rule) => void, opId: string): void;
|
|
168
|
+
/**
|
|
169
|
+
* The value inputs' type for a field (React's `inputType`).
|
|
170
|
+
* @param field - The field.
|
|
171
|
+
* @returns The native input type.
|
|
172
|
+
*/
|
|
173
|
+
inputType(field: RuleField): string;
|
|
174
|
+
/**
|
|
175
|
+
* The `[from, to]` tuple of a between-valued leaf, with React's fallbacks.
|
|
176
|
+
* @param field - The field.
|
|
177
|
+
* @param value - The leaf's value.
|
|
178
|
+
* @returns The tuple.
|
|
179
|
+
*/
|
|
180
|
+
tupleOf(field: RuleField, value: RuleLeafValue | undefined): [string, string] | [number, number];
|
|
181
|
+
/**
|
|
182
|
+
* The "from" input's text.
|
|
183
|
+
* @param field - The field.
|
|
184
|
+
* @param value - The leaf's value.
|
|
185
|
+
* @returns The text.
|
|
186
|
+
*/
|
|
187
|
+
fromText(field: RuleField, value: RuleLeafValue | undefined): string;
|
|
188
|
+
/**
|
|
189
|
+
* The "to" input's text.
|
|
190
|
+
* @param field - The field.
|
|
191
|
+
* @param value - The leaf's value.
|
|
192
|
+
* @returns The text.
|
|
193
|
+
*/
|
|
194
|
+
toText(field: RuleField, value: RuleLeafValue | undefined): string;
|
|
195
|
+
/**
|
|
196
|
+
* Writes the "from" half of a between value.
|
|
197
|
+
* @param field - The field.
|
|
198
|
+
* @param value - The leaf's current value.
|
|
199
|
+
* @param onChange - Receives the next value.
|
|
200
|
+
* @param event - The native input event.
|
|
201
|
+
*/
|
|
202
|
+
setFrom(field: RuleField, value: RuleLeafValue | undefined, onChange: (next: RuleLeafValue | undefined) => void, event: Event): void;
|
|
203
|
+
/**
|
|
204
|
+
* Writes the "to" half of a between value.
|
|
205
|
+
* @param field - The field.
|
|
206
|
+
* @param value - The leaf's current value.
|
|
207
|
+
* @param onChange - Receives the next value.
|
|
208
|
+
* @param event - The native input event.
|
|
209
|
+
*/
|
|
210
|
+
setTo(field: RuleField, value: RuleLeafValue | undefined, onChange: (next: RuleLeafValue | undefined) => void, event: Event): void;
|
|
211
|
+
/**
|
|
212
|
+
* Writes a select field's value.
|
|
213
|
+
* @param value - The leaf's current value.
|
|
214
|
+
* @returns The select's value.
|
|
215
|
+
*/
|
|
216
|
+
selectValue(value: RuleLeafValue | undefined): string;
|
|
217
|
+
/**
|
|
218
|
+
* Writes a boolean field's select value.
|
|
219
|
+
* @param value - The leaf's current value.
|
|
220
|
+
* @returns The select's value.
|
|
221
|
+
*/
|
|
222
|
+
booleanValue(value: RuleLeafValue | undefined): string;
|
|
223
|
+
/**
|
|
224
|
+
* Writes a boolean value from the select's chosen text.
|
|
225
|
+
* @param onChange - Receives the next value.
|
|
226
|
+
* @param chosen - The chosen option value.
|
|
227
|
+
*/
|
|
228
|
+
setBoolean(onChange: (next: RuleLeafValue | undefined) => void, chosen: string): void;
|
|
229
|
+
/**
|
|
230
|
+
* A binary text / number / date value as input text.
|
|
231
|
+
* @param value - The leaf's value.
|
|
232
|
+
* @returns The input text.
|
|
233
|
+
*/
|
|
234
|
+
valueText(value: RuleLeafValue | undefined): string;
|
|
235
|
+
/**
|
|
236
|
+
* Writes a binary text / number / date value from the input.
|
|
237
|
+
* @param field - The field.
|
|
238
|
+
* @param onChange - Receives the next value.
|
|
239
|
+
* @param event - The native input event.
|
|
240
|
+
*/
|
|
241
|
+
setRawValue(field: RuleField, onChange: (next: RuleLeafValue | undefined) => void, event: Event): void;
|
|
242
|
+
/**
|
|
243
|
+
* The field dropdown's options, with the placeholder first.
|
|
244
|
+
* @returns The options.
|
|
245
|
+
*/
|
|
246
|
+
fieldOptions(): Array<{
|
|
247
|
+
value: string;
|
|
248
|
+
label: string;
|
|
249
|
+
}>;
|
|
250
|
+
/**
|
|
251
|
+
* The operator dropdown's options for a field.
|
|
252
|
+
* @param field - The field.
|
|
253
|
+
* @returns The options.
|
|
254
|
+
*/
|
|
255
|
+
operatorOptions(field: RuleField): Array<{
|
|
256
|
+
value: string;
|
|
257
|
+
label: string;
|
|
258
|
+
}>;
|
|
259
|
+
/**
|
|
260
|
+
* The boolean value dropdown's options.
|
|
261
|
+
* @returns The options.
|
|
262
|
+
*/
|
|
263
|
+
booleanOptions(): Array<{
|
|
264
|
+
value: string;
|
|
265
|
+
label: string;
|
|
266
|
+
}>;
|
|
267
|
+
/**
|
|
268
|
+
* The outer class list.
|
|
269
|
+
* @returns The class string.
|
|
270
|
+
*/
|
|
271
|
+
classes(): string;
|
|
272
|
+
/**
|
|
273
|
+
* One group's class list.
|
|
274
|
+
* @returns The class string.
|
|
275
|
+
*/
|
|
276
|
+
groupClasses(): string;
|
|
277
|
+
/**
|
|
278
|
+
* One group's inline style (React's `style={cm.sp({ p: 3 })}`).
|
|
279
|
+
* @returns The style attribute text.
|
|
280
|
+
*/
|
|
281
|
+
groupStyle(): string | null;
|
|
282
|
+
/**
|
|
283
|
+
* A group's children wrapper class list.
|
|
284
|
+
* @returns The class string.
|
|
285
|
+
*/
|
|
286
|
+
childrenClasses(): string;
|
|
287
|
+
/**
|
|
288
|
+
* A group's children wrapper inline style (React's `cm.sp({ p: 2 })`).
|
|
289
|
+
* @returns The style attribute text.
|
|
290
|
+
*/
|
|
291
|
+
childrenStyle(): string | null;
|
|
292
|
+
/**
|
|
293
|
+
* A row of controls' class list.
|
|
294
|
+
* @returns The class string.
|
|
295
|
+
*/
|
|
296
|
+
rowClasses(): string;
|
|
297
|
+
/**
|
|
298
|
+
* The help text's class list.
|
|
299
|
+
* @returns The class string.
|
|
300
|
+
*/
|
|
301
|
+
helpClasses(): string;
|
|
302
|
+
/**
|
|
303
|
+
* A leaf row's class list.
|
|
304
|
+
* @returns The class string.
|
|
305
|
+
*/
|
|
306
|
+
leafClasses(): string;
|
|
307
|
+
/**
|
|
308
|
+
* A group's operator label.
|
|
309
|
+
* @param group - The group.
|
|
310
|
+
* @returns The translated label.
|
|
311
|
+
*/
|
|
312
|
+
opLabel(group: RuleGroup): string;
|
|
313
|
+
/**
|
|
314
|
+
* A group's help text.
|
|
315
|
+
* @param group - The group.
|
|
316
|
+
* @returns The translated help text.
|
|
317
|
+
*/
|
|
318
|
+
helpText(group: RuleGroup): string;
|
|
319
|
+
/**
|
|
320
|
+
* The toggle button's accessible label.
|
|
321
|
+
* @returns The translated label.
|
|
322
|
+
*/
|
|
323
|
+
toggleLabel(): string;
|
|
324
|
+
/**
|
|
325
|
+
* The nested group's remove button accessible label.
|
|
326
|
+
* @returns The translated label.
|
|
327
|
+
*/
|
|
328
|
+
removeGroupLabel(): string;
|
|
329
|
+
/**
|
|
330
|
+
* The nested group's remove button text.
|
|
331
|
+
* @returns The translated text.
|
|
332
|
+
*/
|
|
333
|
+
removeGroupText(): string;
|
|
334
|
+
/**
|
|
335
|
+
* The "Add condition" button text.
|
|
336
|
+
* @returns The translated text.
|
|
337
|
+
*/
|
|
338
|
+
addConditionText(): string;
|
|
339
|
+
/**
|
|
340
|
+
* The "Add group" button text.
|
|
341
|
+
* @returns The translated text.
|
|
342
|
+
*/
|
|
343
|
+
addGroupText(): string;
|
|
344
|
+
/**
|
|
345
|
+
* The field dropdown's accessible label.
|
|
346
|
+
* @returns The translated label.
|
|
347
|
+
*/
|
|
348
|
+
fieldLabel(): string;
|
|
349
|
+
/**
|
|
350
|
+
* The operator dropdown's accessible label.
|
|
351
|
+
* @returns The translated label.
|
|
352
|
+
*/
|
|
353
|
+
operatorLabel(): string;
|
|
354
|
+
/**
|
|
355
|
+
* The value editor's accessible label.
|
|
356
|
+
* @returns The translated label.
|
|
357
|
+
*/
|
|
358
|
+
valueLabel(): string;
|
|
359
|
+
/**
|
|
360
|
+
* The "from" input's accessible label.
|
|
361
|
+
* @returns The translated label.
|
|
362
|
+
*/
|
|
363
|
+
fromLabel(): string;
|
|
364
|
+
/**
|
|
365
|
+
* The "to" input's accessible label.
|
|
366
|
+
* @returns The translated label.
|
|
367
|
+
*/
|
|
368
|
+
toLabel(): string;
|
|
369
|
+
/**
|
|
370
|
+
* The between separator text.
|
|
371
|
+
* @returns The translated separator.
|
|
372
|
+
*/
|
|
373
|
+
separatorText(): string;
|
|
374
|
+
/**
|
|
375
|
+
* The remove-condition button's accessible label.
|
|
376
|
+
* @returns The translated label.
|
|
377
|
+
*/
|
|
378
|
+
removeConditionLabel(): string;
|
|
379
|
+
/**
|
|
380
|
+
* The remove-condition button's text.
|
|
381
|
+
* @returns The translated text.
|
|
382
|
+
*/
|
|
383
|
+
removeConditionText(): string;
|
|
384
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<RuleBuilder, never>;
|
|
385
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<RuleBuilder, "div[mol-rule-builder]", never, { "schema": { "alias": "schema"; "required": false; }; "rules": { "alias": "rules"; "required": false; }; "onChange": { "alias": "onChange"; "required": false; }; "className": { "alias": "className"; "required": false; }; }, {}, never, never, true, never>;
|
|
386
|
+
}
|
|
387
|
+
export {};
|
|
388
|
+
//# sourceMappingURL=rule-builder.component.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"rule-builder.component.d.ts","sourceRoot":"","sources":["../src/rule-builder.component.ts"],"names":[],"mappings":"AAUA,OAAO,KAAK,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