@praxisui/expansion 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.
@@ -1,8 +1,8 @@
1
1
  {
2
2
  "schemaVersion": "1.0.0",
3
- "generatedAt": "2026-07-17T21:08:00.571Z",
3
+ "generatedAt": "2026-07-19T20:13:41.218Z",
4
4
  "packageName": "@praxisui/expansion",
5
- "packageVersion": "9.0.0-beta.77",
5
+ "packageVersion": "9.0.0-beta.79",
6
6
  "sourceRegistry": "praxis-component-registry-ingestion",
7
7
  "sourceRegistryVersion": "1.0.0",
8
8
  "componentCount": 1,
@@ -1709,9 +1709,9 @@
1709
1709
  {
1710
1710
  "chunkIndex": 1,
1711
1711
  "chunkKind": "capabilities",
1712
- "content": "Component Capabilities:\n - Path: appearance\n Category: appearance\n Kind: object\n Description: Appearance settings.\n - Path: appearance.density\n Category: appearance\n Kind: enum\n Description: Density preset.\n - Path: appearance.themeClass\n Category: appearance\n Kind: string\n Description: Theme CSS class for root.\n - Path: appearance.customCss\n Category: appearance\n Kind: string\n Description: Custom CSS injected into component.\n - Path: appearance.tokens\n Category: appearance\n Kind: object\n Description: Token map for theme overrides.\n - Path: appearance.tokens.[token]\n Category: appearance\n Kind: string\n Description: Token value (CSS or var).\n - Path: accordion\n Category: accordion\n Kind: object\n Description: Accordion behavior settings.\n - Path: accordion.multi\n Category: accordion\n Kind: boolean\n Description: Allow multiple panels open.\n - Path: accordion.displayMode\n Category: accordion\n Kind: enum\n Description: Accordion display mode.\n - Path: accordion.togglePosition\n Category: accordion\n Kind: enum\n Description: Toggle icon position.\n - Path: accordion.hideToggle\n Category: accordion\n Kind: boolean\n Description: Hide toggle icon.\n - Path: accordion.id\n Category: accordion\n Kind: string\n Description: Accordion id.\n - Path: panels\n Category: panels\n Kind: array\n Description: Panel list.\n - Path: panels[]\n Category: panels\n Kind: object\n Description: Panel definition.\n - Path: panels[].id\n Category: panels\n Kind: string\n Description: Panel id.\n - Path: panels[].title\n Category: panels\n Kind: string\n Description: Panel title.\n - Path: panels[].description\n Category: panels\n Kind: string\n Description: Panel description.\n - Path: panels[].icon\n Category: panels\n Kind: string\n Description: Panel header icon rendered through PraxisIconDirective.\n - Path: panels[].disabled\n Category: panels\n Kind: boolean\n Description: Disable panel.\n - Path: panels[].expanded\n Category: panels\n Kind: boolean\n Description: Expanded state.\n - Path: panels[].hideToggle\n Category: panels\n Kind: boolean\n Description: Hide toggle icon for panel.\n - Path: panels[].collapsedHeight\n Category: panels\n Kind: string\n Description: Collapsed header height (e.g., 48px).\n - Path: panels[].expandedHeight\n Category: panels\n Kind: string\n Description: Expanded header height (e.g., 64px).\n - Path: panels[].content\n Category: panels\n Kind: array\n Description: Dynamic field metadata list (legacy).\n - Path: panels[].content[]\n Category: panels\n Kind: object\n Description: Dynamic field metadata item.\n - Path: panels[].widgets\n Category: panels\n Kind: array\n Description: WidgetDefinition list for content.\n - Path: panels[].widgets[]\n Category: panels\n Kind: object\n Description: WidgetDefinition item.\n - Path: panels[].widgets[].id\n Category: panels\n Kind: enum\n Description: Component registry id for widget.\n - Path: panels[].widgets[].inputs\n Category: panels\n Kind: object\n Description: Inputs bound into the widget instance.\n - Path: panels[].widgets[].outputs\n Category: panels\n Kind: object\n Description: Outputs mapped to actions.\n - Path: panels[].widgets[].outputs.[outputName]\n Category: panels\n Kind: object\n Description: Output action mapping (ActionDefinition or \"emit\").\n - Path: panels[].widgets[].bindingOrder\n Category: panels\n Kind: array\n Description: Explicit input binding order.\n - Path: panels[].widgets[].bindingOrder[]\n Category: panels\n Kind: string\n Description: Input name applied first.\n - Path: panels[].actionButtons\n Category: actions\n Kind: array\n Description: Action buttons at panel footer.\n - Path: panels[].actionButtons[]\n Category: actions\n Kind: object\n Description: Action button definition.\n - Path: panels[].actionButtons[].icon\n Category: actions\n Kind: string\n Description: Action icon.\n - Path: panels[].actionButtons[].label\n Category: actions\n Kind: string\n Description: Action label.\n - Path: panels[].actionButtons[].action\n Category: actions\n Kind: string\n Description: Action identifier payload.\nCapability Notes:\n - panels[] should be merged by id or title to avoid replacing all panels.\n - appearance.customCss is injected into a <style> tag; avoid unsafe CSS from untrusted sources.\n - appearance.tokens supports limited keys used by styleCss().\n - panels[].widgets[].id must be a ComponentMetadataRegistry id.\n - If a field controlType lacks a dedicated catalog, treat it as FieldMetadata base.\n",
1712
+ "content": "Component Capability:\n - Path: appearance\n Category: appearance\n Kind: object\n Description: Appearance settings.\n\nComponent Capability:\n - Path: appearance.density\n Category: appearance\n Kind: enum\n Description: Density preset.\n\nComponent Capability:\n - Path: appearance.themeClass\n Category: appearance\n Kind: string\n Description: Theme CSS class for root.\n\nComponent Capability:\n - Path: appearance.customCss\n Category: appearance\n Kind: string\n Description: Custom CSS injected into component.\n\nComponent Capability:\n - Path: appearance.tokens\n Category: appearance\n Kind: object\n Description: Token map for theme overrides.\n\nComponent Capability:\n - Path: appearance.tokens.[token]\n Category: appearance\n Kind: string\n Description: Token value (CSS or var).\n\nComponent Capability:\n - Path: accordion\n Category: accordion\n Kind: object\n Description: Accordion behavior settings.\n\nComponent Capability:\n - Path: accordion.multi\n Category: accordion\n Kind: boolean\n Description: Allow multiple panels open.\n\nComponent Capability:\n - Path: accordion.displayMode\n Category: accordion\n Kind: enum\n Description: Accordion display mode.\n\nComponent Capability:\n - Path: accordion.togglePosition\n Category: accordion\n Kind: enum\n Description: Toggle icon position.\n\nComponent Capability:\n - Path: accordion.hideToggle\n Category: accordion\n Kind: boolean\n Description: Hide toggle icon.\n\nComponent Capability:\n - Path: accordion.id\n Category: accordion\n Kind: string\n Description: Accordion id.\n\nComponent Capability:\n - Path: panels\n Category: panels\n Kind: array\n Description: Panel list.\n\nComponent Capability:\n - Path: panels[]\n Category: panels\n Kind: object\n Description: Panel definition.\n\nComponent Capability:\n - Path: panels[].id\n Category: panels\n Kind: string\n Description: Panel id.\n\nComponent Capability:\n - Path: panels[].title\n Category: panels\n Kind: string\n Description: Panel title.\n\nComponent Capability:\n - Path: panels[].description\n Category: panels\n Kind: string\n Description: Panel description.\n\nComponent Capability:\n - Path: panels[].icon\n Category: panels\n Kind: string\n Description: Panel header icon rendered through PraxisIconDirective.\n\nComponent Capability:\n - Path: panels[].disabled\n Category: panels\n Kind: boolean\n Description: Disable panel.\n\nComponent Capability:\n - Path: panels[].expanded\n Category: panels\n Kind: boolean\n Description: Expanded state.\n\nComponent Capability:\n - Path: panels[].hideToggle\n Category: panels\n Kind: boolean\n Description: Hide toggle icon for panel.\n\nComponent Capability:\n - Path: panels[].collapsedHeight\n Category: panels\n Kind: string\n Description: Collapsed header height (e.g., 48px).\n\nComponent Capability:\n - Path: panels[].expandedHeight\n Category: panels\n Kind: string\n Description: Expanded header height (e.g., 64px).\n\nComponent Capability:\n - Path: panels[].content\n Category: panels\n Kind: array\n Description: Dynamic field metadata list (legacy).\n\nComponent Capability:\n - Path: panels[].content[]\n Category: panels\n Kind: object\n Description: Dynamic field metadata item.\n\nComponent Capability:\n - Path: panels[].widgets\n Category: panels\n Kind: array\n Description: WidgetDefinition list for content.\n\nComponent Capability:\n - Path: panels[].widgets[]\n Category: panels\n Kind: object\n Description: WidgetDefinition item.\n\nComponent Capability:\n - Path: panels[].widgets[].id\n Category: panels\n Kind: enum\n Description: Component registry id for widget.\n\nComponent Capability:\n - Path: panels[].widgets[].inputs\n Category: panels\n Kind: object\n Description: Inputs bound into the widget instance.\n\nComponent Capability:\n - Path: panels[].widgets[].outputs\n Category: panels\n Kind: object\n Description: Outputs mapped to actions.\n\nComponent Capability:\n - Path: panels[].widgets[].outputs.[outputName]\n Category: panels\n Kind: object\n Description: Output action mapping (ActionDefinition or \"emit\").\n\nComponent Capability:\n - Path: panels[].widgets[].bindingOrder\n Category: panels\n Kind: array\n Description: Explicit input binding order.\n\nComponent Capability:\n - Path: panels[].widgets[].bindingOrder[]\n Category: panels\n Kind: string\n Description: Input name applied first.\n\nComponent Capability:\n - Path: panels[].actionButtons\n Category: actions\n Kind: array\n Description: Action buttons at panel footer.\n\nComponent Capability:\n - Path: panels[].actionButtons[]\n Category: actions\n Kind: object\n Description: Action button definition.\n\nComponent Capability:\n - Path: panels[].actionButtons[].icon\n Category: actions\n Kind: string\n Description: Action icon.\n\nComponent Capability:\n - Path: panels[].actionButtons[].label\n Category: actions\n Kind: string\n Description: Action label.\n\nComponent Capability:\n - Path: panels[].actionButtons[].action\n Category: actions\n Kind: string\n Description: Action identifier payload.\n\nCapability Note:\n - panels[] should be merged by id or title to avoid replacing all panels.\n\nCapability Note:\n - appearance.customCss is injected into a <style> tag; avoid unsafe CSS from untrusted sources.\n\nCapability Note:\n - appearance.tokens supports limited keys used by styleCss().\n\nCapability Note:\n - panels[].widgets[].id must be a ComponentMetadataRegistry id.\n\nCapability Note:\n - If a field controlType lacks a dedicated catalog, treat it as FieldMetadata base.",
1713
1713
  "sourcePointer": "projects/praxis-expansion/src/lib/ai/expansion-ai-capabilities.ts",
1714
- "contentHash": "2d3b36c05aabe4110cac4f3039fad084b74c85b8255dc525d0fd481546b0be43",
1714
+ "contentHash": "98245f248a9fe27eeebb93eaa0887aa80b0596e8fd211a99f08270af7c19490c",
1715
1715
  "sourceKind": "component_definition",
1716
1716
  "sourceId": "praxis-expansion",
1717
1717
  "corpusVersion": "1.0.0"
@@ -1719,29 +1719,99 @@
1719
1719
  {
1720
1720
  "chunkIndex": 2,
1721
1721
  "chunkKind": "authoring_manifest",
1722
- "content": "{\n \"schemaVersion\": \"1.0.0\",\n \"componentId\": \"praxis-expansion\",\n \"ownerPackage\": \"@praxisui/expansion\",\n \"configSchemaId\": \"ExpansionMetadata\",\n \"manifestVersion\": \"1.0.0\",\n \"runtimeInputs\": [\n {\n \"name\": \"config\",\n \"type\": \"ExpansionMetadata\",\n \"description\": \"Canonical accordion and panel configuration.\"\n },\n {\n \"name\": \"expansionId\",\n \"type\": \"string\",\n \"description\": \"Stable id used to derive expansion config persistence scope.\"\n },\n {\n \"name\": \"componentInstanceId\",\n \"type\": \"string\",\n \"description\": \"Optional instance discriminator for persistence scope.\"\n },\n {\n \"name\": \"context\",\n \"type\": \"Record<string, any>\",\n \"description\": \"Context passed to nested widgets.\"\n },\n {\n \"name\": \"strictValidation\",\n \"type\": \"boolean\",\n \"description\": \"Controls nested widget validation strictness.\"\n },\n {\n \"name\": \"defaultOptions\",\n \"type\": \"MatExpansionPanelDefaultOptions\",\n \"description\": \"Instance-level Material expansion defaults.\"\n },\n {\n \"name\": \"enableCustomization\",\n \"type\": \"boolean\",\n \"description\": \"Enables Settings Panel authoring surfaces.\"\n }\n ],\n \"editableTargets\": [\n {\n \"kind\": \"panel\",\n \"resolver\": \"panel-by-id-or-title\",\n \"description\": \"A panel in config.panels[].\"\n },\n {\n \"kind\": \"panelHeader\",\n \"resolver\": \"panel-by-id-or-title\",\n \"description\": \"Header title, description, icon and heights for a panel.\"\n },\n {\n \"kind\": \"panelContent\",\n \"resolver\": \"panel-content-by-id\",\n \"description\": \"Lazy panel content hosted through fields, widgets or action buttons.\"\n },\n {\n \"kind\": \"expandedState\",\n \"resolver\": \"panel-by-id-or-title\",\n \"description\": \"Panel expanded state and default expanded selection.\"\n },\n {\n \"kind\": \"disabledState\",\n \"resolver\": \"panel-by-id-or-title\",\n \"description\": \"Panel disabled state.\"\n },\n {\n \"kind\": \"layout\",\n \"resolver\": \"expansion-layout-config\",\n \"description\": \"Accordion display mode, toggle position, density and visual layout.\"\n },\n {\n \"kind\": \"behavior\",\n \"resolver\": \"expansion-behavior-config\",\n \"description\": \"Accordion multi-expand and hide-toggle behavior.\"\n }\n ],\n \"operations\": [\n {\n \"operationId\": \"panel.add\",\n \"title\": \"Add panel\",\n \"scope\": \"global\",\n \"targetKind\": \"panel\",\n \"target\": {\n \"kind\": \"panel\",\n \"resolver\": \"panels-array\",\n \"ambiguityPolicy\": \"fail\",\n \"required\": false\n },\n \"inputSchema\": {\n \"type\": \"object\",\n \"required\": [\n \"id\",\n \"title\"\n ],\n \"properties\": {\n \"id\": {\n \"type\": \"string\"\n },\n \"title\": {\n \"type\": \"string\"\n },\n \"description\": {\n \"type\": \"string\"\n },\n \"icon\": {\n \"type\": \"string\"\n },\n \"disabled\": {\n \"type\": \"boolean\"\n },\n \"expanded\": {\n \"type\": \"boolean\"\n },\n \"hideToggle\": {\n \"type\": \"boolean\"\n },\n \"collapsedHeight\": {\n \"type\": \"string\"\n },\n \"expandedHeight\": {\n \"type\": \"string\"\n },\n \"content\": {\n \"type\": \"array\",\n \"items\": {\n \"type\": \"object\"\n }\n },\n \"widgets\": {\n \"type\": \"array\",\n \"items\": {\n \"type\": \"object\"\n }\n },\n \"actionButtons\": {\n \"type\": \"array\",\n \"items\": {\n \"type\": \"object\"\n }\n }\n }\n },\n \"effects\": [\n {\n \"kind\": \"append-unique\",\n \"path\": \"panels[]\",\n \"key\": \"id\"\n }\n ],\n \"destructive\": false,\n \"requiresConfirmation\": false,\n \"validators\": [\n \"panel-id-unique\",\n \"panel-order-deterministic\",\n \"panel-content-valid\"\n ],\n \"affectedPaths\": [\n \"panels[]\"\n ],\n \"submissionImpact\": \"config-only\",\n \"preconditions\": [\n \"config-initialized\"\n ]\n },\n {\n \"operationId\": \"panel.remove\",\n \"title\": \"Remove panel\",\n \"scope\": \"layout\",\n \"targetKind\": \"panel\",\n \"target\": {\n \"kind\": \"panel\",\n \"resolver\": \"panel-by-id-or-title\",\n \"ambiguityPolicy\": \"fail\",\n \"required\": true\n },\n \"inputSchema\": {\n \"type\": \"object\",\n \"properties\": {\n \"replacementExpandedPanelId\": {\n \"type\": \"string\"\n }\n }\n },\n \"effects\": [\n {\n \"kind\": \"compile-domain-patch\",\n \"handler\": \"expansion-panel-remove\",\n \"handlerContract\": {\n \"reads\": [\n \"accordion.multi\",\n \"panels[]\",\n \"panels[].id\",\n \"panels[].expanded\"\n ],\n \"writes\": [\n \"panels[]\",\n \"panels[].expanded\"\n ],\n \"identityKeys\": [\n \"panels[].id\"\n ],\n \"inputSchema\": {\n \"type\": \"object\",\n \"properties\": {\n \"replacementExpandedPanelId\": {\n \"type\": \"string\"\n }\n }\n },\n \"failureModes\": [\n \"panel-not-found\",\n \"replacement-panel-not-found\",\n \"content-removal-not-confirmed\",\n \"single-expand-conflict\"\n ],\n \"description\": \"Removes the target panel by stable id and applies replacement expanded state when the removed panel was expanded.\"\n }\n }\n ],\n \"destructive\": true,\n \"requiresConfirmation\": true,\n \"validators\": [\n \"panel-exists\",\n \"default-expanded-removal-safe\",\n \"panel-content-removal-confirmed\"\n ],\n \"affectedPaths\": [\n \"panels[]\",\n \"panels[].expanded\"\n ],\n \"submissionImpact\": \"config-only\",\n \"preconditions\": [\n \"config-initialized\",\n \"target-panel-exists\",\n \"confirmation-collected\"\n ]\n },\n {\n \"operationId\": \"panel.title.set\",\n \"title\": \"Set panel title\",\n \"scope\": \"layout\",\n \"targetKind\": \"panelHeader\",\n \"target\": {\n \"kind\": \"panelHeader\",\n \"resolver\": \"panel-by-id-or-title\",\n \"ambiguityPolicy\": \"fail\",\n \"required\": true\n },\n \"inputSchema\": {\n \"type\": \"object\",\n \"required\": [\n \"title\"\n ],\n \"properties\": {\n \"title\": {\n \"type\": \"string\"\n }\n }\n },\n \"effects\": [\n {\n \"kind\": \"merge-by-key\",\n \"path\": \"panels[]\",\n \"key\": \"id\"\n }\n ],\n \"destructive\": false,\n \"requiresConfirmation\": false,\n \"validators\": [\n \"panel-exists\",\n \"panel-title-valid\"\n ],\n \"affectedPaths\": [\n \"panels[].title\"\n ],\n \"submissionImpact\": \"config-only\",\n \"preconditions\": [\n \"config-initialized\",\n \"target-panel-exists\"\n ]\n },\n {\n \"operationId\": \"panel.description.set\",\n \"title\": \"Set panel description\",\n \"scope\": \"layout\",\n \"targetKind\": \"panelHeader\",\n \"target\": {\n \"kind\": \"panelHeader\",\n \"resolver\": \"panel-by-id-or-title\",\n \"ambiguityPolicy\": \"fail\",\n \"required\": true\n },\n \"inputSchema\": {\n \"type\": \"object\",\n \"required\": [\n \"description\"\n ],\n \"properties\": {\n \"description\": {\n \"type\": \"string\"\n }\n }\n },\n \"effects\": [\n {\n \"kind\": \"merge-by-key\",\n \"path\": \"panels[]\",\n \"key\": \"id\"\n }\n ],\n \"destructive\": false,\n \"requiresConfirmation\": false,\n \"validators\": [\n \"panel-exists\",\n \"panel-description-valid\"\n ],\n \"affectedPaths\": [\n \"panels[].description\"\n ],\n \"submissionImpact\": \"config-only\",\n \"preconditions\": [\n \"config-initialized\",\n \"target-panel-exists\"\n ]\n },\n {\n \"operationId\": \"panel.icon.set\",\n \"title\": \"Set panel icon\",\n \"scope\": \"layout\",\n \"targetKind\": \"panelHeader\",\n \"target\": {\n \"kind\": \"panelHeader\",\n \"resolver\": \"panel-by-id-or-title\",\n \"ambiguityPolicy\": \"fail\",\n \"required\": true\n },\n \"inputSchema\": {\n \"type\": \"object\",\n \"required\": [\n \"icon\"\n ],\n \"properties\": {\n \"icon\": {\n \"type\": \"string\"\n }\n }\n },\n \"effects\": [\n {\n \"kind\": \"merge-by-key\",\n \"path\": \"panels[]\",\n \"key\": \"id\"\n }\n ],\n \"destructive\": false,\n \"requiresConfirmation\": false,\n \"validators\": [\n \"panel-exists\",\n \"panel-icon-valid\",\n \"editor-runtime-round-trip\"\n ],\n \"affectedPaths\": [\n \"panels[].icon\"\n ],\n \"submissionImpact\": \"config-only\",\n \"preconditions\": [\n \"config-initialized\",\n \"target-panel-exists\"\n ]\n },\n {\n \"operationId\": \"panel.order.set\",\n \"title\": \"Reorder panels\",\n \"scope\": \"layout\",\n \"targetKind\": \"panel\",\n \"target\": {\n \"kind\": \"panel\",\n \"resolver\": \"panel-by-id-or-title\",\n \"ambiguityPolicy\": \"fail\",\n \"required\": true\n },\n \"inputSchema\": {\n \"type\": \"object\",\n \"required\": [\n \"beforePanelId\"\n ],\n \"properties\": {\n \"beforePanelId\": {\n \"type\": \"string\"\n }\n }\n },\n \"effects\": [\n {\n \"kind\": \"reorder-by-key\",\n \"path\": \"panels[]\",\n \"key\": \"id\"\n }\n ],\n \"destructive\": false,\n \"requiresConfirmation\": false,\n \"validators\": [\n \"panel-exists\",\n \"panel-order-deterministic\"\n ],\n \"affectedPaths\": [\n \"panels[]\"\n ],\n \"submissionImpact\": \"config-only\",\n \"preconditions\": [\n \"config-initialized\",\n \"target-panel-exists\"\n ]\n },\n {\n \"operationId\": \"panel.disabled.set\",\n \"title\": \"Set disabled state\",\n \"scope\": \"interaction\",\n \"targetKind\": \"disabledState\",\n \"target\": {\n \"kind\": \"disabledState\",\n \"resolver\": \"panel-by-id-or-title\",\n \"ambiguityPolicy\": \"fail\",\n \"required\": true\n },\n \"inputSchema\": {\n \"type\": \"object\",\n \"required\": [\n \"disabled\"\n ],\n \"properties\": {\n \"disabled\": {\n \"type\": \"boolean\"\n }\n }\n },\n \"effects\": [\n {\n \"kind\": \"merge-by-key\",\n \"path\": \"panels[]\",\n \"key\": \"id\"\n }\n ],\n \"destructive\": false,\n \"requiresConfirmation\": false,\n \"validators\": [\n \"panel-exists\",\n \"disabled-expanded-compatible\"\n ],\n \"affectedPaths\": [\n \"panels[].disabled\",\n \"panels[].expanded\"\n ],\n \"submissionImpact\": \"config-only\",\n \"preconditions\": [\n \"config-initialized\",\n \"target-panel-exists\"\n ]\n },\n {\n \"operationId\": \"behavior.multiExpand.set\",\n \"title\": \"Set multi-expand behavior\",\n \"scope\": \"interaction\",\n \"targetKind\": \"behavior\",\n \"target\": {\n \"kind\": \"behavior\",\n \"resolver\": \"expansion-behavior-config\",\n \"ambiguityPolicy\": \"fail\",\n \"required\": true\n },\n \"inputSchema\": {\n \"type\": \"object\",\n \"required\": [\n \"multi\"\n ],\n \"properties\": {\n \"multi\": {\n \"type\": \"boolean\"\n }\n }\n },\n \"effects\": [\n {\n \"kind\": \"compile-domain-patch\",\n \"handler\": \"expansion-multi-expand-set\",\n \"handlerContract\": {\n \"reads\": [\n \"accordion.multi\",\n \"panels[]\",\n \"panels[].id\",\n \"panels[].expanded\"\n ],\n \"writes\": [\n \"accordion.multi\",\n \"panels[].expanded\"\n ],\n \"identityKeys\": [\n \"panels[].id\"\n ],\n \"inputSchema\": {\n \"type\": \"object\",\n \"required\": [\n \"multi\"\n ],\n \"properties\": {\n \"multi\": {\n \"type\": \"boolean\"\n }\n }\n },\n \"failureModes\": [\n \"multiple-expanded-panels-conflict\",\n \"panel-id-missing\"\n ],\n \"description\": \"Sets accordion.multi and collapses competing expanded panels when switching to single-expand behavior.\"\n }\n }\n ],\n \"destructive\": false,\n \"requiresConfirmation\": false,\n \"validators\": [\n \"multi-expand-default-compatible\",\n \"accordion-values-valid\",\n \"editor-runtime-round-trip\"\n ],\n \"affectedPaths\": [\n \"accordion.multi\",\n \"panels[].expanded\"\n ],\n \"submissionImpact\": \"config-only\",\n \"preconditions\": [\n \"config-initialized\"\n ]\n },\n {\n \"operationId\": \"behavior.defaultExpanded.set\",\n \"title\": \"Set default expanded panel\",\n \"scope\": \"interaction\",\n \"targetKind\": \"expandedState\",\n \"target\": {\n \"kind\": \"expandedState\",\n \"resolver\": \"panel-by-id-or-title\",\n \"ambiguityPolicy\": \"fail\",\n \"required\": true\n },\n \"inputSchema\": {\n \"type\": \"object\",\n \"required\": [\n \"expanded\"\n ],\n \"properties\": {\n \"expanded\": {\n \"type\": \"boolean\"\n },\n \"collapseOthers\": {\n \"type\": \"boolean\"\n }\n }\n },\n \"effects\": [\n {\n \"kind\": \"compile-domain-patch\",\n \"handler\": \"expansion-default-expanded-upsert\",\n \"handlerContract\": {\n \"reads\": [\n \"accordion.multi\",\n \"panels[]\",\n \"panels[].id\",\n \"panels[].expanded\",\n \"panels[].disabled\"\n ],\n \"writes\": [\n \"panels[].expanded\"\n ],\n \"identityKeys\": [\n \"panels[].id\"\n ],\n \"inputSchema\": {\n \"type\": \"object\",\n \"required\": [\n \"panelId\",\n \"expanded\"\n ],\n \"properties\": {\n \"panelId\": {\n \"type\": \"string\"\n },\n \"expanded\": {\n \"type\": \"boolean\"\n },\n \"collapseOthers\": {\n \"type\": \"boolean\"\n }\n }\n },\n \"failureModes\": [\n \"panel-not-found\",\n \"panel-disabled\",\n \"single-expand-conflict\"\n ],\n \"description\": \"Sets a panel expanded state and collapses competing panels when accordion.multi is false.\"\n }\n }\n ],\n \"validators\": [\n \"panel-exists\",\n \"default-expanded-panel-exists\",\n \"multi-expand-default-compatible\",\n \"disabled-expanded-compatible\"\n ],\n \"destructive\": false,\n \"requiresConfirmation\": false,\n \"affectedPaths\": [\n \"panels[].expanded\",\n \"accordion.multi\"\n ],\n \"submissionImpact\": \"config-only\",\n \"preconditions\": [\n \"config-initialized\",\n \"target-panel-exists\"\n ]\n },\n {\n \"operationId\": \"panel.content.set\",\n \"title\": \"Set panel content\",\n \"scope\": \"layout\",\n \"targetKind\": \"panelContent\",\n \"target\": {\n \"kind\": \"panelContent\",\n \"resolver\": \"panel-content-by-id\",\n \"ambiguityPolicy\": \"fail\",\n \"required\": true\n },\n \"inputSchema\": {\n \"type\": \"object\",\n \"minProperties\": 1,\n \"properties\": {\n \"id\": {\n \"type\": \"string\"\n },\n \"title\": {\n \"type\": \"string\"\n },\n \"description\": {\n \"type\": \"string\"\n },\n \"icon\": {\n \"type\": \"string\"\n },\n \"disabled\": {\n \"type\": \"boolean\"\n },\n \"expanded\": {\n \"type\": \"boolean\"\n },\n \"hideToggle\": {\n \"type\": \"boolean\"\n },\n \"collapsedHeight\": {\n \"type\": \"string\"\n },\n \"expandedHeight\": {\n \"type\": \"string\"\n },\n \"content\": {\n \"type\": \"array\",\n \"items\": {\n \"type\": \"object\"\n }\n },\n \"widgets\": {\n \"type\": \"array\",\n \"items\": {\n \"type\": \"object\"\n }\n },\n \"actionButtons\": {\n \"type\": \"array\",\n \"items\": {\n \"type\": \"object\"\n }\n }\n }\n },\n \"effects\": [\n {\n \"kind\": \"merge-by-key\",\n \"path\": \"panels[]\",\n \"key\": \"id\"\n }\n ],\n \"destructive\": false,\n \"requiresConfirmation\": false,\n \"validators\": [\n \"panel-exists\",\n \"panel-content-valid\",\n \"lazy-content-compatible\",\n \"nested-widget-contract-delegated\"\n ],\n \"affectedPaths\": [\n \"panels[].content\",\n \"panels[].widgets\",\n \"panels[].actionButtons\"\n ],\n \"submissionImpact\": \"affects-schema-backed-data\",\n \"preconditions\": [\n \"config-initialized\",\n \"target-panel-exists\"\n ]\n }\n ],\n \"validators\": [\n {\n \"validatorId\": \"panel-id-unique\",\n \"level\": \"error\",\n \"code\": \"PEXP001\",\n \"description\": \"Panel ids must be unique and stable within config.panels[].\"\n },\n {\n \"validatorId\": \"panel-exists\",\n \"level\": \"error\",\n \"code\": \"PEXP002\",\n \"description\": \"Target panel must exist before applying the operation.\"\n },\n {\n \"validatorId\": \"panel-order-deterministic\",\n \"level\": \"error\",\n \"code\": \"PEXP003\",\n \"description\": \"Panel ordering must use stable ids, not transient array index as identity.\"\n },\n {\n \"validatorId\": \"panel-title-valid\",\n \"level\": \"error\",\n \"code\": \"PEXP004\",\n \"description\": \"Panel title must be a non-empty text value after localization/domain projection.\"\n },\n {\n \"validatorId\": \"panel-description-valid\",\n \"level\": \"warning\",\n \"code\": \"PEXP005\",\n \"description\": \"Panel description should remain plain header-support text and not replace panel content.\"\n },\n {\n \"validatorId\": \"panel-icon-valid\",\n \"level\": \"warning\",\n \"code\": \"PEXP006\",\n \"description\": \"Panel icon metadata must remain compatible with PraxisIconDirective and editor round-trip.\"\n },\n {\n \"validatorId\": \"panel-content-valid\",\n \"level\": \"error\",\n \"code\": \"PEXP007\",\n \"description\": \"Panel content must remain valid FieldMetadata[], WidgetDefinition[] or action button metadata.\"\n },\n {\n \"validatorId\": \"panel-content-removal-confirmed\",\n \"level\": \"error\",\n \"code\": \"PEXP008\",\n \"description\": \"Removing a panel with fields, widgets or action buttons is destructive and requires confirmation.\"\n },\n {\n \"validatorId\": \"default-expanded-panel-exists\",\n \"level\": \"error\",\n \"code\": \"PEXP009\",\n \"description\": \"Default expanded state must reference an existing panel id.\"\n },\n {\n \"validatorId\": \"default-expanded-removal-safe\",\n \"level\": \"error\",\n \"code\": \"PEXP010\",\n \"description\": \"Removing an expanded panel requires deterministic replacement state or explicit confirmation.\"\n },\n {\n \"validatorId\": \"multi-expand-default-compatible\",\n \"level\": \"error\",\n \"code\": \"PEXP011\",\n \"description\": \"When accordion.multi is false, at most one panel may be marked expanded by default.\"\n },\n {\n \"validatorId\": \"disabled-expanded-compatible\",\n \"level\": \"warning\",\n \"code\": \"PEXP012\",\n \"description\": \"A disabled panel should not be the only expanded/default focus target without explicit intent.\"\n },\n {\n \"validatorId\": \"accordion-values-valid\",\n \"level\": \"error\",\n \"code\": \"PEXP013\",\n \"description\": \"Accordion behavior values must match ExpansionMetadata and Angular Material expansion bindings.\"\n },\n {\n \"validatorId\": \"lazy-content-compatible\",\n \"level\": \"info\",\n \"code\": \"PEXP015\",\n \"description\": \"Panel content remains lazy through matExpansionPanelContent and should not require eager child runtime state.\"\n },\n {\n \"validatorId\": \"nested-widget-contract-delegated\",\n \"level\": \"info\",\n \"code\": \"PEXP016\",\n \"description\": \"Nested widget content remains governed by child component contracts and component-port nestedPath semantics.\"\n },\n {\n \"validatorId\": \"editor-runtime-round-trip\",\n \"level\": \"error\",\n \"code\": \"PEXP017\",\n \"description\": \"Settings Panel editor, runtime persistence and registry projection must preserve panel ids, order, icons and expanded state.\"\n }\n ],\n \"roundTripRequirements\": [\n \"Operations must preserve stable panel ids; array index may be used only as a resolver fallback, never as canonical identity.\",\n \"Settings Panel editor, runtime persistence and registry projection must round-trip ExpansionMetadata without losing panel ids, order, icons or expanded state.\",\n \"When accordion.multi is false, authoring must collapse competing panels or fail validation instead of producing multiple default-expanded panels.\",\n \"Lazy panel content remains represented by panels[].content, panels[].widgets and panels[].actionButtons; authoring cannot require eager child component instances.\",\n \"Nested widgets remain delegated through WidgetDefinition and component-port nestedPath semantics instead of being redefined by the expansion contract.\"\n ],\n \"examples\": [\n {\n \"id\": \"add-summary-panel\",\n \"request\": \"Add a summary panel before the audit panel.\",\n \"operationId\": \"panel.add\",\n \"params\": {\n \"id\": \"summary\",\n \"title\": \"Summary\"\n },\n \"isPositive\": true\n },\n {\n \"id\": \"rename-details-panel\",\n \"request\": \"Rename details to Account details.\",\n \"operationId\": \"panel.title.set\",\n \"target\": \"details\",\n \"params\": {\n \"title\": \"Account details\"\n },\n \"isPositive\": true\n },\n {\n \"id\": \"describe-audit-panel\",\n \"request\": \"Set audit panel description to Recent changes.\",\n \"operationId\": \"panel.description.set\",\n \"target\": \"audit\",\n \"params\": {\n \"description\": \"Recent changes\"\n },\n \"isPositive\": true\n },\n {\n \"id\": \"set-panel-icon\",\n \"request\": \"Use the info icon on the summary panel.\",\n \"operationId\": \"panel.icon.set\",\n \"target\": \"summary\",\n \"params\": {\n \"icon\": \"info\"\n },\n \"isPositive\": true\n },\n {\n \"id\": \"set-default-expanded-panel\",\n \"request\": \"Open the summary panel by default.\",\n \"operationId\": \"behavior.defaultExpanded.set\",\n \"target\": \"summary\",\n \"params\": {\n \"expanded\": true,\n \"collapseOthers\": true\n },\n \"isPositive\": true\n },\n {\n \"id\": \"enable-multi-expand\",\n \"request\": \"Allow multiple panels to stay open.\",\n \"operationId\": \"behavior.multiExpand.set\",\n \"params\": {\n \"multi\": true\n },\n \"isPositive\": true\n },\n {\n \"id\": \"disable-archive-panel\",\n \"request\": \"Disable the archive panel.\",\n \"operationId\": \"panel.disabled.set\",\n \"target\": \"archive\",\n \"params\": {\n \"disabled\": true\n },\n \"isPositive\": true\n },\n {\n \"id\": \"reject-missing-default-expanded\",\n \"request\": \"Open the missing panel by default.\",\n \"operationId\": \"behavior.defaultExpanded.set\",\n \"target\": \"missing\",\n \"params\": {\n \"expanded\": true\n },\n \"isPositive\": false\n },\n {\n \"id\": \"reject-duplicate-panel-id\",\n \"request\": \"Add another panel with id summary.\",\n \"operationId\": \"panel.add\",\n \"params\": {\n \"id\": \"summary\",\n \"title\": \"Duplicate summary\"\n },\n \"isPositive\": false\n },\n {\n \"id\": \"confirm-remove-content-panel\",\n \"request\": \"Remove the details panel that contains widgets.\",\n \"operationId\": \"panel.remove\",\n \"target\": \"details\",\n \"params\": {\n \"replacementExpandedPanelId\": \"summary\"\n },\n \"isPositive\": true\n }\n ]\n}",
1722
+ "content": "{\"schemaVersion\":\"1.0.0\",\"manifestVersion\":\"1.0.0\",\"componentId\":\"praxis-expansion\",\"ownerPackage\":\"@praxisui/expansion\",\"configSchemaId\":\"ExpansionMetadata\",\"chunkSection\":\"identity\"}",
1723
1723
  "sourcePointer": "projects/praxis-expansion/src/lib/ai/praxis-expansion-authoring-manifest.ts",
1724
- "contentHash": "e6c84530c6f11f875816c5a4832d3e3e1f70884b37a1aee2cf89a6b722ab546c",
1724
+ "contentHash": "95f8606354a71b9e4d77d13556d18180d62cbf5555e0bdce6a7d56a5e5605735",
1725
1725
  "sourceKind": "component_definition",
1726
1726
  "sourceId": "praxis-expansion",
1727
1727
  "corpusVersion": "1.0.0"
1728
1728
  },
1729
1729
  {
1730
1730
  "chunkIndex": 3,
1731
+ "chunkKind": "authoring_manifest",
1732
+ "content": "{\"schemaVersion\":\"1.0.0\",\"manifestVersion\":\"1.0.0\",\"componentId\":\"praxis-expansion\",\"ownerPackage\":\"@praxisui/expansion\",\"configSchemaId\":\"ExpansionMetadata\",\"chunkSection\":\"runtimeInputs\",\"runtimeInputs\":[{\"name\":\"config\",\"type\":\"ExpansionMetadata\",\"description\":\"Canonical accordion and panel configuration.\"},{\"name\":\"expansionId\",\"type\":\"string\",\"description\":\"Stable id used to derive expansion config persistence scope.\"},{\"name\":\"componentInstanceId\",\"type\":\"string\",\"description\":\"Optional instance discriminator for persistence scope.\"},{\"name\":\"context\",\"type\":\"Record<string, any>\",\"description\":\"Context passed to nested widgets.\"},{\"name\":\"strictValidation\",\"type\":\"boolean\",\"description\":\"Controls nested widget validation strictness.\"},{\"name\":\"defaultOptions\",\"type\":\"MatExpansionPanelDefaultOptions\",\"description\":\"Instance-level Material expansion defaults.\"},{\"name\":\"enableCustomization\",\"type\":\"boolean\",\"description\":\"Enables Settings Panel authoring surfaces.\"}]}",
1733
+ "sourcePointer": "projects/praxis-expansion/src/lib/ai/praxis-expansion-authoring-manifest.ts",
1734
+ "contentHash": "087beeaa793a947e5c4de9b19068ef3bd5ba74a5d8503a08339c73f6e1c81bfd",
1735
+ "sourceKind": "component_definition",
1736
+ "sourceId": "praxis-expansion",
1737
+ "corpusVersion": "1.0.0"
1738
+ },
1739
+ {
1740
+ "chunkIndex": 4,
1741
+ "chunkKind": "authoring_manifest",
1742
+ "content": "{\"schemaVersion\":\"1.0.0\",\"manifestVersion\":\"1.0.0\",\"componentId\":\"praxis-expansion\",\"ownerPackage\":\"@praxisui/expansion\",\"configSchemaId\":\"ExpansionMetadata\",\"chunkSection\":\"editableTargets\",\"editableTargets\":[{\"kind\":\"panel\",\"resolver\":\"panel-by-id-or-title\",\"description\":\"A panel in config.panels[].\"},{\"kind\":\"panelHeader\",\"resolver\":\"panel-by-id-or-title\",\"description\":\"Header title, description, icon and heights for a panel.\"},{\"kind\":\"panelContent\",\"resolver\":\"panel-content-by-id\",\"description\":\"Lazy panel content hosted through fields, widgets or action buttons.\"},{\"kind\":\"expandedState\",\"resolver\":\"panel-by-id-or-title\",\"description\":\"Panel expanded state and default expanded selection.\"},{\"kind\":\"disabledState\",\"resolver\":\"panel-by-id-or-title\",\"description\":\"Panel disabled state.\"},{\"kind\":\"layout\",\"resolver\":\"expansion-layout-config\",\"description\":\"Accordion display mode, toggle position, density and visual layout.\"},{\"kind\":\"behavior\",\"resolver\":\"expansion-behavior-config\",\"description\":\"Accordion multi-expand and hide-toggle behavior.\"}]}",
1743
+ "sourcePointer": "projects/praxis-expansion/src/lib/ai/praxis-expansion-authoring-manifest.ts",
1744
+ "contentHash": "6b2afeb7d28836fb285a64e79190200d968ad34d72eeae6311c9073fb4a41d50",
1745
+ "sourceKind": "component_definition",
1746
+ "sourceId": "praxis-expansion",
1747
+ "corpusVersion": "1.0.0"
1748
+ },
1749
+ {
1750
+ "chunkIndex": 5,
1751
+ "chunkKind": "authoring_manifest",
1752
+ "content": "{\"schemaVersion\":\"1.0.0\",\"manifestVersion\":\"1.0.0\",\"componentId\":\"praxis-expansion\",\"ownerPackage\":\"@praxisui/expansion\",\"configSchemaId\":\"ExpansionMetadata\",\"chunkSection\":\"operations\",\"operations\":[{\"operationId\":\"panel.add\",\"title\":\"Add panel\",\"scope\":\"global\",\"targetKind\":\"panel\",\"target\":{\"kind\":\"panel\",\"resolver\":\"panels-array\",\"ambiguityPolicy\":\"fail\",\"required\":false},\"inputSchema\":{\"type\":\"object\",\"required\":[\"id\",\"title\"],\"properties\":{\"id\":{\"type\":\"string\"},\"title\":{\"type\":\"string\"},\"description\":{\"type\":\"string\"},\"icon\":{\"type\":\"string\"},\"disabled\":{\"type\":\"boolean\"},\"expanded\":{\"type\":\"boolean\"},\"hideToggle\":{\"type\":\"boolean\"},\"collapsedHeight\":{\"type\":\"string\"},\"expandedHeight\":{\"type\":\"string\"},\"content\":{\"type\":\"array\",\"items\":{\"type\":\"object\"}},\"widgets\":{\"type\":\"array\",\"items\":{\"type\":\"object\"}},\"actionButtons\":{\"type\":\"array\",\"items\":{\"type\":\"object\"}}}},\"effects\":[{\"kind\":\"append-unique\",\"path\":\"panels[]\",\"key\":\"id\"}],\"destructive\":false,\"requiresConfirmation\":false,\"validators\":[\"panel-id-unique\",\"panel-order-deterministic\",\"panel-content-valid\"],\"affectedPaths\":[\"panels[]\"],\"submissionImpact\":\"config-only\",\"preconditions\":[\"config-initialized\"]},{\"operationId\":\"panel.remove\",\"title\":\"Remove panel\",\"scope\":\"layout\",\"targetKind\":\"panel\",\"target\":{\"kind\":\"panel\",\"resolver\":\"panel-by-id-or-title\",\"ambiguityPolicy\":\"fail\",\"required\":true},\"inputSchema\":{\"type\":\"object\",\"properties\":{\"replacementExpandedPanelId\":{\"type\":\"string\"}}},\"effects\":[{\"kind\":\"compile-domain-patch\",\"handler\":\"expansion-panel-remove\",\"handlerContract\":{\"reads\":[\"accordion.multi\",\"panels[]\",\"panels[].id\",\"panels[].expanded\"],\"writes\":[\"panels[]\",\"panels[].expanded\"],\"identityKeys\":[\"panels[].id\"],\"inputSchema\":{\"type\":\"object\",\"properties\":{\"replacementExpandedPanelId\":{\"type\":\"string\"}}},\"failureModes\":[\"panel-not-found\",\"replacement-panel-not-found\",\"content-removal-not-confirmed\",\"single-expand-conflict\"],\"description\":\"Removes the target panel by stable id and applies replacement expanded state when the removed panel was expanded.\"}}],\"destructive\":true,\"requiresConfirmation\":true,\"validators\":[\"panel-exists\",\"default-expanded-removal-safe\",\"panel-content-removal-confirmed\"],\"affectedPaths\":[\"panels[]\",\"panels[].expanded\"],\"submissionImpact\":\"config-only\",\"preconditions\":[\"config-initialized\",\"target-panel-exists\",\"confirmation-collected\"]},{\"operationId\":\"panel.title.set\",\"title\":\"Set panel title\",\"scope\":\"layout\",\"targetKind\":\"panelHeader\",\"target\":{\"kind\":\"panelHeader\",\"resolver\":\"panel-by-id-or-title\",\"ambiguityPolicy\":\"fail\",\"required\":true},\"inputSchema\":{\"type\":\"object\",\"required\":[\"title\"],\"properties\":{\"title\":{\"type\":\"string\"}}},\"effects\":[{\"kind\":\"merge-by-key\",\"path\":\"panels[]\",\"key\":\"id\"}],\"destructive\":false,\"requiresConfirmation\":false,\"validators\":[\"panel-exists\",\"panel-title-valid\"],\"affectedPaths\":[\"panels[].title\"],\"submissionImpact\":\"config-only\",\"preconditions\":[\"config-initialized\",\"target-panel-exists\"]},{\"operationId\":\"panel.description.set\",\"title\":\"Set panel description\",\"scope\":\"layout\",\"targetKind\":\"panelHeader\",\"target\":{\"kind\":\"panelHeader\",\"resolver\":\"panel-by-id-or-title\",\"ambiguityPolicy\":\"fail\",\"required\":true},\"inputSchema\":{\"type\":\"object\",\"required\":[\"description\"],\"properties\":{\"description\":{\"type\":\"string\"}}},\"effects\":[{\"kind\":\"merge-by-key\",\"path\":\"panels[]\",\"key\":\"id\"}],\"destructive\":false,\"requiresConfirmation\":false,\"validators\":[\"panel-exists\",\"panel-description-valid\"],\"affectedPaths\":[\"panels[].description\"],\"submissionImpact\":\"config-only\",\"preconditions\":[\"config-initialized\",\"target-panel-exists\"]},{\"operationId\":\"panel.icon.set\",\"title\":\"Set panel icon\",\"scope\":\"layout\",\"targetKind\":\"panelHeader\",\"target\":{\"kind\":\"panelHeader\",\"resolver\":\"panel-by-id-or-title\",\"ambiguityPolicy\":\"fail\",\"required\":true},\"inputSchema\":{\"type\":\"object\",\"required\":[\"icon\"],\"properties\":{\"icon\":{\"type\":\"string\"}}},\"effects\":[{\"kind\":\"merge-by-key\",\"path\":\"panels[]\",\"key\":\"id\"}],\"destructive\":false,\"requiresConfirmation\":false,\"validators\":[\"panel-exists\",\"panel-icon-valid\",\"editor-runtime-round-trip\"],\"affectedPaths\":[\"panels[].icon\"],\"submissionImpact\":\"config-only\",\"preconditions\":[\"config-initialized\",\"target-panel-exists\"]},{\"operationId\":\"panel.order.set\",\"title\":\"Reorder panels\",\"scope\":\"layout\",\"targetKind\":\"panel\",\"target\":{\"kind\":\"panel\",\"resolver\":\"panel-by-id-or-title\",\"ambiguityPolicy\":\"fail\",\"required\":true},\"inputSchema\":{\"type\":\"object\",\"required\":[\"beforePanelId\"],\"properties\":{\"beforePanelId\":{\"type\":\"string\"}}},\"effects\":[{\"kind\":\"reorder-by-key\",\"path\":\"panels[]\",\"key\":\"id\"}],\"destructive\":false,\"requiresConfirmation\":false,\"validators\":[\"panel-exists\",\"panel-order-deterministic\"],\"affectedPaths\":[\"panels[]\"],\"submissionImpact\":\"config-only\",\"preconditions\":[\"config-initialized\",\"target-panel-exists\"]},{\"operationId\":\"panel.disabled.set\",\"title\":\"Set disabled state\",\"scope\":\"interaction\",\"targetKind\":\"disabledState\",\"target\":{\"kind\":\"disabledState\",\"resolver\":\"panel-by-id-or-title\",\"ambiguityPolicy\":\"fail\",\"required\":true},\"inputSchema\":{\"type\":\"object\",\"required\":[\"disabled\"],\"properties\":{\"disabled\":{\"type\":\"boolean\"}}},\"effects\":[{\"kind\":\"merge-by-key\",\"path\":\"panels[]\",\"key\":\"id\"}],\"destructive\":false,\"requiresConfirmation\":false,\"validators\":[\"panel-exists\",\"disabled-expanded-compatible\"],\"affectedPaths\":[\"panels[].disabled\",\"panels[].expanded\"],\"submissionImpact\":\"config-only\",\"preconditions\":[\"config-initialized\",\"target-panel-exists\"]},{\"operationId\":\"behavior.multiExpand.set\",\"title\":\"Set multi-expand behavior\",\"scope\":\"interaction\",\"targetKind\":\"behavior\",\"target\":{\"kind\":\"behavior\",\"resolver\":\"expansion-behavior-config\",\"ambiguityPolicy\":\"fail\",\"required\":true},\"inputSchema\":{\"type\":\"object\",\"required\":[\"multi\"],\"properties\":{\"multi\":{\"type\":\"boolean\"}}},\"effects\":[{\"kind\":\"compile-domain-patch\",\"handler\":\"expansion-multi-expand-set\",\"handlerContract\":{\"reads\":[\"accordion.multi\",\"panels[]\",\"panels[].id\",\"panels[].expanded\"],\"writes\":[\"accordion.multi\",\"panels[].expanded\"],\"identityKeys\":[\"panels[].id\"],\"inputSchema\":{\"type\":\"object\",\"required\":[\"multi\"],\"properties\":{\"multi\":{\"type\":\"boolean\"}}},\"failureModes\":[\"multiple-expanded-panels-conflict\",\"panel-id-missing\"],\"description\":\"Sets accordion.multi and collapses competing expanded panels when switching to single-expand behavior.\"}}],\"destructive\":false,\"requiresConfirmation\":false,\"validators\":[\"multi-expand-default-compatible\",\"accordion-values-valid\",\"editor-runtime-round-trip\"],\"affectedPaths\":[\"accordion.multi\",\"panels[].expanded\"],\"submissionImpact\":\"config-only\",\"preconditions\":[\"config-initialized\"]},{\"operationId\":\"behavior.defaultExpanded.set\",\"title\":\"Set default expanded panel\",\"scope\":\"interaction\",\"targetKind\":\"expandedState\",\"target\":{\"kind\":\"expandedState\",\"resolver\":\"panel-by-id-or-title\",\"ambiguityPolicy\":\"fail\",\"required\":true},\"inputSchema\":{\"type\":\"object\",\"required\":[\"expanded\"],\"properties\":{\"expanded\":{\"type\":\"boolean\"},\"collapseOthers\":{\"type\":\"boolean\"}}},\"effects\":[{\"kind\":\"compile-domain-patch\",\"handler\":\"expansion-default-expanded-upsert\",\"handlerContract\":{\"reads\":[\"accordion.multi\",\"panels[]\",\"panels[].id\",\"panels[].expanded\",\"panels[].disabled\"],\"writes\":[\"panels[].expanded\"],\"identityKeys\":[\"panels[].id\"],\"inputSchema\":{\"type\":\"object\",\"required\":[\"panelId\",\"expanded\"],\"properties\":{\"panelId\":{\"type\":\"string\"},\"expanded\":{\"type\":\"boolean\"},\"collapseOthers\":{\"type\":\"boolean\"}}},\"failureModes\":[\"panel-not-found\",\"panel-disabled\",\"single-expand-conflict\"],\"description\":\"Sets a panel expanded state and collapses competing panels when accordion.multi is false.\"}}],\"validators\":[\"panel-exists\",\"default-expanded-panel-exists\",\"multi-expand-default-compatible\",\"disabled-expanded-compatible\"],\"destructive\":false,\"requiresConfirmation\":false,\"affectedPaths\":[\"panels[].expanded\",\"accordion.multi\"],\"submissionImpact\":\"config-only\",\"preconditions\":[\"config-initialized\",\"target-panel-exists\"]}]}",
1753
+ "sourcePointer": "projects/praxis-expansion/src/lib/ai/praxis-expansion-authoring-manifest.ts",
1754
+ "contentHash": "39661388601522b6e79510f657c2c8cd7e8ca7d1e9402f32dcb0f242904397b4",
1755
+ "sourceKind": "component_definition",
1756
+ "sourceId": "praxis-expansion",
1757
+ "corpusVersion": "1.0.0"
1758
+ },
1759
+ {
1760
+ "chunkIndex": 6,
1761
+ "chunkKind": "authoring_manifest",
1762
+ "content": "{\"schemaVersion\":\"1.0.0\",\"manifestVersion\":\"1.0.0\",\"componentId\":\"praxis-expansion\",\"ownerPackage\":\"@praxisui/expansion\",\"configSchemaId\":\"ExpansionMetadata\",\"chunkSection\":\"operations\",\"operations\":[{\"operationId\":\"panel.content.set\",\"title\":\"Set panel content\",\"scope\":\"layout\",\"targetKind\":\"panelContent\",\"target\":{\"kind\":\"panelContent\",\"resolver\":\"panel-content-by-id\",\"ambiguityPolicy\":\"fail\",\"required\":true},\"inputSchema\":{\"type\":\"object\",\"minProperties\":1,\"properties\":{\"id\":{\"type\":\"string\"},\"title\":{\"type\":\"string\"},\"description\":{\"type\":\"string\"},\"icon\":{\"type\":\"string\"},\"disabled\":{\"type\":\"boolean\"},\"expanded\":{\"type\":\"boolean\"},\"hideToggle\":{\"type\":\"boolean\"},\"collapsedHeight\":{\"type\":\"string\"},\"expandedHeight\":{\"type\":\"string\"},\"content\":{\"type\":\"array\",\"items\":{\"type\":\"object\"}},\"widgets\":{\"type\":\"array\",\"items\":{\"type\":\"object\"}},\"actionButtons\":{\"type\":\"array\",\"items\":{\"type\":\"object\"}}}},\"effects\":[{\"kind\":\"merge-by-key\",\"path\":\"panels[]\",\"key\":\"id\"}],\"destructive\":false,\"requiresConfirmation\":false,\"validators\":[\"panel-exists\",\"panel-content-valid\",\"lazy-content-compatible\",\"nested-widget-contract-delegated\"],\"affectedPaths\":[\"panels[].content\",\"panels[].widgets\",\"panels[].actionButtons\"],\"submissionImpact\":\"affects-schema-backed-data\",\"preconditions\":[\"config-initialized\",\"target-panel-exists\"]}]}",
1763
+ "sourcePointer": "projects/praxis-expansion/src/lib/ai/praxis-expansion-authoring-manifest.ts",
1764
+ "contentHash": "08aab4c31ec32c247181559404641649b19078241ef3cb10e0c7835d903de875",
1765
+ "sourceKind": "component_definition",
1766
+ "sourceId": "praxis-expansion",
1767
+ "corpusVersion": "1.0.0"
1768
+ },
1769
+ {
1770
+ "chunkIndex": 7,
1771
+ "chunkKind": "authoring_manifest",
1772
+ "content": "{\"schemaVersion\":\"1.0.0\",\"manifestVersion\":\"1.0.0\",\"componentId\":\"praxis-expansion\",\"ownerPackage\":\"@praxisui/expansion\",\"configSchemaId\":\"ExpansionMetadata\",\"chunkSection\":\"validators\",\"validators\":[{\"validatorId\":\"panel-id-unique\",\"level\":\"error\",\"code\":\"PEXP001\",\"description\":\"Panel ids must be unique and stable within config.panels[].\"},{\"validatorId\":\"panel-exists\",\"level\":\"error\",\"code\":\"PEXP002\",\"description\":\"Target panel must exist before applying the operation.\"},{\"validatorId\":\"panel-order-deterministic\",\"level\":\"error\",\"code\":\"PEXP003\",\"description\":\"Panel ordering must use stable ids, not transient array index as identity.\"},{\"validatorId\":\"panel-title-valid\",\"level\":\"error\",\"code\":\"PEXP004\",\"description\":\"Panel title must be a non-empty text value after localization/domain projection.\"},{\"validatorId\":\"panel-description-valid\",\"level\":\"warning\",\"code\":\"PEXP005\",\"description\":\"Panel description should remain plain header-support text and not replace panel content.\"},{\"validatorId\":\"panel-icon-valid\",\"level\":\"warning\",\"code\":\"PEXP006\",\"description\":\"Panel icon metadata must remain compatible with PraxisIconDirective and editor round-trip.\"},{\"validatorId\":\"panel-content-valid\",\"level\":\"error\",\"code\":\"PEXP007\",\"description\":\"Panel content must remain valid FieldMetadata[], WidgetDefinition[] or action button metadata.\"},{\"validatorId\":\"panel-content-removal-confirmed\",\"level\":\"error\",\"code\":\"PEXP008\",\"description\":\"Removing a panel with fields, widgets or action buttons is destructive and requires confirmation.\"},{\"validatorId\":\"default-expanded-panel-exists\",\"level\":\"error\",\"code\":\"PEXP009\",\"description\":\"Default expanded state must reference an existing panel id.\"},{\"validatorId\":\"default-expanded-removal-safe\",\"level\":\"error\",\"code\":\"PEXP010\",\"description\":\"Removing an expanded panel requires deterministic replacement state or explicit confirmation.\"},{\"validatorId\":\"multi-expand-default-compatible\",\"level\":\"error\",\"code\":\"PEXP011\",\"description\":\"When accordion.multi is false, at most one panel may be marked expanded by default.\"},{\"validatorId\":\"disabled-expanded-compatible\",\"level\":\"warning\",\"code\":\"PEXP012\",\"description\":\"A disabled panel should not be the only expanded/default focus target without explicit intent.\"},{\"validatorId\":\"accordion-values-valid\",\"level\":\"error\",\"code\":\"PEXP013\",\"description\":\"Accordion behavior values must match ExpansionMetadata and Angular Material expansion bindings.\"},{\"validatorId\":\"lazy-content-compatible\",\"level\":\"info\",\"code\":\"PEXP015\",\"description\":\"Panel content remains lazy through matExpansionPanelContent and should not require eager child runtime state.\"},{\"validatorId\":\"nested-widget-contract-delegated\",\"level\":\"info\",\"code\":\"PEXP016\",\"description\":\"Nested widget content remains governed by child component contracts and component-port nestedPath semantics.\"},{\"validatorId\":\"editor-runtime-round-trip\",\"level\":\"error\",\"code\":\"PEXP017\",\"description\":\"Settings Panel editor, runtime persistence and registry projection must preserve panel ids, order, icons and expanded state.\"}]}",
1773
+ "sourcePointer": "projects/praxis-expansion/src/lib/ai/praxis-expansion-authoring-manifest.ts",
1774
+ "contentHash": "f762e564457ae43f9031a8a8b1be3999b76acce2c78b3727dcce7348c5ad6a07",
1775
+ "sourceKind": "component_definition",
1776
+ "sourceId": "praxis-expansion",
1777
+ "corpusVersion": "1.0.0"
1778
+ },
1779
+ {
1780
+ "chunkIndex": 8,
1781
+ "chunkKind": "authoring_manifest",
1782
+ "content": "{\"schemaVersion\":\"1.0.0\",\"manifestVersion\":\"1.0.0\",\"componentId\":\"praxis-expansion\",\"ownerPackage\":\"@praxisui/expansion\",\"configSchemaId\":\"ExpansionMetadata\",\"chunkSection\":\"roundTripRequirements\",\"roundTripRequirements\":[\"Operations must preserve stable panel ids; array index may be used only as a resolver fallback, never as canonical identity.\",\"Settings Panel editor, runtime persistence and registry projection must round-trip ExpansionMetadata without losing panel ids, order, icons or expanded state.\",\"When accordion.multi is false, authoring must collapse competing panels or fail validation instead of producing multiple default-expanded panels.\",\"Lazy panel content remains represented by panels[].content, panels[].widgets and panels[].actionButtons; authoring cannot require eager child component instances.\",\"Nested widgets remain delegated through WidgetDefinition and component-port nestedPath semantics instead of being redefined by the expansion contract.\"]}",
1783
+ "sourcePointer": "projects/praxis-expansion/src/lib/ai/praxis-expansion-authoring-manifest.ts",
1784
+ "contentHash": "2150d2f6758ec20426bfbeb240a5a2c650dadbaad07cd2f1a4fd0eb4abf90afc",
1785
+ "sourceKind": "component_definition",
1786
+ "sourceId": "praxis-expansion",
1787
+ "corpusVersion": "1.0.0"
1788
+ },
1789
+ {
1790
+ "chunkIndex": 9,
1791
+ "chunkKind": "authoring_manifest",
1792
+ "content": "{\"schemaVersion\":\"1.0.0\",\"manifestVersion\":\"1.0.0\",\"componentId\":\"praxis-expansion\",\"ownerPackage\":\"@praxisui/expansion\",\"configSchemaId\":\"ExpansionMetadata\",\"chunkSection\":\"examples\",\"examples\":[{\"id\":\"add-summary-panel\",\"request\":\"Add a summary panel before the audit panel.\",\"operationId\":\"panel.add\",\"params\":{\"id\":\"summary\",\"title\":\"Summary\"},\"isPositive\":true},{\"id\":\"rename-details-panel\",\"request\":\"Rename details to Account details.\",\"operationId\":\"panel.title.set\",\"target\":\"details\",\"params\":{\"title\":\"Account details\"},\"isPositive\":true},{\"id\":\"describe-audit-panel\",\"request\":\"Set audit panel description to Recent changes.\",\"operationId\":\"panel.description.set\",\"target\":\"audit\",\"params\":{\"description\":\"Recent changes\"},\"isPositive\":true},{\"id\":\"set-panel-icon\",\"request\":\"Use the info icon on the summary panel.\",\"operationId\":\"panel.icon.set\",\"target\":\"summary\",\"params\":{\"icon\":\"info\"},\"isPositive\":true},{\"id\":\"set-default-expanded-panel\",\"request\":\"Open the summary panel by default.\",\"operationId\":\"behavior.defaultExpanded.set\",\"target\":\"summary\",\"params\":{\"expanded\":true,\"collapseOthers\":true},\"isPositive\":true},{\"id\":\"enable-multi-expand\",\"request\":\"Allow multiple panels to stay open.\",\"operationId\":\"behavior.multiExpand.set\",\"params\":{\"multi\":true},\"isPositive\":true},{\"id\":\"disable-archive-panel\",\"request\":\"Disable the archive panel.\",\"operationId\":\"panel.disabled.set\",\"target\":\"archive\",\"params\":{\"disabled\":true},\"isPositive\":true},{\"id\":\"reject-missing-default-expanded\",\"request\":\"Open the missing panel by default.\",\"operationId\":\"behavior.defaultExpanded.set\",\"target\":\"missing\",\"params\":{\"expanded\":true},\"isPositive\":false},{\"id\":\"reject-duplicate-panel-id\",\"request\":\"Add another panel with id summary.\",\"operationId\":\"panel.add\",\"params\":{\"id\":\"summary\",\"title\":\"Duplicate summary\"},\"isPositive\":false},{\"id\":\"confirm-remove-content-panel\",\"request\":\"Remove the details panel that contains widgets.\",\"operationId\":\"panel.remove\",\"target\":\"details\",\"params\":{\"replacementExpandedPanelId\":\"summary\"},\"isPositive\":true}]}",
1793
+ "sourcePointer": "projects/praxis-expansion/src/lib/ai/praxis-expansion-authoring-manifest.ts",
1794
+ "contentHash": "9b2292c012663eed522075ca7cddec933e51a7454ebc2f13daef030eaf15bb0c",
1795
+ "sourceKind": "component_definition",
1796
+ "sourceId": "praxis-expansion",
1797
+ "corpusVersion": "1.0.0"
1798
+ },
1799
+ {
1800
+ "chunkIndex": 10,
1731
1801
  "chunkKind": "context_pack",
1732
- "content": "{\n \"componentContext\": {\n \"version\": \"v1\",\n \"optionsByPath\": {\n \"appearance.density\": {\n \"mode\": \"enum\",\n \"options\": [\n {\n \"value\": \"compact\",\n \"label\": \"Compact\"\n },\n {\n \"value\": \"comfortable\",\n \"label\": \"Comfortable\"\n },\n {\n \"value\": \"spacious\",\n \"label\": \"Spacious\"\n }\n ]\n },\n \"accordion.displayMode\": {\n \"mode\": \"enum\",\n \"options\": [\n {\n \"value\": \"default\",\n \"label\": \"Default\"\n },\n {\n \"value\": \"flat\",\n \"label\": \"Flat\"\n }\n ]\n },\n \"accordion.togglePosition\": {\n \"mode\": \"enum\",\n \"options\": [\n {\n \"value\": \"before\",\n \"label\": \"Before\"\n },\n {\n \"value\": \"after\",\n \"label\": \"After\"\n }\n ]\n }\n },\n \"actionCatalog\": [\n {\n \"id\": \"appearance.density.set\",\n \"intentExamples\": [\n \"density\",\n \"compact\",\n \"spacious\"\n ],\n \"patchTemplate\": {\n \"appearance\": {\n \"density\": \"{{value}}\"\n }\n }\n },\n {\n \"id\": \"accordion.multi.enable\",\n \"intentExamples\": [\n \"multiple panels\",\n \"multi expand\",\n \"allow multiple\"\n ],\n \"patchTemplate\": {\n \"accordion\": {\n \"multi\": true\n }\n }\n },\n {\n \"id\": \"accordion.multi.disable\",\n \"intentExamples\": [\n \"single panel\",\n \"only one open\"\n ],\n \"patchTemplate\": {\n \"accordion\": {\n \"multi\": false\n }\n }\n },\n {\n \"id\": \"accordion.hideToggle.enable\",\n \"intentExamples\": [\n \"hide toggle\",\n \"no caret\"\n ],\n \"patchTemplate\": {\n \"accordion\": {\n \"hideToggle\": true\n }\n }\n },\n {\n \"id\": \"accordion.hideToggle.disable\",\n \"intentExamples\": [\n \"show toggle\",\n \"show caret\"\n ],\n \"patchTemplate\": {\n \"accordion\": {\n \"hideToggle\": false\n }\n }\n },\n {\n \"id\": \"panel.add\",\n \"intentExamples\": [\n \"add panel\",\n \"new panel\",\n \"create panel\"\n ],\n \"patchTemplate\": {\n \"panels\": [\n {\n \"id\": \"{{target}}\",\n \"title\": \"{{value}}\"\n }\n ]\n }\n },\n {\n \"id\": \"panel.title.set\",\n \"intentExamples\": [\n \"rename panel\",\n \"panel title\"\n ],\n \"patchTemplate\": {\n \"panels\": [\n {\n \"id\": \"{{target}}\",\n \"title\": \"{{value}}\"\n }\n ]\n }\n },\n {\n \"id\": \"panel.description.set\",\n \"intentExamples\": [\n \"panel description\",\n \"subtitle\"\n ],\n \"patchTemplate\": {\n \"panels\": [\n {\n \"id\": \"{{target}}\",\n \"description\": \"{{value}}\"\n }\n ]\n }\n },\n {\n \"id\": \"panel.expand\",\n \"intentExamples\": [\n \"expand panel\",\n \"open panel\"\n ],\n \"patchTemplate\": {\n \"panels\": [\n {\n \"id\": \"{{target}}\",\n \"expanded\": true\n }\n ]\n }\n },\n {\n \"id\": \"panel.collapse\",\n \"intentExamples\": [\n \"collapse panel\",\n \"close panel\"\n ],\n \"patchTemplate\": {\n \"panels\": [\n {\n \"id\": \"{{target}}\",\n \"expanded\": false\n }\n ]\n }\n },\n {\n \"id\": \"panel.disable\",\n \"intentExamples\": [\n \"disable panel\",\n \"lock panel\"\n ],\n \"patchTemplate\": {\n \"panels\": [\n {\n \"id\": \"{{target}}\",\n \"disabled\": true\n }\n ]\n }\n },\n {\n \"id\": \"panel.enable\",\n \"intentExamples\": [\n \"enable panel\",\n \"unlock panel\"\n ],\n \"patchTemplate\": {\n \"panels\": [\n {\n \"id\": \"{{target}}\",\n \"disabled\": false\n }\n ]\n }\n },\n {\n \"id\": \"panel.hideToggle.enable\",\n \"intentExamples\": [\n \"hide panel toggle\",\n \"no panel toggle\"\n ],\n \"patchTemplate\": {\n \"panels\": [\n {\n \"id\": \"{{target}}\",\n \"hideToggle\": true\n }\n ]\n }\n },\n {\n \"id\": \"panel.hideToggle.disable\",\n \"intentExamples\": [\n \"show panel toggle\",\n \"panel caret\"\n ],\n \"patchTemplate\": {\n \"panels\": [\n {\n \"id\": \"{{target}}\",\n \"hideToggle\": false\n }\n ]\n }\n }\n ],\n \"fieldResolvers\": {\n \"panels[]\": [\n \"id\",\n \"title\"\n ]\n },\n \"hints\": [\n \"Use panels[].id or panels[].title as merge keys; avoid array indexes.\",\n \"Panels merge by id/title; prefer patching a single panel at a time.\",\n \"DOC: Widget purpose: accordion/expansion panels with optional fields or widgets.\",\n \"DOC: Host inputs: expansionId (required) and config (optional).\",\n \"DOC: Minimal config: panels[] with title for each panel.\",\n \"DOC: Panel content can be fields (content) or widgets (widgets).\"\n ]\n }\n}",
1802
+ "content": "{\"componentContext\":{\"version\":\"v1\",\"optionsByPath\":{\"appearance.density\":{\"mode\":\"enum\",\"options\":[{\"value\":\"compact\",\"label\":\"Compact\"},{\"value\":\"comfortable\",\"label\":\"Comfortable\"},{\"value\":\"spacious\",\"label\":\"Spacious\"}]},\"accordion.displayMode\":{\"mode\":\"enum\",\"options\":[{\"value\":\"default\",\"label\":\"Default\"},{\"value\":\"flat\",\"label\":\"Flat\"}]},\"accordion.togglePosition\":{\"mode\":\"enum\",\"options\":[{\"value\":\"before\",\"label\":\"Before\"},{\"value\":\"after\",\"label\":\"After\"}]}},\"actionCatalog\":[{\"id\":\"appearance.density.set\",\"intentExamples\":[\"density\",\"compact\",\"spacious\"],\"patchTemplate\":{\"appearance\":{\"density\":\"{{value}}\"}}},{\"id\":\"accordion.multi.enable\",\"intentExamples\":[\"multiple panels\",\"multi expand\",\"allow multiple\"],\"patchTemplate\":{\"accordion\":{\"multi\":true}}},{\"id\":\"accordion.multi.disable\",\"intentExamples\":[\"single panel\",\"only one open\"],\"patchTemplate\":{\"accordion\":{\"multi\":false}}},{\"id\":\"accordion.hideToggle.enable\",\"intentExamples\":[\"hide toggle\",\"no caret\"],\"patchTemplate\":{\"accordion\":{\"hideToggle\":true}}},{\"id\":\"accordion.hideToggle.disable\",\"intentExamples\":[\"show toggle\",\"show caret\"],\"patchTemplate\":{\"accordion\":{\"hideToggle\":false}}},{\"id\":\"panel.add\",\"intentExamples\":[\"add panel\",\"new panel\",\"create panel\"],\"patchTemplate\":{\"panels\":[{\"id\":\"{{target}}\",\"title\":\"{{value}}\"}]}},{\"id\":\"panel.title.set\",\"intentExamples\":[\"rename panel\",\"panel title\"],\"patchTemplate\":{\"panels\":[{\"id\":\"{{target}}\",\"title\":\"{{value}}\"}]}},{\"id\":\"panel.description.set\",\"intentExamples\":[\"panel description\",\"subtitle\"],\"patchTemplate\":{\"panels\":[{\"id\":\"{{target}}\",\"description\":\"{{value}}\"}]}},{\"id\":\"panel.expand\",\"intentExamples\":[\"expand panel\",\"open panel\"],\"patchTemplate\":{\"panels\":[{\"id\":\"{{target}}\",\"expanded\":true}]}},{\"id\":\"panel.collapse\",\"intentExamples\":[\"collapse panel\",\"close panel\"],\"patchTemplate\":{\"panels\":[{\"id\":\"{{target}}\",\"expanded\":false}]}},{\"id\":\"panel.disable\",\"intentExamples\":[\"disable panel\",\"lock panel\"],\"patchTemplate\":{\"panels\":[{\"id\":\"{{target}}\",\"disabled\":true}]}},{\"id\":\"panel.enable\",\"intentExamples\":[\"enable panel\",\"unlock panel\"],\"patchTemplate\":{\"panels\":[{\"id\":\"{{target}}\",\"disabled\":false}]}},{\"id\":\"panel.hideToggle.enable\",\"intentExamples\":[\"hide panel toggle\",\"no panel toggle\"],\"patchTemplate\":{\"panels\":[{\"id\":\"{{target}}\",\"hideToggle\":true}]}},{\"id\":\"panel.hideToggle.disable\",\"intentExamples\":[\"show panel toggle\",\"panel caret\"],\"patchTemplate\":{\"panels\":[{\"id\":\"{{target}}\",\"hideToggle\":false}]}}],\"fieldResolvers\":{\"panels[]\":[\"id\",\"title\"]},\"hints\":[\"Use panels[].id or panels[].title as merge keys; avoid array indexes.\",\"Panels merge by id/title; prefer patching a single panel at a time.\",\"DOC: Widget purpose: accordion/expansion panels with optional fields or widgets.\",\"DOC: Host inputs: expansionId (required) and config (optional).\",\"DOC: Minimal config: panels[] with title for each panel.\",\"DOC: Panel content can be fields (content) or widgets (widgets).\"]}}",
1733
1803
  "sourcePointer": "projects/praxis-expansion/src/lib/ai/expansion-context-pack.ts",
1734
- "contentHash": "2ca3138a6b14f844047857420c7881393f25f13420b0d29b18c58de0d33485ea",
1804
+ "contentHash": "aaa9168a106177e549361b9ef1027a088e707152c70f36f93d01a1bc102b2fc2",
1735
1805
  "sourceKind": "component_definition",
1736
1806
  "sourceId": "praxis-expansion",
1737
1807
  "corpusVersion": "1.0.0"
1738
1808
  },
1739
1809
  {
1740
- "chunkIndex": 4,
1810
+ "chunkIndex": 11,
1741
1811
  "chunkKind": "recipe",
1742
- "content": "{\n \"_comment\": \"Recipe for Praxis Expansion configuration with panels and form content.\",\n \"templateMeta\": {\n \"registryKey\": \"praxis-expansion\",\n \"variantId\": \"base\",\n \"useWhen\": \"Base expansion panel configuration.\",\n \"examplePrompts\": [\n \"create an expansion panel group\",\n \"add panels with icons and descriptions\"\n ]\n },\n \"config\": {\n \"appearance\": {\n \"density\": \"comfortable\",\n \"themeClass\": \"expansion-theme\",\n \"tokens\": {\n \"header-background-color\": \"#f5f7fb\"\n }\n },\n \"accordion\": {\n \"multi\": true,\n \"displayMode\": \"default\",\n \"togglePosition\": \"after\",\n \"hideToggle\": false,\n \"id\": \"profile-expansion\"\n },\n \"panels\": [\n {\n \"id\": \"panel-profile\",\n \"title\": \"Profile\",\n \"description\": \"Basic information\",\n \"expanded\": true,\n \"content\": [\n {\n \"name\": \"fullName\",\n \"label\": \"Full name\",\n \"controlType\": \"input\",\n \"inputType\": \"text\",\n \"required\": true\n },\n {\n \"name\": \"email\",\n \"label\": \"Email\",\n \"controlType\": \"input\",\n \"inputType\": \"email\"\n },\n {\n \"name\": \"status\",\n \"label\": \"Status\",\n \"controlType\": \"select\",\n \"options\": [\n { \"label\": \"Active\", \"value\": \"active\" },\n { \"label\": \"Inactive\", \"value\": \"inactive\" }\n ]\n }\n ],\n \"actionButtons\": [\n { \"label\": \"Save\", \"icon\": \"save\", \"action\": \"save-profile\" }\n ]\n },\n {\n \"id\": \"panel-preferences\",\n \"title\": \"Preferences\",\n \"description\": \"Notifications and defaults\",\n \"content\": [\n {\n \"name\": \"notifyEmail\",\n \"label\": \"Email notifications\",\n \"controlType\": \"checkbox\"\n },\n {\n \"name\": \"timezone\",\n \"label\": \"Timezone\",\n \"controlType\": \"select\",\n \"options\": [\n { \"label\": \"UTC-03\", \"value\": \"America/Sao_Paulo\" },\n { \"label\": \"UTC\", \"value\": \"UTC\" }\n ]\n }\n ]\n }\n ]\n }\n}\n",
1812
+ "content": "{\"_comment\":\"Recipe for Praxis Expansion configuration with panels and form content.\",\"templateMeta\":{\"registryKey\":\"praxis-expansion\",\"variantId\":\"base\",\"useWhen\":\"Base expansion panel configuration.\",\"examplePrompts\":[\"create an expansion panel group\",\"add panels with icons and descriptions\"]},\"config\":{\"appearance\":{\"density\":\"comfortable\",\"themeClass\":\"expansion-theme\",\"tokens\":{\"header-background-color\":\"#f5f7fb\"}},\"accordion\":{\"multi\":true,\"displayMode\":\"default\",\"togglePosition\":\"after\",\"hideToggle\":false,\"id\":\"profile-expansion\"},\"panels\":[{\"id\":\"panel-profile\",\"title\":\"Profile\",\"description\":\"Basic information\",\"expanded\":true,\"content\":[{\"name\":\"fullName\",\"label\":\"Full name\",\"controlType\":\"input\",\"inputType\":\"text\",\"required\":true},{\"name\":\"email\",\"label\":\"Email\",\"controlType\":\"input\",\"inputType\":\"email\"},{\"name\":\"status\",\"label\":\"Status\",\"controlType\":\"select\",\"options\":[{\"label\":\"Active\",\"value\":\"active\"},{\"label\":\"Inactive\",\"value\":\"inactive\"}]}],\"actionButtons\":[{\"label\":\"Save\",\"icon\":\"save\",\"action\":\"save-profile\"}]},{\"id\":\"panel-preferences\",\"title\":\"Preferences\",\"description\":\"Notifications and defaults\",\"content\":[{\"name\":\"notifyEmail\",\"label\":\"Email notifications\",\"controlType\":\"checkbox\"},{\"name\":\"timezone\",\"label\":\"Timezone\",\"controlType\":\"select\",\"options\":[{\"label\":\"UTC-03\",\"value\":\"America/Sao_Paulo\"},{\"label\":\"UTC\",\"value\":\"UTC\"}]}]}]}}",
1743
1813
  "sourcePointer": "examples/ai-recipes/praxis-expansion.json",
1744
- "contentHash": "ef04c982030a2e5fe5bdec22ad67625de1e2533aff3ec1b3909b740f12b9b990",
1814
+ "contentHash": "297210dd0309f0bf1209df390cb67aee14ddff463cc1715d0a14a9085e428be2",
1745
1815
  "sourceKind": "component_definition",
1746
1816
  "sourceId": "praxis-expansion",
1747
1817
  "corpusVersion": "1.0.0"
package/package.json CHANGED
@@ -1,18 +1,18 @@
1
1
  {
2
2
  "name": "@praxisui/expansion",
3
- "version": "9.0.0-beta.77",
3
+ "version": "9.0.0-beta.79",
4
4
  "description": "Expansion panel (accordion) components for Praxis UI with metadata configuration and editor integration.",
5
5
  "peerDependencies": {
6
6
  "@angular/common": "^21.0.0",
7
7
  "@angular/core": "^21.0.0",
8
8
  "@angular/material": "^21.0.0",
9
9
  "@angular/cdk": "^21.0.0",
10
- "@praxisui/core": "^9.0.0-beta.77",
11
- "@praxisui/dynamic-fields": "^9.0.0-beta.77",
12
- "@praxisui/settings-panel": "^9.0.0-beta.77",
10
+ "@praxisui/core": "^9.0.0-beta.79",
11
+ "@praxisui/dynamic-fields": "^9.0.0-beta.79",
12
+ "@praxisui/settings-panel": "^9.0.0-beta.79",
13
13
  "@angular/forms": "^21.0.0",
14
14
  "@angular/router": "^21.0.0",
15
- "@praxisui/ai": "^9.0.0-beta.77",
15
+ "@praxisui/ai": "^9.0.0-beta.79",
16
16
  "rxjs": "~7.8.0"
17
17
  },
18
18
  "dependencies": {