Files
vexplor/frontend/lib/registry/components/v2-bom-item-editor/BomItemEditorRenderer.tsx
DDD1542 27853a9447 feat: Add BOM tree view and BOM item editor components
- Introduced new components for BOM tree view and BOM item editor, enhancing the data management capabilities within the application.
- Updated the ComponentsPanel to include these new components with appropriate descriptions and default sizes.
- Integrated the BOM item editor into the V2PropertiesPanel for seamless editing of BOM items.
- Adjusted the SplitLineComponent to improve the handling of canvas split positions, ensuring better user experience during component interactions.
2026-02-24 10:49:23 +09:00

23 lines
636 B
TypeScript

"use client";
import React from "react";
import { AutoRegisteringComponentRenderer } from "../../AutoRegisteringComponentRenderer";
import { BomItemEditorComponent } from "./BomItemEditorComponent";
import { V2BomItemEditorDefinition } from "./index";
export class BomItemEditorRenderer extends AutoRegisteringComponentRenderer {
static componentDefinition = V2BomItemEditorDefinition;
render(): React.ReactElement {
return <BomItemEditorComponent {...this.props} />;
}
}
BomItemEditorRenderer.registerSelf();
if (typeof window !== "undefined") {
setTimeout(() => {
BomItemEditorRenderer.registerSelf();
}, 0);
}