MCPcopy Create free account

hub / github.com/Feather-2/Burner-X / functions

Functions2,373 in github.com/Feather-2/Burner-X

↓ 3 callersFunctionnormalizeRelativePath
(record)
js/history/history.js:1996
↓ 3 callersFunctiono
(e,t,r,n,i)
js/lib/jszip.min.js:13
↓ 3 callersFunctionopenHistoryClearModal
(mode = 'all', { recordId = null, recordName = '' } = {})
js/history/history.js:209
↓ 3 callersFunctionparseBoolean
(value, defaultValue = true)
workers/pb-ocr-proxy/src/index.js:126
↓ 3 callersMethodparsePixelValue
(value)
js/history/exporter/history_exporter_docx.js:1307
↓ 3 callersFunctionparseSimpleGlossaryText
(text)
js/ui/glossary-ui.js:197
↓ 3 callersFunctionperformModelDetection
(baseUrlInput, apiKey, requestFormat = 'openai', endpointMode = 'auto')
js/api/model-detector.js:170
↓ 3 callersFunctionreQueryDynamicElements
()
js/ui/immersive_layout_logic.js:46
↓ 3 callersFunctionrenameGlossarySet
(id, newName)
js/storage/storage.js:757
↓ 3 callersFunctionrenderBatch
* 批量渲染公式
js/workers/katex-worker.js:113
↓ 3 callersFunctionrenderEntriesTable
(setId)
js/ui/glossary-ui.js:1003
↓ 3 callersFunctionrenderFolderListItem
({ id, name, count, system })
js/history/history.js:805
↓ 3 callersFunctionrenderMarkdown
(markdown, images)
js/history/history_exporter.js:1384
↓ 3 callersFunctionrenderSidebarQuickAccess
()
js/history/history.js:20
↓ 3 callersFunctionrenderTocList
* 生成并渲染TOC目录列表。 * - 清空现有列表。 * - 从 `.container` 中查找所有 `h1`, `h2`, `h3`, `h4`, `h5`, `h6` 元素作为TOC条目。 * - 为每个标题元素生成一个列表项,包含其文本和可选的英文翻译(来自 `to
js/ui/toc_logic.js:419
↓ 3 callersMethodrerank
* 重排文档(带容错) * @param {string} query - 查询文本 * @param {Array<string|Object>} documents - 文档数组,可以是字符串或包含text字段的对象 * @param {Object} opt
js/chatbot/agents/rerank-client.js:72
↓ 3 callersMethodresetFilters
()
js/ui/prompt-pool-ui.js:931
↓ 3 callersFunctionresetStep2State
()
js/history/history.js:199
↓ 3 callersMethodresurrectPrompt
* 复活提示词
js/process/prompt-pool.js:808
↓ 3 callersFunctionretryWithBackoff
* 带重试的LLM调用包装器(指数退避 + 抖动) * - 重试条件:408/429/5xx 或明显的网络错误 * - 默认为 3 次重试,基准延迟 600ms,上限 5000ms * @param {Function} fn - 要执行的异步函数 * @param {Obj
js/chatbot/agents/semantic-grouper.js:20
↓ 3 callersFunctions
(e,t,r,n)
js/lib/jszip.min.js:13
↓ 3 callersFunctionsafeEscapeHtml
* 安全地转义 HTML(优先使用 ChatbotUtils,降级到本地实现) * @param {string} str - 需要转义的字符串 * @returns {string} 转义后的安全字符串
js/chatbot/renderers/chatbot-mermaid-renderer.js:21
↓ 3 callersFunctionsanitizeFileName
* 将所有成功处理的文档结果打包成一个 ZIP 文件并触发下载。 * * 主要流程: * 1. **筛选结果**:从 `allResultsData` 中筛选出没有错误、包含 Markdown 内容且未被跳过的成功处理结果。 * 2. **空结果检查**:如果没有成功的处理结果,则显
js/process/download.js:37
↓ 3 callersFunctionsanitizeFileName
(name)
js/history/exporter/history_exporter_docx.js:1883
↓ 3 callersFunctionsanitizeId
(id)
js/history/history.js:1495
↓ 3 callersFunctionsaveEntriesToIDB
* 批量保存术语条目到 IndexedDB(优化版 - 分块处理) * @param {string} setId - 术语库 ID * @param {Array} entries - 术语条目数组 * @param {Function} onProgress - 进度回调 (curr
js/storage/glossary-storage.js:174
↓ 3 callersFunctionsaveExtractedReferences
* 保存提取的文献
js/ui/reference-manager-detail.js:1478
↓ 3 callersFunctionsaveGlossarySetToIDB
* 保存术语库集合到 IndexedDB
js/storage/glossary-storage.js:110
↓ 3 callersFunctionsaveResultToDB
(resultObj)
js/storage/storage.js:318
↓ 3 callersFunctionsaveScrollPosition
()
js/history/history_detail_globals.js:189
↓ 3 callersFunctionsaveUserFolders
(folders)
js/history/history.js:626
↓ 3 callersFunctionselectModelForManager
(modelKey)
js/ui/ui.js:129
↓ 3 callersMethodshouldRerank
* 检查是否应该对某种搜索类型使用重排 * @param {string} searchType - 搜索类型: 'vector' | 'bm25' | 'hybrid' * @returns {boolean}
js/chatbot/agents/rerank-client.js:58
↓ 3 callersMethodshowProgress
* 显示进度
js/ui/reference-manager-ui.js:1165
↓ 3 callersFunctionstyleToString
* 样式对象转回字符串
js/chatbot/utils/drawio-academic-enhancer.js:38
↓ 3 callersMethodswitchEngine
* 切换 OCR 引擎(显示/隐藏对应配置面板) * @param {string} engine - 引擎名称: 'none' | 'local' | 'mistral' | 'mineru' | 'doc2x'
js/ui/ocr-settings.js:381
↓ 3 callersFunctionswitchToSource
(sourceType)
js/chatbot/ui/chatbot-model-config-modal.js:500
↓ 3 callersFunctionsyncDockData
* 同步所有 Dock 统计数据到侧边栏
js/ui/sidebar-integration.js:504
↓ 3 callersFunctiontoggleTocItem
* 现代化平滑切换TOC项的折叠状态 * @param {HTMLElement} toggleBtn - 折叠/展开按钮元素 * @param {HTMLElement} childrenContainer - 子项容器元素
js/ui/toc_logic_enhanced.js:306
↓ 3 callersFunctiontoggleTocItem
* 切换TOC项的折叠状态 * @param {HTMLElement} toggleBtn - 折叠/展开按钮元素 * @param {HTMLElement} childrenContainer - 子项容器元素
js/ui/toc_logic.js:315
↓ 3 callersFunctionu
(r,e)
js/lib/jszip.min.js:13
↓ 3 callersFunctionupdateBatchConfigCollapse
()
js/app.js:1135
↓ 3 callersFunctionupdateCustomLanguageInputVisibility
* 根据目标语言下拉菜单的选择,更新自定义语言输入框的可见性。 * 如果选择了 "custom",则显示自定义语言名称输入框,否则隐藏。
js/app.js:1615
↓ 3 callersFunctionupdateCustomSourceSiteInfo
(siteId)
js/ui/ui.js:1725
↓ 3 callersFunctionupdateOverallProgress
(success, skipped, errors, totalFiles)
js/ui/ui-processing.js:381
↓ 3 callersFunctionupdatePanelContent
* 更新面板内容
js/ui/reference-manager-detail.js:395
↓ 3 callersMethodupdatePromptList
* 更新提示词列表显示
js/ui/prompt-pool-ui.js:942
↓ 3 callersFunctionupdateReferenceCount
* 更新文献计数
js/ui/reference-manager-detail.js:1229
↓ 3 callersFunctionupdateTocModeSelectorVisibility
* 更新TOC模式选择器的可见性,仅在分块对比模式下显示
js/ui/toc_logic_enhanced.js:426
↓ 3 callersFunctionupdateTocModeSelectorVisibility
* 更新TOC模式选择器的可见性,仅在分块对比模式下显示
js/ui/toc_logic.js:384
↓ 3 callersFunctionupdateTranslationUIVisibility
* 根据是否选择自定义翻译模型,更新相关 UI 元素的可见性和状态。 * 当用户在翻译模型下拉菜单中选择 "custom" 或从 "custom" 切换到其他模型时,此函数被调用。 * * 主要操作: * - 显示或隐藏自定义源站点容器 (`customSourceSiteConta
js/index.js:72
↓ 3 callersFunctionvalidateEmail
(email)
server/src/utils/validation.js:52
↓ 2 callersFunctionH
()
js/lib/jszip.min.js:13
↓ 2 callersFunctionM
(e,t,r,n,i)
js/lib/jszip.min.js:13
↓ 2 callersFunctionV
(e,t,r)
js/lib/jszip.min.js:13
↓ 2 callersFunctionW
(e,t)
js/lib/jszip.min.js:13
↓ 2 callersFunctionX
(e,t,r)
js/lib/jszip.min.js:13
↓ 2 callersMethod_calculatePercentile
* 计算百分位数(线性插值法) * @private
js/history/modules/PDFExporter.js:329
↓ 2 callersMethod_ensureImageDataUri
(data, name)
js/process/ocr-adapters/doc2x-adapter.js:511
↓ 2 callersMethod_ensureImageDataUri
(data, name)
js/process/ocr-adapters/mineru-adapter.js:425
↓ 2 callersFunction_filterAndSortMatches
* 过滤和排序匹配结果,优先保留重要术语 * @param {Array} matches - 原始匹配结果 * @returns {Array} 过滤和排序后的匹配结果
js/process/glossary-core.js:130
↓ 2 callersMethod_getDefaultSettings
()
js/storage/storage-adapter.js:332
↓ 2 callersMethod_getResolver
* 获取解析器实例
js/processing/reference-doi-resolver.js:1394
↓ 2 callersMethod_guessMimeByName
(name)
js/process/ocr-adapters/doc2x-adapter.js:526
↓ 2 callersMethod_guessMimeByName
(name)
js/process/ocr-adapters/mineru-adapter.js:441
↓ 2 callersMethod_handleDelete
* 删除消息 * @param {number} index - 消息索引 * @param {Event} event - 原始事件对象 * @private
js/chatbot/core/chat-message-event-manager.js:142
↓ 2 callersMethod_hasAsciiWord
* 检查位置是否有 ASCII 字符(用于判断是否需要边界检查)
js/process/glossary-matcher.js:63
↓ 2 callersMethod_hasMatchAtPosition
(text, startPos, root, caseSensitive)
js/process/glossary-matcher.js:154
↓ 2 callersMethod_isCJKChar
* 判断是否为 CJK 字符 * * @private * @param {string} char * @returns {boolean}
js/utils/text-fitting.js:250
↓ 2 callersFunction_isChunkFailed
(text)
js/history/history.js:2257
↓ 2 callersMethod_measureTextWidth
* 测量文本宽度(使用 Canvas) * * @private * @param {string} text * @param {number} fontSize * @param {string} fontFamily * @returns {number}
js/utils/text-fitting.js:274
↓ 2 callersMethod_moveKey
* 调整指定索引处的 Key 在列表中的顺序(即优先级)。 * 根据 `direction` 参数,将 Key 向上或向下移动一位。 * 实现方式是通过交换目标 Key 与相邻 Key 的 `order` 属性值, * 然后对整个 `this.keys` 数组按
js/ui/key-manager-ui.js:506
↓ 2 callersMethod_persistToBackend
()
js/process/prompt-pool.js:1171
↓ 2 callersMethod_searchFromPosition
* 从指定位置开始搜索
js/process/glossary-matcher.js:94
↓ 2 callersMethod_searchMainThread
* 主线程计算(回退方案)
js/chatbot/agents/vector-store.js:274
↓ 2 callersFunction_setBusy
(id, busy, msg = '')
js/history/history.js:2272
↓ 2 callersMethod_updateKeyStatusIndicator
* 更新 Key 状态的视觉指示器(DOM 元素)的样式和内容。 * 根据传入的 `status`,此方法会修改 `indicatorElement` 的文本内容和 CSS 类名, * 以便直观地展示 Key 的当前状态。 * * 支持的状态及其对应样
js/ui/key-manager-ui.js:407
↓ 2 callersFunctionaddChunkHighlightStyles
* 添加分块高亮样式
js/ui/chunk_compare_integration.js:375
↓ 2 callersMethodaddFlashAnimation
* 添加闪烁动画 * @param {HTMLElement} element - 目标元素
js/processing/reference-indexer.js:314
↓ 2 callersFunctionaddMermaidButtons
(mermaidDiv, currentCodeForError)
js/chatbot/renderers/chatbot-mermaid-renderer.js:50
↓ 2 callersMethodaddVariationsToPool
* 批量添加变体到提示词池
js/process/prompt-pool.js:873
↓ 2 callersFunctionadjustLongHeadingsToParagraphs
(parentElement)
js/history/history_detail_globals.js:101
↓ 2 callersFunctionanalyzeAndPreview
()
js/ui/glossary-ui.js:762
↓ 2 callersFunctionanalyzeQueryType
* 分析查询类型 * @param {string} query - 用户查询 * @returns {string} 查询类型 (overview/analytical/extraction/specific)
js/chatbot/core/smart-granularity-selector.js:71
↓ 2 callersFunctionapplyAnnotationToElement
* 辅助函数,将批注样式和事件应用到指定的元素 (块或子块) * @param {HTMLElement} element - 目标DOM元素 * @param {Object} annotation - 批注对象 * @param {string} contentIdentifier
js/annotations/annotation_highlighter.js:426
↓ 2 callersFunctionapplyBlockFormulaHighlight
(element, annotation, formulaElement, color, note)
js/annotations/annotation_highlighter.js:1078
↓ 2 callersFunctionapplyCrossBlockHighlightStyle
(element, annotation, color, note, position, totalCount)
js/annotations/annotation_highlighter.js:1800
↓ 2 callersFunctionapplyDagreLayout
* 使用 Dagre 算法进行层次化布局(Sugiyama 算法) * 这是图布局的标准算法,能显著减少连线交叉 * * @param {Document} xmlDoc - XML 文档对象 * @param {Object} options - 布局选项 * @returns {num
js/chatbot/utils/drawio-layout-optimizer.js:142
↓ 2 callersFunctionapplyFormulaAnnotation
(element, annotation, contentIdentifier, elementIdentifier, elementType, formulaInfo)
js/annotations/annotation_highlighter.js:1043
↓ 2 callersFunctionapplyInlineFormulaHighlight
(element, annotation, formulaElement, color, note)
js/annotations/annotation_highlighter.js:1096
↓ 2 callersFunctionapplyPdfPreset
(paper)
js/history/history_exporter.js:60
↓ 2 callersFunctionapplyRatioToAllFlexPairsInBlock
(blockIndexToUpdate)
js/history/history_detail_show_tab.js:1053
↓ 2 callersFunctionapplyStandardHighlight
(element, annotation, elementIdentifier, elementType)
js/annotations/annotation_highlighter.js:881
↓ 2 callersFunctionbase64ToArrayBuffer
(base64)
js/history/history.js:2124
↓ 2 callersMethodbase64ToUint8Array
* Base64 转 Uint8Array
js/history/history_pdf_compare.js:399
↓ 2 callersMethodbatchQuery
* 批量查询 * @param {Array} references - 文献列表 * @returns {Promise<Array>} 查询结果
js/processing/reference-doi-resolver.js:1119
↓ 2 callersMethodbatchResolve
* 批量解析(漏斗形) * @param {Array} references - 文献列表 * @param {Function} progressCallback - 进度回调 * @returns {Promise<Array>} 解
js/processing/reference-doi-resolver.js:1247
↓ 2 callersMethodbatchUpsert
* 批量插入 * @param {Array<{id: string, vector: number[], metadata: Object}>} items
js/chatbot/agents/vector-store.js:120
↓ 2 callersFunctionbindCrossBlockAnnotationEvents
(element, annotation, contentIdentifier, affectedSubBlocks)
js/annotations/annotation_highlighter.js:1858
↓ 2 callersFunctionbindScrollForCurrentScrollable
()
js/ui/dock/dock_logic.js:86
← previousnext →401–500 of 2,373, ranked by callers