86 lines
2.5 KiB
TypeScript
86 lines
2.5 KiB
TypeScript
// Module ID: 14553
|
|
// Function ID: 14554
|
|
// Name: getScreens
|
|
// Dependencies: [14550, 21, 14554, 1233, 14561, 5504, 14556, 14566, 14567, 14570, 14571, 2]
|
|
// Exports: getScreens
|
|
|
|
// Module 14553 (getScreens)
|
|
import set from "set" /* 2 */;
|
|
import jsxProd from "jsxProd" /* 21 */;
|
|
import getSystemLocale from "getSystemLocale" /* 1233 */;
|
|
import WebAuthnScreens2 from "WebAuthnScreens" /* 14550 */;
|
|
import _modDef14556 from "module_14556" /* 14556 */;
|
|
|
|
const WebAuthnScreens = WebAuthnScreens2.WebAuthnScreens;
|
|
const jsx = jsxProd.jsx;
|
|
const result = set.fileFinishedImporting("modules/webauthn/native/WebAuthnScreens.tsx");
|
|
|
|
export const getScreens = function getScreens(isModal) {
|
|
isModal = isModal.isModal;
|
|
obj = { [closure_3.MODAL_UPSELL]: obj };
|
|
obj = {
|
|
title: "",
|
|
render() {
|
|
return callback2(callback(14554), {});
|
|
}
|
|
};
|
|
obj = { title: null, render: null, headerLeft: null };
|
|
const intl = getSystemLocale.intl;
|
|
obj[0] = intl.string(getSystemLocale.t["0N1s81"]);
|
|
obj[1] = function render() {
|
|
return callback2(callback(14561), {});
|
|
};
|
|
let headerCloseButton;
|
|
if (isModal) {
|
|
let tmp2Result = tmp2(5504);
|
|
headerCloseButton = tmp2Result.getHeaderCloseButton(_modDef14556.closePasskeyUpsellModal);
|
|
}
|
|
obj[2] = headerCloseButton;
|
|
obj[WebAuthnScreens.INIT] = obj;
|
|
obj1 = {
|
|
render(arg0) {
|
|
const merged = Object.assign(arg0);
|
|
return callback2(callback(14566), {});
|
|
},
|
|
title: null
|
|
};
|
|
const intl2 = tmp2(1233).intl;
|
|
obj1[1] = intl2.string(getSystemLocale.t.UBBwwF);
|
|
obj[WebAuthnScreens.EDIT] = obj1;
|
|
const obj2 = {
|
|
render() {
|
|
return callback2(callback(14567), {});
|
|
},
|
|
title: null
|
|
};
|
|
const intl3 = tmp2(1233).intl;
|
|
obj2[1] = intl3.string(getSystemLocale.t.vrOCCk);
|
|
obj[WebAuthnScreens.REGISTER] = obj2;
|
|
const obj3 = {
|
|
render(arg0) {
|
|
const merged = Object.assign(arg0);
|
|
return callback2(callback(14570), {});
|
|
},
|
|
title: null,
|
|
headerLeft: null
|
|
};
|
|
const intl4 = tmp2(1233).intl;
|
|
obj3[1] = intl4.string(getSystemLocale.t["cY/IOu"]);
|
|
let headerCloseButton1;
|
|
if (isModal) {
|
|
tmp2Result = tmp2(5504);
|
|
headerCloseButton1 = tmp2Result.getHeaderCloseButton(_modDef14556.closePasskeyUpsellModal);
|
|
}
|
|
obj3[2] = headerCloseButton1;
|
|
obj[WebAuthnScreens.NAME] = obj3;
|
|
const obj4 = {
|
|
render() {
|
|
return callback2(callback(14571), {});
|
|
},
|
|
title: null
|
|
};
|
|
const intl5 = tmp2(1233).intl;
|
|
obj4[1] = intl5.string(getSystemLocale.t["7wPZln"]);
|
|
obj[WebAuthnScreens.SUCCESS] = obj4;
|
|
return obj;
|
|
};
|