@praxisui/editorial-forms 1.0.0-beta.67 → 1.0.0-beta.68
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 +21 -0
- package/package.json +2 -2
package/README.md
CHANGED
|
@@ -241,6 +241,27 @@ export const appConfig = {
|
|
|
241
241
|
};
|
|
242
242
|
```
|
|
243
243
|
|
|
244
|
+
Important host contract:
|
|
245
|
+
|
|
246
|
+
- the editorial adapter only registers the `dataCollection` renderer; it does not provide `GenericCrudService`
|
|
247
|
+
- if your editorial flow materializes remote `@praxisui/dynamic-form` behavior, the host still owns the same DI contract documented for `praxis-dynamic-form`
|
|
248
|
+
- when the effective form depends on remote schema, `resourcePath`, remote submit, or inherited `endpointKey`, provide `GenericCrudService` in the host scope that renders the runtime and configure that same instance before the form materializes
|
|
249
|
+
|
|
250
|
+
Minimal host example:
|
|
251
|
+
|
|
252
|
+
```ts
|
|
253
|
+
import { GenericCrudService } from '@praxisui/core';
|
|
254
|
+
import { provideEditorialDynamicFormAdapter } from '@praxisui/editorial-forms';
|
|
255
|
+
import { PraxisDynamicForm } from '@praxisui/dynamic-form';
|
|
256
|
+
|
|
257
|
+
export const appConfig = {
|
|
258
|
+
providers: [
|
|
259
|
+
GenericCrudService,
|
|
260
|
+
provideEditorialDynamicFormAdapter({ component: PraxisDynamicForm }),
|
|
261
|
+
],
|
|
262
|
+
};
|
|
263
|
+
```
|
|
264
|
+
|
|
244
265
|
Without this provider, `dataCollection` blocks degrade to an accessible fallback and the runtime keeps exposing the missing-adapter state through snapshot diagnostics and operational events.
|
|
245
266
|
|
|
246
267
|
## Public API highlights
|
package/package.json
CHANGED
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@praxisui/editorial-forms",
|
|
3
|
-
"version": "1.0.0-beta.
|
|
3
|
+
"version": "1.0.0-beta.68",
|
|
4
4
|
"description": "Editorial form runtime for Praxis UI: journeys, presets, semantic blocks, and specialist hosting for editorial experiences.",
|
|
5
5
|
"peerDependencies": {
|
|
6
6
|
"@angular/common": "^20.0.0",
|
|
7
7
|
"@angular/core": "^20.0.0",
|
|
8
|
-
"@praxisui/core": "^1.0.0-beta.
|
|
8
|
+
"@praxisui/core": "^1.0.0-beta.68"
|
|
9
9
|
},
|
|
10
10
|
"dependencies": {
|
|
11
11
|
"tslib": "^2.3.0"
|