Files
discord-decomp/sources/by-id/module-08031.jsx
T
2026-07-27 16:20:00 +03:00

85 lines
4.4 KiB
React

/* Metro module 8031; source: unknown; dependencies: [8021, 3977, 8017, 8032] */
function _fun63719(global, require, importDefault, importAll, module, exports, dependencyMap) { // fn#63719, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:8209:6, offset: 0x01b8d845, size: 1366 bytes, params: 8, frame: 26
const items3 = ['phoneNumber', 'link', 'address', 'calendarEvent', 'none', 'all'];
const Object = global.Object;
const assign = Object.assign;
let value = require(8021) /* metro dependency 8021 */;
const object2 = {};
const value2 = require(3977) /* metro dependency 3977 */;
object2.autoCapitalize = value2.oneOf(['none', 'sentences', 'words', 'characters']);
object2.autoCompleteType = value2.oneOf(['cc-csc', 'cc-exp', 'cc-exp-month', 'cc-exp-year', 'cc-number', 'email',
'name', 'password', 'postal-code', 'street-address', 'tel', 'username', 'off']);
const bool = value2.bool;
object2.autoCorrect = bool;
object2.spellCheck = bool;
object2.autoFocus = bool;
object2.allowFontScaling = bool;
const number = value2.number;
object2.maxFontSizeMultiplier = number;
object2.editable = bool;
object2.keyboardType = value2.oneOf(['default', 'email-address', 'numeric', 'phone-pad', 'number-pad',
'ascii-capable', 'numbers-and-punctuation', 'url', 'name-phone-pad', 'decimal-pad', 'twitter', 'web-search',
'ascii-capable-number-pad', 'visible-password']);
object2.keyboardAppearance = value2.oneOf(['default', 'light', 'dark']);
object2.returnKeyType = value2.oneOf(['done', 'go', 'next', 'search', 'send', 'none', 'previous', 'default',
'emergency-call', 'google', 'join', 'route', 'yahoo']);
const string = value2.string;
object2.returnKeyLabel = string;
object2.maxLength = number;
object2.numberOfLines = number;
object2.disableFullscreenUI = bool;
object2.enablesReturnKeyAutomatically = bool;
object2.multiline = bool;
object2.textBreakStrategy = value2.oneOf(['simple', 'highQuality', 'balanced']);
const func = value2.func;
object2.onBlur = func;
object2.onFocus = func;
object2.onChange = func;
object2.onChangeText = func;
object2.onContentSizeChange = func;
object2.onTextInput = func;
object2.onEndEditing = func;
object2.onSelectionChange = func;
object2.onSubmitEditing = func;
object2.onKeyPress = func;
object2.onLayout = func;
object2.onScroll = func;
object2.placeholder = string;
object2.placeholderTextColor = require(8017) /* metro dependency 8017 */;
object2.scrollEnabled = bool;
object2.secureTextEntry = bool;
object2.selectionColor = require(8017) /* metro dependency 8017 */;
object2.selection = value2.shape({start: number.isRequired, end: number});
object2.value = string;
object2.defaultValue = string;
object2.clearButtonMode = value2.oneOf(['never', 'while-editing', 'unless-editing', 'always']);
object2.clearTextOnFocus = bool;
object2.selectTextOnFocus = bool;
object2.blurOnSubmit = bool;
object2.style = (require(8032) /* metro dependency 8032 */).style;
object2.underlineColorAndroid = require(8017) /* metro dependency 8017 */;
object2.inlineImageLeft = string;
object2.inlineImagePadding = number;
object2.rejectResponderTermination = bool;
const value10 = value2;
const oneOfType = value10.oneOfType;
const items2 = [value2.oneOf(items3)];
const value13 = value2;
const arrayOf = value13.arrayOf;
const value14 = value2;
items2[1] = Reflect.apply(arrayOf, value13, [value14.oneOf(items3)]);
object2.dataDetectorTypes = Reflect.apply(oneOfType, value10, [items2]);
object2.caretHidden = bool;
object2.contextMenuHidden = bool;
object2.inputAccessoryViewID = string;
object2.textContentType = value2.oneOf(['none', 'URL', 'addressCity', 'addressCityAndState', 'addressState',
'countryName', 'creditCardNumber', 'emailAddress', 'familyName', 'fullStreetAddress', 'givenName', 'jobTitle',
'location', 'middleName', 'name', 'namePrefix', 'nameSuffix', 'nickname', 'organizationName', 'postalCode',
'streetAddressLine1', 'streetAddressLine2', 'sublocality', 'telephoneNumber', 'username', 'password',
'newPassword', 'oneTimeCode']);
object2.showSoftInputOnFocus = bool;
value = Reflect.apply(assign, Object, [{}, value, object2]);
module.exports = value;
}