@opensumi/ide-components 3.9.1-next-1749546307.0 → 3.9.1-next-1749547010.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.css CHANGED
@@ -3792,8 +3792,8 @@
3792
3792
  opacity: 1;
3793
3793
  }
3794
3794
  .kt-scrollbar .scrollbar-decoration-horizontal {
3795
- position: absolute;
3796
- bottom: 0;
3795
+ position: fixed;
3796
+ top: 0;
3797
3797
  left: 0;
3798
3798
  width: 100%;
3799
3799
  height: 6px;
@@ -3801,7 +3801,7 @@
3801
3801
  box-shadow: var(--scrollbar-shadow) 0 6px 6px -6px inset;
3802
3802
  }
3803
3803
  .kt-scrollbar .scrollbar-decoration-vertical {
3804
- position: absolute;
3804
+ position: fixed;
3805
3805
  top: 0;
3806
3806
  left: 0;
3807
3807
  height: 100%;
package/dist/index.js CHANGED
@@ -6144,7 +6144,7 @@ eval("\nObject.defineProperty(exports, \"__esModule\", ({ value: true }));\nexpo
6144
6144
  /***/ ((__unused_webpack_module, exports) => {
6145
6145
 
6146
6146
  "use strict";
6147
- eval("\nObject.defineProperty(exports, \"__esModule\", ({ value: true }));\nexports.defaultIconfont = void 0;\n// GENERATE BY ./scripts/download-iconfont.ts\n// DON NOT EDIT IT MANUALLY\nexports.defaultIconfont = {\n 'Gitlab-fill': 'Gitlab-fill',\n 'PR': 'PR',\n 'ab': 'ab',\n 'abl': 'abl',\n 'activate-breakpoints': 'activate-breakpoints',\n 'add-comments': 'add-comments',\n 'afresh': 'afresh',\n 'arrow-down': 'arrow-down',\n 'arrow-right': 'arrow-right',\n 'arrowdown': 'arrowdown',\n 'arrowleft': 'arrowleft',\n 'arrowright': 'arrowright',\n 'arrowup': 'arrowup',\n 'bash': 'bash',\n 'bell': 'bell',\n 'branches': 'branches',\n 'breakpoint-activate': 'breakpoint-activate',\n 'breakpoint-deactivate': 'breakpoint-deactivate',\n 'breakpoint-disabled': 'breakpoint-disabled',\n 'breakpoint-enabled': 'breakpoint-enabled',\n 'breakpoint-stop': 'breakpoint-stop',\n 'breakpoint-stop-before': 'breakpoint-stop-before',\n 'brew': 'brew',\n 'browser-preview': 'browser-preview',\n 'caret-right': 'caret-right',\n 'check': 'check',\n 'check-circle-fill': 'check-circle-fill',\n 'check-close-circle-o': 'check-close-circle-o',\n 'check-square-o': 'check-square-o',\n 'circle-pause': 'circle-pause',\n 'clear': 'clear',\n 'clear-bold': 'clear-bold',\n 'close': 'close',\n 'close-all': 'close-all',\n 'close-circle': 'close-circle',\n 'close-circle-fill': 'close-circle-fill',\n 'close1': 'close1',\n 'close_square': 'close_square',\n 'cloud-download': 'cloud-download',\n 'cloud-server': 'cloud-server',\n 'code': 'code',\n 'codebraces': 'codebraces',\n 'collapse-all': 'collapse-all',\n 'commit': 'commit',\n 'content-search': 'content-search',\n 'continue': 'continue',\n 'control': 'control',\n 'copy': 'copy',\n 'create-pullrequest': 'create-pullrequest',\n 'deactivate-breakpoints': 'deactivate-breakpoints',\n 'debug': 'debug',\n 'debug-alt-small': 'debug-alt-small',\n 'debug-restart-frame': 'debug-restart-frame',\n 'default-menu-icon': 'default-menu-icon',\n 'delete': 'delete',\n 'deploy': 'deploy',\n 'detail': 'detail',\n 'discard': 'discard',\n 'disconnect': 'disconnect',\n 'dock-down': 'dock-down',\n 'dock-right': 'dock-right',\n 'doubleleft': 'doubleleft',\n 'doubleright': 'doubleright',\n 'down': 'down',\n 'down-arrow': 'down-arrow',\n 'download': 'download',\n 'drag': 'drag',\n 'edit': 'edit',\n 'editor': 'editor',\n 'ellipsis': 'ellipsis',\n 'embed': 'embed',\n 'error': 'error',\n 'expand': 'expand',\n 'expand-all': 'expand-all',\n 'experiment': 'experiment',\n 'explorer': 'explorer',\n 'extension': 'extension',\n 'eye': 'eye',\n 'eye-close': 'eye-close',\n 'file': 'file',\n 'file-copy': 'file-copy',\n 'file-default': 'file-default',\n 'file-exclamation': 'file-exclamation',\n 'file-text': 'file-text',\n 'filter': 'filter',\n 'focus': 'focus',\n 'folder': 'folder',\n 'folder-default': 'folder-default',\n 'follow-cursor': 'follow-cursor',\n 'fullescreen': 'fullescreen',\n 'fullscreen': 'fullscreen',\n 'fullscreen-exit': 'fullscreen-exit',\n 'git': 'git',\n 'github-fill': 'github-fill',\n 'gitlab': 'gitlab',\n 'global-search': 'global-search',\n 'go': 'go',\n 'hex': 'hex',\n 'image': 'image',\n 'info-circle': 'info-circle',\n 'info-circle-fill': 'info-circle-fill',\n 'insert': 'insert',\n 'java': 'java',\n 'keyboard': 'keyboard',\n 'kotlin': 'kotlin',\n 'layout': 'layout',\n 'layout1': 'layout1',\n 'left': 'left',\n 'left-nav-close': 'left-nav-close',\n 'left-nav-open': 'left-nav-open',\n 'left-right-subfield': 'left-right-subfield',\n 'line': 'line',\n 'link': 'link',\n 'loading': 'loading',\n 'magic-wand': 'magic-wand',\n 'max': 'max',\n 'mcp': 'mcp',\n 'menubar-dashboard-back': 'menubar-dashboard-back',\n 'menubar-edit': 'menubar-edit',\n 'menubar-file': 'menubar-file',\n 'menubar-go': 'menubar-go',\n 'menubar-selection': 'menubar-selection',\n 'menubar-setting': 'menubar-setting',\n 'menubar-tool': 'menubar-tool',\n 'menubar-view': 'menubar-view',\n 'menubar-workspace': 'menubar-workspace',\n 'message': 'message',\n 'min': 'min',\n 'minus': 'minus',\n 'mobile': 'mobile',\n 'mobile-phone': 'mobile-phone',\n 'more': 'more',\n 'new-file': 'new-file',\n 'new-folder': 'new-folder',\n 'node': 'node',\n 'open': 'open',\n 'open-changes': 'open-changes',\n 'openfile': 'openfile',\n 'out-link': 'out-link',\n 'pause': 'pause',\n 'pin': 'pin',\n 'pipeline': 'pipeline',\n 'plus': 'plus',\n 'project-information': 'project-information',\n 'python': 'python',\n 'question-circle': 'question-circle',\n 'question-circle-o': 'question-circle-o',\n 'receive': 'receive',\n 'refresh': 'refresh',\n 'regex': 'regex',\n 'reload': 'reload',\n 'replace': 'replace',\n 'repository': 'repository',\n 'retrieval': 'retrieval',\n 'revoke': 'revoke',\n 'revoke-white': 'revoke-white',\n 'right': 'right',\n 'right-arrow': 'right-arrow',\n 'rollback': 'rollback',\n 'rules': 'rules',\n 'run': 'run',\n 'rust': 'rust',\n 'save-all': 'save-all',\n 'scm': 'scm',\n 'search': 'search',\n 'send': 'send',\n 'send-outlined': 'send-outlined',\n 'send-solid': 'send-solid',\n 'setting': 'setting',\n 'settings': 'settings',\n 'sever': 'sever',\n 'share': 'share',\n 'shrink': 'shrink',\n 'smile': 'smile',\n 'start': 'start',\n 'step': 'step',\n 'step-in': 'step-in',\n 'step-out': 'step-out',\n 'stop': 'stop',\n 'swap': 'swap',\n 'sync': 'sync',\n 'team': 'team',\n 'terminal': 'terminal',\n 'test': 'test',\n 'thumbs': 'thumbs',\n 'thumbs-fill': 'thumbs-fill',\n 'thumbsdown': 'thumbsdown',\n 'thumbsdown-fill': 'thumbsdown-fill',\n 'time-circle': 'time-circle',\n 'toolkit': 'toolkit',\n 'tree': 'tree',\n 'undock': 'undock',\n 'unfullscreen': 'unfullscreen',\n 'unmax': 'unmax',\n 'unorderedlist': 'unorderedlist',\n 'unpin': 'unpin',\n 'up': 'up',\n 'up-down-subfield': 'up-down-subfield',\n 'vim': 'vim',\n 'wait': 'wait',\n 'warning-circle': 'warning-circle',\n 'window': 'window',\n 'window-close': 'window-close',\n 'window-maximize': 'window-maximize',\n 'zsh': 'zsh',\n};\n\n\n//# sourceURL=webpack://@opensumi/ide-components/./src/icon/iconfont/iconMap.ts?");
6147
+ eval("\nObject.defineProperty(exports, \"__esModule\", ({ value: true }));\nexports.defaultIconfont = void 0;\n// GENERATE BY ./scripts/download-iconfont.ts\n// DON NOT EDIT IT MANUALLY\nexports.defaultIconfont = {\n 'Gitlab-fill': 'Gitlab-fill',\n 'PR': 'PR',\n 'ab': 'ab',\n 'abl': 'abl',\n 'activate-breakpoints': 'activate-breakpoints',\n 'add-comments': 'add-comments',\n 'afresh': 'afresh',\n 'arrow-down': 'arrow-down',\n 'arrow-right': 'arrow-right',\n 'arrowdown': 'arrowdown',\n 'arrowleft': 'arrowleft',\n 'arrowright': 'arrowright',\n 'arrowup': 'arrowup',\n 'bash': 'bash',\n 'bell': 'bell',\n 'branches': 'branches',\n 'breakpoint-activate': 'breakpoint-activate',\n 'breakpoint-deactivate': 'breakpoint-deactivate',\n 'breakpoint-disabled': 'breakpoint-disabled',\n 'breakpoint-enabled': 'breakpoint-enabled',\n 'breakpoint-stop': 'breakpoint-stop',\n 'breakpoint-stop-before': 'breakpoint-stop-before',\n 'brew': 'brew',\n 'browser-preview': 'browser-preview',\n 'caret-right': 'caret-right',\n 'check': 'check',\n 'check-circle-fill': 'check-circle-fill',\n 'check-close-circle-o': 'check-close-circle-o',\n 'check-square-o': 'check-square-o',\n 'circle-pause': 'circle-pause',\n 'clear': 'clear',\n 'clear-bold': 'clear-bold',\n 'close': 'close',\n 'close-all': 'close-all',\n 'close-circle': 'close-circle',\n 'close-circle-fill': 'close-circle-fill',\n 'close1': 'close1',\n 'close_square': 'close_square',\n 'cloud-download': 'cloud-download',\n 'cloud-server': 'cloud-server',\n 'code': 'code',\n 'codebraces': 'codebraces',\n 'collapse-all': 'collapse-all',\n 'commit': 'commit',\n 'content-search': 'content-search',\n 'continue': 'continue',\n 'control': 'control',\n 'copy': 'copy',\n 'create-pullrequest': 'create-pullrequest',\n 'deactivate-breakpoints': 'deactivate-breakpoints',\n 'debug': 'debug',\n 'debug-alt-small': 'debug-alt-small',\n 'debug-restart-frame': 'debug-restart-frame',\n 'default-menu-icon': 'default-menu-icon',\n 'delete': 'delete',\n 'deploy': 'deploy',\n 'detail': 'detail',\n 'discard': 'discard',\n 'disconnect': 'disconnect',\n 'dock-down': 'dock-down',\n 'dock-right': 'dock-right',\n 'doubleleft': 'doubleleft',\n 'doubleright': 'doubleright',\n 'down': 'down',\n 'down-arrow': 'down-arrow',\n 'download': 'download',\n 'drag': 'drag',\n 'edit': 'edit',\n 'editor': 'editor',\n 'ellipsis': 'ellipsis',\n 'embed': 'embed',\n 'error': 'error',\n 'expand': 'expand',\n 'expand-all': 'expand-all',\n 'experiment': 'experiment',\n 'explorer': 'explorer',\n 'extension': 'extension',\n 'eye': 'eye',\n 'eye-close': 'eye-close',\n 'file': 'file',\n 'file-copy': 'file-copy',\n 'file-default': 'file-default',\n 'file-exclamation': 'file-exclamation',\n 'file-text': 'file-text',\n 'filter': 'filter',\n 'focus': 'focus',\n 'folder': 'folder',\n 'folder-default': 'folder-default',\n 'follow-cursor': 'follow-cursor',\n 'fullescreen': 'fullescreen',\n 'fullscreen': 'fullscreen',\n 'fullscreen-exit': 'fullscreen-exit',\n 'git': 'git',\n 'github-fill': 'github-fill',\n 'gitlab': 'gitlab',\n 'global-search': 'global-search',\n 'go': 'go',\n 'hex': 'hex',\n 'image': 'image',\n 'info-circle': 'info-circle',\n 'info-circle-fill': 'info-circle-fill',\n 'insert': 'insert',\n 'java': 'java',\n 'keyboard': 'keyboard',\n 'kotlin': 'kotlin',\n 'layout': 'layout',\n 'layout1': 'layout1',\n 'left': 'left',\n 'left-nav-close': 'left-nav-close',\n 'left-nav-open': 'left-nav-open',\n 'left-right-subfield': 'left-right-subfield',\n 'line': 'line',\n 'link': 'link',\n 'loading': 'loading',\n 'magic-wand': 'magic-wand',\n 'max': 'max',\n 'mcp': 'mcp',\n 'menubar-dashboard-back': 'menubar-dashboard-back',\n 'menubar-edit': 'menubar-edit',\n 'menubar-file': 'menubar-file',\n 'menubar-go': 'menubar-go',\n 'menubar-selection': 'menubar-selection',\n 'menubar-setting': 'menubar-setting',\n 'menubar-tool': 'menubar-tool',\n 'menubar-view': 'menubar-view',\n 'menubar-workspace': 'menubar-workspace',\n 'message': 'message',\n 'min': 'min',\n 'minus': 'minus',\n 'mobile': 'mobile',\n 'mobile-phone': 'mobile-phone',\n 'more': 'more',\n 'new-file': 'new-file',\n 'new-folder': 'new-folder',\n 'node': 'node',\n 'open': 'open',\n 'open-changes': 'open-changes',\n 'openfile': 'openfile',\n 'out-link': 'out-link',\n 'pause': 'pause',\n 'pin': 'pin',\n 'pipeline': 'pipeline',\n 'plus': 'plus',\n 'project-information': 'project-information',\n 'python': 'python',\n 'question-circle': 'question-circle',\n 'question-circle-o': 'question-circle-o',\n 'receive': 'receive',\n 'refresh': 'refresh',\n 'regex': 'regex',\n 'reload': 'reload',\n 'replace': 'replace',\n 'repository': 'repository',\n 'retrieval': 'retrieval',\n 'revoke': 'revoke',\n 'revoke-white': 'revoke-white',\n 'right': 'right',\n 'right-arrow': 'right-arrow',\n 'rollback': 'rollback',\n 'rules': 'rules',\n 'run': 'run',\n 'rust': 'rust',\n 'save-all': 'save-all',\n 'scm': 'scm',\n 'search': 'search',\n 'send': 'send',\n 'send-outlined': 'send-outlined',\n 'send-solid': 'send-solid',\n 'setting': 'setting',\n 'settings': 'settings',\n 'sever': 'sever',\n 'share': 'share',\n 'shrink': 'shrink',\n 'smile': 'smile',\n 'start': 'start',\n 'step': 'step',\n 'step-in': 'step-in',\n 'step-out': 'step-out',\n 'stop': 'stop',\n 'swap': 'swap',\n 'sync': 'sync',\n 'team': 'team',\n 'terminal': 'terminal',\n 'test': 'test',\n 'thumbs': 'thumbs',\n 'thumbs-fill': 'thumbs-fill',\n 'thumbsdown': 'thumbsdown',\n 'thumbsdown-fill': 'thumbsdown-fill',\n 'time-circle': 'time-circle',\n 'toolkit': 'toolkit',\n 'tree': 'tree',\n 'undock': 'undock',\n 'unfullscreen': 'unfullscreen',\n 'unmax': 'unmax',\n 'unorderedlist': 'unorderedlist',\n 'unpin': 'unpin',\n 'up': 'up',\n 'up-down-subfield': 'up-down-subfield',\n 'vim': 'vim',\n 'wait': 'wait',\n 'warning-circle': 'warning-circle',\n 'window': 'window',\n 'window-close': 'window-close',\n 'window-maximize': 'window-maximize',\n 'zsh': 'zsh',\n 'diff': 'open-changes',\n};\n\n\n//# sourceURL=webpack://@opensumi/ide-components/./src/icon/iconfont/iconMap.ts?");
6148
6148
 
6149
6149
  /***/ }),
6150
6150
 
@@ -6793,7 +6793,7 @@ eval("\nObject.defineProperty(exports, \"__esModule\", ({ value: true }));\nexpo
6793
6793
  /***/ ((__unused_webpack_module, exports, __webpack_require__) => {
6794
6794
 
6795
6795
  "use strict";
6796
- eval("\nObject.defineProperty(exports, \"__esModule\", ({ value: true }));\nexports.ScrollbarsVirtualList = exports.Scrollbars = 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 throttle_1 = tslib_1.__importDefault(__webpack_require__(/*! lodash/throttle */ \"../../node_modules/lodash/throttle.js\"));\nconst react_1 = tslib_1.__importStar(__webpack_require__(/*! react */ \"../../node_modules/react/index.js\"));\nconst ide_utils_1 = __webpack_require__(/*! @opensumi/ide-utils */ \"../utils/lib/index.js\");\nconst react_custom_scrollbars_2_1 = __webpack_require__(/*! @opensumi/react-custom-scrollbars-2 */ \"../../node_modules/@opensumi/react-custom-scrollbars-2/lib/index.js\");\n__webpack_require__(/*! ./styles.less */ \"./src/scrollbars/styles.less\");\nconst Scrollbars = ({ onScroll, onUpdate, forwardedRef, style, children, className, onReachBottom, tabBarMode, thumbSize = 5, hiddenVertical, hiddenHorizontal, universal = false, }) => {\n const disposableCollection = (0, react_1.useRef)(new ide_utils_1.DisposableCollection());\n const scrollerRef = (0, react_1.useRef)();\n const refSetter = (0, react_1.useCallback)((scrollbarsRef) => {\n if (scrollbarsRef) {\n scrollerRef.current = scrollbarsRef.view;\n if (forwardedRef) {\n if (typeof forwardedRef === 'function') {\n forwardedRef(scrollbarsRef.view);\n }\n else {\n forwardedRef.current = scrollbarsRef.view;\n }\n }\n }\n else {\n if (forwardedRef && typeof forwardedRef === 'function') {\n forwardedRef(null);\n }\n }\n }, []);\n const verticalShadowRef = (0, react_1.useRef)();\n const horizontalShadowRef = (0, react_1.useRef)();\n const handleReachBottom = (0, react_1.useCallback)((values) => {\n if (!values) {\n return;\n }\n const { scrollTop, scrollHeight, clientHeight } = values;\n if (scrollHeight === 0 && clientHeight === 0) {\n return;\n }\n const pad = 100;\n const t = (scrollTop + pad) / (scrollHeight - clientHeight);\n if (t > 1) {\n onReachBottom && onReachBottom();\n }\n }, [onReachBottom]);\n const handleUpdate = (0, react_1.useCallback)((0, throttle_1.default)((values) => {\n if (!values) {\n return;\n }\n const { scrollTop, scrollLeft } = values;\n const shadowTopOpacity = (1 / 20) * Math.min(scrollTop, 20);\n const shadowLeftOpacity = (1 / 20) * Math.min(scrollLeft, 20);\n if (verticalShadowRef.current) {\n verticalShadowRef.current.style.opacity = String(shadowTopOpacity);\n }\n if (horizontalShadowRef.current) {\n horizontalShadowRef.current.style.opacity = String(shadowLeftOpacity);\n }\n handleReachBottom(values);\n onUpdate && onUpdate(values);\n }, 100), [onUpdate, handleReachBottom, verticalShadowRef.current, horizontalShadowRef.current]);\n (0, react_1.useEffect)(() => {\n const onMouseWheel = (e) => {\n if (!scrollerRef.current) {\n return;\n }\n e.preventDefault();\n e.stopPropagation();\n if (scrollerRef.current.clientHeight >= scrollerRef.current.scrollHeight) {\n if (e.deltaY !== 0) {\n scrollerRef.current.scrollLeft += e.deltaY;\n }\n if (e.deltaX !== 0) {\n scrollerRef.current.scrollLeft += e.deltaX;\n }\n }\n };\n if (tabBarMode && scrollerRef.current) {\n scrollerRef.current.addEventListener('wheel', onMouseWheel);\n }\n return () => {\n var _a;\n (_a = scrollerRef.current) === null || _a === void 0 ? void 0 : _a.removeEventListener('wheel', onMouseWheel);\n };\n }, [scrollerRef.current, tabBarMode]);\n // clear listeners\n (0, react_1.useEffect)(() => () => disposableCollection.current.dispose(), []);\n return (react_1.default.createElement(react_custom_scrollbars_2_1.Scrollbars, { ref: refSetter, style: Object.assign(Object.assign({}, style), { overflow: 'hidden' }), className: (0, classnames_1.default)(className, 'kt-scrollbar'), onUpdate: handleUpdate, onScroll: onScroll, universal: universal, renderTrackHorizontal: (_a) => {\n var { style } = _a, props = tslib_1.__rest(_a, [\"style\"]);\n const newStyle = Object.assign(Object.assign({}, style), { height: thumbSize, left: 0, right: 0, bottom: 1 });\n if (hiddenHorizontal) {\n newStyle.display = 'none';\n }\n return react_1.default.createElement(\"div\", Object.assign({}, props, { style: newStyle }));\n }, renderTrackVertical: (_a) => {\n var { style } = _a, props = tslib_1.__rest(_a, [\"style\"]);\n const newStyle = Object.assign(Object.assign({}, style), { width: thumbSize, top: 0, right: 1, bottom: 0 });\n if (hiddenVertical) {\n newStyle.display = 'none';\n }\n return react_1.default.createElement(\"div\", Object.assign({}, props, { style: newStyle }));\n }, renderThumbVertical: (_a) => {\n var { style, className } = _a, props = tslib_1.__rest(_a, [\"style\", \"className\"]);\n const newStyle = Object.assign(Object.assign({}, style), { width: thumbSize });\n if (hiddenVertical) {\n newStyle.display = 'none';\n }\n return react_1.default.createElement(\"div\", Object.assign({}, props, { style: newStyle, className: (0, classnames_1.default)(className, 'scrollbar-thumb-vertical') }));\n }, renderThumbHorizontal: (_a) => {\n var { style, className } = _a, props = tslib_1.__rest(_a, [\"style\", \"className\"]);\n const newStyle = Object.assign(Object.assign({}, style), { height: thumbSize, display: 'none' });\n if (hiddenHorizontal) {\n newStyle.display = 'none';\n }\n return react_1.default.createElement(\"div\", Object.assign({}, props, { style: newStyle, className: (0, classnames_1.default)(className, 'scrollbar-thumb-horizontal') }));\n } },\n !hiddenVertical && (react_1.default.createElement(\"div\", { ref: (ref) => {\n verticalShadowRef.current = ref;\n }, className: 'scrollbar-decoration-vertical' })),\n !hiddenHorizontal && (react_1.default.createElement(\"div\", { ref: (ref) => {\n horizontalShadowRef.current = ref;\n }, className: 'scrollbar-decoration-horizontal' })),\n children));\n};\nexports.Scrollbars = Scrollbars;\nexports.Scrollbars.displayName = 'CustomScrollbars';\nexports.ScrollbarsVirtualList = react_1.default.forwardRef((props, ref) => (react_1.default.createElement(exports.Scrollbars, Object.assign({}, props, { thumbSize: 10, forwardedRef: ref }))));\nexports.ScrollbarsVirtualList.displayName = 'ScrollbarsVirtualList';\n\n\n//# sourceURL=webpack://@opensumi/ide-components/./src/scrollbars/index.tsx?");
6796
+ eval("\nObject.defineProperty(exports, \"__esModule\", ({ value: true }));\nexports.ScrollbarsVirtualList = exports.Scrollbars = 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 throttle_1 = tslib_1.__importDefault(__webpack_require__(/*! lodash/throttle */ \"../../node_modules/lodash/throttle.js\"));\nconst react_1 = tslib_1.__importStar(__webpack_require__(/*! react */ \"../../node_modules/react/index.js\"));\nconst ide_utils_1 = __webpack_require__(/*! @opensumi/ide-utils */ \"../utils/lib/index.js\");\nconst react_custom_scrollbars_2_1 = __webpack_require__(/*! @opensumi/react-custom-scrollbars-2 */ \"../../node_modules/@opensumi/react-custom-scrollbars-2/lib/index.js\");\n__webpack_require__(/*! ./styles.less */ \"./src/scrollbars/styles.less\");\nconst Scrollbars = ({ onScroll, onUpdate, forwardedRef, style, children, className, onReachBottom, tabBarMode, thumbSize = 5, hiddenVertical, hiddenHorizontal, universal = false, }) => {\n const disposableCollection = (0, react_1.useRef)(new ide_utils_1.DisposableCollection());\n const scrollerRef = (0, react_1.useRef)();\n const refSetter = (0, react_1.useCallback)((scrollbarsRef) => {\n if (scrollbarsRef) {\n scrollerRef.current = scrollbarsRef.view;\n if (forwardedRef) {\n if (typeof forwardedRef === 'function') {\n forwardedRef(scrollbarsRef.view);\n }\n else {\n forwardedRef.current = scrollbarsRef.view;\n }\n }\n }\n else {\n if (forwardedRef && typeof forwardedRef === 'function') {\n forwardedRef(null);\n }\n }\n }, []);\n const verticalShadowRef = (0, react_1.useRef)();\n const horizontalShadowRef = (0, react_1.useRef)();\n const handleReachBottom = (0, react_1.useCallback)((values) => {\n if (!values) {\n return;\n }\n const { scrollTop, scrollHeight, clientHeight } = values;\n if (scrollHeight === 0 && clientHeight === 0) {\n return;\n }\n const pad = 100;\n const t = (scrollTop + pad) / (scrollHeight - clientHeight);\n if (t > 1) {\n onReachBottom && onReachBottom();\n }\n }, [onReachBottom]);\n const handleUpdate = (0, react_1.useCallback)((0, throttle_1.default)((values) => {\n if (!values) {\n return;\n }\n const { scrollTop, scrollLeft } = values;\n const shadowTopOpacity = (1 / 20) * Math.min(scrollTop, 20);\n const shadowLeftOpacity = (1 / 20) * Math.min(scrollLeft, 20);\n if (verticalShadowRef.current) {\n verticalShadowRef.current.style.opacity = String(shadowLeftOpacity);\n }\n if (horizontalShadowRef.current) {\n horizontalShadowRef.current.style.opacity = String(shadowTopOpacity);\n }\n handleReachBottom(values);\n onUpdate && onUpdate(values);\n }, 100), [onUpdate, handleReachBottom, verticalShadowRef.current, horizontalShadowRef.current]);\n (0, react_1.useEffect)(() => {\n const onMouseWheel = (e) => {\n if (!scrollerRef.current) {\n return;\n }\n e.preventDefault();\n e.stopPropagation();\n if (scrollerRef.current.clientHeight >= scrollerRef.current.scrollHeight) {\n if (e.deltaY !== 0) {\n scrollerRef.current.scrollLeft += e.deltaY;\n }\n if (e.deltaX !== 0) {\n scrollerRef.current.scrollLeft += e.deltaX;\n }\n }\n };\n if (tabBarMode && scrollerRef.current) {\n scrollerRef.current.addEventListener('wheel', onMouseWheel, { passive: true });\n }\n return () => {\n var _a;\n (_a = scrollerRef.current) === null || _a === void 0 ? void 0 : _a.removeEventListener('wheel', onMouseWheel);\n };\n }, [scrollerRef.current, tabBarMode]);\n // clear listeners\n (0, react_1.useEffect)(() => () => disposableCollection.current.dispose(), []);\n return (react_1.default.createElement(react_custom_scrollbars_2_1.Scrollbars, { ref: refSetter, style: Object.assign(Object.assign({}, style), { overflow: 'hidden' }), className: (0, classnames_1.default)(className, 'kt-scrollbar'), onUpdate: handleUpdate, onScroll: onScroll, universal: universal, renderTrackHorizontal: (_a) => {\n var { style } = _a, props = tslib_1.__rest(_a, [\"style\"]);\n const newStyle = Object.assign(Object.assign({}, style), { height: thumbSize, left: 0, right: 0, bottom: 1 });\n if (hiddenHorizontal) {\n newStyle.display = 'none';\n }\n return react_1.default.createElement(\"div\", Object.assign({}, props, { style: newStyle }));\n }, renderTrackVertical: (_a) => {\n var { style } = _a, props = tslib_1.__rest(_a, [\"style\"]);\n const newStyle = Object.assign(Object.assign({}, style), { width: thumbSize, top: 0, right: 1, bottom: 0 });\n if (hiddenVertical) {\n newStyle.display = 'none';\n }\n return react_1.default.createElement(\"div\", Object.assign({}, props, { style: newStyle }));\n }, renderThumbVertical: (_a) => {\n var { style, className } = _a, props = tslib_1.__rest(_a, [\"style\", \"className\"]);\n const newStyle = Object.assign(Object.assign({}, style), { width: thumbSize });\n if (hiddenVertical) {\n newStyle.display = 'none';\n }\n return react_1.default.createElement(\"div\", Object.assign({}, props, { style: newStyle, className: (0, classnames_1.default)(className, 'scrollbar-thumb-vertical') }));\n }, renderThumbHorizontal: (_a) => {\n var { style, className } = _a, props = tslib_1.__rest(_a, [\"style\", \"className\"]);\n const newStyle = Object.assign(Object.assign({}, style), { height: thumbSize, display: 'none' });\n if (hiddenHorizontal) {\n newStyle.display = 'none';\n }\n return react_1.default.createElement(\"div\", Object.assign({}, props, { style: newStyle, className: (0, classnames_1.default)(className, 'scrollbar-thumb-horizontal') }));\n } },\n !hiddenVertical && (react_1.default.createElement(\"div\", { ref: (ref) => {\n verticalShadowRef.current = ref;\n }, className: 'scrollbar-decoration-vertical' })),\n !hiddenHorizontal && (react_1.default.createElement(\"div\", { ref: (ref) => {\n horizontalShadowRef.current = ref;\n }, className: 'scrollbar-decoration-horizontal' })),\n children));\n};\nexports.Scrollbars = Scrollbars;\nexports.Scrollbars.displayName = 'CustomScrollbars';\nexports.ScrollbarsVirtualList = react_1.default.forwardRef((props, ref) => (react_1.default.createElement(exports.Scrollbars, Object.assign({}, props, { thumbSize: 10, forwardedRef: ref }))));\nexports.ScrollbarsVirtualList.displayName = 'ScrollbarsVirtualList';\n\n\n//# sourceURL=webpack://@opensumi/ide-components/./src/scrollbars/index.tsx?");
6797
6797
 
6798
6798
  /***/ }),
6799
6799
 
@@ -206,6 +206,7 @@ export declare const defaultIconMap: {
206
206
  'window-close': string;
207
207
  'window-maximize': string;
208
208
  zsh: string;
209
+ diff: string;
209
210
  } & {
210
211
  'search-close': string;
211
212
  fold: string;
@@ -1 +1 @@
1
- {"version":3,"file":"iconManager.d.ts","sourceRoot":"","sources":["../../../src/icon/iconfont/iconManager.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,eAAe,EAAE,MAAM,WAAW,CAAC;AAC5C,OAAO,EAAE,eAAe,EAAE,CAAC;AA0B3B,eAAO,MAAM,cAAc;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAMzB,CAAC;AAEH,cAAM,WAAW;IACf,OAAO,CAAC,eAAe,CAAgB;IAEvC,OAAO,CAAC,QAAQ,CAA+D;IAE/E,MAAM,CAAC,MAAM,EAAE,MAAM,EAAE,aAAa,EAAE;QAAE,CAAC,OAAO,EAAE,MAAM,GAAG,MAAM,CAAA;KAAE;IAKnE,UAAU,CAAC,OAAO,EAAE,MAAM,GAAG,MAAM,EAAE;CAiBtC;AAED,eAAO,MAAM,WAAW,aAAoB,CAAC"}
1
+ {"version":3,"file":"iconManager.d.ts","sourceRoot":"","sources":["../../../src/icon/iconfont/iconManager.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,eAAe,EAAE,MAAM,WAAW,CAAC;AAC5C,OAAO,EAAE,eAAe,EAAE,CAAC;AA0B3B,eAAO,MAAM,cAAc;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAMzB,CAAC;AAEH,cAAM,WAAW;IACf,OAAO,CAAC,eAAe,CAAgB;IAEvC,OAAO,CAAC,QAAQ,CAA+D;IAE/E,MAAM,CAAC,MAAM,EAAE,MAAM,EAAE,aAAa,EAAE;QAAE,CAAC,OAAO,EAAE,MAAM,GAAG,MAAM,CAAA;KAAE;IAKnE,UAAU,CAAC,OAAO,EAAE,MAAM,GAAG,MAAM,EAAE;CAiBtC;AAED,eAAO,MAAM,WAAW,aAAoB,CAAC"}
@@ -204,5 +204,6 @@ export declare const defaultIconfont: {
204
204
  'window-close': string;
205
205
  'window-maximize': string;
206
206
  zsh: string;
207
+ diff: string;
207
208
  };
208
209
  //# sourceMappingURL=iconMap.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"iconMap.d.ts","sourceRoot":"","sources":["../../../src/icon/iconfont/iconMap.ts"],"names":[],"mappings":"AAEA,eAAO,MAAM,eAAe;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CA8M3B,CAAC"}
1
+ {"version":3,"file":"iconMap.d.ts","sourceRoot":"","sources":["../../../src/icon/iconfont/iconMap.ts"],"names":[],"mappings":"AAEA,eAAO,MAAM,eAAe;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CA+M3B,CAAC"}
@@ -209,5 +209,6 @@ exports.defaultIconfont = {
209
209
  'window-close': 'window-close',
210
210
  'window-maximize': 'window-maximize',
211
211
  'zsh': 'zsh',
212
+ 'diff': 'open-changes',
212
213
  };
213
214
  //# sourceMappingURL=iconMap.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"iconMap.js","sourceRoot":"","sources":["../../../src/icon/iconfont/iconMap.ts"],"names":[],"mappings":";;;AAAA,6CAA6C;AAC7C,2BAA2B;AACd,QAAA,eAAe,GAAG;IAC7B,aAAa,EAAE,aAAa;IAC5B,IAAI,EAAE,IAAI;IACV,IAAI,EAAE,IAAI;IACV,KAAK,EAAE,KAAK;IACZ,sBAAsB,EAAE,sBAAsB;IAC9C,cAAc,EAAE,cAAc;IAC9B,QAAQ,EAAE,QAAQ;IAClB,YAAY,EAAE,YAAY;IAC1B,aAAa,EAAE,aAAa;IAC5B,WAAW,EAAE,WAAW;IACxB,WAAW,EAAE,WAAW;IACxB,YAAY,EAAE,YAAY;IAC1B,SAAS,EAAE,SAAS;IACpB,MAAM,EAAE,MAAM;IACd,MAAM,EAAE,MAAM;IACd,UAAU,EAAE,UAAU;IACtB,qBAAqB,EAAE,qBAAqB;IAC5C,uBAAuB,EAAE,uBAAuB;IAChD,qBAAqB,EAAE,qBAAqB;IAC5C,oBAAoB,EAAE,oBAAoB;IAC1C,iBAAiB,EAAE,iBAAiB;IACpC,wBAAwB,EAAE,wBAAwB;IAClD,MAAM,EAAE,MAAM;IACd,iBAAiB,EAAE,iBAAiB;IACpC,aAAa,EAAE,aAAa;IAC5B,OAAO,EAAE,OAAO;IAChB,mBAAmB,EAAE,mBAAmB;IACxC,sBAAsB,EAAE,sBAAs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18
  color: inherit;
19
19
  hr {
20
20
  border-color: inherit;
21
+ border-bottom: none;
21
22
  }
22
23
  .kt-icon {
23
24
  color: inherit;
@@ -53,10 +53,10 @@ const Scrollbars = ({ onScroll, onUpdate, forwardedRef, style, children, classNa
53
53
  const shadowTopOpacity = (1 / 20) * Math.min(scrollTop, 20);
54
54
  const shadowLeftOpacity = (1 / 20) * Math.min(scrollLeft, 20);
55
55
  if (verticalShadowRef.current) {
56
- verticalShadowRef.current.style.opacity = String(shadowTopOpacity);
56
+ verticalShadowRef.current.style.opacity = String(shadowLeftOpacity);
57
57
  }
58
58
  if (horizontalShadowRef.current) {
59
- horizontalShadowRef.current.style.opacity = String(shadowLeftOpacity);
59
+ horizontalShadowRef.current.style.opacity = String(shadowTopOpacity);
60
60
  }
61
61
  handleReachBottom(values);
62
62
  onUpdate && onUpdate(values);
@@ -78,7 +78,7 @@ const Scrollbars = ({ onScroll, onUpdate, forwardedRef, style, children, classNa
78
78
  }
79
79
  };
80
80
  if (tabBarMode && scrollerRef.current) {
81
- scrollerRef.current.addEventListener('wheel', onMouseWheel);
81
+ scrollerRef.current.addEventListener('wheel', onMouseWheel, { passive: true });
82
82
  }
83
83
  return () => {
84
84
  var _a;
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/scrollbars/index.tsx"],"names":[],"mappings":";;;;AAAA,oEAA6B;AAC7B,uEAAuC;AACvC,uDAA8D;AAE9D,mDAA2D;AAC3D,mFAAqF;AAErF,yBAAuB;AAiChB,MAAM,UAAU,GAAG,CAAC,EACzB,QAAQ,EACR,QAAQ,EACR,YAAY,EACZ,KAAK,EACL,QAAQ,EACR,SAAS,EACT,aAAa,EACb,UAAU,EACV,SAAS,GAAG,CAAC,EACb,cAAc,EACd,gBAAgB,EAChB,SAAS,GAAG,KAAK,GACK,EAAE,EAAE;IAC1B,MAAM,oBAAoB,GAAG,IAAA,cAAM,EAAuB,IAAI,gCAAoB,EAAE,CAAC,CAAC;IACtF,M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ute;
46
- bottom: 0;
45
+ position: fixed;
46
+ top: 0;
47
47
  left: 0;
48
48
  width: 100%;
49
49
  height: 6px;
@@ -52,7 +52,7 @@
52
52
  }
53
53
 
54
54
  .scrollbar-decoration-vertical {
55
- position: absolute;
55
+ position: fixed;
56
56
  top: 0;
57
57
  left: 0;
58
58
  height: 100%;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@opensumi/ide-components",
3
- "version": "3.9.1-next-1749546307.0",
3
+ "version": "3.9.1-next-1749547010.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.9.1-next-1749546307.0",
20
- "@opensumi/ide-utils": "3.9.1-next-1749546307.0",
19
+ "@opensumi/ide-core-common": "3.9.1-next-1749547010.0",
20
+ "@opensumi/ide-utils": "3.9.1-next-1749547010.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",
@@ -39,9 +39,9 @@
39
39
  "react-window": "^1.8.5"
40
40
  },
41
41
  "devDependencies": {
42
- "@opensumi/ide-dev-tool": "3.9.1-next-1749546307.0",
42
+ "@opensumi/ide-dev-tool": "3.9.1-next-1749547010.0",
43
43
  "@types/react-window": "^1.8.5",
44
44
  "prop-types": "^15.8.1"
45
45
  },
46
- "gitHead": "b6c7e9fae4bda7d6db15119cdcf514f7a08cb693"
46
+ "gitHead": "f4f48c465e691f24756394ae1a7c524f5eda57e5"
47
47
  }