feat: 氧化铝数字孪生系统监控大屏完成

This commit is contained in:
2026-04-08 21:44:08 +08:00
commit a48babc68d
67606 changed files with 3337335 additions and 0 deletions

38
node_modules/react-popper/lib/cjs/Manager.js.flow generated vendored Normal file
View File

@@ -0,0 +1,38 @@
// @flow strict
import * as React from 'react';
export const ManagerReferenceNodeContext: React.Context<?Element> = React.createContext();
export const ManagerReferenceNodeSetterContext: React.Context<
void | ((?Element) => void)
> = React.createContext();
export type ManagerProps = $ReadOnly<{
children: React.Node,
}>;
export function Manager({ children }: ManagerProps): React.Node {
const [referenceNode, setReferenceNode] = React.useState<?Element>(null);
const hasUnmounted = React.useRef(false);
React.useEffect(() => {
return () => {
hasUnmounted.current = true;
};
}, []);
const handleSetReferenceNode = React.useCallback((node) => {
if (!hasUnmounted.current) {
setReferenceNode(node);
}
}, []);
return (
<ManagerReferenceNodeContext.Provider value={referenceNode}>
<ManagerReferenceNodeSetterContext.Provider
value={handleSetReferenceNode}
>
{children}
</ManagerReferenceNodeSetterContext.Provider>
</ManagerReferenceNodeContext.Provider>
);
}