frohzinn/bcbsma-storage / llama.cpp /tools /ui /src /lib /components /app /dialogs /DialogMermaidPreview.svelte
frohzinn's picture
download
raw
569 Bytes
<script lang="ts">
import * as Dialog from '$lib/components/ui/dialog/index.js';
import { MermaidPreview } from '$lib/components/app/content';
interface Props {
open: boolean;
svgHtml: string;
onOpenChange?: (open: boolean) => void;
}
let { open = $bindable(), svgHtml, onOpenChange }: Props = $props();
</script>
<Dialog.Root bind:open {onOpenChange}>
<Dialog.Content
class="z-999999 grid max-h-full max-w-full! grid-rows-[1fr_auto] overflow-hidden p-0 md:h-[90vh] md:max-w-[90vw]!"
>
<MermaidPreview {svgHtml} />
</Dialog.Content>
</Dialog.Root>

Xet Storage Details

Size:
569 Bytes
·
Xet hash:
d75c64e5e0c2818e8943302ec90a85644d2d12e460a21ed830b3303e67de21ad

Xet efficiently stores files, intelligently splitting them into unique chunks and accelerating uploads and downloads. More info.