32 lines
743 B
Vue
32 lines
743 B
Vue
<template>
|
|
<XColumn :column="column" :isStacked="isStacked" @parentFocus="$event => emit('parent-focus', $event)">
|
|
<template #header><i class="ti ti-mail" style="margin-right: 8px;"></i>{{ column.name }}</template>
|
|
|
|
<MkNotes :pagination="pagination"/>
|
|
</XColumn>
|
|
</template>
|
|
|
|
<script lang="ts" setup>
|
|
import { } from 'vue';
|
|
import XColumn from './column.vue';
|
|
import { Column } from './deck-store';
|
|
import MkNotes from '@/components/MkNotes.vue';
|
|
|
|
defineProps<{
|
|
column: Column;
|
|
isStacked: boolean;
|
|
}>();
|
|
|
|
const emit = defineEmits<{
|
|
(ev: 'parent-focus', direction: 'up' | 'down' | 'left' | 'right'): void;
|
|
}>();
|
|
|
|
const pagination = {
|
|
endpoint: 'notes/mentions' as const,
|
|
limit: 10,
|
|
params: {
|
|
visibility: 'specified',
|
|
},
|
|
};
|
|
</script>
|