2025-11-14 19:35:19 +00:00
|
|
|
<script lang="ts">
|
|
|
|
|
import type {TrustedEvent} from "@welshman/util"
|
2026-07-03 16:20:45 +00:00
|
|
|
import MenuButton from "@lib/components/MenuButton.svelte"
|
|
|
|
|
import ReportMenuList from "@app/components/ReportMenuList.svelte"
|
2025-11-14 19:35:19 +00:00
|
|
|
|
|
|
|
|
type Props = {
|
|
|
|
|
url: string
|
|
|
|
|
event: TrustedEvent
|
2026-03-19 19:41:23 +00:00
|
|
|
onResolved?: () => void
|
2025-11-14 19:35:19 +00:00
|
|
|
}
|
|
|
|
|
|
2026-03-19 19:41:23 +00:00
|
|
|
const {url, event, onResolved}: Props = $props()
|
2025-11-14 19:35:19 +00:00
|
|
|
</script>
|
|
|
|
|
|
2026-07-03 16:20:45 +00:00
|
|
|
<MenuButton component={ReportMenuList} componentProps={{url, event, onResolved}} />
|