decord/source/modules/user_profile/native/UserProfileAlertUtils.tsx
github-actions a36fe4ec9c chore: update source for alpha 347.0
Skipped 1 file(s) >100MB (GitHub limit): source/__polyfill/04xxx/module_4821.js (118.4 MB)
2026-09-14 20:04:03 +00:00

51 lines
2.6 KiB
TypeScript

// Module ID: 12750
// Function ID: 12751
// Name: UserProfileAlertUtils
// Dependencies: [19, 21, 4982, 12751, 12752, 12753, 12754, 12755, 12756, 2]
// Exports: alertUserReported, confirmCancelFriendRequest, confirmRemoveFriend, confirmRemoveGameFriend, confirmThreadRemove, confirmVideoUnstableConnection
// Module 12750 (UserProfileAlertUtils)
import useAlertStore from "useAlertStore" /* 4982 */;
import UserProfileConfirmCancelFriendRequestDefault from "UserProfileConfirmCancelFriendRequest" /* 12751 */;
import UserProfileConfirmRemoveFriendDefault from "UserProfileConfirmRemoveFriend" /* 12752 */;
import UserProfileConfirmRemoveGameFriendDefault from "UserProfileConfirmRemoveGameFriend" /* 12753 */;
import UserProfileConfirmVideoUnstableConnectionDefault from "UserProfileConfirmVideoUnstableConnection" /* 12754 */;
import UserProfileAlertUserReportedDefault from "UserProfileAlertUserReported" /* 12755 */;
import UserProfileConfirmThreadRemoveDefault from "UserProfileConfirmThreadRemove" /* 12756 */;
import noop from "module_19" /* 19 */;
require = fn;
const jsx = fn(21).jsx;
const size = fn(2);
const result = size.fileFinishedImporting("modules/user_profile/native/UserProfileAlertUtils.tsx");
export const confirmCancelFriendRequest = function confirmCancelFriendRequest(arg0) {
const obj = useAlertStore;
const obj2 = {};
const merged = Object.assign(arg0);
obj.openAlert("cancel-friend-request", jsx(UserProfileConfirmCancelFriendRequestDefault, {}));
};
export const confirmRemoveFriend = function confirmRemoveFriend(arg0) {
const obj = useAlertStore;
const obj2 = {};
const merged = Object.assign(arg0);
obj.openAlert("remove-friend", jsx(UserProfileConfirmRemoveFriendDefault, {}));
};
export const confirmRemoveGameFriend = function confirmRemoveGameFriend(arg0) {
const obj = useAlertStore;
const obj2 = {};
const merged = Object.assign(arg0);
obj.openAlert("remove-game-friend", jsx(UserProfileConfirmRemoveGameFriendDefault, {}));
};
export const confirmVideoUnstableConnection = function confirmVideoUnstableConnection(onConfirm) {
useAlertStore.openAlert("video-unstable-connection", jsx(UserProfileConfirmVideoUnstableConnectionDefault, { onConfirm }));
};
export const alertUserReported = function alertUserReported() {
useAlertStore.openAlert("user-reported", jsx(UserProfileAlertUserReportedDefault, {}));
};
export const confirmThreadRemove = function confirmThreadRemove(arg0) {
const obj = useAlertStore;
const obj2 = {};
const merged = Object.assign(arg0);
obj.openAlert("thread-remove", jsx(UserProfileConfirmThreadRemoveDefault, {}));
};