"use client"; import { Checkbox } from "@suphark/ui/components/ui/checkbox"; import { Table, TableBody, TableCell, TableHead, TableHeader, TableRow, } from "@suphark/ui/components/ui/table"; import { useLongPress } from "@suphark/ui/hooks/use-long-press"; import { cn } from "@suphark/ui/lib/utils"; import { type KeyboardEvent, type ReactNode, useId } from "react"; import { EmptyRow } from "./empty-row"; import { QUIET_MOBILE_SLOT_ORDER, type QuietMobileSlot } from "./quiet-table"; import { QuietMobileSkeleton, TableErrorState } from "./table-states"; /** วงโฟกัสของแถวที่กดได้ (แถวเป็น `