@opensumi/ide-components 3.8.1-next-1741228774.0 → 3.8.1-next-1741250387.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.js CHANGED
@@ -6067,7 +6067,7 @@ eval("\nObject.defineProperty(exports, \"__esModule\", ({ value: true }));\nexpo
6067
6067
  /***/ ((__unused_webpack_module, exports, __webpack_require__) => {
6068
6068
 
6069
6069
  "use strict";
6070
- eval("\nObject.defineProperty(exports, \"__esModule\", ({ value: true }));\nexports.Popover = exports.PopoverPosition = exports.PopoverTriggerType = void 0;\nconst tslib_1 = __webpack_require__(/*! tslib */ \"../../node_modules/tslib/tslib.es6.mjs\");\nconst classnames_1 = tslib_1.__importDefault(__webpack_require__(/*! classnames */ \"../../node_modules/classnames/index.js\"));\nconst rc_tooltip_1 = tslib_1.__importDefault(__webpack_require__(/*! rc-tooltip */ \"../../node_modules/rc-tooltip/es/index.js\"));\nconst react_1 = tslib_1.__importStar(__webpack_require__(/*! react */ \"../../node_modules/react/index.js\"));\n__webpack_require__(/*! ./styles.less */ \"./src/popover/styles.less\");\nconst button_1 = __webpack_require__(/*! ../button */ \"./src/button/index.tsx\");\nvar PopoverTriggerType;\n(function (PopoverTriggerType) {\n PopoverTriggerType[\"hover\"] = \"hover\";\n PopoverTriggerType[\"click\"] = \"click\";\n PopoverTriggerType[\"focus\"] = \"focus\";\n})(PopoverTriggerType || (exports.PopoverTriggerType = PopoverTriggerType = {}));\nvar PopoverPosition;\n(function (PopoverPosition) {\n PopoverPosition[\"top\"] = \"top\";\n PopoverPosition[\"bottom\"] = \"bottom\";\n PopoverPosition[\"left\"] = \"left\";\n PopoverPosition[\"right\"] = \"right\";\n PopoverPosition[\"topLeft\"] = \"topLeft\";\n PopoverPosition[\"topRight\"] = \"topRight\";\n PopoverPosition[\"bottomLeft\"] = \"bottomLeft\";\n PopoverPosition[\"bottomRight\"] = \"bottomRight\";\n PopoverPosition[\"leftTop\"] = \"leftTop\";\n PopoverPosition[\"leftBottom\"] = \"leftBottom\";\n PopoverPosition[\"rightTop\"] = \"rightTop\";\n PopoverPosition[\"rightBottom\"] = \"rightBottom\";\n})(PopoverPosition || (exports.PopoverPosition = PopoverPosition = {}));\nconst Popover = (_a) => {\n var { children, trigger = PopoverTriggerType.hover, visible, content, position = PopoverPosition.top, showArrow = true, title, titleClassName, overlay, overlayClassName, overlayStyle, action, delay = 200, zIndex = 1000, onClickAction, onVisibleChange, getTooltipContainer } = _a, restProps = tslib_1.__rest(_a, [\"children\", \"trigger\", \"visible\", \"content\", \"position\", \"showArrow\", \"title\", \"titleClassName\", \"overlay\", \"overlayClassName\", \"overlayStyle\", \"action\", \"delay\", \"zIndex\", \"onClickAction\", \"onVisibleChange\", \"getTooltipContainer\"]);\n const handleActionClick = (0, react_1.useCallback)((event) => {\n if (onClickAction) {\n onClickAction(event);\n }\n }, [onClickAction]);\n const overlayContent = (0, react_1.useMemo)(() => {\n if (overlay) {\n return overlay;\n }\n else {\n if (!title && !content) {\n return null;\n }\n return (react_1.default.createElement(react_1.default.Fragment, null,\n title && (react_1.default.createElement(\"p\", { className: (0, classnames_1.default)('kt-popover-title', titleClassName) },\n title,\n action && (react_1.default.createElement(button_1.Button, { size: 'small', type: 'link', onClick: handleActionClick }, action)))),\n content || ''));\n }\n }, [overlay, content, action, handleActionClick]);\n if (!overlayContent) {\n return children;\n }\n return (react_1.default.createElement(rc_tooltip_1.default, Object.assign({}, restProps, { visible: visible, placement: position, mouseEnterDelay: delay ? delay / 1000 : undefined, trigger: trigger, showArrow: showArrow, onVisibleChange: onVisibleChange, overlayClassName: overlayClassName, prefixCls: 'kt-popover', overlayStyle: overlayStyle, getTooltipContainer: getTooltipContainer, overlay: overlayContent, zIndex: zIndex }),\n react_1.default.createElement(\"div\", { className: 'kt-popover-trigger' }, children)));\n};\nexports.Popover = Popover;\n\n\n//# sourceURL=webpack://@opensumi/ide-components/./src/popover/index.tsx?");
6070
+ eval("\nObject.defineProperty(exports, \"__esModule\", ({ value: true }));\nexports.Popover = exports.PopoverPosition = exports.PopoverTriggerType = void 0;\nconst tslib_1 = __webpack_require__(/*! tslib */ \"../../node_modules/tslib/tslib.es6.mjs\");\nconst classnames_1 = tslib_1.__importDefault(__webpack_require__(/*! classnames */ \"../../node_modules/classnames/index.js\"));\nconst rc_tooltip_1 = tslib_1.__importDefault(__webpack_require__(/*! rc-tooltip */ \"../../node_modules/rc-tooltip/es/index.js\"));\nconst react_1 = tslib_1.__importStar(__webpack_require__(/*! react */ \"../../node_modules/react/index.js\"));\n__webpack_require__(/*! ./styles.less */ \"./src/popover/styles.less\");\nconst button_1 = __webpack_require__(/*! ../button */ \"./src/button/index.tsx\");\nvar PopoverTriggerType;\n(function (PopoverTriggerType) {\n PopoverTriggerType[\"hover\"] = \"hover\";\n PopoverTriggerType[\"click\"] = \"click\";\n PopoverTriggerType[\"focus\"] = \"focus\";\n})(PopoverTriggerType || (exports.PopoverTriggerType = PopoverTriggerType = {}));\nvar PopoverPosition;\n(function (PopoverPosition) {\n PopoverPosition[\"top\"] = \"top\";\n PopoverPosition[\"bottom\"] = \"bottom\";\n PopoverPosition[\"left\"] = \"left\";\n PopoverPosition[\"right\"] = \"right\";\n PopoverPosition[\"topLeft\"] = \"topLeft\";\n PopoverPosition[\"topRight\"] = \"topRight\";\n PopoverPosition[\"bottomLeft\"] = \"bottomLeft\";\n PopoverPosition[\"bottomRight\"] = \"bottomRight\";\n PopoverPosition[\"leftTop\"] = \"leftTop\";\n PopoverPosition[\"leftBottom\"] = \"leftBottom\";\n PopoverPosition[\"rightTop\"] = \"rightTop\";\n PopoverPosition[\"rightBottom\"] = \"rightBottom\";\n})(PopoverPosition || (exports.PopoverPosition = PopoverPosition = {}));\nconst Popover = (_a) => {\n var { children, trigger = PopoverTriggerType.hover, visible, content, position = PopoverPosition.top, showArrow = true, title, titleClassName, overlay, overlayClassName, overlayStyle, action, delay, zIndex = 1000, onClickAction, onVisibleChange, getTooltipContainer } = _a, restProps = tslib_1.__rest(_a, [\"children\", \"trigger\", \"visible\", \"content\", \"position\", \"showArrow\", \"title\", \"titleClassName\", \"overlay\", \"overlayClassName\", \"overlayStyle\", \"action\", \"delay\", \"zIndex\", \"onClickAction\", \"onVisibleChange\", \"getTooltipContainer\"]);\n const handleActionClick = (0, react_1.useCallback)((event) => {\n if (onClickAction) {\n onClickAction(event);\n }\n }, [onClickAction]);\n const overlayContent = (0, react_1.useMemo)(() => {\n if (overlay) {\n return overlay;\n }\n else {\n if (!title && !content) {\n return null;\n }\n return (react_1.default.createElement(react_1.default.Fragment, null,\n title && (react_1.default.createElement(\"p\", { className: (0, classnames_1.default)('kt-popover-title', titleClassName) },\n title,\n action && (react_1.default.createElement(button_1.Button, { size: 'small', type: 'link', onClick: handleActionClick }, action)))),\n content || ''));\n }\n }, [overlay, content, action, handleActionClick]);\n if (!overlayContent) {\n return children;\n }\n return (react_1.default.createElement(rc_tooltip_1.default, Object.assign({}, restProps, { visible: visible, placement: position, mouseEnterDelay: delay ? delay / 1000 : undefined, trigger: trigger, showArrow: showArrow, onVisibleChange: onVisibleChange, overlayClassName: overlayClassName, prefixCls: 'kt-popover', overlayStyle: overlayStyle, getTooltipContainer: getTooltipContainer, overlay: overlayContent, zIndex: zIndex }),\n react_1.default.createElement(\"div\", { className: 'kt-popover-trigger' }, children)));\n};\nexports.Popover = Popover;\n\n\n//# sourceURL=webpack://@opensumi/ide-components/./src/popover/index.tsx?");
6071
6071
 
6072
6072
  /***/ }),
6073
6073
 
@@ -7176,7 +7176,7 @@ eval("\nObject.defineProperty(exports, \"__esModule\", ({ value: true }));\nexpo
7176
7176
  /***/ ((__unused_webpack_module, exports) => {
7177
7177
 
7178
7178
  "use strict";
7179
- eval("\nObject.defineProperty(exports, \"__esModule\", ({ value: true }));\nexports.AI_NATIVE_SETTING_GROUP_TITLE = exports.AI_NATIVE_SETTING_GROUP_ID = exports.AINativeSettingSectionsId = void 0;\nvar AINativeSettingSectionsId;\n(function (AINativeSettingSectionsId) {\n /**\n * inline diff preview mode\n */\n AINativeSettingSectionsId[\"InlineDiffPreviewMode\"] = \"ai.native.inlineDiff.preview.mode\";\n AINativeSettingSectionsId[\"InlineChatAutoVisible\"] = \"ai.native.inlineChat.auto.visible\";\n AINativeSettingSectionsId[\"InlineChatCodeActionEnabled\"] = \"ai.native.inlineChat.codeAction.enabled\";\n AINativeSettingSectionsId[\"InterfaceQuickNavigationEnabled\"] = \"ai.native.interface.quickNavigation.enabled\";\n AINativeSettingSectionsId[\"ChatVisibleType\"] = \"ai.native.chat.visible.type\";\n /**\n * Whether to enable prompt engineering, some LLM models may not perform well on prompt engineering.\n */\n AINativeSettingSectionsId[\"IntelligentCompletionsPromptEngineeringEnabled\"] = \"ai.native.intelligentCompletions.promptEngineering.enabled\";\n AINativeSettingSectionsId[\"IntelligentCompletionsDebounceTime\"] = \"ai.native.intelligentCompletions.debounceTime\";\n AINativeSettingSectionsId[\"IntelligentCompletionsCacheEnabled\"] = \"ai.native.intelligentCompletions.cache.enabled\";\n AINativeSettingSectionsId[\"IntelligentCompletionsAlwaysVisible\"] = \"ai.native.intelligentCompletions.alwaysVisible\";\n /**\n * Code edits settings\n */\n AINativeSettingSectionsId[\"CodeEditsLintErrors\"] = \"ai.native.codeEdits.lintErrors\";\n AINativeSettingSectionsId[\"CodeEditsLineChange\"] = \"ai.native.codeEdits.lineChange\";\n AINativeSettingSectionsId[\"CodeEditsTyping\"] = \"ai.native.codeEdits.typing\";\n AINativeSettingSectionsId[\"CodeEditsRenderType\"] = \"ai.native.codeEdits.renderType\";\n /**\n * Language model API keys\n */\n AINativeSettingSectionsId[\"LLMModelSelection\"] = \"ai.native.llm.model.selection\";\n AINativeSettingSectionsId[\"ModelID\"] = \"ai.native.llm.model.id\";\n AINativeSettingSectionsId[\"DeepseekApiKey\"] = \"ai.native.deepseek.apiKey\";\n AINativeSettingSectionsId[\"AnthropicApiKey\"] = \"ai.native.anthropic.apiKey\";\n AINativeSettingSectionsId[\"OpenaiApiKey\"] = \"ai.native.openai.apiKey\";\n AINativeSettingSectionsId[\"OpenaiBaseURL\"] = \"ai.native.openai.baseURL\";\n /**\n * MCP Server configurations\n */\n AINativeSettingSectionsId[\"MCPServers\"] = \"ai.native.mcp.servers\";\n /**\n * System prompt\n */\n AINativeSettingSectionsId[\"SystemPrompt\"] = \"ai.native.chat.system.prompt\";\n})(AINativeSettingSectionsId || (exports.AINativeSettingSectionsId = AINativeSettingSectionsId = {}));\nexports.AI_NATIVE_SETTING_GROUP_ID = 'AI-Native';\nexports.AI_NATIVE_SETTING_GROUP_TITLE = 'AI Native';\n//# sourceMappingURL=ai-native.js.map\n\n//# sourceURL=webpack://@opensumi/ide-components/../core-common/lib/settings/ai-native.js?");
7179
+ eval("\nObject.defineProperty(exports, \"__esModule\", ({ value: true }));\nexports.AI_NATIVE_SETTING_GROUP_TITLE = exports.AI_NATIVE_SETTING_GROUP_ID = exports.AINativeSettingSectionsId = void 0;\nvar AINativeSettingSectionsId;\n(function (AINativeSettingSectionsId) {\n /**\n * inline diff preview mode\n */\n AINativeSettingSectionsId[\"InlineDiffPreviewMode\"] = \"ai.native.inlineDiff.preview.mode\";\n AINativeSettingSectionsId[\"InlineChatAutoVisible\"] = \"ai.native.inlineChat.auto.visible\";\n AINativeSettingSectionsId[\"InlineChatCodeActionEnabled\"] = \"ai.native.inlineChat.codeAction.enabled\";\n AINativeSettingSectionsId[\"InterfaceQuickNavigationEnabled\"] = \"ai.native.interface.quickNavigation.enabled\";\n AINativeSettingSectionsId[\"ChatVisibleType\"] = \"ai.native.chat.visible.type\";\n /**\n * Whether to enable prompt engineering, some LLM models may not perform well on prompt engineering.\n */\n AINativeSettingSectionsId[\"IntelligentCompletionsPromptEngineeringEnabled\"] = \"ai.native.intelligentCompletions.promptEngineering.enabled\";\n AINativeSettingSectionsId[\"IntelligentCompletionsDebounceTime\"] = \"ai.native.intelligentCompletions.debounceTime\";\n AINativeSettingSectionsId[\"IntelligentCompletionsCacheEnabled\"] = \"ai.native.intelligentCompletions.cache.enabled\";\n AINativeSettingSectionsId[\"IntelligentCompletionsAlwaysVisible\"] = \"ai.native.intelligentCompletions.alwaysVisible\";\n /**\n * Code edits settings\n */\n AINativeSettingSectionsId[\"CodeEditsLintErrors\"] = \"ai.native.codeEdits.lintErrors\";\n AINativeSettingSectionsId[\"CodeEditsLineChange\"] = \"ai.native.codeEdits.lineChange\";\n AINativeSettingSectionsId[\"CodeEditsTyping\"] = \"ai.native.codeEdits.typing\";\n AINativeSettingSectionsId[\"CodeEditsRenderType\"] = \"ai.native.codeEdits.renderType\";\n /**\n * Language model API keys\n */\n AINativeSettingSectionsId[\"LLMModelSelection\"] = \"ai.native.llm.model.selection\";\n AINativeSettingSectionsId[\"DeepseekApiKey\"] = \"ai.native.deepseek.apiKey\";\n AINativeSettingSectionsId[\"AnthropicApiKey\"] = \"ai.native.anthropic.apiKey\";\n AINativeSettingSectionsId[\"OpenaiApiKey\"] = \"ai.native.openai.apiKey\";\n AINativeSettingSectionsId[\"OpenaiBaseURL\"] = \"ai.native.openai.baseURL\";\n /**\n * MCP Server configurations\n */\n AINativeSettingSectionsId[\"MCPServers\"] = \"ai.native.mcp.servers\";\n /**\n * System prompt\n */\n AINativeSettingSectionsId[\"SystemPrompt\"] = \"ai.native.chat.system.prompt\";\n})(AINativeSettingSectionsId || (exports.AINativeSettingSectionsId = AINativeSettingSectionsId = {}));\nexports.AI_NATIVE_SETTING_GROUP_ID = 'AI-Native';\nexports.AI_NATIVE_SETTING_GROUP_TITLE = 'AI Native';\n//# sourceMappingURL=ai-native.js.map\n\n//# sourceURL=webpack://@opensumi/ide-components/../core-common/lib/settings/ai-native.js?");
7180
7180
 
7181
7181
  /***/ }),
7182
7182
 
@@ -7286,7 +7286,7 @@ eval("\nObject.defineProperty(exports, \"__esModule\", ({ value: true }));\n//#
7286
7286
  /***/ ((__unused_webpack_module, exports, __webpack_require__) => {
7287
7287
 
7288
7288
  "use strict";
7289
- eval("\nObject.defineProperty(exports, \"__esModule\", ({ value: true }));\nexports.ECodeEditsSourceTyping = exports.CoreMessgaeRoleMap = exports.ChatAgentViewServiceToken = exports.ChatServiceToken = exports.IntelligentCompletionsRegistryToken = exports.TerminalRegistryToken = exports.ProblemFixRegistryToken = exports.RenameCandidatesProviderRegistryToken = exports.ResolveConflictRegistryToken = exports.ChatRenderRegistryToken = exports.ChatFeatureRegistryToken = exports.InlineChatFeatureRegistryToken = exports.CancelResponse = exports.ErrorResponse = exports.ReplyResponse = exports.AIBackSerivcePath = exports.AIBackSerivceToken = exports.ECompletionType = void 0;\nconst tslib_1 = __webpack_require__(/*! tslib */ \"../../node_modules/tslib/tslib.es6.mjs\");\ntslib_1.__exportStar(__webpack_require__(/*! ./reporter */ \"../core-common/lib/types/ai-native/reporter.js\"), exports);\nvar ECompletionType;\n(function (ECompletionType) {\n /**\n * 行补全\n */\n ECompletionType[ECompletionType[\"Line\"] = 0] = \"Line\";\n /**\n * 片段补全\n */\n ECompletionType[ECompletionType[\"Snippet\"] = 1] = \"Snippet\";\n /**\n * 块补全\n */\n ECompletionType[ECompletionType[\"Block\"] = 2] = \"Block\";\n})(ECompletionType || (exports.ECompletionType = ECompletionType = {}));\nexports.AIBackSerivceToken = Symbol('AIBackSerivceToken');\nexports.AIBackSerivcePath = 'AIBackSerivcePath';\nclass ReplyResponse {\n get message() {\n return this._message;\n }\n constructor(_message) {\n this._message = _message;\n }\n static is(response) {\n return response instanceof ReplyResponse || (typeof response === 'object' && response.message !== undefined);\n }\n extractCodeContent() {\n const regex = /```\\w*([\\s\\S]+?)\\s*```/;\n const match = regex.exec(this.message);\n return match ? match[1].trim() : this.message.trim();\n }\n updateMessage(msg) {\n this._message = msg;\n }\n}\nexports.ReplyResponse = ReplyResponse;\nclass ErrorResponse {\n constructor(error, message) {\n this.error = error;\n this.message = message;\n }\n static is(response) {\n return response instanceof ErrorResponse || (typeof response === 'object' && response.error !== undefined);\n }\n}\nexports.ErrorResponse = ErrorResponse;\nclass CancelResponse {\n constructor(message) {\n this.message = message;\n this.cancellation = true;\n }\n static is(response) {\n return response instanceof CancelResponse || (typeof response === 'object' && response.cancellation !== undefined);\n }\n}\nexports.CancelResponse = CancelResponse;\n/**\n * DI Token\n */\nexports.InlineChatFeatureRegistryToken = Symbol('InlineChatFeatureRegistryToken');\nexports.ChatFeatureRegistryToken = Symbol('ChatFeatureRegistryToken');\nexports.ChatRenderRegistryToken = Symbol('ChatRenderRegistryToken');\nexports.ResolveConflictRegistryToken = Symbol('ResolveConflictRegistryToken');\nexports.RenameCandidatesProviderRegistryToken = Symbol('RenameCandidatesProviderRegistryToken');\nexports.ProblemFixRegistryToken = Symbol('ProblemFixRegistryToken');\nexports.TerminalRegistryToken = Symbol('TerminalRegistryToken');\nexports.IntelligentCompletionsRegistryToken = Symbol('IntelligentCompletionsRegistryToken');\nexports.ChatServiceToken = Symbol('ChatServiceToken');\nexports.ChatAgentViewServiceToken = Symbol('ChatAgentViewServiceToken');\nexports.CoreMessgaeRoleMap = {\n system: 0 /* ChatMessageRole.System */,\n user: 1 /* ChatMessageRole.User */,\n tool: 3 /* ChatMessageRole.Function */,\n assistant: 2 /* ChatMessageRole.Assistant */,\n};\n// ## Code Edits start ##\nvar ECodeEditsSourceTyping;\n(function (ECodeEditsSourceTyping) {\n ECodeEditsSourceTyping[\"LinterErrors\"] = \"lint_errors\";\n ECodeEditsSourceTyping[\"LineChange\"] = \"line_change\";\n ECodeEditsSourceTyping[\"Typing\"] = \"typing\";\n // 主动触发\n ECodeEditsSourceTyping[\"Trigger\"] = \"trigger\";\n})(ECodeEditsSourceTyping || (exports.ECodeEditsSourceTyping = ECodeEditsSourceTyping = {}));\n// ## Code Edits ends ##\n//# sourceMappingURL=index.js.map\n\n//# sourceURL=webpack://@opensumi/ide-components/../core-common/lib/types/ai-native/index.js?");
7289
+ eval("\nObject.defineProperty(exports, \"__esModule\", ({ value: true }));\nexports.ECodeEditsSourceTyping = exports.ChatAgentViewServiceToken = exports.ChatServiceToken = exports.IntelligentCompletionsRegistryToken = exports.TerminalRegistryToken = exports.ProblemFixRegistryToken = exports.RenameCandidatesProviderRegistryToken = exports.ResolveConflictRegistryToken = exports.ChatRenderRegistryToken = exports.ChatFeatureRegistryToken = exports.InlineChatFeatureRegistryToken = exports.CancelResponse = exports.ErrorResponse = exports.ReplyResponse = exports.AIBackSerivcePath = exports.AIBackSerivceToken = exports.ECompletionType = void 0;\nconst tslib_1 = __webpack_require__(/*! tslib */ \"../../node_modules/tslib/tslib.es6.mjs\");\ntslib_1.__exportStar(__webpack_require__(/*! ./reporter */ \"../core-common/lib/types/ai-native/reporter.js\"), exports);\nvar ECompletionType;\n(function (ECompletionType) {\n /**\n * 行补全\n */\n ECompletionType[ECompletionType[\"Line\"] = 0] = \"Line\";\n /**\n * 片段补全\n */\n ECompletionType[ECompletionType[\"Snippet\"] = 1] = \"Snippet\";\n /**\n * 块补全\n */\n ECompletionType[ECompletionType[\"Block\"] = 2] = \"Block\";\n})(ECompletionType || (exports.ECompletionType = ECompletionType = {}));\nexports.AIBackSerivceToken = Symbol('AIBackSerivceToken');\nexports.AIBackSerivcePath = 'AIBackSerivcePath';\nclass ReplyResponse {\n get message() {\n return this._message;\n }\n constructor(_message) {\n this._message = _message;\n }\n static is(response) {\n return response instanceof ReplyResponse || (typeof response === 'object' && response.message !== undefined);\n }\n extractCodeContent() {\n const regex = /```\\w*([\\s\\S]+?)\\s*```/;\n const match = regex.exec(this.message);\n return match ? match[1].trim() : this.message.trim();\n }\n updateMessage(msg) {\n this._message = msg;\n }\n}\nexports.ReplyResponse = ReplyResponse;\nclass ErrorResponse {\n constructor(error, message) {\n this.error = error;\n this.message = message;\n }\n static is(response) {\n return response instanceof ErrorResponse || (typeof response === 'object' && response.error !== undefined);\n }\n}\nexports.ErrorResponse = ErrorResponse;\nclass CancelResponse {\n constructor(message) {\n this.message = message;\n this.cancellation = true;\n }\n static is(response) {\n return response instanceof CancelResponse || (typeof response === 'object' && response.cancellation !== undefined);\n }\n}\nexports.CancelResponse = CancelResponse;\n/**\n * DI Token\n */\nexports.InlineChatFeatureRegistryToken = Symbol('InlineChatFeatureRegistryToken');\nexports.ChatFeatureRegistryToken = Symbol('ChatFeatureRegistryToken');\nexports.ChatRenderRegistryToken = Symbol('ChatRenderRegistryToken');\nexports.ResolveConflictRegistryToken = Symbol('ResolveConflictRegistryToken');\nexports.RenameCandidatesProviderRegistryToken = Symbol('RenameCandidatesProviderRegistryToken');\nexports.ProblemFixRegistryToken = Symbol('ProblemFixRegistryToken');\nexports.TerminalRegistryToken = Symbol('TerminalRegistryToken');\nexports.IntelligentCompletionsRegistryToken = Symbol('IntelligentCompletionsRegistryToken');\nexports.ChatServiceToken = Symbol('ChatServiceToken');\nexports.ChatAgentViewServiceToken = Symbol('ChatAgentViewServiceToken');\n// ## Code Edits start ##\nvar ECodeEditsSourceTyping;\n(function (ECodeEditsSourceTyping) {\n ECodeEditsSourceTyping[\"LinterErrors\"] = \"lint_errors\";\n ECodeEditsSourceTyping[\"LineChange\"] = \"line_change\";\n ECodeEditsSourceTyping[\"Typing\"] = \"typing\";\n // 主动触发\n ECodeEditsSourceTyping[\"Trigger\"] = \"trigger\";\n})(ECodeEditsSourceTyping || (exports.ECodeEditsSourceTyping = ECodeEditsSourceTyping = {}));\n// ## Code Edits ends ##\n//# sourceMappingURL=index.js.map\n\n//# sourceURL=webpack://@opensumi/ide-components/../core-common/lib/types/ai-native/index.js?");
7290
7290
 
7291
7291
  /***/ }),
7292
7292
 
@@ -7297,7 +7297,7 @@ eval("\nObject.defineProperty(exports, \"__esModule\", ({ value: true }));\nexpo
7297
7297
  /***/ ((__unused_webpack_module, exports) => {
7298
7298
 
7299
7299
  "use strict";
7300
- eval("\nObject.defineProperty(exports, \"__esModule\", ({ value: true }));\nexports.IAIReporter = exports.MergeConflictEditorMode = exports.ActionTypeEnum = exports.ActionSourceEnum = exports.AIServiceType = exports.AI_REPORTER_NAME = void 0;\nexports.AI_REPORTER_NAME = 'AI';\nvar AIServiceType;\n(function (AIServiceType) {\n AIServiceType[\"Chat\"] = \"chat\";\n AIServiceType[\"InlineChat\"] = \"inlineChat\";\n AIServiceType[\"CodeAction\"] = \"codeAction\";\n AIServiceType[\"InlineChatInput\"] = \"inlineChatInput\";\n AIServiceType[\"CustomReply\"] = \"customReply\";\n AIServiceType[\"ToolCall\"] = \"toolCall\";\n AIServiceType[\"Completion\"] = \"completion\";\n AIServiceType[\"Agent\"] = \"agent\";\n AIServiceType[\"MergeConflict\"] = \"mergeConflict\";\n AIServiceType[\"Rename\"] = \"rename\";\n AIServiceType[\"TerminalAICommand\"] = \"terminalAICommand\";\n AIServiceType[\"ProblemFix\"] = \"problemFix\";\n AIServiceType[\"CodeEdits\"] = \"codeEdits\";\n})(AIServiceType || (exports.AIServiceType = AIServiceType = {}));\nvar ActionSourceEnum;\n(function (ActionSourceEnum) {\n // 聊天面板\n ActionSourceEnum[\"Chat\"] = \"chat\";\n // 编辑器内联 Chat\n ActionSourceEnum[\"InlineChat\"] = \"inlineChat\";\n // 编辑器内联 ChatInput\n ActionSourceEnum[\"InlineChatInput\"] = \"inlineChatInput\";\n // 编辑器内 Action\n ActionSourceEnum[\"CodeAction\"] = \"codeAction\";\n // 终端\n ActionSourceEnum[\"Terminal\"] = \"terminal\";\n // 下拉补全 | 自动补全\n ActionSourceEnum[\"Completion\"] = \"completion\";\n // 编辑器内悬停操作\n ActionSourceEnum[\"Hover\"] = \"hover\";\n})(ActionSourceEnum || (exports.ActionSourceEnum = ActionSourceEnum = {}));\nvar ActionTypeEnum;\n(function (ActionTypeEnum) {\n // 自动补全\n ActionTypeEnum[\"Completion\"] = \"completion\";\n // 下拉补全\n ActionTypeEnum[\"DropdownCompletion\"] = \"dropdownCompletion\";\n // ai重命名\n ActionTypeEnum[\"Rename\"] = \"rename\";\n // Chat面板 插入代码\n ActionTypeEnum[\"ChatInsertCode\"] = \"chatInsertCode\";\n // Chat面板 复制代码\n ActionTypeEnum[\"ChatCopyCode\"] = \"chatCopyCode\";\n // Chat面板 欢迎语的Action\n ActionTypeEnum[\"Welcome\"] = \"welcome\";\n // Chat面板 回复消息的Action\n ActionTypeEnum[\"Followup\"] = \"followup\";\n // 发送消息\n ActionTypeEnum[\"Send\"] = \"send\";\n // 生成代码后的行动点:全部采纳\n ActionTypeEnum[\"Accept\"] = \"accept\";\n // 生成代码后的行动点:单模块采纳\n ActionTypeEnum[\"lineAccept\"] = \"lineAccept\";\n // 生成代码后的行动点:全部拒绝\n ActionTypeEnum[\"Discard\"] = \"discard\";\n // 生成代码后的行动点:全部拒绝\n ActionTypeEnum[\"LineDiscard\"] = \"lineDiscard\";\n // 生成代码后的行动点:重新生成\n ActionTypeEnum[\"Regenerate\"] = \"regenerate\";\n // 悬停的问题修复\n ActionTypeEnum[\"HoverFix\"] = \"hoverFix\";\n // 上下文增强\n ActionTypeEnum[\"ContextEnhance\"] = \"contextEnhance\";\n // 包含业务自定义的Action\n})(ActionTypeEnum || (exports.ActionTypeEnum = ActionTypeEnum = {}));\nvar MergeConflictEditorMode;\n(function (MergeConflictEditorMode) {\n MergeConflictEditorMode[\"3way\"] = \"3way\";\n MergeConflictEditorMode[\"traditional\"] = \"traditional\";\n})(MergeConflictEditorMode || (exports.MergeConflictEditorMode = MergeConflictEditorMode = {}));\nexports.IAIReporter = Symbol('IAIReporter');\n//# sourceMappingURL=reporter.js.map\n\n//# sourceURL=webpack://@opensumi/ide-components/../core-common/lib/types/ai-native/reporter.js?");
7300
+ eval("\nObject.defineProperty(exports, \"__esModule\", ({ value: true }));\nexports.IAIReporter = exports.MergeConflictEditorMode = exports.ActionTypeEnum = exports.ActionSourceEnum = exports.AIServiceType = exports.AI_REPORTER_NAME = void 0;\nexports.AI_REPORTER_NAME = 'AI';\nvar AIServiceType;\n(function (AIServiceType) {\n AIServiceType[\"Chat\"] = \"chat\";\n AIServiceType[\"InlineChat\"] = \"inlineChat\";\n AIServiceType[\"CodeAction\"] = \"codeAction\";\n AIServiceType[\"InlineChatInput\"] = \"inlineChatInput\";\n AIServiceType[\"CustomReplay\"] = \"customReplay\";\n AIServiceType[\"Completion\"] = \"completion\";\n AIServiceType[\"Agent\"] = \"agent\";\n AIServiceType[\"MergeConflict\"] = \"mergeConflict\";\n AIServiceType[\"Rename\"] = \"rename\";\n AIServiceType[\"TerminalAICommand\"] = \"terminalAICommand\";\n AIServiceType[\"ProblemFix\"] = \"problemFix\";\n AIServiceType[\"CodeEdits\"] = \"codeEdits\";\n})(AIServiceType || (exports.AIServiceType = AIServiceType = {}));\nvar ActionSourceEnum;\n(function (ActionSourceEnum) {\n // 聊天面板\n ActionSourceEnum[\"Chat\"] = \"chat\";\n // 编辑器内联 Chat\n ActionSourceEnum[\"InlineChat\"] = \"inlineChat\";\n // 编辑器内联 ChatInput\n ActionSourceEnum[\"InlineChatInput\"] = \"inlineChatInput\";\n // 编辑器内 Action\n ActionSourceEnum[\"CodeAction\"] = \"codeAction\";\n // 终端\n ActionSourceEnum[\"Terminal\"] = \"terminal\";\n // 下拉补全 | 自动补全\n ActionSourceEnum[\"Completion\"] = \"completion\";\n // 编辑器内悬停操作\n ActionSourceEnum[\"Hover\"] = \"hover\";\n})(ActionSourceEnum || (exports.ActionSourceEnum = ActionSourceEnum = {}));\nvar ActionTypeEnum;\n(function (ActionTypeEnum) {\n // 自动补全\n ActionTypeEnum[\"Completion\"] = \"completion\";\n // 下拉补全\n ActionTypeEnum[\"DropdownCompletion\"] = \"dropdownCompletion\";\n // ai重命名\n ActionTypeEnum[\"Rename\"] = \"rename\";\n // Chat面板 插入代码\n ActionTypeEnum[\"ChatInsertCode\"] = \"chatInsertCode\";\n // Chat面板 复制代码\n ActionTypeEnum[\"ChatCopyCode\"] = \"chatCopyCode\";\n // Chat面板 欢迎语的Action\n ActionTypeEnum[\"Welcome\"] = \"welcome\";\n // Chat面板 回复消息的Action\n ActionTypeEnum[\"Followup\"] = \"followup\";\n // 发送消息\n ActionTypeEnum[\"Send\"] = \"send\";\n // 生成代码后的行动点:全部采纳\n ActionTypeEnum[\"Accept\"] = \"accept\";\n // 生成代码后的行动点:单模块采纳\n ActionTypeEnum[\"lineAccept\"] = \"lineAccept\";\n // 生成代码后的行动点:全部拒绝\n ActionTypeEnum[\"Discard\"] = \"discard\";\n // 生成代码后的行动点:全部拒绝\n ActionTypeEnum[\"LineDiscard\"] = \"lineDiscard\";\n // 生成代码后的行动点:重新生成\n ActionTypeEnum[\"Regenerate\"] = \"regenerate\";\n // 悬停的问题修复\n ActionTypeEnum[\"HoverFix\"] = \"hoverFix\";\n // 包含业务自定义的Action\n})(ActionTypeEnum || (exports.ActionTypeEnum = ActionTypeEnum = {}));\nvar MergeConflictEditorMode;\n(function (MergeConflictEditorMode) {\n MergeConflictEditorMode[\"3way\"] = \"3way\";\n MergeConflictEditorMode[\"traditional\"] = \"traditional\";\n})(MergeConflictEditorMode || (exports.MergeConflictEditorMode = MergeConflictEditorMode = {}));\nexports.IAIReporter = Symbol('IAIReporter');\n//# sourceMappingURL=reporter.js.map\n\n//# sourceURL=webpack://@opensumi/ide-components/../core-common/lib/types/ai-native/reporter.js?");
7301
7301
 
7302
7302
  /***/ }),
7303
7303
 
@@ -7880,7 +7880,7 @@ eval("\nObject.defineProperty(exports, \"__esModule\", ({ value: true }));\nexpo
7880
7880
  /***/ ((__unused_webpack_module, exports, __webpack_require__) => {
7881
7881
 
7882
7882
  "use strict";
7883
- eval("/* provided dependency */ var process = __webpack_require__(/*! ../../node_modules/process/browser.js */ \"../../node_modules/process/browser.js\");\n\n/* ---------------------------------------------------------------------------------------------\n * Copyright (c) Microsoft Corporation. All rights reserved.\n * Licensed under the MIT License. See License.txt in the project root for license information.\n *--------------------------------------------------------------------------------------------*/\n// Some code copied and modified from https://github.com/microsoft/vscode/blob/01d1ea52e639615c4513689ce66576829438f748/src/vs/base/common/platform.ts\nvar _a, _b;\nObject.defineProperty(exports, \"__esModule\", ({ value: true }));\nexports.isSafari = exports.isChrome = exports.userAgent = exports.OperatingSystem = exports.globals = exports.translationsConfigFile = exports.locale = exports.Language = exports.language = exports.isWebKit = exports.platform = exports.isWeb = exports.isNative = exports.isLinux = exports.isOSX = exports.isMacintosh = exports.isWindows = exports.LANGUAGE_DEFAULT = void 0;\nexports.PlatformToString = PlatformToString;\nexports.isRootUser = isRootUser;\nexports.getOperatingSystemName = getOperatingSystemName;\nexports.setImmediate = setImmediate;\nconst types_1 = __webpack_require__(/*! ./types */ \"../utils/lib/types.js\");\nexports.LANGUAGE_DEFAULT = 'en';\nlet _isWindows = false;\nlet _isMacintosh = false;\nlet _isLinux = false;\nlet _isNative = false;\nlet _isWeb = false;\nlet _locale;\nlet _language = exports.LANGUAGE_DEFAULT;\nlet _translationsConfigFile;\nlet _isWebKit = false;\nlet nodeProcess;\nif (typeof process !== 'undefined' && typeof ((_a = process === null || process === void 0 ? void 0 : process.versions) === null || _a === void 0 ? void 0 : _a.node) === 'string') {\n nodeProcess = process;\n}\nconst isElectronRenderer = nodeProcess && (0, types_1.isString)((_b = nodeProcess === null || nodeProcess === void 0 ? void 0 : nodeProcess.versions) === null || _b === void 0 ? void 0 : _b.electron) && nodeProcess.type === 'renderer';\nconst isNodeNavigator = typeof navigator === 'object' && (0, types_1.isString)(navigator.userAgent) && navigator.userAgent.startsWith('Node.js');\n// OS detection\nif (typeof navigator === 'object' && !isNodeNavigator && !isElectronRenderer) {\n const userAgent = navigator.userAgent;\n // Node 21+ has navigator property\n _isWindows = userAgent.indexOf('Windows') >= 0;\n _isMacintosh = userAgent.indexOf('Macintosh') >= 0;\n _isLinux = userAgent.indexOf('Linux') >= 0;\n _isWeb = true;\n _locale = navigator.language;\n _language = _locale;\n _isWebKit = userAgent.indexOf('AppleWebKit') >= 0;\n}\nelse if (typeof nodeProcess === 'object') {\n _isWindows = nodeProcess.platform === 'win32';\n _isMacintosh = nodeProcess.platform === 'darwin';\n _isLinux = nodeProcess.platform === 'linux';\n _locale = exports.LANGUAGE_DEFAULT;\n _language = exports.LANGUAGE_DEFAULT;\n const rawNlsConfig = nodeProcess.env['VSCODE_NLS_CONFIG'];\n if (rawNlsConfig) {\n try {\n const nlsConfig = JSON.parse(rawNlsConfig);\n const resolved = nlsConfig.availableLanguages['*'];\n _locale = nlsConfig.locale;\n // VSCode's default language is 'en'\n _language = resolved ? resolved : exports.LANGUAGE_DEFAULT;\n _translationsConfigFile = nlsConfig._translationsConfigFile;\n }\n catch (e) { }\n }\n _isNative = true;\n}\nfunction PlatformToString(platform) {\n switch (platform) {\n case 0 /* Platform.Web */:\n return 'Web';\n case 1 /* Platform.Mac */:\n return 'Mac';\n case 2 /* Platform.Linux */:\n return 'Linux';\n case 3 /* Platform.Windows */:\n return 'Windows';\n }\n}\nlet _platform = 0 /* Platform.Web */;\nif (_isNative) {\n if (_isMacintosh) {\n _platform = 1 /* Platform.Mac */;\n }\n else if (_isWindows) {\n _platform = 3 /* Platform.Windows */;\n }\n else if (_isLinux) {\n _platform = 2 /* Platform.Linux */;\n }\n}\nexports.isWindows = _isWindows;\nexports.isMacintosh = _isMacintosh;\nexports.isOSX = _isMacintosh;\nexports.isLinux = _isLinux;\nexports.isNative = _isNative;\nexports.isWeb = _isWeb;\nexports.platform = _platform;\nexports.isWebKit = _isWebKit;\nfunction isRootUser() {\n return _isNative && !_isWindows && process.getuid() === 0;\n}\nfunction getOperatingSystemName() {\n if (exports.isWindows) {\n return 'Windows';\n }\n if (exports.isMacintosh) {\n return 'Macintosh';\n }\n return 'Linux';\n}\n/**\n * The language used for the user interface. The format of\n * the string is all lower case (e.g. zh-tw for Traditional\n * Chinese)\n */\nexports.language = _language;\nvar Language;\n(function (Language) {\n function value() {\n return exports.language;\n }\n Language.value = value;\n function isDefaultVariant() {\n if (exports.language.length === 2) {\n return exports.language === 'en';\n }\n else if (exports.language.length >= 3) {\n return exports.language[0] === 'e' && exports.language[1] === 'n' && exports.language[2] === '-';\n }\n else {\n return false;\n }\n }\n Language.isDefaultVariant = isDefaultVariant;\n function isDefault() {\n return exports.language === 'en';\n }\n Language.isDefault = isDefault;\n})(Language || (exports.Language = Language = {}));\n/**\n * The OS locale or the locale specified by --locale. The format of\n * the string is all lower case (e.g. zh-tw for Traditional\n * Chinese). The UI is not necessarily shown in the provided locale.\n */\nexports.locale = _locale;\n/**\n * The translatios that are available through language packs.\n */\nexports.translationsConfigFile = _translationsConfigFile;\nconst _globals = typeof self === 'object' ? self : typeof __webpack_require__.g === 'object' ? __webpack_require__.g : {};\nexports.globals = _globals;\nlet _setImmediate = null;\nfunction setImmediate(callback) {\n if (_setImmediate === null) {\n if (exports.globals.setImmediate) {\n _setImmediate = exports.globals.setImmediate.bind(exports.globals);\n }\n else if (typeof process !== 'undefined' && typeof process.nextTick === 'function') {\n _setImmediate = process.nextTick.bind(process);\n }\n else {\n _setImmediate = exports.globals.setTimeout.bind(exports.globals);\n }\n }\n return _setImmediate(callback);\n}\nvar OperatingSystem;\n(function (OperatingSystem) {\n OperatingSystem[OperatingSystem[\"Windows\"] = 1] = \"Windows\";\n OperatingSystem[OperatingSystem[\"Macintosh\"] = 2] = \"Macintosh\";\n OperatingSystem[OperatingSystem[\"Linux\"] = 3] = \"Linux\";\n})(OperatingSystem || (exports.OperatingSystem = OperatingSystem = {}));\nexports.userAgent = typeof navigator === 'object' ? navigator.userAgent : null;\nexports.isChrome = (exports.userAgent === null || exports.userAgent === void 0 ? void 0 : exports.userAgent.indexOf('Chrome')) >= 0;\nexports.isSafari = !exports.isChrome && (exports.userAgent === null || exports.userAgent === void 0 ? void 0 : exports.userAgent.indexOf('Safari')) >= 0;\n//# sourceMappingURL=platform.js.map\n\n//# sourceURL=webpack://@opensumi/ide-components/../utils/lib/platform.js?");
7883
+ eval("/* provided dependency */ var process = __webpack_require__(/*! ../../node_modules/process/browser.js */ \"../../node_modules/process/browser.js\");\n\n/* ---------------------------------------------------------------------------------------------\n * Copyright (c) Microsoft Corporation. All rights reserved.\n * Licensed under the MIT License. See License.txt in the project root for license information.\n *--------------------------------------------------------------------------------------------*/\n// Some code copied and modified from https://github.com/microsoft/vscode/blob/01d1ea52e639615c4513689ce66576829438f748/src/vs/base/common/platform.ts\nvar _a, _b;\nObject.defineProperty(exports, \"__esModule\", ({ value: true }));\nexports.isSafari = exports.isChrome = exports.userAgent = exports.OperatingSystem = exports.globals = exports.translationsConfigFile = exports.locale = exports.Language = exports.language = exports.isWebKit = exports.platform = exports.isWeb = exports.isNative = exports.isLinux = exports.isOSX = exports.isMacintosh = exports.isWindows = exports.LANGUAGE_DEFAULT = void 0;\nexports.PlatformToString = PlatformToString;\nexports.isRootUser = isRootUser;\nexports.setImmediate = setImmediate;\nconst types_1 = __webpack_require__(/*! ./types */ \"../utils/lib/types.js\");\nexports.LANGUAGE_DEFAULT = 'en';\nlet _isWindows = false;\nlet _isMacintosh = false;\nlet _isLinux = false;\nlet _isNative = false;\nlet _isWeb = false;\nlet _locale;\nlet _language = exports.LANGUAGE_DEFAULT;\nlet _translationsConfigFile;\nlet _isWebKit = false;\nlet nodeProcess;\nif (typeof process !== 'undefined' && typeof ((_a = process === null || process === void 0 ? void 0 : process.versions) === null || _a === void 0 ? void 0 : _a.node) === 'string') {\n nodeProcess = process;\n}\nconst isElectronRenderer = nodeProcess && (0, types_1.isString)((_b = nodeProcess === null || nodeProcess === void 0 ? void 0 : nodeProcess.versions) === null || _b === void 0 ? void 0 : _b.electron) && nodeProcess.type === 'renderer';\nconst isNodeNavigator = typeof navigator === 'object' && (0, types_1.isString)(navigator.userAgent) && navigator.userAgent.startsWith('Node.js');\n// OS detection\nif (typeof navigator === 'object' && !isNodeNavigator && !isElectronRenderer) {\n const userAgent = navigator.userAgent;\n // Node 21+ has navigator property\n _isWindows = userAgent.indexOf('Windows') >= 0;\n _isMacintosh = userAgent.indexOf('Macintosh') >= 0;\n _isLinux = userAgent.indexOf('Linux') >= 0;\n _isWeb = true;\n _locale = navigator.language;\n _language = _locale;\n _isWebKit = userAgent.indexOf('AppleWebKit') >= 0;\n}\nelse if (typeof nodeProcess === 'object') {\n _isWindows = nodeProcess.platform === 'win32';\n _isMacintosh = nodeProcess.platform === 'darwin';\n _isLinux = nodeProcess.platform === 'linux';\n _locale = exports.LANGUAGE_DEFAULT;\n _language = exports.LANGUAGE_DEFAULT;\n const rawNlsConfig = nodeProcess.env['VSCODE_NLS_CONFIG'];\n if (rawNlsConfig) {\n try {\n const nlsConfig = JSON.parse(rawNlsConfig);\n const resolved = nlsConfig.availableLanguages['*'];\n _locale = nlsConfig.locale;\n // VSCode's default language is 'en'\n _language = resolved ? resolved : exports.LANGUAGE_DEFAULT;\n _translationsConfigFile = nlsConfig._translationsConfigFile;\n }\n catch (e) { }\n }\n _isNative = true;\n}\nfunction PlatformToString(platform) {\n switch (platform) {\n case 0 /* Platform.Web */:\n return 'Web';\n case 1 /* Platform.Mac */:\n return 'Mac';\n case 2 /* Platform.Linux */:\n return 'Linux';\n case 3 /* Platform.Windows */:\n return 'Windows';\n }\n}\nlet _platform = 0 /* Platform.Web */;\nif (_isNative) {\n if (_isMacintosh) {\n _platform = 1 /* Platform.Mac */;\n }\n else if (_isWindows) {\n _platform = 3 /* Platform.Windows */;\n }\n else if (_isLinux) {\n _platform = 2 /* Platform.Linux */;\n }\n}\nexports.isWindows = _isWindows;\nexports.isMacintosh = _isMacintosh;\nexports.isOSX = _isMacintosh;\nexports.isLinux = _isLinux;\nexports.isNative = _isNative;\nexports.isWeb = _isWeb;\nexports.platform = _platform;\nexports.isWebKit = _isWebKit;\nfunction isRootUser() {\n return _isNative && !_isWindows && process.getuid() === 0;\n}\n/**\n * The language used for the user interface. The format of\n * the string is all lower case (e.g. zh-tw for Traditional\n * Chinese)\n */\nexports.language = _language;\nvar Language;\n(function (Language) {\n function value() {\n return exports.language;\n }\n Language.value = value;\n function isDefaultVariant() {\n if (exports.language.length === 2) {\n return exports.language === 'en';\n }\n else if (exports.language.length >= 3) {\n return exports.language[0] === 'e' && exports.language[1] === 'n' && exports.language[2] === '-';\n }\n else {\n return false;\n }\n }\n Language.isDefaultVariant = isDefaultVariant;\n function isDefault() {\n return exports.language === 'en';\n }\n Language.isDefault = isDefault;\n})(Language || (exports.Language = Language = {}));\n/**\n * The OS locale or the locale specified by --locale. The format of\n * the string is all lower case (e.g. zh-tw for Traditional\n * Chinese). The UI is not necessarily shown in the provided locale.\n */\nexports.locale = _locale;\n/**\n * The translatios that are available through language packs.\n */\nexports.translationsConfigFile = _translationsConfigFile;\nconst _globals = typeof self === 'object' ? self : typeof __webpack_require__.g === 'object' ? __webpack_require__.g : {};\nexports.globals = _globals;\nlet _setImmediate = null;\nfunction setImmediate(callback) {\n if (_setImmediate === null) {\n if (exports.globals.setImmediate) {\n _setImmediate = exports.globals.setImmediate.bind(exports.globals);\n }\n else if (typeof process !== 'undefined' && typeof process.nextTick === 'function') {\n _setImmediate = process.nextTick.bind(process);\n }\n else {\n _setImmediate = exports.globals.setTimeout.bind(exports.globals);\n }\n }\n return _setImmediate(callback);\n}\nvar OperatingSystem;\n(function (OperatingSystem) {\n OperatingSystem[OperatingSystem[\"Windows\"] = 1] = \"Windows\";\n OperatingSystem[OperatingSystem[\"Macintosh\"] = 2] = \"Macintosh\";\n OperatingSystem[OperatingSystem[\"Linux\"] = 3] = \"Linux\";\n})(OperatingSystem || (exports.OperatingSystem = OperatingSystem = {}));\nexports.userAgent = typeof navigator === 'object' ? navigator.userAgent : null;\nexports.isChrome = (exports.userAgent === null || exports.userAgent === void 0 ? void 0 : exports.userAgent.indexOf('Chrome')) >= 0;\nexports.isSafari = !exports.isChrome && (exports.userAgent === null || exports.userAgent === void 0 ? void 0 : exports.userAgent.indexOf('Safari')) >= 0;\n//# sourceMappingURL=platform.js.map\n\n//# sourceURL=webpack://@opensumi/ide-components/../utils/lib/platform.js?");
7884
7884
 
7885
7885
  /***/ }),
7886
7886
 
@@ -28,7 +28,7 @@ var PopoverPosition;
28
28
  PopoverPosition["rightTop"] = "rightTop";
29
29
  PopoverPosition["rightBottom"] = "rightBottom";
30
30
  })(PopoverPosition || (exports.PopoverPosition = PopoverPosition = {}));
31
- const Popover = ({ children, trigger = PopoverTriggerType.hover, visible, content, position = PopoverPosition.top, showArrow = true, title, titleClassName, overlay, overlayClassName, overlayStyle, action, delay = 200, zIndex = 1000, onClickAction, onVisibleChange, getTooltipContainer, ...restProps }) => {
31
+ const Popover = ({ children, trigger = PopoverTriggerType.hover, visible, content, position = PopoverPosition.top, showArrow = true, title, titleClassName, overlay, overlayClassName, overlayStyle, action, delay, zIndex = 1000, onClickAction, onVisibleChange, getTooltipContainer, ...restProps }) => {
32
32
  const handleActionClick = (0, react_1.useCallback)((event) => {
33
33
  if (onClickAction) {
34
34
  onClickAction(event);
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/popover/index.tsx"],"names":[],"mappings":";;;;AAAA,oEAA6B;AAC7B,oEAAiC;AACjC,uDAAoD;AAEpD,yBAAuB;AAEvB,sCAAmC;AAEnC,IAAY,kBAIX;AAJD,WAAY,kBAAkB;IAC5B,qCAAe,CAAA;IACf,qCAAe,CAAA;IACf,qCAAe,CAAA;AACjB,CAAC,EAJW,kBAAkB,kCAAlB,kBAAkB,QAI7B;AAED,IAAY,eAaX;AAbD,WAAY,eAAe;IACzB,8BAAW,CAAA;IACX,oCAAiB,CAAA;IACjB,gCAAa,CAAA;IACb,kCAAe,CAAA;IACf,sCAAmB,CAAA;IACnB,wCAAqB,CAAA;IACrB,4CAAyB,CAAA;IACzB,8CAA2B,CAAA;IAC3B,sCAAmB,CAAA;IACnB,4CAAyB,CAAA;IACzB,wCAAqB,CAAA;IACrB,8CAA2B,CAAA;AAC7B,CAAC,EAbW,eAAe,+BAAf,eAAe,QAa1B;AAwBM,MAAM,OAAO,GAA4B,CAAC,EAC/C,QAAQ,EACR,OAAO,GAAG,kBAAkB,CAAC,KAAK,EAClC,OAAO,EACP,OAAO,EACP,QAAQ,GAAG,eAAe,CAAC,GAAG,EAC9B,SAAS,GAAG,IAAI,EAChB,KAAK,EACL,cAAc,EACd,OAAO,EACP,gBAAgB,EAChB,YAAY,EACZ,MAAM,EACN,KAAK,G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E,mBAAmB,EACxC,OAAO,EAAE,cAAc,EACvB,MAAM,EAAE,MAAM;QAEd,uCAAK,SAAS,EAAC,oBAAoB,IAAE,QAAQ,CAAO,CAC5C,CACX,CAAC;AACJ,CAAC,CAAC;AA7EW,QAAA,OAAO,WA6ElB"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@opensumi/ide-components",
3
- "version": "3.8.1-next-1741228774.0",
3
+ "version": "3.8.1-next-1741250387.0",
4
4
  "description": "@opensumi/ide-components",
5
5
  "license": "MIT",
6
6
  "main": "lib/index.js",
@@ -16,8 +16,8 @@
16
16
  },
17
17
  "dependencies": {
18
18
  "@ant-design/icons": "^4.6.4",
19
- "@opensumi/ide-core-common": "3.8.1-next-1741228774.0",
20
- "@opensumi/ide-utils": "3.8.1-next-1741228774.0",
19
+ "@opensumi/ide-core-common": "3.8.1-next-1741250387.0",
20
+ "@opensumi/ide-utils": "3.8.1-next-1741250387.0",
21
21
  "@opensumi/react-custom-scrollbars-2": "^4.3.4",
22
22
  "@rc-component/mini-decimal": "^1.0.1",
23
23
  "fuzzy": "^0.1.3",
@@ -38,10 +38,10 @@
38
38
  "react-window": "^1.8.5"
39
39
  },
40
40
  "devDependencies": {
41
- "@opensumi/ide-dev-tool": "3.8.1-next-1741228774.0",
41
+ "@opensumi/ide-dev-tool": "3.8.1-next-1741250387.0",
42
42
  "@types/marked": "^4.0.7",
43
43
  "@types/react-window": "^1.8.5",
44
44
  "prop-types": "^15.8.1"
45
45
  },
46
- "gitHead": "51b236f403fa6bd72362e0daac5c93356c62eb38"
46
+ "gitHead": "bfdd5ab9d3121775ed7ba8655637eec77bed44df"
47
47
  }