@praxisui/dialog 9.0.0-beta.8 → 9.0.0-beta.81

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.
@@ -0,0 +1,1340 @@
1
+ {
2
+ "schemaVersion": "1.0.0",
3
+ "generatedAt": "2026-07-19T23:44:00.907Z",
4
+ "packageName": "@praxisui/dialog",
5
+ "packageVersion": "9.0.0-beta.81",
6
+ "sourceRegistry": "praxis-component-registry-ingestion",
7
+ "sourceRegistryVersion": "1.0.0",
8
+ "componentCount": 1,
9
+ "components": {
10
+ "praxis-dialog": {
11
+ "id": "praxis-dialog",
12
+ "description": "Dialog shell for overlay and embedded authoring, with governed size, position, backdrop, close policy, presets and child host delegation.",
13
+ "inputs": [
14
+ {
15
+ "name": "title",
16
+ "type": "string",
17
+ "required": false,
18
+ "description": "Dialog title text.",
19
+ "label": "Title"
20
+ },
21
+ {
22
+ "name": "actions",
23
+ "type": "DialogAction[]",
24
+ "required": false,
25
+ "description": "Dialog footer actions and payloads.",
26
+ "label": "Actions"
27
+ },
28
+ {
29
+ "name": "actionsLayout",
30
+ "type": "ActionsLayout",
31
+ "required": false,
32
+ "description": "Footer action alignment.",
33
+ "label": "Actions layout"
34
+ },
35
+ {
36
+ "name": "width",
37
+ "type": "string | number",
38
+ "required": false,
39
+ "description": "Dialog width.",
40
+ "label": "Width"
41
+ },
42
+ {
43
+ "name": "height",
44
+ "type": "string | number",
45
+ "required": false,
46
+ "description": "Dialog height.",
47
+ "label": "Height"
48
+ },
49
+ {
50
+ "name": "minWidth",
51
+ "type": "string | number",
52
+ "required": false,
53
+ "description": "Minimum dialog width.",
54
+ "label": "Minimum width"
55
+ },
56
+ {
57
+ "name": "maxWidth",
58
+ "type": "string | number",
59
+ "required": false,
60
+ "description": "Maximum dialog width.",
61
+ "label": "Maximum width"
62
+ },
63
+ {
64
+ "name": "minHeight",
65
+ "type": "string | number",
66
+ "required": false,
67
+ "description": "Minimum dialog height.",
68
+ "label": "Minimum height"
69
+ },
70
+ {
71
+ "name": "maxHeight",
72
+ "type": "string | number",
73
+ "required": false,
74
+ "description": "Maximum dialog height.",
75
+ "label": "Maximum height"
76
+ },
77
+ {
78
+ "name": "themeColor",
79
+ "type": "DialogThemeColor",
80
+ "required": false,
81
+ "description": "Dialog visual theme.",
82
+ "label": "Theme color"
83
+ },
84
+ {
85
+ "name": "disableClose",
86
+ "type": "boolean",
87
+ "required": false,
88
+ "description": "Blocks backdrop and Escape close behavior.",
89
+ "label": "Disable close"
90
+ },
91
+ {
92
+ "name": "hasBackdrop",
93
+ "type": "boolean",
94
+ "required": false,
95
+ "description": "Controls whether the dialog renders a backdrop.",
96
+ "label": "Backdrop"
97
+ },
98
+ {
99
+ "name": "closeOnBackdropClick",
100
+ "type": "boolean",
101
+ "required": false,
102
+ "description": "Controls backdrop click close policy.",
103
+ "label": "Close on backdrop click"
104
+ },
105
+ {
106
+ "name": "panelClass",
107
+ "type": "string | string[] | Record<string, boolean>",
108
+ "required": false,
109
+ "description": "Additional CSS class for the dialog panel.",
110
+ "label": "Panel class"
111
+ },
112
+ {
113
+ "name": "backdropClass",
114
+ "type": "string | string[] | Record<string, boolean>",
115
+ "required": false,
116
+ "description": "Additional CSS class for the backdrop.",
117
+ "label": "Backdrop class"
118
+ },
119
+ {
120
+ "name": "position",
121
+ "type": "PraxisDialogPosition",
122
+ "required": false,
123
+ "description": "Dialog position offsets.",
124
+ "label": "Position"
125
+ },
126
+ {
127
+ "name": "ariaRole",
128
+ "type": "'dialog' | 'alertdialog'",
129
+ "required": false,
130
+ "description": "Accessible dialog role.",
131
+ "label": "ARIA role"
132
+ },
133
+ {
134
+ "name": "ariaLabel",
135
+ "type": "string",
136
+ "required": false,
137
+ "description": "Accessible label when no visible title is present.",
138
+ "label": "ARIA label"
139
+ },
140
+ {
141
+ "name": "ariaLabelledBy",
142
+ "type": "string",
143
+ "required": false,
144
+ "description": "External accessible label id.",
145
+ "label": "ARIA labelled by"
146
+ },
147
+ {
148
+ "name": "ariaDescribedBy",
149
+ "type": "string",
150
+ "required": false,
151
+ "description": "External accessible description id.",
152
+ "label": "ARIA described by"
153
+ }
154
+ ],
155
+ "outputs": [
156
+ {
157
+ "name": "action",
158
+ "type": "DialogAction",
159
+ "required": false,
160
+ "label": "Action"
161
+ },
162
+ {
163
+ "name": "close",
164
+ "type": "unknown",
165
+ "required": false,
166
+ "label": "Close"
167
+ },
168
+ {
169
+ "name": "opened",
170
+ "type": "void",
171
+ "required": false,
172
+ "label": "Opened"
173
+ },
174
+ {
175
+ "name": "afterClosed",
176
+ "type": "void",
177
+ "required": false,
178
+ "label": "After closed"
179
+ }
180
+ ],
181
+ "configSchemaId": null,
182
+ "selector": "praxis-dialog",
183
+ "friendlyName": "Praxis Dialog",
184
+ "icon": "dialogs",
185
+ "tags": [
186
+ "dialog",
187
+ "overlay",
188
+ "shell",
189
+ "authoring"
190
+ ],
191
+ "lib": "@praxisui/dialog",
192
+ "actions": [
193
+ {
194
+ "id": "dialog-open",
195
+ "label": "Open dialog",
196
+ "icon": "open_in_new",
197
+ "description": "Opens a dialog shell with governed config.",
198
+ "scope": "any"
199
+ },
200
+ {
201
+ "id": "dialog-close",
202
+ "label": "Close dialog",
203
+ "icon": "close",
204
+ "description": "Closes the dialog with an optional payload.",
205
+ "emit": "close",
206
+ "scope": "any"
207
+ }
208
+ ],
209
+ "ports": [
210
+ {
211
+ "id": "config",
212
+ "label": "Dialog config",
213
+ "direction": "input",
214
+ "semanticKind": "config-fragment",
215
+ "schema": {
216
+ "id": "PraxisDialogConfig",
217
+ "kind": "ts-type",
218
+ "ref": "PraxisDialogConfig"
219
+ },
220
+ "description": "Dialog shell configuration for title, actions, dimensions, backdrop, close policy and accessibility.",
221
+ "exposure": {
222
+ "public": true,
223
+ "group": "config"
224
+ }
225
+ },
226
+ {
227
+ "id": "close",
228
+ "label": "Close",
229
+ "direction": "output",
230
+ "semanticKind": "event",
231
+ "schema": {
232
+ "id": "unknown",
233
+ "kind": "ts-type",
234
+ "ref": "unknown"
235
+ },
236
+ "cardinality": "stream",
237
+ "description": "Emitted when the dialog shell requests close with an optional result payload.",
238
+ "exposure": {
239
+ "public": true,
240
+ "group": "events"
241
+ }
242
+ },
243
+ {
244
+ "id": "action",
245
+ "label": "Action",
246
+ "direction": "output",
247
+ "semanticKind": "event",
248
+ "schema": {
249
+ "id": "DialogAction",
250
+ "kind": "ts-type",
251
+ "ref": "DialogAction"
252
+ },
253
+ "cardinality": "stream",
254
+ "description": "Emitted when a configured dialog action is triggered.",
255
+ "exposure": {
256
+ "public": true,
257
+ "group": "events"
258
+ }
259
+ }
260
+ ],
261
+ "source": "projects/praxis-dialog/src/lib/praxis-dialog.metadata.ts",
262
+ "exportName": "PRAXIS_DIALOG_COMPONENT_METADATA",
263
+ "authoringManifest": {
264
+ "schemaVersion": "1.0.0",
265
+ "componentId": "praxis-dialog",
266
+ "ownerPackage": "@praxisui/dialog",
267
+ "configSchemaId": "PraxisDialogConfig",
268
+ "manifestVersion": "1.0.0",
269
+ "runtimeInputs": [
270
+ {
271
+ "name": "config",
272
+ "type": "PraxisDialogConfig",
273
+ "description": "Canonical shell configuration consumed by PraxisDialog.open and tag mode."
274
+ },
275
+ {
276
+ "name": "content",
277
+ "type": "ComponentType | TemplateRef | DialogContentDescriptor",
278
+ "description": "Dialog child host content. Child semantics remain owned by the child component manifest."
279
+ },
280
+ {
281
+ "name": "variant",
282
+ "type": "string",
283
+ "description": "Optional global preset variant merged after dialog type presets and before local config."
284
+ },
285
+ {
286
+ "name": "componentId",
287
+ "type": "string",
288
+ "description": "Component metadata or dialog registry id used by global dialog open actions."
289
+ },
290
+ {
291
+ "name": "inputs",
292
+ "type": "Record<string, unknown>",
293
+ "description": "Inputs applied to the child component after opening the dialog."
294
+ }
295
+ ],
296
+ "editableTargets": [
297
+ {
298
+ "kind": "dialogShell",
299
+ "resolver": "praxis-dialog-config-root",
300
+ "description": "Top-level PraxisDialogConfig shell fields such as title, role, actions and theme."
301
+ },
302
+ {
303
+ "kind": "size",
304
+ "resolver": "praxis-dialog-size-fields",
305
+ "description": "Width, height, min/max size fields on PraxisDialogConfig."
306
+ },
307
+ {
308
+ "kind": "position",
309
+ "resolver": "praxis-dialog-position-fields",
310
+ "description": "Overlay position fields top, bottom, left and right."
311
+ },
312
+ {
313
+ "kind": "backdrop",
314
+ "resolver": "praxis-dialog-backdrop-fields",
315
+ "description": "Backdrop enablement and backdrop class semantics."
316
+ },
317
+ {
318
+ "kind": "closePolicy",
319
+ "resolver": "praxis-dialog-close-policy-fields",
320
+ "description": "disableClose, closeOnBackdropClick, closeOnNavigation, restoreFocus and autofocus behavior."
321
+ },
322
+ {
323
+ "kind": "preset",
324
+ "resolver": "praxis-dialog-global-preset-by-type-variant",
325
+ "description": "Type and variant presets merged through PRAXIS_DIALOG_GLOBAL_PRESETS."
326
+ },
327
+ {
328
+ "kind": "childHost",
329
+ "resolver": "praxis-dialog-child-component-or-template-host",
330
+ "description": "Component/template registry child host and input/data envelope."
331
+ }
332
+ ],
333
+ "operations": [
334
+ {
335
+ "operationId": "dialog.shell.set",
336
+ "title": "Set dialog shell fields",
337
+ "scope": "global",
338
+ "targetKind": "dialogShell",
339
+ "target": {
340
+ "kind": "dialogShell",
341
+ "resolver": "praxis-dialog-config-root",
342
+ "ambiguityPolicy": "fail",
343
+ "required": false
344
+ },
345
+ "inputSchema": {
346
+ "type": "object",
347
+ "minProperties": 1,
348
+ "properties": {
349
+ "title": {
350
+ "type": "string"
351
+ },
352
+ "titleIcon": {
353
+ "type": "string"
354
+ },
355
+ "ariaRole": {
356
+ "enum": [
357
+ "dialog",
358
+ "alertdialog"
359
+ ]
360
+ },
361
+ "ariaLabel": {
362
+ "type": "string"
363
+ },
364
+ "ariaLabelledBy": {
365
+ "type": "string"
366
+ },
367
+ "ariaDescribedBy": {
368
+ "type": "string"
369
+ },
370
+ "themeColor": {
371
+ "enum": [
372
+ "primary",
373
+ "light",
374
+ "dark"
375
+ ]
376
+ },
377
+ "actionsLayout": {
378
+ "enum": [
379
+ "start",
380
+ "center",
381
+ "end",
382
+ "stretched"
383
+ ]
384
+ }
385
+ }
386
+ },
387
+ "effects": [
388
+ {
389
+ "kind": "merge-object",
390
+ "path": "config"
391
+ }
392
+ ],
393
+ "destructive": false,
394
+ "requiresConfirmation": false,
395
+ "validators": [
396
+ "accessibility-label-preserved",
397
+ "aria-role-valid",
398
+ "shell-fields-supported",
399
+ "dialog-round-trip"
400
+ ],
401
+ "affectedPaths": [
402
+ "config.title",
403
+ "config.titleIcon",
404
+ "config.ariaRole",
405
+ "config.ariaLabel",
406
+ "config.ariaLabelledBy",
407
+ "config.ariaDescribedBy",
408
+ "config.themeColor",
409
+ "config.actionsLayout"
410
+ ],
411
+ "submissionImpact": "config-only",
412
+ "preconditions": [
413
+ "config-initialized"
414
+ ]
415
+ },
416
+ {
417
+ "operationId": "dialog.size.set",
418
+ "title": "Set dialog size",
419
+ "scope": "layout",
420
+ "targetKind": "size",
421
+ "target": {
422
+ "kind": "size",
423
+ "resolver": "praxis-dialog-size-fields",
424
+ "ambiguityPolicy": "fail",
425
+ "required": false
426
+ },
427
+ "inputSchema": {
428
+ "type": "object",
429
+ "minProperties": 1,
430
+ "properties": {
431
+ "width": {
432
+ "oneOf": [
433
+ {
434
+ "type": "string"
435
+ },
436
+ {
437
+ "type": "number"
438
+ }
439
+ ]
440
+ },
441
+ "height": {
442
+ "oneOf": [
443
+ {
444
+ "type": "string"
445
+ },
446
+ {
447
+ "type": "number"
448
+ }
449
+ ]
450
+ },
451
+ "minWidth": {
452
+ "oneOf": [
453
+ {
454
+ "type": "string"
455
+ },
456
+ {
457
+ "type": "number"
458
+ }
459
+ ]
460
+ },
461
+ "maxWidth": {
462
+ "oneOf": [
463
+ {
464
+ "type": "string"
465
+ },
466
+ {
467
+ "type": "number"
468
+ }
469
+ ]
470
+ },
471
+ "minHeight": {
472
+ "oneOf": [
473
+ {
474
+ "type": "string"
475
+ },
476
+ {
477
+ "type": "number"
478
+ }
479
+ ]
480
+ },
481
+ "maxHeight": {
482
+ "oneOf": [
483
+ {
484
+ "type": "string"
485
+ },
486
+ {
487
+ "type": "number"
488
+ }
489
+ ]
490
+ }
491
+ }
492
+ },
493
+ "effects": [
494
+ {
495
+ "kind": "merge-object",
496
+ "path": "config"
497
+ }
498
+ ],
499
+ "destructive": false,
500
+ "requiresConfirmation": false,
501
+ "validators": [
502
+ "size-values-safe",
503
+ "size-min-max-consistent",
504
+ "dialog-round-trip"
505
+ ],
506
+ "affectedPaths": [
507
+ "config.width",
508
+ "config.height",
509
+ "config.minWidth",
510
+ "config.maxWidth",
511
+ "config.minHeight",
512
+ "config.maxHeight"
513
+ ],
514
+ "submissionImpact": "visual-only",
515
+ "preconditions": [
516
+ "config-initialized"
517
+ ]
518
+ },
519
+ {
520
+ "operationId": "dialog.position.set",
521
+ "title": "Set dialog position",
522
+ "scope": "layout",
523
+ "targetKind": "position",
524
+ "target": {
525
+ "kind": "position",
526
+ "resolver": "praxis-dialog-position-fields",
527
+ "ambiguityPolicy": "fail",
528
+ "required": false
529
+ },
530
+ "inputSchema": {
531
+ "type": "object",
532
+ "minProperties": 1,
533
+ "properties": {
534
+ "top": {
535
+ "type": "string"
536
+ },
537
+ "bottom": {
538
+ "type": "string"
539
+ },
540
+ "left": {
541
+ "type": "string"
542
+ },
543
+ "right": {
544
+ "type": "string"
545
+ }
546
+ }
547
+ },
548
+ "effects": [
549
+ {
550
+ "kind": "set-value",
551
+ "path": "config.position"
552
+ }
553
+ ],
554
+ "destructive": false,
555
+ "requiresConfirmation": false,
556
+ "validators": [
557
+ "position-values-safe",
558
+ "position-not-conflicting",
559
+ "dialog-round-trip"
560
+ ],
561
+ "affectedPaths": [
562
+ "config.position"
563
+ ],
564
+ "submissionImpact": "visual-only",
565
+ "preconditions": [
566
+ "config-initialized"
567
+ ]
568
+ },
569
+ {
570
+ "operationId": "dialog.backdrop.set",
571
+ "title": "Set dialog backdrop",
572
+ "scope": "skin",
573
+ "targetKind": "backdrop",
574
+ "target": {
575
+ "kind": "backdrop",
576
+ "resolver": "praxis-dialog-backdrop-fields",
577
+ "ambiguityPolicy": "fail",
578
+ "required": false
579
+ },
580
+ "inputSchema": {
581
+ "type": "object",
582
+ "minProperties": 1,
583
+ "properties": {
584
+ "hasBackdrop": {
585
+ "type": "boolean"
586
+ },
587
+ "backdropClass": {
588
+ "oneOf": [
589
+ {
590
+ "type": "string"
591
+ },
592
+ {
593
+ "type": "array"
594
+ },
595
+ {
596
+ "type": "object"
597
+ }
598
+ ]
599
+ }
600
+ }
601
+ },
602
+ "effects": [
603
+ {
604
+ "kind": "merge-object",
605
+ "path": "config"
606
+ }
607
+ ],
608
+ "destructive": false,
609
+ "requiresConfirmation": false,
610
+ "validators": [
611
+ "backdrop-policy-explicit",
612
+ "backdrop-class-safe",
613
+ "dialog-round-trip"
614
+ ],
615
+ "affectedPaths": [
616
+ "config.hasBackdrop",
617
+ "config.backdropClass"
618
+ ],
619
+ "submissionImpact": "visual-only",
620
+ "preconditions": [
621
+ "config-initialized"
622
+ ]
623
+ },
624
+ {
625
+ "operationId": "dialog.closePolicy.set",
626
+ "title": "Set dialog close policy",
627
+ "scope": "accessibility",
628
+ "targetKind": "closePolicy",
629
+ "target": {
630
+ "kind": "closePolicy",
631
+ "resolver": "praxis-dialog-close-policy-fields",
632
+ "ambiguityPolicy": "fail",
633
+ "required": false
634
+ },
635
+ "inputSchema": {
636
+ "type": "object",
637
+ "minProperties": 1,
638
+ "properties": {
639
+ "disableClose": {
640
+ "type": "boolean"
641
+ },
642
+ "closeOnBackdropClick": {
643
+ "type": "boolean"
644
+ },
645
+ "closeOnNavigation": {
646
+ "type": "boolean"
647
+ },
648
+ "restoreFocus": {
649
+ "type": "boolean"
650
+ },
651
+ "autoFocus": {
652
+ "type": "boolean"
653
+ },
654
+ "autoFocusedElement": {
655
+ "type": "string"
656
+ }
657
+ }
658
+ },
659
+ "effects": [
660
+ {
661
+ "kind": "merge-object",
662
+ "path": "config"
663
+ }
664
+ ],
665
+ "destructive": true,
666
+ "requiresConfirmation": true,
667
+ "validators": [
668
+ "close-policy-explicit",
669
+ "unsafe-close-confirmed-when-needed",
670
+ "restore-focus-preserved",
671
+ "alertdialog-focus-preserved",
672
+ "dialog-round-trip"
673
+ ],
674
+ "affectedPaths": [
675
+ "config.disableClose",
676
+ "config.closeOnBackdropClick",
677
+ "config.closeOnNavigation",
678
+ "config.restoreFocus",
679
+ "config.autoFocus",
680
+ "config.autoFocusedElement"
681
+ ],
682
+ "submissionImpact": "config-only",
683
+ "preconditions": [
684
+ "config-initialized",
685
+ "confirmation-collected"
686
+ ]
687
+ },
688
+ {
689
+ "operationId": "dialog.preset.apply",
690
+ "title": "Apply dialog preset",
691
+ "scope": "global",
692
+ "targetKind": "preset",
693
+ "target": {
694
+ "kind": "preset",
695
+ "resolver": "praxis-dialog-global-preset-by-type-variant",
696
+ "ambiguityPolicy": "fail",
697
+ "required": false
698
+ },
699
+ "inputSchema": {
700
+ "type": "object",
701
+ "required": [
702
+ "dialogType"
703
+ ],
704
+ "properties": {
705
+ "dialogType": {
706
+ "enum": [
707
+ "confirm",
708
+ "alert",
709
+ "prompt",
710
+ "custom"
711
+ ]
712
+ },
713
+ "variant": {
714
+ "type": "string"
715
+ },
716
+ "localConfig": {
717
+ "type": "object"
718
+ }
719
+ }
720
+ },
721
+ "effects": [
722
+ {
723
+ "kind": "compile-domain-patch",
724
+ "handler": "dialog-preset-apply",
725
+ "handlerContract": {
726
+ "reads": [
727
+ "PRAXIS_DIALOG_GLOBAL_PRESETS",
728
+ "config",
729
+ "variant"
730
+ ],
731
+ "writes": [
732
+ "config",
733
+ "variant"
734
+ ],
735
+ "identityKeys": [
736
+ "dialogType",
737
+ "variant"
738
+ ],
739
+ "inputSchema": {
740
+ "type": "object",
741
+ "required": [
742
+ "dialogType"
743
+ ],
744
+ "properties": {
745
+ "dialogType": {
746
+ "enum": [
747
+ "confirm",
748
+ "alert",
749
+ "prompt",
750
+ "custom"
751
+ ]
752
+ },
753
+ "variant": {
754
+ "type": "string"
755
+ },
756
+ "localConfig": {
757
+ "type": "object"
758
+ }
759
+ }
760
+ },
761
+ "failureModes": [
762
+ "preset-not-found",
763
+ "variant-not-found",
764
+ "preset-merge-order-invalid",
765
+ "accessibility-regression"
766
+ ],
767
+ "description": "Applies the canonical merge order type preset -> variant -> local config without mutating child component semantics."
768
+ }
769
+ }
770
+ ],
771
+ "destructive": false,
772
+ "requiresConfirmation": false,
773
+ "validators": [
774
+ "preset-exists",
775
+ "preset-merge-order-preserved",
776
+ "accessibility-label-preserved",
777
+ "dialog-round-trip"
778
+ ],
779
+ "affectedPaths": [
780
+ "config",
781
+ "variant"
782
+ ],
783
+ "submissionImpact": "config-only",
784
+ "preconditions": [
785
+ "config-initialized"
786
+ ]
787
+ },
788
+ {
789
+ "operationId": "childHost.configure",
790
+ "title": "Configure dialog child host",
791
+ "scope": "templating",
792
+ "targetKind": "childHost",
793
+ "target": {
794
+ "kind": "childHost",
795
+ "resolver": "praxis-dialog-child-component-or-template-host",
796
+ "ambiguityPolicy": "fail",
797
+ "required": false
798
+ },
799
+ "inputSchema": {
800
+ "type": "object",
801
+ "required": [
802
+ "contentType"
803
+ ],
804
+ "properties": {
805
+ "contentType": {
806
+ "enum": [
807
+ "component",
808
+ "template"
809
+ ]
810
+ },
811
+ "componentId": {
812
+ "type": "string"
813
+ },
814
+ "templateId": {
815
+ "type": "string"
816
+ },
817
+ "inputs": {
818
+ "type": "object"
819
+ },
820
+ "data": {},
821
+ "childManifestComponentId": {
822
+ "type": "string"
823
+ }
824
+ }
825
+ },
826
+ "effects": [
827
+ {
828
+ "kind": "compile-domain-patch",
829
+ "handler": "dialog-child-host-configure",
830
+ "handlerContract": {
831
+ "reads": [
832
+ "ComponentMetadataRegistry",
833
+ "PRAXIS_DIALOG_CONTENT_REGISTRY",
834
+ "PRAXIS_DIALOG_TEMPLATE_REGISTRY",
835
+ "content",
836
+ "componentId",
837
+ "inputs",
838
+ "data"
839
+ ],
840
+ "writes": [
841
+ "content",
842
+ "componentId",
843
+ "inputs",
844
+ "data"
845
+ ],
846
+ "identityKeys": [
847
+ "componentId",
848
+ "templateId"
849
+ ],
850
+ "failureModes": [
851
+ "component-not-registered",
852
+ "template-not-registered",
853
+ "child-inputs-not-serializable",
854
+ "child-manifest-required"
855
+ ],
856
+ "description": "Configures which component/template is hosted in the dialog and serializable host inputs; child config fields remain delegated to the child manifest."
857
+ }
858
+ }
859
+ ],
860
+ "destructive": false,
861
+ "requiresConfirmation": false,
862
+ "validators": [
863
+ "child-host-registered",
864
+ "child-config-delegates-to-child-manifest",
865
+ "child-inputs-serializable",
866
+ "dialog-round-trip"
867
+ ],
868
+ "affectedPaths": [
869
+ "content",
870
+ "componentId",
871
+ "inputs",
872
+ "data"
873
+ ],
874
+ "submissionImpact": "config-only",
875
+ "preconditions": [
876
+ "config-initialized"
877
+ ]
878
+ },
879
+ {
880
+ "operationId": "childOperation.delegate",
881
+ "title": "Delegate operation to child manifest",
882
+ "scope": "templating",
883
+ "targetKind": "childHost",
884
+ "target": {
885
+ "kind": "childHost",
886
+ "resolver": "praxis-dialog-child-component-or-template-host",
887
+ "ambiguityPolicy": "fail",
888
+ "required": true
889
+ },
890
+ "inputSchema": {
891
+ "type": "object",
892
+ "required": [
893
+ "childManifestComponentId",
894
+ "operationId",
895
+ "params"
896
+ ],
897
+ "properties": {
898
+ "childManifestComponentId": {
899
+ "type": "string"
900
+ },
901
+ "operationId": {
902
+ "type": "string"
903
+ },
904
+ "target": {
905
+ "type": "string"
906
+ },
907
+ "params": {
908
+ "type": "object"
909
+ }
910
+ }
911
+ },
912
+ "effects": [
913
+ {
914
+ "kind": "compile-domain-patch",
915
+ "handler": "dialog-child-operation-delegate",
916
+ "handlerContract": {
917
+ "reads": [
918
+ "childManifestComponentId",
919
+ "operationId",
920
+ "params",
921
+ "componentRegistry.authoringManifest"
922
+ ],
923
+ "writes": [
924
+ "inputs",
925
+ "data"
926
+ ],
927
+ "identityKeys": [
928
+ "childManifestComponentId",
929
+ "operationId"
930
+ ],
931
+ "inputSchema": {
932
+ "type": "object",
933
+ "required": [
934
+ "childManifestComponentId",
935
+ "operationId",
936
+ "params"
937
+ ],
938
+ "properties": {
939
+ "childManifestComponentId": {
940
+ "type": "string"
941
+ },
942
+ "operationId": {
943
+ "type": "string"
944
+ },
945
+ "target": {
946
+ "type": "string"
947
+ },
948
+ "params": {
949
+ "type": "object"
950
+ }
951
+ }
952
+ },
953
+ "failureModes": [
954
+ "child-manifest-not-found",
955
+ "child-operation-not-authorized",
956
+ "child-operation-validation-failed",
957
+ "dialog-shell-child-boundary-violation"
958
+ ],
959
+ "description": "Delegates child component configuration edits to the child authoring manifest before projecting the validated patch into the dialog child host inputs/data envelope."
960
+ }
961
+ }
962
+ ],
963
+ "destructive": false,
964
+ "requiresConfirmation": false,
965
+ "validators": [
966
+ "child-manifest-resolvable",
967
+ "child-operation-authorized",
968
+ "child-config-delegates-to-child-manifest",
969
+ "dialog-shell-boundary-preserved"
970
+ ],
971
+ "affectedPaths": [
972
+ "inputs",
973
+ "data"
974
+ ],
975
+ "submissionImpact": "config-only",
976
+ "preconditions": [
977
+ "child-host-configured",
978
+ "child-manifest-resolved"
979
+ ]
980
+ }
981
+ ],
982
+ "validators": [
983
+ {
984
+ "validatorId": "accessibility-label-preserved",
985
+ "level": "error",
986
+ "code": "DIALOG_ACCESSIBILITY_LABEL_PRESERVED",
987
+ "description": "Dialog or alertdialog must keep an accessible title or aria label."
988
+ },
989
+ {
990
+ "validatorId": "aria-role-valid",
991
+ "level": "error",
992
+ "code": "DIALOG_ARIA_ROLE_VALID",
993
+ "description": "ariaRole must be dialog or alertdialog."
994
+ },
995
+ {
996
+ "validatorId": "shell-fields-supported",
997
+ "level": "error",
998
+ "code": "DIALOG_SHELL_FIELDS_SUPPORTED",
999
+ "description": "Shell edits must target supported PraxisDialogConfig fields."
1000
+ },
1001
+ {
1002
+ "validatorId": "size-values-safe",
1003
+ "level": "error",
1004
+ "code": "DIALOG_SIZE_VALUES_SAFE",
1005
+ "description": "Size values must be finite numbers or safe CSS size strings."
1006
+ },
1007
+ {
1008
+ "validatorId": "size-min-max-consistent",
1009
+ "level": "error",
1010
+ "code": "DIALOG_SIZE_MIN_MAX_CONSISTENT",
1011
+ "description": "Minimum sizes must not exceed maximum sizes."
1012
+ },
1013
+ {
1014
+ "validatorId": "position-values-safe",
1015
+ "level": "error",
1016
+ "code": "DIALOG_POSITION_VALUES_SAFE",
1017
+ "description": "Position values must be safe CSS size strings."
1018
+ },
1019
+ {
1020
+ "validatorId": "position-not-conflicting",
1021
+ "level": "warning",
1022
+ "code": "DIALOG_POSITION_NOT_CONFLICTING",
1023
+ "description": "Conflicting position pairs should be explicit and intentional."
1024
+ },
1025
+ {
1026
+ "validatorId": "backdrop-policy-explicit",
1027
+ "level": "error",
1028
+ "code": "DIALOG_BACKDROP_POLICY_EXPLICIT",
1029
+ "description": "Backdrop and backdrop-click behavior must be explicit when edited."
1030
+ },
1031
+ {
1032
+ "validatorId": "backdrop-class-safe",
1033
+ "level": "error",
1034
+ "code": "DIALOG_BACKDROP_CLASS_SAFE",
1035
+ "description": "Backdrop classes must be serializable safe class values."
1036
+ },
1037
+ {
1038
+ "validatorId": "close-policy-explicit",
1039
+ "level": "error",
1040
+ "code": "DIALOG_CLOSE_POLICY_EXPLICIT",
1041
+ "description": "Close behavior must explicitly describe ESC, backdrop and navigation semantics."
1042
+ },
1043
+ {
1044
+ "validatorId": "unsafe-close-confirmed-when-needed",
1045
+ "level": "error",
1046
+ "code": "DIALOG_UNSAFE_CLOSE_CONFIRMED",
1047
+ "description": "Disabling safe close affordances or enabling unsafe dismissal requires confirmation."
1048
+ },
1049
+ {
1050
+ "validatorId": "restore-focus-preserved",
1051
+ "level": "error",
1052
+ "code": "DIALOG_RESTORE_FOCUS_PRESERVED",
1053
+ "description": "restoreFocus must stay enabled unless intentionally changed with confirmation."
1054
+ },
1055
+ {
1056
+ "validatorId": "alertdialog-focus-preserved",
1057
+ "level": "error",
1058
+ "code": "DIALOG_ALERTDIALOG_FOCUS_PRESERVED",
1059
+ "description": "alertdialog focus behavior must keep primary action or configured focus target reachable."
1060
+ },
1061
+ {
1062
+ "validatorId": "preset-exists",
1063
+ "level": "error",
1064
+ "code": "DIALOG_PRESET_EXISTS",
1065
+ "description": "Preset type and variant must exist in PRAXIS_DIALOG_GLOBAL_PRESETS or be host-provided."
1066
+ },
1067
+ {
1068
+ "validatorId": "preset-merge-order-preserved",
1069
+ "level": "error",
1070
+ "code": "DIALOG_PRESET_MERGE_ORDER_PRESERVED",
1071
+ "description": "Preset merge order must remain type -> variant -> local config."
1072
+ },
1073
+ {
1074
+ "validatorId": "child-host-registered",
1075
+ "level": "error",
1076
+ "code": "DIALOG_CHILD_HOST_REGISTERED",
1077
+ "description": "Child component/template must resolve through ComponentMetadataRegistry or dialog registries."
1078
+ },
1079
+ {
1080
+ "validatorId": "child-config-delegates-to-child-manifest",
1081
+ "level": "error",
1082
+ "code": "DIALOG_CHILD_CONFIG_DELEGATES",
1083
+ "description": "Child component config edits must be delegated to the child authoring manifest."
1084
+ },
1085
+ {
1086
+ "validatorId": "child-inputs-serializable",
1087
+ "level": "error",
1088
+ "code": "DIALOG_CHILD_INPUTS_SERIALIZABLE",
1089
+ "description": "Child inputs/data persisted by authoring must be serializable safe values."
1090
+ },
1091
+ {
1092
+ "validatorId": "child-manifest-resolvable",
1093
+ "level": "error",
1094
+ "code": "DIALOG_CHILD_MANIFEST_RESOLVABLE",
1095
+ "description": "Delegated child operation must resolve a child component authoring manifest."
1096
+ },
1097
+ {
1098
+ "validatorId": "child-operation-authorized",
1099
+ "level": "error",
1100
+ "code": "DIALOG_CHILD_OPERATION_AUTHORIZED",
1101
+ "description": "Delegated child operation must be declared by the child manifest."
1102
+ },
1103
+ {
1104
+ "validatorId": "dialog-shell-boundary-preserved",
1105
+ "level": "error",
1106
+ "code": "DIALOG_SHELL_BOUNDARY_PRESERVED",
1107
+ "description": "Dialog shell operations must not rewrite child component semantics directly."
1108
+ },
1109
+ {
1110
+ "validatorId": "dialog-round-trip",
1111
+ "level": "error",
1112
+ "code": "DIALOG_ROUND_TRIP",
1113
+ "description": "Service/tag mode must preserve shell config through open, close, afterClosed and host persistence."
1114
+ }
1115
+ ],
1116
+ "roundTripRequirements": [
1117
+ "PraxisDialogConfig is the canonical shell config; child component config remains owned by the child manifest.",
1118
+ "Preset application must preserve merge order: type preset, then variant, then local config.",
1119
+ "Close policy edits must keep accessibility, focus trap, ESC/backdrop behavior and restoreFocus explicit.",
1120
+ "Dialog host operations must resolve component/template ids through governed registries instead of ad hoc overlays."
1121
+ ],
1122
+ "examples": [
1123
+ {
1124
+ "id": "set-size",
1125
+ "request": "Open this dialog at 860 by 640 pixels.",
1126
+ "operationId": "dialog.size.set",
1127
+ "params": {
1128
+ "width": "860px",
1129
+ "height": "640px"
1130
+ },
1131
+ "isPositive": true
1132
+ },
1133
+ {
1134
+ "id": "set-position",
1135
+ "request": "Anchor the dialog to the right side.",
1136
+ "operationId": "dialog.position.set",
1137
+ "params": {
1138
+ "right": "24px",
1139
+ "top": "64px"
1140
+ },
1141
+ "isPositive": true
1142
+ },
1143
+ {
1144
+ "id": "set-backdrop",
1145
+ "request": "Use a backdrop with the default governed backdrop class.",
1146
+ "operationId": "dialog.backdrop.set",
1147
+ "params": {
1148
+ "hasBackdrop": true,
1149
+ "backdropClass": "pdx-dialog-backdrop"
1150
+ },
1151
+ "isPositive": true
1152
+ },
1153
+ {
1154
+ "id": "set-close-policy",
1155
+ "request": "Make this destructive confirm require explicit button close.",
1156
+ "operationId": "dialog.closePolicy.set",
1157
+ "params": {
1158
+ "disableClose": true,
1159
+ "closeOnBackdropClick": false,
1160
+ "restoreFocus": true
1161
+ },
1162
+ "isPositive": true
1163
+ },
1164
+ {
1165
+ "id": "apply-danger-preset",
1166
+ "request": "Apply the danger confirm preset.",
1167
+ "operationId": "dialog.preset.apply",
1168
+ "params": {
1169
+ "dialogType": "confirm",
1170
+ "variant": "danger"
1171
+ },
1172
+ "isPositive": true
1173
+ },
1174
+ {
1175
+ "id": "configure-child-host",
1176
+ "request": "Host the dynamic page component with customization enabled.",
1177
+ "operationId": "childHost.configure",
1178
+ "params": {
1179
+ "contentType": "component",
1180
+ "componentId": "praxis-dynamic-page",
1181
+ "inputs": {
1182
+ "enableCustomization": true
1183
+ }
1184
+ },
1185
+ "isPositive": true
1186
+ },
1187
+ {
1188
+ "id": "delegate-child-config",
1189
+ "request": "Change the table column inside the dialog.",
1190
+ "operationId": "childOperation.delegate",
1191
+ "params": {
1192
+ "childManifestComponentId": "praxis-table",
1193
+ "operationId": "column.label.set",
1194
+ "params": {
1195
+ "field": "name",
1196
+ "label": "Name"
1197
+ }
1198
+ },
1199
+ "isPositive": true
1200
+ },
1201
+ {
1202
+ "id": "set-shell-label",
1203
+ "request": "Set the dialog title and alertdialog role.",
1204
+ "operationId": "dialog.shell.set",
1205
+ "params": {
1206
+ "title": "Delete record",
1207
+ "ariaRole": "alertdialog"
1208
+ },
1209
+ "isPositive": true
1210
+ },
1211
+ {
1212
+ "id": "reject-child-shell-mix",
1213
+ "request": "Directly patch the child table config from the dialog shell manifest.",
1214
+ "operationId": "childOperation.delegate",
1215
+ "params": {
1216
+ "childManifestComponentId": "",
1217
+ "operationId": "patch-raw-child-config",
1218
+ "params": {}
1219
+ },
1220
+ "isPositive": false
1221
+ },
1222
+ {
1223
+ "id": "reject-inaccessible-alert",
1224
+ "request": "Make an alertdialog with no title or aria label.",
1225
+ "operationId": "dialog.shell.set",
1226
+ "params": {
1227
+ "ariaRole": "alertdialog",
1228
+ "title": ""
1229
+ },
1230
+ "isPositive": false
1231
+ },
1232
+ {
1233
+ "id": "reject-unsafe-close",
1234
+ "request": "Let a destructive dialog close on accidental backdrop click with no confirmation.",
1235
+ "operationId": "dialog.closePolicy.set",
1236
+ "params": {
1237
+ "closeOnBackdropClick": true,
1238
+ "disableClose": false,
1239
+ "restoreFocus": false
1240
+ },
1241
+ "isPositive": false
1242
+ }
1243
+ ]
1244
+ },
1245
+ "chunks": [
1246
+ {
1247
+ "chunkIndex": 0,
1248
+ "chunkKind": "summary",
1249
+ "content": "Component ID: praxis-dialog\nSelector: praxis-dialog\nFriendly Name: Praxis Dialog\nDescription: Dialog shell for overlay and embedded authoring, with governed size, position, backdrop, close policy, presets and child host delegation.\nLib/Package: @praxisui/dialog\nTags: dialog, overlay, shell, authoring\nInputs:\n - title (string)\n - actions (DialogAction[])\n - actionsLayout (ActionsLayout)\n - width (string | number)\n - height (string | number)\n - minWidth (string | number)\n - maxWidth (string | number)\n - minHeight (string | number)\n - maxHeight (string | number)\n - themeColor (DialogThemeColor)\n - disableClose (boolean)\n - hasBackdrop (boolean)\n - closeOnBackdropClick (boolean)\n - panelClass (string | string[] | Record<string, boolean>)\n - backdropClass (string | string[] | Record<string, boolean>)\n - position (PraxisDialogPosition)\n - ariaRole ('dialog' | 'alertdialog')\n - ariaLabel (string)\n - ariaLabelledBy (string)\n - ariaDescribedBy (string)\nOutputs:\n - action (DialogAction)\n - close (unknown)\n - opened (void)\n - afterClosed (void)\n",
1250
+ "sourcePointer": "projects/praxis-dialog/src/lib/praxis-dialog.metadata.ts",
1251
+ "contentHash": "31805c5f46dec3934066a5cc7fabeaefe3c437478999140b23b94524447df209",
1252
+ "sourceKind": "component_definition",
1253
+ "sourceId": "praxis-dialog",
1254
+ "corpusVersion": "1.0.0"
1255
+ },
1256
+ {
1257
+ "chunkIndex": 1,
1258
+ "chunkKind": "authoring_manifest",
1259
+ "content": "{\"schemaVersion\":\"1.0.0\",\"manifestVersion\":\"1.0.0\",\"componentId\":\"praxis-dialog\",\"ownerPackage\":\"@praxisui/dialog\",\"configSchemaId\":\"PraxisDialogConfig\",\"chunkSection\":\"identity\"}",
1260
+ "sourcePointer": "projects/praxis-dialog/src/lib/ai/praxis-dialog-authoring-manifest.ts",
1261
+ "contentHash": "5a44d453324eed77cd1b2e5d642585f13254a79d9520e3d8b2c9c6a30ca805db",
1262
+ "sourceKind": "component_definition",
1263
+ "sourceId": "praxis-dialog",
1264
+ "corpusVersion": "1.0.0"
1265
+ },
1266
+ {
1267
+ "chunkIndex": 2,
1268
+ "chunkKind": "authoring_manifest",
1269
+ "content": "{\"schemaVersion\":\"1.0.0\",\"manifestVersion\":\"1.0.0\",\"componentId\":\"praxis-dialog\",\"ownerPackage\":\"@praxisui/dialog\",\"configSchemaId\":\"PraxisDialogConfig\",\"chunkSection\":\"runtimeInputs\",\"runtimeInputs\":[{\"name\":\"config\",\"type\":\"PraxisDialogConfig\",\"description\":\"Canonical shell configuration consumed by PraxisDialog.open and tag mode.\"},{\"name\":\"content\",\"type\":\"ComponentType | TemplateRef | DialogContentDescriptor\",\"description\":\"Dialog child host content. Child semantics remain owned by the child component manifest.\"},{\"name\":\"variant\",\"type\":\"string\",\"description\":\"Optional global preset variant merged after dialog type presets and before local config.\"},{\"name\":\"componentId\",\"type\":\"string\",\"description\":\"Component metadata or dialog registry id used by global dialog open actions.\"},{\"name\":\"inputs\",\"type\":\"Record<string, unknown>\",\"description\":\"Inputs applied to the child component after opening the dialog.\"}]}",
1270
+ "sourcePointer": "projects/praxis-dialog/src/lib/ai/praxis-dialog-authoring-manifest.ts",
1271
+ "contentHash": "2a01fc6b44cb8f514f46255c529b4b60dfa43c9c35379b7aa9b31e8a6fb5f6e2",
1272
+ "sourceKind": "component_definition",
1273
+ "sourceId": "praxis-dialog",
1274
+ "corpusVersion": "1.0.0"
1275
+ },
1276
+ {
1277
+ "chunkIndex": 3,
1278
+ "chunkKind": "authoring_manifest",
1279
+ "content": "{\"schemaVersion\":\"1.0.0\",\"manifestVersion\":\"1.0.0\",\"componentId\":\"praxis-dialog\",\"ownerPackage\":\"@praxisui/dialog\",\"configSchemaId\":\"PraxisDialogConfig\",\"chunkSection\":\"editableTargets\",\"editableTargets\":[{\"kind\":\"dialogShell\",\"resolver\":\"praxis-dialog-config-root\",\"description\":\"Top-level PraxisDialogConfig shell fields such as title, role, actions and theme.\"},{\"kind\":\"size\",\"resolver\":\"praxis-dialog-size-fields\",\"description\":\"Width, height, min/max size fields on PraxisDialogConfig.\"},{\"kind\":\"position\",\"resolver\":\"praxis-dialog-position-fields\",\"description\":\"Overlay position fields top, bottom, left and right.\"},{\"kind\":\"backdrop\",\"resolver\":\"praxis-dialog-backdrop-fields\",\"description\":\"Backdrop enablement and backdrop class semantics.\"},{\"kind\":\"closePolicy\",\"resolver\":\"praxis-dialog-close-policy-fields\",\"description\":\"disableClose, closeOnBackdropClick, closeOnNavigation, restoreFocus and autofocus behavior.\"},{\"kind\":\"preset\",\"resolver\":\"praxis-dialog-global-preset-by-type-variant\",\"description\":\"Type and variant presets merged through PRAXIS_DIALOG_GLOBAL_PRESETS.\"},{\"kind\":\"childHost\",\"resolver\":\"praxis-dialog-child-component-or-template-host\",\"description\":\"Component/template registry child host and input/data envelope.\"}]}",
1280
+ "sourcePointer": "projects/praxis-dialog/src/lib/ai/praxis-dialog-authoring-manifest.ts",
1281
+ "contentHash": "78efb09293d910d567993777869d7af9b55288d946f79db021209ae8e53ff5a1",
1282
+ "sourceKind": "component_definition",
1283
+ "sourceId": "praxis-dialog",
1284
+ "corpusVersion": "1.0.0"
1285
+ },
1286
+ {
1287
+ "chunkIndex": 4,
1288
+ "chunkKind": "authoring_manifest",
1289
+ "content": "{\"schemaVersion\":\"1.0.0\",\"manifestVersion\":\"1.0.0\",\"componentId\":\"praxis-dialog\",\"ownerPackage\":\"@praxisui/dialog\",\"configSchemaId\":\"PraxisDialogConfig\",\"chunkSection\":\"operations\",\"operations\":[{\"operationId\":\"dialog.shell.set\",\"title\":\"Set dialog shell fields\",\"scope\":\"global\",\"targetKind\":\"dialogShell\",\"target\":{\"kind\":\"dialogShell\",\"resolver\":\"praxis-dialog-config-root\",\"ambiguityPolicy\":\"fail\",\"required\":false},\"inputSchema\":{\"type\":\"object\",\"minProperties\":1,\"properties\":{\"title\":{\"type\":\"string\"},\"titleIcon\":{\"type\":\"string\"},\"ariaRole\":{\"enum\":[\"dialog\",\"alertdialog\"]},\"ariaLabel\":{\"type\":\"string\"},\"ariaLabelledBy\":{\"type\":\"string\"},\"ariaDescribedBy\":{\"type\":\"string\"},\"themeColor\":{\"enum\":[\"primary\",\"light\",\"dark\"]},\"actionsLayout\":{\"enum\":[\"start\",\"center\",\"end\",\"stretched\"]}}},\"effects\":[{\"kind\":\"merge-object\",\"path\":\"config\"}],\"destructive\":false,\"requiresConfirmation\":false,\"validators\":[\"accessibility-label-preserved\",\"aria-role-valid\",\"shell-fields-supported\",\"dialog-round-trip\"],\"affectedPaths\":[\"config.title\",\"config.titleIcon\",\"config.ariaRole\",\"config.ariaLabel\",\"config.ariaLabelledBy\",\"config.ariaDescribedBy\",\"config.themeColor\",\"config.actionsLayout\"],\"submissionImpact\":\"config-only\",\"preconditions\":[\"config-initialized\"]},{\"operationId\":\"dialog.size.set\",\"title\":\"Set dialog size\",\"scope\":\"layout\",\"targetKind\":\"size\",\"target\":{\"kind\":\"size\",\"resolver\":\"praxis-dialog-size-fields\",\"ambiguityPolicy\":\"fail\",\"required\":false},\"inputSchema\":{\"type\":\"object\",\"minProperties\":1,\"properties\":{\"width\":{\"oneOf\":[{\"type\":\"string\"},{\"type\":\"number\"}]},\"height\":{\"oneOf\":[{\"type\":\"string\"},{\"type\":\"number\"}]},\"minWidth\":{\"oneOf\":[{\"type\":\"string\"},{\"type\":\"number\"}]},\"maxWidth\":{\"oneOf\":[{\"type\":\"string\"},{\"type\":\"number\"}]},\"minHeight\":{\"oneOf\":[{\"type\":\"string\"},{\"type\":\"number\"}]},\"maxHeight\":{\"oneOf\":[{\"type\":\"string\"},{\"type\":\"number\"}]}}},\"effects\":[{\"kind\":\"merge-object\",\"path\":\"config\"}],\"destructive\":false,\"requiresConfirmation\":false,\"validators\":[\"size-values-safe\",\"size-min-max-consistent\",\"dialog-round-trip\"],\"affectedPaths\":[\"config.width\",\"config.height\",\"config.minWidth\",\"config.maxWidth\",\"config.minHeight\",\"config.maxHeight\"],\"submissionImpact\":\"visual-only\",\"preconditions\":[\"config-initialized\"]},{\"operationId\":\"dialog.position.set\",\"title\":\"Set dialog position\",\"scope\":\"layout\",\"targetKind\":\"position\",\"target\":{\"kind\":\"position\",\"resolver\":\"praxis-dialog-position-fields\",\"ambiguityPolicy\":\"fail\",\"required\":false},\"inputSchema\":{\"type\":\"object\",\"minProperties\":1,\"properties\":{\"top\":{\"type\":\"string\"},\"bottom\":{\"type\":\"string\"},\"left\":{\"type\":\"string\"},\"right\":{\"type\":\"string\"}}},\"effects\":[{\"kind\":\"set-value\",\"path\":\"config.position\"}],\"destructive\":false,\"requiresConfirmation\":false,\"validators\":[\"position-values-safe\",\"position-not-conflicting\",\"dialog-round-trip\"],\"affectedPaths\":[\"config.position\"],\"submissionImpact\":\"visual-only\",\"preconditions\":[\"config-initialized\"]},{\"operationId\":\"dialog.backdrop.set\",\"title\":\"Set dialog backdrop\",\"scope\":\"skin\",\"targetKind\":\"backdrop\",\"target\":{\"kind\":\"backdrop\",\"resolver\":\"praxis-dialog-backdrop-fields\",\"ambiguityPolicy\":\"fail\",\"required\":false},\"inputSchema\":{\"type\":\"object\",\"minProperties\":1,\"properties\":{\"hasBackdrop\":{\"type\":\"boolean\"},\"backdropClass\":{\"oneOf\":[{\"type\":\"string\"},{\"type\":\"array\"},{\"type\":\"object\"}]}}},\"effects\":[{\"kind\":\"merge-object\",\"path\":\"config\"}],\"destructive\":false,\"requiresConfirmation\":false,\"validators\":[\"backdrop-policy-explicit\",\"backdrop-class-safe\",\"dialog-round-trip\"],\"affectedPaths\":[\"config.hasBackdrop\",\"config.backdropClass\"],\"submissionImpact\":\"visual-only\",\"preconditions\":[\"config-initialized\"]},{\"operationId\":\"dialog.closePolicy.set\",\"title\":\"Set dialog close policy\",\"scope\":\"accessibility\",\"targetKind\":\"closePolicy\",\"target\":{\"kind\":\"closePolicy\",\"resolver\":\"praxis-dialog-close-policy-fields\",\"ambiguityPolicy\":\"fail\",\"required\":false},\"inputSchema\":{\"type\":\"object\",\"minProperties\":1,\"properties\":{\"disableClose\":{\"type\":\"boolean\"},\"closeOnBackdropClick\":{\"type\":\"boolean\"},\"closeOnNavigation\":{\"type\":\"boolean\"},\"restoreFocus\":{\"type\":\"boolean\"},\"autoFocus\":{\"type\":\"boolean\"},\"autoFocusedElement\":{\"type\":\"string\"}}},\"effects\":[{\"kind\":\"merge-object\",\"path\":\"config\"}],\"destructive\":true,\"requiresConfirmation\":true,\"validators\":[\"close-policy-explicit\",\"unsafe-close-confirmed-when-needed\",\"restore-focus-preserved\",\"alertdialog-focus-preserved\",\"dialog-round-trip\"],\"affectedPaths\":[\"config.disableClose\",\"config.closeOnBackdropClick\",\"config.closeOnNavigation\",\"config.restoreFocus\",\"config.autoFocus\",\"config.autoFocusedElement\"],\"submissionImpact\":\"config-only\",\"preconditions\":[\"config-initialized\",\"confirmation-collected\"]},{\"operationId\":\"dialog.preset.apply\",\"title\":\"Apply dialog preset\",\"scope\":\"global\",\"targetKind\":\"preset\",\"target\":{\"kind\":\"preset\",\"resolver\":\"praxis-dialog-global-preset-by-type-variant\",\"ambiguityPolicy\":\"fail\",\"required\":false},\"inputSchema\":{\"type\":\"object\",\"required\":[\"dialogType\"],\"properties\":{\"dialogType\":{\"enum\":[\"confirm\",\"alert\",\"prompt\",\"custom\"]},\"variant\":{\"type\":\"string\"},\"localConfig\":{\"type\":\"object\"}}},\"effects\":[{\"kind\":\"compile-domain-patch\",\"handler\":\"dialog-preset-apply\",\"handlerContract\":{\"reads\":[\"PRAXIS_DIALOG_GLOBAL_PRESETS\",\"config\",\"variant\"],\"writes\":[\"config\",\"variant\"],\"identityKeys\":[\"dialogType\",\"variant\"],\"inputSchema\":{\"type\":\"object\",\"required\":[\"dialogType\"],\"properties\":{\"dialogType\":{\"enum\":[\"confirm\",\"alert\",\"prompt\",\"custom\"]},\"variant\":{\"type\":\"string\"},\"localConfig\":{\"type\":\"object\"}}},\"failureModes\":[\"preset-not-found\",\"variant-not-found\",\"preset-merge-order-invalid\",\"accessibility-regression\"],\"description\":\"Applies the canonical merge order type preset -> variant -> local config without mutating child component semantics.\"}}],\"destructive\":false,\"requiresConfirmation\":false,\"validators\":[\"preset-exists\",\"preset-merge-order-preserved\",\"accessibility-label-preserved\",\"dialog-round-trip\"],\"affectedPaths\":[\"config\",\"variant\"],\"submissionImpact\":\"config-only\",\"preconditions\":[\"config-initialized\"]},{\"operationId\":\"childHost.configure\",\"title\":\"Configure dialog child host\",\"scope\":\"templating\",\"targetKind\":\"childHost\",\"target\":{\"kind\":\"childHost\",\"resolver\":\"praxis-dialog-child-component-or-template-host\",\"ambiguityPolicy\":\"fail\",\"required\":false},\"inputSchema\":{\"type\":\"object\",\"required\":[\"contentType\"],\"properties\":{\"contentType\":{\"enum\":[\"component\",\"template\"]},\"componentId\":{\"type\":\"string\"},\"templateId\":{\"type\":\"string\"},\"inputs\":{\"type\":\"object\"},\"data\":{},\"childManifestComponentId\":{\"type\":\"string\"}}},\"effects\":[{\"kind\":\"compile-domain-patch\",\"handler\":\"dialog-child-host-configure\",\"handlerContract\":{\"reads\":[\"ComponentMetadataRegistry\",\"PRAXIS_DIALOG_CONTENT_REGISTRY\",\"PRAXIS_DIALOG_TEMPLATE_REGISTRY\",\"content\",\"componentId\",\"inputs\",\"data\"],\"writes\":[\"content\",\"componentId\",\"inputs\",\"data\"],\"identityKeys\":[\"componentId\",\"templateId\"],\"failureModes\":[\"component-not-registered\",\"template-not-registered\",\"child-inputs-not-serializable\",\"child-manifest-required\"],\"description\":\"Configures which component/template is hosted in the dialog and serializable host inputs; child config fields remain delegated to the child manifest.\"}}],\"destructive\":false,\"requiresConfirmation\":false,\"validators\":[\"child-host-registered\",\"child-config-delegates-to-child-manifest\",\"child-inputs-serializable\",\"dialog-round-trip\"],\"affectedPaths\":[\"content\",\"componentId\",\"inputs\",\"data\"],\"submissionImpact\":\"config-only\",\"preconditions\":[\"config-initialized\"]}]}",
1290
+ "sourcePointer": "projects/praxis-dialog/src/lib/ai/praxis-dialog-authoring-manifest.ts",
1291
+ "contentHash": "271ef73e26312005a496efe7a825589363e2be82c66d2324bb6384bd81b171fc",
1292
+ "sourceKind": "component_definition",
1293
+ "sourceId": "praxis-dialog",
1294
+ "corpusVersion": "1.0.0"
1295
+ },
1296
+ {
1297
+ "chunkIndex": 5,
1298
+ "chunkKind": "authoring_manifest",
1299
+ "content": "{\"schemaVersion\":\"1.0.0\",\"manifestVersion\":\"1.0.0\",\"componentId\":\"praxis-dialog\",\"ownerPackage\":\"@praxisui/dialog\",\"configSchemaId\":\"PraxisDialogConfig\",\"chunkSection\":\"operations\",\"operations\":[{\"operationId\":\"childOperation.delegate\",\"title\":\"Delegate operation to child manifest\",\"scope\":\"templating\",\"targetKind\":\"childHost\",\"target\":{\"kind\":\"childHost\",\"resolver\":\"praxis-dialog-child-component-or-template-host\",\"ambiguityPolicy\":\"fail\",\"required\":true},\"inputSchema\":{\"type\":\"object\",\"required\":[\"childManifestComponentId\",\"operationId\",\"params\"],\"properties\":{\"childManifestComponentId\":{\"type\":\"string\"},\"operationId\":{\"type\":\"string\"},\"target\":{\"type\":\"string\"},\"params\":{\"type\":\"object\"}}},\"effects\":[{\"kind\":\"compile-domain-patch\",\"handler\":\"dialog-child-operation-delegate\",\"handlerContract\":{\"reads\":[\"childManifestComponentId\",\"operationId\",\"params\",\"componentRegistry.authoringManifest\"],\"writes\":[\"inputs\",\"data\"],\"identityKeys\":[\"childManifestComponentId\",\"operationId\"],\"inputSchema\":{\"type\":\"object\",\"required\":[\"childManifestComponentId\",\"operationId\",\"params\"],\"properties\":{\"childManifestComponentId\":{\"type\":\"string\"},\"operationId\":{\"type\":\"string\"},\"target\":{\"type\":\"string\"},\"params\":{\"type\":\"object\"}}},\"failureModes\":[\"child-manifest-not-found\",\"child-operation-not-authorized\",\"child-operation-validation-failed\",\"dialog-shell-child-boundary-violation\"],\"description\":\"Delegates child component configuration edits to the child authoring manifest before projecting the validated patch into the dialog child host inputs/data envelope.\"}}],\"destructive\":false,\"requiresConfirmation\":false,\"validators\":[\"child-manifest-resolvable\",\"child-operation-authorized\",\"child-config-delegates-to-child-manifest\",\"dialog-shell-boundary-preserved\"],\"affectedPaths\":[\"inputs\",\"data\"],\"submissionImpact\":\"config-only\",\"preconditions\":[\"child-host-configured\",\"child-manifest-resolved\"]}]}",
1300
+ "sourcePointer": "projects/praxis-dialog/src/lib/ai/praxis-dialog-authoring-manifest.ts",
1301
+ "contentHash": "8099bef9aa4665cd5e7c57081be9c478146f26e9f9cfd3df1bc86b7494c50a88",
1302
+ "sourceKind": "component_definition",
1303
+ "sourceId": "praxis-dialog",
1304
+ "corpusVersion": "1.0.0"
1305
+ },
1306
+ {
1307
+ "chunkIndex": 6,
1308
+ "chunkKind": "authoring_manifest",
1309
+ "content": "{\"schemaVersion\":\"1.0.0\",\"manifestVersion\":\"1.0.0\",\"componentId\":\"praxis-dialog\",\"ownerPackage\":\"@praxisui/dialog\",\"configSchemaId\":\"PraxisDialogConfig\",\"chunkSection\":\"validators\",\"validators\":[{\"validatorId\":\"accessibility-label-preserved\",\"level\":\"error\",\"code\":\"DIALOG_ACCESSIBILITY_LABEL_PRESERVED\",\"description\":\"Dialog or alertdialog must keep an accessible title or aria label.\"},{\"validatorId\":\"aria-role-valid\",\"level\":\"error\",\"code\":\"DIALOG_ARIA_ROLE_VALID\",\"description\":\"ariaRole must be dialog or alertdialog.\"},{\"validatorId\":\"shell-fields-supported\",\"level\":\"error\",\"code\":\"DIALOG_SHELL_FIELDS_SUPPORTED\",\"description\":\"Shell edits must target supported PraxisDialogConfig fields.\"},{\"validatorId\":\"size-values-safe\",\"level\":\"error\",\"code\":\"DIALOG_SIZE_VALUES_SAFE\",\"description\":\"Size values must be finite numbers or safe CSS size strings.\"},{\"validatorId\":\"size-min-max-consistent\",\"level\":\"error\",\"code\":\"DIALOG_SIZE_MIN_MAX_CONSISTENT\",\"description\":\"Minimum sizes must not exceed maximum sizes.\"},{\"validatorId\":\"position-values-safe\",\"level\":\"error\",\"code\":\"DIALOG_POSITION_VALUES_SAFE\",\"description\":\"Position values must be safe CSS size strings.\"},{\"validatorId\":\"position-not-conflicting\",\"level\":\"warning\",\"code\":\"DIALOG_POSITION_NOT_CONFLICTING\",\"description\":\"Conflicting position pairs should be explicit and intentional.\"},{\"validatorId\":\"backdrop-policy-explicit\",\"level\":\"error\",\"code\":\"DIALOG_BACKDROP_POLICY_EXPLICIT\",\"description\":\"Backdrop and backdrop-click behavior must be explicit when edited.\"},{\"validatorId\":\"backdrop-class-safe\",\"level\":\"error\",\"code\":\"DIALOG_BACKDROP_CLASS_SAFE\",\"description\":\"Backdrop classes must be serializable safe class values.\"},{\"validatorId\":\"close-policy-explicit\",\"level\":\"error\",\"code\":\"DIALOG_CLOSE_POLICY_EXPLICIT\",\"description\":\"Close behavior must explicitly describe ESC, backdrop and navigation semantics.\"},{\"validatorId\":\"unsafe-close-confirmed-when-needed\",\"level\":\"error\",\"code\":\"DIALOG_UNSAFE_CLOSE_CONFIRMED\",\"description\":\"Disabling safe close affordances or enabling unsafe dismissal requires confirmation.\"},{\"validatorId\":\"restore-focus-preserved\",\"level\":\"error\",\"code\":\"DIALOG_RESTORE_FOCUS_PRESERVED\",\"description\":\"restoreFocus must stay enabled unless intentionally changed with confirmation.\"},{\"validatorId\":\"alertdialog-focus-preserved\",\"level\":\"error\",\"code\":\"DIALOG_ALERTDIALOG_FOCUS_PRESERVED\",\"description\":\"alertdialog focus behavior must keep primary action or configured focus target reachable.\"},{\"validatorId\":\"preset-exists\",\"level\":\"error\",\"code\":\"DIALOG_PRESET_EXISTS\",\"description\":\"Preset type and variant must exist in PRAXIS_DIALOG_GLOBAL_PRESETS or be host-provided.\"},{\"validatorId\":\"preset-merge-order-preserved\",\"level\":\"error\",\"code\":\"DIALOG_PRESET_MERGE_ORDER_PRESERVED\",\"description\":\"Preset merge order must remain type -> variant -> local config.\"},{\"validatorId\":\"child-host-registered\",\"level\":\"error\",\"code\":\"DIALOG_CHILD_HOST_REGISTERED\",\"description\":\"Child component/template must resolve through ComponentMetadataRegistry or dialog registries.\"},{\"validatorId\":\"child-config-delegates-to-child-manifest\",\"level\":\"error\",\"code\":\"DIALOG_CHILD_CONFIG_DELEGATES\",\"description\":\"Child component config edits must be delegated to the child authoring manifest.\"},{\"validatorId\":\"child-inputs-serializable\",\"level\":\"error\",\"code\":\"DIALOG_CHILD_INPUTS_SERIALIZABLE\",\"description\":\"Child inputs/data persisted by authoring must be serializable safe values.\"},{\"validatorId\":\"child-manifest-resolvable\",\"level\":\"error\",\"code\":\"DIALOG_CHILD_MANIFEST_RESOLVABLE\",\"description\":\"Delegated child operation must resolve a child component authoring manifest.\"},{\"validatorId\":\"child-operation-authorized\",\"level\":\"error\",\"code\":\"DIALOG_CHILD_OPERATION_AUTHORIZED\",\"description\":\"Delegated child operation must be declared by the child manifest.\"},{\"validatorId\":\"dialog-shell-boundary-preserved\",\"level\":\"error\",\"code\":\"DIALOG_SHELL_BOUNDARY_PRESERVED\",\"description\":\"Dialog shell operations must not rewrite child component semantics directly.\"},{\"validatorId\":\"dialog-round-trip\",\"level\":\"error\",\"code\":\"DIALOG_ROUND_TRIP\",\"description\":\"Service/tag mode must preserve shell config through open, close, afterClosed and host persistence.\"}]}",
1310
+ "sourcePointer": "projects/praxis-dialog/src/lib/ai/praxis-dialog-authoring-manifest.ts",
1311
+ "contentHash": "eb3add49360f8a684c21585401133905b8ab6547ff2db32f34de73a7fe04d90f",
1312
+ "sourceKind": "component_definition",
1313
+ "sourceId": "praxis-dialog",
1314
+ "corpusVersion": "1.0.0"
1315
+ },
1316
+ {
1317
+ "chunkIndex": 7,
1318
+ "chunkKind": "authoring_manifest",
1319
+ "content": "{\"schemaVersion\":\"1.0.0\",\"manifestVersion\":\"1.0.0\",\"componentId\":\"praxis-dialog\",\"ownerPackage\":\"@praxisui/dialog\",\"configSchemaId\":\"PraxisDialogConfig\",\"chunkSection\":\"roundTripRequirements\",\"roundTripRequirements\":[\"PraxisDialogConfig is the canonical shell config; child component config remains owned by the child manifest.\",\"Preset application must preserve merge order: type preset, then variant, then local config.\",\"Close policy edits must keep accessibility, focus trap, ESC/backdrop behavior and restoreFocus explicit.\",\"Dialog host operations must resolve component/template ids through governed registries instead of ad hoc overlays.\"]}",
1320
+ "sourcePointer": "projects/praxis-dialog/src/lib/ai/praxis-dialog-authoring-manifest.ts",
1321
+ "contentHash": "755649f16997bb032560c90d9e4a9d8f90f98f47bb8535eec0908ce1f2a0c1e9",
1322
+ "sourceKind": "component_definition",
1323
+ "sourceId": "praxis-dialog",
1324
+ "corpusVersion": "1.0.0"
1325
+ },
1326
+ {
1327
+ "chunkIndex": 8,
1328
+ "chunkKind": "authoring_manifest",
1329
+ "content": "{\"schemaVersion\":\"1.0.0\",\"manifestVersion\":\"1.0.0\",\"componentId\":\"praxis-dialog\",\"ownerPackage\":\"@praxisui/dialog\",\"configSchemaId\":\"PraxisDialogConfig\",\"chunkSection\":\"examples\",\"examples\":[{\"id\":\"set-size\",\"request\":\"Open this dialog at 860 by 640 pixels.\",\"operationId\":\"dialog.size.set\",\"params\":{\"width\":\"860px\",\"height\":\"640px\"},\"isPositive\":true},{\"id\":\"set-position\",\"request\":\"Anchor the dialog to the right side.\",\"operationId\":\"dialog.position.set\",\"params\":{\"right\":\"24px\",\"top\":\"64px\"},\"isPositive\":true},{\"id\":\"set-backdrop\",\"request\":\"Use a backdrop with the default governed backdrop class.\",\"operationId\":\"dialog.backdrop.set\",\"params\":{\"hasBackdrop\":true,\"backdropClass\":\"pdx-dialog-backdrop\"},\"isPositive\":true},{\"id\":\"set-close-policy\",\"request\":\"Make this destructive confirm require explicit button close.\",\"operationId\":\"dialog.closePolicy.set\",\"params\":{\"disableClose\":true,\"closeOnBackdropClick\":false,\"restoreFocus\":true},\"isPositive\":true},{\"id\":\"apply-danger-preset\",\"request\":\"Apply the danger confirm preset.\",\"operationId\":\"dialog.preset.apply\",\"params\":{\"dialogType\":\"confirm\",\"variant\":\"danger\"},\"isPositive\":true},{\"id\":\"configure-child-host\",\"request\":\"Host the dynamic page component with customization enabled.\",\"operationId\":\"childHost.configure\",\"params\":{\"contentType\":\"component\",\"componentId\":\"praxis-dynamic-page\",\"inputs\":{\"enableCustomization\":true}},\"isPositive\":true},{\"id\":\"delegate-child-config\",\"request\":\"Change the table column inside the dialog.\",\"operationId\":\"childOperation.delegate\",\"params\":{\"childManifestComponentId\":\"praxis-table\",\"operationId\":\"column.label.set\",\"params\":{\"field\":\"name\",\"label\":\"Name\"}},\"isPositive\":true},{\"id\":\"set-shell-label\",\"request\":\"Set the dialog title and alertdialog role.\",\"operationId\":\"dialog.shell.set\",\"params\":{\"title\":\"Delete record\",\"ariaRole\":\"alertdialog\"},\"isPositive\":true},{\"id\":\"reject-child-shell-mix\",\"request\":\"Directly patch the child table config from the dialog shell manifest.\",\"operationId\":\"childOperation.delegate\",\"params\":{\"childManifestComponentId\":\"\",\"operationId\":\"patch-raw-child-config\",\"params\":{}},\"isPositive\":false},{\"id\":\"reject-inaccessible-alert\",\"request\":\"Make an alertdialog with no title or aria label.\",\"operationId\":\"dialog.shell.set\",\"params\":{\"ariaRole\":\"alertdialog\",\"title\":\"\"},\"isPositive\":false},{\"id\":\"reject-unsafe-close\",\"request\":\"Let a destructive dialog close on accidental backdrop click with no confirmation.\",\"operationId\":\"dialog.closePolicy.set\",\"params\":{\"closeOnBackdropClick\":true,\"disableClose\":false,\"restoreFocus\":false},\"isPositive\":false}]}",
1330
+ "sourcePointer": "projects/praxis-dialog/src/lib/ai/praxis-dialog-authoring-manifest.ts",
1331
+ "contentHash": "7ac02b6b620dccc665ecf254994eb369221c28e61e4d4de4506d4696e01eaa59",
1332
+ "sourceKind": "component_definition",
1333
+ "sourceId": "praxis-dialog",
1334
+ "corpusVersion": "1.0.0"
1335
+ }
1336
+ ]
1337
+ }
1338
+ },
1339
+ "note": "Package-scoped Praxis component registry for source-free agent discovery. Use the canonical ingestion registry for cross-package aggregate analysis."
1340
+ }