@praxisui/dialog 10.0.0-rc.43 → 10.0.0-rc.45

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.
@@ -1,8 +1,8 @@
1
1
  {
2
2
  "schemaVersion": "1.0.0",
3
- "generatedAt": "2026-11-01T16:17:35.480Z",
3
+ "generatedAt": "2026-11-14T23:14:13.846Z",
4
4
  "packageName": "@praxisui/dialog",
5
- "packageVersion": "10.0.0-rc.43",
5
+ "packageVersion": "10.0.0-rc.45",
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": "78efb09293d910d567993777869d7af9b55288d946f79db021209ae8e53ff5a1",
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\"]},{\"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\"],\"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\"]}]}",
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": "baebffd420daa8a25f92f628142984b6998ac2c4dc969e304a6fe34946ff9961",
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": "8099bef9aa4665cd5e7c57081be9c478146f26e9f9cfd3df1bc86b7494c50a88",
1534
+ "contentHash": "68cd15ace44b83de96aa14e37faa49908d9f0296fb04a41f64ca575d346d8343",
1409
1535
  "sourceKind": "component_definition",
1410
1536
  "sourceId": "praxis-dialog",
1411
1537
  "corpusVersion": "1.0.0"
@@ -1579,16 +1579,51 @@ class PraxisQuickViewOverlayComponent {
1579
1579
  resolution = signal(null, ...(ngDevMode ? [{ debugName: "resolution" }] : /* istanbul ignore next */ []));
1580
1580
  bodyRenderer = signal(null, ...(ngDevMode ? [{ debugName: "bodyRenderer" }] : /* istanbul ignore next */ []));
1581
1581
  narrowModalMode = signal(false, ...(ngDevMode ? [{ debugName: "narrowModalMode" }] : /* istanbul ignore next */ []));
1582
+ copiedField = signal(null, ...(ngDevMode ? [{ debugName: "copiedField" }] : /* istanbul ignore next */ []));
1582
1583
  failedAvatarUrl = signal(null, ...(ngDevMode ? [{ debugName: "failedAvatarUrl" }] : /* istanbul ignore next */ []));
1584
+ copiedFeedbackTimer = null;
1583
1585
  pointerEnter = new EventEmitter();
1584
1586
  pointerLeave = new EventEmitter();
1585
1587
  openDetail = new EventEmitter();
1588
+ openSurface = new EventEmitter();
1586
1589
  copyValue = new EventEmitter();
1587
1590
  dismiss = new EventEmitter();
1588
1591
  dialogSurface;
1589
1592
  ctaButton;
1590
1593
  closeButton;
1591
1594
  summaryItems = computed(() => this.resolution()?.summaryItems ?? [], ...(ngDevMode ? [{ debugName: "summaryItems" }] : /* istanbul ignore next */ []));
1595
+ contextualActions = computed(() => this.resolution()?.contextualActions ?? [], ...(ngDevMode ? [{ debugName: "contextualActions" }] : /* istanbul ignore next */ []));
1596
+ headerKeyPart = computed(() => this.resolution()?.identity?.key ?? null, ...(ngDevMode ? [{ debugName: "headerKeyPart" }] : /* istanbul ignore next */ []));
1597
+ headerKeyBadgeText = computed(() => {
1598
+ const key = this.headerKeyPart();
1599
+ if (!key || key.value === null || key.value === undefined) {
1600
+ return null;
1601
+ }
1602
+ const raw = String(key.value).trim();
1603
+ if (!raw) {
1604
+ return null;
1605
+ }
1606
+ const res = this.resolution();
1607
+ const mainTitle = String(res?.identity?.title?.value ?? res?.title ?? '').trim();
1608
+ if (mainTitle && raw.toLowerCase() === mainTitle.toLowerCase()) {
1609
+ return null;
1610
+ }
1611
+ const prefix = key.presentation?.prefix ?? '';
1612
+ const suffix = key.presentation?.suffix ?? '';
1613
+ if (prefix || suffix) {
1614
+ return `${prefix}${raw}${suffix}`;
1615
+ }
1616
+ return /^\d+$/.test(raw) ? `#${raw}` : raw;
1617
+ }, ...(ngDevMode ? [{ debugName: "headerKeyBadgeText" }] : /* istanbul ignore next */ []));
1618
+ headerKeyTooltip = computed(() => {
1619
+ const key = this.headerKeyPart();
1620
+ const badge = this.headerKeyBadgeText();
1621
+ if (!key || !badge) {
1622
+ return null;
1623
+ }
1624
+ const label = typeof key.label === 'string' ? key.label.trim() : '';
1625
+ return label ? `${label}: ${badge}` : badge;
1626
+ }, ...(ngDevMode ? [{ debugName: "headerKeyTooltip" }] : /* istanbul ignore next */ []));
1592
1627
  headerIdentity = computed(() => {
1593
1628
  const identity = this.resolution()?.identity ?? null;
1594
1629
  if (!identity) {
@@ -1615,7 +1650,9 @@ class PraxisQuickViewOverlayComponent {
1615
1650
  }, ...(ngDevMode ? [{ debugName: "contextLabel" }] : /* istanbul ignore next */ []));
1616
1651
  hasContextEyebrow = computed(() => {
1617
1652
  const res = this.resolution();
1618
- return Boolean((res?.icon && res.icon.trim().length > 0) || this.contextLabel());
1653
+ return Boolean((res?.icon && res.icon.trim().length > 0) ||
1654
+ this.contextLabel() ||
1655
+ this.headerKeyBadgeText());
1619
1656
  }, ...(ngDevMode ? [{ debugName: "hasContextEyebrow" }] : /* istanbul ignore next */ []));
1620
1657
  safeAvatarUrl = computed(() => {
1621
1658
  const res = this.resolution();
@@ -1642,10 +1679,14 @@ class PraxisQuickViewOverlayComponent {
1642
1679
  }
1643
1680
  closeAriaLabel = computed(() => this.translate('quickView.closeAriaLabel', 'Fechar visualização rápida'), ...(ngDevMode ? [{ debugName: "closeAriaLabel" }] : /* istanbul ignore next */ []));
1644
1681
  copyButtonLabel = computed(() => this.translate('quickView.copyAction', 'Copiar'), ...(ngDevMode ? [{ debugName: "copyButtonLabel" }] : /* istanbul ignore next */ []));
1682
+ copiedLabel = computed(() => this.translate('quickView.copiedFeedback', 'Copiado'), ...(ngDevMode ? [{ debugName: "copiedLabel" }] : /* istanbul ignore next */ []));
1683
+ copySummaryLabel = computed(() => this.translate('quickView.copySummaryAction', 'Copiar resumo'), ...(ngDevMode ? [{ debugName: "copySummaryLabel" }] : /* istanbul ignore next */ []));
1684
+ summaryCopiedLabel = computed(() => this.translate('quickView.summaryCopiedFeedback', 'Resumo copiado'), ...(ngDevMode ? [{ debugName: "summaryCopiedLabel" }] : /* istanbul ignore next */ []));
1645
1685
  emptyStateLabel = computed(() => this.translate('quickView.emptyAttributes', 'Nenhum atributo resumido está disponível para este registro.'), ...(ngDevMode ? [{ debugName: "emptyStateLabel" }] : /* istanbul ignore next */ []));
1646
1686
  unavailableStateLabel = computed(() => this.translate('quickView.unavailableContext', 'Este resumo não está disponível para o seu contexto atual.'), ...(ngDevMode ? [{ debugName: "unavailableStateLabel" }] : /* istanbul ignore next */ []));
1647
1687
  errorStateLabel = computed(() => this.translate('quickView.loadError', 'Não foi possível carregar o resumo deste registro.'), ...(ngDevMode ? [{ debugName: "errorStateLabel" }] : /* istanbul ignore next */ []));
1648
1688
  defaultCtaLabel = computed(() => this.translate('quickView.openDetail', 'Abrir detalhe'), ...(ngDevMode ? [{ debugName: "defaultCtaLabel" }] : /* istanbul ignore next */ []));
1689
+ contextualActionsAriaLabel = computed(() => this.translate('quickView.contextualActionsAriaLabel', 'Ações rápidas do registro'), ...(ngDevMode ? [{ debugName: "contextualActionsAriaLabel" }] : /* istanbul ignore next */ []));
1649
1690
  maskedBadgeLabel = computed(() => this.translate('quickView.maskedBadge', 'LGPD'), ...(ngDevMode ? [{ debugName: "maskedBadgeLabel" }] : /* istanbul ignore next */ []));
1650
1691
  maskedFieldReasonLabel = computed(() => this.translate('quickView.maskedFieldReason', 'Dado protegido por política de governança / LGPD'), ...(ngDevMode ? [{ debugName: "maskedFieldReasonLabel" }] : /* istanbul ignore next */ []));
1651
1692
  accessibleLabel = computed(() => {
@@ -1678,10 +1719,56 @@ class PraxisQuickViewOverlayComponent {
1678
1719
  return renderer.buildInputs({
1679
1720
  resolution: res,
1680
1721
  onOpenDetail: () => this.openDetail.emit(),
1722
+ onOpenSurface: (surfaceId) => this.openSurface.emit(surfaceId),
1681
1723
  onCopyValue: (value, field) => this.copyValue.emit({ value, field }),
1682
1724
  onDismiss: () => this.dismiss.emit('programmatic'),
1683
1725
  });
1684
1726
  }, ...(ngDevMode ? [{ debugName: "customBodyInputs" }] : /* istanbul ignore next */ []));
1727
+ unmaskedCopyableItems = computed(() => this.summaryItems().filter((item) => Boolean(item.copyable && !item.masked && item.formattedValue?.trim())), ...(ngDevMode ? [{ debugName: "unmaskedCopyableItems" }] : /* istanbul ignore next */ []));
1728
+ canCopySummary = computed(() => !this.shouldUseCustomBodyRenderer() &&
1729
+ this.unmaskedCopyableItems().length > 0, ...(ngDevMode ? [{ debugName: "canCopySummary" }] : /* istanbul ignore next */ []));
1730
+ summaryClipboardText = computed(() => {
1731
+ const res = this.resolution();
1732
+ const items = this.unmaskedCopyableItems();
1733
+ if (!res || items.length === 0) {
1734
+ return '';
1735
+ }
1736
+ const lines = [];
1737
+ const context = this.contextLabel();
1738
+ const rawKey = String(res.identity?.key?.value ?? '').trim();
1739
+ const rawTitle = String(res.identity?.title?.value ?? res.title ?? '').trim();
1740
+ const isTitleMasked = rawTitle.includes('••') || rawTitle.includes('**');
1741
+ const safeTitle = isTitleMasked ? '' : rawTitle;
1742
+ const isKeyMasked = rawKey.includes('••') || rawKey.includes('**');
1743
+ const safeKey = isKeyMasked ? '' : rawKey;
1744
+ let headerLine = safeTitle;
1745
+ if (safeKey && safeTitle && safeKey !== safeTitle) {
1746
+ headerLine = `${safeTitle} (#${safeKey})`;
1747
+ }
1748
+ else if (safeKey && !safeTitle) {
1749
+ headerLine = `#${safeKey}`;
1750
+ }
1751
+ if (context && headerLine) {
1752
+ headerLine = `[${context}] ${headerLine}`;
1753
+ }
1754
+ else if (context) {
1755
+ headerLine = `[${context}]`;
1756
+ }
1757
+ if (headerLine) {
1758
+ lines.push(headerLine);
1759
+ }
1760
+ const subtitle = String(res.subtitle ?? '').trim();
1761
+ if (subtitle &&
1762
+ subtitle !== safeTitle &&
1763
+ !subtitle.includes('••') &&
1764
+ !subtitle.includes('**')) {
1765
+ lines.push(subtitle);
1766
+ }
1767
+ for (const item of items) {
1768
+ lines.push(`• ${item.label}: ${item.formattedValue}`);
1769
+ }
1770
+ return lines.join('\n');
1771
+ }, ...(ngDevMode ? [{ debugName: "summaryClipboardText" }] : /* istanbul ignore next */ []));
1685
1772
  focusInteractiveEntry() {
1686
1773
  const target = this.ctaButton?.nativeElement ??
1687
1774
  this.closeButton?.nativeElement ??
@@ -1699,20 +1786,56 @@ class PraxisQuickViewOverlayComponent {
1699
1786
  }
1700
1787
  }
1701
1788
  isBadgeOrChip(item) {
1789
+ if (item.masked) {
1790
+ return false;
1791
+ }
1702
1792
  const presenter = item.presentation?.presenter;
1703
- return presenter === 'badge' || presenter === 'chip';
1793
+ return (presenter === 'badge' ||
1794
+ presenter === 'chip' ||
1795
+ presenter === 'status' ||
1796
+ Boolean(item.tone && item.tone !== 'neutral'));
1704
1797
  }
1705
1798
  onCopyItem(item) {
1706
1799
  if (!item.formattedValue || item.masked) {
1707
1800
  return;
1708
1801
  }
1802
+ this.markCopiedField(item.field);
1709
1803
  this.copyValue.emit({
1710
1804
  value: item.formattedValue,
1711
1805
  field: item.field,
1712
1806
  });
1713
1807
  }
1808
+ onCopySummary() {
1809
+ const summaryText = this.summaryClipboardText();
1810
+ if (!summaryText) {
1811
+ return;
1812
+ }
1813
+ this.markCopiedField('__summary__');
1814
+ this.copyValue.emit({
1815
+ value: summaryText,
1816
+ field: '__summary__',
1817
+ });
1818
+ }
1819
+ markCopiedField(field) {
1820
+ this.copiedField.set(field);
1821
+ if (this.copiedFeedbackTimer !== null) {
1822
+ clearTimeout(this.copiedFeedbackTimer);
1823
+ }
1824
+ this.copiedFeedbackTimer = setTimeout(() => {
1825
+ if (this.copiedField() === field) {
1826
+ this.copiedField.set(null);
1827
+ }
1828
+ this.copiedFeedbackTimer = null;
1829
+ }, 1800);
1830
+ }
1831
+ ngOnDestroy() {
1832
+ if (this.copiedFeedbackTimer !== null) {
1833
+ clearTimeout(this.copiedFeedbackTimer);
1834
+ this.copiedFeedbackTimer = null;
1835
+ }
1836
+ }
1714
1837
  static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.14", ngImport: i0, type: PraxisQuickViewOverlayComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
1715
- static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "21.2.14", type: PraxisQuickViewOverlayComponent, isStandalone: true, selector: "praxis-quick-view-overlay", outputs: { pointerEnter: "pointerEnter", pointerLeave: "pointerLeave", openDetail: "openDetail", copyValue: "copyValue", dismiss: "dismiss" }, viewQueries: [{ propertyName: "dialogSurface", first: true, predicate: ["dialogSurface"], descendants: true }, { propertyName: "ctaButton", first: true, predicate: ["ctaButton"], descendants: true }, { propertyName: "closeButton", first: true, predicate: ["closeButton"], descendants: true }], ngImport: i0, template: `
1838
+ static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "21.2.14", type: PraxisQuickViewOverlayComponent, isStandalone: true, selector: "praxis-quick-view-overlay", outputs: { pointerEnter: "pointerEnter", pointerLeave: "pointerLeave", openDetail: "openDetail", openSurface: "openSurface", copyValue: "copyValue", dismiss: "dismiss" }, viewQueries: [{ propertyName: "dialogSurface", first: true, predicate: ["dialogSurface"], descendants: true }, { propertyName: "ctaButton", first: true, predicate: ["ctaButton"], descendants: true }, { propertyName: "closeButton", first: true, predicate: ["closeButton"], descendants: true }], ngImport: i0, template: `
1716
1839
  <section
1717
1840
  #dialogSurface
1718
1841
  class="pdx-quick-view"
@@ -1752,6 +1875,15 @@ class PraxisQuickViewOverlayComponent {
1752
1875
  @if (contextLabel(); as label) {
1753
1876
  <span class="pdx-quick-view__context-label">{{ label }}</span>
1754
1877
  }
1878
+ @if (headerKeyBadgeText(); as keyBadge) {
1879
+ <span
1880
+ class="pdx-quick-view__context-key"
1881
+ data-testid="quick-view-key-badge"
1882
+ [attr.title]="headerKeyTooltip()"
1883
+ >
1884
+ {{ keyBadge }}
1885
+ </span>
1886
+ }
1755
1887
  </div>
1756
1888
  }
1757
1889
  @if (headerIdentity(); as identity) {
@@ -1759,6 +1891,7 @@ class PraxisQuickViewOverlayComponent {
1759
1891
  [identity]="identity"
1760
1892
  [emptyTitle]="resolution()?.title || ''"
1761
1893
  density="compact"
1894
+ [showKey]="false"
1762
1895
  [showMetadataLabels]="false"
1763
1896
  />
1764
1897
  } @else {
@@ -1801,12 +1934,23 @@ class PraxisQuickViewOverlayComponent {
1801
1934
  <dl class="pdx-quick-view__summary-list" data-testid="quick-view-summary-list">
1802
1935
  @for (item of summaryItems(); track item.field) {
1803
1936
  <div class="pdx-quick-view__summary-item">
1804
- <dt class="pdx-quick-view__summary-label">{{ item.label }}</dt>
1937
+ <dt class="pdx-quick-view__summary-label">
1938
+ @if (item.icon; as itemIcon) {
1939
+ <mat-icon
1940
+ class="pdx-quick-view__summary-label-icon"
1941
+ data-testid="quick-view-summary-item-icon"
1942
+ [praxisIcon]="itemIcon"
1943
+ aria-hidden="true"
1944
+ ></mat-icon>
1945
+ }
1946
+ <span class="pdx-quick-view__summary-label-text">{{ item.label }}</span>
1947
+ </dt>
1805
1948
  <dd class="pdx-quick-view__summary-value-wrap">
1806
1949
  <span
1807
1950
  class="pdx-quick-view__summary-value"
1808
1951
  [class.pdx-quick-view__summary-value--badge]="isBadgeOrChip(item)"
1809
1952
  [class.pdx-quick-view__summary-value--masked]="item.masked"
1953
+ [attr.data-tone]="item.tone || null"
1810
1954
  [attr.title]="(item.masked ? (item.maskReason || maskedFieldReasonLabel()) : item.formattedValue) || null"
1811
1955
  >
1812
1956
  {{ item.formattedValue }}
@@ -1837,10 +1981,42 @@ class PraxisQuickViewOverlayComponent {
1837
1981
  <button
1838
1982
  type="button"
1839
1983
  class="pdx-quick-view__copy-btn"
1984
+ [attr.data-copied]="copiedField() === item.field ? 'true' : null"
1985
+ [attr.title]="(copiedField() === item.field ? copiedLabel() : copyButtonLabel()) + ' ' + item.label"
1840
1986
  [attr.aria-label]="copyButtonLabel() + ' ' + item.label"
1841
1987
  (click)="onCopyItem(item)"
1842
1988
  >
1843
- {{ copyButtonLabel() }}
1989
+ @if (copiedField() === item.field) {
1990
+ <svg
1991
+ class="pdx-quick-view__copy-icon"
1992
+ viewBox="0 0 16 16"
1993
+ fill="none"
1994
+ stroke="currentColor"
1995
+ stroke-width="1.8"
1996
+ stroke-linecap="round"
1997
+ stroke-linejoin="round"
1998
+ aria-hidden="true"
1999
+ >
2000
+ <path d="M3.5 8.5L6.5 11.5L12.5 4.5" />
2001
+ </svg>
2002
+ } @else {
2003
+ <svg
2004
+ class="pdx-quick-view__copy-icon"
2005
+ viewBox="0 0 16 16"
2006
+ fill="none"
2007
+ stroke="currentColor"
2008
+ stroke-width="1.5"
2009
+ stroke-linecap="round"
2010
+ stroke-linejoin="round"
2011
+ aria-hidden="true"
2012
+ >
2013
+ <rect x="5.5" y="5.5" width="8" height="8" rx="1.5" />
2014
+ <path d="M3.5 10.5H3a1.5 1.5 0 0 1-1.5-1.5V3A1.5 1.5 0 0 1 3 1.5h6A1.5 1.5 0 0 1 10.5 3v.5" />
2015
+ </svg>
2016
+ }
2017
+ <span class="pdx-quick-view__sr-only">
2018
+ {{ copiedField() === item.field ? copiedLabel() : copyButtonLabel() }}
2019
+ </span>
1844
2020
  </button>
1845
2021
  }
1846
2022
  </dd>
@@ -1868,21 +2044,92 @@ class PraxisQuickViewOverlayComponent {
1868
2044
  }
1869
2045
  </div>
1870
2046
 
1871
- @if (resolution()?.state === 'ready' && resolution()?.ctaAvailable) {
2047
+ @if (resolution()?.state === 'ready' && contextualActions().length > 0) {
2048
+ <div
2049
+ class="pdx-quick-view__contextual-actions"
2050
+ data-testid="quick-view-contextual-actions"
2051
+ role="group"
2052
+ [attr.aria-label]="contextualActionsAriaLabel()"
2053
+ >
2054
+ @for (action of contextualActions(); track action.surfaceId) {
2055
+ <button
2056
+ type="button"
2057
+ class="pdx-quick-view__contextual-btn"
2058
+ [attr.data-surface-id]="action.surfaceId"
2059
+ [attr.data-surface-kind]="action.kind || null"
2060
+ [attr.title]="action.description || action.title"
2061
+ (click)="openSurface.emit(action.surfaceId)"
2062
+ >
2063
+ @if (action.icon; as actionIcon) {
2064
+ <mat-icon
2065
+ class="pdx-quick-view__contextual-icon"
2066
+ [praxisIcon]="actionIcon"
2067
+ aria-hidden="true"
2068
+ ></mat-icon>
2069
+ }
2070
+ <span class="pdx-quick-view__contextual-label">{{ action.title }}</span>
2071
+ </button>
2072
+ }
2073
+ </div>
2074
+ }
2075
+
2076
+ @if (resolution()?.state === 'ready' && (resolution()?.ctaAvailable || canCopySummary())) {
1872
2077
  <footer class="pdx-quick-view__footer">
1873
- <button
1874
- #ctaButton
1875
- type="button"
1876
- class="pdx-quick-view__cta"
1877
- data-testid="quick-view-open-detail"
1878
- (click)="openDetail.emit()"
1879
- >
1880
- {{ resolution()?.ctaLabel || defaultCtaLabel() }}
1881
- </button>
2078
+ @if (canCopySummary()) {
2079
+ <button
2080
+ type="button"
2081
+ class="pdx-quick-view__copy-summary-btn"
2082
+ data-testid="quick-view-copy-summary"
2083
+ [attr.data-copied]="copiedField() === '__summary__' ? 'true' : null"
2084
+ [attr.aria-label]="copiedField() === '__summary__' ? summaryCopiedLabel() : copySummaryLabel()"
2085
+ (click)="onCopySummary()"
2086
+ >
2087
+ @if (copiedField() === '__summary__') {
2088
+ <svg
2089
+ class="pdx-quick-view__copy-icon"
2090
+ viewBox="0 0 16 16"
2091
+ fill="none"
2092
+ stroke="currentColor"
2093
+ stroke-width="1.8"
2094
+ stroke-linecap="round"
2095
+ stroke-linejoin="round"
2096
+ aria-hidden="true"
2097
+ >
2098
+ <path d="M3.5 8.5L6.5 11.5L12.5 4.5" />
2099
+ </svg>
2100
+ } @else {
2101
+ <svg
2102
+ class="pdx-quick-view__copy-icon"
2103
+ viewBox="0 0 16 16"
2104
+ fill="none"
2105
+ stroke="currentColor"
2106
+ stroke-width="1.5"
2107
+ stroke-linecap="round"
2108
+ stroke-linejoin="round"
2109
+ aria-hidden="true"
2110
+ >
2111
+ <rect x="5.5" y="5.5" width="8" height="8" rx="1.5" />
2112
+ <path d="M3.5 10.5H3a1.5 1.5 0 0 1-1.5-1.5V3A1.5 1.5 0 0 1 3 1.5h6A1.5 1.5 0 0 1 10.5 3v.5" />
2113
+ </svg>
2114
+ }
2115
+ <span>{{ copiedField() === '__summary__' ? summaryCopiedLabel() : copySummaryLabel() }}</span>
2116
+ </button>
2117
+ }
2118
+ @if (resolution()?.ctaAvailable) {
2119
+ <button
2120
+ #ctaButton
2121
+ type="button"
2122
+ class="pdx-quick-view__cta"
2123
+ data-testid="quick-view-open-detail"
2124
+ (click)="openDetail.emit()"
2125
+ >
2126
+ {{ resolution()?.ctaLabel || defaultCtaLabel() }}
2127
+ </button>
2128
+ }
1882
2129
  </footer>
1883
2130
  }
1884
2131
  </section>
1885
- `, isInline: true, styles: [":host{display:block;max-width:min(26rem,calc(100vw - 1.5rem));min-width:min(20rem,calc(100vw - 1.5rem));box-sizing:border-box}.pdx-quick-view{box-sizing:border-box;display:grid;grid-template-columns:minmax(0,1fr);gap:.625rem;padding:.875rem 1rem;border-radius:var(--pdx-quick-view-radius, .75rem);background:var( --pdx-quick-view-bg, var(--md-sys-color-surface-container-high, var(--mat-sys-surface-container-high)) );color:var(--md-sys-color-on-surface, var(--mat-sys-on-surface));border:1px solid color-mix(in srgb,var(--md-sys-color-outline, var(--mat-sys-outline)) 36%,var(--md-sys-color-outline-variant, var(--mat-sys-outline-variant)));box-shadow:var( --pdx-quick-view-shadow, 0 18px 38px -6px color-mix(in srgb, var(--md-sys-color-shadow, #000000) 32%, transparent), 0 6px 16px -4px color-mix(in srgb, var(--md-sys-color-shadow, #000000) 18%, transparent) );outline:none;overflow:hidden}.pdx-quick-view--narrow{width:calc(100vw - 1.5rem);max-width:28rem;border-radius:var(--pdx-quick-view-narrow-radius, 1rem);padding:.75rem 1rem 1rem}.pdx-quick-view--narrow:before{content:\"\";display:block;width:2.25rem;height:.25rem;margin:0 auto .25rem;border-radius:999px;background:color-mix(in srgb,var(--md-sys-color-on-surface-variant, var(--mat-sys-on-surface-variant)) 32%,transparent)}.pdx-quick-view__header{display:flex;align-items:flex-start;justify-content:space-between;gap:.75rem;min-width:0;padding-bottom:.5rem;border-bottom:1px solid color-mix(in srgb,var(--md-sys-color-outline-variant, var(--mat-sys-outline-variant)) 55%,transparent)}.pdx-quick-view__avatar-wrap{flex:0 0 auto;width:2.5rem;height:2.5rem;border-radius:999px;overflow:hidden;background:color-mix(in srgb,var(--md-sys-color-primary, var(--mat-sys-primary)) 12%,transparent);border:1px solid color-mix(in srgb,var(--md-sys-color-outline-variant, var(--mat-sys-outline-variant)) 60%,transparent);display:inline-flex;align-items:center;justify-content:center}.pdx-quick-view__avatar-img{width:100%;height:100%;object-fit:cover;display:block}.pdx-quick-view__heading{min-width:0;flex:1 1 auto;display:grid;gap:.25rem}.pdx-quick-view__context{display:inline-flex;align-items:center;gap:.375rem;min-width:0;margin-bottom:.0625rem}.pdx-quick-view__context-icon-badge{flex:0 0 auto;display:inline-flex;align-items:center;justify-content:center;width:1.25rem;height:1.25rem;border-radius:.3125rem;background:color-mix(in srgb,var(--md-sys-color-primary, var(--mat-sys-primary)) 14%,transparent);color:var(--md-sys-color-primary, var(--mat-sys-primary))}.pdx-quick-view__context-icon{width:.875rem;height:.875rem;font-size:.875rem;line-height:1}.pdx-quick-view__context-label{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:.6875rem;font-weight:700;letter-spacing:.04em;text-transform:uppercase;color:var(--md-sys-color-primary, var(--mat-sys-primary))}.pdx-quick-view__title{margin:0;font-size:.9375rem;font-weight:600;line-height:1.35;color:var(--md-sys-color-on-surface, var(--mat-sys-on-surface));overflow-wrap:anywhere}.pdx-quick-view__subtitle{margin:.25rem 0 0;font-size:.75rem;line-height:1.35;color:var(--md-sys-color-on-surface-variant, var(--mat-sys-on-surface-variant))}.pdx-quick-view__close{flex:0 0 auto;display:inline-flex;align-items:center;justify-content:center;width:1.75rem;height:1.75rem;border:none;border-radius:.375rem;background:transparent;color:var(--md-sys-color-on-surface-variant, var(--mat-sys-on-surface-variant));font-size:1.125rem;line-height:1;cursor:pointer;transition:background-color .14s ease,color .14s ease}.pdx-quick-view__close:hover{background:color-mix(in srgb,var(--md-sys-color-on-surface, var(--mat-sys-on-surface)) 8%,transparent);color:var(--md-sys-color-on-surface, var(--mat-sys-on-surface))}.pdx-quick-view__close:focus-visible{outline:2px solid var(--md-sys-color-primary, var(--mat-sys-primary));outline-offset:2px;background:color-mix(in srgb,var(--md-sys-color-on-surface, var(--mat-sys-on-surface)) 8%,transparent);color:var(--md-sys-color-on-surface, var(--mat-sys-on-surface))}.pdx-quick-view__body{min-width:0}.pdx-quick-view__summary-list{margin:0;display:grid;grid-template-columns:minmax(0,1fr);gap:.4375rem;min-width:0}.pdx-quick-view__summary-item{display:flex;align-items:center;justify-content:space-between;gap:.625rem;min-width:0;font-size:.8125rem;line-height:1.35}.pdx-quick-view__summary-label{color:var(--md-sys-color-on-surface-variant, var(--mat-sys-on-surface-variant));font-weight:500;flex:0 0 auto;max-width:42%;overflow-wrap:anywhere}.pdx-quick-view__summary-value-wrap{margin:0;flex:1 1 auto;display:inline-flex;align-items:center;justify-content:flex-end;gap:.375rem;min-width:0;text-align:right}.pdx-quick-view__summary-value{min-width:0;color:var(--md-sys-color-on-surface, var(--mat-sys-on-surface));font-weight:600;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.pdx-quick-view__summary-value--badge{padding:.125rem .5rem;border-radius:999px;background:color-mix(in srgb,var(--md-sys-color-primary, var(--mat-sys-primary)) 14%,transparent);color:var(--md-sys-color-primary, var(--mat-sys-primary));font-size:.75rem;font-weight:600}.pdx-quick-view__summary-value--masked{font-family:ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,monospace;letter-spacing:.04em;color:var(--md-sys-color-on-surface-variant, var(--mat-sys-on-surface-variant))}.pdx-quick-view__masked-badge{display:inline-flex;align-items:center;gap:.25rem;flex:0 0 auto;padding:.0625rem .375rem;border-radius:999px;border:1px solid color-mix(in srgb,var(--md-sys-color-tertiary, var(--mat-sys-tertiary, #d97706)) 42%,transparent);background:color-mix(in srgb,var(--md-sys-color-tertiary, var(--mat-sys-tertiary, #d97706)) 12%,transparent);color:var(--md-sys-color-tertiary, var(--mat-sys-tertiary, #d97706));font-size:.6875rem;font-weight:600;line-height:1.2}.pdx-quick-view__masked-icon{width:.75rem;height:.75rem;flex:0 0 auto}.pdx-quick-view__copy-btn{flex:0 0 auto;white-space:nowrap;border:1px solid color-mix(in srgb,var(--md-sys-color-outline-variant, var(--mat-sys-outline-variant)) 70%,transparent);background:color-mix(in srgb,var(--md-sys-color-surface-container, var(--mat-sys-surface-container)) 65%,transparent);color:var(--md-sys-color-on-surface-variant, var(--mat-sys-on-surface-variant));border-radius:.25rem;padding:.0625rem .375rem;font-size:.6875rem;font-weight:500;opacity:.78;cursor:pointer;transition:opacity .14s ease,background-color .14s ease,color .14s ease,border-color .14s ease}.pdx-quick-view__summary-item:hover .pdx-quick-view__copy-btn,.pdx-quick-view__copy-btn:focus-visible{opacity:1}.pdx-quick-view__copy-btn:hover{background:color-mix(in srgb,var(--md-sys-color-primary, var(--mat-sys-primary)) 10%,transparent);color:var(--md-sys-color-primary, var(--mat-sys-primary));border-color:color-mix(in srgb,var(--md-sys-color-primary, var(--mat-sys-primary)) 40%,transparent)}.pdx-quick-view__copy-btn:focus-visible{outline:2px solid var(--md-sys-color-primary, var(--mat-sys-primary));outline-offset:2px}.pdx-quick-view__feedback{margin:0;font-size:.8125rem;line-height:1.4;color:var(--md-sys-color-on-surface-variant, var(--mat-sys-on-surface-variant))}.pdx-quick-view__feedback--error{color:var(--md-sys-color-error, var(--mat-sys-error))}.pdx-quick-view__skeleton{display:grid;gap:.4375rem;padding:.125rem 0}.pdx-quick-view__skeleton-line{height:.75rem;border-radius:.25rem;background:color-mix(in srgb,var(--md-sys-color-on-surface, var(--mat-sys-on-surface)) 12%,transparent);width:75%}.pdx-quick-view__skeleton-line--wide{width:92%}.pdx-quick-view__skeleton-line--short{width:52%}.pdx-quick-view__footer{display:flex;justify-content:flex-end;padding-top:.5rem;border-top:1px solid color-mix(in srgb,var(--md-sys-color-outline-variant, var(--mat-sys-outline-variant)) 65%,transparent)}.pdx-quick-view__cta{display:inline-flex;align-items:center;justify-content:center;gap:.375rem;padding:.375rem .8125rem;border-radius:.375rem;border:none;background:var(--md-sys-color-primary, var(--mat-sys-primary));color:var(--md-sys-color-on-primary, var(--mat-sys-on-primary));font-size:.8125rem;font-weight:600;cursor:pointer;transition:filter .14s ease,box-shadow .14s ease}.pdx-quick-view__cta:hover{filter:brightness(1.06)}.pdx-quick-view__cta:focus-visible{outline:2px solid var(--md-sys-color-primary, var(--mat-sys-primary));outline-offset:2px}.pdx-quick-view--narrow .pdx-quick-view__cta{width:100%;padding:.5rem .875rem}\n"], dependencies: [{ kind: "ngmodule", type: CommonModule }, { kind: "directive", type: i1.NgComponentOutlet, selector: "[ngComponentOutlet]", inputs: ["ngComponentOutlet", "ngComponentOutletInputs", "ngComponentOutletInjector", "ngComponentOutletEnvironmentInjector", "ngComponentOutletContent", "ngComponentOutletNgModule"], exportAs: ["ngComponentOutlet"] }, { kind: "ngmodule", type: MatIconModule }, { kind: "component", type: i4.MatIcon, selector: "mat-icon", inputs: ["color", "inline", "svgIcon", "fontSet", "fontIcon"], exportAs: ["matIcon"] }, { kind: "directive", type: PraxisIconDirective, selector: "mat-icon[praxisIcon]", inputs: ["praxisIcon"] }, { kind: "component", type: PraxisResourceIdentityComponent, selector: "praxis-resource-identity", inputs: ["identity", "emptyTitle", "density", "showMetadataLabels", "showKey", "showKeyLabel", "ariaLabel"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush });
2132
+ `, isInline: true, styles: [":host{display:block;max-width:min(26rem,calc(100vw - 1.5rem));min-width:min(20rem,calc(100vw - 1.5rem));box-sizing:border-box}.pdx-quick-view{box-sizing:border-box;display:grid;grid-template-columns:minmax(0,1fr);gap:.625rem;padding:.875rem 1rem;border-radius:var(--pdx-quick-view-radius, .75rem);background:var( --pdx-quick-view-bg, var(--md-sys-color-surface-container-high, var(--mat-sys-surface-container-high)) );color:var(--md-sys-color-on-surface, var(--mat-sys-on-surface));border:1px solid color-mix(in srgb,var(--md-sys-color-outline, var(--mat-sys-outline)) 36%,var(--md-sys-color-outline-variant, var(--mat-sys-outline-variant)));box-shadow:var( --pdx-quick-view-shadow, 0 18px 38px -6px color-mix(in srgb, var(--md-sys-color-shadow, #000000) 32%, transparent), 0 6px 16px -4px color-mix(in srgb, var(--md-sys-color-shadow, #000000) 18%, transparent) );outline:none;overflow:hidden}.pdx-quick-view--narrow{width:calc(100vw - 1.5rem);max-width:28rem;border-radius:var(--pdx-quick-view-narrow-radius, 1rem);padding:.75rem 1rem 1rem}.pdx-quick-view--narrow:before{content:\"\";display:block;width:2.25rem;height:.25rem;margin:0 auto .25rem;border-radius:999px;background:color-mix(in srgb,var(--md-sys-color-on-surface-variant, var(--mat-sys-on-surface-variant)) 32%,transparent)}.pdx-quick-view__header{display:flex;align-items:flex-start;justify-content:space-between;gap:.75rem;min-width:0;padding-bottom:.5rem;border-bottom:1px solid color-mix(in srgb,var(--md-sys-color-outline-variant, var(--mat-sys-outline-variant)) 55%,transparent)}.pdx-quick-view__avatar-wrap{flex:0 0 auto;width:2.5rem;height:2.5rem;border-radius:999px;overflow:hidden;background:color-mix(in srgb,var(--md-sys-color-primary, var(--mat-sys-primary)) 12%,transparent);border:1px solid color-mix(in srgb,var(--md-sys-color-outline-variant, var(--mat-sys-outline-variant)) 60%,transparent);display:inline-flex;align-items:center;justify-content:center}.pdx-quick-view__avatar-img{width:100%;height:100%;object-fit:cover;display:block}.pdx-quick-view__heading{min-width:0;flex:1 1 auto;display:grid;gap:.1875rem}.pdx-quick-view__heading praxis-resource-identity{--pdx-resource-identity-title-font: 700 1.03125rem/1.32 var(--md-sys-typescale-title-medium-font-family, inherit);--pdx-resource-identity-title-wrap: normal}.pdx-quick-view__context{display:inline-flex;align-items:center;flex-wrap:wrap;gap:.375rem;min-width:0;margin-bottom:.125rem}.pdx-quick-view__context-icon-badge{flex:0 0 auto;display:inline-flex;align-items:center;justify-content:center;width:1.25rem;height:1.25rem;border-radius:.3125rem;background:color-mix(in srgb,var(--md-sys-color-primary, var(--mat-sys-primary)) 14%,transparent);color:var(--md-sys-color-primary, var(--mat-sys-primary))}.pdx-quick-view__context-icon{width:.875rem;height:.875rem;font-size:.875rem;line-height:1}.pdx-quick-view__context-label{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:.6875rem;font-weight:700;letter-spacing:.04em;text-transform:uppercase;color:var(--md-sys-color-primary, var(--mat-sys-primary))}.pdx-quick-view__context-key{flex:0 0 auto;display:inline-flex;align-items:center;padding:.0625rem .4375rem;border-radius:999px;font-family:ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,monospace;font-size:.6875rem;font-weight:700;line-height:1.25;letter-spacing:.02em;background:color-mix(in srgb,var(--md-sys-color-primary, var(--mat-sys-primary)) 12%,transparent);color:var(--md-sys-color-primary, var(--mat-sys-primary));border:1px solid color-mix(in srgb,var(--md-sys-color-primary, var(--mat-sys-primary)) 26%,transparent)}.pdx-quick-view__title{margin:0;font-size:1.03125rem;font-weight:700;line-height:1.32;color:var(--md-sys-color-on-surface, var(--mat-sys-on-surface));overflow-wrap:anywhere}.pdx-quick-view__subtitle{margin:.0625rem 0 0;font-size:.8125rem;font-weight:500;line-height:1.35;color:var(--md-sys-color-on-surface-variant, var(--mat-sys-on-surface-variant))}.pdx-quick-view__close{flex:0 0 auto;display:inline-flex;align-items:center;justify-content:center;width:1.75rem;height:1.75rem;border:none;border-radius:.375rem;background:transparent;color:var(--md-sys-color-on-surface-variant, var(--mat-sys-on-surface-variant));font-size:1.125rem;line-height:1;cursor:pointer;transition:background-color .14s ease,color .14s ease}.pdx-quick-view__close:hover{background:color-mix(in srgb,var(--md-sys-color-on-surface, var(--mat-sys-on-surface)) 8%,transparent);color:var(--md-sys-color-on-surface, var(--mat-sys-on-surface))}.pdx-quick-view__close:focus-visible{outline:2px solid var(--md-sys-color-primary, var(--mat-sys-primary));outline-offset:2px;background:color-mix(in srgb,var(--md-sys-color-on-surface, var(--mat-sys-on-surface)) 8%,transparent);color:var(--md-sys-color-on-surface, var(--mat-sys-on-surface))}.pdx-quick-view__body{min-width:0}.pdx-quick-view__summary-list{margin:0;display:grid;grid-template-columns:minmax(0,1fr);gap:.4375rem;min-width:0}.pdx-quick-view__summary-item{display:flex;align-items:center;justify-content:space-between;gap:.625rem;min-width:0;font-size:.8125rem;line-height:1.35}.pdx-quick-view__summary-label{color:var(--md-sys-color-on-surface-variant, var(--mat-sys-on-surface-variant));font-weight:500;flex:0 0 auto;max-width:44%;display:inline-flex;align-items:center;gap:.3125rem;overflow-wrap:anywhere}.pdx-quick-view__summary-label-icon{flex:0 0 auto;width:.875rem;height:.875rem;font-size:.875rem;line-height:1;opacity:.78}.pdx-quick-view__summary-label-text{min-width:0}.pdx-quick-view__summary-value-wrap{margin:0;flex:1 1 auto;display:inline-flex;align-items:center;justify-content:flex-end;gap:.375rem;min-width:0;text-align:right}.pdx-quick-view__summary-value{min-width:0;color:var(--md-sys-color-on-surface, var(--mat-sys-on-surface));font-weight:600;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.pdx-quick-view__summary-value--badge{padding:.125rem .5rem;border-radius:999px;background:color-mix(in srgb,var(--md-sys-color-primary, var(--mat-sys-primary)) 14%,transparent);color:var(--md-sys-color-primary, var(--mat-sys-primary));font-size:.75rem;font-weight:600}.pdx-quick-view__summary-value--badge[data-tone=success]{background:color-mix(in srgb,#16a34a 15%,transparent);color:#15803d}.pdx-quick-view__summary-value--badge[data-tone=warning]{background:color-mix(in srgb,#d97706 16%,transparent);color:#b45309}.pdx-quick-view__summary-value--badge[data-tone=danger],.pdx-quick-view__summary-value--badge[data-tone=error]{background:color-mix(in srgb,var(--md-sys-color-error, var(--mat-sys-error, #dc2626)) 15%,transparent);color:var(--md-sys-color-error, var(--mat-sys-error, #dc2626))}.pdx-quick-view__summary-value--masked{font-family:ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,monospace;letter-spacing:.04em;color:var(--md-sys-color-on-surface-variant, var(--mat-sys-on-surface-variant))}.pdx-quick-view__masked-badge{display:inline-flex;align-items:center;gap:.25rem;flex:0 0 auto;padding:.0625rem .375rem;border-radius:999px;border:1px solid color-mix(in srgb,var(--md-sys-color-tertiary, var(--mat-sys-tertiary, #d97706)) 42%,transparent);background:color-mix(in srgb,var(--md-sys-color-tertiary, var(--mat-sys-tertiary, #d97706)) 12%,transparent);color:var(--md-sys-color-tertiary, var(--mat-sys-tertiary, #d97706));font-size:.6875rem;font-weight:600;line-height:1.2}.pdx-quick-view__masked-icon{width:.75rem;height:.75rem;flex:0 0 auto}.pdx-quick-view__copy-btn{flex:0 0 auto;display:inline-flex;align-items:center;justify-content:center;width:1.5rem;height:1.5rem;padding:0;border:1px solid transparent;background:transparent;color:var(--md-sys-color-on-surface-variant, var(--mat-sys-on-surface-variant));border-radius:.3125rem;opacity:0;cursor:pointer;transition:opacity .14s ease,background-color .14s ease,color .14s ease,border-color .14s ease}.pdx-quick-view--narrow .pdx-quick-view__copy-btn,.pdx-quick-view__summary-item:hover .pdx-quick-view__copy-btn,.pdx-quick-view__summary-item:focus-within .pdx-quick-view__copy-btn,.pdx-quick-view__copy-btn:focus-visible,.pdx-quick-view__copy-btn[data-copied=true]{opacity:1}.pdx-quick-view__copy-btn:hover{background:color-mix(in srgb,var(--md-sys-color-primary, var(--mat-sys-primary)) 12%,transparent);color:var(--md-sys-color-primary, var(--mat-sys-primary));border-color:color-mix(in srgb,var(--md-sys-color-primary, var(--mat-sys-primary)) 35%,transparent)}.pdx-quick-view__copy-btn[data-copied=true]{background:color-mix(in srgb,#16a34a 15%,transparent);color:#15803d;border-color:color-mix(in srgb,#16a34a 38%,transparent)}.pdx-quick-view__copy-btn:focus-visible{outline:2px solid var(--md-sys-color-primary, var(--mat-sys-primary));outline-offset:2px}.pdx-quick-view__copy-icon{width:.875rem;height:.875rem;flex:0 0 auto}.pdx-quick-view__sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}.pdx-quick-view__feedback{margin:0;font-size:.8125rem;line-height:1.4;color:var(--md-sys-color-on-surface-variant, var(--mat-sys-on-surface-variant))}.pdx-quick-view__feedback--error{color:var(--md-sys-color-error, var(--mat-sys-error))}.pdx-quick-view__skeleton{display:grid;gap:.4375rem;padding:.125rem 0}.pdx-quick-view__skeleton-line{height:.75rem;border-radius:.25rem;background:color-mix(in srgb,var(--md-sys-color-on-surface, var(--mat-sys-on-surface)) 12%,transparent);width:75%}.pdx-quick-view__skeleton-line--wide{width:92%}.pdx-quick-view__skeleton-line--short{width:52%}.pdx-quick-view__contextual-actions{display:flex;align-items:center;flex-wrap:wrap;gap:.375rem;padding-top:.4375rem;border-top:1px dashed color-mix(in srgb,var(--md-sys-color-outline-variant, var(--mat-sys-outline-variant)) 60%,transparent)}.pdx-quick-view__contextual-btn{display:inline-flex;align-items:center;gap:.25rem;min-width:0;max-width:100%;padding:.25rem .5625rem;border-radius:999px;border:1px solid color-mix(in srgb,var(--md-sys-color-outline-variant, var(--mat-sys-outline-variant)) 85%,transparent);background:color-mix(in srgb,var(--md-sys-color-surface-container, var(--mat-sys-surface-container)) 78%,transparent);color:var(--md-sys-color-on-surface, var(--mat-sys-on-surface));font-size:.71875rem;font-weight:600;line-height:1.25;cursor:pointer;transition:background-color .14s ease,color .14s ease,border-color .14s ease}.pdx-quick-view__contextual-btn:hover{background:color-mix(in srgb,var(--md-sys-color-primary, var(--mat-sys-primary)) 12%,transparent);color:var(--md-sys-color-primary, var(--mat-sys-primary));border-color:color-mix(in srgb,var(--md-sys-color-primary, var(--mat-sys-primary)) 40%,transparent)}.pdx-quick-view__contextual-btn:focus-visible{outline:2px solid var(--md-sys-color-primary, var(--mat-sys-primary));outline-offset:2px}.pdx-quick-view__contextual-icon{flex:0 0 auto;width:.8125rem;height:.8125rem;font-size:.8125rem;line-height:1}.pdx-quick-view__contextual-label{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.pdx-quick-view__footer{display:flex;align-items:center;justify-content:space-between;gap:.5rem;padding-top:.5rem;border-top:1px solid color-mix(in srgb,var(--md-sys-color-outline-variant, var(--mat-sys-outline-variant)) 65%,transparent)}.pdx-quick-view__copy-summary-btn{display:inline-flex;align-items:center;justify-content:center;gap:.375rem;padding:.3125rem .625rem;border-radius:.375rem;border:1px solid color-mix(in srgb,var(--md-sys-color-outline-variant, var(--mat-sys-outline-variant)) 80%,transparent);background:color-mix(in srgb,var(--md-sys-color-surface-container, var(--mat-sys-surface-container)) 70%,transparent);color:var(--md-sys-color-on-surface-variant, var(--mat-sys-on-surface-variant));font-size:.75rem;font-weight:600;cursor:pointer;transition:background-color .14s ease,color .14s ease,border-color .14s ease}.pdx-quick-view__copy-summary-btn:hover{background:color-mix(in srgb,var(--md-sys-color-primary, var(--mat-sys-primary)) 10%,transparent);color:var(--md-sys-color-primary, var(--mat-sys-primary));border-color:color-mix(in srgb,var(--md-sys-color-primary, var(--mat-sys-primary)) 40%,transparent)}.pdx-quick-view__copy-summary-btn[data-copied=true]{background:color-mix(in srgb,#16a34a 15%,transparent);color:#15803d;border-color:color-mix(in srgb,#16a34a 38%,transparent)}.pdx-quick-view__copy-summary-btn:focus-visible{outline:2px solid var(--md-sys-color-primary, var(--mat-sys-primary));outline-offset:2px}.pdx-quick-view__cta{margin-left:auto;display:inline-flex;align-items:center;justify-content:center;gap:.375rem;padding:.375rem .8125rem;border-radius:.375rem;border:none;background:var(--md-sys-color-primary, var(--mat-sys-primary));color:var(--md-sys-color-on-primary, var(--mat-sys-on-primary));font-size:.8125rem;font-weight:600;cursor:pointer;transition:filter .14s ease,box-shadow .14s ease}.pdx-quick-view__cta:hover{filter:brightness(1.06)}.pdx-quick-view__cta:focus-visible{outline:2px solid var(--md-sys-color-primary, var(--mat-sys-primary));outline-offset:2px}.pdx-quick-view--narrow .pdx-quick-view__footer{flex-wrap:wrap}.pdx-quick-view--narrow .pdx-quick-view__copy-summary-btn,.pdx-quick-view--narrow .pdx-quick-view__cta{flex:1 1 auto;padding:.5rem .875rem}\n"], dependencies: [{ kind: "ngmodule", type: CommonModule }, { kind: "directive", type: i1.NgComponentOutlet, selector: "[ngComponentOutlet]", inputs: ["ngComponentOutlet", "ngComponentOutletInputs", "ngComponentOutletInjector", "ngComponentOutletEnvironmentInjector", "ngComponentOutletContent", "ngComponentOutletNgModule"], exportAs: ["ngComponentOutlet"] }, { kind: "ngmodule", type: MatIconModule }, { kind: "component", type: i4.MatIcon, selector: "mat-icon", inputs: ["color", "inline", "svgIcon", "fontSet", "fontIcon"], exportAs: ["matIcon"] }, { kind: "directive", type: PraxisIconDirective, selector: "mat-icon[praxisIcon]", inputs: ["praxisIcon"] }, { kind: "component", type: PraxisResourceIdentityComponent, selector: "praxis-resource-identity", inputs: ["identity", "emptyTitle", "density", "showMetadataLabels", "showKey", "showKeyLabel", "ariaLabel"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush });
1886
2133
  }
1887
2134
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.14", ngImport: i0, type: PraxisQuickViewOverlayComponent, decorators: [{
1888
2135
  type: Component,
@@ -1931,6 +2178,15 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.14", ngImpo
1931
2178
  @if (contextLabel(); as label) {
1932
2179
  <span class="pdx-quick-view__context-label">{{ label }}</span>
1933
2180
  }
2181
+ @if (headerKeyBadgeText(); as keyBadge) {
2182
+ <span
2183
+ class="pdx-quick-view__context-key"
2184
+ data-testid="quick-view-key-badge"
2185
+ [attr.title]="headerKeyTooltip()"
2186
+ >
2187
+ {{ keyBadge }}
2188
+ </span>
2189
+ }
1934
2190
  </div>
1935
2191
  }
1936
2192
  @if (headerIdentity(); as identity) {
@@ -1938,6 +2194,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.14", ngImpo
1938
2194
  [identity]="identity"
1939
2195
  [emptyTitle]="resolution()?.title || ''"
1940
2196
  density="compact"
2197
+ [showKey]="false"
1941
2198
  [showMetadataLabels]="false"
1942
2199
  />
1943
2200
  } @else {
@@ -1980,12 +2237,23 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.14", ngImpo
1980
2237
  <dl class="pdx-quick-view__summary-list" data-testid="quick-view-summary-list">
1981
2238
  @for (item of summaryItems(); track item.field) {
1982
2239
  <div class="pdx-quick-view__summary-item">
1983
- <dt class="pdx-quick-view__summary-label">{{ item.label }}</dt>
2240
+ <dt class="pdx-quick-view__summary-label">
2241
+ @if (item.icon; as itemIcon) {
2242
+ <mat-icon
2243
+ class="pdx-quick-view__summary-label-icon"
2244
+ data-testid="quick-view-summary-item-icon"
2245
+ [praxisIcon]="itemIcon"
2246
+ aria-hidden="true"
2247
+ ></mat-icon>
2248
+ }
2249
+ <span class="pdx-quick-view__summary-label-text">{{ item.label }}</span>
2250
+ </dt>
1984
2251
  <dd class="pdx-quick-view__summary-value-wrap">
1985
2252
  <span
1986
2253
  class="pdx-quick-view__summary-value"
1987
2254
  [class.pdx-quick-view__summary-value--badge]="isBadgeOrChip(item)"
1988
2255
  [class.pdx-quick-view__summary-value--masked]="item.masked"
2256
+ [attr.data-tone]="item.tone || null"
1989
2257
  [attr.title]="(item.masked ? (item.maskReason || maskedFieldReasonLabel()) : item.formattedValue) || null"
1990
2258
  >
1991
2259
  {{ item.formattedValue }}
@@ -2016,10 +2284,42 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.14", ngImpo
2016
2284
  <button
2017
2285
  type="button"
2018
2286
  class="pdx-quick-view__copy-btn"
2287
+ [attr.data-copied]="copiedField() === item.field ? 'true' : null"
2288
+ [attr.title]="(copiedField() === item.field ? copiedLabel() : copyButtonLabel()) + ' ' + item.label"
2019
2289
  [attr.aria-label]="copyButtonLabel() + ' ' + item.label"
2020
2290
  (click)="onCopyItem(item)"
2021
2291
  >
2022
- {{ copyButtonLabel() }}
2292
+ @if (copiedField() === item.field) {
2293
+ <svg
2294
+ class="pdx-quick-view__copy-icon"
2295
+ viewBox="0 0 16 16"
2296
+ fill="none"
2297
+ stroke="currentColor"
2298
+ stroke-width="1.8"
2299
+ stroke-linecap="round"
2300
+ stroke-linejoin="round"
2301
+ aria-hidden="true"
2302
+ >
2303
+ <path d="M3.5 8.5L6.5 11.5L12.5 4.5" />
2304
+ </svg>
2305
+ } @else {
2306
+ <svg
2307
+ class="pdx-quick-view__copy-icon"
2308
+ viewBox="0 0 16 16"
2309
+ fill="none"
2310
+ stroke="currentColor"
2311
+ stroke-width="1.5"
2312
+ stroke-linecap="round"
2313
+ stroke-linejoin="round"
2314
+ aria-hidden="true"
2315
+ >
2316
+ <rect x="5.5" y="5.5" width="8" height="8" rx="1.5" />
2317
+ <path d="M3.5 10.5H3a1.5 1.5 0 0 1-1.5-1.5V3A1.5 1.5 0 0 1 3 1.5h6A1.5 1.5 0 0 1 10.5 3v.5" />
2318
+ </svg>
2319
+ }
2320
+ <span class="pdx-quick-view__sr-only">
2321
+ {{ copiedField() === item.field ? copiedLabel() : copyButtonLabel() }}
2322
+ </span>
2023
2323
  </button>
2024
2324
  }
2025
2325
  </dd>
@@ -2047,27 +2347,100 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.14", ngImpo
2047
2347
  }
2048
2348
  </div>
2049
2349
 
2050
- @if (resolution()?.state === 'ready' && resolution()?.ctaAvailable) {
2350
+ @if (resolution()?.state === 'ready' && contextualActions().length > 0) {
2351
+ <div
2352
+ class="pdx-quick-view__contextual-actions"
2353
+ data-testid="quick-view-contextual-actions"
2354
+ role="group"
2355
+ [attr.aria-label]="contextualActionsAriaLabel()"
2356
+ >
2357
+ @for (action of contextualActions(); track action.surfaceId) {
2358
+ <button
2359
+ type="button"
2360
+ class="pdx-quick-view__contextual-btn"
2361
+ [attr.data-surface-id]="action.surfaceId"
2362
+ [attr.data-surface-kind]="action.kind || null"
2363
+ [attr.title]="action.description || action.title"
2364
+ (click)="openSurface.emit(action.surfaceId)"
2365
+ >
2366
+ @if (action.icon; as actionIcon) {
2367
+ <mat-icon
2368
+ class="pdx-quick-view__contextual-icon"
2369
+ [praxisIcon]="actionIcon"
2370
+ aria-hidden="true"
2371
+ ></mat-icon>
2372
+ }
2373
+ <span class="pdx-quick-view__contextual-label">{{ action.title }}</span>
2374
+ </button>
2375
+ }
2376
+ </div>
2377
+ }
2378
+
2379
+ @if (resolution()?.state === 'ready' && (resolution()?.ctaAvailable || canCopySummary())) {
2051
2380
  <footer class="pdx-quick-view__footer">
2052
- <button
2053
- #ctaButton
2054
- type="button"
2055
- class="pdx-quick-view__cta"
2056
- data-testid="quick-view-open-detail"
2057
- (click)="openDetail.emit()"
2058
- >
2059
- {{ resolution()?.ctaLabel || defaultCtaLabel() }}
2060
- </button>
2381
+ @if (canCopySummary()) {
2382
+ <button
2383
+ type="button"
2384
+ class="pdx-quick-view__copy-summary-btn"
2385
+ data-testid="quick-view-copy-summary"
2386
+ [attr.data-copied]="copiedField() === '__summary__' ? 'true' : null"
2387
+ [attr.aria-label]="copiedField() === '__summary__' ? summaryCopiedLabel() : copySummaryLabel()"
2388
+ (click)="onCopySummary()"
2389
+ >
2390
+ @if (copiedField() === '__summary__') {
2391
+ <svg
2392
+ class="pdx-quick-view__copy-icon"
2393
+ viewBox="0 0 16 16"
2394
+ fill="none"
2395
+ stroke="currentColor"
2396
+ stroke-width="1.8"
2397
+ stroke-linecap="round"
2398
+ stroke-linejoin="round"
2399
+ aria-hidden="true"
2400
+ >
2401
+ <path d="M3.5 8.5L6.5 11.5L12.5 4.5" />
2402
+ </svg>
2403
+ } @else {
2404
+ <svg
2405
+ class="pdx-quick-view__copy-icon"
2406
+ viewBox="0 0 16 16"
2407
+ fill="none"
2408
+ stroke="currentColor"
2409
+ stroke-width="1.5"
2410
+ stroke-linecap="round"
2411
+ stroke-linejoin="round"
2412
+ aria-hidden="true"
2413
+ >
2414
+ <rect x="5.5" y="5.5" width="8" height="8" rx="1.5" />
2415
+ <path d="M3.5 10.5H3a1.5 1.5 0 0 1-1.5-1.5V3A1.5 1.5 0 0 1 3 1.5h6A1.5 1.5 0 0 1 10.5 3v.5" />
2416
+ </svg>
2417
+ }
2418
+ <span>{{ copiedField() === '__summary__' ? summaryCopiedLabel() : copySummaryLabel() }}</span>
2419
+ </button>
2420
+ }
2421
+ @if (resolution()?.ctaAvailable) {
2422
+ <button
2423
+ #ctaButton
2424
+ type="button"
2425
+ class="pdx-quick-view__cta"
2426
+ data-testid="quick-view-open-detail"
2427
+ (click)="openDetail.emit()"
2428
+ >
2429
+ {{ resolution()?.ctaLabel || defaultCtaLabel() }}
2430
+ </button>
2431
+ }
2061
2432
  </footer>
2062
2433
  }
2063
2434
  </section>
2064
- `, styles: [":host{display:block;max-width:min(26rem,calc(100vw - 1.5rem));min-width:min(20rem,calc(100vw - 1.5rem));box-sizing:border-box}.pdx-quick-view{box-sizing:border-box;display:grid;grid-template-columns:minmax(0,1fr);gap:.625rem;padding:.875rem 1rem;border-radius:var(--pdx-quick-view-radius, .75rem);background:var( --pdx-quick-view-bg, var(--md-sys-color-surface-container-high, var(--mat-sys-surface-container-high)) );color:var(--md-sys-color-on-surface, var(--mat-sys-on-surface));border:1px solid color-mix(in srgb,var(--md-sys-color-outline, var(--mat-sys-outline)) 36%,var(--md-sys-color-outline-variant, var(--mat-sys-outline-variant)));box-shadow:var( --pdx-quick-view-shadow, 0 18px 38px -6px color-mix(in srgb, var(--md-sys-color-shadow, #000000) 32%, transparent), 0 6px 16px -4px color-mix(in srgb, var(--md-sys-color-shadow, #000000) 18%, transparent) );outline:none;overflow:hidden}.pdx-quick-view--narrow{width:calc(100vw - 1.5rem);max-width:28rem;border-radius:var(--pdx-quick-view-narrow-radius, 1rem);padding:.75rem 1rem 1rem}.pdx-quick-view--narrow:before{content:\"\";display:block;width:2.25rem;height:.25rem;margin:0 auto .25rem;border-radius:999px;background:color-mix(in srgb,var(--md-sys-color-on-surface-variant, var(--mat-sys-on-surface-variant)) 32%,transparent)}.pdx-quick-view__header{display:flex;align-items:flex-start;justify-content:space-between;gap:.75rem;min-width:0;padding-bottom:.5rem;border-bottom:1px solid color-mix(in srgb,var(--md-sys-color-outline-variant, var(--mat-sys-outline-variant)) 55%,transparent)}.pdx-quick-view__avatar-wrap{flex:0 0 auto;width:2.5rem;height:2.5rem;border-radius:999px;overflow:hidden;background:color-mix(in srgb,var(--md-sys-color-primary, var(--mat-sys-primary)) 12%,transparent);border:1px solid color-mix(in srgb,var(--md-sys-color-outline-variant, var(--mat-sys-outline-variant)) 60%,transparent);display:inline-flex;align-items:center;justify-content:center}.pdx-quick-view__avatar-img{width:100%;height:100%;object-fit:cover;display:block}.pdx-quick-view__heading{min-width:0;flex:1 1 auto;display:grid;gap:.25rem}.pdx-quick-view__context{display:inline-flex;align-items:center;gap:.375rem;min-width:0;margin-bottom:.0625rem}.pdx-quick-view__context-icon-badge{flex:0 0 auto;display:inline-flex;align-items:center;justify-content:center;width:1.25rem;height:1.25rem;border-radius:.3125rem;background:color-mix(in srgb,var(--md-sys-color-primary, var(--mat-sys-primary)) 14%,transparent);color:var(--md-sys-color-primary, var(--mat-sys-primary))}.pdx-quick-view__context-icon{width:.875rem;height:.875rem;font-size:.875rem;line-height:1}.pdx-quick-view__context-label{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:.6875rem;font-weight:700;letter-spacing:.04em;text-transform:uppercase;color:var(--md-sys-color-primary, var(--mat-sys-primary))}.pdx-quick-view__title{margin:0;font-size:.9375rem;font-weight:600;line-height:1.35;color:var(--md-sys-color-on-surface, var(--mat-sys-on-surface));overflow-wrap:anywhere}.pdx-quick-view__subtitle{margin:.25rem 0 0;font-size:.75rem;line-height:1.35;color:var(--md-sys-color-on-surface-variant, var(--mat-sys-on-surface-variant))}.pdx-quick-view__close{flex:0 0 auto;display:inline-flex;align-items:center;justify-content:center;width:1.75rem;height:1.75rem;border:none;border-radius:.375rem;background:transparent;color:var(--md-sys-color-on-surface-variant, var(--mat-sys-on-surface-variant));font-size:1.125rem;line-height:1;cursor:pointer;transition:background-color .14s ease,color .14s ease}.pdx-quick-view__close:hover{background:color-mix(in srgb,var(--md-sys-color-on-surface, var(--mat-sys-on-surface)) 8%,transparent);color:var(--md-sys-color-on-surface, var(--mat-sys-on-surface))}.pdx-quick-view__close:focus-visible{outline:2px solid var(--md-sys-color-primary, var(--mat-sys-primary));outline-offset:2px;background:color-mix(in srgb,var(--md-sys-color-on-surface, var(--mat-sys-on-surface)) 8%,transparent);color:var(--md-sys-color-on-surface, var(--mat-sys-on-surface))}.pdx-quick-view__body{min-width:0}.pdx-quick-view__summary-list{margin:0;display:grid;grid-template-columns:minmax(0,1fr);gap:.4375rem;min-width:0}.pdx-quick-view__summary-item{display:flex;align-items:center;justify-content:space-between;gap:.625rem;min-width:0;font-size:.8125rem;line-height:1.35}.pdx-quick-view__summary-label{color:var(--md-sys-color-on-surface-variant, var(--mat-sys-on-surface-variant));font-weight:500;flex:0 0 auto;max-width:42%;overflow-wrap:anywhere}.pdx-quick-view__summary-value-wrap{margin:0;flex:1 1 auto;display:inline-flex;align-items:center;justify-content:flex-end;gap:.375rem;min-width:0;text-align:right}.pdx-quick-view__summary-value{min-width:0;color:var(--md-sys-color-on-surface, var(--mat-sys-on-surface));font-weight:600;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.pdx-quick-view__summary-value--badge{padding:.125rem .5rem;border-radius:999px;background:color-mix(in srgb,var(--md-sys-color-primary, var(--mat-sys-primary)) 14%,transparent);color:var(--md-sys-color-primary, var(--mat-sys-primary));font-size:.75rem;font-weight:600}.pdx-quick-view__summary-value--masked{font-family:ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,monospace;letter-spacing:.04em;color:var(--md-sys-color-on-surface-variant, var(--mat-sys-on-surface-variant))}.pdx-quick-view__masked-badge{display:inline-flex;align-items:center;gap:.25rem;flex:0 0 auto;padding:.0625rem .375rem;border-radius:999px;border:1px solid color-mix(in srgb,var(--md-sys-color-tertiary, var(--mat-sys-tertiary, #d97706)) 42%,transparent);background:color-mix(in srgb,var(--md-sys-color-tertiary, var(--mat-sys-tertiary, #d97706)) 12%,transparent);color:var(--md-sys-color-tertiary, var(--mat-sys-tertiary, #d97706));font-size:.6875rem;font-weight:600;line-height:1.2}.pdx-quick-view__masked-icon{width:.75rem;height:.75rem;flex:0 0 auto}.pdx-quick-view__copy-btn{flex:0 0 auto;white-space:nowrap;border:1px solid color-mix(in srgb,var(--md-sys-color-outline-variant, var(--mat-sys-outline-variant)) 70%,transparent);background:color-mix(in srgb,var(--md-sys-color-surface-container, var(--mat-sys-surface-container)) 65%,transparent);color:var(--md-sys-color-on-surface-variant, var(--mat-sys-on-surface-variant));border-radius:.25rem;padding:.0625rem .375rem;font-size:.6875rem;font-weight:500;opacity:.78;cursor:pointer;transition:opacity .14s ease,background-color .14s ease,color .14s ease,border-color .14s ease}.pdx-quick-view__summary-item:hover .pdx-quick-view__copy-btn,.pdx-quick-view__copy-btn:focus-visible{opacity:1}.pdx-quick-view__copy-btn:hover{background:color-mix(in srgb,var(--md-sys-color-primary, var(--mat-sys-primary)) 10%,transparent);color:var(--md-sys-color-primary, var(--mat-sys-primary));border-color:color-mix(in srgb,var(--md-sys-color-primary, var(--mat-sys-primary)) 40%,transparent)}.pdx-quick-view__copy-btn:focus-visible{outline:2px solid var(--md-sys-color-primary, var(--mat-sys-primary));outline-offset:2px}.pdx-quick-view__feedback{margin:0;font-size:.8125rem;line-height:1.4;color:var(--md-sys-color-on-surface-variant, var(--mat-sys-on-surface-variant))}.pdx-quick-view__feedback--error{color:var(--md-sys-color-error, var(--mat-sys-error))}.pdx-quick-view__skeleton{display:grid;gap:.4375rem;padding:.125rem 0}.pdx-quick-view__skeleton-line{height:.75rem;border-radius:.25rem;background:color-mix(in srgb,var(--md-sys-color-on-surface, var(--mat-sys-on-surface)) 12%,transparent);width:75%}.pdx-quick-view__skeleton-line--wide{width:92%}.pdx-quick-view__skeleton-line--short{width:52%}.pdx-quick-view__footer{display:flex;justify-content:flex-end;padding-top:.5rem;border-top:1px solid color-mix(in srgb,var(--md-sys-color-outline-variant, var(--mat-sys-outline-variant)) 65%,transparent)}.pdx-quick-view__cta{display:inline-flex;align-items:center;justify-content:center;gap:.375rem;padding:.375rem .8125rem;border-radius:.375rem;border:none;background:var(--md-sys-color-primary, var(--mat-sys-primary));color:var(--md-sys-color-on-primary, var(--mat-sys-on-primary));font-size:.8125rem;font-weight:600;cursor:pointer;transition:filter .14s ease,box-shadow .14s ease}.pdx-quick-view__cta:hover{filter:brightness(1.06)}.pdx-quick-view__cta:focus-visible{outline:2px solid var(--md-sys-color-primary, var(--mat-sys-primary));outline-offset:2px}.pdx-quick-view--narrow .pdx-quick-view__cta{width:100%;padding:.5rem .875rem}\n"] }]
2435
+ `, styles: [":host{display:block;max-width:min(26rem,calc(100vw - 1.5rem));min-width:min(20rem,calc(100vw - 1.5rem));box-sizing:border-box}.pdx-quick-view{box-sizing:border-box;display:grid;grid-template-columns:minmax(0,1fr);gap:.625rem;padding:.875rem 1rem;border-radius:var(--pdx-quick-view-radius, .75rem);background:var( --pdx-quick-view-bg, var(--md-sys-color-surface-container-high, var(--mat-sys-surface-container-high)) );color:var(--md-sys-color-on-surface, var(--mat-sys-on-surface));border:1px solid color-mix(in srgb,var(--md-sys-color-outline, var(--mat-sys-outline)) 36%,var(--md-sys-color-outline-variant, var(--mat-sys-outline-variant)));box-shadow:var( --pdx-quick-view-shadow, 0 18px 38px -6px color-mix(in srgb, var(--md-sys-color-shadow, #000000) 32%, transparent), 0 6px 16px -4px color-mix(in srgb, var(--md-sys-color-shadow, #000000) 18%, transparent) );outline:none;overflow:hidden}.pdx-quick-view--narrow{width:calc(100vw - 1.5rem);max-width:28rem;border-radius:var(--pdx-quick-view-narrow-radius, 1rem);padding:.75rem 1rem 1rem}.pdx-quick-view--narrow:before{content:\"\";display:block;width:2.25rem;height:.25rem;margin:0 auto .25rem;border-radius:999px;background:color-mix(in srgb,var(--md-sys-color-on-surface-variant, var(--mat-sys-on-surface-variant)) 32%,transparent)}.pdx-quick-view__header{display:flex;align-items:flex-start;justify-content:space-between;gap:.75rem;min-width:0;padding-bottom:.5rem;border-bottom:1px solid color-mix(in srgb,var(--md-sys-color-outline-variant, var(--mat-sys-outline-variant)) 55%,transparent)}.pdx-quick-view__avatar-wrap{flex:0 0 auto;width:2.5rem;height:2.5rem;border-radius:999px;overflow:hidden;background:color-mix(in srgb,var(--md-sys-color-primary, var(--mat-sys-primary)) 12%,transparent);border:1px solid color-mix(in srgb,var(--md-sys-color-outline-variant, var(--mat-sys-outline-variant)) 60%,transparent);display:inline-flex;align-items:center;justify-content:center}.pdx-quick-view__avatar-img{width:100%;height:100%;object-fit:cover;display:block}.pdx-quick-view__heading{min-width:0;flex:1 1 auto;display:grid;gap:.1875rem}.pdx-quick-view__heading praxis-resource-identity{--pdx-resource-identity-title-font: 700 1.03125rem/1.32 var(--md-sys-typescale-title-medium-font-family, inherit);--pdx-resource-identity-title-wrap: normal}.pdx-quick-view__context{display:inline-flex;align-items:center;flex-wrap:wrap;gap:.375rem;min-width:0;margin-bottom:.125rem}.pdx-quick-view__context-icon-badge{flex:0 0 auto;display:inline-flex;align-items:center;justify-content:center;width:1.25rem;height:1.25rem;border-radius:.3125rem;background:color-mix(in srgb,var(--md-sys-color-primary, var(--mat-sys-primary)) 14%,transparent);color:var(--md-sys-color-primary, var(--mat-sys-primary))}.pdx-quick-view__context-icon{width:.875rem;height:.875rem;font-size:.875rem;line-height:1}.pdx-quick-view__context-label{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:.6875rem;font-weight:700;letter-spacing:.04em;text-transform:uppercase;color:var(--md-sys-color-primary, var(--mat-sys-primary))}.pdx-quick-view__context-key{flex:0 0 auto;display:inline-flex;align-items:center;padding:.0625rem .4375rem;border-radius:999px;font-family:ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,monospace;font-size:.6875rem;font-weight:700;line-height:1.25;letter-spacing:.02em;background:color-mix(in srgb,var(--md-sys-color-primary, var(--mat-sys-primary)) 12%,transparent);color:var(--md-sys-color-primary, var(--mat-sys-primary));border:1px solid color-mix(in srgb,var(--md-sys-color-primary, var(--mat-sys-primary)) 26%,transparent)}.pdx-quick-view__title{margin:0;font-size:1.03125rem;font-weight:700;line-height:1.32;color:var(--md-sys-color-on-surface, var(--mat-sys-on-surface));overflow-wrap:anywhere}.pdx-quick-view__subtitle{margin:.0625rem 0 0;font-size:.8125rem;font-weight:500;line-height:1.35;color:var(--md-sys-color-on-surface-variant, var(--mat-sys-on-surface-variant))}.pdx-quick-view__close{flex:0 0 auto;display:inline-flex;align-items:center;justify-content:center;width:1.75rem;height:1.75rem;border:none;border-radius:.375rem;background:transparent;color:var(--md-sys-color-on-surface-variant, var(--mat-sys-on-surface-variant));font-size:1.125rem;line-height:1;cursor:pointer;transition:background-color .14s ease,color .14s ease}.pdx-quick-view__close:hover{background:color-mix(in srgb,var(--md-sys-color-on-surface, var(--mat-sys-on-surface)) 8%,transparent);color:var(--md-sys-color-on-surface, var(--mat-sys-on-surface))}.pdx-quick-view__close:focus-visible{outline:2px solid var(--md-sys-color-primary, var(--mat-sys-primary));outline-offset:2px;background:color-mix(in srgb,var(--md-sys-color-on-surface, var(--mat-sys-on-surface)) 8%,transparent);color:var(--md-sys-color-on-surface, var(--mat-sys-on-surface))}.pdx-quick-view__body{min-width:0}.pdx-quick-view__summary-list{margin:0;display:grid;grid-template-columns:minmax(0,1fr);gap:.4375rem;min-width:0}.pdx-quick-view__summary-item{display:flex;align-items:center;justify-content:space-between;gap:.625rem;min-width:0;font-size:.8125rem;line-height:1.35}.pdx-quick-view__summary-label{color:var(--md-sys-color-on-surface-variant, var(--mat-sys-on-surface-variant));font-weight:500;flex:0 0 auto;max-width:44%;display:inline-flex;align-items:center;gap:.3125rem;overflow-wrap:anywhere}.pdx-quick-view__summary-label-icon{flex:0 0 auto;width:.875rem;height:.875rem;font-size:.875rem;line-height:1;opacity:.78}.pdx-quick-view__summary-label-text{min-width:0}.pdx-quick-view__summary-value-wrap{margin:0;flex:1 1 auto;display:inline-flex;align-items:center;justify-content:flex-end;gap:.375rem;min-width:0;text-align:right}.pdx-quick-view__summary-value{min-width:0;color:var(--md-sys-color-on-surface, var(--mat-sys-on-surface));font-weight:600;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.pdx-quick-view__summary-value--badge{padding:.125rem .5rem;border-radius:999px;background:color-mix(in srgb,var(--md-sys-color-primary, var(--mat-sys-primary)) 14%,transparent);color:var(--md-sys-color-primary, var(--mat-sys-primary));font-size:.75rem;font-weight:600}.pdx-quick-view__summary-value--badge[data-tone=success]{background:color-mix(in srgb,#16a34a 15%,transparent);color:#15803d}.pdx-quick-view__summary-value--badge[data-tone=warning]{background:color-mix(in srgb,#d97706 16%,transparent);color:#b45309}.pdx-quick-view__summary-value--badge[data-tone=danger],.pdx-quick-view__summary-value--badge[data-tone=error]{background:color-mix(in srgb,var(--md-sys-color-error, var(--mat-sys-error, #dc2626)) 15%,transparent);color:var(--md-sys-color-error, var(--mat-sys-error, #dc2626))}.pdx-quick-view__summary-value--masked{font-family:ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,monospace;letter-spacing:.04em;color:var(--md-sys-color-on-surface-variant, var(--mat-sys-on-surface-variant))}.pdx-quick-view__masked-badge{display:inline-flex;align-items:center;gap:.25rem;flex:0 0 auto;padding:.0625rem .375rem;border-radius:999px;border:1px solid color-mix(in srgb,var(--md-sys-color-tertiary, var(--mat-sys-tertiary, #d97706)) 42%,transparent);background:color-mix(in srgb,var(--md-sys-color-tertiary, var(--mat-sys-tertiary, #d97706)) 12%,transparent);color:var(--md-sys-color-tertiary, var(--mat-sys-tertiary, #d97706));font-size:.6875rem;font-weight:600;line-height:1.2}.pdx-quick-view__masked-icon{width:.75rem;height:.75rem;flex:0 0 auto}.pdx-quick-view__copy-btn{flex:0 0 auto;display:inline-flex;align-items:center;justify-content:center;width:1.5rem;height:1.5rem;padding:0;border:1px solid transparent;background:transparent;color:var(--md-sys-color-on-surface-variant, var(--mat-sys-on-surface-variant));border-radius:.3125rem;opacity:0;cursor:pointer;transition:opacity .14s ease,background-color .14s ease,color .14s ease,border-color .14s ease}.pdx-quick-view--narrow .pdx-quick-view__copy-btn,.pdx-quick-view__summary-item:hover .pdx-quick-view__copy-btn,.pdx-quick-view__summary-item:focus-within .pdx-quick-view__copy-btn,.pdx-quick-view__copy-btn:focus-visible,.pdx-quick-view__copy-btn[data-copied=true]{opacity:1}.pdx-quick-view__copy-btn:hover{background:color-mix(in srgb,var(--md-sys-color-primary, var(--mat-sys-primary)) 12%,transparent);color:var(--md-sys-color-primary, var(--mat-sys-primary));border-color:color-mix(in srgb,var(--md-sys-color-primary, var(--mat-sys-primary)) 35%,transparent)}.pdx-quick-view__copy-btn[data-copied=true]{background:color-mix(in srgb,#16a34a 15%,transparent);color:#15803d;border-color:color-mix(in srgb,#16a34a 38%,transparent)}.pdx-quick-view__copy-btn:focus-visible{outline:2px solid var(--md-sys-color-primary, var(--mat-sys-primary));outline-offset:2px}.pdx-quick-view__copy-icon{width:.875rem;height:.875rem;flex:0 0 auto}.pdx-quick-view__sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}.pdx-quick-view__feedback{margin:0;font-size:.8125rem;line-height:1.4;color:var(--md-sys-color-on-surface-variant, var(--mat-sys-on-surface-variant))}.pdx-quick-view__feedback--error{color:var(--md-sys-color-error, var(--mat-sys-error))}.pdx-quick-view__skeleton{display:grid;gap:.4375rem;padding:.125rem 0}.pdx-quick-view__skeleton-line{height:.75rem;border-radius:.25rem;background:color-mix(in srgb,var(--md-sys-color-on-surface, var(--mat-sys-on-surface)) 12%,transparent);width:75%}.pdx-quick-view__skeleton-line--wide{width:92%}.pdx-quick-view__skeleton-line--short{width:52%}.pdx-quick-view__contextual-actions{display:flex;align-items:center;flex-wrap:wrap;gap:.375rem;padding-top:.4375rem;border-top:1px dashed color-mix(in srgb,var(--md-sys-color-outline-variant, var(--mat-sys-outline-variant)) 60%,transparent)}.pdx-quick-view__contextual-btn{display:inline-flex;align-items:center;gap:.25rem;min-width:0;max-width:100%;padding:.25rem .5625rem;border-radius:999px;border:1px solid color-mix(in srgb,var(--md-sys-color-outline-variant, var(--mat-sys-outline-variant)) 85%,transparent);background:color-mix(in srgb,var(--md-sys-color-surface-container, var(--mat-sys-surface-container)) 78%,transparent);color:var(--md-sys-color-on-surface, var(--mat-sys-on-surface));font-size:.71875rem;font-weight:600;line-height:1.25;cursor:pointer;transition:background-color .14s ease,color .14s ease,border-color .14s ease}.pdx-quick-view__contextual-btn:hover{background:color-mix(in srgb,var(--md-sys-color-primary, var(--mat-sys-primary)) 12%,transparent);color:var(--md-sys-color-primary, var(--mat-sys-primary));border-color:color-mix(in srgb,var(--md-sys-color-primary, var(--mat-sys-primary)) 40%,transparent)}.pdx-quick-view__contextual-btn:focus-visible{outline:2px solid var(--md-sys-color-primary, var(--mat-sys-primary));outline-offset:2px}.pdx-quick-view__contextual-icon{flex:0 0 auto;width:.8125rem;height:.8125rem;font-size:.8125rem;line-height:1}.pdx-quick-view__contextual-label{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.pdx-quick-view__footer{display:flex;align-items:center;justify-content:space-between;gap:.5rem;padding-top:.5rem;border-top:1px solid color-mix(in srgb,var(--md-sys-color-outline-variant, var(--mat-sys-outline-variant)) 65%,transparent)}.pdx-quick-view__copy-summary-btn{display:inline-flex;align-items:center;justify-content:center;gap:.375rem;padding:.3125rem .625rem;border-radius:.375rem;border:1px solid color-mix(in srgb,var(--md-sys-color-outline-variant, var(--mat-sys-outline-variant)) 80%,transparent);background:color-mix(in srgb,var(--md-sys-color-surface-container, var(--mat-sys-surface-container)) 70%,transparent);color:var(--md-sys-color-on-surface-variant, var(--mat-sys-on-surface-variant));font-size:.75rem;font-weight:600;cursor:pointer;transition:background-color .14s ease,color .14s ease,border-color .14s ease}.pdx-quick-view__copy-summary-btn:hover{background:color-mix(in srgb,var(--md-sys-color-primary, var(--mat-sys-primary)) 10%,transparent);color:var(--md-sys-color-primary, var(--mat-sys-primary));border-color:color-mix(in srgb,var(--md-sys-color-primary, var(--mat-sys-primary)) 40%,transparent)}.pdx-quick-view__copy-summary-btn[data-copied=true]{background:color-mix(in srgb,#16a34a 15%,transparent);color:#15803d;border-color:color-mix(in srgb,#16a34a 38%,transparent)}.pdx-quick-view__copy-summary-btn:focus-visible{outline:2px solid var(--md-sys-color-primary, var(--mat-sys-primary));outline-offset:2px}.pdx-quick-view__cta{margin-left:auto;display:inline-flex;align-items:center;justify-content:center;gap:.375rem;padding:.375rem .8125rem;border-radius:.375rem;border:none;background:var(--md-sys-color-primary, var(--mat-sys-primary));color:var(--md-sys-color-on-primary, var(--mat-sys-on-primary));font-size:.8125rem;font-weight:600;cursor:pointer;transition:filter .14s ease,box-shadow .14s ease}.pdx-quick-view__cta:hover{filter:brightness(1.06)}.pdx-quick-view__cta:focus-visible{outline:2px solid var(--md-sys-color-primary, var(--mat-sys-primary));outline-offset:2px}.pdx-quick-view--narrow .pdx-quick-view__footer{flex-wrap:wrap}.pdx-quick-view--narrow .pdx-quick-view__copy-summary-btn,.pdx-quick-view--narrow .pdx-quick-view__cta{flex:1 1 auto;padding:.5rem .875rem}\n"] }]
2065
2436
  }], propDecorators: { pointerEnter: [{
2066
2437
  type: Output
2067
2438
  }], pointerLeave: [{
2068
2439
  type: Output
2069
2440
  }], openDetail: [{
2070
2441
  type: Output
2442
+ }], openSurface: [{
2443
+ type: Output
2071
2444
  }], copyValue: [{
2072
2445
  type: Output
2073
2446
  }], dismiss: [{
@@ -2275,7 +2648,7 @@ class ActiveOverlaySession {
2275
2648
  this.resolveOrigin = resolveOrigin;
2276
2649
  this.onDisposed = onDisposed;
2277
2650
  const inst = compRef.instance;
2278
- this.subs.push(inst.pointerEnter.subscribe(() => this.pointerEnterSubject.next()), inst.pointerLeave.subscribe(() => this.pointerLeaveSubject.next()), inst.openDetail.subscribe(() => this.options.onOpenDetail()), inst.copyValue.subscribe(({ value, field }) => this.options.onCopyValue?.(value, field)), inst.dismiss.subscribe((reason) => this.close(reason)));
2651
+ this.subs.push(inst.pointerEnter.subscribe(() => this.pointerEnterSubject.next()), inst.pointerLeave.subscribe(() => this.pointerLeaveSubject.next()), inst.openDetail.subscribe(() => this.options.onOpenDetail()), inst.openSurface.subscribe((surfaceId) => this.options.onOpenSurface?.(surfaceId)), inst.copyValue.subscribe(({ value, field }) => this.options.onCopyValue?.(value, field)), inst.dismiss.subscribe((reason) => this.close(reason)));
2279
2652
  if (narrowModalMode) {
2280
2653
  this.subs.push(overlayRef.backdropClick().subscribe(() => {
2281
2654
  this.close('outside-pointer');
@@ -2606,6 +2979,26 @@ function providePraxisDialogMetadata() {
2606
2979
  };
2607
2980
  }
2608
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
+ };
2609
3002
  const sizeFieldSchema = {
2610
3003
  type: 'object',
2611
3004
  minProperties: 1,
@@ -2666,13 +3059,13 @@ const PRAXIS_DIALOG_AUTHORING_MANIFEST = {
2666
3059
  { name: 'inputs', type: 'Record<string, unknown>', description: 'Inputs applied to the child component after opening the dialog.' },
2667
3060
  ],
2668
3061
  editableTargets: [
2669
- { kind: 'dialogShell', resolver: 'praxis-dialog-config-root', description: 'Top-level PraxisDialogConfig shell fields such as title, role, actions and theme.' },
2670
- { kind: 'size', resolver: 'praxis-dialog-size-fields', description: 'Width, height, min/max size fields on PraxisDialogConfig.' },
2671
- { kind: 'position', resolver: 'praxis-dialog-position-fields', description: 'Overlay position fields top, bottom, left and right.' },
2672
- { kind: 'backdrop', resolver: 'praxis-dialog-backdrop-fields', description: 'Backdrop enablement and backdrop class semantics.' },
2673
- { kind: 'closePolicy', resolver: 'praxis-dialog-close-policy-fields', description: 'disableClose, closeOnBackdropClick, closeOnNavigation, restoreFocus and autofocus behavior.' },
2674
- { kind: 'preset', resolver: 'praxis-dialog-global-preset-by-type-variant', description: 'Type and variant presets merged through PRAXIS_DIALOG_GLOBAL_PRESETS.' },
2675
- { 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.' },
2676
3069
  ],
2677
3070
  operations: [
2678
3071
  {
@@ -2680,7 +3073,7 @@ const PRAXIS_DIALOG_AUTHORING_MANIFEST = {
2680
3073
  title: 'Set dialog shell fields',
2681
3074
  scope: 'global',
2682
3075
  targetKind: 'dialogShell',
2683
- 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 },
2684
3077
  inputSchema: {
2685
3078
  type: 'object',
2686
3079
  minProperties: 1,
@@ -2708,7 +3101,7 @@ const PRAXIS_DIALOG_AUTHORING_MANIFEST = {
2708
3101
  title: 'Set dialog size',
2709
3102
  scope: 'layout',
2710
3103
  targetKind: 'size',
2711
- 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 },
2712
3105
  inputSchema: sizeFieldSchema,
2713
3106
  effects: [{ kind: 'merge-object', path: 'config' }],
2714
3107
  destructive: false,
@@ -2723,7 +3116,7 @@ const PRAXIS_DIALOG_AUTHORING_MANIFEST = {
2723
3116
  title: 'Set dialog position',
2724
3117
  scope: 'layout',
2725
3118
  targetKind: 'position',
2726
- 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 },
2727
3120
  inputSchema: positionSchema,
2728
3121
  effects: [{ kind: 'set-value', path: 'config.position' }],
2729
3122
  destructive: false,
@@ -2738,7 +3131,7 @@ const PRAXIS_DIALOG_AUTHORING_MANIFEST = {
2738
3131
  title: 'Set dialog backdrop',
2739
3132
  scope: 'skin',
2740
3133
  targetKind: 'backdrop',
2741
- 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 },
2742
3135
  inputSchema: {
2743
3136
  type: 'object',
2744
3137
  minProperties: 1,
@@ -2760,7 +3153,7 @@ const PRAXIS_DIALOG_AUTHORING_MANIFEST = {
2760
3153
  title: 'Set dialog close policy',
2761
3154
  scope: 'accessibility',
2762
3155
  targetKind: 'closePolicy',
2763
- 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 },
2764
3157
  inputSchema: closePolicySchema,
2765
3158
  effects: [{ kind: 'merge-object', path: 'config' }],
2766
3159
  destructive: true,
@@ -2775,7 +3168,7 @@ const PRAXIS_DIALOG_AUTHORING_MANIFEST = {
2775
3168
  title: 'Apply dialog preset',
2776
3169
  scope: 'global',
2777
3170
  targetKind: 'preset',
2778
- 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 },
2779
3172
  inputSchema: {
2780
3173
  type: 'object',
2781
3174
  required: ['dialogType'],
@@ -2805,7 +3198,7 @@ const PRAXIS_DIALOG_AUTHORING_MANIFEST = {
2805
3198
  title: 'Configure dialog child host',
2806
3199
  scope: 'templating',
2807
3200
  targetKind: 'childHost',
2808
- 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 },
2809
3202
  inputSchema: childHostSchema,
2810
3203
  effects: [{ kind: 'compile-domain-patch', handler: 'dialog-child-host-configure', handlerContract: {
2811
3204
  reads: ['ComponentMetadataRegistry', 'PRAXIS_DIALOG_CONTENT_REGISTRY', 'PRAXIS_DIALOG_TEMPLATE_REGISTRY', 'content', 'componentId', 'inputs', 'data'],
@@ -2827,7 +3220,7 @@ const PRAXIS_DIALOG_AUTHORING_MANIFEST = {
2827
3220
  title: 'Delegate operation to child manifest',
2828
3221
  scope: 'templating',
2829
3222
  targetKind: 'childHost',
2830
- 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 },
2831
3224
  inputSchema: {
2832
3225
  type: 'object',
2833
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.43",
3
+ "version": "10.0.0-rc.45",
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.43",
10
+ "@praxisui/core": "^10.0.0-rc.45",
11
11
  "@angular/material": "^21.0.0",
12
12
  "@angular/platform-browser": "^21.0.0",
13
13
  "rxjs": "~7.8.0"
@@ -4,7 +4,7 @@ import { OverlayRef } from '@angular/cdk/overlay';
4
4
  import { Observable, Subject } from 'rxjs';
5
5
  import { CdkPortalOutlet } from '@angular/cdk/portal';
6
6
  import * as _praxisui_core from '@praxisui/core';
7
- import { ResourceQuickViewResolution, PraxisQuickViewBodyRenderer, ResourceQuickViewDismissReason, ResourceQuickViewSummaryItem, PraxisQuickViewPresenter, PraxisQuickViewPresentOptions, PraxisQuickViewPresenterSession, ComponentDocMeta, ComponentAuthoringManifest } from '@praxisui/core';
7
+ import { ResourceQuickViewResolution, PraxisQuickViewBodyRenderer, ResourceQuickViewDismissReason, ResourceQuickViewSummaryItem, ResourceQuickViewActionItem, PraxisQuickViewPresenter, PraxisQuickViewPresentOptions, PraxisQuickViewPresenterSession, ComponentDocMeta, ComponentAuthoringManifest } from '@praxisui/core';
8
8
  import * as _praxisui_dialog from '@praxisui/dialog';
9
9
 
10
10
  type ActionsLayout = 'start' | 'center' | 'end' | 'stretched';
@@ -344,15 +344,18 @@ declare function providePraxisDialogGlobalActions(): Provider;
344
344
 
345
345
  declare function providePraxisSurfaceGlobalActions(): Provider;
346
346
 
347
- declare class PraxisQuickViewOverlayComponent {
347
+ declare class PraxisQuickViewOverlayComponent implements OnDestroy {
348
348
  private readonly i18n;
349
349
  readonly resolution: _angular_core.WritableSignal<ResourceQuickViewResolution | null>;
350
350
  readonly bodyRenderer: _angular_core.WritableSignal<PraxisQuickViewBodyRenderer | null>;
351
351
  readonly narrowModalMode: _angular_core.WritableSignal<boolean>;
352
+ protected readonly copiedField: _angular_core.WritableSignal<string | null>;
352
353
  private readonly failedAvatarUrl;
354
+ private copiedFeedbackTimer;
353
355
  readonly pointerEnter: EventEmitter<void>;
354
356
  readonly pointerLeave: EventEmitter<void>;
355
357
  readonly openDetail: EventEmitter<void>;
358
+ readonly openSurface: EventEmitter<string>;
356
359
  readonly copyValue: EventEmitter<{
357
360
  value: string;
358
361
  field?: string;
@@ -362,6 +365,10 @@ declare class PraxisQuickViewOverlayComponent {
362
365
  private readonly ctaButton?;
363
366
  private readonly closeButton?;
364
367
  protected readonly summaryItems: _angular_core.Signal<readonly ResourceQuickViewSummaryItem[]>;
368
+ protected readonly contextualActions: _angular_core.Signal<readonly ResourceQuickViewActionItem[]>;
369
+ protected readonly headerKeyPart: _angular_core.Signal<_praxisui_core.ResourceIdentityPart | null>;
370
+ protected readonly headerKeyBadgeText: _angular_core.Signal<string | null>;
371
+ protected readonly headerKeyTooltip: _angular_core.Signal<string | null>;
365
372
  protected readonly headerIdentity: _angular_core.Signal<_praxisui_core.MaterializedResourceIdentity | null>;
366
373
  protected readonly contextLabel: _angular_core.Signal<string | null>;
367
374
  protected readonly hasContextEyebrow: _angular_core.Signal<boolean>;
@@ -369,21 +376,31 @@ declare class PraxisQuickViewOverlayComponent {
369
376
  protected onAvatarError(failedUrl: string): void;
370
377
  protected readonly closeAriaLabel: _angular_core.Signal<string>;
371
378
  protected readonly copyButtonLabel: _angular_core.Signal<string>;
379
+ protected readonly copiedLabel: _angular_core.Signal<string>;
380
+ protected readonly copySummaryLabel: _angular_core.Signal<string>;
381
+ protected readonly summaryCopiedLabel: _angular_core.Signal<string>;
372
382
  protected readonly emptyStateLabel: _angular_core.Signal<string>;
373
383
  protected readonly unavailableStateLabel: _angular_core.Signal<string>;
374
384
  protected readonly errorStateLabel: _angular_core.Signal<string>;
375
385
  protected readonly defaultCtaLabel: _angular_core.Signal<string>;
386
+ protected readonly contextualActionsAriaLabel: _angular_core.Signal<string>;
376
387
  protected readonly maskedBadgeLabel: _angular_core.Signal<string>;
377
388
  protected readonly maskedFieldReasonLabel: _angular_core.Signal<string>;
378
389
  protected readonly accessibleLabel: _angular_core.Signal<string>;
379
390
  private translate;
380
391
  protected readonly shouldUseCustomBodyRenderer: _angular_core.Signal<boolean>;
381
392
  protected readonly customBodyInputs: _angular_core.Signal<Record<string, unknown>>;
393
+ protected readonly unmaskedCopyableItems: _angular_core.Signal<readonly ResourceQuickViewSummaryItem[]>;
394
+ protected readonly canCopySummary: _angular_core.Signal<boolean>;
395
+ protected readonly summaryClipboardText: _angular_core.Signal<string>;
382
396
  focusInteractiveEntry(): void;
383
397
  protected isBadgeOrChip(item: ResourceQuickViewSummaryItem): boolean;
384
398
  protected onCopyItem(item: ResourceQuickViewSummaryItem): void;
399
+ protected onCopySummary(): void;
400
+ private markCopiedField;
401
+ ngOnDestroy(): void;
385
402
  static ɵfac: _angular_core.ɵɵFactoryDeclaration<PraxisQuickViewOverlayComponent, never>;
386
- static ɵcmp: _angular_core.ɵɵComponentDeclaration<PraxisQuickViewOverlayComponent, "praxis-quick-view-overlay", never, {}, { "pointerEnter": "pointerEnter"; "pointerLeave": "pointerLeave"; "openDetail": "openDetail"; "copyValue": "copyValue"; "dismiss": "dismiss"; }, never, never, true, never>;
403
+ static ɵcmp: _angular_core.ɵɵComponentDeclaration<PraxisQuickViewOverlayComponent, "praxis-quick-view-overlay", never, {}, { "pointerEnter": "pointerEnter"; "pointerLeave": "pointerLeave"; "openDetail": "openDetail"; "openSurface": "openSurface"; "copyValue": "copyValue"; "dismiss": "dismiss"; }, never, never, true, never>;
387
404
  }
388
405
 
389
406
  /**