2026-09-12 13:45:10 +00:00
|
|
|
// Module ID: 11737
|
|
|
|
|
// Function ID: 11738
|
2026-09-10 05:38:07 +00:00
|
|
|
// Name: channel_permissions/ChannelPermissionsUtils
|
2026-09-12 13:45:10 +00:00
|
|
|
// Dependencies: [1074, 1242, 4603, 9880, 1896, 11738, 2]
|
2026-07-20 16:05:17 +00:00
|
|
|
// Exports: openAddMembersActionSheet, openChannelMembersActionSheet
|
|
|
|
|
|
2026-09-12 13:45:10 +00:00
|
|
|
// Module 11737 (channel_permissions/ChannelPermissionsUtils)
|
2026-09-10 05:38:07 +00:00
|
|
|
import Constants from "Constants" /* 1074 */;
|
|
|
|
|
import AnalyticsUtilsDefault from "AnalyticsUtils" /* 1242 */;
|
2026-09-05 10:56:28 +00:00
|
|
|
import asyncRequireImpl from "asyncRequireImpl" /* 1896 */;
|
2026-09-12 13:45:10 +00:00
|
|
|
import ActionSheetActionCreatorsDefault from "ActionSheetActionCreators" /* 4603 */;
|
2026-09-10 05:38:07 +00:00
|
|
|
import size from "module_2" /* 2 */;
|
2026-07-23 10:11:24 +00:00
|
|
|
|
2026-09-10 05:38:07 +00:00
|
|
|
const AnalyticEvents = Constants.AnalyticEvents;
|
|
|
|
|
const result = size.fileFinishedImporting("modules/channel_permissions/native/ChannelPermissionsUtils.tsx");
|
2026-07-20 16:05:17 +00:00
|
|
|
|
2026-09-10 05:38:07 +00:00
|
|
|
export const openAddMembersActionSheet = function openAddMembersActionSheet(stateFromStores) {
|
2026-07-20 16:05:17 +00:00
|
|
|
let flag = arg1;
|
|
|
|
|
if (arg1 === undefined) {
|
|
|
|
|
flag = false;
|
|
|
|
|
}
|
2026-09-10 05:38:07 +00:00
|
|
|
AnalyticsUtilsDefault.track(AnalyticEvents.OPEN_POPOUT, { type: "Grant Channel Access" });
|
|
|
|
|
const obj2 = ActionSheetActionCreatorsDefault;
|
2026-09-12 13:45:10 +00:00
|
|
|
obj2.openLazy(asyncRequireImpl(9880, dependencyMap.paths), "channel-add-members-" + stateFromStores.id, { channel: stateFromStores, canSkip: flag });
|
2026-07-20 16:05:17 +00:00
|
|
|
};
|
|
|
|
|
export const openChannelMembersActionSheet = function openChannelMembersActionSheet(id, guild_id) {
|
2026-09-10 05:38:07 +00:00
|
|
|
AnalyticsUtilsDefault.track(AnalyticEvents.OPEN_POPOUT, { type: "Manage Channel Access" });
|
|
|
|
|
const obj2 = ActionSheetActionCreatorsDefault;
|
2026-09-12 13:45:10 +00:00
|
|
|
obj2.openLazy(asyncRequireImpl(11738, dependencyMap.paths), "channel-members-" + id, { channelId: id, guildId: guild_id });
|
2026-07-20 16:05:17 +00:00
|
|
|
};
|