decord/source/modules/game_mentions/native/GameMentionSearchBar.tsx

50 lines
2.8 KiB
TypeScript
Raw Normal View History

2026-08-24 06:08:38 +00:00
// Module ID: 11623
// Function ID: 11624
// Dependencies: [19, 17, 21, 4668, 712, 11611, 9467, 4739, 1236, 8122, 2]
2026-07-24 07:16:23 +00:00
2026-08-24 06:08:38 +00:00
// Module 11623
import ThemesDefault from "Themes" /* 712 */;
import getSystemLocale from "getSystemLocale" /* 1236 */;
import Text from "Text" /* 4739 */;
import Form from "Form" /* 8122 */;
import GameControllerIcon from "GameControllerIcon" /* 9467 */;
import useGameMentionSearchBarHeight from "useGameMentionSearchBarHeight" /* 11611 */;
import { View } from "get ActivityIndicator" /* 17 */;
import jsxProd from "jsxProd" /* 21 */;
import createCacheKey from "createCacheKey" /* 4668 */;
import importAllResult from "noop" /* 19 */;
2026-07-24 07:16:23 +00:00
2026-08-24 06:08:38 +00:00
require = arg1;
2026-07-29 08:29:29 +00:00
({ jsx: c3, jsxs: c4 } = jsxProd);
let obj = { container: null, headerRow: null, icon: null, description: null, divider: null };
2026-08-24 06:08:38 +00:00
obj = { backgroundColor: ThemesDefault.colors.MOBILE_FLOATING_ACCESSORY_BACKGROUND };
2026-07-29 08:29:29 +00:00
obj[0] = obj;
createCacheKey = { flexDirection: "row", alignItems: "center", paddingHorizontal: 16, paddingVertical: require("useGameMentionSearchBarHeight").GAME_MENTION_SEARCH_BAR_HEADER_PADDING_VERTICAL };
obj[1] = createCacheKey;
obj[2] = { marginRight: 12 };
obj[3] = { paddingHorizontal: 16, paddingBottom: require("useGameMentionSearchBarHeight").GAME_MENTION_SEARCH_BAR_DESCRIPTION_PADDING_BOTTOM };
2026-08-24 06:08:38 +00:00
const obj2 = { paddingHorizontal: 16, paddingBottom: require("useGameMentionSearchBarHeight").GAME_MENTION_SEARCH_BAR_DESCRIPTION_PADDING_BOTTOM };
obj[4] = { marginLeft: 0, backgroundColor: ThemesDefault.colors.MOBILE_COMMAND_BAR_DIVIDER };
2026-07-29 08:29:29 +00:00
let closure_5 = createCacheKey.createStyles(obj);
2026-08-24 06:08:38 +00:00
let obj3 = { marginLeft: 0, backgroundColor: ThemesDefault.colors.MOBILE_COMMAND_BAR_DIVIDER };
2026-07-24 07:16:23 +00:00
const memoResult = importAllResult.memo(function GameMentionSearchBar() {
const tmp = callback3();
2026-07-29 08:29:29 +00:00
let obj = { style: tmp.container, children: null };
obj = { accessible: true, accessibilityRole: "header", children: null };
obj = { style: tmp.headerRow, children: null };
2026-08-24 06:08:38 +00:00
const items = [callback(GameControllerIcon.GameControllerIcon, { size: "sm", style: tmp.icon }), callback(Text.Text, { variant: useGameMentionSearchBarHeight.GAME_MENTION_SEARCH_BAR_TITLE_VARIANT, color: "mobile-text-heading-primary", children: "@game" })];
2026-07-29 08:29:29 +00:00
obj[1] = items;
2026-07-24 07:16:23 +00:00
const items1 = [callback2(View, obj), ];
2026-08-24 06:08:38 +00:00
const obj3 = { style: tmp.description, variant: useGameMentionSearchBarHeight.GAME_MENTION_SEARCH_BAR_DESCRIPTION_VARIANT, color: "text-muted", children: null };
const intl = getSystemLocale.intl;
obj3[3] = intl.string(getSystemLocale.t["1kR88y"]);
items1[1] = callback(Text.Text, obj3);
2026-07-29 08:29:29 +00:00
obj[2] = items1;
2026-08-24 06:08:38 +00:00
const items2 = [callback2(View, obj), callback(Form.FormDivider, { style: tmp.divider })];
2026-07-29 08:29:29 +00:00
obj[1] = items2;
2026-07-24 07:16:23 +00:00
return callback2(View, obj);
});
2026-08-24 06:08:38 +00:00
const result = require("set").fileFinishedImporting("modules/game_mentions/native/GameMentionSearchBar.tsx");
2026-07-24 07:16:23 +00:00
export default memoResult;