Skip to content

rune-langium / visual-editor/src / EditorFormPanelProps

Interface: EditorFormPanelProps ​

Defined in: packages/visual-editor/src/components/panels/EditorFormPanel.tsx:121

Extends ​

  • InspectorHostProps

Properties ​

PropertyTypeDescriptionInherited fromDefined in
actionsAllEditorFormActionsAll 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
availableTypesTypeOption[]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?ReactNodeHost-owned actions rendered in the shared declaration title.-packages/visual-editor/src/components/panels/EditorFormPanel.tsx:173
isHydrating?booleanTrue 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?booleanWhether the node is read-only (from external/locked source).-packages/visual-editor/src/components/panels/EditorFormPanel.tsx:137
meta?GraphNodeMetaUI/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
nodeDataAnyDomain | nullThe selected node's data, or null if nothing is selected.-packages/visual-editor/src/components/panels/EditorFormPanel.tsx:125
nodeIdstring | nullNode ID of the selected node.-packages/visual-editor/src/components/panels/EditorFormPanel.tsx:135
nodeRepository?NodeRepositoryRepository for O(1) node-by-id lookup during inheritance chain resolution.-packages/visual-editor/src/components/panels/EditorFormPanel.tsx:163
onClose?() => voidCalled when the panel requests to close (e.g., Escape key).-packages/visual-editor/src/components/panels/EditorFormPanel.tsx:175
onNavigateToNode?(nodeId) => voidCalled 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.parseEpochpackages/visual-editor/src/components/forms/metadata/useInspectorTargets.ts:21
refOnly?booleanTrue 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.registerCommitFlushpackages/visual-editor/src/components/forms/metadata/useInspectorTargets.ts:23
renderExpressionEditor?(props) => ReactNodeOptional 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.saveStatuspackages/visual-editor/src/components/forms/metadata/useInspectorTargets.ts:22
scopeKey?string-InspectorHostProps.scopeKeypackages/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

Core packages released under MIT. Studio app released under FSL-1.1-ALv2.