8986c2b6dd969aec3488a1ab38805db3.json
8.33 KB
{"ast":null,"code":"var _interopRequireDefault=require(\"@babel/runtime/helpers/interopRequireDefault\");Object.defineProperty(exports,\"__esModule\",{value:true});exports.default=void 0;var _ColorPropType=_interopRequireDefault(require(\"../ColorPropType\"));var _ViewStylePropTypes=_interopRequireDefault(require(\"../View/ViewStylePropTypes\"));var _propTypes=require(\"prop-types\");function _objectSpread(target){for(var i=1;i<arguments.length;i++){var source=arguments[i]!=null?arguments[i]:{};var ownKeys=Object.keys(source);if(typeof Object.getOwnPropertySymbols==='function'){ownKeys=ownKeys.concat(Object.getOwnPropertySymbols(source).filter(function(sym){return Object.getOwnPropertyDescriptor(source,sym).enumerable;}));}ownKeys.forEach(function(key){_defineProperty(target,key,source[key]);});}return target;}function _defineProperty(obj,key,value){if(key in obj){Object.defineProperty(obj,key,{value:value,enumerable:true,configurable:true,writable:true});}else{obj[key]=value;}return obj;}var numberOrString=(0,_propTypes.oneOfType)([_propTypes.number,_propTypes.string]);var TextStylePropTypes=_objectSpread({},_ViewStylePropTypes.default,{color:_ColorPropType.default,fontFamily:_propTypes.string,fontFeatureSettings:_propTypes.string,fontSize:numberOrString,fontStyle:_propTypes.string,fontWeight:_propTypes.string,fontVariant:_propTypes.array,letterSpacing:numberOrString,lineHeight:numberOrString,textAlign:(0,_propTypes.oneOf)(['center','end','inherit','justify','justify-all','left','right','start']),textAlignVertical:_propTypes.string,textDecorationColor:_ColorPropType.default,textDecorationLine:_propTypes.string,textDecorationStyle:_propTypes.string,textShadowColor:_ColorPropType.default,textShadowOffset:(0,_propTypes.shape)({width:_propTypes.number,height:_propTypes.number}),textShadowRadius:_propTypes.number,textTransform:(0,_propTypes.oneOf)(['capitalize','lowercase','none','uppercase']),writingDirection:(0,_propTypes.oneOf)(['auto','ltr','rtl']),textIndent:numberOrString,textOverflow:_propTypes.string,textRendering:(0,_propTypes.oneOf)(['auto','geometricPrecision','optimizeLegibility','optimizeSpeed']),unicodeBidi:(0,_propTypes.oneOf)(['normal','bidi-override','embed','isolate','isolate-override','plaintext']),whiteSpace:_propTypes.string,wordBreak:(0,_propTypes.oneOf)(['normal','break-all','break-word','keep-all']),wordWrap:_propTypes.string,MozOsxFontSmoothing:_propTypes.string,WebkitFontSmoothing:_propTypes.string});var _default=TextStylePropTypes;exports.default=_default;","map":{"version":3,"sources":["C:/Users/bluej/Desktop/2_2/searchGuide/searchGuide/node_modules/react-native-web/dist/exports/Text/TextStylePropTypes.js"],"names":["_objectSpread","target","i","arguments","length","source","ownKeys","Object","keys","getOwnPropertySymbols","concat","filter","sym","getOwnPropertyDescriptor","enumerable","forEach","key","_defineProperty","obj","value","defineProperty","configurable","writable","numberOrString","number","string","TextStylePropTypes","ViewStylePropTypes","color","ColorPropType","fontFamily","fontFeatureSettings","fontSize","fontStyle","fontWeight","fontVariant","array","letterSpacing","lineHeight","textAlign","textAlignVertical","textDecorationColor","textDecorationLine","textDecorationStyle","textShadowColor","textShadowOffset","width","height","textShadowRadius","textTransform","writingDirection","textIndent","textOverflow","textRendering","unicodeBidi","whiteSpace","wordBreak","wordWrap","MozOsxFontSmoothing","WebkitFontSmoothing"],"mappings":"mKAaA,uEACA,sFACA,qCAfA,QAASA,CAAAA,aAAT,CAAuBC,MAAvB,CAA+B,CAAE,IAAK,GAAIC,CAAAA,CAAC,CAAG,CAAb,CAAgBA,CAAC,CAAGC,SAAS,CAACC,MAA9B,CAAsCF,CAAC,EAAvC,CAA2C,CAAE,GAAIG,CAAAA,MAAM,CAAGF,SAAS,CAACD,CAAD,CAAT,EAAgB,IAAhB,CAAuBC,SAAS,CAACD,CAAD,CAAhC,CAAsC,EAAnD,CAAuD,GAAII,CAAAA,OAAO,CAAGC,MAAM,CAACC,IAAP,CAAYH,MAAZ,CAAd,CAAmC,GAAI,MAAOE,CAAAA,MAAM,CAACE,qBAAd,GAAwC,UAA5C,CAAwD,CAAEH,OAAO,CAAGA,OAAO,CAACI,MAAR,CAAeH,MAAM,CAACE,qBAAP,CAA6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ownKeys = Object.keys(source); if (typeof Object.getOwnPropertySymbols === 'function') { ownKeys = ownKeys.concat(Object.getOwnPropertySymbols(source).filter(function (sym) { return Object.getOwnPropertyDescriptor(source, sym).enumerable; })); } ownKeys.forEach(function (key) { _defineProperty(target, key, source[key]); }); } return target; }\n\nfunction _defineProperty(obj, key, value) { if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }\n\n/**\n * Copyright (c) Nicolas Gallagher.\n * Copyright (c) Facebook, Inc. and its affiliates.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n *\n * \n */\nimport ColorPropType from '../ColorPropType';\nimport ViewStylePropTypes from '../View/ViewStylePropTypes';\nimport { array, number, oneOf, oneOfType, shape, string } from 'prop-types';\nvar numberOrString = oneOfType([number, string]);\n\nvar TextStylePropTypes = _objectSpread({}, ViewStylePropTypes, {\n color: ColorPropType,\n fontFamily: string,\n fontFeatureSettings: string,\n fontSize: numberOrString,\n fontStyle: string,\n fontWeight: string,\n fontVariant: array,\n letterSpacing: numberOrString,\n lineHeight: numberOrString,\n textAlign: oneOf(['center', 'end', 'inherit', 'justify', 'justify-all', 'left', 'right', 'start']),\n textAlignVertical: string,\n textDecorationColor: ColorPropType,\n textDecorationLine: string,\n textDecorationStyle: string,\n textShadowColor: ColorPropType,\n textShadowOffset: shape({\n width: number,\n height: number\n }),\n textShadowRadius: number,\n textTransform: oneOf(['capitalize', 'lowercase', 'none', 'uppercase']),\n writingDirection: oneOf(['auto', 'ltr', 'rtl']),\n\n /* @platform web */\n textIndent: numberOrString,\n textOverflow: string,\n textRendering: oneOf(['auto', 'geometricPrecision', 'optimizeLegibility', 'optimizeSpeed']),\n unicodeBidi: oneOf(['normal', 'bidi-override', 'embed', 'isolate', 'isolate-override', 'plaintext']),\n whiteSpace: string,\n wordBreak: oneOf(['normal', 'break-all', 'break-word', 'keep-all']),\n wordWrap: string,\n MozOsxFontSmoothing: string,\n WebkitFontSmoothing: string\n});\n\nexport default TextStylePropTypes;"]},"metadata":{},"sourceType":"script"}