add all frontend files

This commit is contained in:
2026-01-17 15:16:36 -05:00
parent ff16ae7858
commit e40287e4aa
25704 changed files with 1935289 additions and 0 deletions

21
node_modules/antd/es/slider/useRafLock.js generated vendored Normal file
View File

@@ -0,0 +1,21 @@
import * as React from 'react';
import raf from "rc-util/es/raf";
export default function useRafLock() {
const [state, setState] = React.useState(false);
const rafRef = React.useRef(null);
const cleanup = () => {
raf.cancel(rafRef.current);
};
const setDelayState = nextState => {
cleanup();
if (nextState) {
setState(nextState);
} else {
rafRef.current = raf(() => {
setState(nextState);
});
}
};
React.useEffect(() => cleanup, []);
return [state, setDelayState];
}