Line data Source code
1 : <template>
2 2356 : <AppDialogPanel
3 : size="compact"
4 : class="w-90 max-w-full"
5 : data-testid="insufficient-credits-member-message"
6 : @close="onClose"
7 : >
8 : <template #title>
9 : {{ $t('credits.insufficient.memberTitle') }}
10 : </template>
11 :
12 : <p class="m-0 text-sm text-muted-foreground">
13 : {{ $t('credits.insufficient.memberDescription') }}
14 : </p>
15 :
16 : <template #footer>
17 : <Button variant="secondary" size="lg" @click="onClose">
18 : {{ $t('credits.insufficient.memberCta') }}
19 : </Button>
20 : </template>
21 : </AppDialogPanel>
22 : </template>
23 :
24 : <script setup lang="ts">
25 : import AppDialogPanel from '@/components/dialog/AppDialogPanel.vue'
26 : import Button from '@comfyorg/design-system/button/Button'
27 :
28 : const { onClose } = defineProps<{
29 : onClose: () => void
30 : }>()
31 : </script>
|