{"ast":null,"code":"import * as React from 'react';\nimport StyleSheet from \"react-native-web/dist/exports/StyleSheet\";\nimport View from \"react-native-web/dist/exports/View\";\nexport const Outline = ({\n  isV3,\n  label,\n  activeColor,\n  backgroundColor,\n  hasActiveOutline,\n  focused,\n  outlineColor,\n  roundness,\n  style\n}) => React.createElement(View, {\n  testID: \"text-input-outline\",\n  pointerEvents: \"none\",\n  style: [styles.outline, !label && styles.noLabelOutline, {\n    backgroundColor,\n    borderRadius: roundness,\n    borderWidth: (isV3 ? hasActiveOutline : focused) ? 2 : 1,\n    borderColor: hasActiveOutline ? activeColor : outlineColor\n  }, style]\n});\nconst styles = StyleSheet.create({\n  outline: {\n    position: 'absolute',\n    left: 0,\n    right: 0,\n    top: 6,\n    bottom: 0\n  },\n  noLabelOutline: {\n    top: 0\n  }\n});","map":{"version":3,"names":["React","StyleSheet","View","Outline","isV3","label","activeColor","backgroundColor","hasActiveOutline","focused","outlineColor","roundness","style","createElement","testID","pointerEvents","styles","outline","noLabelOutline","borderRadius","borderWidth","borderColor","create","position","left","right","top","bottom"],"sources":["/Users/pmouli/Documents/GitHub.nosync/boots-strapper/mobile/node_modules/react-native-paper/src/components/TextInput/Addons/Outline.tsx"],"sourcesContent":["import * as React from 'react';\nimport {\n  StyleSheet,\n  ColorValue,\n  StyleProp,\n  View,\n  ViewStyle,\n} from 'react-native';\n\nimport { TextInputLabelProp } from '../types';\n\ntype OutlineProps = {\n  isV3: boolean;\n  activeColor: string;\n  backgroundColor: ColorValue;\n  hasActiveOutline?: boolean;\n  focused?: boolean;\n  outlineColor?: string;\n  roundness?: number;\n  label?: TextInputLabelProp;\n  style?: StyleProp<ViewStyle>;\n};\n\nexport const Outline = ({\n  isV3,\n  label,\n  activeColor,\n  backgroundColor,\n  hasActiveOutline,\n  focused,\n  outlineColor,\n  roundness,\n  style,\n}: OutlineProps) => (\n  <View\n    testID=\"text-input-outline\"\n    pointerEvents=\"none\"\n    style={[\n      styles.outline,\n      !label && styles.noLabelOutline,\n      // eslint-disable-next-line react-native/no-inline-styles\n      {\n        backgroundColor,\n        borderRadius: roundness,\n        borderWidth: (isV3 ? hasActiveOutline : focused) ? 2 : 1,\n        borderColor: hasActiveOutline ? activeColor : outlineColor,\n      },\n      style,\n    ]}\n  />\n);\n\nconst styles = StyleSheet.create({\n  outline: {\n    position: 'absolute',\n    left: 0,\n    right: 0,\n    top: 6,\n    bottom: 0,\n  },\n  noLabelOutline: {\n    top: 0,\n  },\n});\n"],"mappings":"AAAA,OAAO,KAAKA,KAAK,MAAM,OAAO;AAAA,OAAAC,UAAA;AAAA,OAAAC,IAAA;AAuB9B,OAAO,MAAMC,OAAO,GAAGA,CAAC;EACtBC,IAAI;EACJC,KAAK;EACLC,WAAW;EACXC,eAAe;EACfC,gBAAgB;EAChBC,OAAO;EACPC,YAAY;EACZC,SAAS;EACTC;AACY,CAAC,KACbZ,KAAA,CAAAa,aAAA,CAACX,IAAI;EACHY,MAAM,EAAC,oBAAoB;EAC3BC,aAAa,EAAC,MAAM;EACpBH,KAAK,EAAE,CACLI,MAAM,CAACC,OAAO,EACd,CAACZ,KAAK,IAAIW,MAAM,CAACE,cAAc,EAE/B;IACEX,eAAe;IACfY,YAAY,EAAER,SAAS;IACvBS,WAAW,EAAE,CAAChB,IAAI,GAAGI,gBAAgB,GAAGC,OAAO,IAAI,CAAC,GAAG,CAAC;IACxDY,WAAW,EAAEb,gBAAgB,GAAGF,WAAW,GAAGI;EAChD,CAAC,EACDE,KAAK;AACL,CACH,CACF;AAED,MAAMI,MAAM,GAAGf,UAAU,CAACqB,MAAM,CAAC;EAC/BL,OAAO,EAAE;IACPM,QAAQ,EAAE,UAAU;IACpBC,IAAI,EAAE,CAAC;IACPC,KAAK,EAAE,CAAC;IACRC,GAAG,EAAE,CAAC;IACNC,MAAM,EAAE;EACV,CAAC;EACDT,cAAc,EAAE;IACdQ,GAAG,EAAE;EACP;AACF,CAAC,CAAC","ignoreList":[]},"metadata":{"hasCjsExports":false},"sourceType":"module","externalDependencies":[]}