decord/source/modules/webauthn/native/PasskeyUpsellActionCreators.tsx
github-actions 03cf168fbc chore: update source for alpha 347.3
Skipped 1 file(s) >100MB (GitHub limit): source/__polyfill/04xxx/module_4825.js (118.4 MB)
2026-09-17 08:17:09 +00:00

40 lines
1.7 KiB
TypeScript

// Module ID: 14785
// Function ID: 14786
// Name: PasskeyUpsellActionCreators
// Dependencies: [4460, 1944, 1946, 4843, 14786, 1897, 4607, 14787, 14789, 2]
// Module 14785 (PasskeyUpsellActionCreators)
import asyncRequireImpl from "asyncRequireImpl" /* 1897 */;
import dismissible_content from "dismissible_content" /* 1944 */;
import ActionSheetActionCreatorsDefault from "ActionSheetActionCreators" /* 4607 */;
import ModalActionCreatorsDefault from "ModalActionCreators" /* 4843 */;
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(1946).requestMarkDismissibleContentAsShown(tmp(1944).DismissibleContent.PASSWORDLESS_UPSELL);
const result = this.openPasskeyUpsellPromoSheet();
const tmpResult = tmp(1946);
}
},
openPasskeyUpsellModal() {
ModalActionCreatorsDefault.pushLazy(asyncRequireImpl(14786, dependencyMap.paths), undefined, PASSKEY_UPSELL_KEY);
},
closePasskeyUpsellModal() {
ModalActionCreatorsDefault.popWithKey(PASSKEY_UPSELL_KEY);
},
openPasskeyUpsellPromoSheet() {
ActionSheetActionCreatorsDefault.openLazy(asyncRequireImpl(14787, dependencyMap.paths), PASSKEY_UPSELL_KEY);
},
closePasskeyUpsellPromoSheet() {
ActionSheetActionCreatorsDefault.hideActionSheet(PASSKEY_UPSELL_KEY);
},
openPasskeyUpsellPromoModal(merged) {
ModalActionCreatorsDefault.pushLazy(asyncRequireImpl(14789, dependencyMap.paths), merged, PASSKEY_UPSELL_KEY);
}
};