@praxisui/visual-builder 10.0.0-rc.4 → 10.0.0-rc.41
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/README.md +23 -0
- package/ai/component-registry.json +2 -2
- package/fesm2022/praxisui-visual-builder.mjs +2265 -1529
- package/package.json +5 -5
- package/types/praxisui-visual-builder.d.ts +46 -13
package/README.md
CHANGED
|
@@ -28,6 +28,29 @@ Visual rule builder for Praxis UI with JSON Logic as the canonical contract, a g
|
|
|
28
28
|
- JSON Logic authoring: visual and manual JSON editing over the canonical runtime contract, without textual DSL fallback
|
|
29
29
|
- Governed authoring: one persisted structure across builder, AI and runtime
|
|
30
30
|
|
|
31
|
+
## Reviewing and replacing rules
|
|
32
|
+
|
|
33
|
+
Wizard review and list summaries show target labels, the condition, and every
|
|
34
|
+
effect in both branches. Boolean choices use localized Yes/No labels. Readable
|
|
35
|
+
conditions preserve operand order and AND/OR grouping; expressions outside that
|
|
36
|
+
vocabulary retain an explicit advanced JSON review path without losing their
|
|
37
|
+
original expression. Structural indicators describe the editor graph; runtime
|
|
38
|
+
validity, access policies and Apply/Save gates belong to the consuming component.
|
|
39
|
+
|
|
40
|
+
`initialRules` also handles external replacements after initialization, including
|
|
41
|
+
same-ID changes and intentional empty input. The initial event contains the
|
|
42
|
+
hydrated document, without a transient empty rule list. Equivalent echoes of the
|
|
43
|
+
current document preserve selection and undo history; input rejected by the importer preserves
|
|
44
|
+
the current draft and reports an import error.
|
|
45
|
+
|
|
46
|
+
`RuleBuilderService.updateNode(nodeId, updates, conditionState?)` accepts the
|
|
47
|
+
existing `RuleBuilderState` as an optional condition draft. A property-rule
|
|
48
|
+
update transfers its complete condition graph atomically, preserving incomplete
|
|
49
|
+
children and ownership boundaries, selection and a single undo snapshot. Complete
|
|
50
|
+
conditions project to JSON Logic; incomplete conditions stay graph drafts and
|
|
51
|
+
must never become unconditional rules. The consuming form retains the last
|
|
52
|
+
accepted configuration and blocks Apply/Save until the draft is repaired.
|
|
53
|
+
|
|
31
54
|
## Installation
|
|
32
55
|
|
|
33
56
|
```bash
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
{
|
|
2
2
|
"schemaVersion": "1.0.0",
|
|
3
|
-
"generatedAt": "2026-10-
|
|
3
|
+
"generatedAt": "2026-10-27T22:14:23.237Z",
|
|
4
4
|
"packageName": "@praxisui/visual-builder",
|
|
5
|
-
"packageVersion": "10.0.0-rc.
|
|
5
|
+
"packageVersion": "10.0.0-rc.41",
|
|
6
6
|
"sourceRegistry": "praxis-component-registry-ingestion",
|
|
7
7
|
"sourceRegistryVersion": "1.0.0",
|
|
8
8
|
"componentCount": 1,
|