@mosaicoo/form-angular 0.2.0 → 0.3.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/README.md CHANGED
@@ -39,6 +39,24 @@ export class MyPage {}
39
39
  the form adopts your design system; override `[labels]` and `[messages]`
40
40
  to localize.
41
41
 
42
+ ## Designer
43
+
44
+ Visual authoring ships as a **separate entry point** — apps that only render
45
+ never load it:
46
+
47
+ ```ts
48
+ import { FormDesignerComponent } from '@mosaicoo/form-angular/designer';
49
+ ```
50
+
51
+ ```html
52
+ <mform-designer [source]="definition" (schemaChanged)="save($event)" />
53
+ ```
54
+
55
+ Palette, canvas with selection, structure tree, property inspector,
56
+ undo/redo (Ctrl+Z/Y), duplicate/delete/move, live schema diagnostics,
57
+ import/export and a Preview mode with test data. The host owns persistence:
58
+ `schemaChanged` hands you the versioned schema document.
59
+
42
60
  ## Extending
43
61
 
44
62
  ```ts