decord/source/modules/toast/native/ToastStore.tsx

40 lines
1 KiB
TypeScript
Raw Normal View History

2026-08-24 06:08:38 +00:00
// Module ID: 16270
// Function ID: 16271
2026-07-29 08:29:29 +00:00
// Name: ToastStore
// Dependencies: [589, 709, 2]
2026-07-23 10:11:24 +00:00
2026-08-24 06:08:38 +00:00
// Module 16270 (ToastStore)
import initializeDefault from "initialize" /* 589 */;
import dispatcherDefault from "dispatcher" /* 709 */;
2026-07-20 16:05:17 +00:00
2026-07-29 08:29:29 +00:00
let c0 = null;
2026-08-24 06:08:38 +00:00
const Store = initializeDefault.Store;
2026-07-29 08:29:29 +00:00
class ToastStore extends Store {
constructor() {
applyArgumentsResult = HermesBuiltin.applyArguments(new.target, new.target);
applyArgumentsResult.getContent = function getContent() {
return closure_0;
};
return applyArgumentsResult;
2026-07-20 16:05:17 +00:00
}
}
2026-07-29 08:29:29 +00:00
ToastStore.displayName = "ToastStore";
2026-08-24 06:08:38 +00:00
const toastStore = new ToastStore(dispatcherDefault, {
2026-07-20 16:05:17 +00:00
TOAST_OPEN: function handleOpen(toastProps) {
toastProps = toastProps.toastProps;
let key;
2026-07-29 08:29:29 +00:00
if (toastProps != null) {
2026-07-23 10:11:24 +00:00
key = toastProps.key;
2026-07-20 16:05:17 +00:00
}
if (key === toastProps.key) {
return false;
}
},
TOAST_CLOSE: function handleClose() {
2026-08-24 06:08:38 +00:00
c0 = null;
2026-07-20 16:05:17 +00:00
}
});
2026-07-29 08:29:29 +00:00
const result = require("set").fileFinishedImporting("modules/toast/native/ToastStore.tsx");
2026-07-20 16:05:17 +00:00
2026-07-29 08:29:29 +00:00
export default toastStore;