Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/condorheroblog/react-antd-admin
/ functions
Functions
306 in github.com/condorheroblog/react-antd-admin
⨍
Functions
306
◇
Types & classes
81
↓ 33 callers
Function
$t
(path: string)
src/locales/t.tsx:10
↓ 29 callers
Function
resultSuccess
(result: unknown, { message = "ok" } = {})
fake/utils.ts:1
↓ 19 callers
Function
cn
(...inputs: ClassValue[])
src/utils/cn/index.ts:5
↓ 14 callers
Function
usePreferences
()
src/hooks/use-preferences/index.ts:13
↓ 11 callers
Function
hasAccessByCodes
(permission?: string | Array<string>)
src/hooks/use-access/index.ts:24
↓ 8 callers
Function
isString
(value: unknown)
src/utils/is/index.ts:30
↓ 7 callers
Function
removeTrailingSlash
(pathname: string)
src/router/utils/remove-trailing-slash.ts:10
↓ 7 callers
Function
useDeviceType
()
src/hooks/use-device-type/index.ts:7
↓ 4 callers
Function
hasAccessByRoles
(roles?: string | Array<string>)
src/hooks/use-access/index.ts:52
↓ 4 callers
Function
hexToRGB
(hex: string)
src/components/antd-app/utils.ts:8
↓ 4 callers
Function
useAccess
()
src/hooks/use-access/index.ts:13
↓ 4 callers
Function
useCssVar
( name: `--${string}`, root = defaultRoot!, options: UseCssVarOptions = {}, )
src/hooks/use-css-var/index.ts:24
↓ 3 callers
Function
addRouteIdByPath
(routes: AppRouteRecordRaw[], parentId = "")
src/router/utils/add-route-id-by-path.ts:16
↓ 3 callers
Function
getAppNamespace
(name: string)
src/utils/get-app-namespace/index.ts:11
↓ 3 callers
Function
goLogin
()
src/utils/request/go-login.ts:9
↓ 3 callers
Function
handleTree
(data: any[], id?: string, parentId?: string, children?: string)
src/utils/tree/index.ts:9
↓ 3 callers
Function
hideLoading
()
src/plugins/hide-loading.ts:3
↓ 3 callers
Function
isDarkTheme
(theme: string)
src/utils/is-dark-theme/index.ts:7
↓ 3 callers
Function
mergeRouteModules
(...routes: RouteFileModule[])
src/router/utils/merge-route-modules.tsx:4
↓ 3 callers
Function
useCurrentRoute
()
src/hooks/use-current-route/index.ts:9
↓ 3 callers
Function
useLayout
()
src/layout/hooks/use-layout.ts:22
↓ 2 callers
Function
PASSWORD_RULES
(t: TFunction<"translation", undefined>)
src/constants/rules.ts:33
↓ 2 callers
Function
USERNAME_RULES
(t: TFunction<"translation", undefined>)
src/constants/rules.ts:16
↓ 2 callers
Function
ascending
(arr: AppRouteRecordRaw[])
src/router/utils/ascending.ts:4
↓ 2 callers
Function
changeAccount
(role: string)
src/pages/access/button-control/index.tsx:36
↓ 2 callers
Function
changeAccount
(role: string)
src/pages/access/page-control/index.tsx:36
↓ 2 callers
Function
flattenRoutes
(routes: AppRouteRecordRaw[])
src/router/utils/flatten-routes.ts:7
↓ 2 callers
Function
generateMenuItemsFromRoutes
(routeList: AppRouteRecordRaw[])
src/router/utils/generate-menu-items-from-routes.ts:16
↓ 2 callers
Function
generateRoutesFromBackend
(backendRoutes: Array<AppRouteRecordRaw>)
src/router/utils/generate-routes-from-backend.ts:37
↓ 2 callers
Function
getComponentPathByRoute
(route: AppRouteRecordRaw & { component?: string })
src/router/utils/generate-routes-from-backend.ts:24
↓ 2 callers
Function
getLanguageItems
( // t: TFunction<"translation", undefined>, )
src/layout/widgets/preferences/blocks/general/utils.ts:3
↓ 2 callers
Function
getMenuTypeOptions
(t: TFunction<"translation", undefined>)
src/pages/system/menu/constants.tsx:9
↓ 2 callers
Function
getPaginationProps
()
src/components/basic-table/index.tsx:63
↓ 2 callers
Function
getVersionTag
(isCache: boolean = false)
src/layout/widgets/version-monitor/index.tsx:66
↓ 2 callers
Function
getYesNoOptions
(t: TFunction<"translation", undefined>)
src/constants/options.ts:3
↓ 2 callers
Function
handleClose
()
src/layout/widgets/global-search/index.tsx:62
↓ 2 callers
Function
handleKeyPress
(direction: 1 | -1)
src/layout/widgets/global-search/index.tsx:95
↓ 2 callers
Function
handleMenuSelect
(key: string, mode: MenuProps["mode"])
src/layout/layout-menu/use-menu.ts:88
↓ 2 callers
Function
isObject
(value: unknown)
src/utils/is/index.ts:52
↓ 2 callers
Function
loadRouteComponent
(route: AppRouteRecordRaw, componentPath: string)
src/router/utils/generate-routes-from-backend.ts:48
↓ 2 callers
Function
organizeLanguageFiles
(files: LanguageFileMap)
src/locales/helper.ts:31
↓ 2 callers
Function
roleButtonType
(role: string)
src/pages/access/button-control/index.tsx:32
↓ 2 callers
Function
roleButtonType
(role: string)
src/pages/access/page-control/index.tsx:32
↓ 2 callers
Function
setupLoading
()
src/plugins/loading.ts:10
↓ 2 callers
Function
start
()
src/layout/widgets/version-monitor/index.tsx:114
↓ 2 callers
Function
stop
()
src/layout/widgets/version-monitor/index.tsx:134
↓ 2 callers
Function
toggleAccessMode
()
src/pages/access/page-control/index.tsx:50
↓ 2 callers
Function
toggleHtmlClass
(className: string)
src/utils/toggle-html-class/index.ts:6
↓ 2 callers
Function
useDropdownMenu
()
src/layout/layout-tabbar/hooks/use-dropdown-menu.tsx:43
↓ 2 callers
Function
useMenu
()
src/layout/layout-menu/use-menu.ts:14
↓ 1 callers
Function
MOBILE_PHONE_RULES
(t: TFunction<"translation", undefined>)
src/constants/rules.ts:84
↓ 1 callers
Function
_filterTree
(nodes: T[])
src/utils/tree/index.ts:115
↓ 1 callers
Function
adaptToChildrenList
(o: Record<string, any>)
src/utils/tree/index.ts:44
↓ 1 callers
Function
addRefreshSubscriber
* 添加一个新的订阅者到列表中。 * 订阅者对象应包含 resolve 和 reject 方法。 * * @param subscriber 订阅者对象,包含 resolve 和 reject 方法
src/utils/request/refresh.ts:109
↓ 1 callers
Function
checkForUpdates
()
src/layout/widgets/version-monitor/index.tsx:87
↓ 1 callers
Function
close
()
src/layout/widgets/notification/index.tsx:55
↓ 1 callers
Function
createColorPalettes
* @zh 使用 antd 的颜色变量覆盖 tailwind.css 中的颜色变量。 * @en Override the color variables in tailwind.css with antd's color variables.
src/styles/theme/antd/css-variables.ts:8
↓ 1 callers
Function
createRouter
()
src/router/index.ts:60
↓ 1 callers
Function
dfs
(treeNode: T)
src/utils/tree/index.ts:79
↓ 1 callers
Function
fetchAddMenuItem
(data: MenuItemType)
src/api/system/menu/index.ts:12
↓ 1 callers
Function
fetchAsyncRoutes
()
src/api/user/index.ts:19
↓ 1 callers
Function
fetchDeleteMenuItem
(id: number)
src/api/system/menu/index.ts:22
↓ 1 callers
Function
fetchLine
(data: { range: string })
src/api/home.ts:13
↓ 1 callers
Function
fetchLogin
(data: LoginInfo)
src/api/user/index.ts:9
↓ 1 callers
Function
fetchLogout
()
src/api/user/index.ts:15
↓ 1 callers
Function
fetchMenuByRoleId
(data: { id: number })
src/api/system/role/index.ts:32
↓ 1 callers
Function
fetchMenuList
(data: any)
src/api/system/menu/index.ts:7
↓ 1 callers
Function
fetchNotifications
()
src/api/notifications/index.ts:4
↓ 1 callers
Function
fetchPie
(data: { by: string | number })
src/api/home.ts:7
↓ 1 callers
Function
fetchRefreshToken
(data: { readonly refreshToken: string })
src/api/user/index.ts:32
↓ 1 callers
Function
fetchRoleList
(data: any)
src/api/system/role/index.ts:7
↓ 1 callers
Function
fetchRoleMenu
()
src/api/system/role/index.ts:27
↓ 1 callers
Function
fetchUpdateMenuItem
(data: MenuItemType)
src/api/system/menu/index.ts:17
↓ 1 callers
Function
fetchUserInfo
()
src/api/user/index.ts:23
↓ 1 callers
Function
fetchUserInfoAndRoutes
()
src/router/guard/auth-guard.tsx:54
↓ 1 callers
Function
filterTree
( tree: T[], filter: (node: T) => boolean, options?: TreeConfigOptions, )
src/utils/tree/index.ts:106
↓ 1 callers
Function
find
( list: MenuItemType[], targetPath: string, parents: MenuItemType[] = [], )
src/layout/layout-menu/utils.ts:86
↓ 1 callers
Function
findDeepestFirstItem
(splitSideNavItems: MenuItemType[])
src/layout/layout-menu/utils.ts:136
↓ 1 callers
Function
findRootMenuByPath
(menus: MenuItemType[], path?: string)
src/layout/layout-menu/utils.ts:66
↓ 1 callers
Function
func
(menuItems2: MenuItemType[], level = 1)
src/layout/layout-menu/utils.ts:162
↓ 1 callers
Function
generateList
(data: TreeDataNodeWithId[])
src/components/basic-form/form-items/form-tree-item.tsx:60
↓ 1 callers
Function
generateRoutesByFrontend
( routes: AppRouteRecordRaw[], roles: string[], )
src/router/utils/generate-routes-from-frontend.ts:8
↓ 1 callers
Function
getActivePathIndex
()
src/layout/widgets/global-search/index.tsx:91
↓ 1 callers
Function
getAllExpandedKeys
(data: any[], fieldName = "key")
src/utils/get-all-expanded-keys/index.ts:1
↓ 1 callers
Function
getAntdLocale
()
src/app.tsx:42
↓ 1 callers
Function
getAvatarURL
()
src/pages/personal-center/my-profile/index.tsx:15
↓ 1 callers
Function
getCSSVariablesByTokens
(tokens: GlobalToken)
src/components/antd-app/utils.ts:25
↓ 1 callers
Function
getConstantColumns
(t: TFunction<"translation", undefined>)
src/pages/system/menu/constants.tsx:30
↓ 1 callers
Function
getConstantColumns
(t: TFunction<"translation", undefined>)
src/pages/system/role/constants.tsx:7
↓ 1 callers
Function
getElementVisibleRect
( element?: HTMLElement | null | undefined, )
src/utils/dom/index.ts:15
↓ 1 callers
Function
getEnUsLang
()
src/locales/helper.ts:22
↓ 1 callers
Function
getLoadingProps
()
src/components/basic-table/index.tsx:150
↓ 1 callers
Function
getParentKey
(key: React.Key, tree: TreeDataNodeWithId[])
src/components/basic-form/form-items/form-tree-item.tsx:22
↓ 1 callers
Function
getParentKeys
(menuItems: MenuItemType[])
src/layout/layout-menu/utils.ts:182
↓ 1 callers
Function
getZhCnLang
()
src/locales/helper.ts:13
↓ 1 callers
Function
handleClick
(item: NotificationItem)
src/layout/widgets/notification/index.tsx:72
↓ 1 callers
Function
handleClick
(value: NavigationType)
src/layout/widgets/preferences/blocks/layout/index.tsx:48
↓ 1 callers
Function
handleClick
(value: ThemeType)
src/layout/widgets/preferences/blocks/theme/theme.tsx:42
↓ 1 callers
Function
handleClick
(value: BuiltinThemeType)
src/layout/widgets/preferences/blocks/theme/builtin.tsx:112
↓ 1 callers
Function
handleClick
(value: string)
src/layout/widgets/preferences/blocks/animation/index.tsx:23
next →
1–100 of 306, ranked by callers