decord/source/modules/webauthn/native/PasskeyUpsellActionCreators.tsx
github-actions da5b5e5efe chore: update source for alpha 346.6
Skipped 1 file(s) >100MB (GitHub limit): source/__polyfill/04xxx/module_4821.js (118.4 MB)
2026-09-12 13:45:10 +00:00

40 lines
1.7 KiB
TypeScript

// Module ID: 14750
// Function ID: 14751
// Name: PasskeyUpsellActionCreators
// Dependencies: [4457, 1943, 1945, 4839, 14751, 1896, 4603, 14752, 14754, 2]
// Module 14750 (PasskeyUpsellActionCreators)
import asyncRequireImpl from "asyncRequireImpl" /* 1896 */;
import dismissible_content from "dismissible_content" /* 1943 */;
import ActionSheetActionCreatorsDefault from "ActionSheetActionCreators" /* 4603 */;
import ModalActionCreatorsDefault from "ModalActionCreators" /* 4839 */;
import size from "module_2" /* 2 */;
const PASSKEY_UPSELL_KEY = "PASSKEY_UPSELL_KEY";
let result = size.fileFinishedImporting("modules/webauthn/native/PasskeyUpsellActionCreators.tsx");
export default {
openPasskeyUpsell() {
if (!obj.UNSAFE_isDismissibleContentDismissed(dismissible_content.DismissibleContent.PASSWORDLESS_UPSELL)) {
const self = this;
const markDismissibleContentAsShown = tmp(1945).requestMarkDismissibleContentAsShown(tmp(1943).DismissibleContent.PASSWORDLESS_UPSELL);
const result = this.openPasskeyUpsellPromoSheet();
const tmpResult = tmp(1945);
}
},
openPasskeyUpsellModal() {
ModalActionCreatorsDefault.pushLazy(asyncRequireImpl(14751, dependencyMap.paths), undefined, PASSKEY_UPSELL_KEY);
},
closePasskeyUpsellModal() {
ModalActionCreatorsDefault.popWithKey(PASSKEY_UPSELL_KEY);
},
openPasskeyUpsellPromoSheet() {
ActionSheetActionCreatorsDefault.openLazy(asyncRequireImpl(14752, dependencyMap.paths), PASSKEY_UPSELL_KEY);
},
closePasskeyUpsellPromoSheet() {
ActionSheetActionCreatorsDefault.hideActionSheet(PASSKEY_UPSELL_KEY);
},
openPasskeyUpsellPromoModal(merged) {
ModalActionCreatorsDefault.pushLazy(asyncRequireImpl(14754, dependencyMap.paths), merged, PASSKEY_UPSELL_KEY);
}
};