Files
InvoiceShelf/resources/scripts-v2/components/notifications/NotificationRoot.vue
Darko Gjorgjijoski a46cca5cd8 Complete scripts-v2 TypeScript migration — all imports resolved,
build passes

Create all missing components (modals, dropdowns, icons, tabs, mail
drivers, customer partials), fix all @/scripts/ imports to @v2/,
wire up vite entry point and blade template. 382 files, 48883 lines.

- 27 settings components: modals (tax, payment, custom field, note,
  category, role, exchange rate, unit, mail test), dropdowns (6),
  customization tabs (4), mail driver forms (4)
- 22 icon components: 5 utility icons, 4 dashboard icons, 13 editor
  toolbar icons with typed barrel export
- 3 customer components: info, chart placeholder, custom fields single
- Fixed usePopper composable, client/format-money import patterns
- Zero remaining @/scripts/ imports in scripts-v2/

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-04-04 09:30:00 +02:00

46 lines
1.1 KiB
Vue

<template>
<div
class="
fixed
inset-0
z-50
flex flex-col
items-end
justify-start
w-full
px-4
py-6
pointer-events-none
sm:p-6
"
>
<transition-group
enter-active-class="transition duration-300 ease-out"
enter-from-class="translate-y-2 opacity-0 sm:translate-y-0 sm:translate-x-2"
enter-to-class="translate-y-0 opacity-100 sm:translate-x-0"
leave-active-class="transition duration-100 ease-in"
leave-from-class="opacity-100"
leave-to-class="opacity-0"
>
<NotificationItem
v-for="notification in notifications"
:key="notification.id"
:notification="notification"
/>
</transition-group>
</div>
</template>
<script setup lang="ts">
import { computed } from 'vue'
import { useNotificationStore } from '@v2/stores/notification.store'
import NotificationItem from './NotificationItem.vue'
import type { Notification } from './NotificationItem.vue'
const notificationStore = useNotificationStore()
const notifications = computed<Notification[]>(() => {
return notificationStore.notifications
})
</script>