22 lines
772 B
TypeScript
22 lines
772 B
TypeScript
// Module ID: 15885
|
|
// Function ID: 15886
|
|
// Name: mfa/MFAActionCreators
|
|
// Dependencies: [15886, 15887, 15896, 2]
|
|
// Exports: openMFAModal
|
|
|
|
// Module 15885 (mfa/MFAActionCreators)
|
|
import MFAConstants from "MFAConstants" /* 15886 */;
|
|
import MFA from "MFA" /* 15896 */;
|
|
import size from "module_2" /* 2 */;
|
|
|
|
const require = globalThis.__r;
|
|
|
|
const SELECT_NAMES = MFAConstants.SELECT_NAMES;
|
|
const result = size.fileFinishedImporting("modules/mfa/MFAActionCreators.tsx");
|
|
|
|
export const openMFAModal = function openMFAModal(methods, arg1, arg2) {
|
|
_require = arg1;
|
|
methods = methods.methods;
|
|
methods.methods = methods.filter((type) => Object.hasOwn(SELECT_NAMES, type.type));
|
|
require("MFAModal").openMFAModal(methods, (arg0) => MFA.trySubmit(arg0, closure_0), arg2);
|
|
};
|