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

32
node_modules/dnd-core/dist/utils/equality.js generated vendored Normal file
View File

@@ -0,0 +1,32 @@
export const strictEquality = (a, b)=>a === b
;
/**
* Determine if two cartesian coordinate offsets are equal
* @param offsetA
* @param offsetB
*/ export function areCoordsEqual(offsetA, offsetB) {
if (!offsetA && !offsetB) {
return true;
} else if (!offsetA || !offsetB) {
return false;
} else {
return offsetA.x === offsetB.x && offsetA.y === offsetB.y;
}
}
/**
* Determines if two arrays of items are equal
* @param a The first array of items
* @param b The second array of items
*/ export function areArraysEqual(a, b, isEqual = strictEquality) {
if (a.length !== b.length) {
return false;
}
for(let i = 0; i < a.length; ++i){
if (!isEqual(a[i], b[i])) {
return false;
}
}
return true;
}
//# sourceMappingURL=equality.js.map