@praxisui/dialog 9.0.0-beta.77 → 9.0.0-beta.79
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/ai/component-registry.json +74 -4
- package/package.json +2 -2
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
{
|
|
2
2
|
"schemaVersion": "1.0.0",
|
|
3
|
-
"generatedAt": "2026-07-
|
|
3
|
+
"generatedAt": "2026-07-19T20:13:41.218Z",
|
|
4
4
|
"packageName": "@praxisui/dialog",
|
|
5
|
-
"packageVersion": "9.0.0-beta.
|
|
5
|
+
"packageVersion": "9.0.0-beta.79",
|
|
6
6
|
"sourceRegistry": "praxis-component-registry-ingestion",
|
|
7
7
|
"sourceRegistryVersion": "1.0.0",
|
|
8
8
|
"componentCount": 1,
|
|
@@ -1256,9 +1256,79 @@
|
|
|
1256
1256
|
{
|
|
1257
1257
|
"chunkIndex": 1,
|
|
1258
1258
|
"chunkKind": "authoring_manifest",
|
|
1259
|
-
"content": "{\n \"schemaVersion\": \"1.0.0\",\n \"componentId\": \"praxis-dialog\",\n \"ownerPackage\": \"@praxisui/dialog\",\n \"configSchemaId\": \"PraxisDialogConfig\",\n \"manifestVersion\": \"1.0.0\",\n \"runtimeInputs\": [\n {\n \"name\": \"config\",\n \"type\": \"PraxisDialogConfig\",\n \"description\": \"Canonical shell configuration consumed by PraxisDialog.open and tag mode.\"\n },\n {\n \"name\": \"content\",\n \"type\": \"ComponentType | TemplateRef | DialogContentDescriptor\",\n \"description\": \"Dialog child host content. Child semantics remain owned by the child component manifest.\"\n },\n {\n \"name\": \"variant\",\n \"type\": \"string\",\n \"description\": \"Optional global preset variant merged after dialog type presets and before local config.\"\n },\n {\n \"name\": \"componentId\",\n \"type\": \"string\",\n \"description\": \"Component metadata or dialog registry id used by global dialog open actions.\"\n },\n {\n \"name\": \"inputs\",\n \"type\": \"Record<string, unknown>\",\n \"description\": \"Inputs applied to the child component after opening the dialog.\"\n }\n ],\n \"editableTargets\": [\n {\n \"kind\": \"dialogShell\",\n \"resolver\": \"praxis-dialog-config-root\",\n \"description\": \"Top-level PraxisDialogConfig shell fields such as title, role, actions and theme.\"\n },\n {\n \"kind\": \"size\",\n \"resolver\": \"praxis-dialog-size-fields\",\n \"description\": \"Width, height, min/max size fields on PraxisDialogConfig.\"\n },\n {\n \"kind\": \"position\",\n \"resolver\": \"praxis-dialog-position-fields\",\n \"description\": \"Overlay position fields top, bottom, left and right.\"\n },\n {\n \"kind\": \"backdrop\",\n \"resolver\": \"praxis-dialog-backdrop-fields\",\n \"description\": \"Backdrop enablement and backdrop class semantics.\"\n },\n {\n \"kind\": \"closePolicy\",\n \"resolver\": \"praxis-dialog-close-policy-fields\",\n \"description\": \"disableClose, closeOnBackdropClick, closeOnNavigation, restoreFocus and autofocus behavior.\"\n },\n {\n \"kind\": \"preset\",\n \"resolver\": \"praxis-dialog-global-preset-by-type-variant\",\n \"description\": \"Type and variant presets merged through PRAXIS_DIALOG_GLOBAL_PRESETS.\"\n },\n {\n \"kind\": \"childHost\",\n \"resolver\": \"praxis-dialog-child-component-or-template-host\",\n \"description\": \"Component/template registry child host and input/data envelope.\"\n }\n ],\n \"operations\": [\n {\n \"operationId\": \"dialog.shell.set\",\n \"title\": \"Set dialog shell fields\",\n \"scope\": \"global\",\n \"targetKind\": \"dialogShell\",\n \"target\": {\n \"kind\": \"dialogShell\",\n \"resolver\": \"praxis-dialog-config-root\",\n \"ambiguityPolicy\": \"fail\",\n \"required\": false\n },\n \"inputSchema\": {\n \"type\": \"object\",\n \"minProperties\": 1,\n \"properties\": {\n \"title\": {\n \"type\": \"string\"\n },\n \"titleIcon\": {\n \"type\": \"string\"\n },\n \"ariaRole\": {\n \"enum\": [\n \"dialog\",\n \"alertdialog\"\n ]\n },\n \"ariaLabel\": {\n \"type\": \"string\"\n },\n \"ariaLabelledBy\": {\n \"type\": \"string\"\n },\n \"ariaDescribedBy\": {\n \"type\": \"string\"\n },\n \"themeColor\": {\n \"enum\": [\n \"primary\",\n \"light\",\n \"dark\"\n ]\n },\n \"actionsLayout\": {\n \"enum\": [\n \"start\",\n \"center\",\n \"end\",\n \"stretched\"\n ]\n }\n }\n },\n \"effects\": [\n {\n \"kind\": \"merge-object\",\n \"path\": \"config\"\n }\n ],\n \"destructive\": false,\n \"requiresConfirmation\": false,\n \"validators\": [\n \"accessibility-label-preserved\",\n \"aria-role-valid\",\n \"shell-fields-supported\",\n \"dialog-round-trip\"\n ],\n \"affectedPaths\": [\n \"config.title\",\n \"config.titleIcon\",\n \"config.ariaRole\",\n \"config.ariaLabel\",\n \"config.ariaLabelledBy\",\n \"config.ariaDescribedBy\",\n \"config.themeColor\",\n \"config.actionsLayout\"\n ],\n \"submissionImpact\": \"config-only\",\n \"preconditions\": [\n \"config-initialized\"\n ]\n },\n {\n \"operationId\": \"dialog.size.set\",\n \"title\": \"Set dialog size\",\n \"scope\": \"layout\",\n \"targetKind\": \"size\",\n \"target\": {\n \"kind\": \"size\",\n \"resolver\": \"praxis-dialog-size-fields\",\n \"ambiguityPolicy\": \"fail\",\n \"required\": false\n },\n \"inputSchema\": {\n \"type\": \"object\",\n \"minProperties\": 1,\n \"properties\": {\n \"width\": {\n \"oneOf\": [\n {\n \"type\": \"string\"\n },\n {\n \"type\": \"number\"\n }\n ]\n },\n \"height\": {\n \"oneOf\": [\n {\n \"type\": \"string\"\n },\n {\n \"type\": \"number\"\n }\n ]\n },\n \"minWidth\": {\n \"oneOf\": [\n {\n \"type\": \"string\"\n },\n {\n \"type\": \"number\"\n }\n ]\n },\n \"maxWidth\": {\n \"oneOf\": [\n {\n \"type\": \"string\"\n },\n {\n \"type\": \"number\"\n }\n ]\n },\n \"minHeight\": {\n \"oneOf\": [\n {\n \"type\": \"string\"\n },\n {\n \"type\": \"number\"\n }\n ]\n },\n \"maxHeight\": {\n \"oneOf\": [\n {\n \"type\": \"string\"\n },\n {\n \"type\": \"number\"\n }\n ]\n }\n }\n },\n \"effects\": [\n {\n \"kind\": \"merge-object\",\n \"path\": \"config\"\n }\n ],\n \"destructive\": false,\n \"requiresConfirmation\": false,\n \"validators\": [\n \"size-values-safe\",\n \"size-min-max-consistent\",\n \"dialog-round-trip\"\n ],\n \"affectedPaths\": [\n \"config.width\",\n \"config.height\",\n \"config.minWidth\",\n \"config.maxWidth\",\n \"config.minHeight\",\n \"config.maxHeight\"\n ],\n \"submissionImpact\": \"visual-only\",\n \"preconditions\": [\n \"config-initialized\"\n ]\n },\n {\n \"operationId\": \"dialog.position.set\",\n \"title\": \"Set dialog position\",\n \"scope\": \"layout\",\n \"targetKind\": \"position\",\n \"target\": {\n \"kind\": \"position\",\n \"resolver\": \"praxis-dialog-position-fields\",\n \"ambiguityPolicy\": \"fail\",\n \"required\": false\n },\n \"inputSchema\": {\n \"type\": \"object\",\n \"minProperties\": 1,\n \"properties\": {\n \"top\": {\n \"type\": \"string\"\n },\n \"bottom\": {\n \"type\": \"string\"\n },\n \"left\": {\n \"type\": \"string\"\n },\n \"right\": {\n \"type\": \"string\"\n }\n }\n },\n \"effects\": [\n {\n \"kind\": \"set-value\",\n \"path\": \"config.position\"\n }\n ],\n \"destructive\": false,\n \"requiresConfirmation\": false,\n \"validators\": [\n \"position-values-safe\",\n \"position-not-conflicting\",\n \"dialog-round-trip\"\n ],\n \"affectedPaths\": [\n \"config.position\"\n ],\n \"submissionImpact\": \"visual-only\",\n \"preconditions\": [\n \"config-initialized\"\n ]\n },\n {\n \"operationId\": \"dialog.backdrop.set\",\n \"title\": \"Set dialog backdrop\",\n \"scope\": \"skin\",\n \"targetKind\": \"backdrop\",\n \"target\": {\n \"kind\": \"backdrop\",\n \"resolver\": \"praxis-dialog-backdrop-fields\",\n \"ambiguityPolicy\": \"fail\",\n \"required\": false\n },\n \"inputSchema\": {\n \"type\": \"object\",\n \"minProperties\": 1,\n \"properties\": {\n \"hasBackdrop\": {\n \"type\": \"boolean\"\n },\n \"backdropClass\": {\n \"oneOf\": [\n {\n \"type\": \"string\"\n },\n {\n \"type\": \"array\"\n },\n {\n \"type\": \"object\"\n }\n ]\n }\n }\n },\n \"effects\": [\n {\n \"kind\": \"merge-object\",\n \"path\": \"config\"\n }\n ],\n \"destructive\": false,\n \"requiresConfirmation\": false,\n \"validators\": [\n \"backdrop-policy-explicit\",\n \"backdrop-class-safe\",\n \"dialog-round-trip\"\n ],\n \"affectedPaths\": [\n \"config.hasBackdrop\",\n \"config.backdropClass\"\n ],\n \"submissionImpact\": \"visual-only\",\n \"preconditions\": [\n \"config-initialized\"\n ]\n },\n {\n \"operationId\": \"dialog.closePolicy.set\",\n \"title\": \"Set dialog close policy\",\n \"scope\": \"accessibility\",\n \"targetKind\": \"closePolicy\",\n \"target\": {\n \"kind\": \"closePolicy\",\n \"resolver\": \"praxis-dialog-close-policy-fields\",\n \"ambiguityPolicy\": \"fail\",\n \"required\": false\n },\n \"inputSchema\": {\n \"type\": \"object\",\n \"minProperties\": 1,\n \"properties\": {\n \"disableClose\": {\n \"type\": \"boolean\"\n },\n \"closeOnBackdropClick\": {\n \"type\": \"boolean\"\n },\n \"closeOnNavigation\": {\n \"type\": \"boolean\"\n },\n \"restoreFocus\": {\n \"type\": \"boolean\"\n },\n \"autoFocus\": {\n \"type\": \"boolean\"\n },\n \"autoFocusedElement\": {\n \"type\": \"string\"\n }\n }\n },\n \"effects\": [\n {\n \"kind\": \"merge-object\",\n \"path\": \"config\"\n }\n ],\n \"destructive\": true,\n \"requiresConfirmation\": true,\n \"validators\": [\n \"close-policy-explicit\",\n \"unsafe-close-confirmed-when-needed\",\n \"restore-focus-preserved\",\n \"alertdialog-focus-preserved\",\n \"dialog-round-trip\"\n ],\n \"affectedPaths\": [\n \"config.disableClose\",\n \"config.closeOnBackdropClick\",\n \"config.closeOnNavigation\",\n \"config.restoreFocus\",\n \"config.autoFocus\",\n \"config.autoFocusedElement\"\n ],\n \"submissionImpact\": \"config-only\",\n \"preconditions\": [\n \"config-initialized\",\n \"confirmation-collected\"\n ]\n },\n {\n \"operationId\": \"dialog.preset.apply\",\n \"title\": \"Apply dialog preset\",\n \"scope\": \"global\",\n \"targetKind\": \"preset\",\n \"target\": {\n \"kind\": \"preset\",\n \"resolver\": \"praxis-dialog-global-preset-by-type-variant\",\n \"ambiguityPolicy\": \"fail\",\n \"required\": false\n },\n \"inputSchema\": {\n \"type\": \"object\",\n \"required\": [\n \"dialogType\"\n ],\n \"properties\": {\n \"dialogType\": {\n \"enum\": [\n \"confirm\",\n \"alert\",\n \"prompt\",\n \"custom\"\n ]\n },\n \"variant\": {\n \"type\": \"string\"\n },\n \"localConfig\": {\n \"type\": \"object\"\n }\n }\n },\n \"effects\": [\n {\n \"kind\": \"compile-domain-patch\",\n \"handler\": \"dialog-preset-apply\",\n \"handlerContract\": {\n \"reads\": [\n \"PRAXIS_DIALOG_GLOBAL_PRESETS\",\n \"config\",\n \"variant\"\n ],\n \"writes\": [\n \"config\",\n \"variant\"\n ],\n \"identityKeys\": [\n \"dialogType\",\n \"variant\"\n ],\n \"inputSchema\": {\n \"type\": \"object\",\n \"required\": [\n \"dialogType\"\n ],\n \"properties\": {\n \"dialogType\": {\n \"enum\": [\n \"confirm\",\n \"alert\",\n \"prompt\",\n \"custom\"\n ]\n },\n \"variant\": {\n \"type\": \"string\"\n },\n \"localConfig\": {\n \"type\": \"object\"\n }\n }\n },\n \"failureModes\": [\n \"preset-not-found\",\n \"variant-not-found\",\n \"preset-merge-order-invalid\",\n \"accessibility-regression\"\n ],\n \"description\": \"Applies the canonical merge order type preset -> variant -> local config without mutating child component semantics.\"\n }\n }\n ],\n \"destructive\": false,\n \"requiresConfirmation\": false,\n \"validators\": [\n \"preset-exists\",\n \"preset-merge-order-preserved\",\n \"accessibility-label-preserved\",\n \"dialog-round-trip\"\n ],\n \"affectedPaths\": [\n \"config\",\n \"variant\"\n ],\n \"submissionImpact\": \"config-only\",\n \"preconditions\": [\n \"config-initialized\"\n ]\n },\n {\n \"operationId\": \"childHost.configure\",\n \"title\": \"Configure dialog child host\",\n \"scope\": \"templating\",\n \"targetKind\": \"childHost\",\n \"target\": {\n \"kind\": \"childHost\",\n \"resolver\": \"praxis-dialog-child-component-or-template-host\",\n \"ambiguityPolicy\": \"fail\",\n \"required\": false\n },\n \"inputSchema\": {\n \"type\": \"object\",\n \"required\": [\n \"contentType\"\n ],\n \"properties\": {\n \"contentType\": {\n \"enum\": [\n \"component\",\n \"template\"\n ]\n },\n \"componentId\": {\n \"type\": \"string\"\n },\n \"templateId\": {\n \"type\": \"string\"\n },\n \"inputs\": {\n \"type\": \"object\"\n },\n \"data\": {},\n \"childManifestComponentId\": {\n \"type\": \"string\"\n }\n }\n },\n \"effects\": [\n {\n \"kind\": \"compile-domain-patch\",\n \"handler\": \"dialog-child-host-configure\",\n \"handlerContract\": {\n \"reads\": [\n \"ComponentMetadataRegistry\",\n \"PRAXIS_DIALOG_CONTENT_REGISTRY\",\n \"PRAXIS_DIALOG_TEMPLATE_REGISTRY\",\n \"content\",\n \"componentId\",\n \"inputs\",\n \"data\"\n ],\n \"writes\": [\n \"content\",\n \"componentId\",\n \"inputs\",\n \"data\"\n ],\n \"identityKeys\": [\n \"componentId\",\n \"templateId\"\n ],\n \"failureModes\": [\n \"component-not-registered\",\n \"template-not-registered\",\n \"child-inputs-not-serializable\",\n \"child-manifest-required\"\n ],\n \"description\": \"Configures which component/template is hosted in the dialog and serializable host inputs; child config fields remain delegated to the child manifest.\"\n }\n }\n ],\n \"destructive\": false,\n \"requiresConfirmation\": false,\n \"validators\": [\n \"child-host-registered\",\n \"child-config-delegates-to-child-manifest\",\n \"child-inputs-serializable\",\n \"dialog-round-trip\"\n ],\n \"affectedPaths\": [\n \"content\",\n \"componentId\",\n \"inputs\",\n \"data\"\n ],\n \"submissionImpact\": \"config-only\",\n \"preconditions\": [\n \"config-initialized\"\n ]\n },\n {\n \"operationId\": \"childOperation.delegate\",\n \"title\": \"Delegate operation to child manifest\",\n \"scope\": \"templating\",\n \"targetKind\": \"childHost\",\n \"target\": {\n \"kind\": \"childHost\",\n \"resolver\": \"praxis-dialog-child-component-or-template-host\",\n \"ambiguityPolicy\": \"fail\",\n \"required\": true\n },\n \"inputSchema\": {\n \"type\": \"object\",\n \"required\": [\n \"childManifestComponentId\",\n \"operationId\",\n \"params\"\n ],\n \"properties\": {\n \"childManifestComponentId\": {\n \"type\": \"string\"\n },\n \"operationId\": {\n \"type\": \"string\"\n },\n \"target\": {\n \"type\": \"string\"\n },\n \"params\": {\n \"type\": \"object\"\n }\n }\n },\n \"effects\": [\n {\n \"kind\": \"compile-domain-patch\",\n \"handler\": \"dialog-child-operation-delegate\",\n \"handlerContract\": {\n \"reads\": [\n \"childManifestComponentId\",\n \"operationId\",\n \"params\",\n \"componentRegistry.authoringManifest\"\n ],\n \"writes\": [\n \"inputs\",\n \"data\"\n ],\n \"identityKeys\": [\n \"childManifestComponentId\",\n \"operationId\"\n ],\n \"inputSchema\": {\n \"type\": \"object\",\n \"required\": [\n \"childManifestComponentId\",\n \"operationId\",\n \"params\"\n ],\n \"properties\": {\n \"childManifestComponentId\": {\n \"type\": \"string\"\n },\n \"operationId\": {\n \"type\": \"string\"\n },\n \"target\": {\n \"type\": \"string\"\n },\n \"params\": {\n \"type\": \"object\"\n }\n }\n },\n \"failureModes\": [\n \"child-manifest-not-found\",\n \"child-operation-not-authorized\",\n \"child-operation-validation-failed\",\n \"dialog-shell-child-boundary-violation\"\n ],\n \"description\": \"Delegates child component configuration edits to the child authoring manifest before projecting the validated patch into the dialog child host inputs/data envelope.\"\n }\n }\n ],\n \"destructive\": false,\n \"requiresConfirmation\": false,\n \"validators\": [\n \"child-manifest-resolvable\",\n \"child-operation-authorized\",\n \"child-config-delegates-to-child-manifest\",\n \"dialog-shell-boundary-preserved\"\n ],\n \"affectedPaths\": [\n \"inputs\",\n \"data\"\n ],\n \"submissionImpact\": \"config-only\",\n \"preconditions\": [\n \"child-host-configured\",\n \"child-manifest-resolved\"\n ]\n }\n ],\n \"validators\": [\n {\n \"validatorId\": \"accessibility-label-preserved\",\n \"level\": \"error\",\n \"code\": \"DIALOG_ACCESSIBILITY_LABEL_PRESERVED\",\n \"description\": \"Dialog or alertdialog must keep an accessible title or aria label.\"\n },\n {\n \"validatorId\": \"aria-role-valid\",\n \"level\": \"error\",\n \"code\": \"DIALOG_ARIA_ROLE_VALID\",\n \"description\": \"ariaRole must be dialog or alertdialog.\"\n },\n {\n \"validatorId\": \"shell-fields-supported\",\n \"level\": \"error\",\n \"code\": \"DIALOG_SHELL_FIELDS_SUPPORTED\",\n \"description\": \"Shell edits must target supported PraxisDialogConfig fields.\"\n },\n {\n \"validatorId\": \"size-values-safe\",\n \"level\": \"error\",\n \"code\": \"DIALOG_SIZE_VALUES_SAFE\",\n \"description\": \"Size values must be finite numbers or safe CSS size strings.\"\n },\n {\n \"validatorId\": \"size-min-max-consistent\",\n \"level\": \"error\",\n \"code\": \"DIALOG_SIZE_MIN_MAX_CONSISTENT\",\n \"description\": \"Minimum sizes must not exceed maximum sizes.\"\n },\n {\n \"validatorId\": \"position-values-safe\",\n \"level\": \"error\",\n \"code\": \"DIALOG_POSITION_VALUES_SAFE\",\n \"description\": \"Position values must be safe CSS size strings.\"\n },\n {\n \"validatorId\": \"position-not-conflicting\",\n \"level\": \"warning\",\n \"code\": \"DIALOG_POSITION_NOT_CONFLICTING\",\n \"description\": \"Conflicting position pairs should be explicit and intentional.\"\n },\n {\n \"validatorId\": \"backdrop-policy-explicit\",\n \"level\": \"error\",\n \"code\": \"DIALOG_BACKDROP_POLICY_EXPLICIT\",\n \"description\": \"Backdrop and backdrop-click behavior must be explicit when edited.\"\n },\n {\n \"validatorId\": \"backdrop-class-safe\",\n \"level\": \"error\",\n \"code\": \"DIALOG_BACKDROP_CLASS_SAFE\",\n \"description\": \"Backdrop classes must be serializable safe class values.\"\n },\n {\n \"validatorId\": \"close-policy-explicit\",\n \"level\": \"error\",\n \"code\": \"DIALOG_CLOSE_POLICY_EXPLICIT\",\n \"description\": \"Close behavior must explicitly describe ESC, backdrop and navigation semantics.\"\n },\n {\n \"validatorId\": \"unsafe-close-confirmed-when-needed\",\n \"level\": \"error\",\n \"code\": \"DIALOG_UNSAFE_CLOSE_CONFIRMED\",\n \"description\": \"Disabling safe close affordances or enabling unsafe dismissal requires confirmation.\"\n },\n {\n \"validatorId\": \"restore-focus-preserved\",\n \"level\": \"error\",\n \"code\": \"DIALOG_RESTORE_FOCUS_PRESERVED\",\n \"description\": \"restoreFocus must stay enabled unless intentionally changed with confirmation.\"\n },\n {\n \"validatorId\": \"alertdialog-focus-preserved\",\n \"level\": \"error\",\n \"code\": \"DIALOG_ALERTDIALOG_FOCUS_PRESERVED\",\n \"description\": \"alertdialog focus behavior must keep primary action or configured focus target reachable.\"\n },\n {\n \"validatorId\": \"preset-exists\",\n \"level\": \"error\",\n \"code\": \"DIALOG_PRESET_EXISTS\",\n \"description\": \"Preset type and variant must exist in PRAXIS_DIALOG_GLOBAL_PRESETS or be host-provided.\"\n },\n {\n \"validatorId\": \"preset-merge-order-preserved\",\n \"level\": \"error\",\n \"code\": \"DIALOG_PRESET_MERGE_ORDER_PRESERVED\",\n \"description\": \"Preset merge order must remain type -> variant -> local config.\"\n },\n {\n \"validatorId\": \"child-host-registered\",\n \"level\": \"error\",\n \"code\": \"DIALOG_CHILD_HOST_REGISTERED\",\n \"description\": \"Child component/template must resolve through ComponentMetadataRegistry or dialog registries.\"\n },\n {\n \"validatorId\": \"child-config-delegates-to-child-manifest\",\n \"level\": \"error\",\n \"code\": \"DIALOG_CHILD_CONFIG_DELEGATES\",\n \"description\": \"Child component config edits must be delegated to the child authoring manifest.\"\n },\n {\n \"validatorId\": \"child-inputs-serializable\",\n \"level\": \"error\",\n \"code\": \"DIALOG_CHILD_INPUTS_SERIALIZABLE\",\n \"description\": \"Child inputs/data persisted by authoring must be serializable safe values.\"\n },\n {\n \"validatorId\": \"child-manifest-resolvable\",\n \"level\": \"error\",\n \"code\": \"DIALOG_CHILD_MANIFEST_RESOLVABLE\",\n \"description\": \"Delegated child operation must resolve a child component authoring manifest.\"\n },\n {\n \"validatorId\": \"child-operation-authorized\",\n \"level\": \"error\",\n \"code\": \"DIALOG_CHILD_OPERATION_AUTHORIZED\",\n \"description\": \"Delegated child operation must be declared by the child manifest.\"\n },\n {\n \"validatorId\": \"dialog-shell-boundary-preserved\",\n \"level\": \"error\",\n \"code\": \"DIALOG_SHELL_BOUNDARY_PRESERVED\",\n \"description\": \"Dialog shell operations must not rewrite child component semantics directly.\"\n },\n {\n \"validatorId\": \"dialog-round-trip\",\n \"level\": \"error\",\n \"code\": \"DIALOG_ROUND_TRIP\",\n \"description\": \"Service/tag mode must preserve shell config through open, close, afterClosed and host persistence.\"\n }\n ],\n \"roundTripRequirements\": [\n \"PraxisDialogConfig is the canonical shell config; child component config remains owned by the child manifest.\",\n \"Preset application must preserve merge order: type preset, then variant, then local config.\",\n \"Close policy edits must keep accessibility, focus trap, ESC/backdrop behavior and restoreFocus explicit.\",\n \"Dialog host operations must resolve component/template ids through governed registries instead of ad hoc overlays.\"\n ],\n \"examples\": [\n {\n \"id\": \"set-size\",\n \"request\": \"Open this dialog at 860 by 640 pixels.\",\n \"operationId\": \"dialog.size.set\",\n \"params\": {\n \"width\": \"860px\",\n \"height\": \"640px\"\n },\n \"isPositive\": true\n },\n {\n \"id\": \"set-position\",\n \"request\": \"Anchor the dialog to the right side.\",\n \"operationId\": \"dialog.position.set\",\n \"params\": {\n \"right\": \"24px\",\n \"top\": \"64px\"\n },\n \"isPositive\": true\n },\n {\n \"id\": \"set-backdrop\",\n \"request\": \"Use a backdrop with the default governed backdrop class.\",\n \"operationId\": \"dialog.backdrop.set\",\n \"params\": {\n \"hasBackdrop\": true,\n \"backdropClass\": \"pdx-dialog-backdrop\"\n },\n \"isPositive\": true\n },\n {\n \"id\": \"set-close-policy\",\n \"request\": \"Make this destructive confirm require explicit button close.\",\n \"operationId\": \"dialog.closePolicy.set\",\n \"params\": {\n \"disableClose\": true,\n \"closeOnBackdropClick\": false,\n \"restoreFocus\": true\n },\n \"isPositive\": true\n },\n {\n \"id\": \"apply-danger-preset\",\n \"request\": \"Apply the danger confirm preset.\",\n \"operationId\": \"dialog.preset.apply\",\n \"params\": {\n \"dialogType\": \"confirm\",\n \"variant\": \"danger\"\n },\n \"isPositive\": true\n },\n {\n \"id\": \"configure-child-host\",\n \"request\": \"Host the dynamic page component with customization enabled.\",\n \"operationId\": \"childHost.configure\",\n \"params\": {\n \"contentType\": \"component\",\n \"componentId\": \"praxis-dynamic-page\",\n \"inputs\": {\n \"enableCustomization\": true\n }\n },\n \"isPositive\": true\n },\n {\n \"id\": \"delegate-child-config\",\n \"request\": \"Change the table column inside the dialog.\",\n \"operationId\": \"childOperation.delegate\",\n \"params\": {\n \"childManifestComponentId\": \"praxis-table\",\n \"operationId\": \"column.label.set\",\n \"params\": {\n \"field\": \"name\",\n \"label\": \"Name\"\n }\n },\n \"isPositive\": true\n },\n {\n \"id\": \"set-shell-label\",\n \"request\": \"Set the dialog title and alertdialog role.\",\n \"operationId\": \"dialog.shell.set\",\n \"params\": {\n \"title\": \"Delete record\",\n \"ariaRole\": \"alertdialog\"\n },\n \"isPositive\": true\n },\n {\n \"id\": \"reject-child-shell-mix\",\n \"request\": \"Directly patch the child table config from the dialog shell manifest.\",\n \"operationId\": \"childOperation.delegate\",\n \"params\": {\n \"childManifestComponentId\": \"\",\n \"operationId\": \"patch-raw-child-config\",\n \"params\": {}\n },\n \"isPositive\": false\n },\n {\n \"id\": \"reject-inaccessible-alert\",\n \"request\": \"Make an alertdialog with no title or aria label.\",\n \"operationId\": \"dialog.shell.set\",\n \"params\": {\n \"ariaRole\": \"alertdialog\",\n \"title\": \"\"\n },\n \"isPositive\": false\n },\n {\n \"id\": \"reject-unsafe-close\",\n \"request\": \"Let a destructive dialog close on accidental backdrop click with no confirmation.\",\n \"operationId\": \"dialog.closePolicy.set\",\n \"params\": {\n \"closeOnBackdropClick\": true,\n \"disableClose\": false,\n \"restoreFocus\": false\n },\n \"isPositive\": false\n }\n ]\n}",
|
|
1259
|
+
"content": "{\"schemaVersion\":\"1.0.0\",\"manifestVersion\":\"1.0.0\",\"componentId\":\"praxis-dialog\",\"ownerPackage\":\"@praxisui/dialog\",\"configSchemaId\":\"PraxisDialogConfig\",\"chunkSection\":\"identity\"}",
|
|
1260
1260
|
"sourcePointer": "projects/praxis-dialog/src/lib/ai/praxis-dialog-authoring-manifest.ts",
|
|
1261
|
-
"contentHash": "
|
|
1261
|
+
"contentHash": "5a44d453324eed77cd1b2e5d642585f13254a79d9520e3d8b2c9c6a30ca805db",
|
|
1262
|
+
"sourceKind": "component_definition",
|
|
1263
|
+
"sourceId": "praxis-dialog",
|
|
1264
|
+
"corpusVersion": "1.0.0"
|
|
1265
|
+
},
|
|
1266
|
+
{
|
|
1267
|
+
"chunkIndex": 2,
|
|
1268
|
+
"chunkKind": "authoring_manifest",
|
|
1269
|
+
"content": "{\"schemaVersion\":\"1.0.0\",\"manifestVersion\":\"1.0.0\",\"componentId\":\"praxis-dialog\",\"ownerPackage\":\"@praxisui/dialog\",\"configSchemaId\":\"PraxisDialogConfig\",\"chunkSection\":\"runtimeInputs\",\"runtimeInputs\":[{\"name\":\"config\",\"type\":\"PraxisDialogConfig\",\"description\":\"Canonical shell configuration consumed by PraxisDialog.open and tag mode.\"},{\"name\":\"content\",\"type\":\"ComponentType | TemplateRef | DialogContentDescriptor\",\"description\":\"Dialog child host content. Child semantics remain owned by the child component manifest.\"},{\"name\":\"variant\",\"type\":\"string\",\"description\":\"Optional global preset variant merged after dialog type presets and before local config.\"},{\"name\":\"componentId\",\"type\":\"string\",\"description\":\"Component metadata or dialog registry id used by global dialog open actions.\"},{\"name\":\"inputs\",\"type\":\"Record<string, unknown>\",\"description\":\"Inputs applied to the child component after opening the dialog.\"}]}",
|
|
1270
|
+
"sourcePointer": "projects/praxis-dialog/src/lib/ai/praxis-dialog-authoring-manifest.ts",
|
|
1271
|
+
"contentHash": "2a01fc6b44cb8f514f46255c529b4b60dfa43c9c35379b7aa9b31e8a6fb5f6e2",
|
|
1272
|
+
"sourceKind": "component_definition",
|
|
1273
|
+
"sourceId": "praxis-dialog",
|
|
1274
|
+
"corpusVersion": "1.0.0"
|
|
1275
|
+
},
|
|
1276
|
+
{
|
|
1277
|
+
"chunkIndex": 3,
|
|
1278
|
+
"chunkKind": "authoring_manifest",
|
|
1279
|
+
"content": "{\"schemaVersion\":\"1.0.0\",\"manifestVersion\":\"1.0.0\",\"componentId\":\"praxis-dialog\",\"ownerPackage\":\"@praxisui/dialog\",\"configSchemaId\":\"PraxisDialogConfig\",\"chunkSection\":\"editableTargets\",\"editableTargets\":[{\"kind\":\"dialogShell\",\"resolver\":\"praxis-dialog-config-root\",\"description\":\"Top-level PraxisDialogConfig shell fields such as title, role, actions and theme.\"},{\"kind\":\"size\",\"resolver\":\"praxis-dialog-size-fields\",\"description\":\"Width, height, min/max size fields on PraxisDialogConfig.\"},{\"kind\":\"position\",\"resolver\":\"praxis-dialog-position-fields\",\"description\":\"Overlay position fields top, bottom, left and right.\"},{\"kind\":\"backdrop\",\"resolver\":\"praxis-dialog-backdrop-fields\",\"description\":\"Backdrop enablement and backdrop class semantics.\"},{\"kind\":\"closePolicy\",\"resolver\":\"praxis-dialog-close-policy-fields\",\"description\":\"disableClose, closeOnBackdropClick, closeOnNavigation, restoreFocus and autofocus behavior.\"},{\"kind\":\"preset\",\"resolver\":\"praxis-dialog-global-preset-by-type-variant\",\"description\":\"Type and variant presets merged through PRAXIS_DIALOG_GLOBAL_PRESETS.\"},{\"kind\":\"childHost\",\"resolver\":\"praxis-dialog-child-component-or-template-host\",\"description\":\"Component/template registry child host and input/data envelope.\"}]}",
|
|
1280
|
+
"sourcePointer": "projects/praxis-dialog/src/lib/ai/praxis-dialog-authoring-manifest.ts",
|
|
1281
|
+
"contentHash": "78efb09293d910d567993777869d7af9b55288d946f79db021209ae8e53ff5a1",
|
|
1282
|
+
"sourceKind": "component_definition",
|
|
1283
|
+
"sourceId": "praxis-dialog",
|
|
1284
|
+
"corpusVersion": "1.0.0"
|
|
1285
|
+
},
|
|
1286
|
+
{
|
|
1287
|
+
"chunkIndex": 4,
|
|
1288
|
+
"chunkKind": "authoring_manifest",
|
|
1289
|
+
"content": "{\"schemaVersion\":\"1.0.0\",\"manifestVersion\":\"1.0.0\",\"componentId\":\"praxis-dialog\",\"ownerPackage\":\"@praxisui/dialog\",\"configSchemaId\":\"PraxisDialogConfig\",\"chunkSection\":\"operations\",\"operations\":[{\"operationId\":\"dialog.shell.set\",\"title\":\"Set dialog shell fields\",\"scope\":\"global\",\"targetKind\":\"dialogShell\",\"target\":{\"kind\":\"dialogShell\",\"resolver\":\"praxis-dialog-config-root\",\"ambiguityPolicy\":\"fail\",\"required\":false},\"inputSchema\":{\"type\":\"object\",\"minProperties\":1,\"properties\":{\"title\":{\"type\":\"string\"},\"titleIcon\":{\"type\":\"string\"},\"ariaRole\":{\"enum\":[\"dialog\",\"alertdialog\"]},\"ariaLabel\":{\"type\":\"string\"},\"ariaLabelledBy\":{\"type\":\"string\"},\"ariaDescribedBy\":{\"type\":\"string\"},\"themeColor\":{\"enum\":[\"primary\",\"light\",\"dark\"]},\"actionsLayout\":{\"enum\":[\"start\",\"center\",\"end\",\"stretched\"]}}},\"effects\":[{\"kind\":\"merge-object\",\"path\":\"config\"}],\"destructive\":false,\"requiresConfirmation\":false,\"validators\":[\"accessibility-label-preserved\",\"aria-role-valid\",\"shell-fields-supported\",\"dialog-round-trip\"],\"affectedPaths\":[\"config.title\",\"config.titleIcon\",\"config.ariaRole\",\"config.ariaLabel\",\"config.ariaLabelledBy\",\"config.ariaDescribedBy\",\"config.themeColor\",\"config.actionsLayout\"],\"submissionImpact\":\"config-only\",\"preconditions\":[\"config-initialized\"]},{\"operationId\":\"dialog.size.set\",\"title\":\"Set dialog size\",\"scope\":\"layout\",\"targetKind\":\"size\",\"target\":{\"kind\":\"size\",\"resolver\":\"praxis-dialog-size-fields\",\"ambiguityPolicy\":\"fail\",\"required\":false},\"inputSchema\":{\"type\":\"object\",\"minProperties\":1,\"properties\":{\"width\":{\"oneOf\":[{\"type\":\"string\"},{\"type\":\"number\"}]},\"height\":{\"oneOf\":[{\"type\":\"string\"},{\"type\":\"number\"}]},\"minWidth\":{\"oneOf\":[{\"type\":\"string\"},{\"type\":\"number\"}]},\"maxWidth\":{\"oneOf\":[{\"type\":\"string\"},{\"type\":\"number\"}]},\"minHeight\":{\"oneOf\":[{\"type\":\"string\"},{\"type\":\"number\"}]},\"maxHeight\":{\"oneOf\":[{\"type\":\"string\"},{\"type\":\"number\"}]}}},\"effects\":[{\"kind\":\"merge-object\",\"path\":\"config\"}],\"destructive\":false,\"requiresConfirmation\":false,\"validators\":[\"size-values-safe\",\"size-min-max-consistent\",\"dialog-round-trip\"],\"affectedPaths\":[\"config.width\",\"config.height\",\"config.minWidth\",\"config.maxWidth\",\"config.minHeight\",\"config.maxHeight\"],\"submissionImpact\":\"visual-only\",\"preconditions\":[\"config-initialized\"]},{\"operationId\":\"dialog.position.set\",\"title\":\"Set dialog position\",\"scope\":\"layout\",\"targetKind\":\"position\",\"target\":{\"kind\":\"position\",\"resolver\":\"praxis-dialog-position-fields\",\"ambiguityPolicy\":\"fail\",\"required\":false},\"inputSchema\":{\"type\":\"object\",\"minProperties\":1,\"properties\":{\"top\":{\"type\":\"string\"},\"bottom\":{\"type\":\"string\"},\"left\":{\"type\":\"string\"},\"right\":{\"type\":\"string\"}}},\"effects\":[{\"kind\":\"set-value\",\"path\":\"config.position\"}],\"destructive\":false,\"requiresConfirmation\":false,\"validators\":[\"position-values-safe\",\"position-not-conflicting\",\"dialog-round-trip\"],\"affectedPaths\":[\"config.position\"],\"submissionImpact\":\"visual-only\",\"preconditions\":[\"config-initialized\"]},{\"operationId\":\"dialog.backdrop.set\",\"title\":\"Set dialog backdrop\",\"scope\":\"skin\",\"targetKind\":\"backdrop\",\"target\":{\"kind\":\"backdrop\",\"resolver\":\"praxis-dialog-backdrop-fields\",\"ambiguityPolicy\":\"fail\",\"required\":false},\"inputSchema\":{\"type\":\"object\",\"minProperties\":1,\"properties\":{\"hasBackdrop\":{\"type\":\"boolean\"},\"backdropClass\":{\"oneOf\":[{\"type\":\"string\"},{\"type\":\"array\"},{\"type\":\"object\"}]}}},\"effects\":[{\"kind\":\"merge-object\",\"path\":\"config\"}],\"destructive\":false,\"requiresConfirmation\":false,\"validators\":[\"backdrop-policy-explicit\",\"backdrop-class-safe\",\"dialog-round-trip\"],\"affectedPaths\":[\"config.hasBackdrop\",\"config.backdropClass\"],\"submissionImpact\":\"visual-only\",\"preconditions\":[\"config-initialized\"]},{\"operationId\":\"dialog.closePolicy.set\",\"title\":\"Set dialog close policy\",\"scope\":\"accessibility\",\"targetKind\":\"closePolicy\",\"target\":{\"kind\":\"closePolicy\",\"resolver\":\"praxis-dialog-close-policy-fields\",\"ambiguityPolicy\":\"fail\",\"required\":false},\"inputSchema\":{\"type\":\"object\",\"minProperties\":1,\"properties\":{\"disableClose\":{\"type\":\"boolean\"},\"closeOnBackdropClick\":{\"type\":\"boolean\"},\"closeOnNavigation\":{\"type\":\"boolean\"},\"restoreFocus\":{\"type\":\"boolean\"},\"autoFocus\":{\"type\":\"boolean\"},\"autoFocusedElement\":{\"type\":\"string\"}}},\"effects\":[{\"kind\":\"merge-object\",\"path\":\"config\"}],\"destructive\":true,\"requiresConfirmation\":true,\"validators\":[\"close-policy-explicit\",\"unsafe-close-confirmed-when-needed\",\"restore-focus-preserved\",\"alertdialog-focus-preserved\",\"dialog-round-trip\"],\"affectedPaths\":[\"config.disableClose\",\"config.closeOnBackdropClick\",\"config.closeOnNavigation\",\"config.restoreFocus\",\"config.autoFocus\",\"config.autoFocusedElement\"],\"submissionImpact\":\"config-only\",\"preconditions\":[\"config-initialized\",\"confirmation-collected\"]},{\"operationId\":\"dialog.preset.apply\",\"title\":\"Apply dialog preset\",\"scope\":\"global\",\"targetKind\":\"preset\",\"target\":{\"kind\":\"preset\",\"resolver\":\"praxis-dialog-global-preset-by-type-variant\",\"ambiguityPolicy\":\"fail\",\"required\":false},\"inputSchema\":{\"type\":\"object\",\"required\":[\"dialogType\"],\"properties\":{\"dialogType\":{\"enum\":[\"confirm\",\"alert\",\"prompt\",\"custom\"]},\"variant\":{\"type\":\"string\"},\"localConfig\":{\"type\":\"object\"}}},\"effects\":[{\"kind\":\"compile-domain-patch\",\"handler\":\"dialog-preset-apply\",\"handlerContract\":{\"reads\":[\"PRAXIS_DIALOG_GLOBAL_PRESETS\",\"config\",\"variant\"],\"writes\":[\"config\",\"variant\"],\"identityKeys\":[\"dialogType\",\"variant\"],\"inputSchema\":{\"type\":\"object\",\"required\":[\"dialogType\"],\"properties\":{\"dialogType\":{\"enum\":[\"confirm\",\"alert\",\"prompt\",\"custom\"]},\"variant\":{\"type\":\"string\"},\"localConfig\":{\"type\":\"object\"}}},\"failureModes\":[\"preset-not-found\",\"variant-not-found\",\"preset-merge-order-invalid\",\"accessibility-regression\"],\"description\":\"Applies the canonical merge order type preset -> variant -> local config without mutating child component semantics.\"}}],\"destructive\":false,\"requiresConfirmation\":false,\"validators\":[\"preset-exists\",\"preset-merge-order-preserved\",\"accessibility-label-preserved\",\"dialog-round-trip\"],\"affectedPaths\":[\"config\",\"variant\"],\"submissionImpact\":\"config-only\",\"preconditions\":[\"config-initialized\"]},{\"operationId\":\"childHost.configure\",\"title\":\"Configure dialog child host\",\"scope\":\"templating\",\"targetKind\":\"childHost\",\"target\":{\"kind\":\"childHost\",\"resolver\":\"praxis-dialog-child-component-or-template-host\",\"ambiguityPolicy\":\"fail\",\"required\":false},\"inputSchema\":{\"type\":\"object\",\"required\":[\"contentType\"],\"properties\":{\"contentType\":{\"enum\":[\"component\",\"template\"]},\"componentId\":{\"type\":\"string\"},\"templateId\":{\"type\":\"string\"},\"inputs\":{\"type\":\"object\"},\"data\":{},\"childManifestComponentId\":{\"type\":\"string\"}}},\"effects\":[{\"kind\":\"compile-domain-patch\",\"handler\":\"dialog-child-host-configure\",\"handlerContract\":{\"reads\":[\"ComponentMetadataRegistry\",\"PRAXIS_DIALOG_CONTENT_REGISTRY\",\"PRAXIS_DIALOG_TEMPLATE_REGISTRY\",\"content\",\"componentId\",\"inputs\",\"data\"],\"writes\":[\"content\",\"componentId\",\"inputs\",\"data\"],\"identityKeys\":[\"componentId\",\"templateId\"],\"failureModes\":[\"component-not-registered\",\"template-not-registered\",\"child-inputs-not-serializable\",\"child-manifest-required\"],\"description\":\"Configures which component/template is hosted in the dialog and serializable host inputs; child config fields remain delegated to the child manifest.\"}}],\"destructive\":false,\"requiresConfirmation\":false,\"validators\":[\"child-host-registered\",\"child-config-delegates-to-child-manifest\",\"child-inputs-serializable\",\"dialog-round-trip\"],\"affectedPaths\":[\"content\",\"componentId\",\"inputs\",\"data\"],\"submissionImpact\":\"config-only\",\"preconditions\":[\"config-initialized\"]}]}",
|
|
1290
|
+
"sourcePointer": "projects/praxis-dialog/src/lib/ai/praxis-dialog-authoring-manifest.ts",
|
|
1291
|
+
"contentHash": "271ef73e26312005a496efe7a825589363e2be82c66d2324bb6384bd81b171fc",
|
|
1292
|
+
"sourceKind": "component_definition",
|
|
1293
|
+
"sourceId": "praxis-dialog",
|
|
1294
|
+
"corpusVersion": "1.0.0"
|
|
1295
|
+
},
|
|
1296
|
+
{
|
|
1297
|
+
"chunkIndex": 5,
|
|
1298
|
+
"chunkKind": "authoring_manifest",
|
|
1299
|
+
"content": "{\"schemaVersion\":\"1.0.0\",\"manifestVersion\":\"1.0.0\",\"componentId\":\"praxis-dialog\",\"ownerPackage\":\"@praxisui/dialog\",\"configSchemaId\":\"PraxisDialogConfig\",\"chunkSection\":\"operations\",\"operations\":[{\"operationId\":\"childOperation.delegate\",\"title\":\"Delegate operation to child manifest\",\"scope\":\"templating\",\"targetKind\":\"childHost\",\"target\":{\"kind\":\"childHost\",\"resolver\":\"praxis-dialog-child-component-or-template-host\",\"ambiguityPolicy\":\"fail\",\"required\":true},\"inputSchema\":{\"type\":\"object\",\"required\":[\"childManifestComponentId\",\"operationId\",\"params\"],\"properties\":{\"childManifestComponentId\":{\"type\":\"string\"},\"operationId\":{\"type\":\"string\"},\"target\":{\"type\":\"string\"},\"params\":{\"type\":\"object\"}}},\"effects\":[{\"kind\":\"compile-domain-patch\",\"handler\":\"dialog-child-operation-delegate\",\"handlerContract\":{\"reads\":[\"childManifestComponentId\",\"operationId\",\"params\",\"componentRegistry.authoringManifest\"],\"writes\":[\"inputs\",\"data\"],\"identityKeys\":[\"childManifestComponentId\",\"operationId\"],\"inputSchema\":{\"type\":\"object\",\"required\":[\"childManifestComponentId\",\"operationId\",\"params\"],\"properties\":{\"childManifestComponentId\":{\"type\":\"string\"},\"operationId\":{\"type\":\"string\"},\"target\":{\"type\":\"string\"},\"params\":{\"type\":\"object\"}}},\"failureModes\":[\"child-manifest-not-found\",\"child-operation-not-authorized\",\"child-operation-validation-failed\",\"dialog-shell-child-boundary-violation\"],\"description\":\"Delegates child component configuration edits to the child authoring manifest before projecting the validated patch into the dialog child host inputs/data envelope.\"}}],\"destructive\":false,\"requiresConfirmation\":false,\"validators\":[\"child-manifest-resolvable\",\"child-operation-authorized\",\"child-config-delegates-to-child-manifest\",\"dialog-shell-boundary-preserved\"],\"affectedPaths\":[\"inputs\",\"data\"],\"submissionImpact\":\"config-only\",\"preconditions\":[\"child-host-configured\",\"child-manifest-resolved\"]}]}",
|
|
1300
|
+
"sourcePointer": "projects/praxis-dialog/src/lib/ai/praxis-dialog-authoring-manifest.ts",
|
|
1301
|
+
"contentHash": "8099bef9aa4665cd5e7c57081be9c478146f26e9f9cfd3df1bc86b7494c50a88",
|
|
1302
|
+
"sourceKind": "component_definition",
|
|
1303
|
+
"sourceId": "praxis-dialog",
|
|
1304
|
+
"corpusVersion": "1.0.0"
|
|
1305
|
+
},
|
|
1306
|
+
{
|
|
1307
|
+
"chunkIndex": 6,
|
|
1308
|
+
"chunkKind": "authoring_manifest",
|
|
1309
|
+
"content": "{\"schemaVersion\":\"1.0.0\",\"manifestVersion\":\"1.0.0\",\"componentId\":\"praxis-dialog\",\"ownerPackage\":\"@praxisui/dialog\",\"configSchemaId\":\"PraxisDialogConfig\",\"chunkSection\":\"validators\",\"validators\":[{\"validatorId\":\"accessibility-label-preserved\",\"level\":\"error\",\"code\":\"DIALOG_ACCESSIBILITY_LABEL_PRESERVED\",\"description\":\"Dialog or alertdialog must keep an accessible title or aria label.\"},{\"validatorId\":\"aria-role-valid\",\"level\":\"error\",\"code\":\"DIALOG_ARIA_ROLE_VALID\",\"description\":\"ariaRole must be dialog or alertdialog.\"},{\"validatorId\":\"shell-fields-supported\",\"level\":\"error\",\"code\":\"DIALOG_SHELL_FIELDS_SUPPORTED\",\"description\":\"Shell edits must target supported PraxisDialogConfig fields.\"},{\"validatorId\":\"size-values-safe\",\"level\":\"error\",\"code\":\"DIALOG_SIZE_VALUES_SAFE\",\"description\":\"Size values must be finite numbers or safe CSS size strings.\"},{\"validatorId\":\"size-min-max-consistent\",\"level\":\"error\",\"code\":\"DIALOG_SIZE_MIN_MAX_CONSISTENT\",\"description\":\"Minimum sizes must not exceed maximum sizes.\"},{\"validatorId\":\"position-values-safe\",\"level\":\"error\",\"code\":\"DIALOG_POSITION_VALUES_SAFE\",\"description\":\"Position values must be safe CSS size strings.\"},{\"validatorId\":\"position-not-conflicting\",\"level\":\"warning\",\"code\":\"DIALOG_POSITION_NOT_CONFLICTING\",\"description\":\"Conflicting position pairs should be explicit and intentional.\"},{\"validatorId\":\"backdrop-policy-explicit\",\"level\":\"error\",\"code\":\"DIALOG_BACKDROP_POLICY_EXPLICIT\",\"description\":\"Backdrop and backdrop-click behavior must be explicit when edited.\"},{\"validatorId\":\"backdrop-class-safe\",\"level\":\"error\",\"code\":\"DIALOG_BACKDROP_CLASS_SAFE\",\"description\":\"Backdrop classes must be serializable safe class values.\"},{\"validatorId\":\"close-policy-explicit\",\"level\":\"error\",\"code\":\"DIALOG_CLOSE_POLICY_EXPLICIT\",\"description\":\"Close behavior must explicitly describe ESC, backdrop and navigation semantics.\"},{\"validatorId\":\"unsafe-close-confirmed-when-needed\",\"level\":\"error\",\"code\":\"DIALOG_UNSAFE_CLOSE_CONFIRMED\",\"description\":\"Disabling safe close affordances or enabling unsafe dismissal requires confirmation.\"},{\"validatorId\":\"restore-focus-preserved\",\"level\":\"error\",\"code\":\"DIALOG_RESTORE_FOCUS_PRESERVED\",\"description\":\"restoreFocus must stay enabled unless intentionally changed with confirmation.\"},{\"validatorId\":\"alertdialog-focus-preserved\",\"level\":\"error\",\"code\":\"DIALOG_ALERTDIALOG_FOCUS_PRESERVED\",\"description\":\"alertdialog focus behavior must keep primary action or configured focus target reachable.\"},{\"validatorId\":\"preset-exists\",\"level\":\"error\",\"code\":\"DIALOG_PRESET_EXISTS\",\"description\":\"Preset type and variant must exist in PRAXIS_DIALOG_GLOBAL_PRESETS or be host-provided.\"},{\"validatorId\":\"preset-merge-order-preserved\",\"level\":\"error\",\"code\":\"DIALOG_PRESET_MERGE_ORDER_PRESERVED\",\"description\":\"Preset merge order must remain type -> variant -> local config.\"},{\"validatorId\":\"child-host-registered\",\"level\":\"error\",\"code\":\"DIALOG_CHILD_HOST_REGISTERED\",\"description\":\"Child component/template must resolve through ComponentMetadataRegistry or dialog registries.\"},{\"validatorId\":\"child-config-delegates-to-child-manifest\",\"level\":\"error\",\"code\":\"DIALOG_CHILD_CONFIG_DELEGATES\",\"description\":\"Child component config edits must be delegated to the child authoring manifest.\"},{\"validatorId\":\"child-inputs-serializable\",\"level\":\"error\",\"code\":\"DIALOG_CHILD_INPUTS_SERIALIZABLE\",\"description\":\"Child inputs/data persisted by authoring must be serializable safe values.\"},{\"validatorId\":\"child-manifest-resolvable\",\"level\":\"error\",\"code\":\"DIALOG_CHILD_MANIFEST_RESOLVABLE\",\"description\":\"Delegated child operation must resolve a child component authoring manifest.\"},{\"validatorId\":\"child-operation-authorized\",\"level\":\"error\",\"code\":\"DIALOG_CHILD_OPERATION_AUTHORIZED\",\"description\":\"Delegated child operation must be declared by the child manifest.\"},{\"validatorId\":\"dialog-shell-boundary-preserved\",\"level\":\"error\",\"code\":\"DIALOG_SHELL_BOUNDARY_PRESERVED\",\"description\":\"Dialog shell operations must not rewrite child component semantics directly.\"},{\"validatorId\":\"dialog-round-trip\",\"level\":\"error\",\"code\":\"DIALOG_ROUND_TRIP\",\"description\":\"Service/tag mode must preserve shell config through open, close, afterClosed and host persistence.\"}]}",
|
|
1310
|
+
"sourcePointer": "projects/praxis-dialog/src/lib/ai/praxis-dialog-authoring-manifest.ts",
|
|
1311
|
+
"contentHash": "eb3add49360f8a684c21585401133905b8ab6547ff2db32f34de73a7fe04d90f",
|
|
1312
|
+
"sourceKind": "component_definition",
|
|
1313
|
+
"sourceId": "praxis-dialog",
|
|
1314
|
+
"corpusVersion": "1.0.0"
|
|
1315
|
+
},
|
|
1316
|
+
{
|
|
1317
|
+
"chunkIndex": 7,
|
|
1318
|
+
"chunkKind": "authoring_manifest",
|
|
1319
|
+
"content": "{\"schemaVersion\":\"1.0.0\",\"manifestVersion\":\"1.0.0\",\"componentId\":\"praxis-dialog\",\"ownerPackage\":\"@praxisui/dialog\",\"configSchemaId\":\"PraxisDialogConfig\",\"chunkSection\":\"roundTripRequirements\",\"roundTripRequirements\":[\"PraxisDialogConfig is the canonical shell config; child component config remains owned by the child manifest.\",\"Preset application must preserve merge order: type preset, then variant, then local config.\",\"Close policy edits must keep accessibility, focus trap, ESC/backdrop behavior and restoreFocus explicit.\",\"Dialog host operations must resolve component/template ids through governed registries instead of ad hoc overlays.\"]}",
|
|
1320
|
+
"sourcePointer": "projects/praxis-dialog/src/lib/ai/praxis-dialog-authoring-manifest.ts",
|
|
1321
|
+
"contentHash": "755649f16997bb032560c90d9e4a9d8f90f98f47bb8535eec0908ce1f2a0c1e9",
|
|
1322
|
+
"sourceKind": "component_definition",
|
|
1323
|
+
"sourceId": "praxis-dialog",
|
|
1324
|
+
"corpusVersion": "1.0.0"
|
|
1325
|
+
},
|
|
1326
|
+
{
|
|
1327
|
+
"chunkIndex": 8,
|
|
1328
|
+
"chunkKind": "authoring_manifest",
|
|
1329
|
+
"content": "{\"schemaVersion\":\"1.0.0\",\"manifestVersion\":\"1.0.0\",\"componentId\":\"praxis-dialog\",\"ownerPackage\":\"@praxisui/dialog\",\"configSchemaId\":\"PraxisDialogConfig\",\"chunkSection\":\"examples\",\"examples\":[{\"id\":\"set-size\",\"request\":\"Open this dialog at 860 by 640 pixels.\",\"operationId\":\"dialog.size.set\",\"params\":{\"width\":\"860px\",\"height\":\"640px\"},\"isPositive\":true},{\"id\":\"set-position\",\"request\":\"Anchor the dialog to the right side.\",\"operationId\":\"dialog.position.set\",\"params\":{\"right\":\"24px\",\"top\":\"64px\"},\"isPositive\":true},{\"id\":\"set-backdrop\",\"request\":\"Use a backdrop with the default governed backdrop class.\",\"operationId\":\"dialog.backdrop.set\",\"params\":{\"hasBackdrop\":true,\"backdropClass\":\"pdx-dialog-backdrop\"},\"isPositive\":true},{\"id\":\"set-close-policy\",\"request\":\"Make this destructive confirm require explicit button close.\",\"operationId\":\"dialog.closePolicy.set\",\"params\":{\"disableClose\":true,\"closeOnBackdropClick\":false,\"restoreFocus\":true},\"isPositive\":true},{\"id\":\"apply-danger-preset\",\"request\":\"Apply the danger confirm preset.\",\"operationId\":\"dialog.preset.apply\",\"params\":{\"dialogType\":\"confirm\",\"variant\":\"danger\"},\"isPositive\":true},{\"id\":\"configure-child-host\",\"request\":\"Host the dynamic page component with customization enabled.\",\"operationId\":\"childHost.configure\",\"params\":{\"contentType\":\"component\",\"componentId\":\"praxis-dynamic-page\",\"inputs\":{\"enableCustomization\":true}},\"isPositive\":true},{\"id\":\"delegate-child-config\",\"request\":\"Change the table column inside the dialog.\",\"operationId\":\"childOperation.delegate\",\"params\":{\"childManifestComponentId\":\"praxis-table\",\"operationId\":\"column.label.set\",\"params\":{\"field\":\"name\",\"label\":\"Name\"}},\"isPositive\":true},{\"id\":\"set-shell-label\",\"request\":\"Set the dialog title and alertdialog role.\",\"operationId\":\"dialog.shell.set\",\"params\":{\"title\":\"Delete record\",\"ariaRole\":\"alertdialog\"},\"isPositive\":true},{\"id\":\"reject-child-shell-mix\",\"request\":\"Directly patch the child table config from the dialog shell manifest.\",\"operationId\":\"childOperation.delegate\",\"params\":{\"childManifestComponentId\":\"\",\"operationId\":\"patch-raw-child-config\",\"params\":{}},\"isPositive\":false},{\"id\":\"reject-inaccessible-alert\",\"request\":\"Make an alertdialog with no title or aria label.\",\"operationId\":\"dialog.shell.set\",\"params\":{\"ariaRole\":\"alertdialog\",\"title\":\"\"},\"isPositive\":false},{\"id\":\"reject-unsafe-close\",\"request\":\"Let a destructive dialog close on accidental backdrop click with no confirmation.\",\"operationId\":\"dialog.closePolicy.set\",\"params\":{\"closeOnBackdropClick\":true,\"disableClose\":false,\"restoreFocus\":false},\"isPositive\":false}]}",
|
|
1330
|
+
"sourcePointer": "projects/praxis-dialog/src/lib/ai/praxis-dialog-authoring-manifest.ts",
|
|
1331
|
+
"contentHash": "7ac02b6b620dccc665ecf254994eb369221c28e61e4d4de4506d4696e01eaa59",
|
|
1262
1332
|
"sourceKind": "component_definition",
|
|
1263
1333
|
"sourceId": "praxis-dialog",
|
|
1264
1334
|
"corpusVersion": "1.0.0"
|
package/package.json
CHANGED
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@praxisui/dialog",
|
|
3
|
-
"version": "9.0.0-beta.
|
|
3
|
+
"version": "9.0.0-beta.79",
|
|
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": "^9.0.0-beta.
|
|
10
|
+
"@praxisui/core": "^9.0.0-beta.79",
|
|
11
11
|
"@angular/material": "^21.0.0",
|
|
12
12
|
"@angular/platform-browser": "^21.0.0",
|
|
13
13
|
"rxjs": "~7.8.0"
|