2020-07-11 03:13:11 +02:00
|
|
|
<template>
|
2022-03-20 19:11:14 +01:00
|
|
|
<XColumn :column="column" :is-stacked="isStacked" @parent-focus="$event => emit('parent-focus', $event)">
|
2021-04-20 16:22:59 +02:00
|
|
|
<template #header><i class="fas fa-at" style="margin-right: 8px;"></i>{{ column.name }}</template>
|
2020-07-11 03:13:11 +02:00
|
|
|
|
2022-01-12 18:29:27 +01:00
|
|
|
<XNotes :pagination="pagination"/>
|
2020-10-17 13:12:00 +02:00
|
|
|
</XColumn>
|
2020-07-11 03:13:11 +02:00
|
|
|
</template>
|
|
|
|
|
2022-01-12 18:29:27 +01:00
|
|
|
<script lang="ts" setup>
|
|
|
|
import { } from 'vue';
|
2020-07-11 03:13:11 +02:00
|
|
|
import XColumn from './column.vue';
|
2021-11-11 18:02:25 +01:00
|
|
|
import XNotes from '@/components/notes.vue';
|
2022-03-20 19:11:14 +01:00
|
|
|
import { Column } from './deck-store';
|
2020-07-11 03:13:11 +02:00
|
|
|
|
2022-03-20 19:11:14 +01:00
|
|
|
defineProps<{
|
|
|
|
column: Column;
|
2022-01-12 18:29:27 +01:00
|
|
|
isStacked: boolean;
|
|
|
|
}>();
|
2020-07-11 03:13:11 +02:00
|
|
|
|
2022-03-20 19:11:14 +01:00
|
|
|
const emit = defineEmits<{
|
2022-05-19 10:35:43 +02:00
|
|
|
(ev: 'parent-focus', direction: 'up' | 'down' | 'left' | 'right'): void;
|
2022-03-20 19:11:14 +01:00
|
|
|
}>();
|
|
|
|
|
2022-01-12 18:29:27 +01:00
|
|
|
const pagination = {
|
|
|
|
endpoint: 'notes/mentions' as const,
|
|
|
|
limit: 10,
|
|
|
|
};
|
2020-07-11 03:13:11 +02:00
|
|
|
</script>
|