@opensumi/ide-components 3.9.1-next-1749204089.0 → 3.9.1-next-1749452811.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 +1 -1
- package/lib/scrollbars/index.js +1 -1
- package/lib/scrollbars/index.js.map +1 -1
- package/package.json +5 -5
package/dist/index.js
CHANGED
|
@@ -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 react_1.default.createElement(\"div\", { ref: (ref) => {\n verticalShadowRef.current = ref;\n }, className: 'scrollbar-decoration-vertical' }),\n 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(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, { 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 react_1.default.createElement(\"div\", { ref: (ref) => {\n verticalShadowRef.current = ref;\n }, className: 'scrollbar-decoration-vertical' }),\n 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
|
|
package/lib/scrollbars/index.js
CHANGED
|
@@ -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,MAAM,WAAW,GAAG,IAAA,cAAM,GAAkB,CAAC;IAC7C,MAAM,SAAS,GAAG,IAAA,mBAAW,EAAC,CAAC,aAAa,EAAE,EAAE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GAAG,CAAC;YAClC,CAAC,EACD,SAAS,EAAE,+BAA+B,GAC1C;QACF,uCACE,GAAG,EAAE,CAAC,GAAG,EAAE,EAAE;gBACX,mBAAmB,CAAC,OAAO,GAAG,GAAG,CAAC;YACpC,CAAC,EACD,SAAS,EAAE,iCAAiC,GAC5C;QACD,QAAQ,CACQ,CACpB,CAAC;AACJ,CAAC,CAAC;AA3JW,QAAA,UAAU,cA2JrB;AAEF,kBAAU,CAAC,WAAW,GAAG,kBAAkB,CAAC;AAE/B,QAAA,qBAAqB,GAAG,eAAK,CAAC,UAAU,CAAC,CAAC,KAAK,EAAE,GAAG,EAAE,EAAE,CAAC,CACpE,8BAAC,kBAAU,OAAK,KAAK,EAAE,SAAS,EAAE,EAAE,EAAE,YAAY,EAAE,GAAG,GAAI,CAC5D,CAAC,CAAC;AAEH,6BAAqB,CAAC,WAAW,GAAG,uBAAuB,CAAC"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@opensumi/ide-components",
|
|
3
|
-
"version": "3.9.1-next-
|
|
3
|
+
"version": "3.9.1-next-1749452811.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-
|
|
20
|
-
"@opensumi/ide-utils": "3.9.1-next-
|
|
19
|
+
"@opensumi/ide-core-common": "3.9.1-next-1749452811.0",
|
|
20
|
+
"@opensumi/ide-utils": "3.9.1-next-1749452811.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-
|
|
42
|
+
"@opensumi/ide-dev-tool": "3.9.1-next-1749452811.0",
|
|
43
43
|
"@types/react-window": "^1.8.5",
|
|
44
44
|
"prop-types": "^15.8.1"
|
|
45
45
|
},
|
|
46
|
-
"gitHead": "
|
|
46
|
+
"gitHead": "c1cc69446de86636bb6925d16133675cfa92a40f"
|
|
47
47
|
}
|