rune-langium / visual-editor/src / EditorFormPanelProps
Interface: EditorFormPanelProps
Defined in: packages/visual-editor/src/components/panels/EditorFormPanel.tsx:121
Extends
InspectorHostProps
Properties
| Property | Type | Description | Inherited from | Defined in |
|---|---|---|---|---|
actions | AllEditorFormActions | All editor form actions. | - | packages/visual-editor/src/components/panels/EditorFormPanel.tsx:159 |
allNodes? | TypeGraphNode[] | All graph nodes (for inherited member resolution). | - | packages/visual-editor/src/components/panels/EditorFormPanel.tsx:161 |
availableTypes | TypeOption[] | Available type options for type selectors. | - | packages/visual-editor/src/components/panels/EditorFormPanel.tsx:155 |
compactConditions? | boolean | - | - | packages/visual-editor/src/components/panels/EditorFormPanel.tsx:171 |
headerActions? | ReactNode | Host-owned actions rendered in the shared declaration title. | - | packages/visual-editor/src/components/panels/EditorFormPanel.tsx:173 |
isHydrating? | boolean | True while the selected node's namespace is a deferred curated placeholder currently being hydrated on-demand (server round-trip in flight — see docs/superpowers/specs/2026-05-25-curated-on-demand-hydration-design.md). Renders a loading state instead of dispatching the placeholder's stub data (GraphNodeMeta.deferred) into a form with no fields. | - | packages/visual-editor/src/components/panels/EditorFormPanel.tsx:153 |
isReadOnly? | boolean | Whether the node is read-only (from external/locked source). | - | packages/visual-editor/src/components/panels/EditorFormPanel.tsx:137 |
meta? | GraphNodeMeta | UI/editor metadata for the selected node (namespace, isReadOnly, errors, ...). Optional only because nodeData may be null (no selection); whenever nodeData is non-null callers MUST supply the node's meta sibling — nodeData carries no UI metadata anymore (Phase 3 step 3). Absent meta falls back to an empty editable meta. | - | packages/visual-editor/src/components/panels/EditorFormPanel.tsx:133 |
metadataActions? | InspectorMetadataActions | - | - | packages/visual-editor/src/components/panels/EditorFormPanel.tsx:123 |
nodeData | AnyDomain | null | The selected node's data, or null if nothing is selected. | - | packages/visual-editor/src/components/panels/EditorFormPanel.tsx:125 |
nodeId | string | null | Node ID of the selected node. | - | packages/visual-editor/src/components/panels/EditorFormPanel.tsx:135 |
nodeRepository? | NodeRepository | Repository for O(1) node-by-id lookup during inheritance chain resolution. | - | packages/visual-editor/src/components/panels/EditorFormPanel.tsx:163 |
onClose? | () => void | Called when the panel requests to close (e.g., Escape key). | - | packages/visual-editor/src/components/panels/EditorFormPanel.tsx:175 |
onNavigateToNode? | (nodeId) => void | Called when a type reference is clicked to navigate to that type's definition. | - | packages/visual-editor/src/components/panels/EditorFormPanel.tsx:177 |
parseEpoch? | number | - | InspectorHostProps.parseEpoch | packages/visual-editor/src/components/forms/metadata/useInspectorTargets.ts:21 |
refOnly? | boolean | True when the node's source file is a refOnly curated reference (no client-side source text). Forces read-only rendering — through the kind's own form when one exists, else OtherForm — and surfaces a "Reference Only" pill in the header so the user understands why edits are disabled. | - | packages/visual-editor/src/components/panels/EditorFormPanel.tsx:145 |
registerCommitFlush? | (flush) => () => void | - | InspectorHostProps.registerCommitFlush | packages/visual-editor/src/components/forms/metadata/useInspectorTargets.ts:23 |
renderExpressionEditor? | (props) => ReactNode | Optional render-prop for a rich expression editor in FunctionForm. When omitted, FunctionForm renders a plain <Textarea> fallback. | - | packages/visual-editor/src/components/panels/EditorFormPanel.tsx:168 |
renderFunctionBodyEditor? | (props) => ReactNode | - | - | packages/visual-editor/src/components/panels/EditorFormPanel.tsx:169 |
saveStatus? | string | - | InspectorHostProps.saveStatus | packages/visual-editor/src/components/forms/metadata/useInspectorTargets.ts:22 |
scopeKey? | string | - | InspectorHostProps.scopeKey | packages/visual-editor/src/components/forms/metadata/useInspectorTargets.ts:20 |
sectionRequest? | InspectorSectionRequest | - | - | packages/visual-editor/src/components/panels/EditorFormPanel.tsx:122 |
structuralEditsDisabled? | boolean | - | - | packages/visual-editor/src/components/panels/EditorFormPanel.tsx:170 |
synonymSourceOptions? | SourceRefOption[] | Available synonym source options for the source-ref picker. | - | packages/visual-editor/src/components/panels/EditorFormPanel.tsx:157 |