decord/source/stores/native/AlertStore.tsx

40 lines
949 B
TypeScript
Raw Normal View History

2026-08-08 06:10:11 +00:00
// Module ID: 11017
// Function ID: 11018
2026-07-29 08:29:29 +00:00
// Name: getAlert
// Dependencies: [589, 709, 2]
2026-07-23 10:11:24 +00:00
2026-08-08 06:10:11 +00:00
// Module 11017 (getAlert)
2026-07-29 08:29:29 +00:00
import { Store } from "initialize";
2026-07-20 16:05:17 +00:00
2026-07-29 08:29:29 +00:00
let c0 = null;
let c1 = -1;
let c2 = null;
class AlertStore extends Store {
2026-07-20 16:05:17 +00:00
}
2026-07-29 08:29:29 +00:00
const prototype = AlertStore.prototype;
prototype["getAlert"] = function getAlert() {
return c0;
};
prototype["getAlertKey"] = function getAlertKey() {
return "alert-store-" + c1;
};
prototype["isAlertDismissable"] = function isAlertDismissable() {
return c2;
};
AlertStore.displayName = "AlertStore";
const alertStore = new AlertStore(require("dispatcher"), {
2026-07-20 16:05:17 +00:00
ALERT_OPEN: function handleOpen(arg0) {
2026-07-29 08:29:29 +00:00
let c0;
let c2;
closure_1 = closure_1 + 1;
({ alert: c0, isDismissable: c2 } = arg0);
2026-07-20 16:05:17 +00:00
},
ALERT_CLOSE: function handleClose() {
2026-07-29 08:29:29 +00:00
let c0 = null;
let c2 = null;
2026-07-20 16:05:17 +00:00
}
});
2026-07-29 08:29:29 +00:00
const result = require("set").fileFinishedImporting("stores/native/AlertStore.tsx");
2026-07-20 16:05:17 +00:00
2026-07-29 08:29:29 +00:00
export default alertStore;