decord/source/modules/channel_permissions/native/ChannelPermissionsUtils.tsx
github-actions 7450227d0b chore: update source for alpha 345.4
Skipped 1 file(s) >100MB (GitHub limit): source/__vendor/09xxx/9596_m.js (380.6 MB)
2026-09-04 17:41:35 +00:00

34 lines
1.5 KiB
TypeScript

// Module ID: 11540
// Function ID: 11541
// Name: openAddMembersActionSheet
// Dependencies: [673, 695, 4448, 9679, 2008, 11541, 2]
// Exports: openAddMembersActionSheet, openChannelMembersActionSheet
// Module 11540 (openAddMembersActionSheet)
import set from "set" /* 2 */;
import ME from "ME" /* 673 */;
import expandEventPropertiesDefault from "expandEventProperties" /* 695 */;
import asyncRequireImpl from "asyncRequireImpl" /* 2008 */;
import ACTION_SHEET_HEIGHT_HALFDefault from "ACTION_SHEET_HEIGHT_HALF" /* 4448 */;
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(9679, 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(11541, dependencyMap.paths), "channel-members-" + id, obj);
};