decord/source/modules/application_commands/native/ApplicationCommandLoadingItem.tsx
github-actions 03cf168fbc chore: update source for alpha 347.3
Skipped 1 file(s) >100MB (GitHub limit): source/__polyfill/04xxx/module_4825.js (118.4 MB)
2026-09-17 08:17:09 +00:00

41 lines
2.4 KiB
TypeScript

// Module ID: 12551
// Function ID: 12552
// Name: ApplicationCommandLoadingItem
// Dependencies: [19, 17, 10410, 21, 4640, 576, 5069, 2]
// Exports: default
// Module 12551 (ApplicationCommandLoadingItem)
import nativeDefault from "native" /* 576 */;
import useFontScale from "useFontScale" /* 5069 */;
import noop from "module_19" /* 19 */;
require = fn;
const View = fn(17).View;
const AUTOCOMPLETE_ROW_HEIGHT = fn(10410).AUTOCOMPLETE_ROW_HEIGHT;
const jsxProd = fn(21);
({ jsx: hasOwnProperty, jsxs: metroRequire } = jsxProd);
let c7 = 16;
const createStyles = fn(4640);
let closure_8 = createStyles.createStyles((arg0) => {
const obj = { applicationCommandLoadingItem: { flexDirection: "row", paddingVertical: 4, paddingHorizontal: 16, alignItems: "center", height: Math.max(arg0 * AUTOCOMPLETE_ROW_HEIGHT, AUTOCOMPLETE_ROW_HEIGHT) }, applicationCommandLoadingLeftWrapper: { flexDirection: "column", width: "75%", height: "100%", justifyContent: "space-between" }, applicationCommandLoadingName: null, applicationCommandLoadingDescription: null, applicationCommandLoadingSectionName: null };
const size = { backgroundColor: nativeDefault.colors.BACKGROUND_MOD_STRONG, height: v16, borderRadius: v16, width: "20%" };
obj.applicationCommandLoadingName = size;
const size1 = { backgroundColor: nativeDefault.colors.BACKGROUND_BASE_LOW, height: v16, borderRadius: v16, width: "80%" };
obj.applicationCommandLoadingDescription = size1;
const size2 = { backgroundColor: nativeDefault.colors.BACKGROUND_MOD_STRONG, paddingLeft: 16, width: "25%", marginLeft: "auto", height: v16, borderRadius: v16 };
obj.applicationCommandLoadingSectionName = size2;
return obj;
});
let size = fn(2);
const result = size.fileFinishedImporting("modules/application_commands/native/ApplicationCommandLoadingItem.tsx");
export default function ApplicationCommandLoadingItem() {
const tmp = closure_8(useFontScale.useFontScale());
const obj2 = { style: tmp.applicationCommandLoadingItem, children: null };
const obj3 = { style: tmp.applicationCommandLoadingLeftWrapper, children: null };
const items = [hasOwnProperty(View, { style: tmp.applicationCommandLoadingName }), hasOwnProperty(View, { style: tmp.applicationCommandLoadingDescription })];
obj3.children = items;
const items1 = [timestampProducer(View, obj3), hasOwnProperty(View, { style: tmp.applicationCommandLoadingSectionName })];
obj2.children = items1;
return timestampProducer(View, obj2);
};