MCPcopy Create free account

hub / github.com/chenyme/LINUX-DO-WIKI / functions

Functions146 in github.com/chenyme/LINUX-DO-WIKI

↓ 41 callersFunctioncn
(...inputs: ClassValue[])
lib/utils.ts:4
↓ 7 callersFunctionrand
(min: number, max: number)
components/animate-ui/backgrounds/fireworks.tsx:7
↓ 6 callersFunctiongetValueByRange
(range: { min: number; max: number } | number)
components/animate-ui/backgrounds/fireworks.tsx:189
↓ 6 callersMethodisCacheExpired
* 检查缓存是否过期
lib/data-cache.ts:81
↓ 6 callersFunctionuseAnimateIconContext
()
components/animate-ui/icons/icon.tsx:87
↓ 5 callersFunctiongetVariants
(animations: V)
components/animate-ui/icons/icon.tsx:284
↓ 4 callersFunctionbuildVariant
( opacity: number, rotation: number, offset: string | null = null, )
components/animate-ui/buttons/flip.tsx:43
↓ 4 callersMethodgetTopicData
* 获取话题数据
lib/data-cache.ts:291
↓ 4 callersMethodgetUserData
* 获取用户数据
lib/data-cache.ts:244
↓ 4 callersMethodnotifySubscribers
* 通知订阅者数据更新
lib/data-cache.ts:88
↓ 4 callersFunctionrandInt
(min: number, max: number)
components/animate-ui/backgrounds/fireworks.tsx:10
↓ 4 callersFunctionuseTabs
()
components/animate-ui/components/tabs.tsx:23
↓ 3 callersFunctiongetAvatarUrl
(size: string = DEFAULT_CONFIG.AVATAR_SIZE)
components/common/UserHoverCard.tsx:140
↓ 3 callersFunctiongetDisplayName
()
components/common/UserHoverCard.tsx:150
↓ 3 callersFunctiongetNonOverridingDataAttributes
( element: React.ReactElement, dataAttributes: Record<string, unknown>, )
components/animate-ui/effects/motion-highlight.tsx:313
↓ 3 callersMethodunsubscribeTopic
(topicId: string, callback: () => void)
lib/data-cache.ts:342
↓ 3 callersMethodunsubscribeUser
* 取消订阅
lib/data-cache.ts:338
↓ 2 callersMethodaddSubscriber
* 添加订阅者
lib/data-cache.ts:98
↓ 2 callersFunctioncreateFirework
( x: number, y: number, targetY: number, color: string, speed: number, size: number, particleSpe
components/animate-ui/backgrounds/fireworks.tsx:102
↓ 2 callersFunctiongetCardStyle
()
components/pandora/MemoryCard.tsx:145
↓ 2 callersFunctiongetColor
(color: string | string[] | undefined)
components/animate-ui/backgrounds/fireworks.tsx:196
↓ 2 callersMethodpreloadTopics
(topicIds: string[])
lib/data-cache.ts:385
↓ 2 callersMethodpreloadUsers
* 预加载数据
lib/data-cache.ts:368
↓ 2 callersFunctionrandColor
()
components/animate-ui/backgrounds/fireworks.tsx:13
↓ 2 callersFunctionregisterTrigger
(value: string, node: HTMLElement | null)
components/animate-ui/components/tabs.tsx:79
↓ 2 callersMethodremoveSubscriber
* 移除订阅者
lib/data-cache.ts:108
↓ 2 callersFunctionuseGlobalTooltip
()
components/animate-ui/components/tooltip.tsx:41
↓ 2 callersFunctionuseTooltip
()
components/animate-ui/components/tooltip.tsx:335
↓ 1 callersFunctionanimate
()
components/animate-ui/backgrounds/fireworks.tsx:285
↓ 1 callersMethodbatchFetchTopics
* 批量获取话题数据
lib/data-cache.ts:170
↓ 1 callersMethodbatchFetchUsers
* 批量获取用户数据
lib/data-cache.ts:121
↓ 1 callersFunctioncallback
()
hooks/useDataCache.ts:134
↓ 1 callersFunctioncleanHtmlText
(htmlText: string)
components/common/UserHoverCard.tsx:34
↓ 1 callersMethodclearExpiredCache
* 清除过期缓存
lib/data-cache.ts:349
↓ 1 callersFunctioncreateParticle
( x: number, y: number, color: string, speed: number, direction: number, gravity: number, fricti
components/animate-ui/backgrounds/fireworks.tsx:33
↓ 1 callersFunctionfetchUserData
()
components/common/card/User.tsx:42
↓ 1 callersFunctionformatTime
(seconds: number)
components/pandora/MemoryCard.tsx:59
↓ 1 callersFunctiongenerateState
()
app/api/oauth2/route.ts:16
↓ 1 callersFunctiongetAvatarSizeClass
(size?: 'xs' | 'sm' | 'md' | 'lg' | 'xl' | '2xl')
components/common/UserHoverCard.tsx:109
↓ 1 callersFunctiongetCookie
(name: string)
components/common/NavbarOAuthButton.tsx:19
↓ 1 callersFunctiongetCookie
(name: string)
components/common/card/User.tsx:92
↓ 1 callersFunctiongetInitialPosition
(side: Side)
components/animate-ui/radix/hover-card.tsx:32
↓ 1 callersFunctiongetSizeStyles
()
components/common/UserGroupTooltip.tsx:40
↓ 1 callersFunctiongetTooltipPosition
({ rect, side, sideOffset, align, alignOffset, }: { rect: DOMRect; side: Side; sideOffset: num
components/animate-ui/components/tooltip.tsx:56
↓ 1 callersFunctiongetUserBio
()
components/common/UserHoverCard.tsx:157
↓ 1 callersFunctionhandleValueChange
(val: T)
components/animate-ui/components/tabs.tsx:91
↓ 1 callersFunctionlaunchFirework
()
components/animate-ui/backgrounds/fireworks.tsx:258
↓ 1 callersFunctionloadHighlightedCode
()
components/animate-ui/components/code-tabs.tsx:51
↓ 1 callersFunctionrenderErrorContent
()
components/common/TopicHoverCard.tsx:93
↓ 1 callersFunctionrenderNormalContent
()
components/common/TopicHoverCard.tsx:142
↓ 1 callersFunctionreplaceTabIndex
(html: string)
lib/utils.ts:9
↓ 1 callersFunctionupdateBounds
()
components/animate-ui/effects/motion-highlight.tsx:401
↓ 1 callersFunctionupdateTheme
()
components/common/ThemeWrapper.tsx:13
↓ 1 callersFunctionuseHoverCard
()
components/animate-ui/radix/hover-card.tsx:22
↓ 1 callersFunctionuseMotionHighlight
()
components/animate-ui/effects/motion-highlight.tsx:40
↓ 1 callersFunctionuseTopicData
(topicId: string)
hooks/useDataCache.ts:57
↓ 1 callersFunctionuseUserData
(username: string)
hooks/useDataCache.ts:12
FunctionAnimateIcon
({ animate, onAnimateChange, animateOnHover, animateOnTap, animation = 'default', loop = false,
components/animate-ui/icons/icon.tsx:99
FunctionAvatar
({ className, ...props }: React.ComponentProps<typeof AvatarPrimitive.Root>)
components/ui/avatar.tsx:8
FunctionAvatarContainer
({ children, zIndex, transition, translate, ...props }: AvatarProps)
components/animate-ui/components/avatar-group.tsx:23
FunctionAvatarFallback
({ className, ...props }: React.ComponentProps<typeof AvatarPrimitive.Fallback>)
components/ui/avatar.tsx:37
FunctionAvatarGroup
({ ref, children, className, transition = { type: 'spring', stiffness: 300, damping: 17 }, invertOve
components/animate-ui/components/avatar-group.tsx:70
FunctionAvatarGroupTooltip
(props: AvatarGroupTooltipProps)
components/animate-ui/components/avatar-group.tsx:58
FunctionAvatarImage
({ className, ...props }: React.ComponentProps<typeof AvatarPrimitive.Image>)
components/ui/avatar.tsx:24
FunctionButton
({ className, variant, size, asChild = false, ...props }: React.ComponentProps<"button"> & Variant
components/ui/button.tsx:38
FunctionCard
({ className, ...props }: React.ComponentProps<"div">)
components/ui/card.tsx:5
FunctionCardAction
({ className, ...props }: React.ComponentProps<"div">)
components/ui/card.tsx:51
FunctionCardContent
({ className, ...props }: React.ComponentProps<"div">)
components/ui/card.tsx:64
FunctionCardDescription
({ className, ...props }: React.ComponentProps<"div">)
components/ui/card.tsx:41
FunctionCardFooter
({ className, ...props }: React.ComponentProps<"div">)
components/ui/card.tsx:74
FunctionCardGrid
({ children, className = '' })
components/common/CardGrid.tsx:12
FunctionCardHeader
({ className, ...props }: React.ComponentProps<"div">)
components/ui/card.tsx:18
FunctionCardTitle
({ className, ...props }: React.ComponentProps<"div">)
components/ui/card.tsx:31
FunctionCodeTabs
* Note: 在 MDX 文档中使用该组件时需要包裹一层 Wrapper,从内部传入 Props,以确保正确渲染代码块中的缩进。 * * Refs: #99
components/animate-ui/components/code-tabs.tsx:31
FunctionCopyButton
({ content, className, size, variant, delay = 3000, onClick, onCopy, isCopied, onCopyChange,
components/animate-ui/buttons/copy.tsx:50
FunctionFireworksBackground
({ ref, className, canvasProps, population = 1, color, fireworkSpeed = { min: 4, max: 8 }, firew
components/animate-ui/backgrounds/fireworks.tsx:213
FunctionFlipButton
({ frontText, backText, transition = { type: 'spring', stiffness: 280, damping: 20 }, className, fro
components/animate-ui/buttons/flip.tsx:27
FunctionGET
( request: NextRequest, { params }: { params: Promise<{ username: string }> } )
app/api/users/[username]/route.ts:18
FunctionGET
( request: Request, { params }: { params: Promise<{ topicId: string }> } )
app/api/topics/[topicId]/route.ts:24
FunctionGET
(request: NextRequest)
app/api/oauth2/route.ts:21
FunctionGET
(request: NextRequest)
app/api/oauth2/callback/route.ts:12
FunctionGameCard
({ card, index, onClick, disabled, }: { card: Card; index: number; onClick: (index: number) => v
components/pandora/MemoryCard.tsx:134
FunctionGameControlPanel
({ timeElapsed, moves, matches, isGameStarted, onStart, onRestart, }: { timeElapsed: number; m
components/pandora/MemoryCard.tsx:44
FunctionGavel
(props: GavelProps)
components/animate-ui/icons/gavel.tsx:86
FunctionGold
({ heading = "GOLD", number = "4356 7891 2345 6789", date = "09/26", name = "LINUX DO METAVERSE",
components/common/card/Gold.tsx:11
FunctionHoverCard
({ children, ...props }: HoverCardProps)
components/animate-ui/radix/hover-card.tsx:47
FunctionHoverCardContent
({ className, align = 'center', side = 'bottom', sideOffset = 4, transition = { type: 'spring', stif
components/animate-ui/radix/hover-card.tsx:94
FunctionHoverCardTrigger
(props: HoverCardTriggerProps)
components/animate-ui/radix/hover-card.tsx:81
FunctionIconComponent
({ size, ...props }: GavelProps)
components/animate-ui/icons/gavel.tsx:32
FunctionIconComponent
({ size, ...props }: RefreshCcwProps)
components/animate-ui/icons/refresh-ccw.tsx:50
FunctionIconComponent
({ size, ...props }: ThumbsUpProps)
components/animate-ui/icons/thumbs-up.tsx:52
FunctionIconComponent
({ size, ...props }: SendProps)
components/animate-ui/icons/send.tsx:47
FunctionIconComponent
({ size, ...props }: SearchProps)
components/animate-ui/icons/search.tsx:47
FunctionIconWrapper
({ size = 28, animation: animationProp, animate, onAnimateChange, animateOnHover = false, animateO
components/animate-ui/icons/icon.tsx:189
FunctionManagementBar
()
components/animate-ui/ui-elements/management-bar.tsx:44
FunctionMemoryCardGame
()
components/pandora/MemoryCard.tsx:203
FunctionMotionHighlight
({ ref, ...props }: MotionHighlightProps<T>)
components/animate-ui/effects/motion-highlight.tsx:109
FunctionMotionHighlightItem
({ ref, children, id, value, className, transition, disabled = false, activeClassName, exitD
components/animate-ui/effects/motion-highlight.tsx:351
FunctionNavbarOAuthButton
({ className = "ml-2" })
components/common/NavbarOAuthButton.tsx:11
FunctionNiello
({ number = "4962 1162 7845 1269", date = "12/28", name = "Chenyme", code = "127" })
components/common/card/Niello.tsx:14
next →1–100 of 146, ranked by callers