@praxisui/dynamic-form 1.0.0-beta.60 → 1.0.0-beta.61
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 +65 -11
- package/fesm2022/praxisui-dynamic-form.mjs +57 -11
- package/fesm2022/praxisui-dynamic-form.mjs.map +1 -1
- package/index.d.ts +6 -4
- package/package.json +7 -7
package/index.d.ts
CHANGED
|
@@ -380,7 +380,7 @@ declare class PraxisDynamicForm implements OnInit, OnChanges, OnDestroy {
|
|
|
380
380
|
resourcePath?: string;
|
|
381
381
|
resourceId?: string | number;
|
|
382
382
|
/**
|
|
383
|
-
* Shared editorial context for widgets hosted
|
|
383
|
+
* Shared editorial context for widgets hosted around the form.
|
|
384
384
|
* Treat this input as immutable: in-place mutations do not invalidate the cached
|
|
385
385
|
* widget context snapshot used to avoid re-binding on every change detection pass.
|
|
386
386
|
*/
|
|
@@ -465,9 +465,9 @@ declare class PraxisDynamicForm implements OnInit, OnChanges, OnDestroy {
|
|
|
465
465
|
}>;
|
|
466
466
|
/** Forwarded from DynamicFieldLoader to allow host-side observability. */
|
|
467
467
|
fieldRenderError: EventEmitter<DynamicFieldRenderErrorEvent>;
|
|
468
|
-
/** Re-emits events from editorial widgets hosted before
|
|
468
|
+
/** Re-emits events from editorial widgets hosted before, before actions, or after the form. */
|
|
469
469
|
widgetEvent: EventEmitter<{
|
|
470
|
-
placement: "before" | "after";
|
|
470
|
+
placement: "before" | "beforeActions" | "after";
|
|
471
471
|
sourceId: string;
|
|
472
472
|
output?: string;
|
|
473
473
|
payload?: any;
|
|
@@ -508,6 +508,8 @@ declare class PraxisDynamicForm implements OnInit, OnChanges, OnDestroy {
|
|
|
508
508
|
private editorialWidgetContextDeps;
|
|
509
509
|
get formBlocksBefore(): WidgetDefinition[];
|
|
510
510
|
get formBlocksAfter(): WidgetDefinition[];
|
|
511
|
+
get formBlocksBeforeActions(): WidgetDefinition[];
|
|
512
|
+
get actionPlacement(): 'insideLastSection' | 'afterSections' | 'top';
|
|
511
513
|
/**
|
|
512
514
|
* Precedence for editorial widget interpolation:
|
|
513
515
|
* 1. form runtime context
|
|
@@ -520,7 +522,7 @@ declare class PraxisDynamicForm implements OnInit, OnChanges, OnDestroy {
|
|
|
520
522
|
* In-place mutations do not invalidate the cached merged context snapshot.
|
|
521
523
|
*/
|
|
522
524
|
getEditorialWidgetContext(): Record<string, unknown>;
|
|
523
|
-
onEditorialWidgetEvent(placement: 'before' | 'after', event: {
|
|
525
|
+
onEditorialWidgetEvent(placement: 'before' | 'beforeActions' | 'after', event: {
|
|
524
526
|
sourceId: string;
|
|
525
527
|
output?: string;
|
|
526
528
|
payload?: any;
|
package/package.json
CHANGED
|
@@ -1,17 +1,17 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@praxisui/dynamic-form",
|
|
3
|
-
"version": "1.0.0-beta.
|
|
3
|
+
"version": "1.0.0-beta.61",
|
|
4
4
|
"description": "Angular dynamic form engine for Praxis UI: metadata-driven forms, hooks, and services integrating @praxisui/* packages.",
|
|
5
5
|
"peerDependencies": {
|
|
6
6
|
"@angular/common": "^20.0.0",
|
|
7
7
|
"@angular/core": "^20.0.0",
|
|
8
8
|
"@angular/cdk": "^20.0.0",
|
|
9
|
-
"@praxisui/settings-panel": "^1.0.0-beta.
|
|
10
|
-
"@praxisui/visual-builder": "^1.0.0-beta.
|
|
11
|
-
"@praxisui/specification-core": "^1.0.0-beta.
|
|
12
|
-
"@praxisui/specification": "^1.0.0-beta.
|
|
13
|
-
"@praxisui/core": "^1.0.0-beta.
|
|
14
|
-
"@praxisui/cron-builder": "^1.0.0-beta.
|
|
9
|
+
"@praxisui/settings-panel": "^1.0.0-beta.61",
|
|
10
|
+
"@praxisui/visual-builder": "^1.0.0-beta.61",
|
|
11
|
+
"@praxisui/specification-core": "^1.0.0-beta.61",
|
|
12
|
+
"@praxisui/specification": "^1.0.0-beta.61",
|
|
13
|
+
"@praxisui/core": "^1.0.0-beta.61",
|
|
14
|
+
"@praxisui/cron-builder": "^1.0.0-beta.61"
|
|
15
15
|
},
|
|
16
16
|
"dependencies": {
|
|
17
17
|
"tslib": "^2.3.0",
|