LCOV - code coverage report
Current view: top level - packages/design-system/src/components/card - CoachmarkCard.vue Coverage Total Hit
Test: ComfyUI E2E Coverage Lines: 100.0 % 1 1
Test Date: 2026-11-17 04:17:53

            Line data    Source code
       1              : <template>
       2         2355 :   <div
       3              :     class="flex w-full flex-col items-start justify-center gap-3 rounded-2xl bg-secondary p-4 drop-shadow-md"
       4              :   >
       5              :     <div
       6              :       v-if="image || $slots.image"
       7              :       class="flex h-[146px] flex-col items-start justify-center gap-4 self-stretch overflow-hidden rounded-xl bg-background"
       8              :     >
       9              :       <slot name="image">
      10              :         <img v-if="image" :src="image" alt="" class="size-full object-cover" />
      11              :       </slot>
      12              :     </div>
      13              :     <div class="flex flex-col items-end justify-end gap-6 self-stretch">
      14              :       <div class="flex flex-col items-start gap-2 self-stretch text-foreground">
      15              :         <p v-if="subtitle" :id="subtitleId" class="m-0 text-xs/normal">
      16              :           {{ subtitle }}
      17              :         </p>
      18              :         <h3 :id="titleId" class="m-0 text-base/normal font-semibold">
      19              :           {{ title }}
      20              :         </h3>
      21              :         <p :id="messageId" class="m-0 text-sm/normal text-muted-foreground">
      22              :           {{ message }}
      23              :         </p>
      24              :       </div>
      25              :       <div v-if="$slots.actions" class="flex w-full items-center gap-3">
      26              :         <slot name="actions" />
      27              :       </div>
      28              :     </div>
      29              :   </div>
      30              : </template>
      31              : 
      32              : <script setup lang="ts">
      33              : const { title, titleId, message, subtitle, subtitleId, image, messageId } =
      34              :   defineProps<{
      35              :     title: string
      36              :     titleId?: string
      37              :     message: string
      38              :     subtitle?: string
      39              :     subtitleId?: string
      40              :     image?: string
      41              :     messageId?: string
      42              :   }>()
      43              : </script>
        

Generated by: LCOV version 2.0-1