71 lines
3.9 KiB
JavaScript
71 lines
3.9 KiB
JavaScript
// Module ID: 9038
|
|
// Function ID: 9039
|
|
// Dependencies: [9028, 4210, 9024, 9039]
|
|
|
|
// Module 9038
|
|
import colorPropType from "colorPropType" /* 9024 */;
|
|
import _mod9028 from "module_9028" /* 9028 */;
|
|
import _mod9039 from "module_9039" /* 9039 */;
|
|
import emptyFunction from "emptyFunction" /* 4210 */;
|
|
|
|
const items = ["phoneNumber", "link", "address", "calendarEvent", "none", "all"];
|
|
let obj = {};
|
|
const module_9028 = Object.assign(_mod9028);
|
|
obj.autoCapitalize = emptyFunction.oneOf(["none", "sentences", "words", "characters"]);
|
|
obj.autoCompleteType = emptyFunction.oneOf(["cc-csc", "cc-exp", "cc-exp-month", "cc-exp-year", "cc-number", "email", "name", "password", "postal-code", "street-address", "tel", "username", "off"]);
|
|
obj.autoCorrect = emptyFunction.bool;
|
|
obj.spellCheck = emptyFunction.bool;
|
|
obj.autoFocus = emptyFunction.bool;
|
|
obj.allowFontScaling = emptyFunction.bool;
|
|
obj.maxFontSizeMultiplier = emptyFunction.number;
|
|
obj.editable = emptyFunction.bool;
|
|
obj.keyboardType = emptyFunction.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"]);
|
|
obj.keyboardAppearance = emptyFunction.oneOf(["default", "light", "dark"]);
|
|
obj.returnKeyType = emptyFunction.oneOf(["done", "go", "next", "search", "send", "none", "previous", "default", "emergency-call", "google", "join", "route", "yahoo"]);
|
|
obj.returnKeyLabel = emptyFunction.string;
|
|
obj.maxLength = emptyFunction.number;
|
|
obj.numberOfLines = emptyFunction.number;
|
|
obj.disableFullscreenUI = emptyFunction.bool;
|
|
obj.enablesReturnKeyAutomatically = emptyFunction.bool;
|
|
obj.multiline = emptyFunction.bool;
|
|
obj.textBreakStrategy = emptyFunction.oneOf(["simple", "highQuality", "balanced"]);
|
|
obj.onBlur = emptyFunction.func;
|
|
obj.onFocus = emptyFunction.func;
|
|
obj.onChange = emptyFunction.func;
|
|
obj.onChangeText = emptyFunction.func;
|
|
obj.onContentSizeChange = emptyFunction.func;
|
|
obj.onTextInput = emptyFunction.func;
|
|
obj.onEndEditing = emptyFunction.func;
|
|
obj.onSelectionChange = emptyFunction.func;
|
|
obj.onSubmitEditing = emptyFunction.func;
|
|
obj.onKeyPress = emptyFunction.func;
|
|
obj.onLayout = emptyFunction.func;
|
|
obj.onScroll = emptyFunction.func;
|
|
obj.placeholder = emptyFunction.string;
|
|
obj.placeholderTextColor = colorPropType;
|
|
obj.scrollEnabled = emptyFunction.bool;
|
|
obj.secureTextEntry = emptyFunction.bool;
|
|
obj.selectionColor = colorPropType;
|
|
obj = { start: emptyFunction.number.isRequired, end: emptyFunction.number };
|
|
obj.selection = emptyFunction.shape(obj);
|
|
obj.value = emptyFunction.string;
|
|
obj.defaultValue = emptyFunction.string;
|
|
obj.clearButtonMode = emptyFunction.oneOf(["never", "while-editing", "unless-editing", "always"]);
|
|
obj.clearTextOnFocus = emptyFunction.bool;
|
|
obj.selectTextOnFocus = emptyFunction.bool;
|
|
obj.blurOnSubmit = emptyFunction.bool;
|
|
obj.style = _mod9039.style;
|
|
obj.underlineColorAndroid = colorPropType;
|
|
obj.inlineImageLeft = emptyFunction.string;
|
|
obj.inlineImagePadding = emptyFunction.number;
|
|
obj.rejectResponderTermination = emptyFunction.bool;
|
|
const items1 = [emptyFunction.oneOf(items), ];
|
|
items1[1] = emptyFunction.arrayOf(emptyFunction.oneOf(items));
|
|
obj.dataDetectorTypes = emptyFunction.oneOfType(items1);
|
|
obj.caretHidden = emptyFunction.bool;
|
|
obj.contextMenuHidden = emptyFunction.bool;
|
|
obj.inputAccessoryViewID = emptyFunction.string;
|
|
obj.textContentType = emptyFunction.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"]);
|
|
obj.showSoftInputOnFocus = emptyFunction.bool;
|
|
|
|
export default obj;
|