MCPcopy Create free account

hub / github.com/Codennnn/Apifox-UI / functions

Functions162 in github.com/Codennnn/Apifox-UI

↓ 22 callersFunctionuseStyles
(fn: StyleFunction<T>)
src/hooks/useStyle.ts:9
↓ 20 callersFunctionuseMenuHelpersContext
()
src/contexts/menu-helpers.tsx:220
↓ 9 callersFunctionuseMenuTabHelpers
()
src/contexts/menu-tab-settings.tsx:72
↓ 9 callersFunctionuseTabContentContext
()
src/components/ApiTab/TabContentContext.tsx:19
↓ 7 callersFunctiongetCatalogType
(type: MenuItemType)
src/helpers.ts:5
↓ 7 callersFunctionhandleChange
(rowIdx: number, v: Partial<Record<keyof Parameter, UnsafeAny>>)
src/components/tab-content/api/components/ParamsEditableTable.tsx:86
↓ 7 callersFunctionuseGlobalContext
()
src/contexts/global.tsx:45
↓ 5 callersFunctionisMenuFolder
(type: MenuItemType)
src/helpers.ts:54
↓ 5 callersFunctionuseHelpers
()
src/hooks/useHelpers.ts:9
↓ 4 callersFunctiondefaultResponse
()
src/data/remote.ts:22
↓ 4 callersFunctiongetCreateType
( type: MenuItemType | CatalogType, )
src/helpers.ts:21
↓ 4 callersFunctiontestIsNewRow
(target: Parameter | undefined)
src/components/tab-content/api/components/ParamsEditableTable.tsx:44
↓ 3 callersFunctionfindFolders
( menuRawList: ApiMenuData[], folderMenus: ApiMenuData[], parentId: string, )
src/helpers.ts:124
↓ 3 callersFunctionhasAccentColor
(type: UnsafeAny)
src/helpers.ts:160
↓ 3 callersFunctionmoveArrayItem
(arr: T[], fromIndex: number, toIndex: number)
src/utils.ts:24
↓ 3 callersFunctionuseMenuTabContext
()
src/contexts/menu-tab-settings.tsx:51
↓ 2 callersFunctioncreateApiDetails
( payload?: Partial<ApiTabItem>, config?: { autoActive?: boolean; replaceTab?: ApiTabItem['key'] } )
src/hooks/useHelpers.ts:12
↓ 2 callersFunctioncreateApiRequest
( payload?: Partial<ApiTabItem>, config?: { autoActive?: boolean; replaceTab?: ApiTabItem['key'] } )
src/hooks/useHelpers.ts:30
↓ 2 callersFunctioncreateApiSchema
( payload?: Partial<ApiTabItem>, config?: { autoActive?: boolean; replaceTab?: ApiTabItem['key'] } )
src/hooks/useHelpers.ts:64
↓ 2 callersFunctioncreateDoc
( payload?: Partial<ApiTabItem>, config?: { autoActive?: boolean; replaceTab?: ApiTabItem['key'] } )
src/hooks/useHelpers.ts:48
↓ 2 callersFunctiondeserialize
(data: AnyType)
src/utils.ts:13
↓ 2 callersFunctiongetEditorValue
(value: UnsafeAny)
src/components/MonacoEditor/MonacoEditor.tsx:68
↓ 2 callersFunctiongetNodeLevelInfo
(fieldPath: FieldPath[])
src/components/JsonSchema/utils.ts:43
↓ 2 callersFunctiongetPageTitle
(title?: string)
src/utils.ts:3
↓ 2 callersFunctionhandleCreateTabItem
()
src/components/ApiMenu/ApiMenuTitleTop.tsx:71
↓ 2 callersFunctionhandleDuplicate
(rowIdx: number, v: Partial<Parameter>)
src/components/tab-content/api/components/ParamsEditableTable.tsx:59
↓ 2 callersFunctionhandleHide
()
src/components/modals/ModalNewCatalog.tsx:31
↓ 2 callersFunctionhandleHide
()
src/components/modals/ModalMoveMenu.tsx:31
↓ 2 callersFunctionhandleHide
()
src/components/modals/ModalRename.tsx:28
↓ 2 callersFunctionhandleReset
()
src/components/DoubleCheckRemoveBtn.tsx:39
↓ 2 callersFunctionisFirefox
()
src/helpers.ts:190
↓ 2 callersFunctionuseApiMenuContext
()
src/components/ApiMenu/ApiMenuContext.tsx:43
↓ 2 callersFunctionuseApiTabActions
()
src/components/ApiTab/ApiTabAction.tsx:11
↓ 2 callersFunctionuseJsonSchemaContext
()
src/components/JsonSchema/JsonSchema.context.tsx:20
↓ 2 callersFunctionuseLayoutContext
()
src/contexts/layout-settings.tsx:26
↓ 2 callersFunctionuseThemeContext
()
src/components/ThemeEditor/ThemeContext.tsx:118
↓ 1 callersFunctioncountLeaf
(node: CatalogDataNode)
src/components/ApiMenu/ApiMenuTitle.tsx:10
↓ 1 callersFunctionfindChildren
(id: ApiMenuData['id'])
src/helpers.ts:146
↓ 1 callersFunctionfindChildrenById
(arr: ApiMenuData[], id: ApiMenuData['id'])
src/helpers.ts:143
↓ 1 callersFunctiongetAllExpandedKeys
( jsonSchema: JsonSchema, path: FieldPath[] = [], keys: string[] = [] )
src/components/JsonSchema/utils.ts:16
↓ 1 callersFunctiongetContentTypeString
(type: ContentType)
src/helpers.ts:168
↓ 1 callersFunctiongetRefJsonSchema
( menuRawList: ApiMenuData[], modelId: string )
src/components/JsonSchema/utils.ts:53
↓ 1 callersFunctiongroupMenuByType
(menuData: CatalogDataNode[])
src/components/ApiMenu/api-menu-data.tsx:29
↓ 1 callersFunctionhandleFinish
(values)
src/components/tab-content/api/ApiDocEditing.tsx:79
↓ 1 callersFunctionisCreateType
( type: UnsafeAny, )
src/helpers.ts:63
↓ 1 callersFunctionisMenuSameGroup
(left: ApiMenuData, right: ApiMenuData)
src/helpers.ts:91
↓ 1 callersFunctionisPureObject
(value: AnyType)
src/utils.ts:19
↓ 1 callersFunctionisTopMenuType
( type: UnsafeAny, )
src/helpers.ts:79
↓ 1 callersFunctionrenderMenuContent
(props: { menuKey: SettingsMenuKey })
src/components/modals/ModalSettings.tsx:44
↓ 1 callersFunctionrestoreThemeSetting
(autoSaveId: string | undefined)
src/components/ThemeEditor/ThemeEditor.helper.ts:8
↓ 1 callersFunctionstoreThemeSetting
(autoSaveId: string, newThemeSetting: ThemeSetting)
src/components/ThemeEditor/ThemeEditor.helper.ts:4
↓ 1 callersFunctiontransformExampleValue
({ type, example }: Pick<Parameter, 'type' | 'example'>)
src/components/tab-content/api/components/ParamsEditableTable.tsx:16
↓ 1 callersFunctionuseCatalog
({ type, exclued }: UseCatalogParmas)
src/hooks/useCatalog.ts:26
↓ 1 callersFunctionuseCssVariable
()
src/hooks/useCssVariable.tsx:3
↓ 1 callersFunctionuseMenuData
()
src/components/ApiMenu/api-menu-data.tsx:86
FunctionAntdStyleProvider
(props: React.PropsWithChildren)
src/components/AntdStyleProvider.tsx:34
FunctionAntdStyleRegister
* 这部分的代码参考自:https://github.com/ant-design/ant-design/issues/38555#issuecomment-1571203559
src/components/AntdStyleProvider.tsx:11
FunctionApi
()
src/components/tab-content/api/Api.tsx:15
FunctionApiDoc
()
src/components/tab-content/api/ApiDoc.tsx:129
FunctionApiDocEditing
()
src/components/tab-content/api/ApiDocEditing.tsx:42
FunctionApiMenu
()
src/components/ApiMenu/ApiMenu.tsx:29
FunctionApiMenuContextProvider
(props: React.PropsWithChildren)
src/components/ApiMenu/ApiMenuContext.tsx:18
FunctionApiMenuTitle
(props: ApiMenuTitleProps)
src/components/ApiMenu/ApiMenuTitle.tsx:34
FunctionApiMenuTitleTop
(props: ApiMenuTopTitleProps)
src/components/ApiMenu/ApiMenuTitleTop.tsx:37
FunctionApiParameter
({ param }: { param: Parameter })
src/components/tab-content/api/ApiDoc.tsx:58
FunctionApiRemoveButton
(props: { tabKey: string })
src/components/tab-content/api/ApiRemoveButton.tsx:6
FunctionApiSidePanel
(props: { open?: boolean, onClose?: () => void })
src/components/tab-content/api/ApiSidePanel.tsx:6
FunctionApiTab
(props: TabsProps)
src/components/ApiTab/ApiTab.tsx:91
FunctionApiTabAction
()
src/components/ApiTab/ApiTabAction.tsx:39
FunctionApiTabContent
()
src/components/ApiTab/ApiTabContent.tsx:19
FunctionApiTabContentWrapper
(props: React.PropsWithChildren<{ className?: string }>)
src/components/ApiTab/ApiTabContentWrapper.tsx:3
FunctionApiTabLabel
(props: ApiTabLabelProps)
src/components/ApiTab/ApiTabLabel.tsx:16
FunctionAppMenuControls
(props: React.PropsWithChildren)
src/components/ApiMenu/AppMenuControls.tsx:1
FunctionBadgeLabel
(props: React.PropsWithChildren<{ count?: number }>)
src/components/tab-content/api/params/ParamsTab.tsx:9
FunctionBaseFormItems
()
src/components/tab-content/api/components/BaseFormItems.tsx:29
FunctionBaseInfoItem
({ label, value }: { label: string, value?: string })
src/components/tab-content/api/ApiDoc.tsx:45
FunctionBlank
()
src/components/tab-content/Blank.tsx:54
FunctionBodyComp
(props: BodyCompProps)
src/components/tab-content/api/params/ParamsBody.tsx:26
FunctionDataTypeSelect
(props: DataTypeSelectProps)
src/components/DataTypeSelect.tsx:46
FunctionDoc
()
src/components/tab-content/Doc.tsx:19
FunctionDoubleCheckRemoveBtn
(props: DoubleCheckRemoveBtnProps)
src/components/DoubleCheckRemoveBtn.tsx:19
FunctionDraggableTabNode
(props: DraggableTabPaneProps)
src/components/EditableTable.tsx:19
FunctionDraggableTabNode
(props: DraggableTabPaneProps)
src/components/ApiTab/ApiTab.tsx:59
FunctionDropdownActions
(props: React.PropsWithChildren<DropdownActionsProps>)
src/components/ApiMenu/DropdownActions.tsx:26
FunctionEditableTable
(props: EditableTableProps<RecordType>)
src/components/EditableTable备份.tsx:26
FunctionEditableTable
(props: EditableTableProps<RecordType>)
src/components/EditableTable.tsx:55
FunctionEditorX
( props: MonacoEditorProps<ValueType>, ref: React.Ref<MonacoEditorRef<ValueType>>, )
src/components/MonacoEditor/MonacoEditor.tsx:36
FunctionFileAction
(props: { catalog: ApiMenuData })
src/components/ApiMenu/FileAction.tsx:11
FunctionFileIcon
(props: FileIconProps)
src/components/icons/FileIcon.tsx:20
FunctionFolder
()
src/components/tab-content/folder/Folder.tsx:8
FunctionFolderAction
(props: { catalog: ApiMenuData })
src/components/ApiMenu/FolderAction.tsx:15
FunctionFolderApiList
()
src/components/tab-content/folder/FolderApiList.tsx:16
FunctionFolderIcon
(props: FolderIconProps)
src/components/icons/FolderIcon.tsx:12
FunctionFolderSetting
()
src/components/tab-content/folder/FolderSetting.tsx:13
FunctionFooterBar
()
src/app/(main)/components/FooterBar/FooterBar.tsx:18
FunctionGlobalContextProvider
(props: React.PropsWithChildren)
src/contexts/global.tsx:20
FunctionGroupTitle
(props: React.PropsWithChildren<{ className?: string }>)
src/components/tab-content/api/ApiDoc.tsx:37
FunctionGroupTitle
(props: React.PropsWithChildren<{ className?: string }>)
src/components/tab-content/api/components/GroupTitle.tsx:3
FunctionHeaderNav
()
src/components/HeaderNav.tsx:14
FunctionHomeContent
()
src/app/(main)/home/page.tsx:20
next →1–100 of 162, ranked by callers