105 lines
7.1 KiB
TypeScript
105 lines
7.1 KiB
TypeScript
/* Metro module 14994; source: modules/guild_settings/native/StandaloneMembersView.tsx; dependencies: [31, 33, 1484, 1585, 9112, 5282, 1244, 14995, 10296, 10311, 10313, 5280, 2] */
|
|
import UseSafeAreaInsetsNative from '../../safe_area/useSafeAreaInsets.native.tsx'; /* Metro dependency 1585 */
|
|
import KickConfirm from '../../guild_moderation/native/KickConfirm.tsx'; /* Metro dependency 10311 */
|
|
import BanConfirm from '../../guild_moderation/native/BanConfirm.tsx'; /* Metro dependency 10313 */
|
|
import GuildSettingsModalMembersWithTabs from './GuildSettingsModalMembersWithTabs.tsx'; /* Metro dependency 14995 */
|
|
import * as FileImportTrackerModule from '../../../by-id/module-00002-FileImportTracker.js'; /* Metro dependency 2 */
|
|
import * as ReactModule from '../../../by-id/module-00031-React.js'; /* Metro dependency 31 */
|
|
import * as JsxRuntimeModule from '../../../by-id/module-00033-JsxRuntime.js'; /* Metro dependency 33 */
|
|
import * as IndexNativeModule from '../../../intl/index.native.tsx'; /* Metro dependency 1244 */
|
|
import * as UseNavigationNativeModule from '../../../design/components/Navigator/native/useNavigation.native.tsx'; /* Metro dependency 1484 */
|
|
import * as NavigatorNativeModule from '../../../design/components/Navigator/native/Navigator.native.tsx'; /* Metro dependency 5280 */
|
|
import * as NavigatorHeaderNativeModule from '../../../design/components/Navigator/native/NavigatorHeader.native.tsx'; /* Metro dependency 5282 */
|
|
import * as GuildSettingsModalMemberEditModule from './GuildSettingsModalMemberEdit.tsx'; /* Metro dependency 10296 */
|
|
|
|
function _fun113318(global, require, importDefault, importAll, module, exports, dependencyMap) { // fn#113318, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:15191:6, offset: 0x023f4307, size: 188 bytes, params: 8, frame: 18
|
|
const env0_0 = require;
|
|
const Object = global.Object;
|
|
Object.defineProperty(exports, '__esModule', {value: true});
|
|
object = {MAIN: 'MAIN', MEMBER_EDIT: 'MEMBER_EDIT', MEMBER_KICK: 'MEMBER_KICK', MEMBER_BAN: 'MEMBER_BAN'};
|
|
(FileImportTrackerModule).fileFinishedImporting('modules/guild_settings/native/StandaloneMembersView.tsx');
|
|
exports.default = StandaloneMembersView;
|
|
function StandaloneMembersView({guildId}) { // fn#113319, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:15191:347, offset: 0x023f43c3, size: 410 bytes, params: 2, frame: 21
|
|
var object3;
|
|
const env0_1 = (UseNavigationNativeModule).useNavigation();
|
|
const bottom = (UseSafeAreaInsetsNative)().bottom;
|
|
let binding = ReactModule;
|
|
binding.useEffect(_fun113320, [guildId]);
|
|
object3 = {contentContainerStyle: {paddingBottom: 16 + bottom}};
|
|
object3 = {};
|
|
binding = env0_5;
|
|
let MAIN = binding.MAIN;
|
|
const object = {};
|
|
object.headerLeft = (require(5282) /* metro dependency 5282: NavigatorHeaderNative */).getHeaderCloseButton(_fun113321);
|
|
object.headerTitle = headerTitle_113322;
|
|
object.render = render_113323;
|
|
object3[MAIN] = object;
|
|
const MEMBER_EDIT = binding.MEMBER_EDIT;
|
|
object3[MEMBER_EDIT] = {render: render_113324};
|
|
const MEMBER_KICK = binding.MEMBER_KICK;
|
|
object3[MEMBER_KICK] = {headerTitle: function() {
|
|
return null;
|
|
}, render: render_113326};
|
|
const MEMBER_BAN = binding.MEMBER_BAN;
|
|
object3[MEMBER_BAN] = {headerTitle: function() {
|
|
return null;
|
|
}, render: render_113328};
|
|
const Navigator = (NavigatorNativeModule).Navigator;
|
|
MAIN = binding.MAIN;
|
|
const intl = (IndexNativeModule).intl;
|
|
return (
|
|
<Navigator
|
|
screens={object3}
|
|
initialRouteName={MAIN}
|
|
headerBackTitle={intl.string((IndexNativeModule).t['13/7kX'])}
|
|
/>
|
|
);
|
|
function _fun113320() { // fn#113320, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:15191:453, offset: 0x023f455d, size: 45 bytes, params: 1, frame: 12
|
|
let value = environment.__proto__;
|
|
value = importDefault(9112) /* metro dependency 9112: GuildSettingsActionCreators */;
|
|
value.init(guildId);
|
|
}
|
|
|
|
function _fun113321() { // fn#113321, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:15191:586, offset: 0x022358e7, size: 19 bytes, params: 1, frame: 9
|
|
return env0_1.goBack();
|
|
}
|
|
|
|
function StandaloneMembersViewHeaderTitle() { // fn#113322, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:15191:615, owner: StandaloneMembersView.headerTitle, offset: 0x023f458a, size: 96 bytes, params: 1, frame: 18
|
|
const NavigatorHeader = (NavigatorHeaderNativeModule).NavigatorHeader;
|
|
const intl = (IndexNativeModule).intl;
|
|
return <NavigatorHeader title={intl.string((IndexNativeModule).t['9Oq93m'])} />;
|
|
}
|
|
|
|
function StandaloneMembersViewRender() { // fn#113323, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:15191:702, owner: StandaloneMembersView.render, offset: 0x023f45ea, size: 50 bytes, params: 1, frame: 14
|
|
const value = environment.__proto__;
|
|
return ((Component) => <Component guildId={guildId} />)(GuildSettingsModalMembersWithTabs);
|
|
}
|
|
|
|
function StandaloneMembersViewRender_113324(a0) { // fn#113324, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:15191:754, owner: StandaloneMembersView.render, offset: 0x023f461c, size: 77 bytes, params: 2, frame: 15
|
|
const GuildSettingsModalMemberEditScene = (GuildSettingsModalMemberEditModule).GuildSettingsModalMemberEditScene;
|
|
return (
|
|
<GuildSettingsModalMemberEditScene
|
|
guildId={guildId}
|
|
{...a0}
|
|
{...env0_2}
|
|
/>
|
|
);
|
|
}
|
|
|
|
function StandaloneMembersViewRender_113326(a0) { // fn#113326, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:15191:870, owner: StandaloneMembersView.render, offset: 0x023f4669, size: 71 bytes, params: 2, frame: 15
|
|
const value = environment.__proto__;
|
|
return ((Component) => <Component guildId={guildId} {...a0} {...env0_2} />)(KickConfirm);
|
|
}
|
|
|
|
function StandaloneMembersViewRender_113328(a0) { // fn#113328, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:15191:951, owner: StandaloneMembersView.render, offset: 0x023f46b0, size: 71 bytes, params: 2, frame: 15
|
|
const value = environment.__proto__;
|
|
return ((Component) => <Component guildId={guildId} {...a0} {...env0_2} />)(BanConfirm);
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
global.__d(_fun113318, 14994, [31, 33, 1484, 1585, 9112, 5282, 1244, 14995, 10296, 10311, 10313, 5280,
|
|
2]) /* metro module 14994, dependencies: [31, 33, 1484, 1585, 9112, 5282, 1244, 14995, 10296, 10311, 10313, 5280, 2] */;
|