59 lines
4.1 KiB
TypeScript
59 lines
4.1 KiB
TypeScript
/* Metro module 11866; source: modules/application_commands/native/ApplicationCommandLoadingItem.tsx; dependencies: [31, 27, 11018, 33, 4501, 697, 4584, 2] */
|
|
import * as FileImportTrackerModule from '../../../by-id/module-00002-FileImportTracker.js'; /* Metro dependency 2 */
|
|
import * as ReactNativeModule from '../../../by-id/module-00027-ReactNative.js'; /* Metro dependency 27 */
|
|
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 CreateStylesModule from '../../../design/components/Styles/native/createStyles.tsx'; /* Metro dependency 4501 */
|
|
import * as UseFontScaleModule from '../../screen/native/useFontScale.tsx'; /* Metro dependency 4584 */
|
|
import * as ApplicationCommandsConstantsModule from './ApplicationCommandsConstants.tsx'; /* Metro dependency 11018 */
|
|
|
|
function _fun90987(global, require, importDefault, importAll, module, exports, dependencyMap) { // fn#90987, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:12052:6, offset: 0x0204eb0e, size: 223 bytes, params: 8, frame: 18
|
|
const env0_0 = require;
|
|
const Object = global.Object;
|
|
Object.defineProperty(exports, '__esModule', {value: true});
|
|
ReactModule;
|
|
const env0_7 = (CreateStylesModule).createStyles(_fun90988);
|
|
(FileImportTrackerModule).fileFinishedImporting('modules/application_commands/native/ApplicationCommandLoadingItem.tsx');
|
|
exports.default = _default_90989;
|
|
function _fun90988(a0) { // fn#90988, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:12052:209, offset: 0x0204ebed, size: 227 bytes, params: 2, frame: 16
|
|
const object = {};
|
|
const object2 = {'flexDirection': 'row', 'paddingVertical': 4, 'paddingHorizontal': 16, 'alignItems': 'center'};
|
|
const Math = global.Math;
|
|
object2.height = Math.max(a0 * AUTOCOMPLETE_ROW_HEIGHT, AUTOCOMPLETE_ROW_HEIGHT);
|
|
object.applicationCommandLoadingItem = object2;
|
|
object.applicationCommandLoadingLeftWrapper = {'flexDirection': 'column', 'width': '75%', 'height': '100%',
|
|
'justifyContent': 'space-between'};
|
|
let BACKGROUND_MOD_STRONG = (importDefault(697) /* metro dependency 697: native */).colors.BACKGROUND_MOD_STRONG;
|
|
object.applicationCommandLoadingName = {'backgroundColor': null, 'height': 16, 'borderRadius': 16, 'width': '20%',
|
|
backgroundColor: BACKGROUND_MOD_STRONG};
|
|
const BACKGROUND_BASE_LOW = (importDefault(697) /* metro dependency 697: native */).colors.BACKGROUND_BASE_LOW;
|
|
object.applicationCommandLoadingDescription = {'backgroundColor': null, 'height': 16, 'borderRadius': 16,
|
|
'width': '80%', backgroundColor: BACKGROUND_BASE_LOW};
|
|
BACKGROUND_MOD_STRONG = (importDefault(697) /* metro dependency 697: native */).colors.BACKGROUND_MOD_STRONG;
|
|
object.applicationCommandLoadingSectionName = {'backgroundColor': null, 'paddingLeft': 16, 'width': '25%',
|
|
'marginLeft': 'auto', 'height': 16, 'borderRadius': 16, backgroundColor: BACKGROUND_MOD_STRONG};
|
|
return object;
|
|
}
|
|
|
|
function _default_90989() { // fn#90989, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:12052:888, offset: 0x0204ecd0, size: 180 bytes, params: 1, frame: 19
|
|
const styles = useStyles((UseFontScaleModule).useFontScale());
|
|
let view = <View style={styles.applicationCommandLoadingName} />;
|
|
view = (
|
|
<View style={styles.applicationCommandLoadingLeftWrapper}>
|
|
{view}
|
|
<View style={styles.applicationCommandLoadingDescription} />
|
|
</View>
|
|
);
|
|
return (
|
|
<View style={styles.applicationCommandLoadingItem}>
|
|
{view}
|
|
<View style={styles.applicationCommandLoadingSectionName} />
|
|
</View>
|
|
);
|
|
}
|
|
|
|
}
|
|
|
|
global.__d(_fun90987, 11866, [31, 27, 11018, 33, 4501, 697, 4584,
|
|
2]) /* metro module 11866, dependencies: [31, 27, 11018, 33, 4501, 697, 4584, 2] */;
|