39 lines
1.6 KiB
TypeScript
39 lines
1.6 KiB
TypeScript
// Module ID: 14588
|
|
// Function ID: 14589
|
|
// Dependencies: [4301, 1372, 1374, 4731, 14589, 2008, 4448, 14590, 14592, 2]
|
|
|
|
// Module 14588
|
|
import set from "set" /* 2 */;
|
|
import DismissibleContent from "DismissibleContent" /* 1372 */;
|
|
import asyncRequireImpl from "asyncRequireImpl" /* 2008 */;
|
|
import ACTION_SHEET_HEIGHT_HALFDefault from "ACTION_SHEET_HEIGHT_HALF" /* 4448 */;
|
|
import _modDef4731 from "module_4731" /* 4731 */;
|
|
|
|
const PASSKEY_UPSELL_KEY = "PASSKEY_UPSELL_KEY";
|
|
let result = set.fileFinishedImporting("modules/webauthn/native/PasskeyUpsellActionCreators.tsx");
|
|
|
|
export default {
|
|
openPasskeyUpsell() {
|
|
if (!obj.UNSAFE_isDismissibleContentDismissed(DismissibleContent.DismissibleContent.PASSWORDLESS_UPSELL)) {
|
|
const self = this;
|
|
const markDismissibleContentAsShown = tmp(1374).requestMarkDismissibleContentAsShown(tmp(1372).DismissibleContent.PASSWORDLESS_UPSELL);
|
|
const result = this.openPasskeyUpsellPromoSheet();
|
|
const tmpResult = tmp(1374);
|
|
}
|
|
},
|
|
openPasskeyUpsellModal() {
|
|
_modDef4731.pushLazy(asyncRequireImpl(14589, dependencyMap.paths), undefined, PASSKEY_UPSELL_KEY);
|
|
},
|
|
closePasskeyUpsellModal() {
|
|
_modDef4731.popWithKey(PASSKEY_UPSELL_KEY);
|
|
},
|
|
openPasskeyUpsellPromoSheet() {
|
|
ACTION_SHEET_HEIGHT_HALFDefault.openLazy(asyncRequireImpl(14590, dependencyMap.paths), PASSKEY_UPSELL_KEY);
|
|
},
|
|
closePasskeyUpsellPromoSheet() {
|
|
ACTION_SHEET_HEIGHT_HALFDefault.hideActionSheet(PASSKEY_UPSELL_KEY);
|
|
},
|
|
openPasskeyUpsellPromoModal(closure_0) {
|
|
_modDef4731.pushLazy(asyncRequireImpl(14592, dependencyMap.paths), closure_0, PASSKEY_UPSELL_KEY);
|
|
}
|
|
};
|