<script setup>
defineProps({ text: { type: String, default: 'Нет данных' } });
</script>

<template>
    <div class="flex items-center justify-center h-full min-h-[120px] rounded-xl border-2 border-dashed border-surface-300 dark:border-surface-600 bg-surface-50 dark:bg-surface-800">
        <div class="text-center px-4">
            <i class="pi pi-chart-bar text-2xl text-surface-400 dark:text-surface-500 mb-2" />
            <p class="text-xs text-surface-400 dark:text-surface-500">{{ text }}</p>
        </div>
    </div>
</template>
