decord/alpha/source/modules/mfa/MFAActionCreators.tsx

29 lines
871 B
TypeScript
Raw Normal View History

2026-10-09 10:00:15 +00:00
// Module ID: 15888
// Function ID: 15889
// Name: mfa/MFAActionCreators
2026-10-09 10:00:15 +00:00
// Dependencies: [15889, 15890, 15899, 2]
2026-07-20 16:05:17 +00:00
// Exports: openMFAModal
2026-10-09 10:00:15 +00:00
// Module 15888 (mfa/MFAActionCreators)
import MFAConstants from "MFAConstants" /* 15889 */;
import MFA from "MFA" /* 15899 */;
import size from "module_2" /* 2 */;
2026-07-23 10:11:24 +00:00
const require = globalThis.__r;
2026-10-03 08:58:59 +00:00
let _require;
2026-07-20 16:05:17 +00:00
const SELECT_NAMES = MFAConstants.SELECT_NAMES;
const result = size.fileFinishedImporting("modules/mfa/MFAActionCreators.tsx");
export const openMFAModal = function openMFAModal(methods, arg1, arg2) {
2026-10-03 08:58:59 +00:00
let closure_0;
_require = arg1;
2026-07-20 16:05:17 +00:00
methods = methods.methods;
methods.methods = methods.filter((type) => Object.hasOwn(SELECT_NAMES, type.type));
2026-10-03 08:58:59 +00:00
let obj = require("MFAModal");
2026-10-08 09:57:35 +00:00
obj.openMFAModal(methods, function finish(arg0) {
2026-10-03 08:58:59 +00:00
const obj = MFA;
return obj.trySubmit(arg0, closure_0);
}, arg2);
2026-07-20 16:05:17 +00:00
};