2026-09-12 13:45:10 +00:00
|
|
|
// Module ID: 5637
|
|
|
|
|
// Function ID: 5638
|
2026-09-10 05:38:07 +00:00
|
|
|
// Name: WindowInteractingUtils
|
2026-07-23 10:11:24 +00:00
|
|
|
// Dependencies: [2]
|
2026-07-20 16:05:17 +00:00
|
|
|
// Exports: clearCurrentlyInteractingWindowId, getCurrentlyInteractingWindowId, setCurrentlyInteractingWindowId
|
|
|
|
|
|
2026-09-12 13:45:10 +00:00
|
|
|
// Module 5637 (WindowInteractingUtils)
|
2026-09-10 05:38:07 +00:00
|
|
|
import size from "module_2" /* 2 */;
|
2026-08-24 06:08:38 +00:00
|
|
|
|
2026-07-23 10:11:24 +00:00
|
|
|
let c0 = null;
|
2026-09-10 05:38:07 +00:00
|
|
|
const result = size.fileFinishedImporting("utils/web/WindowInteractingUtils.tsx");
|
2026-07-20 16:05:17 +00:00
|
|
|
|
2026-07-23 10:11:24 +00:00
|
|
|
export const INTERACTION_EVENTS = ["click", "mousedown", "mouseup", "keydown", "keyup", "keypress", "contextmenu"];
|
2026-07-20 16:05:17 +00:00
|
|
|
export function getCurrentlyInteractingWindowId() {
|
2026-07-23 10:11:24 +00:00
|
|
|
return c0;
|
2026-07-20 16:05:17 +00:00
|
|
|
}
|
|
|
|
|
export function setCurrentlyInteractingWindowId(arg0) {
|
2026-09-10 05:38:07 +00:00
|
|
|
c0 = arg0;
|
2026-07-20 16:05:17 +00:00
|
|
|
}
|
|
|
|
|
export function clearCurrentlyInteractingWindowId(arg0) {
|
2026-07-23 10:11:24 +00:00
|
|
|
if (c0 === arg0) {
|
|
|
|
|
c0 = null;
|
2026-07-20 16:05:17 +00:00
|
|
|
}
|
|
|
|
|
}
|