repoweaver
Version:
A GitHub App that skillfully weaves multiple templates together to create and update repositories with intelligent merge strategies
1 lines • 23.9 kB
JSON
{"ast":null,"code":"import _defineProperty from \"@babel/runtime/helpers/defineProperty\";\nfunction ownKeys(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }\nfunction _objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys(Object(t), !0).forEach(function (r) { _defineProperty(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }\nimport color from 'color';\nimport { black, white } from \"../../styles/themes/v2/colors\";\nvar getBorderColor = function getBorderColor(_ref) {\n var theme = _ref.theme,\n isOutlined = _ref.isOutlined,\n disabled = _ref.disabled,\n selectedColor = _ref.selectedColor,\n backgroundColor = _ref.backgroundColor;\n var isSelectedColor = selectedColor !== undefined;\n if (theme.isV3) {\n if (!isOutlined) {\n return 'transparent';\n }\n if (disabled) {\n return color(theme.colors.onSurfaceVariant).alpha(0.12).rgb().string();\n }\n if (isSelectedColor) {\n return color(selectedColor).alpha(0.29).rgb().string();\n }\n return theme.colors.outline;\n }\n if (isOutlined) {\n if (isSelectedColor) {\n return color(selectedColor).alpha(0.29).rgb().string();\n }\n if (theme.dark) {\n return color(white).alpha(0.29).rgb().string();\n }\n return color(black).alpha(0.29).rgb().string();\n }\n return backgroundColor;\n};\nvar getTextColor = function getTextColor(_ref2) {\n var theme = _ref2.theme,\n isOutlined = _ref2.isOutlined,\n disabled = _ref2.disabled,\n selectedColor = _ref2.selectedColor;\n var isSelectedColor = selectedColor !== undefined;\n if (theme.isV3) {\n if (disabled) {\n return theme.colors.onSurfaceDisabled;\n }\n if (isSelectedColor) {\n return selectedColor;\n }\n if (isOutlined) {\n return theme.colors.onSurfaceVariant;\n }\n return theme.colors.onSecondaryContainer;\n }\n if (disabled) {\n return theme.colors.disabled;\n }\n if (isSelectedColor) {\n return color(selectedColor).alpha(0.87).rgb().string();\n }\n return color(theme.colors.text).alpha(0.87).rgb().string();\n};\nvar getDefaultBackgroundColor = function getDefaultBackgroundColor(_ref3) {\n var theme = _ref3.theme,\n isOutlined = _ref3.isOutlined;\n if (theme.isV3) {\n if (isOutlined) {\n return theme.colors.surface;\n }\n return theme.colors.secondaryContainer;\n }\n if (isOutlined) {\n var _theme$colors;\n return (_theme$colors = theme.colors) === null || _theme$colors === void 0 ? void 0 : _theme$colors.surface;\n }\n if (theme.dark) {\n return '#383838';\n }\n return '#ebebeb';\n};\nvar getBackgroundColor = function getBackgroundColor(_ref4) {\n var theme = _ref4.theme,\n isOutlined = _ref4.isOutlined,\n disabled = _ref4.disabled,\n customBackgroundColor = _ref4.customBackgroundColor;\n if (typeof customBackgroundColor === 'string') {\n return customBackgroundColor;\n }\n if (theme.isV3) {\n if (disabled) {\n if (isOutlined) {\n return 'transparent';\n }\n return color(theme.colors.onSurfaceVariant).alpha(0.12).rgb().string();\n }\n }\n return getDefaultBackgroundColor({\n theme: theme,\n isOutlined: isOutlined\n });\n};\nvar getSelectedBackgroundColor = function getSelectedBackgroundColor(_ref5) {\n var theme = _ref5.theme,\n isOutlined = _ref5.isOutlined,\n disabled = _ref5.disabled,\n customBackgroundColor = _ref5.customBackgroundColor,\n showSelectedOverlay = _ref5.showSelectedOverlay;\n var backgroundColor = getBackgroundColor({\n theme: theme,\n disabled: disabled,\n isOutlined: isOutlined,\n customBackgroundColor: customBackgroundColor\n });\n if (theme.isV3) {\n if (isOutlined) {\n if (showSelectedOverlay) {\n return color(backgroundColor).mix(color(theme.colors.onSurfaceVariant), 0.12).rgb().string();\n }\n return color(backgroundColor).mix(color(theme.colors.onSurfaceVariant), 0).rgb().string();\n }\n if (showSelectedOverlay) {\n return color(backgroundColor).mix(color(theme.colors.onSecondaryContainer), 0.12).rgb().string();\n }\n return color(backgroundColor).mix(color(theme.colors.onSecondaryContainer), 0).rgb().string();\n }\n if (theme.dark) {\n if (isOutlined) {\n return color(backgroundColor).lighten(0.2).rgb().string();\n }\n return color(backgroundColor).lighten(0.4).rgb().string();\n }\n if (isOutlined) {\n return color(backgroundColor).darken(0.08).rgb().string();\n }\n return color(backgroundColor).darken(0.2).rgb().string();\n};\nvar getIconColor = function getIconColor(_ref6) {\n var theme = _ref6.theme,\n isOutlined = _ref6.isOutlined,\n disabled = _ref6.disabled,\n selectedColor = _ref6.selectedColor;\n var isSelectedColor = selectedColor !== undefined;\n if (theme.isV3) {\n if (disabled) {\n return theme.colors.onSurfaceDisabled;\n }\n if (isSelectedColor) {\n return selectedColor;\n }\n if (isOutlined) {\n return theme.colors.onSurfaceVariant;\n }\n return theme.colors.onSecondaryContainer;\n }\n if (disabled) {\n return theme.colors.disabled;\n }\n if (isSelectedColor) {\n return color(selectedColor).alpha(0.54).rgb().string();\n }\n return color(theme.colors.text).alpha(0.54).rgb().string();\n};\nvar getRippleColor = function getRippleColor(_ref7) {\n var theme = _ref7.theme,\n isOutlined = _ref7.isOutlined,\n disabled = _ref7.disabled,\n selectedColor = _ref7.selectedColor,\n selectedBackgroundColor = _ref7.selectedBackgroundColor,\n customRippleColor = _ref7.customRippleColor;\n if (customRippleColor) {\n return customRippleColor;\n }\n var isSelectedColor = selectedColor !== undefined;\n var textColor = getTextColor({\n theme: theme,\n disabled: disabled,\n selectedColor: selectedColor,\n isOutlined: isOutlined\n });\n if (theme.isV3) {\n if (isSelectedColor) {\n return color(selectedColor).alpha(0.12).rgb().string();\n }\n return color(textColor).alpha(0.12).rgb().string();\n }\n if (isSelectedColor) {\n return color(selectedColor).fade(0.5).rgb().string();\n }\n return selectedBackgroundColor;\n};\nexport var getChipColors = function getChipColors(_ref8) {\n var isOutlined = _ref8.isOutlined,\n theme = _ref8.theme,\n selectedColor = _ref8.selectedColor,\n showSelectedOverlay = _ref8.showSelectedOverlay,\n customBackgroundColor = _ref8.customBackgroundColor,\n disabled = _ref8.disabled,\n customRippleColor = _ref8.customRippleColor;\n var baseChipColorProps = {\n theme: theme,\n isOutlined: isOutlined,\n disabled: disabled\n };\n var backgroundColor = getBackgroundColor(_objectSpread(_objectSpread({}, baseChipColorProps), {}, {\n customBackgroundColor: customBackgroundColor\n }));\n var selectedBackgroundColor = getSelectedBackgroundColor(_objectSpread(_objectSpread({}, baseChipColorProps), {}, {\n customBackgroundColor: customBackgroundColor,\n showSelectedOverlay: showSelectedOverlay\n }));\n return {\n borderColor: getBorderColor(_objectSpread(_objectSpread({}, baseChipColorProps), {}, {\n selectedColor: selectedColor,\n backgroundColor: backgroundColor\n })),\n textColor: getTextColor(_objectSpread(_objectSpread({}, baseChipColorProps), {}, {\n selectedColor: selectedColor\n })),\n iconColor: getIconColor(_objectSpread(_objectSpread({}, baseChipColorProps), {}, {\n selectedColor: selectedColor\n })),\n rippleColor: getRippleColor(_objectSpread(_objectSpread({}, baseChipColorProps), {}, {\n selectedColor: selectedColor,\n selectedBackgroundColor: selectedBackgroundColor,\n customRippleColor: customRippleColor\n })),\n backgroundColor: backgroundColor,\n selectedBackgroundColor: selectedBackgroundColor\n };\n};","map":{"version":3,"names":["color","black","white","getBorderColor","_ref","theme","isOutlined","disabled","selectedColor","backgroundColor","isSelectedColor","undefined","isV3","colors","onSurfaceVariant","alpha","rgb","string","outline","dark","getTextColor","_ref2","onSurfaceDisabled","onSecondaryContainer","text","getDefaultBackgroundColor","_ref3","surface","secondaryContainer","_theme$colors","getBackgroundColor","_ref4","customBackgroundColor","getSelectedBackgroundColor","_ref5","showSelectedOverlay","mix","lighten","darken","getIconColor","_ref6","getRippleColor","_ref7","selectedBackgroundColor","customRippleColor","textColor","fade","getChipColors","_ref8","baseChipColorProps","_objectSpread","borderColor","iconColor","rippleColor"],"sources":["/Users/pmouli/Documents/GitHub.nosync/boots-strapper/mobile/node_modules/react-native-paper/src/components/Chip/helpers.tsx"],"sourcesContent":["import type { ColorValue, StyleProp, ViewStyle } from 'react-native';\n\nimport color from 'color';\n\nimport { black, white } from '../../styles/themes/v2/colors';\nimport type { InternalTheme } from '../../types';\n\nexport type ChipAvatarProps = {\n style?: StyleProp<ViewStyle>;\n};\n\ntype BaseProps = {\n theme: InternalTheme;\n isOutlined: boolean;\n disabled?: boolean;\n};\n\nconst getBorderColor = ({\n theme,\n isOutlined,\n disabled,\n selectedColor,\n backgroundColor,\n}: BaseProps & { backgroundColor: string; selectedColor?: string }) => {\n const isSelectedColor = selectedColor !== undefined;\n\n if (theme.isV3) {\n if (!isOutlined) {\n // If the Chip mode is \"flat\", set border color to transparent\n return 'transparent';\n }\n\n if (disabled) {\n return color(theme.colors.onSurfaceVariant).alpha(0.12).rgb().string();\n }\n\n if (isSelectedColor) {\n return color(selectedColor).alpha(0.29).rgb().string();\n }\n\n return theme.colors.outline;\n }\n\n if (isOutlined) {\n if (isSelectedColor) {\n return color(selectedColor).alpha(0.29).rgb().string();\n }\n\n if (theme.dark) {\n return color(white).alpha(0.29).rgb().string();\n }\n\n return color(black).alpha(0.29).rgb().string();\n }\n\n return backgroundColor;\n};\n\nconst getTextColor = ({\n theme,\n isOutlined,\n disabled,\n selectedColor,\n}: BaseProps & {\n selectedColor?: string;\n}) => {\n const isSelectedColor = selectedColor !== undefined;\n if (theme.isV3) {\n if (disabled) {\n return theme.colors.onSurfaceDisabled;\n }\n\n if (isSelectedColor) {\n return selectedColor;\n }\n\n if (isOutlined) {\n return theme.colors.onSurfaceVariant;\n }\n\n return theme.colors.onSecondaryContainer;\n }\n\n if (disabled) {\n return theme.colors.disabled;\n }\n\n if (isSelectedColor) {\n return color(selectedColor).alpha(0.87).rgb().string();\n }\n\n return color(theme.colors.text).alpha(0.87).rgb().string();\n};\n\nconst getDefaultBackgroundColor = ({\n theme,\n isOutlined,\n}: Omit<BaseProps, 'disabled' | 'selectedColor'>) => {\n if (theme.isV3) {\n if (isOutlined) {\n return theme.colors.surface;\n }\n\n return theme.colors.secondaryContainer;\n }\n\n if (isOutlined) {\n return theme.colors?.surface;\n }\n\n if (theme.dark) {\n return '#383838';\n }\n\n return '#ebebeb';\n};\n\nconst getBackgroundColor = ({\n theme,\n isOutlined,\n disabled,\n customBackgroundColor,\n}: BaseProps & {\n customBackgroundColor?: ColorValue;\n}) => {\n if (typeof customBackgroundColor === 'string') {\n return customBackgroundColor;\n }\n\n if (theme.isV3) {\n if (disabled) {\n if (isOutlined) {\n return 'transparent';\n }\n return color(theme.colors.onSurfaceVariant).alpha(0.12).rgb().string();\n }\n }\n\n return getDefaultBackgroundColor({ theme, isOutlined });\n};\n\nconst getSelectedBackgroundColor = ({\n theme,\n isOutlined,\n disabled,\n customBackgroundColor,\n showSelectedOverlay,\n}: BaseProps & {\n customBackgroundColor?: ColorValue;\n showSelectedOverlay?: boolean;\n}) => {\n const backgroundColor = getBackgroundColor({\n theme,\n disabled,\n isOutlined,\n customBackgroundColor,\n });\n\n if (theme.isV3) {\n if (isOutlined) {\n if (showSelectedOverlay) {\n return color(backgroundColor)\n .mix(color(theme.colors.onSurfaceVariant), 0.12)\n .rgb()\n .string();\n }\n return color(backgroundColor)\n .mix(color(theme.colors.onSurfaceVariant), 0)\n .rgb()\n .string();\n }\n\n if (showSelectedOverlay) {\n return color(backgroundColor)\n .mix(color(theme.colors.onSecondaryContainer), 0.12)\n .rgb()\n .string();\n }\n\n return color(backgroundColor)\n .mix(color(theme.colors.onSecondaryContainer), 0)\n .rgb()\n .string();\n }\n\n if (theme.dark) {\n if (isOutlined) {\n return color(backgroundColor).lighten(0.2).rgb().string();\n }\n return color(backgroundColor).lighten(0.4).rgb().string();\n }\n\n if (isOutlined) {\n return color(backgroundColor).darken(0.08).rgb().string();\n }\n\n return color(backgroundColor).darken(0.2).rgb().string();\n};\n\nconst getIconColor = ({\n theme,\n isOutlined,\n disabled,\n selectedColor,\n}: BaseProps & {\n selectedColor?: string;\n}) => {\n const isSelectedColor = selectedColor !== undefined;\n if (theme.isV3) {\n if (disabled) {\n return theme.colors.onSurfaceDisabled;\n }\n\n if (isSelectedColor) {\n return selectedColor;\n }\n\n if (isOutlined) {\n return theme.colors.onSurfaceVariant;\n }\n\n return theme.colors.onSecondaryContainer;\n }\n\n if (disabled) {\n return theme.colors.disabled;\n }\n\n if (isSelectedColor) {\n return color(selectedColor).alpha(0.54).rgb().string();\n }\n\n return color(theme.colors.text).alpha(0.54).rgb().string();\n};\n\nconst getRippleColor = ({\n theme,\n isOutlined,\n disabled,\n selectedColor,\n selectedBackgroundColor,\n customRippleColor,\n}: BaseProps & {\n selectedBackgroundColor: string;\n selectedColor?: string;\n customRippleColor?: ColorValue;\n}) => {\n if (customRippleColor) {\n return customRippleColor;\n }\n\n const isSelectedColor = selectedColor !== undefined;\n const textColor = getTextColor({\n theme,\n disabled,\n selectedColor,\n isOutlined,\n });\n\n if (theme.isV3) {\n if (isSelectedColor) {\n return color(selectedColor).alpha(0.12).rgb().string();\n }\n\n return color(textColor).alpha(0.12).rgb().string();\n }\n\n if (isSelectedColor) {\n return color(selectedColor).fade(0.5).rgb().string();\n }\n\n return selectedBackgroundColor;\n};\n\nexport const getChipColors = ({\n isOutlined,\n theme,\n selectedColor,\n showSelectedOverlay,\n customBackgroundColor,\n disabled,\n customRippleColor,\n}: BaseProps & {\n customBackgroundColor?: ColorValue;\n disabled?: boolean;\n showSelectedOverlay?: boolean;\n selectedColor?: string;\n customRippleColor?: ColorValue;\n}) => {\n const baseChipColorProps = { theme, isOutlined, disabled };\n\n const backgroundColor = getBackgroundColor({\n ...baseChipColorProps,\n customBackgroundColor,\n });\n\n const selectedBackgroundColor = getSelectedBackgroundColor({\n ...baseChipColorProps,\n customBackgroundColor,\n showSelectedOverlay,\n });\n\n return {\n borderColor: getBorderColor({\n ...baseChipColorProps,\n selectedColor,\n backgroundColor,\n }),\n textColor: getTextColor({\n ...baseChipColorProps,\n selectedColor,\n }),\n iconColor: getIconColor({\n ...baseChipColorProps,\n selectedColor,\n }),\n rippleColor: getRippleColor({\n ...baseChipColorProps,\n selectedColor,\n selectedBackgroundColor,\n customRippleColor,\n }),\n backgroundColor,\n selectedBackgroundColor,\n };\n};\n"],"mappings":";;;AAEA,OAAOA,KAAK,MAAM,OAAO;AAEzB,SAASC,KAAK,EAAEC,KAAK;AAarB,IAAMC,cAAc,GAAG,SAAjBA,cAAcA,CAAAC,IAAA,EAMmD;EAAA,IALrEC,KAAK,GAAAD,IAAA,CAALC,KAAK;IACLC,UAAU,GAAAF,IAAA,CAAVE,UAAU;IACVC,QAAQ,GAAAH,IAAA,CAARG,QAAQ;IACRC,aAAa,GAAAJ,IAAA,CAAbI,aAAa;IACbC,eAAA,GAAAL,IAAA,CAAAK,eAAA;EAEA,IAAMC,eAAe,GAAGF,aAAa,KAAKG,SAAS;EAEnD,IAAIN,KAAK,CAACO,IAAI,EAAE;IACd,IAAI,CAACN,UAAU,EAAE;MAEf,OAAO,aAAa;IACtB;IAEA,IAAIC,QAAQ,EAAE;MACZ,OAAOP,KAAK,CAACK,KAAK,CAACQ,MAAM,CAACC,gBAAgB,CAAC,CAACC,KAAK,CAAC,IAAI,CAAC,CAACC,GAAG,CAAC,CAAC,CAACC,MAAM,CAAC,CAAC;IACxE;IAEA,IAAIP,eAAe,EAAE;MACnB,OAAOV,KAAK,CAACQ,aAAa,CAAC,CAACO,KAAK,CAAC,IAAI,CAAC,CAACC,GAAG,CAAC,CAAC,CAACC,MAAM,CAAC,CAAC;IACxD;IAEA,OAAOZ,KAAK,CAACQ,MAAM,CAACK,OAAO;EAC7B;EAEA,IAAIZ,UAAU,EAAE;IACd,IAAII,eAAe,EAAE;MACnB,OAAOV,KAAK,CAACQ,aAAa,CAAC,CAACO,KAAK,CAAC,IAAI,CAAC,CAACC,GAAG,CAAC,CAAC,CAACC,MAAM,CAAC,CAAC;IACxD;IAEA,IAAIZ,KAAK,CAACc,IAAI,EAAE;MACd,OAAOn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