@hua-labs/ui 2.0.1 → 2.1.0
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/README.md +1 -1
- package/dist/{Switch-O4TpMKfQ.d.mts → Switch-Dzm5TLR3.d.mts} +1 -1
- package/dist/advanced/dashboard.d.ts.map +1 -1
- package/dist/advanced-dashboard.js +1 -1
- package/dist/advanced-dashboard.js.map +1 -1
- package/dist/advanced-dashboard.mjs +1 -1
- package/dist/advanced-emotion.js +1 -1
- package/dist/advanced-emotion.js.map +1 -1
- package/dist/advanced-emotion.mjs +1 -1
- package/dist/advanced-motion.js +5 -5
- package/dist/advanced-motion.js.map +1 -1
- package/dist/advanced-motion.mjs +1 -1
- package/dist/advanced.js +7 -7
- package/dist/advanced.js.map +1 -1
- package/dist/advanced.mjs +1 -1
- package/dist/chunk-BXX2TZUB.mjs +3 -0
- package/dist/chunk-BXX2TZUB.mjs.map +1 -0
- package/dist/{chunk-ECLIPN34.mjs → chunk-COR6CDMA.mjs} +3 -3
- package/dist/{chunk-ECLIPN34.mjs.map → chunk-COR6CDMA.mjs.map} +1 -1
- package/dist/chunk-HN5LSP6L.mjs +3 -0
- package/dist/chunk-HN5LSP6L.mjs.map +1 -0
- package/dist/{chunk-T3GU5BJ3.mjs → chunk-LOYAJIWO.mjs} +2 -2
- package/dist/{chunk-T3GU5BJ3.mjs.map → chunk-LOYAJIWO.mjs.map} +1 -1
- package/dist/{chunk-TOANBEPN.mjs → chunk-NBJUE7NR.mjs} +2 -2
- package/dist/{chunk-TOANBEPN.mjs.map → chunk-NBJUE7NR.mjs.map} +1 -1
- package/dist/{chunk-5BMH7223.mjs → chunk-PYBYZVSL.mjs} +2 -2
- package/dist/{chunk-5BMH7223.mjs.map → chunk-PYBYZVSL.mjs.map} +1 -1
- package/dist/{chunk-PQ3DBOMK.mjs → chunk-QQCELXFD.mjs} +2 -2
- package/dist/{chunk-PQ3DBOMK.mjs.map → chunk-QQCELXFD.mjs.map} +1 -1
- package/dist/{chunk-OI66ZLUB.mjs → chunk-UWHCM3S6.mjs} +2 -2
- package/dist/{chunk-OI66ZLUB.mjs.map → chunk-UWHCM3S6.mjs.map} +1 -1
- package/dist/{chunk-MYFMKCYX.mjs → chunk-XV3Y7QVU.mjs} +2 -2
- package/dist/{chunk-MYFMKCYX.mjs.map → chunk-XV3Y7QVU.mjs.map} +1 -1
- package/dist/components/Avatar.d.ts +1 -1
- package/dist/components/Avatar.d.ts.map +1 -1
- package/dist/components/Badge.d.ts +1 -1
- package/dist/components/Badge.d.ts.map +1 -1
- package/dist/components/Button.variants.d.ts +1 -1
- package/dist/components/Button.variants.d.ts.map +1 -1
- package/dist/components/Card.d.ts +1 -1
- package/dist/components/Card.d.ts.map +1 -1
- package/dist/components/CodeBlock.d.ts +1 -1
- package/dist/components/Container.d.ts +1 -1
- package/dist/components/Container.d.ts.map +1 -1
- package/dist/components/Grid.d.ts +1 -1
- package/dist/components/Grid.d.ts.map +1 -1
- package/dist/components/Icon/Icon.d.ts.map +1 -1
- package/dist/components/Input.d.ts +1 -1
- package/dist/components/Input.d.ts.map +1 -1
- package/dist/components/Label.d.ts +1 -1
- package/dist/components/Label.d.ts.map +1 -1
- package/dist/components/Link.d.ts +1 -1
- package/dist/components/Link.d.ts.map +1 -1
- package/dist/components/Panel.d.ts +1 -1
- package/dist/components/Panel.d.ts.map +1 -1
- package/dist/components/Progress.d.ts +2 -2
- package/dist/components/Progress.d.ts.map +1 -1
- package/dist/components/Select.d.ts +1 -1
- package/dist/components/Select.d.ts.map +1 -1
- package/dist/components/Skeleton.d.ts +1 -1
- package/dist/components/Skeleton.d.ts.map +1 -1
- package/dist/components/Stack.d.ts +1 -1
- package/dist/components/Stack.d.ts.map +1 -1
- package/dist/components/Textarea.d.ts +1 -1
- package/dist/components/Textarea.d.ts.map +1 -1
- package/dist/components/icons/essential.d.ts +68 -0
- package/dist/components/icons/essential.d.ts.map +1 -0
- package/dist/components/icons-bold/essential.d.ts +68 -0
- package/dist/components/icons-bold/essential.d.ts.map +1 -0
- package/dist/data.d.mts +1 -1
- package/dist/data.js.map +1 -1
- package/dist/data.mjs.map +1 -1
- package/dist/form.d.mts +1 -1
- package/dist/form.js +1 -1
- package/dist/form.js.map +1 -1
- package/dist/form.mjs +1 -1
- package/dist/iconsax-extended.d.ts +19 -0
- package/dist/iconsax-extended.d.ts.map +1 -0
- package/dist/iconsax-extended.js +3 -0
- package/dist/iconsax-extended.js.map +1 -0
- package/dist/iconsax-extended.mjs +4 -0
- package/dist/iconsax-extended.mjs.map +1 -0
- package/dist/iconsax.d.ts +10 -11
- package/dist/iconsax.d.ts.map +1 -1
- package/dist/iconsax.js +2 -2
- package/dist/iconsax.js.map +1 -1
- package/dist/iconsax.mjs +2 -2
- package/dist/iconsax.mjs.map +1 -1
- package/dist/index.d.mts +2 -2
- package/dist/index.js +4 -4
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +1 -1
- package/dist/interactive.js +1 -1
- package/dist/interactive.js.map +1 -1
- package/dist/interactive.mjs +1 -1
- package/dist/lib/iconsax-loader.d.ts +15 -45
- package/dist/lib/iconsax-loader.d.ts.map +1 -1
- package/dist/navigation.js +2 -2
- package/dist/navigation.js.map +1 -1
- package/dist/navigation.mjs +1 -1
- package/dist/overlay.js +1 -1
- package/dist/overlay.js.map +1 -1
- package/dist/overlay.mjs +1 -1
- package/dist/sdui.js +3 -3
- package/dist/sdui.js.map +1 -1
- package/dist/sdui.mjs +1 -1
- package/package.json +23 -7
- package/src/components/icons/essential.ts +195 -0
- package/src/components/icons-bold/essential.ts +195 -0
- package/LICENSE +0 -21
- package/dist/chunk-AANHUMJ2.mjs +0 -3
- package/dist/chunk-AANHUMJ2.mjs.map +0 -1
- package/dist/chunk-FSL373O6.mjs +0 -3
- package/dist/chunk-FSL373O6.mjs.map +0 -1
- package/dist/components/icons/Frame2.d.ts +0 -4
- package/dist/components/icons/Frame2.d.ts.map +0 -1
- package/dist/components/icons/Group.d.ts +0 -4
- package/dist/components/icons/Group.d.ts.map +0 -1
- package/dist/components/icons/Group1.d.ts +0 -4
- package/dist/components/icons/Group1.d.ts.map +0 -1
- package/dist/components/icons/GroupCopy.d.ts +0 -4
- package/dist/components/icons/GroupCopy.d.ts.map +0 -1
- package/dist/iconsax.d.mts +0 -160
- package/src/components/icons/Frame2.tsx +0 -28
- package/src/components/icons/Group.tsx +0 -35
- package/src/components/icons/Group1.tsx +0 -21
- package/src/components/icons/GroupCopy.tsx +0 -21
package/dist/interactive.mjs
CHANGED
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
"use client";
|
|
2
|
-
export{a as Accordion,d as AccordionContent,b as AccordionItem,c as AccordionTrigger,f as Tabs,k as TabsCards,e as TabsContent,g as TabsList,i as TabsPills,h as TabsTrigger,j as TabsUnderline}from'./chunk-MYFMKCYX.mjs';import'./chunk-AANHUMJ2.mjs';import {a}from'./chunk-UUHAXGMO.mjs';import l from'react';import {jsx,jsxs}from'react/jsx-runtime';var z=l.forwardRef(({className:n,children:e,variant:t="default",size:o="md",...m},d)=>{let c=()=>{switch(t){case "horizontal":return "flex items-center space-x-1";case "vertical":return "flex flex-col space-y-1";case "compact":return "flex flex-col space-y-0.5";default:return "flex flex-col space-y-1"}},p=()=>{switch(o){case "sm":return "text-sm";case "lg":return "text-base";default:return "text-sm"}};return jsx("div",{ref:d,className:a(c(),p(),n),...m,children:l.Children.map(e,f=>l.isValidElement(f)?l.cloneElement(f,{variant:t,size:o}):f)})});z.displayName="Menu";var K=l.forwardRef(({className:n,icon:e,variant:t="default",size:o="md",active:m=false,disabled:d=false,children:c,...p},f)=>{let S=()=>{switch(t){case "horizontal":return a("flex items-center gap-2 px-3 py-2 rounded-md text-sm font-medium transition-colors",m?"bg-primary/10 text-primary":"text-foreground hover:text-foreground hover:bg-muted");case "vertical":return a("flex items-center gap-3 px-4 py-3 rounded-md text-sm font-medium transition-colors",m?"bg-primary/10 text-primary":"text-foreground hover:text-foreground hover:bg-muted");case "compact":return a("flex items-center gap-2 px-2 py-1.5 rounded text-sm font-medium transition-colors",m?"bg-primary/10 text-primary":"text-foreground hover:text-foreground hover:bg-muted");default:return a("flex items-center gap-3 px-4 py-3 rounded-md text-sm font-medium transition-colors",m?"bg-primary/10 text-primary":"text-foreground hover:text-foreground hover:bg-muted")}},k=()=>{switch(o){case "sm":return "text-xs";case "lg":return "text-base";default:return "text-sm"}};return jsxs("button",{ref:f,className:a(S(),k(),d&&"opacity-50 cursor-not-allowed",n),disabled:d,...p,children:[e&&jsx("div",{className:"flex-shrink-0 w-4 h-4",children:e}),jsx("span",{className:"flex-1 text-left",children:c})]})});K.displayName="MenuItem";var _=l.forwardRef(({className:n,variant:e="default",...t},o)=>jsx("div",{ref:o,className:a(e==="horizontal"?"w-px h-4 bg-border mx-1":"h-px bg-border my-2",n),...t}));_.displayName="MenuSeparator";var q=l.forwardRef(({className:n,variant:e="default",size:t="md",children:o,...m},d)=>{let c=()=>e==="horizontal"?"px-3 py-1 text-xs font-semibold text-muted-foreground uppercase tracking-wide":"px-4 py-2 text-xs font-semibold text-muted-foreground uppercase tracking-wide",p=()=>{switch(t){case "sm":return "text-xs";case "lg":return "text-sm";default:return "text-xs"}};return jsx("div",{ref:d,className:a(c(),p(),n),...m,children:o})});q.displayName="MenuLabel";var U=l.forwardRef(({className:n,...e},t)=>jsx(z,{ref:t,variant:"horizontal",className:n,...e}));U.displayName="MenuHorizontal";var W=l.forwardRef(({className:n,...e},t)=>jsx(z,{ref:t,variant:"vertical",className:n,...e}));W.displayName="MenuVertical";var F=l.forwardRef(({className:n,...e},t)=>jsx(z,{ref:t,variant:"compact",className:n,...e}));F.displayName="MenuCompact";var X=l.forwardRef(({className:n,children:e,open:t,onOpenChange:o,trigger:m,placement:d="bottom",align:c="start",offset:p=8,disabled:f=false,...S},k)=>{let[V,B]=l.useState(false),[M,R]=l.useState({x:0,y:0}),g=l.useRef(null),T=l.useRef(null),H=t!==void 0,b=H?t:V,y=l.useCallback(i=>{f||(H||B(i),o==null||o(i));},[f,H,o]),C=i=>{if(i.preventDefault(),f)return;i.currentTarget.getBoundingClientRect();let D=i.clientX,r=i.clientY;R({x:D,y:r}),y(true);},L=l.useCallback(()=>{if(!T.current)return;let i=T.current.getBoundingClientRect(),w=window.innerWidth,D=window.innerHeight,r=M.x,s=M.y;r+i.width>w-8&&(r=w-i.width-8),s+i.height>D-8&&(s=D-i.height-8),r<8&&(r=8),s<8&&(s=8),R({x:r,y:s});},[M.x,M.y]);return l.useEffect(()=>{if(b)return L(),window.addEventListener("resize",L),window.addEventListener("scroll",L),()=>{window.removeEventListener("resize",L),window.removeEventListener("scroll",L);}},[b,L]),l.useEffect(()=>{let i=w=>{g.current&&T.current&&!g.current.contains(w.target)&&!T.current.contains(w.target)&&y(false);};if(b)return document.addEventListener("mousedown",i),()=>{document.removeEventListener("mousedown",i);}},[b,y]),jsxs("div",{ref:k,className:a("relative",n),...S,children:[m&&jsx("div",{ref:g,onContextMenu:C,className:"inline-block",children:m}),b&&jsx("div",{ref:T,className:a("fixed z-50 bg-popover text-popover-foreground rounded-lg shadow-xl backdrop-blur-sm","min-w-[200px] py-2","border-0"),style:{left:M.x,top:M.y,boxShadow:"0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04)"},children:e})]})});X.displayName="ContextMenu";var Y=l.forwardRef(({className:n,icon:e,variant:t="default",children:o,disabled:m,...d},c)=>jsxs("button",{ref:c,className:a("w-full flex items-center gap-3 px-4 py-3 text-sm font-medium transition-colors duration-200 ease-in-out focus-visible:outline-none focus-visible:bg-muted",(()=>{switch(t){case "destructive":return "text-destructive hover:bg-destructive/10";case "disabled":return "text-muted-foreground cursor-not-allowed";default:return "text-foreground hover:bg-muted"}})(),n),disabled:m||t==="disabled",...d,children:[e&&jsx("div",{className:"flex-shrink-0 w-4 h-4",children:e}),jsx("span",{className:"flex-1 text-left",children:o})]}));Y.displayName="ContextMenuItem";var $=l.forwardRef(({className:n,...e},t)=>jsx("div",{ref:t,className:a("h-px bg-border my-2",n),...e}));$.displayName="ContextMenuSeparator";var J=l.forwardRef(({className:n,children:e,...t},o)=>jsx("div",{ref:o,className:a("px-4 py-2 text-xs font-semibold text-muted-foreground uppercase tracking-wide",n),...t,children:e}));J.displayName="ContextMenuLabel";var O=l.forwardRef(({className:n,children:e,...t},o)=>jsx("div",{ref:o,className:a("py-1",n),...t,children:e}));O.displayName="ContextMenuGroup";var G=l.forwardRef(({className:n,children:e,open:t,onOpenChange:o,placeholder:m="\uBA85\uB839\uC5B4\uB97C \uAC80\uC0C9\uD558\uC138\uC694...",searchValue:d,onSearchChange:c,disabled:p=false,...f},S)=>{let[k,V]=l.useState(false),[B,M]=l.useState(""),[R,g]=l.useState(0),T=l.useRef(null),H=l.useRef(null),b=l.useRef(null),y=t!==void 0,C=y?t:k,L=d!==void 0?d:B,i=l.useCallback(r=>{p||(y||V(r),o==null||o(r));},[p,y,o]),w=r=>{y||M(r),c==null||c(r),g(0);},D=r=>{var A;if(p)return;let s=(A=b.current)==null?void 0:A.querySelectorAll("[data-command-item]"),P=(s==null?void 0:s.length)||0;switch(r.key){case "ArrowDown":r.preventDefault(),g(N=>(N+1)%P);break;case "ArrowUp":r.preventDefault(),g(N=>(N-1+P)%P);break;case "Enter":{r.preventDefault();let N=s==null?void 0:s[R];N==null||N.click();break}case "Escape":r.preventDefault(),i(false);break}};return l.useEffect(()=>{var r;C&&((r=H.current)==null||r.focus(),g(0));},[C]),l.useEffect(()=>{let r=s=>{s.key==="k"&&(s.metaKey||s.ctrlKey)&&(s.preventDefault(),i(!C)),s.key==="Escape"&&C&&(s.preventDefault(),i(false));};return document.addEventListener("keydown",r),()=>{document.removeEventListener("keydown",r);}},[C,i]),l.useEffect(()=>{var s;let r=(s=b.current)==null?void 0:s.querySelector(`[data-command-item]:nth-child(${R+1})`);r==null||r.scrollIntoView({block:"nearest"});},[R]),jsx("div",{ref:S,className:a("relative",n),...f,children:C&&jsx("div",{ref:T,className:a("fixed inset-0 z-50 bg-black/50 backdrop-blur-sm","flex items-start justify-center pt-16"),onClick:()=>i(false),children:jsxs("div",{className:a("w-full max-w-2xl mx-4 bg-popover text-popover-foreground rounded-lg shadow-2xl","border-0 overflow-hidden"),onClick:r=>r.stopPropagation(),style:{boxShadow:"0 25px 50px -12px rgba(0, 0, 0, 0.25)"},children:[jsxs("div",{className:"p-4 border-b border-border",children:[" ",jsx("input",{ref:H,type:"text",placeholder:m,value:L,onChange:r=>w(r.target.value),onKeyDown:D,className:a("w-full bg-transparent text-lg font-medium outline-none","placeholder:text-muted-foreground","text-foreground")})]}),jsx("div",{ref:b,className:"max-h-96 overflow-y-auto py-2",children:l.Children.map(e,(r,s)=>l.isValidElement(r)?r.type===l.Fragment||typeof r.type=="symbol"?r:l.cloneElement(r,{selected:s===R,onSelect:()=>{var P,A;(A=(P=r.props).onSelect)==null||A.call(P),i(false);}}):r)})]})})})});G.displayName="Command";var Z=l.forwardRef(({className:n,...e},t)=>jsx("input",{ref:t,className:a("flex h-10 w-full rounded-md bg-transparent px-3 py-2 text-sm outline-none","placeholder:text-muted-foreground","disabled:cursor-not-allowed disabled:opacity-50",n),...e}));Z.displayName="CommandInput";var j=l.forwardRef(({className:n,...e},t)=>jsx("div",{ref:t,className:a("max-h-96 overflow-y-auto py-2",n),...e}));j.displayName="CommandList";var ee=l.forwardRef(({className:n,icon:e,selected:t=false,onSelect:o,children:m,...d},c)=>jsxs("button",{ref:c,"data-command-item":true,className:a("relative flex w-full items-center gap-3 rounded-sm px-4 py-3 text-sm","text-foreground","hover:bg-muted","focus:bg-muted","focus:outline-none",t&&"bg-muted","transition-colors",n),onClick:o,...d,children:[e&&jsx("div",{className:"flex-shrink-0 w-4 h-4 text-muted-foreground",children:e}),jsx("span",{className:"flex-1 text-left",children:m})]}));ee.displayName="CommandItem";var te=l.forwardRef(({className:n,heading:e,children:t,...o},m)=>jsxs("div",{ref:m,className:a("py-2",n),...o,children:[" ",e&&jsxs("div",{className:"px-4 py-2 text-xs font-semibold text-muted-foreground uppercase tracking-wide",children:[" ",e]}),jsxs("div",{className:"space-y-1",children:[" ",t]})]}));te.displayName="CommandGroup";var re=l.forwardRef(({className:n,...e},t)=>jsx("div",{ref:t,className:a("h-px bg-border my-2",n),...e}));re.displayName="CommandSeparator";var ne=l.forwardRef(({className:n,children:e="\uACB0\uACFC\uAC00 \uC5C6\uC2B5\uB2C8\uB2E4.",...t},o)=>jsx("div",{ref:o,className:a("py-8 text-center text-sm text-muted-foreground",n),...t,children:e}));ne.displayName="CommandEmpty";var oe=l.forwardRef(({className:n,...e},t)=>jsx(G,{ref:t,className:n,...e}));oe.displayName="CommandDialog";export{G as Command,oe as CommandDialog,ne as CommandEmpty,te as CommandGroup,Z as CommandInput,ee as CommandItem,j as CommandList,re as CommandSeparator,X as ContextMenu,O as ContextMenuGroup,Y as ContextMenuItem,J as ContextMenuLabel,$ as ContextMenuSeparator,z as Menu,F as MenuCompact,U as MenuHorizontal,K as MenuItem,q as MenuLabel,_ as MenuSeparator,W as MenuVertical};//# sourceMappingURL=interactive.mjs.map
|
|
2
|
+
export{a as Accordion,d as AccordionContent,b as AccordionItem,c as AccordionTrigger,f as Tabs,k as TabsCards,e as TabsContent,g as TabsList,i as TabsPills,h as TabsTrigger,j as TabsUnderline}from'./chunk-XV3Y7QVU.mjs';import'./chunk-HN5LSP6L.mjs';import {a}from'./chunk-UUHAXGMO.mjs';import l from'react';import {jsx,jsxs}from'react/jsx-runtime';var z=l.forwardRef(({className:n,children:e,variant:t="default",size:o="md",...m},d)=>{let c=()=>{switch(t){case "horizontal":return "flex items-center space-x-1";case "vertical":return "flex flex-col space-y-1";case "compact":return "flex flex-col space-y-0.5";default:return "flex flex-col space-y-1"}},p=()=>{switch(o){case "sm":return "text-sm";case "lg":return "text-base";default:return "text-sm"}};return jsx("div",{ref:d,className:a(c(),p(),n),...m,children:l.Children.map(e,f=>l.isValidElement(f)?l.cloneElement(f,{variant:t,size:o}):f)})});z.displayName="Menu";var K=l.forwardRef(({className:n,icon:e,variant:t="default",size:o="md",active:m=false,disabled:d=false,children:c,...p},f)=>{let S=()=>{switch(t){case "horizontal":return a("flex items-center gap-2 px-3 py-2 rounded-md text-sm font-medium transition-colors",m?"bg-primary/10 text-primary":"text-foreground hover:text-foreground hover:bg-muted");case "vertical":return a("flex items-center gap-3 px-4 py-3 rounded-md text-sm font-medium transition-colors",m?"bg-primary/10 text-primary":"text-foreground hover:text-foreground hover:bg-muted");case "compact":return a("flex items-center gap-2 px-2 py-1.5 rounded text-sm font-medium transition-colors",m?"bg-primary/10 text-primary":"text-foreground hover:text-foreground hover:bg-muted");default:return a("flex items-center gap-3 px-4 py-3 rounded-md text-sm font-medium transition-colors",m?"bg-primary/10 text-primary":"text-foreground hover:text-foreground hover:bg-muted")}},k=()=>{switch(o){case "sm":return "text-xs";case "lg":return "text-base";default:return "text-sm"}};return jsxs("button",{ref:f,className:a(S(),k(),d&&"opacity-50 cursor-not-allowed",n),disabled:d,...p,children:[e&&jsx("div",{className:"flex-shrink-0 w-4 h-4",children:e}),jsx("span",{className:"flex-1 text-left",children:c})]})});K.displayName="MenuItem";var _=l.forwardRef(({className:n,variant:e="default",...t},o)=>jsx("div",{ref:o,className:a(e==="horizontal"?"w-px h-4 bg-border mx-1":"h-px bg-border my-2",n),...t}));_.displayName="MenuSeparator";var q=l.forwardRef(({className:n,variant:e="default",size:t="md",children:o,...m},d)=>{let c=()=>e==="horizontal"?"px-3 py-1 text-xs font-semibold text-muted-foreground uppercase tracking-wide":"px-4 py-2 text-xs font-semibold text-muted-foreground uppercase tracking-wide",p=()=>{switch(t){case "sm":return "text-xs";case "lg":return "text-sm";default:return "text-xs"}};return jsx("div",{ref:d,className:a(c(),p(),n),...m,children:o})});q.displayName="MenuLabel";var U=l.forwardRef(({className:n,...e},t)=>jsx(z,{ref:t,variant:"horizontal",className:n,...e}));U.displayName="MenuHorizontal";var W=l.forwardRef(({className:n,...e},t)=>jsx(z,{ref:t,variant:"vertical",className:n,...e}));W.displayName="MenuVertical";var F=l.forwardRef(({className:n,...e},t)=>jsx(z,{ref:t,variant:"compact",className:n,...e}));F.displayName="MenuCompact";var X=l.forwardRef(({className:n,children:e,open:t,onOpenChange:o,trigger:m,placement:d="bottom",align:c="start",offset:p=8,disabled:f=false,...S},k)=>{let[V,B]=l.useState(false),[M,R]=l.useState({x:0,y:0}),g=l.useRef(null),T=l.useRef(null),H=t!==void 0,b=H?t:V,y=l.useCallback(i=>{f||(H||B(i),o==null||o(i));},[f,H,o]),C=i=>{if(i.preventDefault(),f)return;i.currentTarget.getBoundingClientRect();let D=i.clientX,r=i.clientY;R({x:D,y:r}),y(true);},L=l.useCallback(()=>{if(!T.current)return;let i=T.current.getBoundingClientRect(),w=window.innerWidth,D=window.innerHeight,r=M.x,s=M.y;r+i.width>w-8&&(r=w-i.width-8),s+i.height>D-8&&(s=D-i.height-8),r<8&&(r=8),s<8&&(s=8),R({x:r,y:s});},[M.x,M.y]);return l.useEffect(()=>{if(b)return L(),window.addEventListener("resize",L),window.addEventListener("scroll",L),()=>{window.removeEventListener("resize",L),window.removeEventListener("scroll",L);}},[b,L]),l.useEffect(()=>{let i=w=>{g.current&&T.current&&!g.current.contains(w.target)&&!T.current.contains(w.target)&&y(false);};if(b)return document.addEventListener("mousedown",i),()=>{document.removeEventListener("mousedown",i);}},[b,y]),jsxs("div",{ref:k,className:a("relative",n),...S,children:[m&&jsx("div",{ref:g,onContextMenu:C,className:"inline-block",children:m}),b&&jsx("div",{ref:T,className:a("fixed z-50 bg-popover text-popover-foreground rounded-lg shadow-xl backdrop-blur-sm","min-w-[200px] py-2","border-0"),style:{left:M.x,top:M.y,boxShadow:"0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04)"},children:e})]})});X.displayName="ContextMenu";var Y=l.forwardRef(({className:n,icon:e,variant:t="default",children:o,disabled:m,...d},c)=>jsxs("button",{ref:c,className:a("w-full flex items-center gap-3 px-4 py-3 text-sm font-medium transition-colors duration-200 ease-in-out focus-visible:outline-none focus-visible:bg-muted",(()=>{switch(t){case "destructive":return "text-destructive hover:bg-destructive/10";case "disabled":return "text-muted-foreground cursor-not-allowed";default:return "text-foreground hover:bg-muted"}})(),n),disabled:m||t==="disabled",...d,children:[e&&jsx("div",{className:"flex-shrink-0 w-4 h-4",children:e}),jsx("span",{className:"flex-1 text-left",children:o})]}));Y.displayName="ContextMenuItem";var $=l.forwardRef(({className:n,...e},t)=>jsx("div",{ref:t,className:a("h-px bg-border my-2",n),...e}));$.displayName="ContextMenuSeparator";var J=l.forwardRef(({className:n,children:e,...t},o)=>jsx("div",{ref:o,className:a("px-4 py-2 text-xs font-semibold text-muted-foreground uppercase tracking-wide",n),...t,children:e}));J.displayName="ContextMenuLabel";var O=l.forwardRef(({className:n,children:e,...t},o)=>jsx("div",{ref:o,className:a("py-1",n),...t,children:e}));O.displayName="ContextMenuGroup";var G=l.forwardRef(({className:n,children:e,open:t,onOpenChange:o,placeholder:m="\uBA85\uB839\uC5B4\uB97C \uAC80\uC0C9\uD558\uC138\uC694...",searchValue:d,onSearchChange:c,disabled:p=false,...f},S)=>{let[k,V]=l.useState(false),[B,M]=l.useState(""),[R,g]=l.useState(0),T=l.useRef(null),H=l.useRef(null),b=l.useRef(null),y=t!==void 0,C=y?t:k,L=d!==void 0?d:B,i=l.useCallback(r=>{p||(y||V(r),o==null||o(r));},[p,y,o]),w=r=>{y||M(r),c==null||c(r),g(0);},D=r=>{var A;if(p)return;let s=(A=b.current)==null?void 0:A.querySelectorAll("[data-command-item]"),P=(s==null?void 0:s.length)||0;switch(r.key){case "ArrowDown":r.preventDefault(),g(N=>(N+1)%P);break;case "ArrowUp":r.preventDefault(),g(N=>(N-1+P)%P);break;case "Enter":{r.preventDefault();let N=s==null?void 0:s[R];N==null||N.click();break}case "Escape":r.preventDefault(),i(false);break}};return l.useEffect(()=>{var r;C&&((r=H.current)==null||r.focus(),g(0));},[C]),l.useEffect(()=>{let r=s=>{s.key==="k"&&(s.metaKey||s.ctrlKey)&&(s.preventDefault(),i(!C)),s.key==="Escape"&&C&&(s.preventDefault(),i(false));};return document.addEventListener("keydown",r),()=>{document.removeEventListener("keydown",r);}},[C,i]),l.useEffect(()=>{var s;let r=(s=b.current)==null?void 0:s.querySelector(`[data-command-item]:nth-child(${R+1})`);r==null||r.scrollIntoView({block:"nearest"});},[R]),jsx("div",{ref:S,className:a("relative",n),...f,children:C&&jsx("div",{ref:T,className:a("fixed inset-0 z-50 bg-black/50 backdrop-blur-sm","flex items-start justify-center pt-16"),onClick:()=>i(false),children:jsxs("div",{className:a("w-full max-w-2xl mx-4 bg-popover text-popover-foreground rounded-lg shadow-2xl","border-0 overflow-hidden"),onClick:r=>r.stopPropagation(),style:{boxShadow:"0 25px 50px -12px rgba(0, 0, 0, 0.25)"},children:[jsxs("div",{className:"p-4 border-b border-border",children:[" ",jsx("input",{ref:H,type:"text",placeholder:m,value:L,onChange:r=>w(r.target.value),onKeyDown:D,className:a("w-full bg-transparent text-lg font-medium outline-none","placeholder:text-muted-foreground","text-foreground")})]}),jsx("div",{ref:b,className:"max-h-96 overflow-y-auto py-2",children:l.Children.map(e,(r,s)=>l.isValidElement(r)?r.type===l.Fragment||typeof r.type=="symbol"?r:l.cloneElement(r,{selected:s===R,onSelect:()=>{var P,A;(A=(P=r.props).onSelect)==null||A.call(P),i(false);}}):r)})]})})})});G.displayName="Command";var Z=l.forwardRef(({className:n,...e},t)=>jsx("input",{ref:t,className:a("flex h-10 w-full rounded-md bg-transparent px-3 py-2 text-sm outline-none","placeholder:text-muted-foreground","disabled:cursor-not-allowed disabled:opacity-50",n),...e}));Z.displayName="CommandInput";var j=l.forwardRef(({className:n,...e},t)=>jsx("div",{ref:t,className:a("max-h-96 overflow-y-auto py-2",n),...e}));j.displayName="CommandList";var ee=l.forwardRef(({className:n,icon:e,selected:t=false,onSelect:o,children:m,...d},c)=>jsxs("button",{ref:c,"data-command-item":true,className:a("relative flex w-full items-center gap-3 rounded-sm px-4 py-3 text-sm","text-foreground","hover:bg-muted","focus:bg-muted","focus:outline-none",t&&"bg-muted","transition-colors",n),onClick:o,...d,children:[e&&jsx("div",{className:"flex-shrink-0 w-4 h-4 text-muted-foreground",children:e}),jsx("span",{className:"flex-1 text-left",children:m})]}));ee.displayName="CommandItem";var te=l.forwardRef(({className:n,heading:e,children:t,...o},m)=>jsxs("div",{ref:m,className:a("py-2",n),...o,children:[" ",e&&jsxs("div",{className:"px-4 py-2 text-xs font-semibold text-muted-foreground uppercase tracking-wide",children:[" ",e]}),jsxs("div",{className:"space-y-1",children:[" ",t]})]}));te.displayName="CommandGroup";var re=l.forwardRef(({className:n,...e},t)=>jsx("div",{ref:t,className:a("h-px bg-border my-2",n),...e}));re.displayName="CommandSeparator";var ne=l.forwardRef(({className:n,children:e="\uACB0\uACFC\uAC00 \uC5C6\uC2B5\uB2C8\uB2E4.",...t},o)=>jsx("div",{ref:o,className:a("py-8 text-center text-sm text-muted-foreground",n),...t,children:e}));ne.displayName="CommandEmpty";var oe=l.forwardRef(({className:n,...e},t)=>jsx(G,{ref:t,className:n,...e}));oe.displayName="CommandDialog";export{G as Command,oe as CommandDialog,ne as CommandEmpty,te as CommandGroup,Z as CommandInput,ee as CommandItem,j as CommandList,re as CommandSeparator,X as ContextMenu,O as ContextMenuGroup,Y as ContextMenuItem,J as ContextMenuLabel,$ as ContextMenuSeparator,z as Menu,F as MenuCompact,U as MenuHorizontal,K as MenuItem,q as MenuLabel,_ as MenuSeparator,W as MenuVertical};//# sourceMappingURL=interactive.mjs.map
|
|
3
3
|
//# sourceMappingURL=interactive.mjs.map
|
|
@@ -5,28 +5,27 @@
|
|
|
5
5
|
* Special thanks to Iconsax team for providing high-quality icons
|
|
6
6
|
* with a permissive license (free for personal and commercial use).
|
|
7
7
|
*
|
|
8
|
-
*
|
|
9
|
-
*
|
|
10
|
-
*
|
|
11
|
-
* Iconsax Icons Dynamic Loader System
|
|
12
|
-
* Dynamically loads only the required icons for optimal performance.
|
|
8
|
+
* 에센셜 아이콘(57개)은 동기적으로 즉시 사용 가능.
|
|
9
|
+
* 확장 아이콘은 registerExtendedIcons()로 등록 시 사용 가능.
|
|
13
10
|
*
|
|
14
11
|
* Features:
|
|
15
|
-
* -
|
|
16
|
-
* -
|
|
17
|
-
* -
|
|
18
|
-
* -
|
|
12
|
+
* - Essential icons: 동기 조회 (번들에 포함)
|
|
13
|
+
* - Extended icons: registration pattern (iconsax-extended에서 등록)
|
|
14
|
+
* - Icon cache
|
|
15
|
+
* - Preload support
|
|
19
16
|
*/
|
|
20
17
|
import React from 'react';
|
|
21
18
|
import type { SVGProps } from 'react';
|
|
22
19
|
import type { IconsaxVariant } from '../components/Icon/icon-store';
|
|
23
20
|
export type IconsaxIconComponent = React.ComponentType<SVGProps<SVGSVGElement>>;
|
|
21
|
+
/**
|
|
22
|
+
* 확장 아이콘 세트를 등록합니다.
|
|
23
|
+
* iconsax-extended 엔트리에서 호출됩니다.
|
|
24
|
+
*/
|
|
25
|
+
export declare function registerExtendedIcons(lineGetter: (name: string) => IconsaxIconComponent | null, boldGetter: (name: string) => IconsaxIconComponent | null): void;
|
|
24
26
|
/**
|
|
25
27
|
* Iconsax 아이콘을 로드합니다.
|
|
26
|
-
*
|
|
27
|
-
*
|
|
28
|
-
* Loads Iconsax icons from the static ICONSAX_ICONS map.
|
|
29
|
-
* No longer uses dynamic import for better bundler compatibility.
|
|
28
|
+
* 에센셜 → 확장(등록된 경우) 순서로 조회.
|
|
30
29
|
*
|
|
31
30
|
* @param iconName - Iconsax 아이콘 이름 (PascalCase, 예: "Add", "Home2")
|
|
32
31
|
* @returns 아이콘 컴포넌트 또는 null
|
|
@@ -34,9 +33,7 @@ export type IconsaxIconComponent = React.ComponentType<SVGProps<SVGSVGElement>>;
|
|
|
34
33
|
export declare function loadIconsaxIcon(iconName: string): Promise<IconsaxIconComponent | null>;
|
|
35
34
|
/**
|
|
36
35
|
* Iconsax 아이콘을 동기적으로 가져옵니다.
|
|
37
|
-
*
|
|
38
|
-
*
|
|
39
|
-
* Synchronously gets Iconsax icon from ICONSAX_ICONS or ICONSAX_BOLD_ICONS map.
|
|
36
|
+
* 에센셜 → 확장(등록된 경우) 순서로 조회.
|
|
40
37
|
*
|
|
41
38
|
* @param iconName - Iconsax 아이콘 이름
|
|
42
39
|
* @param variant - Iconsax 아이콘 변형 (line | bold), 기본값 'line'
|
|
@@ -45,51 +42,24 @@ export declare function loadIconsaxIcon(iconName: string): Promise<IconsaxIconCo
|
|
|
45
42
|
export declare function getIconsaxIconSync(iconName: string, variant?: IconsaxVariant): IconsaxIconComponent | null;
|
|
46
43
|
/**
|
|
47
44
|
* 여러 아이콘을 미리 로드합니다 (FOUC 방지).
|
|
48
|
-
* 앱 초기화 시 자주 사용하는 아이콘을 프리로드하면 좋습니다.
|
|
49
|
-
*
|
|
50
|
-
* Preloads multiple icons to prevent FOUC.
|
|
51
|
-
* Good for preloading frequently used icons at app initialization.
|
|
52
45
|
*
|
|
53
46
|
* @param iconNames - 프리로드할 아이콘 이름 배열
|
|
54
47
|
* @returns 로드된 아이콘 수
|
|
55
|
-
*
|
|
56
|
-
* @example
|
|
57
|
-
* // 앱 시작 시
|
|
58
|
-
* await preloadIconsaxIcons(['Home2', 'User', 'Search', 'Menu'])
|
|
59
48
|
*/
|
|
60
49
|
export declare function preloadIconsaxIcons(iconNames: string[]): Promise<number>;
|
|
61
50
|
/**
|
|
62
51
|
* 자주 사용되는 기본 아이콘들을 프리로드합니다.
|
|
63
|
-
*
|
|
64
|
-
* Preloads commonly used default icons.
|
|
65
52
|
*/
|
|
66
53
|
export declare function preloadCommonIconsaxIcons(): Promise<number>;
|
|
67
54
|
/**
|
|
68
|
-
* 아이콘이
|
|
69
|
-
*
|
|
70
|
-
* Checks if an icon is in the cache.
|
|
55
|
+
* 아이콘이 에센셜에 있는지 확인합니다.
|
|
71
56
|
*/
|
|
72
57
|
export declare function isIconsaxIconCached(iconName: string): boolean;
|
|
73
|
-
/**
|
|
74
|
-
* 캐시된 아이콘 목록을 반환합니다.
|
|
75
|
-
*
|
|
76
|
-
* Returns the list of cached icon names.
|
|
77
|
-
*/
|
|
78
|
-
export declare function getCachedIconsaxIcons(): string[];
|
|
79
58
|
/**
|
|
80
59
|
* React.lazy와 함께 사용할 수 있는 아이콘 로더를 생성합니다.
|
|
81
60
|
*
|
|
82
|
-
* Creates an icon loader compatible with React.lazy.
|
|
83
|
-
*
|
|
84
61
|
* @param iconName - 아이콘 이름
|
|
85
62
|
* @returns React.lazy 컴포넌트
|
|
86
|
-
*
|
|
87
|
-
* @example
|
|
88
|
-
* const HomeIcon = createLazyIconsaxIcon('Home2')
|
|
89
|
-
* // 사용:
|
|
90
|
-
* <Suspense fallback={<span>...</span>}>
|
|
91
|
-
* <HomeIcon />
|
|
92
|
-
* </Suspense>
|
|
93
63
|
*/
|
|
94
|
-
export declare function createLazyIconsaxIcon(iconName: string): React.LazyExoticComponent<
|
|
64
|
+
export declare function createLazyIconsaxIcon(iconName: string): React.LazyExoticComponent<React.ComponentType<React.SVGProps<SVGSVGElement>>>;
|
|
95
65
|
//# sourceMappingURL=iconsax-loader.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"iconsax-loader.d.ts","sourceRoot":"","sources":["../../src/lib/iconsax-loader.ts"],"names":[],"mappings":"AAAA
|
|
1
|
+
{"version":3,"file":"iconsax-loader.d.ts","sourceRoot":"","sources":["../../src/lib/iconsax-loader.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;GAeG;AAEH,OAAO,KAAK,MAAM,OAAO,CAAA;AACzB,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,OAAO,CAAA;AAIrC,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,+BAA+B,CAAA;AAGnE,MAAM,MAAM,oBAAoB,GAAG,KAAK,CAAC,aAAa,CAAC,QAAQ,CAAC,aAAa,CAAC,CAAC,CAAA;AAM/E;;;GAGG;AACH,wBAAgB,qBAAqB,CACnC,UAAU,EAAE,CAAC,IAAI,EAAE,MAAM,KAAK,oBAAoB,GAAG,IAAI,EACzD,UAAU,EAAE,CAAC,IAAI,EAAE,MAAM,KAAK,oBAAoB,GAAG,IAAI,QAI1D;AAED;;;;;;GAMG;AACH,wBAAsB,eAAe,CACnC,QAAQ,EAAE,MAAM,GACf,OAAO,CAAC,oBAAoB,GAAG,IAAI,CAAC,CAgBtC;AAED;;;;;;;GAOG;AACH,wBAAgB,kBAAkB,CAChC,QAAQ,EAAE,MAAM,EAChB,OAAO,GAAE,cAAuB,GAC/B,oBAAoB,GAAG,IAAI,CAY7B;AAED;;;;;GAKG;AACH,wBAAsB,mBAAmB,CAAC,SAAS,EAAE,MAAM,EAAE,GAAG,OAAO,CAAC,MAAM,CAAC,CAK9E;AAED;;GAEG;AACH,wBAAsB,yBAAyB,IAAI,OAAO,CAAC,MAAM,CAAC,CAOjE;AAED;;GAEG;AACH,wBAAgB,mBAAmB,CAAC,QAAQ,EAAE,MAAM,GAAG,OAAO,CAK7D;AAED;;;;;GAKG;AACH,wBAAgB,qBAAqB,CAAC,QAAQ,EAAE,MAAM,iFAUrD"}
|
package/dist/navigation.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
'use strict';var N=require('react'),clsx=require('clsx'),tailwindMerge=require('tailwind-merge'),jsxRuntime=require('react/jsx-runtime'),ssr=require('@phosphor-icons/react/dist/ssr');function _interopDefault(e){return e&&e.__esModule?e:{default:e}}var N__default=/*#__PURE__*/_interopDefault(N);function t(...e){return tailwindMerge.twMerge(clsx.clsx(e))}function re(e){let o=Object.entries(e).filter(([,r])=>r).map(([r])=>r);return t(...o)}var me=N__default.default.forwardRef(({className:e,value:o,defaultValue:r,onValueChange:n,variant:i="pills",scale:c="medium",children:s,...h},y)=>{let [I,v]=N__default.default.useState(o||r||""),f=o!==void 0,m=f?o:I;return N__default.default.useEffect(()=>{o!==void 0&&v(o);},[o]),jsxRuntime.jsx("div",{ref:y,className:t("w-full",e),...h,children:N__default.default.Children.map(s,a=>N__default.default.isValidElement(a)?N__default.default.cloneElement(a,{value:m,variant:i,scale:c}):a)})});me.displayName="Navigation";var te=N__default.default.forwardRef(({className:e,value:o,onValueChange:r,variant:n="pills",scale:i="medium",children:c,...s},h)=>{let y=()=>{switch(n){case "pills":return "bg-muted p-1 rounded-xl";case "underline":return "border-b border-border";case "cards":return "bg-muted/50 p-1 rounded-xl";default:return "bg-muted p-1 rounded-xl"}},I=()=>{switch(i){case "small":return "gap-1";case "large":return "gap-3";default:return "gap-2"}};return jsxRuntime.jsx("div",{ref:h,className:t("flex",y(),I(),e),...s,children:N__default.default.Children.map(c,v=>N__default.default.isValidElement(v)?N__default.default.cloneElement(v,{value:o,variant:n,scale:i}):v)})});te.displayName="NavigationList";var ne=N__default.default.forwardRef(({className:e,value:o,onValueChange:r,variant:n="pills",scale:i="medium",active:c=false,children:s,...h},y)=>{let I=()=>{switch(n){case "pills":return t("rounded-lg px-3 py-2 text-sm font-medium transition-all",c?"bg-background text-foreground shadow-sm":"text-muted-foreground hover:text-foreground");case "underline":return t("border-b-2 px-3 py-2 text-sm font-medium transition-all",c?"border-primary text-primary":"border-transparent text-muted-foreground hover:text-foreground");case "cards":return t("rounded-lg px-3 py-2 text-sm font-medium transition-all",c?"bg-background text-foreground shadow-sm border border-border":"text-muted-foreground hover:text-foreground");default:return t("rounded-lg px-3 py-2 text-sm font-medium transition-all",c?"bg-background text-foreground shadow-sm":"text-muted-foreground hover:text-foreground")}},v=()=>{switch(i){case "small":return "text-xs px-2 py-1";case "large":return "text-base px-4 py-3";default:return "text-sm px-3 py-2"}},f=()=>{r==null||r(o);};return jsxRuntime.jsx("button",{ref:y,className:t(I(),v(),"focus-visible:outline-none focus-visible:ring-1 focus-visible:ring-ring focus-visible:ring-offset-2",e),onClick:f,...h,children:s})});ne.displayName="NavigationItem";var ie=N__default.default.forwardRef(({className:e,active:o=false,...r},n)=>o?jsxRuntime.jsx("div",{ref:n,className:t("mt-4",e),...r}):null);ie.displayName="NavigationContent";var K=me;K.List=te;K.Item=ne;K.Content=ie;var ve={home:ssr.House,arrowLeft:ssr.ArrowLeft,arrowRight:ssr.ArrowRight,arrowUp:ssr.ArrowUp,arrowDown:ssr.ArrowDown,menu:ssr.List,close:ssr.X,search:ssr.MagnifyingGlass,settings:ssr.Gear,externalLink:ssr.ArrowSquareOut,chevronLeft:ssr.CaretLeft,chevronRight:ssr.CaretRight,chevronDown:ssr.CaretDown,chevronUp:ssr.CaretUp,edit:ssr.Pencil,delete:ssr.Trash,add:ssr.Plus,remove:ssr.Minus,download:ssr.Download,upload:ssr.Upload,refresh:ssr.ArrowClockwise,save:ssr.FloppyDisk,copy:ssr.Copy,loader:ssr.SpinnerGap,success:ssr.CheckCircle,error:ssr.XCircle,alertCircle:ssr.WarningCircle,warning:ssr.WarningCircle,info:ssr.Info,check:ssr.Check,circle:ssr.Circle,helpCircle:ssr.Question,user:ssr.User,users:ssr.Users,userPlus:ssr.UserPlus,logIn:ssr.SignIn,logOut:ssr.SignOut,eye:ssr.Eye,eyeOff:ssr.EyeSlash,chart:ssr.ChartBar,barChart:ssr.ChartBar,trendingUp:ssr.TrendUp,activity:ssr.Pulse,database:ssr.Database,zap:ssr.Lightning,fileText:ssr.FileText,file:ssr.File,folder:ssr.Folder,book:ssr.Book,bookOpen:ssr.BookOpen,mail:ssr.Envelope,message:ssr.ChatCircle,phone:ssr.Phone,image:ssr.Image,video:ssr.Video,camera:ssr.Camera,smile:ssr.Smiley,frown:ssr.SmileySad,meh:ssr.SmileyMeh,lock:ssr.Lock,unlock:ssr.LockOpen,shield:ssr.Shield,wallet:ssr.Wallet,key:ssr.Key,clock:ssr.Clock,calendar:ssr.Calendar,calendarPlus:ssr.CalendarPlus,bell:ssr.Bell,heart:ssr.Heart,star:ssr.Star,bookmark:ssr.Bookmark,share:ssr.Share,monitor:ssr.Monitor,sun:ssr.Sun,moon:ssr.Moon,lightbulb:ssr.Lightbulb,brain:ssr.Brain,flag:ssr.Flag,square:ssr.Square,sparkle:ssr.Sparkle,sparkles:ssr.Sparkle,globe:ssr.Globe,smartphone:ssr.DeviceMobile,deviceMobile:ssr.DeviceMobile,floppyDisk:ssr.FloppyDisk,ticket:ssr.Ticket,clipboard:ssr.Clipboard,wifi:ssr.WifiHigh,wifiOff:ssr.WifiSlash,cpu:ssr.Cpu,mask:ssr.MaskHappy,bold:ssr.TextB,italic:ssr.TextItalic,strikethrough:ssr.TextStrikethrough,heading:ssr.TextHOne,link:ssr.Link,code:ssr.Code,fileCode:ssr.FileCode,quote:ssr.Quotes,list:ssr.List,listOrdered:ssr.ListNumbers,minus:ssr.Minus},ke={happy:"smile",sad:"frown",neutral:"meh",excited:"smile",angry:"frown",love:"heart",like:"heart",dislike:"frown"},we={loading:"loader",success:"success",error:"error",warning:"warning",info:"info",locked:"lock",unlocked:"unlock",visible:"eye",hidden:"eyeOff"};function Ce(e){return !e||!/[-_]/.test(e)&&/^[a-z]/.test(e)?e:/^[A-Z]+$/.test(e)?e.toLowerCase():/^[A-Z]/.test(e)&&!/[-_]/.test(e)?e.charAt(0).toLowerCase()+e.slice(1):e.split(/[-_]/).map((o,r)=>r===0?o.toLowerCase():o.charAt(0).toUpperCase()+o.slice(1).toLowerCase()).join("")}var b=null,x=null,z=null;function ae(){return z}var Ie={home:{lucide:"Home",phosphor:"House",iconsax:"Home2"},"layout-dashboard":{lucide:"LayoutDashboard",phosphor:"SquaresFour"},folder:{lucide:"Folder",phosphor:"Folder",iconsax:"Folder"},"alert-circle":{lucide:"AlertCircle",phosphor:"WarningCircle",iconsax:"Danger"},alertCircle:{lucide:"AlertCircle",phosphor:"WarningCircle",iconsax:"Danger"},columns:{lucide:"Columns",phosphor:"Columns"},users:{lucide:"Users",phosphor:"Users",iconsax:"People"},settings:{lucide:"Settings",phosphor:"Gear"},menu:{lucide:"Menu",phosphor:"List",iconsax:"Menu"},close:{lucide:"X",phosphor:"X",iconsax:"CloseCircle"},chevronLeft:{lucide:"ChevronLeft",phosphor:"CaretLeft",iconsax:"ArrowLeft2"},chevronRight:{lucide:"ChevronRight",phosphor:"CaretRight",iconsax:"ArrowRight2"},chevronDown:{lucide:"ChevronDown",phosphor:"CaretDown",iconsax:"ArrowDown2"},chevronUp:{lucide:"ChevronUp",phosphor:"CaretUp",iconsax:"ArrowUp2"},arrowLeft:{lucide:"ArrowLeft",phosphor:"ArrowLeft",iconsax:"ArrowLeft"},arrowRight:{lucide:"ArrowRight",phosphor:"ArrowRight",iconsax:"ArrowRight"},arrowUp:{lucide:"ArrowUp",phosphor:"ArrowUp",iconsax:"ArrowUp"},arrowDown:{lucide:"ArrowDown",phosphor:"ArrowDown",iconsax:"ArrowDown"},add:{lucide:"Plus",phosphor:"Plus",iconsax:"Add"},edit:{lucide:"Edit",phosphor:"Pencil"},pencil:{lucide:"Pencil",phosphor:"Pencil"},delete:{lucide:"Trash2",phosphor:"Trash",iconsax:"Trash"},trash:{lucide:"Trash2",phosphor:"Trash",iconsax:"Trash"},upload:{lucide:"Upload",phosphor:"Upload",iconsax:"Upload"},download:{lucide:"Download",phosphor:"Download",iconsax:"Download"},x:{lucide:"X",phosphor:"X"},check:{lucide:"Check",phosphor:"Check",iconsax:"Check"},search:{lucide:"Search",phosphor:"MagnifyingGlass",iconsax:"SearchNormal"},share:{lucide:"Share",phosphor:"Share"},copy:{lucide:"Copy",phosphor:"Copy"},save:{lucide:"Save",phosphor:"FloppyDisk"},loader:{lucide:"Loader2",phosphor:"Spinner"},loader2:{lucide:"Loader2",phosphor:"Spinner"},"check-circle":{lucide:"CheckCircle",phosphor:"CheckCircle",iconsax:"TickCircle"},checkCircle:{lucide:"CheckCircle",phosphor:"CheckCircle",iconsax:"TickCircle"},success:{lucide:"CheckCircle",phosphor:"CheckCircle",iconsax:"TickCircle"},error:{lucide:"XCircle",phosphor:"XCircle",iconsax:"CloseCircle"},warning:{lucide:"AlertCircle",phosphor:"WarningCircle",iconsax:"Warning2"},info:{lucide:"Info",phosphor:"Info",iconsax:"InfoCircle"},refresh:{lucide:"RefreshCw",phosphor:"ArrowClockwise",iconsax:"Refresh"},refreshCw:{lucide:"RefreshCw",phosphor:"ArrowClockwise",iconsax:"Refresh"},bell:{lucide:"Bell",phosphor:"Bell",iconsax:"Bell"},heart:{lucide:"Heart",phosphor:"Heart",iconsax:"Heart"},star:{lucide:"Star",phosphor:"Star",iconsax:"Star"},bookmark:{lucide:"Bookmark",phosphor:"Bookmark"},user:{lucide:"User",phosphor:"User",iconsax:"User"},userPlus:{lucide:"UserPlus",phosphor:"UserPlus",iconsax:"UserAdd"},logIn:{lucide:"LogIn",phosphor:"SignIn",iconsax:"Login"},logOut:{lucide:"LogOut",phosphor:"SignOut",iconsax:"Logout"},chrome:{lucide:"Chrome",phosphor:"ChromeLogo",iconsax:"Chrome"},github:{lucide:"Github",phosphor:"GithubLogo"},message:{lucide:"MessageCircle",phosphor:"ChatCircle"},messageSquare:{lucide:"MessageSquare",phosphor:"ChatSquare"},"message-square":{lucide:"MessageSquare",phosphor:"ChatSquare"},inbox:{lucide:"Inbox",phosphor:"Inbox"},calendar:{lucide:"Calendar",phosphor:"Calendar"},calendarPlus:{lucide:"CalendarPlus",phosphor:"CalendarPlus"},checkSquare:{lucide:"CheckSquare",phosphor:"CheckSquare",iconsax:"TickSquare"},clock:{lucide:"Clock",phosphor:"Clock"},book:{lucide:"Book",phosphor:"Book",iconsax:"Book"},bookOpen:{lucide:"BookOpen",phosphor:"BookOpen",iconsax:"Book"},monitor:{lucide:"Monitor",phosphor:"Monitor",iconsax:"Monitor"},sun:{lucide:"Sun",phosphor:"Sun",iconsax:"Sun"},moon:{lucide:"Moon",phosphor:"Moon",iconsax:"Moon"},sparkle:{lucide:"Sparkle",phosphor:"Sparkle"},sparkles:{lucide:"Sparkles",phosphor:"Sparkle"},lightbulb:{lucide:"Lightbulb",phosphor:"Lightbulb"},brain:{lucide:"Brain",phosphor:"Brain"},zap:{lucide:"Zap",phosphor:"Lightning"},globe:{lucide:"Globe",phosphor:"Globe",iconsax:"Global"},deviceMobile:{lucide:"Smartphone",phosphor:"DeviceMobile"},smartphone:{lucide:"Smartphone",phosphor:"DeviceMobile"},floppyDisk:{lucide:"Save",phosphor:"FloppyDisk"},chart:{lucide:"BarChart3",phosphor:"ChartBar"},barChart:{lucide:"BarChart",phosphor:"ChartBar"},trendingUp:{lucide:"TrendingUp",phosphor:"TrendUp"},trendingDown:{lucide:"TrendingDown",phosphor:"TrendDown"},activity:{lucide:"Activity",phosphor:"Pulse"},database:{lucide:"Database",phosphor:"Database"},dollarSign:{lucide:"DollarSign",phosphor:"CurrencyDollar"},dollar:{lucide:"DollarSign",phosphor:"CurrencyDollar"},currency:{lucide:"DollarSign",phosphor:"CurrencyDollar"},layers:{lucide:"Layers",phosphor:"Stack"},ban:{lucide:"Ban",phosphor:"Prohibit"},lock:{lucide:"Lock",phosphor:"Lock",iconsax:"Lock"},unlock:{lucide:"Unlock",phosphor:"LockOpen",iconsax:"Unlock"},shield:{lucide:"Shield",phosphor:"Shield",iconsax:"Shield"},key:{lucide:"Key",phosphor:"Key"},play:{lucide:"Play",phosphor:"Play",iconsax:"Play"},pause:{lucide:"Pause",phosphor:"Pause",iconsax:"Pause"},image:{lucide:"Image",phosphor:"Image",iconsax:"Image"},video:{lucide:"Video",phosphor:"Video",iconsax:"Video"},camera:{lucide:"Camera",phosphor:"Camera",iconsax:"Camera"},fileText:{lucide:"FileText",phosphor:"FileText"},file:{lucide:"File",phosphor:"File"},externalLink:{lucide:"ExternalLink",phosphor:"ArrowSquareOut"},link:{lucide:"Link",phosphor:"Link",iconsax:"Link"},moreHorizontal:{lucide:"MoreHorizontal",phosphor:"DotsThreeOutline"},moreVertical:{lucide:"MoreVertical",phosphor:"DotsThreeVertical"},remove:{lucide:"Minus",phosphor:"Minus",iconsax:"Minus"},eye:{lucide:"Eye",phosphor:"Eye",iconsax:"Eye"},eyeOff:{lucide:"EyeOff",phosphor:"EyeSlash",iconsax:"EyeSlash"},smile:{lucide:"Smile",phosphor:"Smiley",iconsax:"EmojiHappy"},frown:{lucide:"Frown",phosphor:"SmileySad",iconsax:"EmojiSad"},meh:{lucide:"Meh",phosphor:"SmileyMeh",iconsax:"EmojiNormal"},mail:{lucide:"Mail",phosphor:"Envelope"},phone:{lucide:"Phone",phosphor:"Phone"},flag:{lucide:"Flag",phosphor:"Flag",iconsax:"Flag"},rocket:{lucide:"Rocket",phosphor:"Rocket",iconsax:"Rocket"},ticket:{lucide:"Ticket",phosphor:"Ticket",iconsax:"Ticket"},clipboard:{lucide:"ClipboardList",phosphor:"Clipboard",iconsax:"Sticker"},wifi:{lucide:"Wifi",phosphor:"WifiHigh",iconsax:"Wifi"},wifiOff:{lucide:"WifiOff",phosphor:"WifiSlash"},cpu:{lucide:"Cpu",phosphor:"Cpu",iconsax:"Computing"},mask:{lucide:"Drama",phosphor:"MaskHappy",iconsax:"EmojiHappy"},bold:{lucide:"Bold",phosphor:"TextB"},italic:{lucide:"Italic",phosphor:"TextItalic"},strikethrough:{lucide:"Strikethrough",phosphor:"TextStrikethrough"},heading:{lucide:"Heading",phosphor:"TextHOne"},code:{lucide:"Code",phosphor:"Code",iconsax:"Code"},fileCode:{lucide:"FileCode",phosphor:"FileCode"},quote:{lucide:"Quote",phosphor:"Quotes",iconsax:"QuoteUp"},list:{lucide:"List",phosphor:"List"},listOrdered:{lucide:"ListOrdered",phosphor:"ListNumbers"},minus:{lucide:"Minus",phosphor:"Minus",iconsax:"Minus"}};async function Ne(){if(typeof window=="undefined")return null;if(!b)try{b=await import('@phosphor-icons/react');}catch{return console.warn("Phosphor Icons not available. Install @phosphor-icons/react to use."),null}return b}async function Le(){if(typeof window=="undefined")return null;if(!x)try{x=await import('lucide-react');}catch{return console.warn("Lucide Icons not available. Install lucide-react to use lucide provider."),null}return x}function Q(e,o="phosphor"){let r=Ie[e];if(!r)return Er(e,o);let n=r[o];switch(o){case "phosphor":return !n||!b?null:(b==null?void 0:b[n])||null;case "lucide":return !n||!x?null:(x==null?void 0:x[n])||null;case "iconsax":{return null;}default:return null}}function Er(e,o){switch(o){case "phosphor":{if(!b)return null;let r=e.charAt(0).toUpperCase()+e.slice(1),n=e.split(/(?=[A-Z])/).map(i=>i.charAt(0).toUpperCase()+i.slice(1)).join("");return (b==null?void 0:b[r])||(b==null?void 0:b[n])||(b==null?void 0:b[e])||null}case "lucide":{if(!x)return null;let r=e.charAt(0).toUpperCase()+e.slice(1),n=e.replace(/([A-Z])/g,i=>i===e[0]?i.toLowerCase():i);return (x==null?void 0:x[r])||(x==null?void 0:x[e])||(x==null?void 0:x[n])||null}case "iconsax":{return null;}default:return null}}function Pe(e,o){let r=Ie[e];if(r){let n=r[o];if(n)return n}return e}var se={"arrow-left":"arrowLeft","arrow-right":"arrowRight","arrow-up":"arrowUp","arrow-down":"arrowDown","chevron-left":"chevronLeft","chevron-right":"chevronRight","chevron-up":"chevronUp","chevron-down":"chevronDown","external-link":"externalLink","more-horizontal":"moreHorizontal","more-vertical":"moreVertical","user-plus":"userPlus","log-in":"logIn","log-out":"logOut","check-circle":"checkCircle","check-square":"checkSquare","alert-circle":"alertCircle","eye-off":"eyeOff","file-text":"fileText","book-open":"bookOpen","bar-chart":"barChart","trending-up":"trendingUp","trending-down":"trendingDown","message-square":"messageSquare","calendar-plus":"calendarPlus","refresh-cw":"refreshCw","dollar-sign":"dollarSign","layout-dashboard":"layoutDashboard","device-mobile":"deviceMobile","floppy-disk":"floppyDisk",back:"arrowLeft",prev:"arrowLeft",previous:"arrowLeft",forward:"arrowRight",next:"arrowRight",close:"x",cancel:"x",remove:"delete",trash:"delete",plus:"add",new:"add",pencil:"edit",modify:"edit",store:"save",floppy:"save",magnify:"search",person:"user",account:"user",profile:"user",gear:"settings",config:"settings",preferences:"settings",house:"home",main:"home",done:"check",complete:"check",tick:"check",information:"info",help:"info",alert:"warning",caution:"warning",checkmark:"success",checkCircle:"success",fail:"error",cross:"error",xCircle:"error",spinner:"loader",loading:"loader",wait:"loader",reload:"refresh",update:"refresh",sync:"refresh",show:"eye",view:"eye",hide:"eyeOff",hidden:"eyeOff",secure:"lock",locked:"lock",unsecure:"unlock",unlocked:"unlock",get:"download",fetch:"download",post:"upload",send:"share",export:"share",duplicate:"copy",clone:"copy",email:"mail",envelope:"mail",chat:"message",comment:"message",talk:"message",date:"calendar",schedule:"calendar",time:"clock",watch:"clock",document:"fileText",doc:"fileText",text:"fileText",directory:"folder",dir:"folder",picture:"image",img:"image",movie:"video",film:"video",photo:"camera",capture:"camera",start:"play",run:"play",stop:"pause",halt:"pause",like:"heart",love:"heart",favorite:"star",saveBookmark:"bookmark",notification:"bell",notify:"bell",alarm:"bell",prefs:"settings",lookup:"search",dots:"moreHorizontal",moreMenu:"moreHorizontal",moreOptions:"moreVertical",external:"externalLink",outbound:"externalLink",open:"externalLink",url:"link",hyperlink:"link",graph:"barChart",stats:"barChart",analytics:"barChart",db:"database",storage:"database",pulse:"activity",monitor:"activity",up:"trendingUp",down:"trendingDown",lightning:"zap",bolt:"zap",flash:"zap",security:"shield",protect:"shield",password:"key",secret:"key",signin:"logIn",login:"logIn",enter:"logIn",signout:"logOut",logout:"logOut",exit:"logOut",people:"users",group:"users",team:"users",addUser:"userPlus",invite:"userPlus",read:"book",library:"book",reading:"bookOpen",openBook:"bookOpen",light:"sun",day:"sun",dark:"moon",night:"moon",screen:"monitor",display:"monitor",ai:"brain",intelligence:"brain",think:"brain",idea:"lightbulb",bulb:"lightbulb",inspiration:"lightbulb",magic:"sparkles",stars:"sparkles",glitter:"sparkles"};function Se(e){if(!e||typeof e!="string")return {normalized:e||"",wasAlias:false};let o=Ce(e),r=se[e]||se[o];return r?{normalized:r,wasAlias:true,originalAlias:e}:{normalized:o,wasAlias:false}}var Te={set:"lucide",weight:"regular",size:20,color:"currentColor",strokeWidth:1.25,iconsaxVariant:"line"};var Ur=N.createContext(Te);function Re(){return N.useContext(Ur)}var Me=N__default.default.forwardRef(({name:e,size:o,className:r,emotion:n,status:i,provider:c,weight:s,animated:h=false,pulse:y=false,spin:I=false,bounce:v=false,variant:f="default","aria-label":m,"aria-hidden":k},a)=>{var ue,de;let l=Re(),u=c||l.set,g=o!=null?o:l.size,d=s||l.weight,E=l.color,T=(ue=l.strokeWidth)!=null?ue:1.25,R=(de=l.iconsaxVariant)!=null?de:"line",[D,Ge]=N__default.default.useState(false),[_e,Y]=N__default.default.useState(false);N__default.default.useEffect(()=>{Ge(true),u==="lucide"?Le().then(()=>Y(true)):u==="phosphor"?Ne().then(()=>Y(true)):Y(true);},[u]);let ee=N__default.default.useMemo(()=>{let $=n?ke[n]:i?we[i]:e,{normalized:pe}=Se($),Xe=Pe(pe,u);return {normalized:pe,providerName:Xe}},[e,n,i,u]),O=ee.normalized,$e=N__default.default.useMemo(()=>{return null},[u,ee.providerName,D,R]),_=re({"text-current":f==="default","text-primary":f==="primary","text-muted-foreground":f==="secondary"||f==="muted","text-green-600 dark:text-green-400":f==="success","text-yellow-600 dark:text-yellow-400":f==="warning","text-destructive":f==="error"});if(!D)return jsxRuntime.jsx("span",{style:{width:g,height:g},className:t(_,r),"aria-hidden":k!==void 0?k:true,"aria-label":m});let P=null;if(u==="phosphor"?(P=ve[O]||null,!P&&_e&&(P=Q(O,u))):u==="iconsax"?(P=$e,P||(P=Q(O,u))):P=Q(O,u),!P)return (u!=="iconsax"||ae())&&console.warn(`Icon "${O}" not found for provider "${u}"`),jsxRuntime.jsx("span",{ref:a,className:t("inline-flex items-center justify-center rounded-full border-2 border-dashed border-border",_,r),style:{width:g,height:g},"aria-label":m||`\uC544\uC774\uCF58\uC744 \uCC3E\uC744 \uC218 \uC5C6\uC74C: ${O}`,title:`Icon not found: ${O}`,children:jsxRuntime.jsx("span",{className:"text-xs text-muted-foreground","aria-hidden":"true",children:"?"})});let oe={size:typeof g=="number"?g:void 0,width:g,height:g,color:E};u==="phosphor"?oe.weight=d:oe.strokeWidth=T;let Ke=re({"animate-pulse":y,"animate-spin":I,"animate-bounce":v,"transition-all duration-200 ease-in-out":h}),F={};return m?(F["aria-label"]=m,F["aria-hidden"]=false):k!==void 0?F["aria-hidden"]=k:F["aria-hidden"]=true,jsxRuntime.jsx("span",{ref:a,className:t("inline-flex items-center justify-center",Ke,_,r),style:{width:g,height:g},...F,children:P&&N__default.default.createElement(P,{...oe,className:_,"aria-hidden":true})})});Me.displayName="Icon";var Wr=N__default.default.memo(Me,(e,o)=>e.name===o.name&&e.size===o.size&&e.className===o.className&&e.emotion===o.emotion&&e.status===o.status&&e.provider===o.provider&&e.animated===o.animated&&e.pulse===o.pulse&&e.spin===o.spin&&e.bounce===o.bounce&&e.variant===o.variant&&e.weight===o.weight&&e["aria-label"]===o["aria-label"]&&e["aria-hidden"]===o["aria-hidden"]),C=Wr;C.displayName="Icon";var De=N__default.default.forwardRef((e,o)=>jsxRuntime.jsx(C,{ref:o,name:"smile",...e}));De.displayName="EmotionIcon";var Oe=N__default.default.forwardRef((e,o)=>jsxRuntime.jsx(C,{ref:o,name:"info",...e}));Oe.displayName="StatusIcon";var Ae=N__default.default.forwardRef((e,o)=>jsxRuntime.jsx(C,{ref:o,name:"loader",status:"loading",spin:true,"aria-label":"\uB85C\uB529 \uC911",...e}));Ae.displayName="LoadingIcon";var Ee=N__default.default.forwardRef((e,o)=>jsxRuntime.jsx(C,{ref:o,name:"check",status:"success",variant:"success","aria-label":"\uC131\uACF5",...e}));Ee.displayName="SuccessIcon";var He=N__default.default.forwardRef((e,o)=>jsxRuntime.jsx(C,{ref:o,name:"alertCircle",status:"error",variant:"error","aria-label":"\uC624\uB958",...e}));He.displayName="ErrorIcon";var Be=N__default.default.forwardRef(({className:e,children:o,items:r,maxItems:n,showHomeIcon:i,homeLabel:c="Home",separator:s=jsxRuntime.jsx(C,{name:"chevronRight",className:"w-3 h-3 text-muted-foreground flex-shrink-0"}),variant:h="default",...y},I)=>{let v={default:"inline-flex items-center text-sm w-fit",subtle:"inline-flex items-center text-xs bg-background/40 backdrop-blur-md rounded-md px-3 py-2 border border-border/30 w-fit shadow-sm",transparent:"inline-flex items-center text-xs w-fit",glass:"inline-flex items-center text-xs bg-background/30 backdrop-blur-lg rounded-lg px-4 py-2 border border-border/25 w-fit shadow-lg"},m=(()=>{if(r){let a=[...r];if(n&&a.length>n){let l=a[0],u=a.slice(-(n-1));a=[l,{label:"...",href:void 0},...u];}return a.map((l,u)=>{let d=u===a.length-1&&!l.href;return jsxRuntime.jsxs(J,{href:l.href,isCurrent:d,children:[l.icon&&jsxRuntime.jsx(C,{name:l.icon,className:"w-4 h-4 mr-1"}),l.label]},u)})}return o?N__default.default.Children.map(o,(a,l)=>N__default.default.isValidElement(a)?jsxRuntime.jsxs("li",{className:"flex items-center",children:[a,l<N__default.default.Children.count(o)-1&&jsxRuntime.jsx("span",{className:"mx-3 text-muted-foreground flex items-center justify-center","aria-hidden":"true",children:s})]},l):a):null})(),k=r?r.length:o?N__default.default.Children.count(o):0;return jsxRuntime.jsx("nav",{ref:I,"aria-label":"Breadcrumb",className:t(v[h],e),...y,children:jsxRuntime.jsxs("ol",{className:"inline-flex items-center",children:[i&&jsxRuntime.jsxs("li",{className:"flex items-center",children:[jsxRuntime.jsxs(J,{href:"/",children:[jsxRuntime.jsx(C,{name:"home",className:"w-4 h-4 mr-1"}),c]}),k>0&&jsxRuntime.jsx("span",{className:"mx-3 text-muted-foreground flex items-center justify-center","aria-hidden":"true",children:s})]}),r?m==null?void 0:m.map((a,l)=>jsxRuntime.jsxs("li",{className:"flex items-center",children:[a,l<((m==null?void 0:m.length)||0)-1&&jsxRuntime.jsx("span",{className:"mx-3 text-muted-foreground flex items-center justify-center","aria-hidden":"true",children:s})]},l)):m]})})});Be.displayName="Breadcrumb";var J=N__default.default.forwardRef(({className:e,href:o,isCurrent:r=false,children:n,...i},c)=>r?jsxRuntime.jsx("span",{ref:c,"aria-current":"page",className:t("text-muted-foreground font-medium",e),...i,children:n}):o?jsxRuntime.jsx("a",{href:o,className:t("text-muted-foreground hover:text-foreground transition-colors",e),...i,children:n}):jsxRuntime.jsx("span",{ref:c,className:t("text-muted-foreground",e),...i,children:n}));J.displayName="BreadcrumbItem";var q=N__default.default.forwardRef(({className:e,currentPage:o,totalPages:r,onPageChange:n,showFirstLast:i=true,showPrevNext:c=true,maxVisiblePages:s=5,size:h="md",variant:y="default",shape:I="square",...v},f)=>{let m=()=>{let d=[],E=Math.floor(s/2),T=Math.max(1,o-E),R=Math.min(r,o+E);R-T+1<s&&(T===1?R=Math.min(r,T+s-1):T=Math.max(1,R-s+1)),T>1&&(d.push(1),T>2&&d.push("..."));for(let D=T;D<=R;D++)d.push(D);return R<r&&(R<r-1&&d.push("..."),d.push(r)),d},k=()=>{switch(h){case "sm":return "h-8 px-2 text-sm";case "lg":return "h-12 px-4 text-base";default:return "h-10 px-3 text-sm"}},a=()=>I==="circle"?"rounded-full aspect-square flex items-center justify-center":"rounded-md",l=(d=false)=>{switch(y){case "outlined":return t("border border-border",d?"bg-primary border-primary text-primary-foreground":"bg-background text-foreground hover:bg-muted");case "minimal":return t("border-0",d?"bg-primary/10 text-primary":"bg-transparent text-foreground hover:bg-muted");default:return t("border-0",d?"bg-primary text-primary-foreground":"bg-background text-foreground hover:bg-muted")}},u=d=>{d>=1&&d<=r&&d!==o&&n(d);},g=m();return jsxRuntime.jsxs("div",{ref:f,className:t("flex items-center justify-center gap-1",e),...v,children:[i&&o>1&&jsxRuntime.jsx("button",{onClick:()=>u(1),className:t("inline-flex items-center justify-center font-medium transition-colors focus-visible:outline-none focus-visible:ring-1 focus-visible:ring-offset-2 disabled:pointer-events-none disabled:opacity-50",k(),a(),l()),"aria-label":"\uCCAB \uD398\uC774\uC9C0\uB85C \uC774\uB3D9",children:jsxRuntime.jsx("svg",{className:"w-4 h-4",fill:"none",stroke:"currentColor",viewBox:"0 0 24 24",children:jsxRuntime.jsx("path",{strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:2,d:"M11 19l-7-7 7-7M19 19l-7-7 7-7"})})}),c&&o>1&&jsxRuntime.jsx("button",{onClick:()=>u(o-1),className:t("inline-flex items-center justify-center font-medium transition-colors focus-visible:outline-none focus-visible:ring-1 focus-visible:ring-offset-2 disabled:pointer-events-none disabled:opacity-50",k(),a(),l()),"aria-label":"\uC774\uC804 \uD398\uC774\uC9C0\uB85C \uC774\uB3D9",children:jsxRuntime.jsx("svg",{className:"w-4 h-4",fill:"none",stroke:"currentColor",viewBox:"0 0 24 24",children:jsxRuntime.jsx("path",{strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:2,d:"M15 19l-7-7 7-7"})})}),g.map((d,E)=>jsxRuntime.jsx(N__default.default.Fragment,{children:d==="..."?jsxRuntime.jsx("span",{className:t("inline-flex items-center justify-center px-3 py-2 text-sm font-medium text-muted-foreground",k()),children:"..."}):jsxRuntime.jsx("button",{onClick:()=>u(d),className:t("inline-flex items-center justify-center font-medium transition-colors focus-visible:outline-none focus-visible:ring-1 focus-visible:ring-offset-2 disabled:pointer-events-none disabled:opacity-50",k(),a(),l(d===o)),"aria-label":`${d}\uD398\uC774\uC9C0\uB85C \uC774\uB3D9`,"aria-current":d===o?"page":void 0,children:d})},E)),c&&o<r&&jsxRuntime.jsx("button",{onClick:()=>u(o+1),className:t("inline-flex items-center justify-center font-medium transition-colors focus-visible:outline-none focus-visible:ring-1 focus-visible:ring-offset-2 disabled:pointer-events-none disabled:opacity-50",k(),a(),l()),"aria-label":"\uB2E4\uC74C \uD398\uC774\uC9C0\uB85C \uC774\uB3D9",children:jsxRuntime.jsx("svg",{className:"w-4 h-4",fill:"none",stroke:"currentColor",viewBox:"0 0 24 24",children:jsxRuntime.jsx("path",{strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:2,d:"M9 5l7 7-7 7"})})}),i&&o<r&&jsxRuntime.jsx("button",{onClick:()=>u(r),className:t("inline-flex items-center justify-center font-medium transition-colors focus-visible:outline-none focus-visible:ring-1 focus-visible:ring-offset-2 disabled:pointer-events-none disabled:opacity-50",k(),a(),l()),"aria-label":"\uB9C8\uC9C0\uB9C9 \uD398\uC774\uC9C0\uB85C \uC774\uB3D9",children:jsxRuntime.jsx("svg",{className:"w-4 h-4",fill:"none",stroke:"currentColor",viewBox:"0 0 24 24",children:jsxRuntime.jsx("path",{strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:2,d:"M13 5l7 7-7 7M5 5l7 7-7 7"})})})]})});q.displayName="Pagination";var Ue=N__default.default.forwardRef(({className:e,...o},r)=>jsxRuntime.jsx(q,{ref:r,variant:"outlined",className:e,...o}));Ue.displayName="PaginationOutlined";var We=N__default.default.forwardRef(({className:e,...o},r)=>jsxRuntime.jsx(q,{ref:r,variant:"minimal",className:e,...o}));We.displayName="PaginationMinimal";var Ve=N__default.default.forwardRef(({totalItems:e=0,itemsPerPage:o=10,showInfo:r=true,className:n,...i},c)=>{let s=(i.currentPage-1)*o+1,h=Math.min(i.currentPage*o,e);return jsxRuntime.jsxs("div",{className:t("flex flex-col sm:flex-row items-center justify-between gap-4",n),children:[r&&jsxRuntime.jsx("div",{className:"text-sm text-foreground",children:e>0?jsxRuntime.jsxs(jsxRuntime.Fragment,{children:[jsxRuntime.jsx("span",{className:"font-medium",children:s})," - ",jsxRuntime.jsx("span",{className:"font-medium",children:h})," of ",jsxRuntime.jsx("span",{className:"font-medium",children:e})," results"]}):"No results"}),jsxRuntime.jsx(q,{ref:c,...i})]})});Ve.displayName="PaginationWithInfo";var Fe=N__default.default.forwardRef(({className:e,prevPage:o,nextPage:r,showOnMobile:n=false,...i},c)=>!o&&!r?null:jsxRuntime.jsxs("div",{ref:c,className:t("flex items-center justify-between py-4",!n&&"hidden md:flex",e),...i,children:[jsxRuntime.jsx("div",{className:"flex-1",children:o&&jsxRuntime.jsxs("a",{href:o.href,className:"group inline-flex items-center text-sm text-muted-foreground hover:text-foreground transition-colors",children:[jsxRuntime.jsx(C,{name:"chevronLeft",className:"w-4 h-4 mr-2 transition-transform group-hover:-translate-x-1"}),jsxRuntime.jsx("span",{className:"hidden sm:inline",children:o.title})]})}),jsxRuntime.jsx("div",{className:"flex-1 flex justify-end",children:r&&jsxRuntime.jsxs("a",{href:r.href,className:"group inline-flex items-center text-sm text-muted-foreground hover:text-foreground transition-colors",children:[jsxRuntime.jsx("span",{className:"hidden sm:inline mr-2",children:r.title}),jsxRuntime.jsx(C,{name:"chevronRight",className:"w-4 h-4 transition-transform group-hover:translate-x-1"})]})})]}));Fe.displayName="PageNavigation";function je({className:e,size:o="md",variant:r="default",text:n,color:i="default"}){let c={sm:"w-6 h-6",md:"w-8 h-8",lg:"w-12 h-12",xl:"w-16 h-16"},s={default:"border-muted-foreground/30 border-t-muted-foreground dark:border-muted-foreground/20 dark:border-t-muted-foreground/80",primary:"border-primary/30 border-t-primary dark:border-primary/20 dark:border-t-primary/80",secondary:"border-muted-foreground/30 border-t-muted-foreground dark:border-muted-foreground/20 dark:border-t-muted-foreground/80",success:"border-green-300 border-t-green-600 dark:border-green-500/50 dark:border-t-green-300",warning:"border-yellow-300 border-t-yellow-600 dark:border-yellow-500/50 dark:border-t-yellow-300",error:"border-red-300 border-t-red-600 dark:border-red-500/50 dark:border-t-red-300",glass:"border-white/50 border-t-white/90 dark:border-slate-400/60 dark:border-t-slate-100"},h=()=>{switch(r){case "dots":return jsxRuntime.jsxs(jsxRuntime.Fragment,{children:[jsxRuntime.jsx("style",{children:`
|
|
1
|
+
'use strict';var N=require('react'),clsx=require('clsx'),tailwindMerge=require('tailwind-merge'),jsxRuntime=require('react/jsx-runtime'),ssr=require('@phosphor-icons/react/dist/ssr');function _interopDefault(e){return e&&e.__esModule?e:{default:e}}var N__default=/*#__PURE__*/_interopDefault(N);function t(...e){return tailwindMerge.twMerge(clsx.clsx(e))}function re(e){let o=Object.entries(e).filter(([,r])=>r).map(([r])=>r);return t(...o)}var me=N__default.default.forwardRef(({className:e,value:o,defaultValue:r,onValueChange:n,variant:i="pills",scale:c="medium",children:s,...h},y)=>{let [I,v]=N__default.default.useState(o||r||""),f=o!==void 0,m=f?o:I;return N__default.default.useEffect(()=>{o!==void 0&&v(o);},[o]),jsxRuntime.jsx("div",{ref:y,className:t("w-full",e),...h,children:N__default.default.Children.map(s,a=>N__default.default.isValidElement(a)?N__default.default.cloneElement(a,{value:m,variant:i,scale:c}):a)})});me.displayName="Navigation";var te=N__default.default.forwardRef(({className:e,value:o,onValueChange:r,variant:n="pills",scale:i="medium",children:c,...s},h)=>{let y=()=>{switch(n){case "pills":return "bg-muted p-1 rounded-xl";case "underline":return "border-b border-border";case "cards":return "bg-muted/50 p-1 rounded-xl";default:return "bg-muted p-1 rounded-xl"}},I=()=>{switch(i){case "small":return "gap-1";case "large":return "gap-3";default:return "gap-2"}};return jsxRuntime.jsx("div",{ref:h,className:t("flex",y(),I(),e),...s,children:N__default.default.Children.map(c,v=>N__default.default.isValidElement(v)?N__default.default.cloneElement(v,{value:o,variant:n,scale:i}):v)})});te.displayName="NavigationList";var ne=N__default.default.forwardRef(({className:e,value:o,onValueChange:r,variant:n="pills",scale:i="medium",active:c=false,children:s,...h},y)=>{let I=()=>{switch(n){case "pills":return t("rounded-lg px-3 py-2 text-sm font-medium transition-all",c?"bg-background text-foreground shadow-sm":"text-muted-foreground hover:text-foreground");case "underline":return t("border-b-2 px-3 py-2 text-sm font-medium transition-all",c?"border-primary text-primary":"border-transparent text-muted-foreground hover:text-foreground");case "cards":return t("rounded-lg px-3 py-2 text-sm font-medium transition-all",c?"bg-background text-foreground shadow-sm border border-border":"text-muted-foreground hover:text-foreground");default:return t("rounded-lg px-3 py-2 text-sm font-medium transition-all",c?"bg-background text-foreground shadow-sm":"text-muted-foreground hover:text-foreground")}},v=()=>{switch(i){case "small":return "text-xs px-2 py-1";case "large":return "text-base px-4 py-3";default:return "text-sm px-3 py-2"}},f=()=>{r==null||r(o);};return jsxRuntime.jsx("button",{ref:y,className:t(I(),v(),"focus-visible:outline-none focus-visible:ring-1 focus-visible:ring-ring focus-visible:ring-offset-2",e),onClick:f,...h,children:s})});ne.displayName="NavigationItem";var ie=N__default.default.forwardRef(({className:e,active:o=false,...r},n)=>o?jsxRuntime.jsx("div",{ref:n,className:t("mt-4",e),...r}):null);ie.displayName="NavigationContent";var K=me;K.List=te;K.Item=ne;K.Content=ie;var ve={home:ssr.House,arrowLeft:ssr.ArrowLeft,arrowRight:ssr.ArrowRight,arrowUp:ssr.ArrowUp,arrowDown:ssr.ArrowDown,menu:ssr.List,close:ssr.X,search:ssr.MagnifyingGlass,settings:ssr.Gear,externalLink:ssr.ArrowSquareOut,chevronLeft:ssr.CaretLeft,chevronRight:ssr.CaretRight,chevronDown:ssr.CaretDown,chevronUp:ssr.CaretUp,edit:ssr.Pencil,delete:ssr.Trash,add:ssr.Plus,remove:ssr.Minus,download:ssr.Download,upload:ssr.Upload,refresh:ssr.ArrowClockwise,save:ssr.FloppyDisk,copy:ssr.Copy,loader:ssr.SpinnerGap,success:ssr.CheckCircle,error:ssr.XCircle,alertCircle:ssr.WarningCircle,warning:ssr.WarningCircle,info:ssr.Info,check:ssr.Check,circle:ssr.Circle,helpCircle:ssr.Question,user:ssr.User,users:ssr.Users,userPlus:ssr.UserPlus,logIn:ssr.SignIn,logOut:ssr.SignOut,eye:ssr.Eye,eyeOff:ssr.EyeSlash,chart:ssr.ChartBar,barChart:ssr.ChartBar,trendingUp:ssr.TrendUp,activity:ssr.Pulse,database:ssr.Database,zap:ssr.Lightning,fileText:ssr.FileText,file:ssr.File,folder:ssr.Folder,book:ssr.Book,bookOpen:ssr.BookOpen,mail:ssr.Envelope,message:ssr.ChatCircle,phone:ssr.Phone,image:ssr.Image,video:ssr.Video,camera:ssr.Camera,smile:ssr.Smiley,frown:ssr.SmileySad,meh:ssr.SmileyMeh,lock:ssr.Lock,unlock:ssr.LockOpen,shield:ssr.Shield,wallet:ssr.Wallet,key:ssr.Key,clock:ssr.Clock,calendar:ssr.Calendar,calendarPlus:ssr.CalendarPlus,bell:ssr.Bell,heart:ssr.Heart,star:ssr.Star,bookmark:ssr.Bookmark,share:ssr.Share,monitor:ssr.Monitor,sun:ssr.Sun,moon:ssr.Moon,lightbulb:ssr.Lightbulb,brain:ssr.Brain,flag:ssr.Flag,square:ssr.Square,sparkle:ssr.Sparkle,sparkles:ssr.Sparkle,globe:ssr.Globe,smartphone:ssr.DeviceMobile,deviceMobile:ssr.DeviceMobile,floppyDisk:ssr.FloppyDisk,ticket:ssr.Ticket,clipboard:ssr.Clipboard,wifi:ssr.WifiHigh,wifiOff:ssr.WifiSlash,cpu:ssr.Cpu,mask:ssr.MaskHappy,bold:ssr.TextB,italic:ssr.TextItalic,strikethrough:ssr.TextStrikethrough,heading:ssr.TextHOne,link:ssr.Link,code:ssr.Code,fileCode:ssr.FileCode,quote:ssr.Quotes,list:ssr.List,listOrdered:ssr.ListNumbers,minus:ssr.Minus},ke={happy:"smile",sad:"frown",neutral:"meh",excited:"smile",angry:"frown",love:"heart",like:"heart",dislike:"frown"},we={loading:"loader",success:"success",error:"error",warning:"warning",info:"info",locked:"lock",unlocked:"unlock",visible:"eye",hidden:"eyeOff"};function Ce(e){return !e||!/[-_]/.test(e)&&/^[a-z]/.test(e)?e:/^[A-Z]+$/.test(e)?e.toLowerCase():/^[A-Z]/.test(e)&&!/[-_]/.test(e)?e.charAt(0).toLowerCase()+e.slice(1):e.split(/[-_]/).map((o,r)=>r===0?o.toLowerCase():o.charAt(0).toUpperCase()+o.slice(1).toLowerCase()).join("")}var b=null,x=null;var Ie={home:{lucide:"Home",phosphor:"House",iconsax:"Home2"},"layout-dashboard":{lucide:"LayoutDashboard",phosphor:"SquaresFour"},folder:{lucide:"Folder",phosphor:"Folder",iconsax:"Folder"},"alert-circle":{lucide:"AlertCircle",phosphor:"WarningCircle",iconsax:"Danger"},alertCircle:{lucide:"AlertCircle",phosphor:"WarningCircle",iconsax:"Danger"},columns:{lucide:"Columns",phosphor:"Columns"},users:{lucide:"Users",phosphor:"Users",iconsax:"People"},settings:{lucide:"Settings",phosphor:"Gear"},menu:{lucide:"Menu",phosphor:"List",iconsax:"Menu"},close:{lucide:"X",phosphor:"X",iconsax:"CloseCircle"},chevronLeft:{lucide:"ChevronLeft",phosphor:"CaretLeft",iconsax:"ArrowLeft2"},chevronRight:{lucide:"ChevronRight",phosphor:"CaretRight",iconsax:"ArrowRight2"},chevronDown:{lucide:"ChevronDown",phosphor:"CaretDown",iconsax:"ArrowDown2"},chevronUp:{lucide:"ChevronUp",phosphor:"CaretUp",iconsax:"ArrowUp2"},arrowLeft:{lucide:"ArrowLeft",phosphor:"ArrowLeft",iconsax:"ArrowLeft"},arrowRight:{lucide:"ArrowRight",phosphor:"ArrowRight",iconsax:"ArrowRight"},arrowUp:{lucide:"ArrowUp",phosphor:"ArrowUp",iconsax:"ArrowUp"},arrowDown:{lucide:"ArrowDown",phosphor:"ArrowDown",iconsax:"ArrowDown"},add:{lucide:"Plus",phosphor:"Plus",iconsax:"Add"},edit:{lucide:"Edit",phosphor:"Pencil"},pencil:{lucide:"Pencil",phosphor:"Pencil"},delete:{lucide:"Trash2",phosphor:"Trash",iconsax:"Trash"},trash:{lucide:"Trash2",phosphor:"Trash",iconsax:"Trash"},upload:{lucide:"Upload",phosphor:"Upload",iconsax:"Upload"},download:{lucide:"Download",phosphor:"Download",iconsax:"Download"},x:{lucide:"X",phosphor:"X"},check:{lucide:"Check",phosphor:"Check",iconsax:"Check"},search:{lucide:"Search",phosphor:"MagnifyingGlass",iconsax:"SearchNormal"},share:{lucide:"Share",phosphor:"Share"},copy:{lucide:"Copy",phosphor:"Copy"},save:{lucide:"Save",phosphor:"FloppyDisk"},loader:{lucide:"Loader2",phosphor:"Spinner"},loader2:{lucide:"Loader2",phosphor:"Spinner"},"check-circle":{lucide:"CheckCircle",phosphor:"CheckCircle",iconsax:"TickCircle"},checkCircle:{lucide:"CheckCircle",phosphor:"CheckCircle",iconsax:"TickCircle"},success:{lucide:"CheckCircle",phosphor:"CheckCircle",iconsax:"TickCircle"},error:{lucide:"XCircle",phosphor:"XCircle",iconsax:"CloseCircle"},warning:{lucide:"AlertCircle",phosphor:"WarningCircle",iconsax:"Warning2"},info:{lucide:"Info",phosphor:"Info",iconsax:"InfoCircle"},refresh:{lucide:"RefreshCw",phosphor:"ArrowClockwise",iconsax:"Refresh"},refreshCw:{lucide:"RefreshCw",phosphor:"ArrowClockwise",iconsax:"Refresh"},bell:{lucide:"Bell",phosphor:"Bell",iconsax:"Bell"},heart:{lucide:"Heart",phosphor:"Heart",iconsax:"Heart"},star:{lucide:"Star",phosphor:"Star",iconsax:"Star"},bookmark:{lucide:"Bookmark",phosphor:"Bookmark"},user:{lucide:"User",phosphor:"User",iconsax:"User"},userPlus:{lucide:"UserPlus",phosphor:"UserPlus",iconsax:"UserAdd"},logIn:{lucide:"LogIn",phosphor:"SignIn",iconsax:"Login"},logOut:{lucide:"LogOut",phosphor:"SignOut",iconsax:"Logout"},chrome:{lucide:"Chrome",phosphor:"ChromeLogo",iconsax:"Chrome"},github:{lucide:"Github",phosphor:"GithubLogo"},message:{lucide:"MessageCircle",phosphor:"ChatCircle"},messageSquare:{lucide:"MessageSquare",phosphor:"ChatSquare"},"message-square":{lucide:"MessageSquare",phosphor:"ChatSquare"},inbox:{lucide:"Inbox",phosphor:"Inbox"},calendar:{lucide:"Calendar",phosphor:"Calendar"},calendarPlus:{lucide:"CalendarPlus",phosphor:"CalendarPlus"},checkSquare:{lucide:"CheckSquare",phosphor:"CheckSquare",iconsax:"TickSquare"},clock:{lucide:"Clock",phosphor:"Clock"},book:{lucide:"Book",phosphor:"Book",iconsax:"Book"},bookOpen:{lucide:"BookOpen",phosphor:"BookOpen",iconsax:"Book"},monitor:{lucide:"Monitor",phosphor:"Monitor",iconsax:"Monitor"},sun:{lucide:"Sun",phosphor:"Sun",iconsax:"Sun"},moon:{lucide:"Moon",phosphor:"Moon",iconsax:"Moon"},sparkle:{lucide:"Sparkle",phosphor:"Sparkle"},sparkles:{lucide:"Sparkles",phosphor:"Sparkle"},lightbulb:{lucide:"Lightbulb",phosphor:"Lightbulb"},brain:{lucide:"Brain",phosphor:"Brain"},zap:{lucide:"Zap",phosphor:"Lightning"},globe:{lucide:"Globe",phosphor:"Globe",iconsax:"Global"},deviceMobile:{lucide:"Smartphone",phosphor:"DeviceMobile"},smartphone:{lucide:"Smartphone",phosphor:"DeviceMobile"},floppyDisk:{lucide:"Save",phosphor:"FloppyDisk"},chart:{lucide:"BarChart3",phosphor:"ChartBar"},barChart:{lucide:"BarChart",phosphor:"ChartBar"},trendingUp:{lucide:"TrendingUp",phosphor:"TrendUp"},trendingDown:{lucide:"TrendingDown",phosphor:"TrendDown"},activity:{lucide:"Activity",phosphor:"Pulse"},database:{lucide:"Database",phosphor:"Database"},dollarSign:{lucide:"DollarSign",phosphor:"CurrencyDollar"},dollar:{lucide:"DollarSign",phosphor:"CurrencyDollar"},currency:{lucide:"DollarSign",phosphor:"CurrencyDollar"},layers:{lucide:"Layers",phosphor:"Stack"},ban:{lucide:"Ban",phosphor:"Prohibit"},lock:{lucide:"Lock",phosphor:"Lock",iconsax:"Lock"},unlock:{lucide:"Unlock",phosphor:"LockOpen",iconsax:"Unlock"},shield:{lucide:"Shield",phosphor:"Shield",iconsax:"Shield"},key:{lucide:"Key",phosphor:"Key"},play:{lucide:"Play",phosphor:"Play",iconsax:"Play"},pause:{lucide:"Pause",phosphor:"Pause",iconsax:"Pause"},image:{lucide:"Image",phosphor:"Image",iconsax:"Image"},video:{lucide:"Video",phosphor:"Video",iconsax:"Video"},camera:{lucide:"Camera",phosphor:"Camera",iconsax:"Camera"},fileText:{lucide:"FileText",phosphor:"FileText"},file:{lucide:"File",phosphor:"File"},externalLink:{lucide:"ExternalLink",phosphor:"ArrowSquareOut"},link:{lucide:"Link",phosphor:"Link",iconsax:"Link"},moreHorizontal:{lucide:"MoreHorizontal",phosphor:"DotsThreeOutline"},moreVertical:{lucide:"MoreVertical",phosphor:"DotsThreeVertical"},remove:{lucide:"Minus",phosphor:"Minus",iconsax:"Minus"},eye:{lucide:"Eye",phosphor:"Eye",iconsax:"Eye"},eyeOff:{lucide:"EyeOff",phosphor:"EyeSlash",iconsax:"EyeSlash"},smile:{lucide:"Smile",phosphor:"Smiley",iconsax:"EmojiHappy"},frown:{lucide:"Frown",phosphor:"SmileySad",iconsax:"EmojiSad"},meh:{lucide:"Meh",phosphor:"SmileyMeh",iconsax:"EmojiNormal"},mail:{lucide:"Mail",phosphor:"Envelope"},phone:{lucide:"Phone",phosphor:"Phone"},flag:{lucide:"Flag",phosphor:"Flag",iconsax:"Flag"},rocket:{lucide:"Rocket",phosphor:"Rocket",iconsax:"Rocket"},ticket:{lucide:"Ticket",phosphor:"Ticket",iconsax:"Ticket"},clipboard:{lucide:"ClipboardList",phosphor:"Clipboard",iconsax:"Sticker"},wifi:{lucide:"Wifi",phosphor:"WifiHigh",iconsax:"Wifi"},wifiOff:{lucide:"WifiOff",phosphor:"WifiSlash"},cpu:{lucide:"Cpu",phosphor:"Cpu",iconsax:"Computing"},mask:{lucide:"Drama",phosphor:"MaskHappy",iconsax:"EmojiHappy"},bold:{lucide:"Bold",phosphor:"TextB"},italic:{lucide:"Italic",phosphor:"TextItalic"},strikethrough:{lucide:"Strikethrough",phosphor:"TextStrikethrough"},heading:{lucide:"Heading",phosphor:"TextHOne"},code:{lucide:"Code",phosphor:"Code",iconsax:"Code"},fileCode:{lucide:"FileCode",phosphor:"FileCode"},quote:{lucide:"Quote",phosphor:"Quotes",iconsax:"QuoteUp"},list:{lucide:"List",phosphor:"List"},listOrdered:{lucide:"ListOrdered",phosphor:"ListNumbers"},minus:{lucide:"Minus",phosphor:"Minus",iconsax:"Minus"}};async function Ne(){if(typeof window=="undefined")return null;if(!b)try{b=await import('@phosphor-icons/react');}catch{return console.warn("Phosphor Icons not available. Install @phosphor-icons/react to use."),null}return b}async function Le(){if(typeof window=="undefined")return null;if(!x)try{x=await import('lucide-react');}catch{return console.warn("Lucide Icons not available. Install lucide-react to use lucide provider."),null}return x}function Q(e,o="phosphor"){let r=Ie[e];if(!r)return Ar(e,o);let n=r[o];switch(o){case "phosphor":return !n||!b?null:(b==null?void 0:b[n])||null;case "lucide":return !n||!x?null:(x==null?void 0:x[n])||null;case "iconsax":{return null;}default:return null}}function Ar(e,o){switch(o){case "phosphor":{if(!b)return null;let r=e.charAt(0).toUpperCase()+e.slice(1),n=e.split(/(?=[A-Z])/).map(i=>i.charAt(0).toUpperCase()+i.slice(1)).join("");return (b==null?void 0:b[r])||(b==null?void 0:b[n])||(b==null?void 0:b[e])||null}case "lucide":{if(!x)return null;let r=e.charAt(0).toUpperCase()+e.slice(1),n=e.replace(/([A-Z])/g,i=>i===e[0]?i.toLowerCase():i);return (x==null?void 0:x[r])||(x==null?void 0:x[e])||(x==null?void 0:x[n])||null}case "iconsax":{return null;}default:return null}}function Pe(e,o){let r=Ie[e];if(r){let n=r[o];if(n)return n}return e}var se={"arrow-left":"arrowLeft","arrow-right":"arrowRight","arrow-up":"arrowUp","arrow-down":"arrowDown","chevron-left":"chevronLeft","chevron-right":"chevronRight","chevron-up":"chevronUp","chevron-down":"chevronDown","external-link":"externalLink","more-horizontal":"moreHorizontal","more-vertical":"moreVertical","user-plus":"userPlus","log-in":"logIn","log-out":"logOut","check-circle":"checkCircle","check-square":"checkSquare","alert-circle":"alertCircle","eye-off":"eyeOff","file-text":"fileText","book-open":"bookOpen","bar-chart":"barChart","trending-up":"trendingUp","trending-down":"trendingDown","message-square":"messageSquare","calendar-plus":"calendarPlus","refresh-cw":"refreshCw","dollar-sign":"dollarSign","layout-dashboard":"layoutDashboard","device-mobile":"deviceMobile","floppy-disk":"floppyDisk",back:"arrowLeft",prev:"arrowLeft",previous:"arrowLeft",forward:"arrowRight",next:"arrowRight",close:"x",cancel:"x",remove:"delete",trash:"delete",plus:"add",new:"add",pencil:"edit",modify:"edit",store:"save",floppy:"save",magnify:"search",person:"user",account:"user",profile:"user",gear:"settings",config:"settings",preferences:"settings",house:"home",main:"home",done:"check",complete:"check",tick:"check",information:"info",help:"info",alert:"warning",caution:"warning",checkmark:"success",checkCircle:"success",fail:"error",cross:"error",xCircle:"error",spinner:"loader",loading:"loader",wait:"loader",reload:"refresh",update:"refresh",sync:"refresh",show:"eye",view:"eye",hide:"eyeOff",hidden:"eyeOff",secure:"lock",locked:"lock",unsecure:"unlock",unlocked:"unlock",get:"download",fetch:"download",post:"upload",send:"share",export:"share",duplicate:"copy",clone:"copy",email:"mail",envelope:"mail",chat:"message",comment:"message",talk:"message",date:"calendar",schedule:"calendar",time:"clock",watch:"clock",document:"fileText",doc:"fileText",text:"fileText",directory:"folder",dir:"folder",picture:"image",img:"image",movie:"video",film:"video",photo:"camera",capture:"camera",start:"play",run:"play",stop:"pause",halt:"pause",like:"heart",love:"heart",favorite:"star",saveBookmark:"bookmark",notification:"bell",notify:"bell",alarm:"bell",prefs:"settings",lookup:"search",dots:"moreHorizontal",moreMenu:"moreHorizontal",moreOptions:"moreVertical",external:"externalLink",outbound:"externalLink",open:"externalLink",url:"link",hyperlink:"link",graph:"barChart",stats:"barChart",analytics:"barChart",db:"database",storage:"database",pulse:"activity",monitor:"activity",up:"trendingUp",down:"trendingDown",lightning:"zap",bolt:"zap",flash:"zap",security:"shield",protect:"shield",password:"key",secret:"key",signin:"logIn",login:"logIn",enter:"logIn",signout:"logOut",logout:"logOut",exit:"logOut",people:"users",group:"users",team:"users",addUser:"userPlus",invite:"userPlus",read:"book",library:"book",reading:"bookOpen",openBook:"bookOpen",light:"sun",day:"sun",dark:"moon",night:"moon",screen:"monitor",display:"monitor",ai:"brain",intelligence:"brain",think:"brain",idea:"lightbulb",bulb:"lightbulb",inspiration:"lightbulb",magic:"sparkles",stars:"sparkles",glitter:"sparkles"};function Se(e){if(!e||typeof e!="string")return {normalized:e||"",wasAlias:false};let o=Ce(e),r=se[e]||se[o];return r?{normalized:r,wasAlias:true,originalAlias:e}:{normalized:o,wasAlias:false}}var Te={set:"lucide",weight:"regular",size:20,color:"currentColor",strokeWidth:1.25,iconsaxVariant:"line"};var Ur=N.createContext(Te);function Re(){return N.useContext(Ur)}var Me=N__default.default.forwardRef(({name:e,size:o,className:r,emotion:n,status:i,provider:c,weight:s,animated:h=false,pulse:y=false,spin:I=false,bounce:v=false,variant:f="default","aria-label":m,"aria-hidden":k},a)=>{var ue,de;let l=Re(),u=c||l.set,g=o!=null?o:l.size,d=s||l.weight,A=l.color,T=(ue=l.strokeWidth)!=null?ue:1.25,R=(de=l.iconsaxVariant)!=null?de:"line",[O,_e]=N__default.default.useState(false),[Ge,Y]=N__default.default.useState(false);N__default.default.useEffect(()=>{_e(true),u==="lucide"?Le().then(()=>Y(true)):u==="phosphor"?Ne().then(()=>Y(true)):Y(true);},[u]);let ee=N__default.default.useMemo(()=>{let $=n?ke[n]:i?we[i]:e,{normalized:pe}=Se($),Xe=Pe(pe,u);return {normalized:pe,providerName:Xe}},[e,n,i,u]),D=ee.normalized,$e=N__default.default.useMemo(()=>{return null},[u,ee.providerName,O,R]),G=re({"text-current":f==="default","text-primary":f==="primary","text-muted-foreground":f==="secondary"||f==="muted","text-green-600 dark:text-green-400":f==="success","text-yellow-600 dark:text-yellow-400":f==="warning","text-destructive":f==="error"});if(!O)return jsxRuntime.jsx("span",{style:{width:g,height:g},className:t(G,r),"aria-hidden":k!==void 0?k:true,"aria-label":m});let P=null;if(u==="phosphor"?(P=ve[D]||null,!P&&Ge&&(P=Q(D,u))):u==="iconsax"?(P=$e,P||(P=Q(D,u))):P=Q(D,u),!P)return u==="iconsax"&&true?process.env.NODE_ENV==="development"&&console.warn(`Icon "${D}" \u2014 iconsax resolver not registered. Use HuaProvider with icons.set='iconsax', or add: import '@hua-labs/ui/iconsax'`):console.warn(`Icon "${D}" not found for provider "${u}"`),jsxRuntime.jsx("span",{ref:a,className:t("inline-flex items-center justify-center rounded-full border-2 border-dashed border-border",G,r),style:{width:g,height:g},"aria-label":m||`\uC544\uC774\uCF58\uC744 \uCC3E\uC744 \uC218 \uC5C6\uC74C: ${D}`,title:`Icon not found: ${D}`,children:jsxRuntime.jsx("span",{className:"text-xs text-muted-foreground","aria-hidden":"true",children:"?"})});let oe={size:typeof g=="number"?g:void 0,width:g,height:g,color:A};u==="phosphor"?oe.weight=d:oe.strokeWidth=T;let Ke=re({"animate-pulse":y,"animate-spin":I,"animate-bounce":v,"transition-all duration-200 ease-in-out":h}),F={};return m?(F["aria-label"]=m,F["aria-hidden"]=false):k!==void 0?F["aria-hidden"]=k:F["aria-hidden"]=true,jsxRuntime.jsx("span",{ref:a,className:t("inline-flex items-center justify-center",Ke,G,r),style:{width:g,height:g},...F,children:P&&N__default.default.createElement(P,{...oe,className:G,"aria-hidden":true})})});Me.displayName="Icon";var Wr=N__default.default.memo(Me,(e,o)=>e.name===o.name&&e.size===o.size&&e.className===o.className&&e.emotion===o.emotion&&e.status===o.status&&e.provider===o.provider&&e.animated===o.animated&&e.pulse===o.pulse&&e.spin===o.spin&&e.bounce===o.bounce&&e.variant===o.variant&&e.weight===o.weight&&e["aria-label"]===o["aria-label"]&&e["aria-hidden"]===o["aria-hidden"]),C=Wr;C.displayName="Icon";var De=N__default.default.forwardRef((e,o)=>jsxRuntime.jsx(C,{ref:o,name:"smile",...e}));De.displayName="EmotionIcon";var Oe=N__default.default.forwardRef((e,o)=>jsxRuntime.jsx(C,{ref:o,name:"info",...e}));Oe.displayName="StatusIcon";var Ee=N__default.default.forwardRef((e,o)=>jsxRuntime.jsx(C,{ref:o,name:"loader",status:"loading",spin:true,"aria-label":"\uB85C\uB529 \uC911",...e}));Ee.displayName="LoadingIcon";var Ae=N__default.default.forwardRef((e,o)=>jsxRuntime.jsx(C,{ref:o,name:"check",status:"success",variant:"success","aria-label":"\uC131\uACF5",...e}));Ae.displayName="SuccessIcon";var He=N__default.default.forwardRef((e,o)=>jsxRuntime.jsx(C,{ref:o,name:"alertCircle",status:"error",variant:"error","aria-label":"\uC624\uB958",...e}));He.displayName="ErrorIcon";var Be=N__default.default.forwardRef(({className:e,children:o,items:r,maxItems:n,showHomeIcon:i,homeLabel:c="Home",separator:s=jsxRuntime.jsx(C,{name:"chevronRight",className:"w-3 h-3 text-muted-foreground flex-shrink-0"}),variant:h="default",...y},I)=>{let v={default:"inline-flex items-center text-sm w-fit",subtle:"inline-flex items-center text-xs bg-background/40 backdrop-blur-md rounded-md px-3 py-2 border border-border/30 w-fit shadow-sm",transparent:"inline-flex items-center text-xs w-fit",glass:"inline-flex items-center text-xs bg-background/30 backdrop-blur-lg rounded-lg px-4 py-2 border border-border/25 w-fit shadow-lg"},m=(()=>{if(r){let a=[...r];if(n&&a.length>n){let l=a[0],u=a.slice(-(n-1));a=[l,{label:"...",href:void 0},...u];}return a.map((l,u)=>{let d=u===a.length-1&&!l.href;return jsxRuntime.jsxs(J,{href:l.href,isCurrent:d,children:[l.icon&&jsxRuntime.jsx(C,{name:l.icon,className:"w-4 h-4 mr-1"}),l.label]},u)})}return o?N__default.default.Children.map(o,(a,l)=>N__default.default.isValidElement(a)?jsxRuntime.jsxs("li",{className:"flex items-center",children:[a,l<N__default.default.Children.count(o)-1&&jsxRuntime.jsx("span",{className:"mx-3 text-muted-foreground flex items-center justify-center","aria-hidden":"true",children:s})]},l):a):null})(),k=r?r.length:o?N__default.default.Children.count(o):0;return jsxRuntime.jsx("nav",{ref:I,"aria-label":"Breadcrumb",className:t(v[h],e),...y,children:jsxRuntime.jsxs("ol",{className:"inline-flex items-center",children:[i&&jsxRuntime.jsxs("li",{className:"flex items-center",children:[jsxRuntime.jsxs(J,{href:"/",children:[jsxRuntime.jsx(C,{name:"home",className:"w-4 h-4 mr-1"}),c]}),k>0&&jsxRuntime.jsx("span",{className:"mx-3 text-muted-foreground flex items-center justify-center","aria-hidden":"true",children:s})]}),r?m==null?void 0:m.map((a,l)=>jsxRuntime.jsxs("li",{className:"flex items-center",children:[a,l<((m==null?void 0:m.length)||0)-1&&jsxRuntime.jsx("span",{className:"mx-3 text-muted-foreground flex items-center justify-center","aria-hidden":"true",children:s})]},l)):m]})})});Be.displayName="Breadcrumb";var J=N__default.default.forwardRef(({className:e,href:o,isCurrent:r=false,children:n,...i},c)=>r?jsxRuntime.jsx("span",{ref:c,"aria-current":"page",className:t("text-muted-foreground font-medium",e),...i,children:n}):o?jsxRuntime.jsx("a",{href:o,className:t("text-muted-foreground hover:text-foreground transition-colors",e),...i,children:n}):jsxRuntime.jsx("span",{ref:c,className:t("text-muted-foreground",e),...i,children:n}));J.displayName="BreadcrumbItem";var q=N__default.default.forwardRef(({className:e,currentPage:o,totalPages:r,onPageChange:n,showFirstLast:i=true,showPrevNext:c=true,maxVisiblePages:s=5,size:h="md",variant:y="default",shape:I="square",...v},f)=>{let m=()=>{let d=[],A=Math.floor(s/2),T=Math.max(1,o-A),R=Math.min(r,o+A);R-T+1<s&&(T===1?R=Math.min(r,T+s-1):T=Math.max(1,R-s+1)),T>1&&(d.push(1),T>2&&d.push("..."));for(let O=T;O<=R;O++)d.push(O);return R<r&&(R<r-1&&d.push("..."),d.push(r)),d},k=()=>{switch(h){case "sm":return "h-8 px-2 text-sm";case "lg":return "h-12 px-4 text-base";default:return "h-10 px-3 text-sm"}},a=()=>I==="circle"?"rounded-full aspect-square flex items-center justify-center":"rounded-md",l=(d=false)=>{switch(y){case "outlined":return t("border border-border",d?"bg-primary border-primary text-primary-foreground":"bg-background text-foreground hover:bg-muted");case "minimal":return t("border-0",d?"bg-primary/10 text-primary":"bg-transparent text-foreground hover:bg-muted");default:return t("border-0",d?"bg-primary text-primary-foreground":"bg-background text-foreground hover:bg-muted")}},u=d=>{d>=1&&d<=r&&d!==o&&n(d);},g=m();return jsxRuntime.jsxs("div",{ref:f,className:t("flex items-center justify-center gap-1",e),...v,children:[i&&o>1&&jsxRuntime.jsx("button",{onClick:()=>u(1),className:t("inline-flex items-center justify-center font-medium transition-colors focus-visible:outline-none focus-visible:ring-1 focus-visible:ring-offset-2 disabled:pointer-events-none disabled:opacity-50",k(),a(),l()),"aria-label":"\uCCAB \uD398\uC774\uC9C0\uB85C \uC774\uB3D9",children:jsxRuntime.jsx("svg",{className:"w-4 h-4",fill:"none",stroke:"currentColor",viewBox:"0 0 24 24",children:jsxRuntime.jsx("path",{strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:2,d:"M11 19l-7-7 7-7M19 19l-7-7 7-7"})})}),c&&o>1&&jsxRuntime.jsx("button",{onClick:()=>u(o-1),className:t("inline-flex items-center justify-center font-medium transition-colors focus-visible:outline-none focus-visible:ring-1 focus-visible:ring-offset-2 disabled:pointer-events-none disabled:opacity-50",k(),a(),l()),"aria-label":"\uC774\uC804 \uD398\uC774\uC9C0\uB85C \uC774\uB3D9",children:jsxRuntime.jsx("svg",{className:"w-4 h-4",fill:"none",stroke:"currentColor",viewBox:"0 0 24 24",children:jsxRuntime.jsx("path",{strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:2,d:"M15 19l-7-7 7-7"})})}),g.map((d,A)=>jsxRuntime.jsx(N__default.default.Fragment,{children:d==="..."?jsxRuntime.jsx("span",{className:t("inline-flex items-center justify-center px-3 py-2 text-sm font-medium text-muted-foreground",k()),children:"..."}):jsxRuntime.jsx("button",{onClick:()=>u(d),className:t("inline-flex items-center justify-center font-medium transition-colors focus-visible:outline-none focus-visible:ring-1 focus-visible:ring-offset-2 disabled:pointer-events-none disabled:opacity-50",k(),a(),l(d===o)),"aria-label":`${d}\uD398\uC774\uC9C0\uB85C \uC774\uB3D9`,"aria-current":d===o?"page":void 0,children:d})},A)),c&&o<r&&jsxRuntime.jsx("button",{onClick:()=>u(o+1),className:t("inline-flex items-center justify-center font-medium transition-colors focus-visible:outline-none focus-visible:ring-1 focus-visible:ring-offset-2 disabled:pointer-events-none disabled:opacity-50",k(),a(),l()),"aria-label":"\uB2E4\uC74C \uD398\uC774\uC9C0\uB85C \uC774\uB3D9",children:jsxRuntime.jsx("svg",{className:"w-4 h-4",fill:"none",stroke:"currentColor",viewBox:"0 0 24 24",children:jsxRuntime.jsx("path",{strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:2,d:"M9 5l7 7-7 7"})})}),i&&o<r&&jsxRuntime.jsx("button",{onClick:()=>u(r),className:t("inline-flex items-center justify-center font-medium transition-colors focus-visible:outline-none focus-visible:ring-1 focus-visible:ring-offset-2 disabled:pointer-events-none disabled:opacity-50",k(),a(),l()),"aria-label":"\uB9C8\uC9C0\uB9C9 \uD398\uC774\uC9C0\uB85C \uC774\uB3D9",children:jsxRuntime.jsx("svg",{className:"w-4 h-4",fill:"none",stroke:"currentColor",viewBox:"0 0 24 24",children:jsxRuntime.jsx("path",{strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:2,d:"M13 5l7 7-7 7M5 5l7 7-7 7"})})})]})});q.displayName="Pagination";var Ue=N__default.default.forwardRef(({className:e,...o},r)=>jsxRuntime.jsx(q,{ref:r,variant:"outlined",className:e,...o}));Ue.displayName="PaginationOutlined";var We=N__default.default.forwardRef(({className:e,...o},r)=>jsxRuntime.jsx(q,{ref:r,variant:"minimal",className:e,...o}));We.displayName="PaginationMinimal";var Ve=N__default.default.forwardRef(({totalItems:e=0,itemsPerPage:o=10,showInfo:r=true,className:n,...i},c)=>{let s=(i.currentPage-1)*o+1,h=Math.min(i.currentPage*o,e);return jsxRuntime.jsxs("div",{className:t("flex flex-col sm:flex-row items-center justify-between gap-4",n),children:[r&&jsxRuntime.jsx("div",{className:"text-sm text-foreground",children:e>0?jsxRuntime.jsxs(jsxRuntime.Fragment,{children:[jsxRuntime.jsx("span",{className:"font-medium",children:s})," - ",jsxRuntime.jsx("span",{className:"font-medium",children:h})," of ",jsxRuntime.jsx("span",{className:"font-medium",children:e})," results"]}):"No results"}),jsxRuntime.jsx(q,{ref:c,...i})]})});Ve.displayName="PaginationWithInfo";var Fe=N__default.default.forwardRef(({className:e,prevPage:o,nextPage:r,showOnMobile:n=false,...i},c)=>!o&&!r?null:jsxRuntime.jsxs("div",{ref:c,className:t("flex items-center justify-between py-4",!n&&"hidden md:flex",e),...i,children:[jsxRuntime.jsx("div",{className:"flex-1",children:o&&jsxRuntime.jsxs("a",{href:o.href,className:"group inline-flex items-center text-sm text-muted-foreground hover:text-foreground transition-colors",children:[jsxRuntime.jsx(C,{name:"chevronLeft",className:"w-4 h-4 mr-2 transition-transform group-hover:-translate-x-1"}),jsxRuntime.jsx("span",{className:"hidden sm:inline",children:o.title})]})}),jsxRuntime.jsx("div",{className:"flex-1 flex justify-end",children:r&&jsxRuntime.jsxs("a",{href:r.href,className:"group inline-flex items-center text-sm text-muted-foreground hover:text-foreground transition-colors",children:[jsxRuntime.jsx("span",{className:"hidden sm:inline mr-2",children:r.title}),jsxRuntime.jsx(C,{name:"chevronRight",className:"w-4 h-4 transition-transform group-hover:translate-x-1"})]})})]}));Fe.displayName="PageNavigation";function je({className:e,size:o="md",variant:r="default",text:n,color:i="default"}){let c={sm:"w-6 h-6",md:"w-8 h-8",lg:"w-12 h-12",xl:"w-16 h-16"},s={default:"border-muted-foreground/30 border-t-muted-foreground dark:border-muted-foreground/20 dark:border-t-muted-foreground/80",primary:"border-primary/30 border-t-primary dark:border-primary/20 dark:border-t-primary/80",secondary:"border-muted-foreground/30 border-t-muted-foreground dark:border-muted-foreground/20 dark:border-t-muted-foreground/80",success:"border-green-300 border-t-green-600 dark:border-green-500/50 dark:border-t-green-300",warning:"border-yellow-300 border-t-yellow-600 dark:border-yellow-500/50 dark:border-t-yellow-300",error:"border-red-300 border-t-red-600 dark:border-red-500/50 dark:border-t-red-300",glass:"border-white/50 border-t-white/90 dark:border-slate-400/60 dark:border-t-slate-100"},h=()=>{switch(r){case "dots":return jsxRuntime.jsxs(jsxRuntime.Fragment,{children:[jsxRuntime.jsx("style",{children:`
|
|
2
2
|
@keyframes dotPulse {
|
|
3
3
|
0%, 80%, 100% { opacity: 0.3; }
|
|
4
4
|
40% { opacity: 1; }
|
|
@@ -8,5 +8,5 @@
|
|
|
8
8
|
0%, 40%, 100% { transform: scaleY(0.4); }
|
|
9
9
|
20% { transform: scaleY(1); }
|
|
10
10
|
}
|
|
11
|
-
`}),jsxRuntime.jsxs("div",{className:"flex space-x-0.5 h-full items-center",children:[jsxRuntime.jsx("div",{className:"w-1 h-full bg-current rounded-sm origin-bottom",style:{animation:"barWave 1.2s ease-in-out infinite",animationDelay:"0ms"}}),jsxRuntime.jsx("div",{className:"w-1 h-full bg-current rounded-sm origin-bottom",style:{animation:"barWave 1.2s ease-in-out infinite",animationDelay:"100ms"}}),jsxRuntime.jsx("div",{className:"w-1 h-full bg-current rounded-sm origin-bottom",style:{animation:"barWave 1.2s ease-in-out infinite",animationDelay:"200ms"}}),jsxRuntime.jsx("div",{className:"w-1 h-full bg-current rounded-sm origin-bottom",style:{animation:"barWave 1.2s ease-in-out infinite",animationDelay:"300ms"}}),jsxRuntime.jsx("div",{className:"w-1 h-full bg-current rounded-sm origin-bottom",style:{animation:"barWave 1.2s ease-in-out infinite",animationDelay:"400ms"}})]})]});case "ring":return jsxRuntime.jsx("div",{className:t("w-full h-full animate-spin rounded-full",o==="xl"?"border-[3px]":o==="lg"?"border-[2.5px]":"border-2",s[i]||s.default)});case "ripple":return jsxRuntime.jsxs("div",{className:"relative w-full h-full",children:[jsxRuntime.jsx("div",{className:t("absolute inset-0 rounded-full border-2 animate-ping",s[i]||s.default)}),jsxRuntime.jsx("div",{className:t("w-full h-full rounded-full border-2",s[i]||s.default)})]});default:return jsxRuntime.jsx("div",{className:t("w-full h-full animate-spin rounded-full",o==="xl"?"border-[3px]":o==="lg"?"border-[2.5px]":"border-2",s[i]||s.default)})}};return jsxRuntime.jsxs("div",{className:t("flex flex-col items-center justify-center",e),children:[jsxRuntime.jsx("div",{className:t(c[o],"text-muted-foreground"),children:h()}),n&&jsxRuntime.jsx("p",{className:"mt-3 text-sm text-muted-foreground text-center",children:n})]})}var V=N__default.default.forwardRef(({children:e,className:o,duration:r=300,variant:n="fade",loadingVariant:i="ripple",loadingText:c="\uD398\uC774\uC9C0 \uB85C\uB529 \uC911...",showLoading:s=true,onTransitionStart:h,onTransitionEnd:y},I)=>{let[v,f]=N.useState(true),[m,k]=N.useState(false);N.useEffect(()=>{let l=setTimeout(()=>{f(false),k(true),y==null||y();},r);return h==null||h(),()=>clearTimeout(l)},[r,h,y]);let a={fade:t("transition-opacity duration-300 ease-in-out",m?"opacity-100":"opacity-0"),slide:t("transition-transform duration-300 ease-in-out",m?"translate-x-0":"translate-x-full"),scale:t("transition-all duration-300 ease-in-out",m?"scale-100 opacity-100":"scale-95 opacity-0"),flip:t("transition-all duration-500 ease-in-out",m?"rotate-y-0 opacity-100":"rotate-y-90 opacity-0")};return v&&s?jsxRuntime.jsx("div",{className:t("flex flex-col items-center justify-center min-h-screen bg-gradient-to-br from-indigo-50 to-purple-50 dark:from-slate-900 dark:to-slate-800",o),children:jsxRuntime.jsx(je,{size:"lg",variant:i,text:c})}):jsxRuntime.jsx("div",{ref:I,className:t("w-full",a[n],o),style:{transitionDuration:`${r}ms`},children:e})});V.displayName="PageTransition";var jr=N__default.default.forwardRef((e,o)=>jsxRuntime.jsx(V,{ref:o,variant:"fade",...e})),qr=N__default.default.forwardRef((e,o)=>jsxRuntime.jsx(V,{ref:o,variant:"slide",...e})),
|
|
11
|
+
`}),jsxRuntime.jsxs("div",{className:"flex space-x-0.5 h-full items-center",children:[jsxRuntime.jsx("div",{className:"w-1 h-full bg-current rounded-sm origin-bottom",style:{animation:"barWave 1.2s ease-in-out infinite",animationDelay:"0ms"}}),jsxRuntime.jsx("div",{className:"w-1 h-full bg-current rounded-sm origin-bottom",style:{animation:"barWave 1.2s ease-in-out infinite",animationDelay:"100ms"}}),jsxRuntime.jsx("div",{className:"w-1 h-full bg-current rounded-sm origin-bottom",style:{animation:"barWave 1.2s ease-in-out infinite",animationDelay:"200ms"}}),jsxRuntime.jsx("div",{className:"w-1 h-full bg-current rounded-sm origin-bottom",style:{animation:"barWave 1.2s ease-in-out infinite",animationDelay:"300ms"}}),jsxRuntime.jsx("div",{className:"w-1 h-full bg-current rounded-sm origin-bottom",style:{animation:"barWave 1.2s ease-in-out infinite",animationDelay:"400ms"}})]})]});case "ring":return jsxRuntime.jsx("div",{className:t("w-full h-full animate-spin rounded-full",o==="xl"?"border-[3px]":o==="lg"?"border-[2.5px]":"border-2",s[i]||s.default)});case "ripple":return jsxRuntime.jsxs("div",{className:"relative w-full h-full",children:[jsxRuntime.jsx("div",{className:t("absolute inset-0 rounded-full border-2 animate-ping",s[i]||s.default)}),jsxRuntime.jsx("div",{className:t("w-full h-full rounded-full border-2",s[i]||s.default)})]});default:return jsxRuntime.jsx("div",{className:t("w-full h-full animate-spin rounded-full",o==="xl"?"border-[3px]":o==="lg"?"border-[2.5px]":"border-2",s[i]||s.default)})}};return jsxRuntime.jsxs("div",{className:t("flex flex-col items-center justify-center",e),children:[jsxRuntime.jsx("div",{className:t(c[o],"text-muted-foreground"),children:h()}),n&&jsxRuntime.jsx("p",{className:"mt-3 text-sm text-muted-foreground text-center",children:n})]})}var V=N__default.default.forwardRef(({children:e,className:o,duration:r=300,variant:n="fade",loadingVariant:i="ripple",loadingText:c="\uD398\uC774\uC9C0 \uB85C\uB529 \uC911...",showLoading:s=true,onTransitionStart:h,onTransitionEnd:y},I)=>{let[v,f]=N.useState(true),[m,k]=N.useState(false);N.useEffect(()=>{let l=setTimeout(()=>{f(false),k(true),y==null||y();},r);return h==null||h(),()=>clearTimeout(l)},[r,h,y]);let a={fade:t("transition-opacity duration-300 ease-in-out",m?"opacity-100":"opacity-0"),slide:t("transition-transform duration-300 ease-in-out",m?"translate-x-0":"translate-x-full"),scale:t("transition-all duration-300 ease-in-out",m?"scale-100 opacity-100":"scale-95 opacity-0"),flip:t("transition-all duration-500 ease-in-out",m?"rotate-y-0 opacity-100":"rotate-y-90 opacity-0")};return v&&s?jsxRuntime.jsx("div",{className:t("flex flex-col items-center justify-center min-h-screen bg-gradient-to-br from-indigo-50 to-purple-50 dark:from-slate-900 dark:to-slate-800",o),children:jsxRuntime.jsx(je,{size:"lg",variant:i,text:c})}):jsxRuntime.jsx("div",{ref:I,className:t("w-full",a[n],o),style:{transitionDuration:`${r}ms`},children:e})});V.displayName="PageTransition";var jr=N__default.default.forwardRef((e,o)=>jsxRuntime.jsx(V,{ref:o,variant:"fade",...e})),qr=N__default.default.forwardRef((e,o)=>jsxRuntime.jsx(V,{ref:o,variant:"slide",...e})),_r=N__default.default.forwardRef((e,o)=>jsxRuntime.jsx(V,{ref:o,variant:"scale",...e})),Gr=N__default.default.forwardRef((e,o)=>jsxRuntime.jsx(V,{ref:o,variant:"flip",...e}));jr.displayName="FadeTransition";qr.displayName="SlideTransition";_r.displayName="ScaleTransition";Gr.displayName="FlipTransition";exports.Breadcrumb=Be;exports.BreadcrumbItem=J;exports.Navigation=K;exports.NavigationContent=ie;exports.NavigationItem=ne;exports.NavigationList=te;exports.PageNavigation=Fe;exports.PageTransition=V;exports.Pagination=q;exports.PaginationMinimal=We;exports.PaginationOutlined=Ue;exports.PaginationWithInfo=Ve;//# sourceMappingURL=navigation.js.map
|
|
12
12
|
//# sourceMappingURL=navigation.js.map
|