2024-04-27 03:28:12 +02:00
|
|
|
<template>
|
2025-12-09 22:32:22 +01:00
|
|
|
<Timeline
|
|
|
|
|
type="notification"
|
|
|
|
|
:items="items"
|
|
|
|
|
:is-loading="isLoading"
|
|
|
|
|
:has-reached-end="hasReachedEnd"
|
|
|
|
|
:error="error"
|
|
|
|
|
:load-next="loadNext"
|
|
|
|
|
:load-prev="loadPrev"
|
|
|
|
|
:remove-item="removeItem"
|
|
|
|
|
:update-item="updateItem"
|
|
|
|
|
/>
|
2024-04-27 03:28:12 +02:00
|
|
|
</template>
|
|
|
|
|
|
|
|
|
|
<script lang="ts" setup>
|
2024-06-29 05:05:50 +02:00
|
|
|
import { useNotificationTimeline } from "~/composables/NotificationTimeline";
|
|
|
|
|
import Timeline from "./timeline.vue";
|
2024-06-21 04:09:09 +02:00
|
|
|
|
2024-06-29 05:05:50 +02:00
|
|
|
const {
|
|
|
|
|
error,
|
|
|
|
|
hasReachedEnd,
|
|
|
|
|
isLoading,
|
|
|
|
|
items,
|
|
|
|
|
loadNext,
|
|
|
|
|
loadPrev,
|
|
|
|
|
removeItem,
|
|
|
|
|
updateItem,
|
2025-08-28 07:41:51 +02:00
|
|
|
} = useNotificationTimeline();
|
2025-05-26 11:19:15 +02:00
|
|
|
</script>
|