@praxisui/dialog 10.0.0-rc.44 → 10.0.0-rc.46
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/ai/component-registry.json +134 -8
- package/fesm2022/praxisui-dialog.mjs +35 -15
- package/package.json +2 -2
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
{
|
|
2
2
|
"schemaVersion": "1.0.0",
|
|
3
|
-
"generatedAt": "2026-11-
|
|
3
|
+
"generatedAt": "2026-11-15T00:03:48.148Z",
|
|
4
4
|
"packageName": "@praxisui/dialog",
|
|
5
|
-
"packageVersion": "10.0.0-rc.
|
|
5
|
+
"packageVersion": "10.0.0-rc.46",
|
|
6
6
|
"sourceRegistry": "praxis-component-registry-ingestion",
|
|
7
7
|
"sourceRegistryVersion": "1.0.0",
|
|
8
8
|
"componentCount": 1,
|
|
@@ -297,36 +297,94 @@
|
|
|
297
297
|
{
|
|
298
298
|
"kind": "dialogShell",
|
|
299
299
|
"resolver": "praxis-dialog-config-root",
|
|
300
|
+
"resolutionSpec": {
|
|
301
|
+
"strategy": "root-path",
|
|
302
|
+
"paths": [
|
|
303
|
+
"config",
|
|
304
|
+
""
|
|
305
|
+
],
|
|
306
|
+
"allowIndex": false
|
|
307
|
+
},
|
|
300
308
|
"description": "Top-level PraxisDialogConfig shell fields such as title, role, actions and theme."
|
|
301
309
|
},
|
|
302
310
|
{
|
|
303
311
|
"kind": "size",
|
|
304
312
|
"resolver": "praxis-dialog-size-fields",
|
|
313
|
+
"resolutionSpec": {
|
|
314
|
+
"strategy": "root-path",
|
|
315
|
+
"paths": [
|
|
316
|
+
"config",
|
|
317
|
+
""
|
|
318
|
+
],
|
|
319
|
+
"allowIndex": false
|
|
320
|
+
},
|
|
305
321
|
"description": "Width, height, min/max size fields on PraxisDialogConfig."
|
|
306
322
|
},
|
|
307
323
|
{
|
|
308
324
|
"kind": "position",
|
|
309
325
|
"resolver": "praxis-dialog-position-fields",
|
|
326
|
+
"resolutionSpec": {
|
|
327
|
+
"strategy": "root-path",
|
|
328
|
+
"paths": [
|
|
329
|
+
"config.position",
|
|
330
|
+
"position"
|
|
331
|
+
],
|
|
332
|
+
"allowIndex": false
|
|
333
|
+
},
|
|
310
334
|
"description": "Overlay position fields top, bottom, left and right."
|
|
311
335
|
},
|
|
312
336
|
{
|
|
313
337
|
"kind": "backdrop",
|
|
314
338
|
"resolver": "praxis-dialog-backdrop-fields",
|
|
339
|
+
"resolutionSpec": {
|
|
340
|
+
"strategy": "root-path",
|
|
341
|
+
"paths": [
|
|
342
|
+
"config",
|
|
343
|
+
""
|
|
344
|
+
],
|
|
345
|
+
"allowIndex": false
|
|
346
|
+
},
|
|
315
347
|
"description": "Backdrop enablement and backdrop class semantics."
|
|
316
348
|
},
|
|
317
349
|
{
|
|
318
350
|
"kind": "closePolicy",
|
|
319
351
|
"resolver": "praxis-dialog-close-policy-fields",
|
|
352
|
+
"resolutionSpec": {
|
|
353
|
+
"strategy": "root-path",
|
|
354
|
+
"paths": [
|
|
355
|
+
"config",
|
|
356
|
+
""
|
|
357
|
+
],
|
|
358
|
+
"allowIndex": false
|
|
359
|
+
},
|
|
320
360
|
"description": "disableClose, closeOnBackdropClick, closeOnNavigation, restoreFocus and autofocus behavior."
|
|
321
361
|
},
|
|
322
362
|
{
|
|
323
363
|
"kind": "preset",
|
|
324
364
|
"resolver": "praxis-dialog-global-preset-by-type-variant",
|
|
365
|
+
"resolutionSpec": {
|
|
366
|
+
"strategy": "root-path",
|
|
367
|
+
"paths": [
|
|
368
|
+
"variant",
|
|
369
|
+
"config"
|
|
370
|
+
],
|
|
371
|
+
"allowIndex": false
|
|
372
|
+
},
|
|
325
373
|
"description": "Type and variant presets merged through PRAXIS_DIALOG_GLOBAL_PRESETS."
|
|
326
374
|
},
|
|
327
375
|
{
|
|
328
376
|
"kind": "childHost",
|
|
329
377
|
"resolver": "praxis-dialog-child-component-or-template-host",
|
|
378
|
+
"resolutionSpec": {
|
|
379
|
+
"strategy": "root-path",
|
|
380
|
+
"paths": [
|
|
381
|
+
"content",
|
|
382
|
+
"componentId",
|
|
383
|
+
"inputs",
|
|
384
|
+
"data"
|
|
385
|
+
],
|
|
386
|
+
"allowIndex": false
|
|
387
|
+
},
|
|
330
388
|
"description": "Component/template registry child host and input/data envelope."
|
|
331
389
|
}
|
|
332
390
|
],
|
|
@@ -339,6 +397,14 @@
|
|
|
339
397
|
"target": {
|
|
340
398
|
"kind": "dialogShell",
|
|
341
399
|
"resolver": "praxis-dialog-config-root",
|
|
400
|
+
"resolutionSpec": {
|
|
401
|
+
"strategy": "root-path",
|
|
402
|
+
"paths": [
|
|
403
|
+
"config",
|
|
404
|
+
""
|
|
405
|
+
],
|
|
406
|
+
"allowIndex": false
|
|
407
|
+
},
|
|
342
408
|
"ambiguityPolicy": "fail",
|
|
343
409
|
"required": false
|
|
344
410
|
},
|
|
@@ -421,6 +487,14 @@
|
|
|
421
487
|
"target": {
|
|
422
488
|
"kind": "size",
|
|
423
489
|
"resolver": "praxis-dialog-size-fields",
|
|
490
|
+
"resolutionSpec": {
|
|
491
|
+
"strategy": "root-path",
|
|
492
|
+
"paths": [
|
|
493
|
+
"config",
|
|
494
|
+
""
|
|
495
|
+
],
|
|
496
|
+
"allowIndex": false
|
|
497
|
+
},
|
|
424
498
|
"ambiguityPolicy": "fail",
|
|
425
499
|
"required": false
|
|
426
500
|
},
|
|
@@ -524,6 +598,14 @@
|
|
|
524
598
|
"target": {
|
|
525
599
|
"kind": "position",
|
|
526
600
|
"resolver": "praxis-dialog-position-fields",
|
|
601
|
+
"resolutionSpec": {
|
|
602
|
+
"strategy": "root-path",
|
|
603
|
+
"paths": [
|
|
604
|
+
"config.position",
|
|
605
|
+
"position"
|
|
606
|
+
],
|
|
607
|
+
"allowIndex": false
|
|
608
|
+
},
|
|
527
609
|
"ambiguityPolicy": "fail",
|
|
528
610
|
"required": false
|
|
529
611
|
},
|
|
@@ -574,6 +656,14 @@
|
|
|
574
656
|
"target": {
|
|
575
657
|
"kind": "backdrop",
|
|
576
658
|
"resolver": "praxis-dialog-backdrop-fields",
|
|
659
|
+
"resolutionSpec": {
|
|
660
|
+
"strategy": "root-path",
|
|
661
|
+
"paths": [
|
|
662
|
+
"config",
|
|
663
|
+
""
|
|
664
|
+
],
|
|
665
|
+
"allowIndex": false
|
|
666
|
+
},
|
|
577
667
|
"ambiguityPolicy": "fail",
|
|
578
668
|
"required": false
|
|
579
669
|
},
|
|
@@ -629,6 +719,14 @@
|
|
|
629
719
|
"target": {
|
|
630
720
|
"kind": "closePolicy",
|
|
631
721
|
"resolver": "praxis-dialog-close-policy-fields",
|
|
722
|
+
"resolutionSpec": {
|
|
723
|
+
"strategy": "root-path",
|
|
724
|
+
"paths": [
|
|
725
|
+
"config",
|
|
726
|
+
""
|
|
727
|
+
],
|
|
728
|
+
"allowIndex": false
|
|
729
|
+
},
|
|
632
730
|
"ambiguityPolicy": "fail",
|
|
633
731
|
"required": false
|
|
634
732
|
},
|
|
@@ -693,6 +791,14 @@
|
|
|
693
791
|
"target": {
|
|
694
792
|
"kind": "preset",
|
|
695
793
|
"resolver": "praxis-dialog-global-preset-by-type-variant",
|
|
794
|
+
"resolutionSpec": {
|
|
795
|
+
"strategy": "root-path",
|
|
796
|
+
"paths": [
|
|
797
|
+
"variant",
|
|
798
|
+
"config"
|
|
799
|
+
],
|
|
800
|
+
"allowIndex": false
|
|
801
|
+
},
|
|
696
802
|
"ambiguityPolicy": "fail",
|
|
697
803
|
"required": false
|
|
698
804
|
},
|
|
@@ -793,6 +899,16 @@
|
|
|
793
899
|
"target": {
|
|
794
900
|
"kind": "childHost",
|
|
795
901
|
"resolver": "praxis-dialog-child-component-or-template-host",
|
|
902
|
+
"resolutionSpec": {
|
|
903
|
+
"strategy": "root-path",
|
|
904
|
+
"paths": [
|
|
905
|
+
"content",
|
|
906
|
+
"componentId",
|
|
907
|
+
"inputs",
|
|
908
|
+
"data"
|
|
909
|
+
],
|
|
910
|
+
"allowIndex": false
|
|
911
|
+
},
|
|
796
912
|
"ambiguityPolicy": "fail",
|
|
797
913
|
"required": false
|
|
798
914
|
},
|
|
@@ -911,6 +1027,16 @@
|
|
|
911
1027
|
"target": {
|
|
912
1028
|
"kind": "childHost",
|
|
913
1029
|
"resolver": "praxis-dialog-child-component-or-template-host",
|
|
1030
|
+
"resolutionSpec": {
|
|
1031
|
+
"strategy": "root-path",
|
|
1032
|
+
"paths": [
|
|
1033
|
+
"content",
|
|
1034
|
+
"componentId",
|
|
1035
|
+
"inputs",
|
|
1036
|
+
"data"
|
|
1037
|
+
],
|
|
1038
|
+
"allowIndex": false
|
|
1039
|
+
},
|
|
914
1040
|
"ambiguityPolicy": "fail",
|
|
915
1041
|
"required": true
|
|
916
1042
|
},
|
|
@@ -1383,9 +1509,9 @@
|
|
|
1383
1509
|
{
|
|
1384
1510
|
"chunkIndex": 11,
|
|
1385
1511
|
"chunkKind": "authoring_manifest",
|
|
1386
|
-
"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.\"}]}",
|
|
1512
|
+
"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\",\"resolutionSpec\":{\"strategy\":\"root-path\",\"paths\":[\"config\",\"\"],\"allowIndex\":false},\"description\":\"Top-level PraxisDialogConfig shell fields such as title, role, actions and theme.\"},{\"kind\":\"size\",\"resolver\":\"praxis-dialog-size-fields\",\"resolutionSpec\":{\"strategy\":\"root-path\",\"paths\":[\"config\",\"\"],\"allowIndex\":false},\"description\":\"Width, height, min/max size fields on PraxisDialogConfig.\"},{\"kind\":\"position\",\"resolver\":\"praxis-dialog-position-fields\",\"resolutionSpec\":{\"strategy\":\"root-path\",\"paths\":[\"config.position\",\"position\"],\"allowIndex\":false},\"description\":\"Overlay position fields top, bottom, left and right.\"},{\"kind\":\"backdrop\",\"resolver\":\"praxis-dialog-backdrop-fields\",\"resolutionSpec\":{\"strategy\":\"root-path\",\"paths\":[\"config\",\"\"],\"allowIndex\":false},\"description\":\"Backdrop enablement and backdrop class semantics.\"},{\"kind\":\"closePolicy\",\"resolver\":\"praxis-dialog-close-policy-fields\",\"resolutionSpec\":{\"strategy\":\"root-path\",\"paths\":[\"config\",\"\"],\"allowIndex\":false},\"description\":\"disableClose, closeOnBackdropClick, closeOnNavigation, restoreFocus and autofocus behavior.\"},{\"kind\":\"preset\",\"resolver\":\"praxis-dialog-global-preset-by-type-variant\",\"resolutionSpec\":{\"strategy\":\"root-path\",\"paths\":[\"variant\",\"config\"],\"allowIndex\":false},\"description\":\"Type and variant presets merged through PRAXIS_DIALOG_GLOBAL_PRESETS.\"},{\"kind\":\"childHost\",\"resolver\":\"praxis-dialog-child-component-or-template-host\",\"resolutionSpec\":{\"strategy\":\"root-path\",\"paths\":[\"content\",\"componentId\",\"inputs\",\"data\"],\"allowIndex\":false},\"description\":\"Component/template registry child host and input/data envelope.\"}]}",
|
|
1387
1513
|
"sourcePointer": "projects/praxis-dialog/src/lib/ai/praxis-dialog-authoring-manifest.ts",
|
|
1388
|
-
"contentHash": "
|
|
1514
|
+
"contentHash": "0014d28bcb3bda4e939f55193c516c0abfad70eb573ea199d129cd89036515f9",
|
|
1389
1515
|
"sourceKind": "component_definition",
|
|
1390
1516
|
"sourceId": "praxis-dialog",
|
|
1391
1517
|
"corpusVersion": "1.0.0"
|
|
@@ -1393,9 +1519,9 @@
|
|
|
1393
1519
|
{
|
|
1394
1520
|
"chunkIndex": 12,
|
|
1395
1521
|
"chunkKind": "authoring_manifest",
|
|
1396
|
-
"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\"]}
|
|
1522
|
+
"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\",\"resolutionSpec\":{\"strategy\":\"root-path\",\"paths\":[\"config\",\"\"],\"allowIndex\":false},\"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\",\"resolutionSpec\":{\"strategy\":\"root-path\",\"paths\":[\"config\",\"\"],\"allowIndex\":false},\"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\",\"resolutionSpec\":{\"strategy\":\"root-path\",\"paths\":[\"config.position\",\"position\"],\"allowIndex\":false},\"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\",\"resolutionSpec\":{\"strategy\":\"root-path\",\"paths\":[\"config\",\"\"],\"allowIndex\":false},\"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\",\"resolutionSpec\":{\"strategy\":\"root-path\",\"paths\":[\"config\",\"\"],\"allowIndex\":false},\"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\",\"resolutionSpec\":{\"strategy\":\"root-path\",\"paths\":[\"variant\",\"config\"],\"allowIndex\":false},\"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\"]}]}",
|
|
1397
1523
|
"sourcePointer": "projects/praxis-dialog/src/lib/ai/praxis-dialog-authoring-manifest.ts",
|
|
1398
|
-
"contentHash": "
|
|
1524
|
+
"contentHash": "2bfa0cea4603d68f0bb58bc27e0f7ac9e729912a9ad32e44f80d9e8f312fe332",
|
|
1399
1525
|
"sourceKind": "component_definition",
|
|
1400
1526
|
"sourceId": "praxis-dialog",
|
|
1401
1527
|
"corpusVersion": "1.0.0"
|
|
@@ -1403,9 +1529,9 @@
|
|
|
1403
1529
|
{
|
|
1404
1530
|
"chunkIndex": 13,
|
|
1405
1531
|
"chunkKind": "authoring_manifest",
|
|
1406
|
-
"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\"]}]}",
|
|
1532
|
+
"content": "{\"schemaVersion\":\"1.0.0\",\"manifestVersion\":\"1.0.0\",\"componentId\":\"praxis-dialog\",\"ownerPackage\":\"@praxisui/dialog\",\"configSchemaId\":\"PraxisDialogConfig\",\"chunkSection\":\"operations\",\"operations\":[{\"operationId\":\"childHost.configure\",\"title\":\"Configure dialog child host\",\"scope\":\"templating\",\"targetKind\":\"childHost\",\"target\":{\"kind\":\"childHost\",\"resolver\":\"praxis-dialog-child-component-or-template-host\",\"resolutionSpec\":{\"strategy\":\"root-path\",\"paths\":[\"content\",\"componentId\",\"inputs\",\"data\"],\"allowIndex\":false},\"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\"],\"inputSchema\":{\"type\":\"object\",\"required\":[\"contentType\"],\"properties\":{\"contentType\":{\"enum\":[\"component\",\"template\"]},\"componentId\":{\"type\":\"string\"},\"templateId\":{\"type\":\"string\"},\"inputs\":{\"type\":\"object\"},\"data\":{},\"childManifestComponentId\":{\"type\":\"string\"}}},\"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\"]},{\"operationId\":\"childOperation.delegate\",\"title\":\"Delegate operation to child manifest\",\"scope\":\"templating\",\"targetKind\":\"childHost\",\"target\":{\"kind\":\"childHost\",\"resolver\":\"praxis-dialog-child-component-or-template-host\",\"resolutionSpec\":{\"strategy\":\"root-path\",\"paths\":[\"content\",\"componentId\",\"inputs\",\"data\"],\"allowIndex\":false},\"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\"]}]}",
|
|
1407
1533
|
"sourcePointer": "projects/praxis-dialog/src/lib/ai/praxis-dialog-authoring-manifest.ts",
|
|
1408
|
-
"contentHash": "
|
|
1534
|
+
"contentHash": "68cd15ace44b83de96aa14e37faa49908d9f0296fb04a41f64ca575d346d8343",
|
|
1409
1535
|
"sourceKind": "component_definition",
|
|
1410
1536
|
"sourceId": "praxis-dialog",
|
|
1411
1537
|
"corpusVersion": "1.0.0"
|
|
@@ -2979,6 +2979,26 @@ function providePraxisDialogMetadata() {
|
|
|
2979
2979
|
};
|
|
2980
2980
|
}
|
|
2981
2981
|
|
|
2982
|
+
const dialogConfigRootResolutionSpec = {
|
|
2983
|
+
strategy: 'root-path',
|
|
2984
|
+
paths: ['config', ''],
|
|
2985
|
+
allowIndex: false,
|
|
2986
|
+
};
|
|
2987
|
+
const dialogPositionResolutionSpec = {
|
|
2988
|
+
strategy: 'root-path',
|
|
2989
|
+
paths: ['config.position', 'position'],
|
|
2990
|
+
allowIndex: false,
|
|
2991
|
+
};
|
|
2992
|
+
const dialogPresetResolutionSpec = {
|
|
2993
|
+
strategy: 'root-path',
|
|
2994
|
+
paths: ['variant', 'config'],
|
|
2995
|
+
allowIndex: false,
|
|
2996
|
+
};
|
|
2997
|
+
const dialogChildHostResolutionSpec = {
|
|
2998
|
+
strategy: 'root-path',
|
|
2999
|
+
paths: ['content', 'componentId', 'inputs', 'data'],
|
|
3000
|
+
allowIndex: false,
|
|
3001
|
+
};
|
|
2982
3002
|
const sizeFieldSchema = {
|
|
2983
3003
|
type: 'object',
|
|
2984
3004
|
minProperties: 1,
|
|
@@ -3039,13 +3059,13 @@ const PRAXIS_DIALOG_AUTHORING_MANIFEST = {
|
|
|
3039
3059
|
{ name: 'inputs', type: 'Record<string, unknown>', description: 'Inputs applied to the child component after opening the dialog.' },
|
|
3040
3060
|
],
|
|
3041
3061
|
editableTargets: [
|
|
3042
|
-
{ kind: 'dialogShell', resolver: 'praxis-dialog-config-root', description: 'Top-level PraxisDialogConfig shell fields such as title, role, actions and theme.' },
|
|
3043
|
-
{ kind: 'size', resolver: 'praxis-dialog-size-fields', description: 'Width, height, min/max size fields on PraxisDialogConfig.' },
|
|
3044
|
-
{ kind: 'position', resolver: 'praxis-dialog-position-fields', description: 'Overlay position fields top, bottom, left and right.' },
|
|
3045
|
-
{ kind: 'backdrop', resolver: 'praxis-dialog-backdrop-fields', description: 'Backdrop enablement and backdrop class semantics.' },
|
|
3046
|
-
{ kind: 'closePolicy', resolver: 'praxis-dialog-close-policy-fields', description: 'disableClose, closeOnBackdropClick, closeOnNavigation, restoreFocus and autofocus behavior.' },
|
|
3047
|
-
{ kind: 'preset', resolver: 'praxis-dialog-global-preset-by-type-variant', description: 'Type and variant presets merged through PRAXIS_DIALOG_GLOBAL_PRESETS.' },
|
|
3048
|
-
{ kind: 'childHost', resolver: 'praxis-dialog-child-component-or-template-host', description: 'Component/template registry child host and input/data envelope.' },
|
|
3062
|
+
{ kind: 'dialogShell', resolver: 'praxis-dialog-config-root', resolutionSpec: dialogConfigRootResolutionSpec, description: 'Top-level PraxisDialogConfig shell fields such as title, role, actions and theme.' },
|
|
3063
|
+
{ kind: 'size', resolver: 'praxis-dialog-size-fields', resolutionSpec: dialogConfigRootResolutionSpec, description: 'Width, height, min/max size fields on PraxisDialogConfig.' },
|
|
3064
|
+
{ kind: 'position', resolver: 'praxis-dialog-position-fields', resolutionSpec: dialogPositionResolutionSpec, description: 'Overlay position fields top, bottom, left and right.' },
|
|
3065
|
+
{ kind: 'backdrop', resolver: 'praxis-dialog-backdrop-fields', resolutionSpec: dialogConfigRootResolutionSpec, description: 'Backdrop enablement and backdrop class semantics.' },
|
|
3066
|
+
{ kind: 'closePolicy', resolver: 'praxis-dialog-close-policy-fields', resolutionSpec: dialogConfigRootResolutionSpec, description: 'disableClose, closeOnBackdropClick, closeOnNavigation, restoreFocus and autofocus behavior.' },
|
|
3067
|
+
{ kind: 'preset', resolver: 'praxis-dialog-global-preset-by-type-variant', resolutionSpec: dialogPresetResolutionSpec, description: 'Type and variant presets merged through PRAXIS_DIALOG_GLOBAL_PRESETS.' },
|
|
3068
|
+
{ kind: 'childHost', resolver: 'praxis-dialog-child-component-or-template-host', resolutionSpec: dialogChildHostResolutionSpec, description: 'Component/template registry child host and input/data envelope.' },
|
|
3049
3069
|
],
|
|
3050
3070
|
operations: [
|
|
3051
3071
|
{
|
|
@@ -3053,7 +3073,7 @@ const PRAXIS_DIALOG_AUTHORING_MANIFEST = {
|
|
|
3053
3073
|
title: 'Set dialog shell fields',
|
|
3054
3074
|
scope: 'global',
|
|
3055
3075
|
targetKind: 'dialogShell',
|
|
3056
|
-
target: { kind: 'dialogShell', resolver: 'praxis-dialog-config-root', ambiguityPolicy: 'fail', required: false },
|
|
3076
|
+
target: { kind: 'dialogShell', resolver: 'praxis-dialog-config-root', resolutionSpec: dialogConfigRootResolutionSpec, ambiguityPolicy: 'fail', required: false },
|
|
3057
3077
|
inputSchema: {
|
|
3058
3078
|
type: 'object',
|
|
3059
3079
|
minProperties: 1,
|
|
@@ -3081,7 +3101,7 @@ const PRAXIS_DIALOG_AUTHORING_MANIFEST = {
|
|
|
3081
3101
|
title: 'Set dialog size',
|
|
3082
3102
|
scope: 'layout',
|
|
3083
3103
|
targetKind: 'size',
|
|
3084
|
-
target: { kind: 'size', resolver: 'praxis-dialog-size-fields', ambiguityPolicy: 'fail', required: false },
|
|
3104
|
+
target: { kind: 'size', resolver: 'praxis-dialog-size-fields', resolutionSpec: dialogConfigRootResolutionSpec, ambiguityPolicy: 'fail', required: false },
|
|
3085
3105
|
inputSchema: sizeFieldSchema,
|
|
3086
3106
|
effects: [{ kind: 'merge-object', path: 'config' }],
|
|
3087
3107
|
destructive: false,
|
|
@@ -3096,7 +3116,7 @@ const PRAXIS_DIALOG_AUTHORING_MANIFEST = {
|
|
|
3096
3116
|
title: 'Set dialog position',
|
|
3097
3117
|
scope: 'layout',
|
|
3098
3118
|
targetKind: 'position',
|
|
3099
|
-
target: { kind: 'position', resolver: 'praxis-dialog-position-fields', ambiguityPolicy: 'fail', required: false },
|
|
3119
|
+
target: { kind: 'position', resolver: 'praxis-dialog-position-fields', resolutionSpec: dialogPositionResolutionSpec, ambiguityPolicy: 'fail', required: false },
|
|
3100
3120
|
inputSchema: positionSchema,
|
|
3101
3121
|
effects: [{ kind: 'set-value', path: 'config.position' }],
|
|
3102
3122
|
destructive: false,
|
|
@@ -3111,7 +3131,7 @@ const PRAXIS_DIALOG_AUTHORING_MANIFEST = {
|
|
|
3111
3131
|
title: 'Set dialog backdrop',
|
|
3112
3132
|
scope: 'skin',
|
|
3113
3133
|
targetKind: 'backdrop',
|
|
3114
|
-
target: { kind: 'backdrop', resolver: 'praxis-dialog-backdrop-fields', ambiguityPolicy: 'fail', required: false },
|
|
3134
|
+
target: { kind: 'backdrop', resolver: 'praxis-dialog-backdrop-fields', resolutionSpec: dialogConfigRootResolutionSpec, ambiguityPolicy: 'fail', required: false },
|
|
3115
3135
|
inputSchema: {
|
|
3116
3136
|
type: 'object',
|
|
3117
3137
|
minProperties: 1,
|
|
@@ -3133,7 +3153,7 @@ const PRAXIS_DIALOG_AUTHORING_MANIFEST = {
|
|
|
3133
3153
|
title: 'Set dialog close policy',
|
|
3134
3154
|
scope: 'accessibility',
|
|
3135
3155
|
targetKind: 'closePolicy',
|
|
3136
|
-
target: { kind: 'closePolicy', resolver: 'praxis-dialog-close-policy-fields', ambiguityPolicy: 'fail', required: false },
|
|
3156
|
+
target: { kind: 'closePolicy', resolver: 'praxis-dialog-close-policy-fields', resolutionSpec: dialogConfigRootResolutionSpec, ambiguityPolicy: 'fail', required: false },
|
|
3137
3157
|
inputSchema: closePolicySchema,
|
|
3138
3158
|
effects: [{ kind: 'merge-object', path: 'config' }],
|
|
3139
3159
|
destructive: true,
|
|
@@ -3148,7 +3168,7 @@ const PRAXIS_DIALOG_AUTHORING_MANIFEST = {
|
|
|
3148
3168
|
title: 'Apply dialog preset',
|
|
3149
3169
|
scope: 'global',
|
|
3150
3170
|
targetKind: 'preset',
|
|
3151
|
-
target: { kind: 'preset', resolver: 'praxis-dialog-global-preset-by-type-variant', ambiguityPolicy: 'fail', required: false },
|
|
3171
|
+
target: { kind: 'preset', resolver: 'praxis-dialog-global-preset-by-type-variant', resolutionSpec: dialogPresetResolutionSpec, ambiguityPolicy: 'fail', required: false },
|
|
3152
3172
|
inputSchema: {
|
|
3153
3173
|
type: 'object',
|
|
3154
3174
|
required: ['dialogType'],
|
|
@@ -3178,7 +3198,7 @@ const PRAXIS_DIALOG_AUTHORING_MANIFEST = {
|
|
|
3178
3198
|
title: 'Configure dialog child host',
|
|
3179
3199
|
scope: 'templating',
|
|
3180
3200
|
targetKind: 'childHost',
|
|
3181
|
-
target: { kind: 'childHost', resolver: 'praxis-dialog-child-component-or-template-host', ambiguityPolicy: 'fail', required: false },
|
|
3201
|
+
target: { kind: 'childHost', resolver: 'praxis-dialog-child-component-or-template-host', resolutionSpec: dialogChildHostResolutionSpec, ambiguityPolicy: 'fail', required: false },
|
|
3182
3202
|
inputSchema: childHostSchema,
|
|
3183
3203
|
effects: [{ kind: 'compile-domain-patch', handler: 'dialog-child-host-configure', handlerContract: {
|
|
3184
3204
|
reads: ['ComponentMetadataRegistry', 'PRAXIS_DIALOG_CONTENT_REGISTRY', 'PRAXIS_DIALOG_TEMPLATE_REGISTRY', 'content', 'componentId', 'inputs', 'data'],
|
|
@@ -3200,7 +3220,7 @@ const PRAXIS_DIALOG_AUTHORING_MANIFEST = {
|
|
|
3200
3220
|
title: 'Delegate operation to child manifest',
|
|
3201
3221
|
scope: 'templating',
|
|
3202
3222
|
targetKind: 'childHost',
|
|
3203
|
-
target: { kind: 'childHost', resolver: 'praxis-dialog-child-component-or-template-host', ambiguityPolicy: 'fail', required: true },
|
|
3223
|
+
target: { kind: 'childHost', resolver: 'praxis-dialog-child-component-or-template-host', resolutionSpec: dialogChildHostResolutionSpec, ambiguityPolicy: 'fail', required: true },
|
|
3204
3224
|
inputSchema: {
|
|
3205
3225
|
type: 'object',
|
|
3206
3226
|
required: ['childManifestComponentId', 'operationId', 'params'],
|
package/package.json
CHANGED
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@praxisui/dialog",
|
|
3
|
-
"version": "10.0.0-rc.
|
|
3
|
+
"version": "10.0.0-rc.46",
|
|
4
4
|
"description": "Dialog helpers and components for Praxis UI with Angular Material integration.",
|
|
5
5
|
"peerDependencies": {
|
|
6
6
|
"@angular/common": "^21.0.0",
|
|
7
7
|
"@angular/core": "^21.0.0",
|
|
8
8
|
"@angular/cdk": "^21.0.0",
|
|
9
9
|
"@angular/forms": "^21.0.0",
|
|
10
|
-
"@praxisui/core": "^10.0.0-rc.
|
|
10
|
+
"@praxisui/core": "^10.0.0-rc.46",
|
|
11
11
|
"@angular/material": "^21.0.0",
|
|
12
12
|
"@angular/platform-browser": "^21.0.0",
|
|
13
13
|
"rxjs": "~7.8.0"
|