@clickcns/vmedic-react 0.0.4 → 0.0.6
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/api/index.d.ts +1 -1
- package/dist/cjs/api/index.js +1 -6
- package/dist/cjs/api/index.js.map +1 -1
- package/dist/cjs/hooks/index.js +1 -1
- package/dist/cjs/hooks/index.js.map +1 -1
- package/dist/cjs/shadcn-ui/index.js +2 -0
- package/dist/cjs/shadcn-ui/index.js.map +1 -0
- package/dist/cjs/ui/index.js +154 -0
- package/dist/cjs/ui/index.js.map +1 -0
- package/dist/cjs.js +1 -1
- package/dist/compiler-runtime-BNHg76kC.js +37 -0
- package/dist/compiler-runtime-BNHg76kC.js.map +1 -0
- package/dist/compiler-runtime-BtE0QEUt.cjs +6 -0
- package/dist/compiler-runtime-BtE0QEUt.cjs.map +1 -0
- package/dist/es/api/index.js +170 -1938
- package/dist/es/api/index.js.map +1 -1
- package/dist/es/hooks/index.js +17 -2
- package/dist/es/hooks/index.js.map +1 -1
- package/dist/es/shadcn-ui/index.js +217 -0
- package/dist/es/shadcn-ui/index.js.map +1 -0
- package/dist/es/ui/index.js +24399 -0
- package/dist/es/ui/index.js.map +1 -0
- package/dist/es.js +1 -6
- package/dist/es.js.map +1 -1
- package/dist/index.d.ts +1 -3
- package/dist/lib/utils/index.d.ts +1 -0
- package/dist/lib/utils/utils.d.ts +2 -0
- package/dist/shadcn-ui/button.d.ts +10 -0
- package/dist/shadcn-ui/checkbox.d.ts +4 -0
- package/dist/shadcn-ui/combobox.d.ts +16 -0
- package/dist/shadcn-ui/command.d.ts +80 -0
- package/dist/shadcn-ui/dialog.d.ts +15 -0
- package/dist/shadcn-ui/drawer.d.ts +22 -0
- package/dist/shadcn-ui/field.d.ts +24 -0
- package/dist/shadcn-ui/hover-card.d.ts +6 -0
- package/dist/shadcn-ui/index.d.ts +20 -0
- package/dist/shadcn-ui/input.d.ts +3 -0
- package/dist/shadcn-ui/kbd.d.ts +3 -0
- package/dist/shadcn-ui/label.d.ts +4 -0
- package/dist/shadcn-ui/pagination.d.ts +32 -0
- package/dist/shadcn-ui/popover.d.ts +7 -0
- package/dist/shadcn-ui/resizable.d.ts +23 -0
- package/dist/shadcn-ui/scroll-area.d.ts +5 -0
- package/dist/shadcn-ui/separator.d.ts +4 -0
- package/dist/shadcn-ui/sheet.d.ts +25 -0
- package/dist/shadcn-ui/slider.d.ts +4 -0
- package/dist/shadcn-ui/textarea.d.ts +3 -0
- package/dist/shadcn-ui/tooltip.d.ts +7 -0
- package/dist/tooltip-CmhEZXRA.cjs +7 -0
- package/dist/tooltip-CmhEZXRA.cjs.map +1 -0
- package/dist/tooltip-UK77hYPj.js +1310 -0
- package/dist/tooltip-UK77hYPj.js.map +1 -0
- package/dist/ui/feedbacks/FeedbackDetailPageContent.d.ts +27 -0
- package/dist/ui/feedbacks/components/CommentActions.d.ts +6 -0
- package/dist/ui/feedbacks/components/CommentEditor.d.ts +19 -0
- package/dist/ui/feedbacks/components/CommentItem.d.ts +21 -0
- package/dist/ui/feedbacks/components/CommentSection.d.ts +25 -0
- package/dist/ui/feedbacks/components/FeedbackBody.d.ts +16 -0
- package/dist/ui/feedbacks/components/FeedbackHeader.d.ts +9 -0
- package/dist/ui/feedbacks/components/index.d.ts +6 -0
- package/dist/ui/feedbacks/hooks/index.d.ts +1 -0
- package/dist/ui/feedbacks/hooks/useCommentEditor.d.ts +10 -0
- package/dist/ui/feedbacks/index.d.ts +1 -0
- package/dist/ui/index.d.ts +1 -0
- package/package.json +54 -6
- package/dist/TestComponent-B7kGqbVF.js +0 -291
- package/dist/TestComponent-B7kGqbVF.js.map +0 -1
- package/dist/TestComponent-oikV159P.cjs +0 -7
- package/dist/TestComponent-oikV159P.cjs.map +0 -1
- package/dist/cjs/components/index.js +0 -2
- package/dist/cjs/components/index.js.map +0 -1
- package/dist/cjs/utils/index.js +0 -2
- package/dist/cjs/utils/index.js.map +0 -1
- package/dist/components/TestComponent.d.ts +0 -5
- package/dist/components/index.d.ts +0 -1
- package/dist/es/components/index.js +0 -5
- package/dist/es/components/index.js.map +0 -1
- package/dist/es/utils/index.js +0 -2
- package/dist/es/utils/index.js.map +0 -1
- package/dist/types/api/index copy.d.ts +0 -10
- package/dist/useTest-D5Q24BCy.cjs +0 -6
- package/dist/useTest-D5Q24BCy.cjs.map +0 -1
- package/dist/useTest-qnK2xvVl.js +0 -52
- package/dist/useTest-qnK2xvVl.js.map +0 -1
- package/dist/utils/index.d.ts +0 -1
package/dist/cjs/hooks/index.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const s=require("../../compiler-runtime-BtE0QEUt.cjs"),u=require("react");function i(){const e=s.compilerRuntimeExports.c(3),[o,c]=u.useState(0);let t;e[0]===Symbol.for("react.memo_cache_sentinel")?(t=()=>c(l),e[0]=t):t=e[0];const r=t;let n;return e[1]!==o?(n={count:o,increment:r},e[1]=o,e[2]=n):n=e[2],n}function l(e){return e+1}exports.useTest=i;
|
|
2
2
|
//# sourceMappingURL=index.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sources":[],"sourcesContent":[],"names":[],"mappings":""}
|
|
1
|
+
{"version":3,"file":"index.js","sources":["../../../src/hooks/useTest.ts"],"sourcesContent":["import { useState } from 'react'\r\n\r\n/**\r\n * 테스트용 커스텀 훅\r\n * @returns { count, increment }\r\n */\r\nexport function useTest() {\r\n const [count, setCount] = useState(0)\r\n const increment = () => setCount((c) => c + 1)\r\n return { count, increment }\r\n}\r\n"],"names":["useTest","$","_c","count","setCount","useState","t0","Symbol","for","_temp","increment","t1","c"],"mappings":"0JAMO,SAAAA,GAAA,CAAA,MAAAC,EAAAC,EAAAA,uBAAAA,EAAA,CAAA,EACL,CAAAC,EAAAC,CAAA,EAA0BC,EAAAA,UAAU,EAAC,IAAAC,EAAAL,EAAA,CAAA,IAAAM,OAAAC,IAAA,2BAAA,GACnBF,EAAAA,IAAMF,EAAQK,CAAa,EAACR,KAAAK,GAAAA,EAAAL,EAAA,CAAA,EAA9C,MAAAS,EAAkBJ,EAA4B,IAAAK,EAAA,OAAAV,OAAAE,GACvCQ,EAAA,CAAAR,MAAAA,EAAAO,UAAAA,CAAAA,EAAoBT,KAAAE,EAAAF,KAAAU,GAAAA,EAAAV,EAAA,CAAA,EAApBU,CAAoB,CAHtB,SAAAF,EAAAG,EAAA,CAAA,OAEmCA,EAAC,CAAI"}
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const t=require("../../tooltip-CmhEZXRA.cjs"),C=require("../../compiler-runtime-BtE0QEUt.cjs"),$=require("react"),N=require("lucide-react"),V=require("react-resizable-panels");function G(l){const e=Object.create(null,{[Symbol.toStringTag]:{value:"Module"}});if(l){for(const o in l)if(o!=="default"){const r=Object.getOwnPropertyDescriptor(l,o);Object.defineProperty(e,o,r.get?r:{enumerable:!0,get:()=>l[o]})}}return e.default=l,Object.freeze(e)}const _=G($),k=G(V);function q(l){const e=C.compilerRuntimeExports.c(10);let o,r,i;e[0]!==l?({className:o,type:i,...r}=l,e[0]=l,e[1]=o,e[2]=r,e[3]=i):(o=e[1],r=e[2],i=e[3]);let a;e[4]!==o?(a=t.cn("file:text-foreground placeholder:text-muted-foreground selection:bg-primary selection:text-primary-foreground dark:bg-input/30 border-input flex h-9 w-full min-w-0 rounded-md border bg-transparent px-3 py-1 text-base shadow-xs transition-[color,box-shadow] outline-none file:inline-flex file:h-7 file:border-0 file:bg-transparent file:text-sm file:font-medium disabled:pointer-events-none disabled:cursor-not-allowed disabled:opacity-50 md:text-sm","focus-visible:border-ring focus-visible:ring-ring/50 focus-visible:ring-[3px]","aria-invalid:ring-destructive/20 dark:aria-invalid:ring-destructive/40 aria-invalid:border-destructive",o),e[4]=o,e[5]=a):a=e[5];let n;return e[6]!==r||e[7]!==a||e[8]!==i?(n=t.jsxRuntimeExports.jsx("input",{type:i,"data-slot":"input",className:a,...r}),e[6]=r,e[7]=a,e[8]=i,e[9]=n):n=e[9],n}function B(l){const e=C.compilerRuntimeExports.c(37),{options:o,value:r,onValueChange:i,placeholder:a,searchPlaceholder:n,emptyMessage:d,className:w,disabled:H}=l,L=a===void 0?"선택하세요...":a,S=n===void 0?"검색...":n,R=d===void 0?"검색 결과가 없습니다.":d,T=H===void 0?!1:H,[p,O]=_.useState(!1);let D;if(e[0]!==o||e[1]!==r){let s;e[3]!==r?(s=c=>c.value===r,e[3]=r,e[4]=s):s=e[4],D=o.find(s),e[0]=o,e[1]=r,e[2]=D}else D=e[2];const E=D,y=!E&&"text-muted-foreground";let u;e[5]!==w||e[6]!==y?(u=t.cn("w-full justify-between",y,w),e[5]=w,e[6]=y,e[7]=u):u=e[7];const F=E?E.label:L;let P;e[8]===Symbol.for("react.memo_cache_sentinel")?(P=t.jsxRuntimeExports.jsx(N.ChevronsUpDown,{className:"ml-2 h-4 w-4 shrink-0 opacity-50"}),e[8]=P):P=e[8];let m;e[9]!==T||e[10]!==p||e[11]!==u||e[12]!==F?(m=t.jsxRuntimeExports.jsx(t.PopoverTrigger,{asChild:!0,children:t.jsxRuntimeExports.jsxs(t.Button,{variant:"outline",role:"combobox","aria-expanded":p,className:u,disabled:T,children:[F,P]})}),e[9]=T,e[10]=p,e[11]=u,e[12]=F,e[13]=m):m=e[13];let g;e[14]!==S?(g=t.jsxRuntimeExports.jsx(t.CommandInput,{placeholder:S}),e[14]=S,e[15]=g):g=e[15];let f;e[16]!==R?(f=t.jsxRuntimeExports.jsx(t.CommandEmpty,{children:R}),e[16]=R,e[17]=f):f=e[17];let x;if(e[18]!==i||e[19]!==o||e[20]!==r){let s;e[22]!==i||e[23]!==r?(s=c=>t.jsxRuntimeExports.jsxs(t.CommandItem,{value:`${c.value}|${c.label}`,onSelect:I=>{const[z]=I?.split("|")||[];i?.(z===r?"":z),O(!1)},children:[t.jsxRuntimeExports.jsx(N.Check,{className:t.cn("mr-2 h-4 w-4",r===c.value?"opacity-100":"opacity-0")}),c.label]},c.value),e[22]=i,e[23]=r,e[24]=s):s=e[24],x=o.map(s),e[18]=i,e[19]=o,e[20]=r,e[21]=x}else x=e[21];let b;e[25]!==x?(b=t.jsxRuntimeExports.jsx(t.CommandGroup,{children:x}),e[25]=x,e[26]=b):b=e[26];let v;e[27]!==f||e[28]!==b?(v=t.jsxRuntimeExports.jsxs(t.CommandList,{children:[f,b]}),e[27]=f,e[28]=b,e[29]=v):v=e[29];let h;e[30]!==g||e[31]!==v?(h=t.jsxRuntimeExports.jsx(t.PopoverContent,{className:"w-full p-0",align:"start",children:t.jsxRuntimeExports.jsxs(t.Command,{children:[g,v]})}),e[30]=g,e[31]=v,e[32]=h):h=e[32];let j;return e[33]!==p||e[34]!==m||e[35]!==h?(j=t.jsxRuntimeExports.jsxs(t.Popover,{open:p,onOpenChange:O,children:[m,h]}),e[33]=p,e[34]=m,e[35]=h,e[36]=j):j=e[36],j}function A(l){const e=C.compilerRuntimeExports.c(8);let o,r;e[0]!==l?({className:o,...r}=l,e[0]=l,e[1]=o,e[2]=r):(o=e[1],r=e[2]);let i;e[3]!==o?(i=t.cn("bg-muted text-muted-foreground pointer-events-none inline-flex h-5 w-fit min-w-5 select-none items-center justify-center gap-1 rounded-sm px-1 font-sans text-xs font-medium","[&_svg:not([class*='size-'])]:size-3","[[data-slot=tooltip-content]_&]:bg-background/20 [[data-slot=tooltip-content]_&]:text-background dark:[[data-slot=tooltip-content]_&]:bg-background/10",o),e[3]=o,e[4]=i):i=e[4];let a;return e[5]!==r||e[6]!==i?(a=t.jsxRuntimeExports.jsx("kbd",{"data-slot":"kbd",className:i,...r}),e[5]=r,e[6]=i,e[7]=a):a=e[7],a}function K(l){const e=C.compilerRuntimeExports.c(8);let o,r;e[0]!==l?({className:o,...r}=l,e[0]=l,e[1]=o,e[2]=r):(o=e[1],r=e[2]);let i;e[3]!==o?(i=t.cn("inline-flex items-center gap-1",o),e[3]=o,e[4]=i):i=e[4];let a;return e[5]!==r||e[6]!==i?(a=t.jsxRuntimeExports.jsx("kbd",{"data-slot":"kbd-group",className:i,...r}),e[5]=r,e[6]=i,e[7]=a):a=e[7],a}const M=l=>{const e=C.compilerRuntimeExports.c(8);let o,r;e[0]!==l?({className:o,...r}=l,e[0]=l,e[1]=o,e[2]=r):(o=e[1],r=e[2]);let i;e[3]!==o?(i=t.cn("flex h-full w-full data-[panel-group-direction=vertical]:flex-col",o),e[3]=o,e[4]=i):i=e[4];let a;return e[5]!==r||e[6]!==i?(a=t.jsxRuntimeExports.jsx(k.PanelGroup,{className:i,...r}),e[5]=r,e[6]=i,e[7]=a):a=e[7],a},U=k.Panel,J=l=>{const e=C.compilerRuntimeExports.c(12);let o,r,i;e[0]!==l?({withHandle:i,className:o,...r}=l,e[0]=l,e[1]=o,e[2]=r,e[3]=i):(o=e[1],r=e[2],i=e[3]);let a;e[4]!==o?(a=t.cn("relative flex w-px items-center justify-center bg-border after:absolute after:inset-y-0 after:left-1/2 after:w-1 after:-translate-x-1/2 focus-visible:outline-none focus-visible:ring-1 focus-visible:ring-ring focus-visible:ring-offset-1 data-[panel-group-direction=vertical]:h-px data-[panel-group-direction=vertical]:w-full data-[panel-group-direction=vertical]:after:left-0 data-[panel-group-direction=vertical]:after:h-1 data-[panel-group-direction=vertical]:after:w-full data-[panel-group-direction=vertical]:after:-translate-y-1/2 data-[panel-group-direction=vertical]:after:translate-x-0 [&[data-panel-group-direction=vertical]>div]:rotate-90",o),e[4]=o,e[5]=a):a=e[5];let n;e[6]!==i?(n=i&&t.jsxRuntimeExports.jsx("div",{className:"z-10 flex h-4 w-3 items-center justify-center rounded-sm border bg-border",children:t.jsxRuntimeExports.jsx(N.GripVertical,{className:"h-2.5 w-2.5"})}),e[6]=i,e[7]=n):n=e[7];let d;return e[8]!==r||e[9]!==a||e[10]!==n?(d=t.jsxRuntimeExports.jsx(k.PanelResizeHandle,{className:a,...r,children:n}),e[8]=r,e[9]=a,e[10]=n,e[11]=d):d=e[11],d};exports.Button=t.Button;exports.Checkbox=t.Checkbox;exports.Command=t.Command;exports.CommandDialog=t.CommandDialog;exports.CommandEmpty=t.CommandEmpty;exports.CommandGroup=t.CommandGroup;exports.CommandInput=t.CommandInput;exports.CommandItem=t.CommandItem;exports.CommandList=t.CommandList;exports.CommandSeparator=t.CommandSeparator;exports.CommandShortcut=t.CommandShortcut;exports.Dialog=t.Dialog;exports.DialogClose=t.DialogClose;exports.DialogContent=t.DialogContent;exports.DialogDescription=t.DialogDescription;exports.DialogFooter=t.DialogFooter;exports.DialogHeader=t.DialogHeader;exports.DialogOverlay=t.DialogOverlay;exports.DialogPortal=t.DialogPortal;exports.DialogTitle=t.DialogTitle;exports.DialogTrigger=t.DialogTrigger;exports.Drawer=t.Drawer;exports.DrawerClose=t.DrawerClose;exports.DrawerContent=t.DrawerContent;exports.DrawerDescription=t.DrawerDescription;exports.DrawerFooter=t.DrawerFooter;exports.DrawerHeader=t.DrawerHeader;exports.DrawerOverlay=t.DrawerOverlay;exports.DrawerPortal=t.DrawerPortal;exports.DrawerTitle=t.DrawerTitle;exports.DrawerTrigger=t.DrawerTrigger;exports.Field=t.Field;exports.FieldContent=t.FieldContent;exports.FieldDescription=t.FieldDescription;exports.FieldError=t.FieldError;exports.FieldGroup=t.FieldGroup;exports.FieldLabel=t.FieldLabel;exports.FieldLegend=t.FieldLegend;exports.FieldSeparator=t.FieldSeparator;exports.FieldSet=t.FieldSet;exports.FieldTitle=t.FieldTitle;exports.HoverCard=t.HoverCard;exports.HoverCardContent=t.HoverCardContent;exports.HoverCardTrigger=t.HoverCardTrigger;exports.Label=t.Label;exports.Pagination=t.Pagination;exports.PaginationContent=t.PaginationContent;exports.PaginationEllipsis=t.PaginationEllipsis;exports.PaginationItem=t.PaginationItem;exports.PaginationLink=t.PaginationLink;exports.PaginationNext=t.PaginationNext;exports.PaginationPrevious=t.PaginationPrevious;exports.Popover=t.Popover;exports.PopoverAnchor=t.PopoverAnchor;exports.PopoverContent=t.PopoverContent;exports.PopoverTrigger=t.PopoverTrigger;exports.ScrollArea=t.ScrollArea;exports.ScrollBar=t.ScrollBar;exports.Separator=t.Separator;exports.Sheet=t.Sheet;exports.SheetClose=t.SheetClose;exports.SheetContent=t.SheetContent;exports.SheetDescription=t.SheetDescription;exports.SheetFooter=t.SheetFooter;exports.SheetHeader=t.SheetHeader;exports.SheetOverlay=t.SheetOverlay;exports.SheetPortal=t.SheetPortal;exports.SheetTitle=t.SheetTitle;exports.SheetTrigger=t.SheetTrigger;exports.Slider=t.Slider;exports.Textarea=t.Textarea;exports.Tooltip=t.Tooltip;exports.TooltipContent=t.TooltipContent;exports.TooltipProvider=t.TooltipProvider;exports.TooltipTrigger=t.TooltipTrigger;exports.buttonVariants=t.buttonVariants;exports.Combobox=B;exports.Input=q;exports.Kbd=A;exports.KbdGroup=K;exports.ResizableHandle=J;exports.ResizablePanel=U;exports.ResizablePanelGroup=M;
|
|
2
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sources":["../../../src/shadcn-ui/input.tsx","../../../src/shadcn-ui/combobox.tsx","../../../src/shadcn-ui/kbd.tsx","../../../src/shadcn-ui/resizable.tsx"],"sourcesContent":["import * as React from \"react\"\r\n\r\nimport { cn } from \"../lib/utils\"\r\n\r\nfunction Input({ className, type, ...props }: React.ComponentProps<\"input\">) {\r\n return (\r\n <input\r\n type={type}\r\n data-slot=\"input\"\r\n className={cn(\r\n \"file:text-foreground placeholder:text-muted-foreground selection:bg-primary selection:text-primary-foreground dark:bg-input/30 border-input flex h-9 w-full min-w-0 rounded-md border bg-transparent px-3 py-1 text-base shadow-xs transition-[color,box-shadow] outline-none file:inline-flex file:h-7 file:border-0 file:bg-transparent file:text-sm file:font-medium disabled:pointer-events-none disabled:cursor-not-allowed disabled:opacity-50 md:text-sm\",\r\n \"focus-visible:border-ring focus-visible:ring-ring/50 focus-visible:ring-[3px]\",\r\n \"aria-invalid:ring-destructive/20 dark:aria-invalid:ring-destructive/40 aria-invalid:border-destructive\",\r\n className\r\n )}\r\n {...props}\r\n />\r\n )\r\n}\r\n\r\nexport { Input }\r\n","import * as React from \"react\";\r\nimport { Check, ChevronsUpDown } from \"lucide-react\";\r\n\r\nimport { cn } from \"../lib/utils\";\r\nimport { Button } from \"./button\";\r\nimport {\r\n Command,\r\n CommandEmpty,\r\n CommandGroup,\r\n CommandInput,\r\n CommandItem,\r\n CommandList,\r\n} from \"./command\";\r\nimport { Popover, PopoverContent, PopoverTrigger } from \"./popover\";\r\n\r\nexport interface ComboboxOption {\r\n value: string;\r\n label: string;\r\n}\r\n\r\ninterface ComboboxProps {\r\n options: ComboboxOption[];\r\n value?: string;\r\n onValueChange?: (value: string) => void;\r\n placeholder?: string;\r\n searchPlaceholder?: string;\r\n emptyMessage?: string;\r\n className?: string;\r\n disabled?: boolean;\r\n}\r\n\r\nexport function Combobox({\r\n options,\r\n value,\r\n onValueChange,\r\n placeholder = \"선택하세요...\",\r\n searchPlaceholder = \"검색...\",\r\n emptyMessage = \"검색 결과가 없습니다.\",\r\n className,\r\n disabled = false,\r\n}: ComboboxProps) {\r\n const [open, setOpen] = React.useState(false);\r\n\r\n const selectedOption = options.find((option) => option.value === value);\r\n\r\n return (\r\n <Popover open={open} onOpenChange={setOpen}>\r\n <PopoverTrigger asChild>\r\n <Button\r\n variant=\"outline\"\r\n role=\"combobox\"\r\n aria-expanded={open}\r\n className={cn(\r\n \"w-full justify-between\",\r\n !selectedOption && \"text-muted-foreground\",\r\n className,\r\n )}\r\n disabled={disabled}\r\n >\r\n {selectedOption ? selectedOption.label : placeholder}\r\n <ChevronsUpDown className=\"ml-2 h-4 w-4 shrink-0 opacity-50\" />\r\n </Button>\r\n </PopoverTrigger>\r\n <PopoverContent className=\"w-full p-0\" align=\"start\">\r\n <Command>\r\n <CommandInput placeholder={searchPlaceholder} />\r\n <CommandList>\r\n <CommandEmpty>{emptyMessage}</CommandEmpty>\r\n <CommandGroup>\r\n {options.map((option) => (\r\n <CommandItem\r\n key={option.value}\r\n value={`${option.value}|${option.label}`}\r\n onSelect={(currentValue) => {\r\n const [newValue, _] = currentValue?.split(\"|\") || [];\r\n const updatedValue = newValue === value ? \"\" : newValue;\r\n onValueChange?.(updatedValue);\r\n setOpen(false);\r\n }}\r\n >\r\n <Check\r\n className={cn(\r\n \"mr-2 h-4 w-4\",\r\n value === option.value ? \"opacity-100\" : \"opacity-0\",\r\n )}\r\n />\r\n {option.label}\r\n </CommandItem>\r\n ))}\r\n </CommandGroup>\r\n </CommandList>\r\n </Command>\r\n </PopoverContent>\r\n </Popover>\r\n );\r\n}\r\n","import { cn } from \"../lib/utils\"\r\n\r\nfunction Kbd({ className, ...props }: React.ComponentProps<\"kbd\">) {\r\n return (\r\n <kbd\r\n data-slot=\"kbd\"\r\n className={cn(\r\n \"bg-muted text-muted-foreground pointer-events-none inline-flex h-5 w-fit min-w-5 select-none items-center justify-center gap-1 rounded-sm px-1 font-sans text-xs font-medium\",\r\n \"[&_svg:not([class*='size-'])]:size-3\",\r\n \"[[data-slot=tooltip-content]_&]:bg-background/20 [[data-slot=tooltip-content]_&]:text-background dark:[[data-slot=tooltip-content]_&]:bg-background/10\",\r\n className\r\n )}\r\n {...props}\r\n />\r\n )\r\n}\r\n\r\nfunction KbdGroup({ className, ...props }: React.ComponentProps<\"div\">) {\r\n return (\r\n <kbd\r\n data-slot=\"kbd-group\"\r\n className={cn(\"inline-flex items-center gap-1\", className)}\r\n {...props}\r\n />\r\n )\r\n}\r\n\r\nexport { Kbd, KbdGroup }\r\n","import { GripVertical } from \"lucide-react\"\r\nimport * as ResizablePrimitive from \"react-resizable-panels\"\r\n\r\nimport { cn } from \"../lib/utils\"\r\n\r\nconst ResizablePanelGroup = ({\r\n className,\r\n ...props\r\n}: React.ComponentProps<typeof ResizablePrimitive.PanelGroup>) => (\r\n <ResizablePrimitive.PanelGroup\r\n className={cn(\r\n \"flex h-full w-full data-[panel-group-direction=vertical]:flex-col\",\r\n className\r\n )}\r\n {...props}\r\n />\r\n)\r\n\r\nconst ResizablePanel = ResizablePrimitive.Panel\r\n\r\nconst ResizableHandle = ({\r\n withHandle,\r\n className,\r\n ...props\r\n}: React.ComponentProps<typeof ResizablePrimitive.PanelResizeHandle> & {\r\n withHandle?: boolean\r\n}) => (\r\n <ResizablePrimitive.PanelResizeHandle\r\n className={cn(\r\n \"relative flex w-px items-center justify-center bg-border after:absolute after:inset-y-0 after:left-1/2 after:w-1 after:-translate-x-1/2 focus-visible:outline-none focus-visible:ring-1 focus-visible:ring-ring focus-visible:ring-offset-1 data-[panel-group-direction=vertical]:h-px data-[panel-group-direction=vertical]:w-full data-[panel-group-direction=vertical]:after:left-0 data-[panel-group-direction=vertical]:after:h-1 data-[panel-group-direction=vertical]:after:w-full data-[panel-group-direction=vertical]:after:-translate-y-1/2 data-[panel-group-direction=vertical]:after:translate-x-0 [&[data-panel-group-direction=vertical]>div]:rotate-90\",\r\n className\r\n )}\r\n {...props}\r\n >\r\n {withHandle && (\r\n <div className=\"z-10 flex h-4 w-3 items-center justify-center rounded-sm border bg-border\">\r\n <GripVertical className=\"h-2.5 w-2.5\" />\r\n </div>\r\n )}\r\n </ResizablePrimitive.PanelResizeHandle>\r\n)\r\n\r\nexport { ResizablePanelGroup, ResizablePanel, ResizableHandle }\r\n"],"names":["Input","t0","$","_c","className","props","type","t1","cn","t2","Combobox","options","value","onValueChange","placeholder","searchPlaceholder","emptyMessage","t3","disabled","t4","undefined","open","setOpen","React","useState","t5","t6","option","find","selectedOption","t7","t8","label","t9","Symbol","for","ChevronsUpDown","t10","jsx","PopoverTrigger","Button","t11","CommandInput","t12","CommandEmpty","t13","t14","option_0","jsxs","CommandItem","currentValue","newValue","split","Check","map","CommandGroup","t15","CommandList","t16","PopoverContent","Command","t17","Popover","Kbd","KbdGroup","ResizablePanelGroup","ResizablePrimitive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