69be6ebc382cffe52d54b047f490a76f.json
17.2 KB
{"ast":null,"code":"var _interopRequireDefault=require(\"@babel/runtime/helpers/interopRequireDefault\");Object.defineProperty(exports,\"__esModule\",{value:true});exports.default=void 0;var _AccessibilityUtil=_interopRequireDefault(require(\"../AccessibilityUtil\"));var _css=_interopRequireDefault(require(\"../../exports/StyleSheet/css\"));var _StyleSheet=_interopRequireDefault(require(\"../../exports/StyleSheet\"));var _styleResolver2=_interopRequireDefault(require(\"../../exports/StyleSheet/styleResolver\"));var _constants=require(\"../../exports/StyleSheet/constants\");function _objectWithoutPropertiesLoose(source,excluded){if(source==null)return{};var target={};var sourceKeys=Object.keys(source);var key,i;for(i=0;i<sourceKeys.length;i++){key=sourceKeys[i];if(excluded.indexOf(key)>=0)continue;target[key]=source[key];}return target;}var emptyObject={};var classes=_css.default.create({reset:{backgroundColor:'transparent',color:'inherit',font:'inherit',listStyle:'none',margin:0,textAlign:'inherit',textDecoration:'none'},cursor:{cursor:'pointer'}},_constants.STYLE_GROUPS.classicReset);var pointerEventsStyles=_StyleSheet.default.create({auto:{pointerEvents:'auto'},'box-none':{pointerEvents:'box-none'},'box-only':{pointerEvents:'box-only'},none:{pointerEvents:'none'}});var defaultStyleResolver=function defaultStyleResolver(style,classList){return _styleResolver2.default.resolve(style,classList);};var createDOMProps=function createDOMProps(component,props,styleResolver){if(!styleResolver){styleResolver=defaultStyleResolver;}if(!props){props=emptyObject;}var _props=props,accessibilityLabel=_props.accessibilityLabel,accessibilityLiveRegion=_props.accessibilityLiveRegion,accessibilityStates=_props.accessibilityStates,classList=_props.classList,deprecatedClassName=_props.className,importantForAccessibility=_props.importantForAccessibility,nativeID=_props.nativeID,placeholderTextColor=_props.placeholderTextColor,pointerEvents=_props.pointerEvents,providedStyle=_props.style,testID=_props.testID,accessible=_props.accessible,accessibilityComponentType=_props.accessibilityComponentType,accessibilityRole=_props.accessibilityRole,accessibilityTraits=_props.accessibilityTraits,domProps=_objectWithoutPropertiesLoose(_props,[\"accessibilityLabel\",\"accessibilityLiveRegion\",\"accessibilityStates\",\"classList\",\"className\",\"importantForAccessibility\",\"nativeID\",\"placeholderTextColor\",\"pointerEvents\",\"style\",\"testID\",\"accessible\",\"accessibilityComponentType\",\"accessibilityRole\",\"accessibilityTraits\"]);var disabled=_AccessibilityUtil.default.isDisabled(props);var role=_AccessibilityUtil.default.propsToAriaRole(props);if(importantForAccessibility==='no-hide-descendants'){domProps['aria-hidden']=true;}if(accessibilityLabel&&accessibilityLabel.constructor===String){domProps['aria-label']=accessibilityLabel;}if(accessibilityLiveRegion&&accessibilityLiveRegion.constructor===String){domProps['aria-live']=accessibilityLiveRegion==='none'?'off':accessibilityLiveRegion;}if(Array.isArray(accessibilityStates)){for(var i=0;i<accessibilityStates.length;i+=1){domProps[\"aria-\"+accessibilityStates[i]]=true;}}if(role&&role.constructor===String){domProps.role=role;}if(disabled){domProps['aria-disabled']=disabled;domProps.disabled=disabled;}var focusable=!disabled&&importantForAccessibility!=='no'&&importantForAccessibility!=='no-hide-descendants';if(role==='link'||component==='a'||component==='button'||component==='input'||component==='select'||component==='textarea'){if(accessible===false||!focusable){domProps.tabIndex='-1';}else{domProps['data-focusable']=true;}}else if(_AccessibilityUtil.default.buttonLikeRoles[role]||role==='textbox'){if(accessible!==false&&focusable){domProps['data-focusable']=true;domProps.tabIndex='0';}}else{if(accessible===true&&focusable){domProps['data-focusable']=true;domProps.tabIndex='0';}}var reactNativeStyle=_StyleSheet.default.compose(pointerEvents&&pointerEventsStyles[pointerEvents],_StyleSheet.default.compose(providedStyle,placeholderTextColor&&{placeholderTextColor:placeholderTextColor}));var needsCursor=(role==='button'||role==='link')&&!disabled;var needsReset=component==='a'||component==='button'||component==='li'||component==='ul'||role==='heading';var finalClassList=[deprecatedClassName,needsReset&&classes.reset,needsCursor&&classes.cursor,classList];var _styleResolver=styleResolver(reactNativeStyle,finalClassList),className=_styleResolver.className,style=_styleResolver.style;if(className!=null&&className!==''){domProps.className=className;}if(style){domProps.style=style;}if(nativeID&&nativeID.constructor===String){domProps.id=nativeID;}if(component==='a'&&domProps.target==='_blank'){domProps.rel=(domProps.rel||'')+\" noopener noreferrer\";}if(testID&&testID.constructor===String){domProps['data-testid']=testID;}return domProps;};var _default=createDOMProps;exports.default=_default;","map":{"version":3,"sources":["C:/Users/bluej/Desktop/2_2/searchGuide/searchGuide/node_modules/react-native-web/dist/modules/createDOMProps/index.js"],"names":["_objectWithoutPropertiesLoose","source","excluded","target","sourceKeys","Object","keys","key","i","length","indexOf","emptyObject","classes","css","create","reset","backgroundColor","color","font","listStyle","margin","textAlign","textDecoration","cursor","STYLE_GROUPS","classicReset","pointerEventsStyles","StyleSheet","auto","pointerEvents","none","defaultStyleResolver","style","classList","styleResolver","resolve","createDOMProps","component","props","_props","accessibilityLabel","accessibilityLiveRegion","accessibilityStates","deprecatedClassName","className","importantForAccessibility","nativeID","placeholderTextColor","providedStyle","testID","accessible","accessibilityComponentType","accessibilityRole","accessibilityTraits","domProps","disabled","AccessibilityUtil","isDisabled","role","propsToAriaRole","constructor","String","Array","isArray","focusable","tabIndex","buttonLikeRoles","reactNativeStyle","compose","needsCursor","needsReset","finalClassList","_styleResolver","id","rel"],"mappings":"mKAUA,+EACA,yEACA,4EACA,8FACA,6DAdA,QAASA,CAAAA,6BAAT,CAAuCC,MAAvC,CAA+CC,QAA/C,CAAyD,CAAE,GAAID,MAAM,EAAI,IAAd,CAAoB,MAAO,EAAP,CAAW,GAAIE,CAAAA,MAAM,CAAG,EAAb,CAAiB,GAAIC,CAAAA,UAAU,CAAGC,MAAM,CAACC,IAAP,CAAYL,MAAZ,CAAjB,CAAsC,GAAIM,CAAAA,GAAJ,CAASC,CAAT,CAAY,IAAKA,CAAC,CAAG,CAAT,CAAYA,CAAC,CAAGJ,UAAU,CAACK,MAA3B,CAAmCD,CAAC,EAApC,CAAwC,CAAED,GAAG,CAAGH,UAAU,CAACI,CAAD,CAAhB,CAAqB,GAAIN,QAAQ,CAACQ,OAAT,CAAiBH,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AAT,CAAqBA,SAArB,CACD,CAED,GAAIZ,KAAJ,CAAW,CACTsB,QAAQ,CAACtB,KAAT,CAAiBA,KAAjB,CACD,CAID,GAAIc,QAAQ,EAAIA,QAAQ,CAACc,WAAT,GAAyBC,MAAzC,CAAiD,CAC/CP,QAAQ,CAACmB,EAAT,CAAc3B,QAAd,CACD,CAMD,GAAIT,SAAS,GAAK,GAAd,EAAqBiB,QAAQ,CAACnD,MAAT,GAAoB,QAA7C,CAAuD,CACrDmD,QAAQ,CAACoB,GAAT,CAAe,CAACpB,QAAQ,CAACoB,GAAT,EAAgB,EAAjB,EAAuB,sBAAtC,CACD,CAGD,GAAIzB,MAAM,EAAIA,MAAM,CAACW,WAAP,GAAuBC,MAArC,CAA6C,CAC3CP,QAAQ,CAAC,aAAD,CAAR,CAA0BL,MAA1B,CACD,CAED,MAAOK,CAAAA,QAAP,CACD,CA3HD,C,aA6HelB,c","sourcesContent":["function _objectWithoutPropertiesLoose(source, excluded) { if (source == null) return {}; var target = {}; var sourceKeys = Object.keys(source); var key, i; for (i = 0; i < sourceKeys.length; i++) { key = sourceKeys[i]; if (excluded.indexOf(key) >= 0) continue; target[key] = source[key]; } return target; }\n\n/**\n * Copyright (c) Nicolas Gallagher.\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 AccessibilityUtil from '../AccessibilityUtil';\nimport css from '../../exports/StyleSheet/css';\nimport StyleSheet from '../../exports/StyleSheet';\nimport styleResolver from '../../exports/StyleSheet/styleResolver';\nimport { STYLE_GROUPS } from '../../exports/StyleSheet/constants';\nvar emptyObject = {}; // Reset styles for heading, link, and list DOM elements\n\nvar classes = css.create({\n reset: {\n backgroundColor: 'transparent',\n color: 'inherit',\n font: 'inherit',\n listStyle: 'none',\n margin: 0,\n textAlign: 'inherit',\n textDecoration: 'none'\n },\n cursor: {\n cursor: 'pointer'\n }\n}, STYLE_GROUPS.classicReset);\nvar pointerEventsStyles = StyleSheet.create({\n auto: {\n pointerEvents: 'auto'\n },\n 'box-none': {\n pointerEvents: 'box-none'\n },\n 'box-only': {\n pointerEvents: 'box-only'\n },\n none: {\n pointerEvents: 'none'\n }\n});\n\nvar defaultStyleResolver = function defaultStyleResolver(style, classList) {\n return styleResolver.resolve(style, classList);\n};\n\nvar createDOMProps = function createDOMProps(component, props, styleResolver) {\n if (!styleResolver) {\n styleResolver = defaultStyleResolver;\n }\n\n if (!props) {\n props = emptyObject;\n }\n\n var _props = props,\n accessibilityLabel = _props.accessibilityLabel,\n accessibilityLiveRegion = _props.accessibilityLiveRegion,\n accessibilityStates = _props.accessibilityStates,\n classList = _props.classList,\n deprecatedClassName = _props.className,\n importantForAccessibility = _props.importantForAccessibility,\n nativeID = _props.nativeID,\n placeholderTextColor = _props.placeholderTextColor,\n pointerEvents = _props.pointerEvents,\n providedStyle = _props.style,\n testID = _props.testID,\n accessible = _props.accessible,\n accessibilityComponentType = _props.accessibilityComponentType,\n accessibilityRole = _props.accessibilityRole,\n accessibilityTraits = _props.accessibilityTraits,\n domProps = _objectWithoutPropertiesLoose(_props, [\"accessibilityLabel\", \"accessibilityLiveRegion\", \"accessibilityStates\", \"classList\", \"className\", \"importantForAccessibility\", \"nativeID\", \"placeholderTextColor\", \"pointerEvents\", \"style\", \"testID\", \"accessible\", \"accessibilityComponentType\", \"accessibilityRole\", \"accessibilityTraits\"]);\n\n var disabled = AccessibilityUtil.isDisabled(props);\n var role = AccessibilityUtil.propsToAriaRole(props); // GENERAL ACCESSIBILITY\n\n if (importantForAccessibility === 'no-hide-descendants') {\n domProps['aria-hidden'] = true;\n }\n\n if (accessibilityLabel && accessibilityLabel.constructor === String) {\n domProps['aria-label'] = accessibilityLabel;\n }\n\n if (accessibilityLiveRegion && accessibilityLiveRegion.constructor === String) {\n domProps['aria-live'] = accessibilityLiveRegion === 'none' ? 'off' : accessibilityLiveRegion;\n }\n\n if (Array.isArray(accessibilityStates)) {\n for (var i = 0; i < accessibilityStates.length; i += 1) {\n domProps[\"aria-\" + accessibilityStates[i]] = true;\n }\n }\n\n if (role && role.constructor === String) {\n domProps.role = role;\n } // DISABLED\n\n\n if (disabled) {\n domProps['aria-disabled'] = disabled;\n domProps.disabled = disabled;\n } // FOCUS\n // Assume that 'link' is focusable by default (uses <a>).\n // Assume that 'button' is not (uses <div role='button'>) but must be treated as such.\n\n\n var focusable = !disabled && importantForAccessibility !== 'no' && importantForAccessibility !== 'no-hide-descendants';\n\n if (role === 'link' || component === 'a' || component === 'button' || component === 'input' || component === 'select' || component === 'textarea') {\n if (accessible === false || !focusable) {\n domProps.tabIndex = '-1';\n } else {\n domProps['data-focusable'] = true;\n }\n } else if (AccessibilityUtil.buttonLikeRoles[role] || role === 'textbox') {\n if (accessible !== false && focusable) {\n domProps['data-focusable'] = true;\n domProps.tabIndex = '0';\n }\n } else {\n if (accessible === true && focusable) {\n domProps['data-focusable'] = true;\n domProps.tabIndex = '0';\n }\n } // STYLE\n\n\n var reactNativeStyle = StyleSheet.compose(pointerEvents && pointerEventsStyles[pointerEvents], StyleSheet.compose(providedStyle, placeholderTextColor && {\n placeholderTextColor: placeholderTextColor\n })); // Additional style resets for interactive elements\n\n var needsCursor = (role === 'button' || role === 'link') && !disabled;\n var needsReset = component === 'a' || component === 'button' || component === 'li' || component === 'ul' || role === 'heading'; // Classic CSS styles\n\n var finalClassList = [deprecatedClassName, needsReset && classes.reset, needsCursor && classes.cursor, classList]; // Resolve styles\n\n var _styleResolver = styleResolver(reactNativeStyle, finalClassList),\n className = _styleResolver.className,\n style = _styleResolver.style;\n\n if (className != null && className !== '') {\n domProps.className = className;\n }\n\n if (style) {\n domProps.style = style;\n } // OTHER\n // Native element ID\n\n\n if (nativeID && nativeID.constructor === String) {\n domProps.id = nativeID;\n } // Link security\n // https://mathiasbynens.github.io/rel-noopener/\n // Note: using \"noreferrer\" doesn't impact referrer tracking for https\n // transfers (i.e., from https to https).\n\n\n if (component === 'a' && domProps.target === '_blank') {\n domProps.rel = (domProps.rel || '') + \" noopener noreferrer\";\n } // Automated test IDs\n\n\n if (testID && testID.constructor === String) {\n domProps['data-testid'] = testID;\n }\n\n return domProps;\n};\n\nexport default createDOMProps;"]},"metadata":{},"sourceType":"script"}