@praxisui/rich-content 9.0.0-beta.9 → 9.0.0-beta.90
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 +4 -2
- package/ai/component-registry.json +7371 -0
- package/fesm2022/praxisui-rich-content.mjs +749 -22
- package/package.json +7 -3
- package/types/praxisui-rich-content.d.ts +29 -0
package/README.md
CHANGED
|
@@ -19,7 +19,7 @@ npm i @praxisui/rich-content@latest
|
|
|
19
19
|
Peer dependencies:
|
|
20
20
|
|
|
21
21
|
- `@angular/common`, `@angular/core`, `@angular/forms` `^21.0.0`
|
|
22
|
-
- `@praxisui/core` `^9.0.0-beta.
|
|
22
|
+
- `@praxisui/core` `^9.0.0-beta.12`
|
|
23
23
|
- `rxjs` `~7.8.0`
|
|
24
24
|
|
|
25
25
|
## Minimal Renderer
|
|
@@ -123,7 +123,7 @@ The validator rejects unsupported document versions, unknown node types, unsafe
|
|
|
123
123
|
}
|
|
124
124
|
```
|
|
125
125
|
|
|
126
|
-
The editor separates authoring into guided editing, preview and advanced JSON tabs. Guided editing keeps the document structure visible while the selected block
|
|
126
|
+
The editor separates authoring into guided editing, preview and advanced JSON tabs. Guided editing keeps the document structure visible while document-level context (`context.scopes`, `context.aliases`) and the selected block expose focused controls. The advanced data/rule section surfaces canonical bindings and JsonLogic fields (`bindings`, `disabledWhen`, `loadWhen`, `classWhen`, `styleWhen`) as focused JSON editors, validates them before apply/save, and keeps the full document JSON synchronized. Preview renders the materialized document without mixing authoring fields, and advanced JSON remains available for diagnostics, migration and less common deep structures.
|
|
127
127
|
|
|
128
128
|
The editor supports structured block authoring, nested card/timeline/action collections, preset selection, validation badges and advanced JSON for less common deep structures. Labels and validation messages use the rich-content i18n dictionary; override them with `providePraxisRichContentI18n()`.
|
|
129
129
|
|
|
@@ -133,6 +133,8 @@ The editor supports structured block authoring, nested card/timeline/action coll
|
|
|
133
133
|
|
|
134
134
|
Use `PRAXIS_RICH_BLOCK_PRESETS` for host-governed preset registries. `providePraxisDefaultRichBlockPresets()` publishes a small starter set, and component metadata exposes insertion presets for page-builder-style hosts.
|
|
135
135
|
|
|
136
|
+
The component metadata also includes an enterprise `corporate-information-surface` insertion preset for SAP-like record details. It combines record summary, KPIs, dates, currency-like values, notes/lists, progress, timeline, decision package and host-mediated actions using the existing `RichContentDocument` vocabulary.
|
|
137
|
+
|
|
136
138
|
## Public API Snapshot
|
|
137
139
|
|
|
138
140
|
Main exports include `PraxisRichContent`, `PraxisRichContentConfigEditor`, `RichContentPresetRegistryService`, `validateRichContentDocument`, `providePraxisRichContentMetadata`, rich-content i18n helpers, AI capabilities and `PRAXIS_RICH_CONTENT_AUTHORING_MANIFEST`.
|