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

View File

@@ -0,0 +1 @@
export { default } from "./isFocusVisible.js";

1
node_modules/@mui/utils/esm/isFocusVisible/index.js generated vendored Normal file
View File

@@ -0,0 +1 @@
export { default } from "./isFocusVisible.js";

View File

@@ -0,0 +1,4 @@
/**
* Returns a boolean indicating if the event's target has :focus-visible
*/
export default function isFocusVisible(element: Element): boolean;

View File

@@ -0,0 +1,15 @@
/**
* Returns a boolean indicating if the event's target has :focus-visible
*/
export default function isFocusVisible(element) {
try {
return element.matches(':focus-visible');
} catch (error) {
// Do not warn on jsdom tests, otherwise all tests that rely on focus have to be skipped
// Tests that rely on `:focus-visible` will still have to be skipped in jsdom
if (process.env.NODE_ENV !== 'production' && !window.navigator.userAgent.includes('jsdom')) {
console.warn(['MUI: The `:focus-visible` pseudo class is not supported in this browser.', 'Some components rely on this feature to work properly.'].join('\n'));
}
}
return false;
}