@hua-labs/ui 2.0.2 → 2.1.1
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 +34 -161
- package/dist/{ComponentLayout-btJq4TjA.d.mts → ComponentLayout-DrZpz0yv.d.mts} +1 -1
- package/dist/Section-BWzyshgX.d.mts +67 -0
- package/dist/advanced/dashboard.d.ts.map +1 -1
- package/dist/advanced-dashboard.d.mts +1 -1
- package/dist/advanced-dashboard.js +4 -4
- package/dist/advanced-dashboard.js.map +1 -1
- package/dist/advanced-dashboard.mjs +3 -3
- package/dist/advanced-dashboard.mjs.map +1 -1
- package/dist/advanced-emotion.mjs +1 -1
- package/dist/advanced-motion.d.mts +65 -1
- package/dist/advanced-motion.js +14 -14
- package/dist/advanced-motion.js.map +1 -1
- package/dist/advanced-motion.mjs +1 -1
- package/dist/advanced.d.mts +4 -4
- package/dist/advanced.js +16 -16
- package/dist/advanced.js.map +1 -1
- package/dist/advanced.mjs +3 -3
- package/dist/advanced.mjs.map +1 -1
- package/dist/chunk-3CCF7U3P.mjs +3 -0
- package/dist/{chunk-IFSEJVOR.mjs.map → chunk-3CCF7U3P.mjs.map} +1 -1
- package/dist/chunk-3GAUTZXQ.mjs +3 -0
- package/dist/{chunk-X7ZIWYRC.mjs.map → chunk-3GAUTZXQ.mjs.map} +1 -1
- package/dist/chunk-42RGFEL2.mjs +3 -0
- package/dist/chunk-42RGFEL2.mjs.map +1 -0
- package/dist/chunk-4NJE7D6X.mjs +3 -0
- package/dist/chunk-4NJE7D6X.mjs.map +1 -0
- package/dist/chunk-6HVJFEDA.mjs +3 -0
- package/dist/{chunk-FSL373O6.mjs.map → chunk-6HVJFEDA.mjs.map} +1 -1
- package/dist/chunk-7OYT3QSY.mjs +3 -0
- package/dist/chunk-7OYT3QSY.mjs.map +1 -0
- package/dist/chunk-ANYZ56VB.mjs +3 -0
- package/dist/{chunk-QQCELXFD.mjs.map → chunk-ANYZ56VB.mjs.map} +1 -1
- package/dist/chunk-AOSXB5JJ.mjs +4 -0
- package/dist/{chunk-GLZKT7JN.mjs.map → chunk-AOSXB5JJ.mjs.map} +1 -1
- package/dist/chunk-B544MRF7.mjs +3 -0
- package/dist/{chunk-SDFHJ4GB.mjs.map → chunk-B544MRF7.mjs.map} +1 -1
- package/dist/chunk-CVWWS25A.mjs +3 -0
- package/dist/chunk-CVWWS25A.mjs.map +1 -0
- package/dist/chunk-DYNBM24D.mjs +3 -0
- package/dist/{chunk-OSCMSA2Q.mjs.map → chunk-DYNBM24D.mjs.map} +1 -1
- package/dist/{chunk-NBJUE7NR.mjs → chunk-FX57OSYG.mjs} +2 -2
- package/dist/{chunk-NBJUE7NR.mjs.map → chunk-FX57OSYG.mjs.map} +1 -1
- package/dist/chunk-IJSYSNM5.mjs +3 -0
- package/dist/{chunk-IN7RWQCJ.mjs.map → chunk-IJSYSNM5.mjs.map} +1 -1
- package/dist/chunk-KJZGOL2Z.mjs +3 -0
- package/dist/{chunk-LOYAJIWO.mjs.map → chunk-KJZGOL2Z.mjs.map} +1 -1
- package/dist/chunk-KYRIUUQP.mjs +3 -0
- package/dist/{chunk-PAEKNQWW.mjs.map → chunk-KYRIUUQP.mjs.map} +1 -1
- package/dist/chunk-LSA7DU3N.mjs +73 -0
- package/dist/chunk-LSA7DU3N.mjs.map +1 -0
- package/dist/chunk-MDLCJASB.mjs +3 -0
- package/dist/{chunk-LH77I6HO.mjs.map → chunk-MDLCJASB.mjs.map} +1 -1
- package/dist/chunk-N56BUOCD.mjs +3 -0
- package/dist/{chunk-XV3Y7QVU.mjs.map → chunk-N56BUOCD.mjs.map} +1 -1
- package/dist/chunk-OFYITQXI.mjs +13 -0
- package/dist/chunk-OFYITQXI.mjs.map +1 -0
- package/dist/chunk-OZNST3EZ.mjs +3 -0
- package/dist/{chunk-SGEP3CQE.mjs.map → chunk-OZNST3EZ.mjs.map} +1 -1
- package/dist/chunk-RS6RKW5U.mjs +13 -0
- package/dist/{chunk-6KTHJ3EL.mjs.map → chunk-RS6RKW5U.mjs.map} +1 -1
- package/dist/{chunk-C4OACMTB.mjs → chunk-TXBZZJNR.mjs} +2 -2
- package/dist/{chunk-C4OACMTB.mjs.map → chunk-TXBZZJNR.mjs.map} +1 -1
- package/dist/chunk-TZ4YSHMC.mjs +3 -0
- package/dist/{chunk-UWHCM3S6.mjs.map → chunk-TZ4YSHMC.mjs.map} +1 -1
- package/dist/chunk-U6CTBZ2U.mjs +3 -0
- package/dist/chunk-U6CTBZ2U.mjs.map +1 -0
- package/dist/{chunk-5BMH7223.mjs → chunk-WP7VFE77.mjs} +2 -2
- package/dist/{chunk-5BMH7223.mjs.map → chunk-WP7VFE77.mjs.map} +1 -1
- package/dist/{chunk-FFH4ZFKS.mjs → chunk-XCZMLKPK.mjs} +2 -2
- package/dist/{chunk-FFH4ZFKS.mjs.map → chunk-XCZMLKPK.mjs.map} +1 -1
- package/dist/chunk-XGHT7WMO.mjs +3 -0
- package/dist/chunk-XGHT7WMO.mjs.map +1 -0
- package/dist/chunk-XL4KTJ4L.mjs +3 -0
- package/dist/{chunk-VWSBJUNI.mjs.map → chunk-XL4KTJ4L.mjs.map} +1 -1
- package/dist/chunk-Z74YUUVT.mjs +3 -0
- package/dist/chunk-Z74YUUVT.mjs.map +1 -0
- package/dist/chunk-ZXZIHU7J.mjs +8 -0
- package/dist/{chunk-N7M6RIN4.mjs.map → chunk-ZXZIHU7J.mjs.map} +1 -1
- package/dist/components/DatePicker.d.ts.map +1 -1
- package/dist/components/Modal.d.ts.map +1 -1
- package/dist/components/Popover.d.ts +2 -0
- package/dist/components/Popover.d.ts.map +1 -1
- package/dist/components/Progress.d.ts +1 -0
- package/dist/components/Progress.d.ts.map +1 -1
- package/dist/components/Section.d.ts +44 -0
- package/dist/components/Section.d.ts.map +1 -0
- package/dist/components/advanced/AnimatedGradient.d.ts.map +1 -1
- package/dist/components/advanced/DotNav.d.ts +26 -0
- package/dist/components/advanced/DotNav.d.ts.map +1 -0
- package/dist/components/advanced/HorizontalScroll.d.ts +20 -0
- package/dist/components/advanced/HorizontalScroll.d.ts.map +1 -0
- package/dist/components/advanced/ImageReveal.d.ts +24 -0
- package/dist/components/advanced/ImageReveal.d.ts.map +1 -0
- package/dist/components/advanced/index.d.ts +6 -0
- package/dist/components/advanced/index.d.ts.map +1 -1
- package/dist/data.mjs +2 -2
- package/dist/data.mjs.map +1 -1
- package/dist/feedback.mjs +1 -1
- package/dist/form.js +3 -3
- package/dist/form.js.map +1 -1
- package/dist/form.mjs +4 -4
- package/dist/form.mjs.map +1 -1
- package/dist/{icons-Bj_nr8Ba.d.mts → icons-DmhQEH_E.d.mts} +6 -1
- package/dist/index.d.mts +9 -27
- package/dist/index.d.ts +4 -0
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +6 -6
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +2 -2
- package/dist/index.mjs.map +1 -1
- package/dist/interactive.js +1 -1
- package/dist/interactive.js.map +1 -1
- package/dist/interactive.mjs +1 -1
- package/dist/interactive.mjs.map +1 -1
- package/dist/landing/LandingAbout.d.ts +3 -0
- package/dist/landing/LandingAbout.d.ts.map +1 -0
- package/dist/landing/LandingCTA.d.ts +3 -0
- package/dist/landing/LandingCTA.d.ts.map +1 -0
- package/dist/landing/LandingContact.d.ts +3 -0
- package/dist/landing/LandingContact.d.ts.map +1 -0
- package/dist/landing/LandingExperience.d.ts +3 -0
- package/dist/landing/LandingExperience.d.ts.map +1 -0
- package/dist/landing/LandingFeatures.d.ts +3 -0
- package/dist/landing/LandingFeatures.d.ts.map +1 -0
- package/dist/landing/LandingHero.d.ts +3 -0
- package/dist/landing/LandingHero.d.ts.map +1 -0
- package/dist/landing/LandingLogoCloud.d.ts +3 -0
- package/dist/landing/LandingLogoCloud.d.ts.map +1 -0
- package/dist/landing/LandingMetrics.d.ts +3 -0
- package/dist/landing/LandingMetrics.d.ts.map +1 -0
- package/dist/landing/LandingProjects.d.ts +3 -0
- package/dist/landing/LandingProjects.d.ts.map +1 -0
- package/dist/landing/LandingProvider.d.ts +4 -0
- package/dist/landing/LandingProvider.d.ts.map +1 -0
- package/dist/landing/LandingShowcase.d.ts +3 -0
- package/dist/landing/LandingShowcase.d.ts.map +1 -0
- package/dist/landing/LandingSkills.d.ts +3 -0
- package/dist/landing/LandingSkills.d.ts.map +1 -0
- package/dist/landing/LandingStats.d.ts +3 -0
- package/dist/landing/LandingStats.d.ts.map +1 -0
- package/dist/landing/LandingTestimonials.d.ts +3 -0
- package/dist/landing/LandingTestimonials.d.ts.map +1 -0
- package/dist/landing/index.d.ts +47 -0
- package/dist/landing/index.d.ts.map +1 -0
- package/dist/landing/themes/app.d.ts +3 -0
- package/dist/landing/themes/app.d.ts.map +1 -0
- package/dist/landing/themes/corporate.d.ts +3 -0
- package/dist/landing/themes/corporate.d.ts.map +1 -0
- package/dist/landing/themes/dashboard.d.ts +3 -0
- package/dist/landing/themes/dashboard.d.ts.map +1 -0
- package/dist/landing/themes/immersive.d.ts +3 -0
- package/dist/landing/themes/immersive.d.ts.map +1 -0
- package/dist/landing/themes/index.d.ts +15 -0
- package/dist/landing/themes/index.d.ts.map +1 -0
- package/dist/landing/themes/marketing.d.ts +3 -0
- package/dist/landing/themes/marketing.d.ts.map +1 -0
- package/dist/landing/themes/portfolio.d.ts +3 -0
- package/dist/landing/themes/portfolio.d.ts.map +1 -0
- package/dist/landing/themes/product.d.ts +3 -0
- package/dist/landing/themes/product.d.ts.map +1 -0
- package/dist/landing/types.d.ts +346 -0
- package/dist/landing/types.d.ts.map +1 -0
- package/dist/landing.d.mts +417 -0
- package/dist/landing.js +100 -0
- package/dist/landing.js.map +1 -0
- package/dist/landing.mjs +31 -0
- package/dist/landing.mjs.map +1 -0
- package/dist/lib/icons.d.ts +6 -1
- package/dist/lib/icons.d.ts.map +1 -1
- package/dist/navigation.d.mts +1 -1
- package/dist/navigation.js +2 -2
- package/dist/navigation.js.map +1 -1
- package/dist/navigation.mjs +1 -1
- package/dist/navigation.mjs.map +1 -1
- package/dist/overlay.d.mts +2 -0
- package/dist/overlay.js +1 -1
- package/dist/overlay.js.map +1 -1
- package/dist/overlay.mjs +1 -1
- package/dist/overlay.mjs.map +1 -1
- package/dist/sdui.js +4 -4
- package/dist/sdui.js.map +1 -1
- package/dist/sdui.mjs +1 -1
- package/dist/sdui.mjs.map +1 -1
- package/package.json +18 -7
- package/src/styles/landing.css +107 -0
- package/src/styles/utilities.css +58 -0
- package/dist/chunk-6KTHJ3EL.mjs +0 -13
- package/dist/chunk-COR6CDMA.mjs +0 -83
- package/dist/chunk-COR6CDMA.mjs.map +0 -1
- package/dist/chunk-FSL373O6.mjs +0 -3
- package/dist/chunk-GLZKT7JN.mjs +0 -4
- package/dist/chunk-HN5LSP6L.mjs +0 -3
- package/dist/chunk-HN5LSP6L.mjs.map +0 -1
- package/dist/chunk-IFSEJVOR.mjs +0 -3
- package/dist/chunk-IN7RWQCJ.mjs +0 -3
- package/dist/chunk-LH77I6HO.mjs +0 -3
- package/dist/chunk-LOYAJIWO.mjs +0 -3
- package/dist/chunk-LPAG7DCA.mjs +0 -3
- package/dist/chunk-LPAG7DCA.mjs.map +0 -1
- package/dist/chunk-N7M6RIN4.mjs +0 -8
- package/dist/chunk-OSCMSA2Q.mjs +0 -3
- package/dist/chunk-PAEKNQWW.mjs +0 -3
- package/dist/chunk-QQCELXFD.mjs +0 -3
- package/dist/chunk-RPUS7G7Q.mjs +0 -3
- package/dist/chunk-RPUS7G7Q.mjs.map +0 -1
- package/dist/chunk-SDFHJ4GB.mjs +0 -3
- package/dist/chunk-SGEP3CQE.mjs +0 -3
- package/dist/chunk-UUHAXGMO.mjs +0 -3
- package/dist/chunk-UUHAXGMO.mjs.map +0 -1
- package/dist/chunk-UWHCM3S6.mjs +0 -3
- package/dist/chunk-VWSBJUNI.mjs +0 -3
- package/dist/chunk-X7ZIWYRC.mjs +0 -3
- package/dist/chunk-XV3Y7QVU.mjs +0 -3
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;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:`
|
|
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,rocket:ssr.Rocket,layout:ssr.Layout,megaphone:ssr.Megaphone,layers:ssr.Stack,ban:ssr.Prohibit,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 Vr(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 Vr(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:"phosphor",weight:"regular",size:20,color:"currentColor",strokeWidth:1.25,iconsaxVariant:"line"};var jr=N.createContext(Te);function Re(){return N.useContext(jr)}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 qr=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=qr;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
|
|
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 Kr=N__default.default.forwardRef((e,o)=>jsxRuntime.jsx(V,{ref:o,variant:"fade",...e})),Xr=N__default.default.forwardRef((e,o)=>jsxRuntime.jsx(V,{ref:o,variant:"slide",...e})),Zr=N__default.default.forwardRef((e,o)=>jsxRuntime.jsx(V,{ref:o,variant:"scale",...e})),Qr=N__default.default.forwardRef((e,o)=>jsxRuntime.jsx(V,{ref:o,variant:"flip",...e}));Kr.displayName="FadeTransition";Xr.displayName="SlideTransition";Zr.displayName="ScaleTransition";Qr.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
|