import { Show, For } from 'solid-js'; import type { CardData, LayerConfig } from './types'; export interface DataEditorPanelProps { cards: CardData[]; activeTab: number; updateCardData: (key: string, value: string) => void; } export interface PropertiesEditorPanelProps { localSize: string; localGrid: string; localBleed: string; localPadding: string; layerConfigs: LayerConfig[]; editingLayer: string | null; onSizeChange: (value: string) => void; onGridChange: (value: string) => void; onBleedChange: (value: string) => void; onPaddingChange: (value: string) => void; onToggleLayerVisible: (prop: string) => void; onStartEditingLayer: (prop: string) => void; onCopyCode: () => void; } /** * 左侧:CSV 数据编辑面板 */ export function DataEditorPanel(props: DataEditorPanelProps) { return (