MCPcopy Index your code

hub / github.com/czy0729/Bangumi / functions

Functions5,393 in github.com/czy0729/Bangumi

↓ 1,117 callersFunctionrc
( a: A, b?: B )
src/utils/dev/index.ts:49
↓ 852 callersMethodmap
()
src/screens/home/link/store/computed.ts:43
↓ 824 callersFunctiont
(desc: EventKeys, eventData?: EventData)
src/utils/track/index.ts:70
↓ 761 callersFunctionuseStore
(componentUniqueKey?: string)
src/stores/utils.ts:48
↓ 525 callersMethodselect
(URI uri)
android/app/src/main/java/com/czy0729/bangumi/doh/BangumiOkHttpClientFactory.java:141
↓ 470 callersFunctioninfo
( content: string | number = '网络错误', duration: number = 2.4, onClose: Fn = FROZEN_FN, mask: boolean =
src/utils/ui/index.ts:137
↓ 433 callersMethodfilter
()
src/screens/user/v2/store/computed.ts:167
↓ 409 callersFunctiongetTimestamp
(date: string = '', format?: string)
src/utils/date/index.ts:23
↓ 371 callersFunctionr
(key: string, ...other: any[])
src/utils/dev/index.ts:57
↓ 312 callersMethodinit
保证所有子 Store 初始化和加载缓存,只有在第一次初始化后返回 systemStore.setting
src/stores/global.ts:38
↓ 272 callersFunctionstl
(...styles: any[])
src/utils/utils/index.ts:91
↓ 256 callersFunctioncomputedFn
(fn: F)
src/utils/computed-fn/index.ts:18
↓ 255 callersFunctioncText
( $el: any, matchRawTextNode: boolean = false, cleanWhitespace: boolean = false )
src/utils/html/index.ts:290
↓ 251 callersFunctionfeedback
(light?: boolean)
src/utils/ui/index.ts:43
↓ 246 callersFunctioncFind
($el: any, selector: string, index: number | 'last' = 0)
src/utils/html/index.ts:407
↓ 215 callersFunction$
(html: string, start: string, end: string, removeScript: boolean = true)
src/utils/html/index.ts:280
↓ 206 callersMethodget
获取页面 Store
src/stores/global.ts:114
↓ 178 callersFunctioncData
( $el: any, key: | 'id' | 'class' | 'style' | 'href' | 'src' | 'title' | 'valu
src/utils/html/index.ts:328
↓ 176 callersFunctionHTMLDecode
(str: string = '')
src/utils/html/index.ts:64
↓ 167 callersMethodset
(key: K, val: V)
src/utils/thirdParty/pangu-lite/index.ts:200
↓ 161 callersFunctionob
( Component: T, param2?: object | string, param3?: string )
src/utils/decorators/ob/index.ts:20
↓ 158 callersFunctiontoFixed
(value: any, num: number = 2)
src/utils/utils/index.ts:244
↓ 156 callersFunctionopen
(url: string, encode: boolean = false)
src/utils/utils/index.ts:256
↓ 154 callersMethodgetValue
优先通过 label 找 value
src/constants/model/utils.ts:41
↓ 143 callersMethodkeys
()
src/screens/rakuen/history/store/computed.ts:20
↓ 128 callersMethodmax
()
src/screens/tinygrail/deal/store/computed.ts:51
↓ 126 callersFunctionstl
(...styles: any[])
src/components/@/ant-design/modal/utils.ts:9
↓ 118 callersFunctionformatNumber
* 格式化数字,保留最多一位小数,但如果小数部分为0则不显示小数部分 * @param {number} num - 要格式化的数字 * @returns {string} - 格式化后的字符串
src/utils/app/ages.ts:113
↓ 110 callersMethodtext
()
src/components/katakana/index.tsx:90
↓ 107 callersFunctionuseInitStore
(props: NavigationProps, Store: any)
src/stores/utils.ts:21
↓ 102 callersMethodgetLabel
优先通过 value 找 label
src/constants/model/utils.ts:26
↓ 100 callersFunctionconfirm
( content: string, onPress = FROZEN_FN, title = '警告', onCancelPress = FROZEN_FN, confirmText: string
src/utils/ui/index.ts:63
↓ 100 callersMethodfilter
()
src/screens/home/v2/store/computed.ts:113
↓ 94 callersFunctioncheerio
(target: any)
src/stores/users/__tests__/common.test.ts:9
↓ 92 callersFunctionfreeze
(arg: T)
src/utils/app/data-source.ts:90
↓ 91 callersFunctiondesc
(a: any, b: any, fn?: (item: any) => any)
src/utils/utils/index.ts:181
↓ 88 callersFunctiongetStorybookArgs
(routeName: string)
src/components/storybook/navigation.tsx:128
↓ 86 callersFunctionuseNavigation
(componentUniqueKey?: string)
src/utils/hooks/useNavigation.ts:18
↓ 84 callersFunctioncnjp
(cn: any, jp: any)
src/utils/app/data-source.ts:181
↓ 83 callersFunctionusePageLifecycle
(callbacks: Callbacks, id: string)
src/utils/hooks/usePageLifecycle.ts:36
↓ 75 callersFunctionfetchHTML
(args: FetchHTMLArgs)
src/utils/fetch/fetch.ts:106
↓ 75 callersFunctionqueue
(fetchs: Fn[] = [], num: number = 2)
src/utils/fetch/utils.ts:38
↓ 70 callersMethodget
(key: K)
src/utils/thirdParty/pangu-lite/index.ts:193
↓ 69 callersFunctionappNavigate
( url: string = '', navigation?: Navigation, passParams: AnyObject = {}, event: EventType = EVENT, o
src/utils/app/app.ts:174
↓ 66 callersFunctionmemo
( Component: T, defaultProps: P, param3?: string | CustemCompareFn<P> | boolean, param4?: CustemCompar
src/utils/decorators/memo/index.ts:23
↓ 66 callersFunctionupdate
( key: string, value: string | object, updateTS: boolean = true, allowWebCommit: boolean = false, fi
src/utils/kv/index.ts:112
↓ 61 callersFunctioncMap
($el: any, callback: ($ele: any, index?: number) => T)
src/utils/html/index.ts:371
↓ 59 callersFunctionhtmlMatch
(html: string, start: string, end: string, removeScript: boolean = true)
src/utils/html/index.ts:107
↓ 58 callersMethodgetTitle
优先通过 label 找 title, 其次 value
src/constants/model/utils.ts:56
↓ 57 callersMethodfontSize
计算动态文字大小
src/stores/theme/computed.ts:707
↓ 55 callersMethodadd
添加页面 Store
src/stores/global.ts:109
↓ 55 callersMethodtest
()
src/stores/tinygrail/computed.ts:376
↓ 54 callersFunctionpostTask
( callback: () => void, delay: number = WEB ? 1000 : 160, /** * 优先级 * - user-blocking 最高优先级是用于阻止
src/utils/scheduler/index.ts:15
↓ 53 callersFunctiongetCoverSrc
(src: Props['src'], width: number, cdn?: boolean, noDefault?: boolean)
src/components/cover/utils.ts:13
↓ 51 callersMethodcollect
获取指定条目收藏状态, 若传递了 type 会自动转换对应动作
src/stores/collection/computed.ts:41
↓ 50 callersFunctionget
(key: string)
src/utils/kv/index.ts:41
↓ 50 callersFunctionuseMount
(fn: () => void = FROZEN_FN)
src/utils/hooks/useMount.ts:15
↓ 48 callersFunctioncheerio
( target: any, remove: boolean | object = true, decodeEntities: boolean = false )
src/utils/html/index.ts:249
↓ 47 callersFunctionuseAsyncSwitchSetting
(key: SwitchSettingKeys)
src/screens/user/setting/hooks.ts:68
↓ 46 callersFunction__webpack_require__
(moduleId)
src/utils/thirdParty/axios.js:17
↓ 46 callersFunctiondecimal
(value: number)
src/utils/utils/index.ts:471
↓ 46 callersFunctionuseInsets
()
src/utils/hooks/useInsets.ts:15
↓ 46 callersFunctionxhrCustom
(args: XHRCustomArgs)
src/utils/fetch/xhr.ts:70
↓ 45 callersFunctionlv
(item: { cLevel?: number; level?: number })
src/screens/tinygrail/_/characters-modal/utils.ts:19
↓ 44 callersFunctioncopy
(val: any, message: boolean | string = true, ms?: number)
src/utils/ui/index.ts:197
↓ 44 callersMethodtest
()
src/screens/tinygrail/sacrifice/store/computed.ts:130
↓ 43 callersFunctionsetStorage
(key: string, data: any)
src/utils/storage/index.ts:31
↓ 43 callersFunctiontitleCase
(str: S)
src/utils/utils/index.ts:387
↓ 42 callersFunctiongetYuqueThumbs
(src: string[] | readonly string[] | false)
src/screens/user/setting/utils.ts:60
↓ 42 callersMethodlog
开发调试
src/screens/user/zone/store/computed.ts:39
↓ 41 callersFunctiontinygrailOSS
(str: string, w: 120 | 150 | 480 = 120)
src/utils/app/app.ts:346
↓ 40 callersFunctionurlStringify
( data?: Record<string, any>, encode: boolean = true, sort: boolean = false )
src/utils/utils/index.ts:283
↓ 38 callersMethodinfo
()
src/screens/home/mono/store/computed.ts:123
↓ 37 callersFunctionalert
(content: string, title: string = '提示')
src/utils/ui/index.ts:108
↓ 35 callersFunctiondate
(format?: string, timestamp?: any)
src/utils/date/index.ts:47
↓ 35 callersFunctiongetStorage
(key: string)
src/utils/storage/index.ts:19
↓ 35 callersFunctiongetVisualLength
(str: string = '')
src/utils/app/data-source.ts:875
↓ 34 callersFunctionasc
(a: any, b: any, fn?: (item: any) => any)
src/utils/utils/index.ts:165
↓ 34 callersMethodsubject
()
src/screens/home/wiki/store/computed.ts:17
↓ 34 callersFunctionx18
(subjectId: SubjectId, title?: string)
src/utils/app/data-source.ts:193
↓ 34 callersFunctionxhr
( args: XHRArgs, success: (responseText?: string, request?: XMLHttpRequest) => any = FROZEN_FN, fail: Fn
src/utils/fetch/xhr.ts:21
↓ 31 callersFunctionlastDate
(timestamp: number | string, simple: boolean = true)
src/utils/utils/index.ts:527
↓ 31 callersFunctionremoveHTMLTag
(str: any, removeAllSpace: boolean = true)
src/utils/html/index.ts:14
↓ 31 callersFunctionsyncSystemStore
()
src/utils/async/index.ts:25
↓ 31 callersFunctionuseBoolean
(defaultValue: boolean = false)
src/utils/hooks/useBoolean.ts:17
↓ 29 callersFunctionget
(name: DataAssets)
src/utils/protobuf/utils.ts:47
↓ 29 callersMethodwarn
开发调试
src/screens/user/zone/store/computed.ts:44
↓ 28 callersFunctionloading
(text: string = 'Loading...', time: number = 0, delay: number = 1000)
src/utils/ui/index.ts:27
↓ 28 callersFunctionnavigationReference
(navigation?: Navigation | undefined)
src/utils/app/app.ts:115
↓ 27 callersFunctiongets
( keys: Keys, picker?: K[] )
src/utils/kv/index.ts:65
↓ 27 callersFunctionmatchAvatar
(str: string = '')
src/utils/match/index.ts:41
↓ 27 callersFunctionsyncS2T
(str: any = '')
src/utils/async/index.ts:40
↓ 26 callersMethodlog
开发调试
src/utils/store/index.ts:399
↓ 25 callersFunctionfindSubjectCn
(jp: string = '', subjectId?: SubjectId)
src/utils/app/data-source.ts:120
↓ 25 callersFunctionisDevtoolsOpen
()
src/utils/dom/devtools.ts:8
↓ 25 callersFunctionuseRunAfter
( fn = FROZEN_FN, /** @ts-ignore 唯一标识 (web only) */ // eslint-disable-next-line @typescript-eslint/no-u
src/utils/hooks/useRunAfter.ts:12
↓ 24 callersMethodaddListener
()
__mocks__/react-native.js:33
↓ 24 callersFunctiongetJSON
( name: T, defaultValue: any = {}, autoLoad: boolean = false )
src/assets/json/index.ts:146
↓ 24 callersFunctiongetShows
(filter: string, textsAll: T)
src/screens/user/setting/utils.ts:45
↓ 23 callersFunctionHTMLTrim
(str: any = '', deep?: boolean)
src/utils/html/index.ts:87
next →1–100 of 5,393, ranked by callers