import { Box, Columns3, Contact, FileDown, FolderTree, Heading, Image, Images, ListChecks, ListCollapse, MessageSquareWarning, Minus, MousePointerClick, MoveVertical, Newspaper, PanelTop, GalleryHorizontalEnd, Play, Quote, SquareDashed, Table, Text, CalendarDays, ClipboardList, Cake, Component, LayoutDashboard, } from '@lucide/vue'; /** * Symbole der Blockarten (Namen aus App\Pagebuilder\Blocks, Lucide-Schreibweise). * Unbekannte Symbole von Plugin-Blöcken fallen auf „box“ zurück. */ const icons = { 'square-dashed': SquareDashed, 'columns-3': Columns3, 'panel-top': PanelTop, 'list-collapse': ListCollapse, 'message-square-warning': MessageSquareWarning, heading: Heading, text: Text, quote: Quote, 'mouse-pointer-click': MousePointerClick, 'list-checks': ListChecks, table: Table, minus: Minus, 'move-vertical': MoveVertical, image: Image, images: Images, play: Play, panorama: GalleryHorizontalEnd, contact: Contact, 'file-down': FileDown, 'folder-tree': FolderTree, newspaper: Newspaper, 'calendar-days': CalendarDays, 'clipboard-list': ClipboardList, cake: Cake, component: Component, 'layout-dashboard': LayoutDashboard, }; export function blockIcon(name) { return icons[name] ?? Box; }