Initial commit
This commit is contained in:
commit
af3b49f756
16065 files changed
+2938410
No files matched your search
@@ -0,0 +1,54 @@
|
||||
/* Metro module 12802; source: design/components/TextInput/native/GhostInput.native.tsx; dependencies: [31, 33, 4501, 4573, 697, 6992, 6986, 7682, 6995, 2] */
|
||||
function _fun97661(global, require, importDefault, importAll, module, exports, dependencyMap) { // fn#97661, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:12992:6, offset: 0x0218c54a, size: 171 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_3 = (require(33) /* metro dependency 33 */).jsx;
|
||||
const env0_4 = (require(4501) /* metro dependency 4501: createStyles */).createStyles(_fun97662);
|
||||
(require(2) /* metro dependency 2 */).fileFinishedImporting('design/components/TextInput/native/GhostInput.native.tsx');
|
||||
exports.GhostInput = GhostInput;
|
||||
}
|
||||
|
||||
function _fun97662() { // fn#97662, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:12992:142, offset: 0x0218c5f5, size: 224 bytes, params: 1, frame: 20
|
||||
const value = a0;
|
||||
const value2 = a1;
|
||||
const r6 = value !== undefined ? value : 'lg';
|
||||
const r4 = value2 !== undefined ? value2 : 'default';
|
||||
const object = {};
|
||||
const TextStyleSheet = (require(4573) /* metro dependency 4573: Text */).TextStyleSheet;
|
||||
const property = TextStyleSheet['text-md/semibold'];
|
||||
copyDataProperties(object, ({md: property, lg: TextStyleSheet['text-lg/semibold']})[r6], property);
|
||||
object['color'] = r4 === 'error' ? (importDefault(697) /* metro dependency 697: native */).colors.TEXT_FEEDBACK_CRITICAL : (importDefault(697) /* metro dependency 697: native */).colors.TEXT_DEFAULT;
|
||||
object['minWidth'] = 48;
|
||||
return {input: object, centeredContainerStyle: {alignItems: 'center'}};
|
||||
}
|
||||
|
||||
function GhostInput(a0) { // fn#97663, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:12992:522, offset: 0x0218c6d5, size: 355 bytes, params: 2, frame: 22
|
||||
const value2 = undefined;
|
||||
const value3 = (require(6992) /* metro dependency 6992: InputFieldContainerNative */).useInputStyles({size: a0.size});
|
||||
const styles = useStyles(a0.size, a0.status);
|
||||
const isCentered = a0.isCentered;
|
||||
const r12 = value2 === isCentered || isCentered;
|
||||
const autoFocus = a0.autoFocus;
|
||||
const r8 = value2 === autoFocus || autoFocus;
|
||||
const {innerRef, inputProps} = (require(6986) /* metro dependency 6986: useTextFieldNative */).useTextField(a0,
|
||||
value2);
|
||||
const Input = (require(7682) /* metro dependency 7682: InputNative */).Input;
|
||||
const inputProps2 = {...a0};
|
||||
inputProps2['containerStyle'] = [a0.containerStyle, r12 ? styles.centeredContainerStyle : value2];
|
||||
const NativeTextInput = (require(6995) /* metro dependency 6995: NativeTextInputNative */).NativeTextInput;
|
||||
return (
|
||||
<Input {...inputProps2}>
|
||||
<NativeTextInput
|
||||
{...inputProps}
|
||||
{...{['ref']: innerRef}}
|
||||
{...{['style']: [styles.input]}}
|
||||
{...{['placeholderTextColor']: value3.placeholderText.color}}
|
||||
{...{['spellCheck']: false}}
|
||||
{...{['autoFocus']: r8}}
|
||||
/>
|
||||
</Input>
|
||||
);
|
||||
}
|
||||
|
||||
@@ -0,0 +1,23 @@
|
||||
/* Metro module 7681; source: design/components/TextInput/native/TextArea.native.tsx; dependencies: [31, 33, 7682, 7687, 2] */
|
||||
function _fun61357(global, require, importDefault, importAll, module, exports, dependencyMap) { // fn#61357, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:7859:6, offset: 0x01b3c963, size: 140 bytes, params: 8, frame: 18
|
||||
const env0_0 = require;
|
||||
const Object = global.Object;
|
||||
Object.defineProperty(exports, '__esModule', {value: true});
|
||||
let value = importAll(31) /* metro dependency 31 */;
|
||||
const env0_2 = (require(33) /* metro dependency 33 */).jsx;
|
||||
value = value.forwardRef(_fun61358);
|
||||
(require(2) /* metro dependency 2 */).fileFinishedImporting('design/components/TextInput/native/TextArea.native.tsx');
|
||||
exports.TextArea = value;
|
||||
}
|
||||
|
||||
function _fun61358(a0, a1) { // fn#61358, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:7859:136, offset: 0x01b3c9ef, size: 110 bytes, params: 3, frame: 17
|
||||
const Input = (require(7682) /* metro dependency 7682: InputNative */).Input;
|
||||
const inputProps = {...a0};
|
||||
const TextAreaField = (require(7687) /* metro dependency 7687: TextAreaFieldNative */).TextAreaField;
|
||||
return (
|
||||
<Input {...inputProps}>
|
||||
<TextAreaField ref={a1} {...a0} />
|
||||
</Input>
|
||||
);
|
||||
}
|
||||
|
||||
@@ -0,0 +1,38 @@
|
||||
/* Metro module 7981; source: design/components/TextInput/native/TextInput.native.tsx; dependencies: [31, 33, 7682, 6985, 477, 2] */
|
||||
function _fun63504(global, require, importDefault, importAll, module, exports, dependencyMap) { // fn#63504, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:8159:6, offset: 0x01b82dec, size: 144 bytes, params: 8, frame: 18
|
||||
const env0_0 = require;
|
||||
const Object = global.Object;
|
||||
Object.defineProperty(exports, '__esModule', {value: true});
|
||||
let value = importAll(31) /* metro dependency 31 */;
|
||||
const env0_3 = (require(33) /* metro dependency 33 */).jsx;
|
||||
value = value.forwardRef(_fun63505);
|
||||
(require(2) /* metro dependency 2 */).fileFinishedImporting('design/components/TextInput/native/TextInput.native.tsx');
|
||||
exports.TextInput = value;
|
||||
}
|
||||
|
||||
function _fun63505(a0, a1) { // fn#63505, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:8159:136, offset: 0x01b82e7c, size: 339 bytes, params: 3, frame: 26
|
||||
const label = a0.label;
|
||||
const accessibilityLabel = a0.accessibilityLabel;
|
||||
const errorMessage = a0.errorMessage;
|
||||
const status = a0.status;
|
||||
const value2 = env0_2.useId();
|
||||
const r14 = a0.fieldLabel ?? (typeof label !== 'string' ? undefined : label);
|
||||
const r15 = status ?? (errorMessage != null ? 'error' : undefined);
|
||||
const value6 = undefined;
|
||||
const Input = (require(7682) /* metro dependency 7682: InputNative */).Input;
|
||||
const inputProps = {...a0};
|
||||
inputProps['labelId'] = label != null ? value2 : value6;
|
||||
const TextField = (require(6985) /* metro dependency 6985: TextFieldNative */).TextField;
|
||||
const textFieldProps = {ref: a1, ...a0};
|
||||
textFieldProps['status'] = r15;
|
||||
textFieldProps['fieldLabel'] = r14;
|
||||
const value = require(477) /* metro dependency 477: PlatformUtils */;
|
||||
textFieldProps['accessibilityLabel'] = value.isAndroid() && label != null ? value6 : accessibilityLabel ?? (typeof label !== 'string' ? value6 : label);
|
||||
textFieldProps['accessibilityLabelledBy'] = label != null ? value2 : value6;
|
||||
return (
|
||||
<Input {...inputProps}>
|
||||
<TextField {...textFieldProps} />
|
||||
</Input>
|
||||
);
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user