From 14f61e24947fb92dd71ec0a7196a6e815f8e66da Mon Sep 17 00:00:00 2001 From: dujinkim Date: Mon, 21 Jul 2025 07:54:26 +0000 Subject: (최겸)기술영업 RFQ 담당자 초대, 요구사항 반영 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- lib/techsales-rfq/table/delete-vendors-dialog.tsx | 236 +++++++++++----------- 1 file changed, 118 insertions(+), 118 deletions(-) (limited to 'lib/techsales-rfq/table/delete-vendors-dialog.tsx') diff --git a/lib/techsales-rfq/table/delete-vendors-dialog.tsx b/lib/techsales-rfq/table/delete-vendors-dialog.tsx index 35c3b067..788ef1cc 100644 --- a/lib/techsales-rfq/table/delete-vendors-dialog.tsx +++ b/lib/techsales-rfq/table/delete-vendors-dialog.tsx @@ -1,119 +1,119 @@ -"use client" - -import * as React from "react" -import { type RfqDetailView } from "./rfq-detail-column" -import { Loader, Trash } from "lucide-react" - -import { useMediaQuery } from "@/hooks/use-media-query" -import { Button } from "@/components/ui/button" -import { - Dialog, - DialogClose, - DialogContent, - DialogDescription, - DialogFooter, - DialogHeader, - DialogTitle, -} from "@/components/ui/dialog" -import { - Drawer, - DrawerClose, - DrawerContent, - DrawerDescription, - DrawerFooter, - DrawerHeader, - DrawerTitle, -} from "@/components/ui/drawer" - -interface DeleteVendorsDialogProps - extends React.ComponentPropsWithoutRef { - vendors: RfqDetailView[] - onConfirm: () => void - isLoading?: boolean -} - -export function DeleteVendorsDialog({ - vendors, - onConfirm, - isLoading = false, - ...props -}: DeleteVendorsDialogProps) { - const isDesktop = useMediaQuery("(min-width: 640px)") - - const vendorNames = vendors.map(v => v.vendorName).filter(Boolean).join(", ") - - if (isDesktop) { - return ( - - - - 벤더 삭제 확인 - - 정말로 선택한 {vendors.length}개의 벤더를 삭제하시겠습니까? -
-
- 삭제될 벤더: {vendorNames} -
-
- 이 작업은 되돌릴 수 없습니다. -
-
- - - - - - -
-
- ) - } - - return ( - - - - 벤더 삭제 확인 - - 정말로 선택한 {vendors.length}개의 벤더를 삭제하시겠습니까? -
-
- 삭제될 벤더: {vendorNames} -
-
- 이 작업은 되돌릴 수 없습니다. -
-
- - - - - - -
-
- ) +"use client" + +import * as React from "react" +import { type RfqDetailView } from "./detail-table/rfq-detail-column" +import { Loader } from "lucide-react" + +import { useMediaQuery } from "@/hooks/use-media-query" +import { Button } from "@/components/ui/button" +import { + Dialog, + DialogClose, + DialogContent, + DialogDescription, + DialogFooter, + DialogHeader, + DialogTitle, +} from "@/components/ui/dialog" +import { + Drawer, + DrawerClose, + DrawerContent, + DrawerDescription, + DrawerFooter, + DrawerHeader, + DrawerTitle, +} from "@/components/ui/drawer" + +interface DeleteVendorsDialogProps + extends React.ComponentPropsWithoutRef { + vendors: RfqDetailView[] + onConfirm: () => void + isLoading?: boolean +} + +export function DeleteVendorsDialog({ + vendors, + onConfirm, + isLoading = false, + ...props +}: DeleteVendorsDialogProps) { + const isDesktop = useMediaQuery("(min-width: 640px)") + + const vendorNames = vendors.map(v => v.vendorName).filter(Boolean).join(", ") + + if (isDesktop) { + return ( + + + + 벤더 삭제 확인 + + 정말로 선택한 {vendors.length}개의 벤더를 삭제하시겠습니까? +
+
+ 삭제될 벤더: {vendorNames} +
+
+ 이 작업은 되돌릴 수 없습니다. +
+
+ + + + + + +
+
+ ) + } + + return ( + + + + 벤더 삭제 확인 + + 정말로 선택한 {vendors.length}개의 벤더를 삭제하시겠습니까? +
+
+ 삭제될 벤더: {vendorNames} +
+
+ 이 작업은 되돌릴 수 없습니다. +
+
+ + + + + + +
+
+ ) } \ No newline at end of file -- cgit v1.2.3