Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/Feather-2/Burner-X
/ functions
Functions
2,373 in github.com/Feather-2/Burner-X
⨍
Functions
2,373
◇
Types & classes
126
Function
handleFormatFilterChange
(event)
js/app.js:1152
Function
handleFormatFilterClick
(event)
js/app.js:1168
Function
handleHistoryFolderAction
(event)
js/history/history.js:828
Function
handleHistoryListAction
(event)
js/history/history.js:1516
Function
handleHistoryListChange
(event)
js/history/history.js:1625
Function
handleHistoryListInput
(event)
js/history/history.js:974
Function
handleHistoryListKeydown
(event)
js/history/history.js:984
Function
handleKeydown
(event)
js/ui/ui-model-search.js:49
Function
handlePresetQuestion
* 处理预设问题的点击事件。 * 当用户点击一个预设问题时,此函数会将问题文本填充到聊天输入框, * 并尝试调用全局的 `window.handleChatbotSend` 函数来发送消息。 * * 注意:Mermaid 流程图的 prompt 不在这里注入,而是在 buildSys
js/chatbot/prompt/chatbot-preset.js:117
Function
handleProcessClick
* 处理点击"开始处理"按钮的事件,启动核心的文件处理流程。 * 步骤包括: * 1. 加载最新设置。 * 2. 根据是否需要OCR(PDF文件)和用户选择的翻译模型,初始化 `KeyProvider` 实例。 * 3. 检查所需API Keys是否可用,若不可用则提示用户并中止。
js/app.js:1728
Function
handleReActEvent
(event)
js/chatbot/ui/chatbot-tooltrace-ui.js:670
Function
handleRemoveFile
* 处理从文件列表中移除单个文件的操作。 * @param {number} indexToRemove - 要从 `pdfFiles` 数组中移除的文件的索引。
js/app.js:867
Function
handleResize
* 处理窗口大小变化
js/ui/sidebar-integration.js:667
Function
handleScroll
* 节流滚动事件处理器
js/ui/toc_scroll_sync.js:117
Function
handleSearch
(e)
js/chatbot/ui/chatbot-model-config-modal.js:816
Function
handleStreamEvent
* 处理流式事件
js/chatbot/ui/chatbot-tooltrace-ui.js:487
Function
handleTestAllKeys
(modelName, keysArray)
js/ui/ui.js:1668
Function
handleTocDockDragEnd
()
js/ui/immersive_layout_logic.js:184
Function
handleTocDockDragMove
(event)
js/ui/immersive_layout_logic.js:143
Function
handleTocDockDragStart
(event)
js/ui/immersive_layout_logic.js:123
Function
handleVisibilityChange
()
js/utils/performance-helpers.js:346
Function
handleWindowResize
()
js/ui/immersive_layout_logic.js:624
Function
has
* 检查键是否存在 * @param {*} key - 缓存键 * @returns {boolean}
js/utils/performance-helpers.js:178
Method
hasAnyMatch
* 快速检查文本是否包含任何术语(用于预过滤)
js/process/glossary-matcher.js:140
Function
hasElement
* 检查元素是否存在 * @param {string} key - 元素键名 * @returns {boolean} 元素是否存在
js/ui/ui_dom_elements.js:114
Method
hasUsableKey
(keys = [])
js/ui/ui_model_manager_core.js:116
Function
hash
(data)
server/src/utils/crypto.js:120
Method
highlightBboxOnPDF
* 在 PDF 上高亮 bbox 区域(保留用于兼容)
js/history/history_pdf_compare.js:1049
Method
highlightBboxPair
* 高亮左右对应的 bbox
js/history/history_pdf_compare.js:2038
Method
highlightBboxPairContinuous
* 连续模式:高亮左右对应 bbox(在长画布上,仅该页区域)
js/history/history_pdf_compare.js:1988
Function
highlightBlockOrSubBlock
* 只高亮一个块或子块 * @param {HTMLElement} element - 目标DOM元素 * @param {Object} annotation - 批注对象 * @param {string} contentIdentifier - 内容标识符 ('ocr' 或 't
js/annotations/annotation_highlighter.js:1275
Function
importGlossary
* 从 JSON 文本导入术语库,返回导入后的数组。 * @param {string} jsonText * @returns {Array<Object>}
js/storage/storage.js:549
Method
indexChunks
* 为chunks建立向量索引(新版) * @param {Array<Object>} chunks - enrichedChunks数组 * @param {string} docId - 文档ID * @param {Object} options - 选项
js/chatbot/agents/semantic-vector-search.js:137
Method
indexGroups
* 为意群建立向量索引 * @param {Array<Object>} groups - 意群数组 * @param {string} docId - 文档ID * @param {Object} options - 选项
js/chatbot/agents/semantic-vector-search.js:46
Method
inferCategory
* 推断变体类别
js/process/prompt-pool.js:526
Function
info
(...args)
js/chatbot/config/performance-config.js:178
Method
init
* 初始化模型管理器 * @param {Object} elements - DOM 元素对象
js/ui/ui_model_manager_core.js:51
Function
initActivity
()
admin/modules/activity.js:99
Function
initAnnotationSystem
()
js/annotations/annotation_logic.js:522
Function
initQuotas
()
admin/modules/quotas.js:101
Function
initStats
()
admin/modules/stats.js:182
Function
initSystem
()
admin/modules/system.js:147
Function
initialize
* Initializes the Dock component. * Caches DOM elements, restores toggle state, and attaches event listeners. * @param {string} docId - The
js/ui/dock/dock_logic.js:383
Method
initialize
* 初始化文本自适应引擎
js/history/modules/TextFitting.js:35
Function
inlineSpecificStyles
* 智能内联关键样式(仅用于特定元素) * 与旧版不同,这个版本不会盲目复制所有样式 * @param {HTMLElement} element 需要内联样式的元素 * @param {string[]} props 需要内联的属性列表
js/chatbot/utils/chatbot-utils.js:246
Function
isChatbotConfigured
* 检查chatbot是否已配置 * @returns {boolean}
js/chatbot/core/chatbot-config-manager.js:233
Function
isChatbotLoading
()
js/chatbot/core/chatbot-core.js:119
Method
isContextEmpty
* 检测上下文是否为空(仅包含元数据)
js/chatbot/react/engine.js:108
Function
isDrawioLiteDSL
* 检测内容是否为 DrawioLite DSL * @param {string} content - 待检测的内容 * @returns {boolean}
js/chatbot/prompt/drawio-lite-prompt.js:357
Function
isDrawioPicturesRequest
* 检查用户输入是否为配图请求(基于前缀 [加入配图])。 * * @param {string} input - 用户输入文本 * @returns {boolean} - 是否为配图请求
js/chatbot/prompt/chatbot-preset.js:146
Function
isMindMapRequest
* 检查用户输入是否包含思维导图请求关键词 * * @param {string} input - 用户输入文本 * @returns {boolean} - 是否包含思维导图关键词
js/chatbot/prompt/chatbot-preset.js:157
Method
isOverBudget
* 检查是否超出预算
js/chatbot/react/token-budget.js:36
Method
jumpToPage
* 跳转到指定页面
js/ui/chunk_compare_optimizer.js:240
Function
listGroups
(limit = 50, includeDigest = false)
js/chatbot/agents/semantic-tools.js:12
Function
loadEntriesForSet
* 加载指定术语库的条目
app/api/glossary/sets/route.ts:81
Method
loadGlossarySets
()
js/storage/storage-adapter.js:188
Method
loadPromptPool
()
js/storage/storage-adapter.js:309
Function
loadProxySettings
()
admin/admin-enhanced.js:732
Method
loadReferences
(docId)
js/storage/storage-adapter.js:275
Function
loadSemanticGroupsFromDB
* 从 IndexedDB 加载意群数据。 * @param {string} docId 文档唯一ID。 * @returns {Promise<{docId: string, groups: Array<Object>, updatedAt: number} | undefined>}
js/storage/storage.js:399
Method
loadSettings
()
js/storage/storage-adapter.js:96
Function
loadUserActivity
()
admin/admin-enhanced.js:535
Function
loadUserActivity
()
admin/modules/activity.js:58
Function
logDebug
(message, meta = {})
server/src/utils/logger.js:69
Function
logError
(message, error = null, meta = {})
server/src/utils/logger.js:32
Function
logRequest
(req, res, responseTime = null)
server/src/utils/logger.js:78
Function
loop
()
js/chatbot/utils/performance-monitor.js:49
Function
mapLogicalToDOM
(element, logicalOffset)
js/annotations/annotation_highlighter.js:611
Method
markReferenceCitations
* 在文档中标记文献引用(为引用添加链接) * @param {string} markdown - Markdown文本 * @param {Array} references - 文献数组 * @returns {string} 标记后
js/processing/reference-indexer.js:337
Function
mathPlugin
(md)
js/processing/markdown_processor_ast.js:302
Method
navigateToPage
* 导航到指定页面 * @param {number} direction 方向 (-1上一页, 1下一页)
js/ui/chunk_compare_optimizer.js:225
Function
notFound
(req, res, next)
server/src/middleware/notFound.js:1
Function
ocrFixPlugin
(md)
js/processing/markdown_processor_ast.js:111
Method
on
* Subscribe to engine events * @param {string} event - Event name (start, thinking, thought, action_start, action_end, success, error, timeout)
js/processing/react_engine.js:46
Method
onScroll
(scroller)
js/history/history_pdf_compare.js:681
Method
onScroll
(scroller)
js/history/modules/SegmentManager.js:226
Function
open
()
js/chatbot/ui/embedding-config-ui.js:820
Function
openEnhancedEditor
* 打开增强版编辑器 * @param {string} setId - 术语库 ID
js/ui/glossary-editor-enhanced.js:25
Function
openExport
* 打开导出功能(复用旧版的导出模态框)
js/ui/glossary-editor-enhanced.js:653
Function
openGlobalSettings
()
js/chatbot/ui/chatbot-model-config-modal.js:339
Function
openHistoryPanel
()
js/history/history.js:108
Function
openImport
* 打开导入功能(复用旧版的导入模态框)
js/ui/glossary-editor-enhanced.js:642
Function
openMobileSidebar
* 打开移动端侧边栏
js/ui/sidebar-integration.js:194
Function
openModal
* 打开弹窗
js/chatbot/ui/chatbot-model-config-modal.js:1048
Function
optimizeDrawioLayoutMultiPage
* 主优化函数(支持多页图表) * @param {string} xmlString - 原始 draw.io XML 字符串 * @param {Object} options - 优化选项 * @returns {string} 优化后的 XML 字符串
js/chatbot/utils/drawio-layout-optimizer.js:1141
Function
optionalAuth
(req, res, next)
server/src/middleware/auth.js:50
Method
parseChunk
(startIndex)
js/ui/chunk_compare_optimizer.js:749
Function
pause
* 暂停轮询(不清除定时器)
js/utils/performance-helpers.js:390
Function
perf
(message, duration)
js/chatbot/config/performance-config.js:190
Method
pickCandidates
()
js/chatbot/agents/semantic-vector-search.js:387
Function
populateCustomSourceSitesDropdown_ui
(selectedSiteIdToSet = null)
js/ui/ui-key-manager-modal.js:112
Function
populateUserSelect
()
admin/admin-enhanced.js:379
Method
preRender
* 批量预渲染公式 * 用于聊天历史加载时提前渲染常见公式
js/chatbot/utils/katex-cache.js:189
Method
preprocessGlobalFontSizes
* 预处理:使用众数统计计算全局统一的字号 * @param {Array} contentListJson - 原文内容列表 * @param {Array} translatedContentList - 译文内容列表
js/history/modules/TextFitting.js:65
Method
processFile
* 处理文件(子类必须实现) * @param {File} file - PDF 文件 * @param {Function} onProgress - 进度回调 * @returns {Promise<Object>} { markdown: string, images: [
js/process/ocr-manager.js:243
Method
processFile
* 处理文件 * @param {File} file - PDF 文件 * @param {Function} onProgress - 进度回调 * @returns {Promise<Object>} { markdown, images, metadata }
js/process/ocr-adapters/doc2x-adapter.js:28
Method
processFile
* 处理 PDF 文件 * @param {File} file - PDF 文件对象 * @param {Function} onProgress - 进度回调 (current, total, message) * @returns {Promise<{mar
js/process/ocr-adapters/local-adapter.js:37
Method
processFile
* 处理文件(子类必须实现) * @param {File} file - PDF 文件 * @param {Function} onProgress - 进度回调 * @returns {Promise<Object>} { markdown: string, images
js/process/ocr-adapters/base-adapter.js:18
Method
processFile
* 处理文件 * @param {File} file - PDF 文件 * @param {Function} onProgress - 进度回调 * @returns {Promise<Object>} { markdown, images, metadata }
js/process/ocr-adapters/mineru-adapter.js:37
Method
processFile
* 处理文件 * @param {File} file - PDF 文件 * @param {Function} onProgress - 进度回调 * @returns {Promise<Object>} { markdown, images, metadata }
js/process/ocr-adapters/mistral-adapter.js:22
← previous
next →
2,101–2,200 of 2,373, ranked by callers