ProductBarcode: architecture: move to strongly typed DialogID and parameters

This commit is contained in:
Crumb Owl
2025-07-10 18:40:02 +02:00
parent 18149a5c9a
commit 9271cdae4b
24 changed files with 233 additions and 171 deletions

View File

@@ -39,13 +39,14 @@
<script setup lang="ts">
import { useMediaQuery } from "@vueuse/core";
import type { DialogID } from "@/components/ui/dialog-provider/utils";
import { Drawer, DrawerContent, DrawerHeader, DrawerTitle } from "@/components/ui/drawer";
import { Dialog, DialogFooter, DialogHeader, DialogTitle } from "@/components/ui/dialog";
const isDesktop = useMediaQuery("(min-width: 768px)");
defineProps<{
dialogId: string;
dialogId: DialogID;
title: string;
}>();
</script>