Initial commit
This commit is contained in:
commit
af3b49f756
16065 files changed
+2938410
No files matched your search
@@ -0,0 +1,16 @@
|
||||
/* Metro module 15738; source: modules/interaction_components/native/layouts/ActionRowLayoutComponent.tsx; dependencies: [31, 27, 33, 2] */
|
||||
function _fun120858(global, require, importDefault, importAll, module, exports, dependencyMap) { // fn#120858, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:15946:6, offset: 0x025384d8, size: 144 bytes, params: 8, frame: 18
|
||||
const Object = global.Object;
|
||||
Object.defineProperty(exports, '__esModule', {value: true});
|
||||
importAll(31) /* metro dependency 31 */;
|
||||
const env0_0 = (require(27) /* metro dependency 27 */).View;
|
||||
const env0_1 = (require(33) /* metro dependency 33 */).jsx;
|
||||
(require(2) /* metro dependency 2 */).fileFinishedImporting('modules/interaction_components/native/layouts/ActionRowLayoutComponent.tsx');
|
||||
exports.default = ActionRowLayoutComponent;
|
||||
}
|
||||
|
||||
function ActionRowLayoutComponent({components, renderComponents}) { // fn#120859, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:15946:251, offset: 0x02538568, size: 71 bytes, params: 2, frame: 16
|
||||
const value = null;
|
||||
return value == components || components.length === 0 ? value : <View>{renderComponents(components)}</View>;
|
||||
}
|
||||
|
||||
@@ -0,0 +1,36 @@
|
||||
/* Metro module 15740; source: modules/interaction_components/native/layouts/LabelLayoutComponent.tsx; dependencies: [31, 27, 33, 8357, 1909, 7682, 2] */
|
||||
function _fun120864(global, require, importDefault, importAll, module, exports, dependencyMap) { // fn#120864, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:15948:6, offset: 0x025388bd, size: 152 bytes, params: 8, frame: 18
|
||||
const env0_0 = require;
|
||||
const Object = global.Object;
|
||||
Object.defineProperty(exports, '__esModule', {value: true});
|
||||
importAll(31) /* metro dependency 31 */;
|
||||
const env0_2 = (require(27) /* metro dependency 27 */).View;
|
||||
const env0_3 = (require(33) /* metro dependency 33 */).jsx;
|
||||
(require(2) /* metro dependency 2 */).fileFinishedImporting('modules/interaction_components/native/layouts/LabelLayoutComponent.tsx');
|
||||
exports.default = LabelLayoutComponent;
|
||||
}
|
||||
|
||||
function LabelLayoutComponent({label, description, component, renderComponent}) { // fn#120865, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:15948:247, offset: 0x02538955, size: 222 bytes, params: 2, frame: 20
|
||||
const value2 = (require(8357) /* metro dependency 8357: ComponentStateContext */).useComponentError(component);
|
||||
const type = component.type;
|
||||
const ComponentType = (require(1909) /* metro dependency 1909: Server */).ComponentType;
|
||||
const CHECKBOX = ComponentType.CHECKBOX;
|
||||
if (type === CHECKBOX) {
|
||||
return renderComponent(component, 'label-child');
|
||||
} else {
|
||||
const Input = (require(7682) /* metro dependency 7682: InputNative */).Input;
|
||||
return (
|
||||
<Input
|
||||
label={label}
|
||||
description={description}
|
||||
required={component.required}
|
||||
errorMessage={value2}
|
||||
>
|
||||
<View style={{width: '100%'}}>
|
||||
{renderComponent(component, 'label-child')}
|
||||
</View>
|
||||
</Input>
|
||||
);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user