MCPcopy Create free account

hub / github.com/AlliotTech/ham-exam-web / functions

Functions208 in github.com/AlliotTech/ham-exam-web

FunctionCardAction
({ className, ...props }: React.ComponentProps<"div">)
src/components/ui/card.tsx:51
FunctionCardContent
({ className, ...props }: React.ComponentProps<"div">)
src/components/ui/card.tsx:61
FunctionCardDescription
({ className, ...props }: React.ComponentProps<"div">)
src/components/ui/card.tsx:41
FunctionCardFooter
({ className, ...props }: React.ComponentProps<"div">)
src/components/ui/card.tsx:65
FunctionCardHeader
({ className, ...props }: React.ComponentProps<"div">)
src/components/ui/card.tsx:18
FunctionCardTitle
({ className, ...props }: React.ComponentProps<"div">)
src/components/ui/card.tsx:31
FunctionCheckbox
({ className, ...props }: React.ComponentProps<typeof CheckboxPrimitive.Root>)
src/components/ui/checkbox.tsx:9
FunctionConditionalNavigation
()
src/components/common/ConditionalNavigation.tsx:6
FunctionDialog
({ ...props }: React.ComponentProps<typeof DialogPrimitive.Root>)
src/components/ui/dialog.tsx:9
FunctionDialogClose
({ ...props }: React.ComponentProps<typeof DialogPrimitive.Close>)
src/components/ui/dialog.tsx:21
FunctionDialogContent
({ className, children, showCloseButton = true, ...props }: React.ComponentProps<typeof DialogPrimitiv
src/components/ui/dialog.tsx:41
FunctionDialogDescription
({ className, ...props }: React.ComponentProps<typeof DialogPrimitive.Description>)
src/components/ui/dialog.tsx:105
FunctionDialogFooter
({ className, ...props }: React.ComponentProps<"div">)
src/components/ui/dialog.tsx:85
FunctionDialogHeader
({ className, ...props }: React.ComponentProps<"div">)
src/components/ui/dialog.tsx:75
FunctionDialogOverlay
({ className, ...props }: React.ComponentProps<typeof DialogPrimitive.Overlay>)
src/components/ui/dialog.tsx:25
FunctionDialogPortal
({ ...props }: React.ComponentProps<typeof DialogPrimitive.Portal>)
src/components/ui/dialog.tsx:17
FunctionDialogTitle
({ className, ...props }: React.ComponentProps<typeof DialogPrimitive.Title>)
src/components/ui/dialog.tsx:95
FunctionDialogTrigger
({ ...props }: React.ComponentProps<typeof DialogPrimitive.Trigger>)
src/components/ui/dialog.tsx:13
FunctionExamClient
()
src/app/exam/page.tsx:45
FunctionExamPage
()
src/app/exam/page.tsx:561
FunctionExamResultDialog
({ open, onOpenChange, correct, total, passed, passLine }: Props)
src/components/exam/ExamResultDialog.tsx:15
FunctionExamResumeDialog
({ open, onOpenChange, expiresInMs, answeredCount, total, onResume, onRestart, }: Props)
src/components/exam/ExamResumeDialog.tsx:23
FunctionExamSettingsDialog
({ open, onOpenChange, showExplanation = true, onChangeShowExplanation }: Props)
src/components/exam/ExamSettingsDialog.tsx:22
FunctionExamSubmitConfirmDialog
({ open, onOpenChange, onConfirm, total, answeredCount, flaggedCount, }: Props)
src/components/exam/ExamSubmitConfirmDialog.tsx:23
FunctionExplanationCard
({ question, title }: Props)
src/components/common/ExplanationCard.tsx:12
FunctionGlobalError
({ error, reset, }: { error: Error & { digest?: string }; reset: () => void; })
src/app/error.tsx:6
FunctionHome
()
src/app/page.tsx:13
FunctionInput
({ className, type, ...props }: React.ComponentProps<"input">)
src/components/ui/input.tsx:5
FunctionLabel
({ className, ...props }: React.ComponentProps<typeof LabelPrimitive.Root>)
src/components/ui/label.tsx:8
FunctionMatchSnippet
({ text, query }: { text: string; query: string })
src/components/practice/PracticeSearchDialog.tsx:29
FunctionMessageDialog
({ open, onOpenChange, title = "提示", description, confirmText = "确定", onConfirm, variant = "defa
src/components/common/MessageDialog.tsx:24
FunctionNavigation
()
src/components/common/Navigation.tsx:10
FunctionNotFound
()
src/app/not-found.tsx:3
FunctionPWAUpdatePrompt
()
src/components/common/PWAUpdatePrompt.tsx:8
FunctionPhotoProcessor
()
src/components/photo-processor/PhotoProcessor.tsx:12
FunctionPhotoProcessorPage
()
src/app/photo-processor/page.tsx:12
FunctionPhotoResult
({ result, originalFileName, onDownload }: PhotoResultProps)
src/components/photo-processor/PhotoResult.tsx:15
FunctionPhotoUploader
({ onFileSelect, disabled = false }: PhotoUploaderProps)
src/components/photo-processor/PhotoUploader.tsx:13
FunctionPracticeClient
()
src/app/practice/page.tsx:40
FunctionPracticePage
()
src/app/practice/page.tsx:442
FunctionPracticeResumeDialog
({ open, onOpenChange, noPromptThisBank, setNoPromptThisBank, onRestart, onResume, }: Props)
src/components/practice/PracticeResumeDialog.tsx:25
FunctionPracticeSearchDialog
({ open, onOpenChange, jumpInput, setJumpInput, computedMatches, jumpLoading, onPick, onJump,
src/components/practice/PracticeSearchDialog.tsx:68
FunctionPracticeSettingsDialog
({ open, onOpenChange, order, onChangeOrder, showAnswer, onChangeShowAnswer, showExplanation,
src/components/practice/PracticeSettingsDialog.tsx:27
FunctionPreviewableImage
({ src, alt, title, containerClassName, previewHeightClassName = "h-[80vh]", sizes = "(max-width:
src/components/common/PreviewableImage.tsx:18
FunctionProgress
({ className, value, ...props }: React.ComponentProps<typeof ProgressPrimitive.Root>)
src/components/ui/progress.tsx:8
FunctionQuestionBankSelector
({ selectedVersion, selectedBank, onVersionChange, onBankChange, disabled = false, }: QuestionBankSe
src/components/common/QuestionBankSelector.tsx:49
FunctionQuestionCard
({ index, total, question, selected, onChange, showImmediateAnswer, readOnly, }: Props)
src/components/exam/question-card.tsx:24
FunctionQuestionProgressHeader
({ percent, left, right, meta, }: QuestionProgressHeaderProps)
src/components/common/question-progress-header.tsx:15
FunctionRadioGroup
({ className, ...props }: React.ComponentProps<typeof RadioGroupPrimitive.Root>)
src/components/ui/radio-group.tsx:9
FunctionRadioGroupItem
({ className, ...props }: React.ComponentProps<typeof RadioGroupPrimitive.Item>)
src/components/ui/radio-group.tsx:22
FunctionRootLayout
({ children, }: Readonly<{ children: React.ReactNode; }>)
src/app/layout.tsx:68
FunctionSeparator
({ className, orientation = "horizontal", decorative = true, ...props }: React.ComponentProps<typeof S
src/components/ui/separator.tsx:8
FunctionSheet
({ ...props }: React.ComponentProps<typeof SheetPrimitive.Root>)
src/components/ui/sheet.tsx:9
FunctionSheetClose
({ ...props }: React.ComponentProps<typeof SheetPrimitive.Close>)
src/components/ui/sheet.tsx:17
FunctionSheetContent
({ className, children, side = "right", ...props }: React.ComponentProps<typeof SheetPrimitive.Content
src/components/ui/sheet.tsx:41
FunctionSheetDescription
({ className, ...props }: React.ComponentProps<typeof SheetPrimitive.Description>)
src/components/ui/sheet.tsx:108
FunctionSheetFooter
({ className, ...props }: React.ComponentProps<"div">)
src/components/ui/sheet.tsx:88
FunctionSheetHeader
({ className, ...props }: React.ComponentProps<"div">)
src/components/ui/sheet.tsx:78
FunctionSheetOverlay
({ className, ...props }: React.ComponentProps<typeof SheetPrimitive.Overlay>)
src/components/ui/sheet.tsx:25
FunctionSheetPortal
({ ...props }: React.ComponentProps<typeof SheetPrimitive.Portal>)
src/components/ui/sheet.tsx:21
FunctionSheetTitle
({ className, ...props }: React.ComponentProps<typeof SheetPrimitive.Title>)
src/components/ui/sheet.tsx:98
FunctionSheetTrigger
({ ...props }: React.ComponentProps<typeof SheetPrimitive.Trigger>)
src/components/ui/sheet.tsx:13
FunctionThemeProvider
({ children }: { children: React.ReactNode })
src/components/common/theme-provider.tsx:35
FunctionThemeScript
()
src/components/common/theme-provider.tsx:71
FunctionclearExamSavedState
(bank: string | null)
src/lib/exam-storage.ts:76
FunctionclearSavedState
(bank: string | null)
src/lib/practice-storage.ts:67
Methodconstructor
( message: string, public code?: string, public statusCode?: number, public cause?: Error )
src/lib/error-handler.ts:4
Methodconstructor
(message: string, cause?: Error)
src/lib/error-handler.ts:16
Methodconstructor
(message: string, cause?: Error)
src/lib/error-handler.ts:23
Methodconstructor
(message: string, cause?: Error)
src/lib/error-handler.ts:30
Methodconstructor
()
src/lib/version-status-manager.ts:23
FunctiondefaultIsTypingTarget
(el: EventTarget | null)
src/hooks/useQuestionShortcuts.ts:14
Functionerror
(err: Error)
src/lib/photo-processor.ts:42
MethodgetAvailableBanks
(versionId: QuestionVersionId)
src/lib/question-bank-manager.ts:134
MethodgetAvailableVersions
* 获取可用版本(有至少一个题库可用)
src/lib/version-status-manager.ts:87
MethodgetConfigVersion
()
src/lib/question-bank-manager.ts:70
FunctionhandleChange
()
src/components/common/theme-provider.tsx:46
FunctionhandleConfigUpdate
()
src/components/common/QuestionBankSelector.tsx:114
FunctionhandleDownload
()
src/components/photo-processor/PhotoResult.tsx:16
FunctionhandleFileSelect
(type: PhotoType, file: File)
src/components/photo-processor/PhotoProcessor.tsx:18
FunctionhandleJump
()
src/app/practice/page.tsx:214
FunctionhandleReset
()
src/components/photo-processor/PhotoProcessor.tsx:34
FunctionhandleRestart
()
src/app/practice/page.tsx:260
FunctionhandleRestartConfirm
()
src/app/exam/page.tsx:345
FunctionhandleResume
()
src/app/practice/page.tsx:234
FunctionhandleResumeConfirm
()
src/app/exam/page.tsx:306
FunctionhandleSetOrder
(nextOrder: "sequential" | "random")
src/app/practice/page.tsx:131
FunctionhandleToggleFlag
()
src/app/exam/page.tsx:245
Functionheaders
()
next.config.ts:9
FunctionloadExamSavedState
(bank: string | null)
src/lib/exam-storage.ts:31
FunctionloadNoResume
(bank: string | null)
src/lib/practice-storage.ts:122
FunctionloadQuestions
( bank?: QuestionBank, opts?: { strict?: boolean }, )
src/lib/load-questions.ts:69
FunctionmigrateAllStorage
()
src/lib/storage-migration.ts:227
FunctionneedsMigration
()
src/lib/storage-migration.ts:242
FunctiononBeforeUnload
(e: BeforeUnloadEvent)
src/app/exam/page.tsx:298
FunctiononKeyDown
(e: KeyboardEvent)
src/hooks/useQuestionShortcuts.ts:26
FunctiononUpdate
()
src/components/common/PWAUpdatePrompt.tsx:32
FunctiononVisibility
()
src/components/common/PWAUpdatePrompt.tsx:22
MethodrefreshAllVersionStatuses
* 刷新所有版本状态
src/lib/version-status-manager.ts:119
FunctionreloadWithNewSW
()
src/components/common/PWAUpdatePrompt.tsx:59
← previousnext →101–200 of 208, ranked by callers