70 lines
4.1 KiB
TypeScript
70 lines
4.1 KiB
TypeScript
/* Metro module 15332; source: modules/launchpad/native/shared/getLayoutStyles.tsx; dependencies: [697, 1305, 6819, 6780, 2] */
|
|
import * as FileImportTrackerModule from '../../../../by-id/module-00002-FileImportTracker.js'; /* Metro dependency 2 */
|
|
import * as NativeModule from '../../../../design/void/native.tsx'; /* Metro dependency 1305 */
|
|
import * as GameIconModule from '../../../game_detection/native/GameIcon.tsx'; /* Metro dependency 6780 */
|
|
import * as GuildIconModule from '../../../guild/native/GuildIcon.tsx'; /* Metro dependency 6819 */
|
|
|
|
function _fun117255(global, require, importDefault, importAll, module, exports, dependencyMap) { // fn#117255, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:15529:6, offset: 0x024ab626, size: 926 bytes, params: 8, frame: 25
|
|
const Object = global.Object;
|
|
Object.defineProperty(exports, '__esModule', {value: true});
|
|
object = {};
|
|
object.layout = {margin: {'marginLeft': 8, 'marginRight': 8, 'marginVertical': 0}};
|
|
const object3 = {};
|
|
object3.borderRadius = (importDefault(697) /* metro dependency 697: native */).radii.md;
|
|
object3.padding = {'paddingVertical': 4, 'paddingLeft': 8, 'paddingRight': 8};
|
|
object.container = object3;
|
|
object.voiceUsers = {height: 36, margin: {marginLeft: 60}};
|
|
const AvatarSizes = (NativeModule).AvatarSizes;
|
|
const XSMALL = AvatarSizes.XSMALL;
|
|
object.voiceOrStageSummaryRow = {size: 24, avatarSize: XSMALL};
|
|
object.channelName = {height: 20, text: {variant: 'redesign/channel-title/semibold'}};
|
|
const IconSizes = (NativeModule).IconSizes;
|
|
let EXTRA_SMALL = IconSizes.EXTRA_SMALL;
|
|
object.messagePreview = {'messageTypeIconSize': null, 'messageTypeIconSizeNew': 'xxs', 'height': 16,
|
|
messageTypeIconSize: EXTRA_SMALL, text: {variant: 'text-xs/medium'}, margin: {marginTop: 0}};
|
|
object.timestamp = {text: {variant: 'text-xs/medium'}};
|
|
object.inviteRow = {text: {variant: 'text-sm/semibold'}};
|
|
const object7 = {};
|
|
let REFRESH_MEDIUM_32 = AvatarSizes.REFRESH_MEDIUM_32;
|
|
object7.avatarSize = REFRESH_MEDIUM_32;
|
|
const GuildIconSizes = (GuildIconModule).GuildIconSizes;
|
|
const SMALL_32 = GuildIconSizes.SMALL_32;
|
|
object7.guildIconSize = SMALL_32;
|
|
const XXSMALL_12 = GuildIconSizes.XXSMALL_12;
|
|
object7.guildBadgeIconSize = XXSMALL_12;
|
|
object7.wrapper = {size: 32};
|
|
object7.channelIcon = {size: 16};
|
|
object7.margin = {marginRight: 8};
|
|
object7.emoji = {'size': 16, 'lineHeight': 24};
|
|
object.icon = object7;
|
|
object.unreadBadge = {size: 8, position: {left: -12}};
|
|
object.mentionBadge = {position: {top: 28}};
|
|
object.category = {height: 30, margin: {marginTop: 16}, text: {size: 14}};
|
|
REFRESH_MEDIUM_32 = AvatarSizes.REFRESH_MEDIUM_32;
|
|
object.typing = {position: {'top': 3, 'left': 3}, typingIndicator: {position: {'top': 20, 'left': 10}},
|
|
avatarSize: REFRESH_MEDIUM_32};
|
|
object.activeThreadCount = {text: {variant: 'text-xs/bold'}};
|
|
const object8 = {};
|
|
EXTRA_SMALL = IconSizes.EXTRA_SMALL;
|
|
object8.size = EXTRA_SMALL;
|
|
const GameIconSizes = (GameIconModule).GameIconSizes;
|
|
const SIZE_24 = GameIconSizes.SIZE_24;
|
|
object8.gameSize = SIZE_24;
|
|
object.joinVoiceButton = {text: {variant: 'text-xs/bold'}, layout: {'paddingVertical': 4, 'paddingRight': 8,
|
|
'paddingLeft': 8, 'height': 24}, icon: object8};
|
|
object.threadSpine = {'left': 38, 'startAndEndHeight': 15, 'transform': null, 'topOffset': -2,
|
|
transform: [{translateY: 10}]};
|
|
object.happeningNow = {margin: {'marginTop': 16, 'marginBottom': 16}};
|
|
object.separator = {margin: {marginVertical: 12}};
|
|
object.searchButton = {margin: {marginHorizontal: 12}};
|
|
(FileImportTrackerModule).fileFinishedImporting('modules/launchpad/native/shared/getLayoutStyles.tsx');
|
|
exports.default = getLayoutStyle;
|
|
function getLayoutStyle() { // fn#117256, offset: 0x00c36f09, size: 9 bytes, params: 1, frame: 1
|
|
return env0_0;
|
|
}
|
|
|
|
}
|
|
|
|
global.__d(_fun117255, 15332, [697, 1305, 6819, 6780,
|
|
2]) /* metro module 15332, dependencies: [697, 1305, 6819, 6780, 2] */;
|