push
github
802 of 1156 branches covered (0.0%)
146 of 455 new or added lines in 17 files covered. (32.09%)
12172 of 32934 relevant lines covered (36.96%)
17.67 hits per line
NEW
|
<template>
|
|
NEW
|
<div |
× |
NEW
|
class="tw-flex tw-overflow-hidden" |
× |
NEW
|
:class="{ |
× |
NEW
|
'tw-flex-col': direction === 'column', |
× |
NEW
|
'tw-flex-wrap -tw-mx-4': direction === 'row', |
× |
NEW
|
}"
|
× |
NEW
|
> |
× |
NEW
|
<div |
× |
NEW
|
v-for="child in children" |
× |
NEW
|
:key="child.id"
|
× |
NEW
|
class="tw-bg-white" |
× |
NEW
|
:class="{ |
× |
NEW
|
'tw-px-4 -tw-ml-px tw-border-l tw-border-black tw-border-solid tw-flex-1 tw-basis-[320px]': |
× |
NEW
|
direction === 'row', |
× |
NEW
|
}"
|
× |
NEW
|
> |
× |
NEW
|
<ContentNodeComponent :content-node="child" />
|
× |
NEW
|
</div> |
× |
NEW
|
</div> |
× |
NEW
|
</template>
|
× |
NEW
|
|
× |
NEW
|
<script setup> |
× |
NEW
|
import ContentNodeComponent from './ContentNode.vue' |
× |
NEW
|
</script> |
× |
NEW
|
|
× |
NEW
|
<script> |
× |
NEW
|
export default defineNuxtComponent({ |
× |
NEW
|
props: {
|
× |
NEW
|
children: { type: Array, required: true }, |
× |
NEW
|
direction: { type: String, required: true }, |
× |
NEW
|
}, |
× |
NEW
|
}) |
× |
NEW
|
</script> |
× |