decord/source/modules/channel_permissions/native/ChannelPermissionsUtils.tsx
github-actions cd74c1f217 chore: update source for alpha 345.5
Skipped 1 file(s) >100MB (GitHub limit): source/__vendor/09xxx/9667_m.js (378 MB)
2026-09-05 10:56:28 +00:00

34 lines
1.5 KiB
TypeScript

// Module ID: 11608
// Function ID: 11609
// Name: openAddMembersActionSheet
// Dependencies: [1074, 1242, 4527, 9750, 1896, 11609, 2]
// Exports: openAddMembersActionSheet, openChannelMembersActionSheet
// Module 11608 (openAddMembersActionSheet)
import set from "set" /* 2 */;
import ME from "ME" /* 1074 */;
import expandEventPropertiesDefault from "expandEventProperties" /* 1242 */;
import asyncRequireImpl from "asyncRequireImpl" /* 1896 */;
import ACTION_SHEET_HEIGHT_HALFDefault from "ACTION_SHEET_HEIGHT_HALF" /* 4527 */;
const AnalyticEvents = ME.AnalyticEvents;
const result = set.fileFinishedImporting("modules/channel_permissions/native/ChannelPermissionsUtils.tsx");
export const openAddMembersActionSheet = function openAddMembersActionSheet(closure_0) {
let flag = arg1;
if (arg1 === undefined) {
flag = false;
}
let obj = expandEventPropertiesDefault;
obj.track(AnalyticEvents.OPEN_POPOUT, { type: "Grant Channel Access" });
const obj2 = ACTION_SHEET_HEIGHT_HALFDefault;
obj = { channel: closure_0, canSkip: flag };
obj2.openLazy(asyncRequireImpl(9750, dependencyMap.paths), "channel-add-members-" + closure_0.id, obj);
};
export const openChannelMembersActionSheet = function openChannelMembersActionSheet(id, guild_id) {
let obj = expandEventPropertiesDefault;
obj.track(AnalyticEvents.OPEN_POPOUT, { type: "Manage Channel Access" });
const obj2 = ACTION_SHEET_HEIGHT_HALFDefault;
obj = { channelId: id, guildId: guild_id };
obj2.openLazy(asyncRequireImpl(11609, dependencyMap.paths), "channel-members-" + id, obj);
};