<script setup lang="ts">

import { elements, type CircuitElement, type Preset } from '../elements'

// 1) 左侧面板元件清单（显式导入）
type PaletteItem = CircuitElement
const palette: PaletteItem[] = [...elements]
</script>