Files
discord-decomp/_bundle/Module145.js
T
2026-11-01 12:12:55 +02:00

107 lines
2.8 KiB
JavaScript

// Metro module 145 (f146).
import codegenNativeCommands from "./codegenNativeCommands";
import { colorAttribute } from "./Module26";
import { get } from "./Module65";
const r17 = codegenNativeCommands({
supportedCommands: ["focus", "blur", "setTextAndSelection"]
});
let c145_0 = {
uiViewClassName: "AndroidTextInput",
bubblingEventTypes: {
topEndEditing: {
phasedRegistrationNames: {
bubbled: "onEndEditing",
captured: "onEndEditingCapture"
}
},
topKeyPress: {
phasedRegistrationNames: {
bubbled: "onKeyPress",
captured: "onKeyPressCapture"
}
},
topSubmitEditing: {
phasedRegistrationNames: {
bubbled: "onSubmitEditing",
captured: "onSubmitEditingCapture"
}
}
},
directEventTypes: {
topScroll: {
registrationName: "onScroll"
}
},
validAttributes: {
acceptDragAndDropTypes: true,
maxFontSizeMultiplier: true,
adjustsFontSizeToFit: true,
minimumFontScale: true,
autoFocus: true,
placeholder: true,
inlineImagePadding: true,
contextMenuHidden: true,
textShadowColor: colorAttribute,
maxLength: true,
selectTextOnFocus: true,
textShadowRadius: true,
underlineColorAndroid: colorAttribute,
textDecorationLine: true,
submitBehavior: true,
textAlignVertical: true,
fontStyle: true,
textShadowOffset: true,
selectionColor: colorAttribute,
selectionHandleColor: colorAttribute,
placeholderTextColor: colorAttribute,
importantForAutofill: true,
lineHeight: true,
textTransform: true,
returnKeyType: true,
keyboardType: true,
multiline: true,
color: colorAttribute,
autoComplete: true,
numberOfLines: true,
letterSpacing: true,
returnKeyLabel: true,
fontSize: true,
onKeyPress: true,
cursorColor: colorAttribute,
text: true,
showSoftInputOnFocus: true,
textAlign: true,
autoCapitalize: true,
autoCorrect: true,
caretHidden: true,
secureTextEntry: true,
textBreakStrategy: true,
onScroll: true,
onContentSizeChange: true,
disableFullscreenUI: true,
includeFontPadding: true,
fontWeight: true,
fontFamily: true,
allowFontScaling: true,
onSelectionChange: true,
mostRecentEventCount: true,
inlineImageLeft: true,
editable: true,
fontVariant: true,
borderBottomRightRadius: true,
borderBottomColor: colorAttribute,
borderRadius: true,
borderRightColor: colorAttribute,
borderColor: colorAttribute,
borderTopRightRadius: true,
borderStyle: true,
borderBottomLeftRadius: true,
borderLeftColor: colorAttribute,
borderTopLeftRadius: true,
borderTopColor: colorAttribute
}
};
export default get("AndroidTextInput", () => c145_0);
export { r17 as Commands };
export { c145_0 as __INTERNAL_VIEW_CONFIG };