MCPcopy Create free account

hub / github.com/condorheroblog/react-antd-admin / functions

Functions306 in github.com/condorheroblog/react-antd-admin

↓ 33 callersFunction$t
(path: string)
src/locales/t.tsx:10
↓ 29 callersFunctionresultSuccess
(result: unknown, { message = "ok" } = {})
fake/utils.ts:1
↓ 19 callersFunctioncn
(...inputs: ClassValue[])
src/utils/cn/index.ts:5
↓ 14 callersFunctionusePreferences
()
src/hooks/use-preferences/index.ts:13
↓ 11 callersFunctionhasAccessByCodes
(permission?: string | Array<string>)
src/hooks/use-access/index.ts:24
↓ 8 callersFunctionisString
(value: unknown)
src/utils/is/index.ts:30
↓ 7 callersFunctionremoveTrailingSlash
(pathname: string)
src/router/utils/remove-trailing-slash.ts:10
↓ 7 callersFunctionuseDeviceType
()
src/hooks/use-device-type/index.ts:7
↓ 4 callersFunctionhasAccessByRoles
(roles?: string | Array<string>)
src/hooks/use-access/index.ts:52
↓ 4 callersFunctionhexToRGB
(hex: string)
src/components/antd-app/utils.ts:8
↓ 4 callersFunctionuseAccess
()
src/hooks/use-access/index.ts:13
↓ 4 callersFunctionuseCssVar
( name: `--${string}`, root = defaultRoot!, options: UseCssVarOptions = {}, )
src/hooks/use-css-var/index.ts:24
↓ 3 callersFunctionaddRouteIdByPath
(routes: AppRouteRecordRaw[], parentId = "")
src/router/utils/add-route-id-by-path.ts:16
↓ 3 callersFunctiongetAppNamespace
(name: string)
src/utils/get-app-namespace/index.ts:11
↓ 3 callersFunctiongoLogin
()
src/utils/request/go-login.ts:9
↓ 3 callersFunctionhandleTree
(data: any[], id?: string, parentId?: string, children?: string)
src/utils/tree/index.ts:9
↓ 3 callersFunctionhideLoading
()
src/plugins/hide-loading.ts:3
↓ 3 callersFunctionisDarkTheme
(theme: string)
src/utils/is-dark-theme/index.ts:7
↓ 3 callersFunctionmergeRouteModules
(...routes: RouteFileModule[])
src/router/utils/merge-route-modules.tsx:4
↓ 3 callersFunctionuseCurrentRoute
()
src/hooks/use-current-route/index.ts:9
↓ 3 callersFunctionuseLayout
()
src/layout/hooks/use-layout.ts:22
↓ 2 callersFunctionPASSWORD_RULES
(t: TFunction<"translation", undefined>)
src/constants/rules.ts:33
↓ 2 callersFunctionUSERNAME_RULES
(t: TFunction<"translation", undefined>)
src/constants/rules.ts:16
↓ 2 callersFunctionascending
(arr: AppRouteRecordRaw[])
src/router/utils/ascending.ts:4
↓ 2 callersFunctionchangeAccount
(role: string)
src/pages/access/button-control/index.tsx:36
↓ 2 callersFunctionchangeAccount
(role: string)
src/pages/access/page-control/index.tsx:36
↓ 2 callersFunctionflattenRoutes
(routes: AppRouteRecordRaw[])
src/router/utils/flatten-routes.ts:7
↓ 2 callersFunctiongenerateMenuItemsFromRoutes
(routeList: AppRouteRecordRaw[])
src/router/utils/generate-menu-items-from-routes.ts:16
↓ 2 callersFunctiongenerateRoutesFromBackend
(backendRoutes: Array<AppRouteRecordRaw>)
src/router/utils/generate-routes-from-backend.ts:37
↓ 2 callersFunctiongetComponentPathByRoute
(route: AppRouteRecordRaw & { component?: string })
src/router/utils/generate-routes-from-backend.ts:24
↓ 2 callersFunctiongetLanguageItems
( // t: TFunction<"translation", undefined>, )
src/layout/widgets/preferences/blocks/general/utils.ts:3
↓ 2 callersFunctiongetMenuTypeOptions
(t: TFunction<"translation", undefined>)
src/pages/system/menu/constants.tsx:9
↓ 2 callersFunctiongetPaginationProps
()
src/components/basic-table/index.tsx:63
↓ 2 callersFunctiongetVersionTag
(isCache: boolean = false)
src/layout/widgets/version-monitor/index.tsx:66
↓ 2 callersFunctiongetYesNoOptions
(t: TFunction<"translation", undefined>)
src/constants/options.ts:3
↓ 2 callersFunctionhandleClose
()
src/layout/widgets/global-search/index.tsx:62
↓ 2 callersFunctionhandleKeyPress
(direction: 1 | -1)
src/layout/widgets/global-search/index.tsx:95
↓ 2 callersFunctionhandleMenuSelect
(key: string, mode: MenuProps["mode"])
src/layout/layout-menu/use-menu.ts:88
↓ 2 callersFunctionisObject
(value: unknown)
src/utils/is/index.ts:52
↓ 2 callersFunctionloadRouteComponent
(route: AppRouteRecordRaw, componentPath: string)
src/router/utils/generate-routes-from-backend.ts:48
↓ 2 callersFunctionorganizeLanguageFiles
(files: LanguageFileMap)
src/locales/helper.ts:31
↓ 2 callersFunctionroleButtonType
(role: string)
src/pages/access/button-control/index.tsx:32
↓ 2 callersFunctionroleButtonType
(role: string)
src/pages/access/page-control/index.tsx:32
↓ 2 callersFunctionsetupLoading
()
src/plugins/loading.ts:10
↓ 2 callersFunctionstart
()
src/layout/widgets/version-monitor/index.tsx:114
↓ 2 callersFunctionstop
()
src/layout/widgets/version-monitor/index.tsx:134
↓ 2 callersFunctiontoggleAccessMode
()
src/pages/access/page-control/index.tsx:50
↓ 2 callersFunctiontoggleHtmlClass
(className: string)
src/utils/toggle-html-class/index.ts:6
↓ 2 callersFunctionuseDropdownMenu
()
src/layout/layout-tabbar/hooks/use-dropdown-menu.tsx:43
↓ 2 callersFunctionuseMenu
()
src/layout/layout-menu/use-menu.ts:14
↓ 1 callersFunctionMOBILE_PHONE_RULES
(t: TFunction<"translation", undefined>)
src/constants/rules.ts:84
↓ 1 callersFunction_filterTree
(nodes: T[])
src/utils/tree/index.ts:115
↓ 1 callersFunctionadaptToChildrenList
(o: Record<string, any>)
src/utils/tree/index.ts:44
↓ 1 callersFunctionaddRefreshSubscriber
* 添加一个新的订阅者到列表中。 * 订阅者对象应包含 resolve 和 reject 方法。 * * @param subscriber 订阅者对象,包含 resolve 和 reject 方法
src/utils/request/refresh.ts:109
↓ 1 callersFunctioncheckForUpdates
()
src/layout/widgets/version-monitor/index.tsx:87
↓ 1 callersFunctionclose
()
src/layout/widgets/notification/index.tsx:55
↓ 1 callersFunctioncreateColorPalettes
* @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 callersFunctioncreateRouter
()
src/router/index.ts:60
↓ 1 callersFunctiondfs
(treeNode: T)
src/utils/tree/index.ts:79
↓ 1 callersFunctionfetchAddMenuItem
(data: MenuItemType)
src/api/system/menu/index.ts:12
↓ 1 callersFunctionfetchAsyncRoutes
()
src/api/user/index.ts:19
↓ 1 callersFunctionfetchDeleteMenuItem
(id: number)
src/api/system/menu/index.ts:22
↓ 1 callersFunctionfetchLine
(data: { range: string })
src/api/home.ts:13
↓ 1 callersFunctionfetchLogin
(data: LoginInfo)
src/api/user/index.ts:9
↓ 1 callersFunctionfetchLogout
()
src/api/user/index.ts:15
↓ 1 callersFunctionfetchMenuByRoleId
(data: { id: number })
src/api/system/role/index.ts:32
↓ 1 callersFunctionfetchMenuList
(data: any)
src/api/system/menu/index.ts:7
↓ 1 callersFunctionfetchNotifications
()
src/api/notifications/index.ts:4
↓ 1 callersFunctionfetchPie
(data: { by: string | number })
src/api/home.ts:7
↓ 1 callersFunctionfetchRefreshToken
(data: { readonly refreshToken: string })
src/api/user/index.ts:32
↓ 1 callersFunctionfetchRoleList
(data: any)
src/api/system/role/index.ts:7
↓ 1 callersFunctionfetchRoleMenu
()
src/api/system/role/index.ts:27
↓ 1 callersFunctionfetchUpdateMenuItem
(data: MenuItemType)
src/api/system/menu/index.ts:17
↓ 1 callersFunctionfetchUserInfo
()
src/api/user/index.ts:23
↓ 1 callersFunctionfetchUserInfoAndRoutes
()
src/router/guard/auth-guard.tsx:54
↓ 1 callersFunctionfilterTree
( tree: T[], filter: (node: T) => boolean, options?: TreeConfigOptions, )
src/utils/tree/index.ts:106
↓ 1 callersFunctionfind
( list: MenuItemType[], targetPath: string, parents: MenuItemType[] = [], )
src/layout/layout-menu/utils.ts:86
↓ 1 callersFunctionfindDeepestFirstItem
(splitSideNavItems: MenuItemType[])
src/layout/layout-menu/utils.ts:136
↓ 1 callersFunctionfindRootMenuByPath
(menus: MenuItemType[], path?: string)
src/layout/layout-menu/utils.ts:66
↓ 1 callersFunctionfunc
(menuItems2: MenuItemType[], level = 1)
src/layout/layout-menu/utils.ts:162
↓ 1 callersFunctiongenerateList
(data: TreeDataNodeWithId[])
src/components/basic-form/form-items/form-tree-item.tsx:60
↓ 1 callersFunctiongenerateRoutesByFrontend
( routes: AppRouteRecordRaw[], roles: string[], )
src/router/utils/generate-routes-from-frontend.ts:8
↓ 1 callersFunctiongetActivePathIndex
()
src/layout/widgets/global-search/index.tsx:91
↓ 1 callersFunctiongetAllExpandedKeys
(data: any[], fieldName = "key")
src/utils/get-all-expanded-keys/index.ts:1
↓ 1 callersFunctiongetAntdLocale
()
src/app.tsx:42
↓ 1 callersFunctiongetAvatarURL
()
src/pages/personal-center/my-profile/index.tsx:15
↓ 1 callersFunctiongetCSSVariablesByTokens
(tokens: GlobalToken)
src/components/antd-app/utils.ts:25
↓ 1 callersFunctiongetConstantColumns
(t: TFunction<"translation", undefined>)
src/pages/system/menu/constants.tsx:30
↓ 1 callersFunctiongetConstantColumns
(t: TFunction<"translation", undefined>)
src/pages/system/role/constants.tsx:7
↓ 1 callersFunctiongetElementVisibleRect
( element?: HTMLElement | null | undefined, )
src/utils/dom/index.ts:15
↓ 1 callersFunctiongetEnUsLang
()
src/locales/helper.ts:22
↓ 1 callersFunctiongetLoadingProps
()
src/components/basic-table/index.tsx:150
↓ 1 callersFunctiongetParentKey
(key: React.Key, tree: TreeDataNodeWithId[])
src/components/basic-form/form-items/form-tree-item.tsx:22
↓ 1 callersFunctiongetParentKeys
(menuItems: MenuItemType[])
src/layout/layout-menu/utils.ts:182
↓ 1 callersFunctiongetZhCnLang
()
src/locales/helper.ts:13
↓ 1 callersFunctionhandleClick
(item: NotificationItem)
src/layout/widgets/notification/index.tsx:72
↓ 1 callersFunctionhandleClick
(value: NavigationType)
src/layout/widgets/preferences/blocks/layout/index.tsx:48
↓ 1 callersFunctionhandleClick
(value: ThemeType)
src/layout/widgets/preferences/blocks/theme/theme.tsx:42
↓ 1 callersFunctionhandleClick
(value: BuiltinThemeType)
src/layout/widgets/preferences/blocks/theme/builtin.tsx:112
↓ 1 callersFunctionhandleClick
(value: string)
src/layout/widgets/preferences/blocks/animation/index.tsx:23
next →1–100 of 306, ranked by callers