import { defineComponent } from 'vue' import widgetList from '@/widgets' import { useMenuStore } from '../GlobalMenu' import type { Block } from '../layout.types' import useRouterStore from '@/useRouterStore' export default defineComponent({ props: { block: { type: Object as () => Block, required: true } }, setup(props) { const menu = useMenuStore() const router = useRouterStore() return () => { const placeholder = (