<script setup>
import ItemDescriptor from './ItemDescriptor.vue';
import ItemSummaryDialog from './ItemSummaryDialog.vue';

const $props = defineProps({
    id: {
        type: Number,
        required: true,
    },
    dated: {
        type: String,
        default: null,
    },
});
</script>

<template>
    <QPopupProxy>
        <ItemDescriptor
            v-if="$props.id"
            :id="$props.id"
            :summary="ItemSummaryDialog"
            :dated="dated"
        />
    </QPopupProxy>
</template>
