MCPcopy Create free account

hub / github.com/Renovamen/playground-macos / functions

Functions113 in github.com/Renovamen/playground-macos

↓ 4 callersFunctiongetRandom
(min: number, max: number)
src/components/Spotlight.tsx:11
↓ 4 callersFunctionsetGoURL
(url: string)
src/components/apps/Safari.tsx:141
↓ 4 callersFunctiontoggleLaunchpad
(target: boolean)
src/pages/Desktop.tsx:79
↓ 4 callersFunctionupdateHighlight
(prevIndex: number, curIndex: number)
src/components/Spotlight.tsx:202
↓ 4 callersFunctionuseClickOutside
( ref: React.RefObject<HTMLElement | null>, onClickOutside: (event: Event) => void, excludeRefs: React.R
src/hooks/useClickOutside.ts:5
↓ 3 callersFunctioncolorAttr
(prefix: string, [, color, , opacity]: RegExpMatchArray)
unocss.config.ts:13
↓ 3 callersFunctioncolorReg
(prefix: string)
unocss.config.ts:11
↓ 3 callersFunctiongetRandomDate
()
src/components/Spotlight.tsx:17
↓ 3 callersFunctionisFullScreen
()
src/utils/screen.ts:27
↓ 3 callersFunctionuseInterval
(callback: Function, delay?: number | null)
src/hooks/useInterval.ts:1
↓ 3 callersFunctionuseWindowSize
()
src/hooks/useWindowSize.ts:1
↓ 2 callersFunctiongetTypeAppList
(type: string, startIndex: number)
src/components/Spotlight.tsx:113
↓ 2 callersFunctionlaunchSelectedApp
()
src/components/Spotlight.tsx:101
↓ 2 callersFunctionloginHandle
()
src/pages/Login.tsx:19
↓ 2 callersFunctionopenApp
(id: string)
src/components/dock/Dock.tsx:26
↓ 2 callersFunctionsetCurrentDetailsWithType
(app: any, type: string)
src/components/Spotlight.tsx:182
↓ 2 callersFunctiontoggleSpotlight
()
src/pages/Desktop.tsx:92
↓ 1 callersFunctionHighlighter
(dark: boolean)
src/components/apps/Bear.tsx:33
↓ 1 callersFunctioncheckURL
(str: string)
src/utils/url.ts:2
↓ 1 callersFunctioncolor
()
src/components/menus/Battery.tsx:8
↓ 1 callersFunctioncreateDockSlice
(set)
src/stores/slices/dock.ts:10
↓ 1 callersFunctioncreateSystemSlice
(set)
src/stores/slices/system.ts:21
↓ 1 callersFunctioncreateUserSlice
(set)
src/stores/slices/user.ts:13
↓ 1 callersFunctionenterFullScreen
()
src/utils/screen.ts:13
↓ 1 callersFunctionexitFullScreen
()
src/utils/screen.ts:23
↓ 1 callersFunctionfixImageURL
(text: string, contentURL: string)
src/components/apps/Bear.tsx:129
↓ 1 callersFunctiongetAppsData
()
src/pages/Desktop.tsx:47
↓ 1 callersFunctiongetEmoji
()
src/components/apps/Terminal.tsx:8
↓ 1 callersFunctiongetRepoURL
(url: string)
src/components/apps/Bear.tsx:125
↓ 1 callersFunctionhandleChange
()
src/hooks/useBattery.ts:54
↓ 1 callersFunctionhandleClick
(id: string)
src/components/Spotlight.tsx:92
↓ 1 callersFunctionhandleDoubleClick
(id: string)
src/components/Spotlight.tsx:96
↓ 1 callersMethodrender
()
src/components/apps/Terminal.tsx:369
↓ 1 callersFunctionrenderAppWindows
()
src/pages/Desktop.tsx:205
↓ 1 callersFunctionsearch
()
src/components/Launchpad.tsx:16
↓ 1 callersFunctionsearch
(type: string)
src/components/Spotlight.tsx:82
↓ 1 callersFunctionsetAppMax
(id: string, target?: boolean)
src/pages/Desktop.tsx:111
↓ 1 callersFunctionsetAppMin
(id: string, target?: boolean)
src/pages/Desktop.tsx:122
↓ 1 callersFunctionsetContent
(id: string, url: string, index: number)
src/components/apps/Bear.tsx:209
↓ 1 callersFunctionsetMidBar
(items: BearMdData[], index: number)
src/components/apps/Bear.tsx:199
↓ 1 callersFunctionsetWindowPosition
(id: string)
src/pages/Desktop.tsx:96
↓ 1 callersFunctiontoggleAppleMenu
()
src/components/menus/TopBar.tsx:129
↓ 1 callersFunctionupdateAppList
()
src/components/Spotlight.tsx:151
↓ 1 callersFunctionupdateCurrentDetails
()
src/components/Spotlight.tsx:188
↓ 1 callersFunctionuseAudio
(props: HTMLAudioProps)
src/hooks/useAudio.ts:11
↓ 1 callersFunctionuseDockHoverAnimation
( mouseX: MotionValue, ref: React.RefObject<HTMLImageElement>, dockSize: number, dockMag: number )
src/components/dock/DockItem.tsx:13
↓ 1 callersFunctionwidth
()
src/components/menus/Battery.tsx:4
FunctionApp
()
src/index.tsx:13
FunctionAppleMenu
({ logout, shut, restart, sleep, toggleAppleMenu, btnRef }: AppleMenuProps)
src/components/menus/AppleMenu.tsx:12
FunctionBattery
()
src/components/menus/Battery.tsx:1
FunctionBear
()
src/components/apps/Bear.tsx:190
FunctionBoot
({ restart, sleep, setBooting }: BootProps)
src/pages/Boot.tsx:10
FunctionCCMIcon
({ size }: { size: number })
src/components/menus/TopBar.tsx:38
FunctionContent
({ contentID, contentURL }: ContentProps)
src/components/apps/Bear.tsx:151
FunctionControlCenterMenu
({ toggleControlCenter, toggleAudio, setBrightness, setVolume, playing, btnRef }: CCMProps)
src/components/menus/ControlCenterMenu.tsx:37
FunctionDesktop
(props: MacActions)
src/pages/Desktop.tsx:26
FunctionDock
({ open, showApps, showLaunchpad, toggleLaunchpad, hide }: DockProps)
src/components/dock/Dock.tsx:14
FunctionDockItem
({ id, title, img, mouseX, desktop, openApp, isOpen, link, dockSize, dockMag }: DockItemPr
src/components/dock/DockItem.tsx:80
FunctionExitFullIcon
({ size }: { size: number })
src/components/AppWindow.tsx:21
FunctionFaceTime
()
src/components/apps/FaceTime.tsx:108
FunctionFullIcon
({ size }: { size: number })
src/components/AppWindow.tsx:5
FunctionHowDare
({ setRMRF }: { setRMRF: (value: boolean) => void })
src/components/apps/Terminal.tsx:18
FunctionLaunchpad
({ show, toggleLaunchpad }: LaunchpadProps)
src/components/Launchpad.tsx:10
FunctionLogin
(props: MacActions)
src/pages/Login.tsx:5
FunctionMenuItem
(props: MenuItemProps)
src/components/menus/base.tsx:13
FunctionMenuItemGroup
(props: MenuItemGroupProps)
src/components/menus/base.tsx:24
FunctionMiddlebar
({ items, cur, setContent }: MiddlebarProps)
src/components/apps/Bear.tsx:85
FunctionMilkdownEditor
()
src/components/apps/Typora.tsx:8
FunctionNavPage
({ width, setGoURL }: NavProps)
src/components/apps/Safari.tsx:68
FunctionNavSection
({ width, section, setGoURL }: NavSectionProps)
src/components/apps/Safari.tsx:24
FunctionNoInternetPage
()
src/components/apps/Safari.tsx:112
FunctionSafari
({ width }: SafariProps)
src/components/apps/Safari.tsx:134
FunctionSidebar
({ cur, setMidBar }: SidebarProps)
src/components/apps/Bear.tsx:60
FunctionSidebar
({ state, onTake, onSave, onSelect }: SidebarProps)
src/components/apps/FaceTime.tsx:59
FunctionSidebarItem
({ date, active }: SidebarItemProps)
src/components/apps/FaceTime.tsx:21
FunctionSliderComponent
({ icon, value, setValue }: SliderProps)
src/components/menus/ControlCenterMenu.tsx:12
FunctionSpotlight
({ toggleSpotlight, openApp, toggleLaunchpad, btnRef }: SpotlightProps)
src/components/Spotlight.tsx:31
FunctionTopBar
(props: TopBarProps)
src/components/menus/TopBar.tsx:66
FunctionTrafficLights
({ id, close, aspectRatio, max, setMax, setMin }: TrafficProps)
src/components/AppWindow.tsx:67
FunctionTypora
()
src/components/apps/Typora.tsx:42
FunctionVSCode
()
src/components/apps/VSCode.tsx:1
FunctionWifiMenu
({ toggleWifiMenu, btnRef }: WifiMenuProps)
src/components/menus/WifiMenu.tsx:9
FunctionWindow
(props: WindowProps)
src/components/AppWindow.tsx:106
FunctioncloseApp
(id: string)
src/pages/Desktop.tsx:153
FunctioncloseWindow
(e: React.MouseEvent | React.TouchEvent)
src/components/AppWindow.tsx:70
Functioncode
({ node, inline, className, children, ...props }: codeProps)
src/components/apps/Bear.tsx:42
MethodcomponentDidMount
()
src/components/apps/Terminal.tsx:112
Methodconstructor
(props: {})
src/components/apps/Terminal.tsx:97
FunctionhandleClick
()
src/pages/Boot.tsx:31
FunctionhandleInputChange
(e: React.ChangeEvent<HTMLInputElement>)
src/components/Spotlight.tsx:241
FunctionhandleInputChange
(e: React.ChangeEvent<HTMLInputElement>)
src/pages/Login.tsx:15
FunctionhandleKeyPress
(e: React.KeyboardEvent<HTMLDivElement>)
src/components/Spotlight.tsx:220
Functionhandler
(event: Event)
src/hooks/useClickOutside.ts:18
Functionhandler
()
src/hooks/useWindowSize.ts:8
Functionhandler
()
src/hooks/useAudio.ts:57
FunctionkeyPress
(e: React.KeyboardEvent)
src/pages/Login.tsx:10
Functionlogout
()
src/components/menus/TopBar.tsx:143
FunctionminimizeApp
(id: string)
src/pages/Desktop.tsx:132
FunctionopenApp
(id: string)
src/pages/Desktop.tsx:164
FunctionpressURL
(e: React.KeyboardEvent)
src/components/apps/Safari.tsx:157
next →1–100 of 113, ranked by callers