Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/baimingxuan/vue3-admin-design
/ functions
Functions
730 in github.com/baimingxuan/vue3-admin-design
⨍
Functions
730
◇
Types & classes
131
↓ 142 callers
Function
t
(key: string)
src/locales/helper.ts:57
↓ 50 callers
Function
emit
* Invoke all handlers for the given type. * If present, `'*'` handlers are invoked after type-matched handlers. * * Note: Manually firi
src/utils/mitt.ts:94
↓ 31 callers
Method
get
(key: K)
src/utils/cache/memory.ts:20
↓ 27 callers
Function
get
()
src/components/ApiCompo/src/hooks/useBindValue.ts:35
↓ 23 callers
Function
isArray
(val: any)
src/utils/is.ts:27
↓ 23 callers
Function
useBaseSetting
()
src/hooks/setting/useBaseSetting.ts:5
↓ 20 callers
Function
useMenuSetting
()
src/hooks/setting/useMenuSetting.ts:8
↓ 17 callers
Method
set
(key: K, value: V, expires?: number)
src/utils/cache/memory.ts:24
↓ 13 callers
Method
clear
()
src/utils/mitt.ts:33
↓ 12 callers
Function
set
(value)
src/components/ApiCompo/src/hooks/useBindValue.ts:38
↓ 11 callers
Function
getForm
()
src/components/Form/src/hooks/useForm.ts:13
↓ 11 callers
Function
isObject
(val: any)
src/utils/is.ts:31
↓ 10 callers
Function
go
(opt: RouteLocationRaw, isReplace = false)
src/hooks/web/usePage.ts:16
↓ 9 callers
Function
setMenuSetting
(menuSetting: Partial<MenuSetting>)
src/hooks/setting/useMenuSetting.ts:60
↓ 8 callers
Function
useGo
(router?: Router)
src/hooks/web/usePage.ts:13
↓ 7 callers
Function
ImportAsyncComponent
(loader: Fn, options: Options = {})
src/utils/factory/ImportAsyncComponent.tsx:16
↓ 7 callers
Function
clear
()
src/hooks/web/useLockPage.ts:21
↓ 7 callers
Function
useDarkModeSetting
()
src/hooks/setting/useDarkModeSetting.ts:6
↓ 6 callers
Function
handleTagAction
(action: TagActionEnum, tag?: RouteLocationNormalized)
src/hooks/web/useTags.ts:36
↓ 6 callers
Method
remove
(key: K)
src/utils/cache/memory.ts:57
↓ 6 callers
Function
useHeaderSetting
()
src/hooks/setting/useHeaderSetting.ts:4
↓ 5 callers
Function
baseHandler
(event: HandlerEnum, value: any)
src/layout/setting/handler.ts:102
↓ 5 callers
Method
emit
(type: Key, event: Events[Key])
src/utils/mitt.ts:31
↓ 5 callers
Function
getAsyncMenus
()
src/router/menus/index.ts:23
↓ 5 callers
Function
getConfig
(config: Partial<TreeHelperConfig>)
src/utils/helper/treeHelper.ts:13
↓ 5 callers
Function
getImageSize
(url: string)
src/utils/image.ts:51
↓ 5 callers
Function
resultError
(message = '失败', { code = -1, data = null } = {})
mock/_util.ts:19
↓ 5 callers
Function
start
()
src/components/CountTo/src/index.tsx:31
↓ 4 callers
Function
deepMerge
( source: T, target: U, mergeArrays: 'union' | 'intersection' | 'concat' | 'replace' = 'replace' )
src/utils/index.ts:18
↓ 4 callers
Function
generatorOptions
(options: any[])
src/components/ApiCompo/src/components/ApiCascader.tsx:182
↓ 4 callers
Function
generatorTreeData
(options: any[])
src/components/ApiCompo/src/components/ApiTree.tsx:192
↓ 4 callers
Function
generatorTreeData
(options: any[])
src/components/ApiCompo/src/components/ApiTreeSelect.tsx:192
↓ 4 callers
Method
getLocal
(key: LocalKeys)
src/utils/cache/persistent.ts:48
↓ 4 callers
Function
hasClass
(el: Element, cls: string)
src/utils/dom.ts:30
↓ 4 callers
Function
isDef
(val?: T)
src/utils/is.ts:35
↓ 4 callers
Function
loop
(data: TreeProps['treeData'] = [], key: string | number, callback: any)
src/views/tree/antd-tree/index.tsx:45
↓ 4 callers
Function
on
( element: Element | HTMLElement | Document | Window, event: string, handler: EventListenerOrEventListen
src/utils/dom.ts:12
↓ 4 callers
Method
on
(type: Key, handler: Handler<Events[Key]>)
src/utils/mitt.ts:25
↓ 4 callers
Function
openWindow
( url: string, opt?: { target?: TargetContext | string noopener?: boolean noreferrer?: boolean
src/utils/index.ts:68
↓ 4 callers
Function
resultSuccess
(data: T, { message = '成功' } = {})
mock/_util.ts:10
↓ 3 callers
Function
addLight
* Sums the passed percentage to the R, G or B of a HEX color * @param {string} color The color to change * @param {number} amount The amount to chan
src/utils/color.ts:98
↓ 3 callers
Function
calcImageSize
( imageTrueW: number, imageTrueH: number, showAreaW: number, showAreaH: number )
src/utils/image.ts:109
↓ 3 callers
Function
calcTextNodeHeight
(y: number)
src/components/DndNode/src/DndNode.tsx:40
↓ 3 callers
Function
closeMenu
()
src/layout/sider/HybridSider/index.tsx:187
↓ 3 callers
Function
createFakeUserList
()
mock/data/user.ts:4
↓ 3 callers
Function
createLocalStorage
(options: Options = {})
src/utils/cache/index.ts:26
↓ 3 callers
Function
fetchData
()
src/components/ApiCompo/src/components/ApiCheckboxGroup.tsx:104
↓ 3 callers
Function
fetchData
()
src/components/ApiCompo/src/components/ApiSelect.tsx:103
↓ 3 callers
Function
fetchData
()
src/components/ApiCompo/src/components/ApiRadioGroup.tsx:105
↓ 3 callers
Function
fetchData
()
src/components/ApiCompo/src/components/ApiTree.tsx:111
↓ 3 callers
Function
fetchData
()
src/components/ApiCompo/src/components/ApiTreeSelect.tsx:112
↓ 3 callers
Function
fetchData
()
src/components/ApiCompo/src/components/ApiCascader.tsx:106
↓ 3 callers
Function
fetchData
()
src/components/ApiCompo/src/components/ApiTransfer.tsx:93
↓ 3 callers
Function
genTreeNode
(parentId: number, isLeaf = false)
src/views/form/basic-form/index.tsx:100
↓ 3 callers
Function
getAllParentPath
(menus: T[], path: string)
src/router/helper/menuHelper.ts:6
↓ 3 callers
Function
getAuthCache
(key: BasicKeys)
src/utils/auth/index.ts:12
↓ 3 callers
Function
getChildrenMenus
(parentPath: string)
src/router/menus/index.ts:47
↓ 3 callers
Function
getCurrentParentPath
(currentPath: string)
src/router/menus/index.ts:59
↓ 3 callers
Function
getEle
(elRef: Ref<ElRef | ComponentRef>)
src/layout/sider/useLayoutSider.ts:21
↓ 3 callers
Method
getKey
(key: string)
src/utils/cache/storageCache.ts:48
↓ 3 callers
Function
getRawRoute
(route: RouteLocationNormalized)
src/utils/index.ts:51
↓ 3 callers
Function
getScrollOptions
(el: HTMLElement, instance: ComponentPublicInstance)
src/directives/infiniteScroll.ts:48
↓ 3 callers
Function
getToTarget
(tagItem: RouteLocationNormalized)
src/stores/modules/tags.ts:21
↓ 3 callers
Function
handle
()
src/components/Menu/src/useOpenKeys.ts:29
↓ 3 callers
Function
handleChangeStyle
(type: 'fontWeight' | 'fontStyle' | 'textShadow', val: string)
src/components/RichText/src/RichTextSetting.tsx:56
↓ 3 callers
Function
handleFormValues
(values: Recordable)
src/components/Form/src/hooks/useFormValues.ts:89
↓ 3 callers
Function
handleGotoPage
(router: Router)
src/stores/modules/tags.ts:16
↓ 3 callers
Function
handleMenuChange
(route?: RouteLocationNormalizedLoaded)
src/components/Menu/src/index.tsx:69
↓ 3 callers
Function
handleMove
(offset: number)
src/layout/tags/index.tsx:140
↓ 3 callers
Function
handler
(event: HandlerEnum, value: any)
src/layout/setting/handler.ts:8
↓ 3 callers
Function
initCharts
(t = theme)
src/hooks/web/useECharts.ts:33
↓ 3 callers
Function
listenerRouteChange
(callback: (route: RouteLocationNormalized) => void, immediate = true)
src/logics/mitt/routeChange.ts:24
↓ 3 callers
Function
removeClass
(el: Element, cls: string)
src/utils/dom.ts:62
↓ 3 callers
Function
removeEventListener
(e: Element)
src/hooks/event/useEventListener.ts:34
↓ 3 callers
Function
setActive
(setChildren = false)
src/layout/sider/HybridSider/index.tsx:150
↓ 3 callers
Method
setLocal
(key: LocalKeys, value: LocalStore[LocalKeys], immediate = false)
src/utils/cache/persistent.ts:52
↓ 3 callers
Function
subtractLight
* Subtracts the indicated percentage to the R, G or B of a HEX color * @param {string} color The color to change * @param {number} amount The amount
src/utils/color.ts:147
↓ 3 callers
Function
useAppStoreWithOut
()
src/stores/modules/app.ts:68
↓ 3 callers
Function
useBindValue
( props: T, key: keyof T = 'value', changeEvent = 'change', emitData?: Ref<any[]> )
src/components/ApiCompo/src/hooks/useBindValue.ts:12
↓ 3 callers
Function
useLayout
()
src/layout/useLayout.ts:6
↓ 3 callers
Function
useMessage
()
src/hooks/web/useMessage.tsx:57
↓ 3 callers
Function
useScrollTo
({ el, to, duration = 500, callback }: ScrollToParams)
src/hooks/event/useScrollTo.ts:26
↓ 3 callers
Function
useTimeoutFn
(handle: Fn<any>, wait: number, native = false)
src/hooks/core/useTimeout.ts:5
↓ 3 callers
Function
useTransitionSetting
()
src/hooks/setting/useTransitionSetting.ts:4
↓ 2 callers
Function
_formatTime
(time: string, format: string)
src/components/Form/src/hooks/useFormValues.ts:46
↓ 2 callers
Function
_getFormAllFields
()
src/components/Form/src/hooks/useFormEvents.ts:62
↓ 2 callers
Function
_setDefaultValue
(data: FormSchemaType | FormSchemaType[])
src/components/Form/src/hooks/useFormEvents.ts:69
↓ 2 callers
Function
addEventListener
(e: Element)
src/hooks/event/useEventListener.ts:38
↓ 2 callers
Function
addResizeListener
(element: any, fn: () => any)
src/utils/resizeEvent.ts:23
↓ 2 callers
Function
checkFull
(el: InfiniteScrollEl, cb: InfiniteScrollCallback)
src/directives/infiniteScroll.ts:96
↓ 2 callers
Function
classNameToArray
(cls = '')
src/utils/dom/style.ts:5
↓ 2 callers
Method
clearAll
(immediate = false)
src/utils/cache/persistent.ts:86
↓ 2 callers
Function
close
(route: RouteLocationNormalized)
src/stores/modules/tags.ts:118
↓ 2 callers
Method
createAesEncryption
(params: EncryptionParams)
src/utils/cipher.ts:44
↓ 2 callers
Function
createDocumentHandler
(el: HTMLElement, binding: DirectiveBinding)
src/directives/clickOutside.ts:28
↓ 2 callers
Function
createOptions
(storage: Storage, options: Options = {})
src/utils/cache/index.ts:6
↓ 2 callers
Function
createStorage
({ prefixKey = '', storage = sessionStorage, hasEncrypt = true, key = cacheCipher.key, iv = cacheCip
src/utils/cache/storageCache.ts:13
↓ 2 callers
Method
decrypt
(cipherText: string)
src/utils/cipher.ts:9
↓ 2 callers
Function
destroyObserver
(el: InfiniteScrollEl)
src/directives/infiniteScroll.ts:60
↓ 2 callers
Function
downloadImgByBase64
(buf: string, filename: string, mineType?: string, bom?: BlobPart)
src/utils/download.ts:24
next →
1–100 of 730, ranked by callers