This commit is contained in:
2024-11-24 22:57:21 +01:00
parent bbf13cf203
commit 72933a46d1
48 changed files with 752 additions and 450 deletions
@@ -18,6 +18,9 @@
-->
<script lang="ts">
import { createBubbler, preventDefault } from 'svelte/legacy';
const bubble = createBubbler();
import {astroI18n, t} from "astro-i18n";
import {CheckSolid, FileOutline, FolderOutline, XCircleOutline} from "flowbite-svelte-icons";
import type {Schematic} from "@type/schem.ts";
@@ -27,11 +30,15 @@
dayjs.extend(utc);
export let schem: Schematic;
export let players: Record<number, Player>;
interface Props {
schem: Schematic;
players: Record<number, Player>;
}
let { schem, players }: Props = $props();
</script>
<tr on:click|preventDefault>
<tr onclick={preventDefault(bubble('click'))}>
<th>
{#if schem.type == null}
<FolderOutline />