1 |
- [{"D:\\web\\NIX\\FINAL-PROJECT-FRONT\\src\\index.tsx":"1","D:\\web\\NIX\\FINAL-PROJECT-FRONT\\src\\redux\\store\\index.ts":"2","D:\\web\\NIX\\FINAL-PROJECT-FRONT\\src\\redux\\authorization\\reducer\\index.ts":"3","D:\\web\\NIX\\FINAL-PROJECT-FRONT\\src\\api-data\\index.ts":"4","D:\\web\\NIX\\FINAL-PROJECT-FRONT\\src\\redux\\loading\\reducer\\index.ts":"5","D:\\web\\NIX\\FINAL-PROJECT-FRONT\\src\\redux\\authorization\\operations\\index.ts":"6","D:\\web\\NIX\\FINAL-PROJECT-FRONT\\src\\redux\\authorization\\action\\index.ts":"7","D:\\web\\NIX\\FINAL-PROJECT-FRONT\\src\\App.tsx":"8","D:\\web\\NIX\\FINAL-PROJECT-FRONT\\src\\components\\AuthPage\\Authorization\\countries.tsx":"9","D:\\web\\NIX\\FINAL-PROJECT-FRONT\\src\\components\\AuthPage\\index.tsx":"10","D:\\web\\NIX\\FINAL-PROJECT-FRONT\\src\\components\\Routes\\PrivateRoute\\PrivateRoute.tsx":"11","D:\\web\\NIX\\FINAL-PROJECT-FRONT\\src\\components\\AuthPage\\SMSCode\\index.tsx":"12","D:\\web\\NIX\\FINAL-PROJECT-FRONT\\src\\components\\AuthPage\\Authorization\\index.tsx":"13","D:\\web\\NIX\\FINAL-PROJECT-FRONT\\src\\components\\AuthPage\\QRCode\\index.tsx":"14","D:\\web\\NIX\\FINAL-PROJECT-FRONT\\src\\redux\\authorization\\selector\\index.ts":"15","D:\\web\\NIX\\FINAL-PROJECT-FRONT\\src\\components\\Routes\\PublicRoute\\PublicRoute.tsx":"16","D:\\web\\NIX\\FINAL-PROJECT-FRONT\\src\\components\\AuthPage\\Registration\\index.tsx":"17","D:\\web\\NIX\\FINAL-PROJECT-FRONT\\src\\redux\\rootReducer\\index.ts":"18","D:\\web\\NIX\\FINAL-PROJECT-FRONT\\src\\components\\DropZone\\UploadAvatar\\index.tsx":"19","D:\\web\\NIX\\FINAL-PROJECT-FRONT\\src\\redux\\loading\\action\\index.ts":"20","D:\\web\\NIX\\FINAL-PROJECT-FRONT\\src\\components\\Loader\\Loader.jsx":"21","D:\\web\\NIX\\FINAL-PROJECT-FRONT\\src\\redux\\loading\\selector\\index.ts":"22","D:\\web\\NIX\\FINAL-PROJECT-FRONT\\src\\components\\HomePage\\index.tsx":"23","D:\\web\\NIX\\FINAL-PROJECT-FRONT\\src\\components\\HomePage\\ContactsBar\\index.tsx":"24","D:\\web\\NIX\\FINAL-PROJECT-FRONT\\src\\components\\HomePage\\ContactsBar\\SearchBar\\index.tsx":"25","D:\\web\\NIX\\FINAL-PROJECT-FRONT\\src\\components\\HomePage\\ContactsBar\\SearchBar\\ChatListRecent\\index.tsx":"26","D:\\web\\NIX\\FINAL-PROJECT-FRONT\\src\\components\\HomePage\\ContactsBar\\ChatsList\\index.tsx":"27","D:\\web\\NIX\\FINAL-PROJECT-FRONT\\src\\components\\HomePage\\ContactsBar\\ChatsList\\chats.tsx":"28","D:\\web\\NIX\\FINAL-PROJECT-FRONT\\src\\components\\HomePage\\ContactsBar\\SearchBar\\ChatListRecent\\user.tsx":"29","D:\\web\\NIX\\FINAL-PROJECT-FRONT\\src\\components\\HomePage\\ContactsBar\\ChatsList\\SmallMenuBar\\index.tsx":"30","D:\\web\\NIX\\FINAL-PROJECT-FRONT\\src\\components\\HomePage\\ContactsBar\\ChatsList\\MenuBar\\index.tsx":"31","D:\\web\\NIX\\FINAL-PROJECT-FRONT\\src\\components\\HomePage\\ContactsBar\\ChatsList\\Modal\\index.tsx":"32"},{"size":597,"mtime":1644827235611,"results":"33","hashOfConfig":"34"},{"size":466,"mtime":1643966451100,"results":"35","hashOfConfig":"34"},{"size":1112,"mtime":1644486276929,"results":"36","hashOfConfig":"34"},{"size":2257,"mtime":1644440694944,"results":"37","hashOfConfig":"34"},{"size":253,"mtime":1643967732431,"results":"38","hashOfConfig":"34"},{"size":2365,"mtime":1644486221507,"results":"39","hashOfConfig":"34"},{"size":897,"mtime":1644438398066,"results":"40","hashOfConfig":"34"},{"size":1989,"mtime":1644438476722,"results":"41","hashOfConfig":"34"},{"size":15435,"mtime":1643905724114,"results":"42","hashOfConfig":"34"},{"size":2360,"mtime":1644438469005,"results":"43","hashOfConfig":"34"},{"size":488,"mtime":1644405655753,"results":"44","hashOfConfig":"34"},{"size":1890,"mtime":1644839395447,"results":"45","hashOfConfig":"34"},{"size":3904,"mtime":1644235188871,"results":"46","hashOfConfig":"34"},{"size":1880,"mtime":1644235197856,"results":"47","hashOfConfig":"34"},{"size":607,"mtime":1644227472772,"results":"48","hashOfConfig":"34"},{"size":565,"mtime":1644405593475,"results":"49","hashOfConfig":"34"},{"size":2933,"mtime":1644398207964,"results":"50","hashOfConfig":"34"},{"size":530,"mtime":1643966531551,"results":"51","hashOfConfig":"34"},{"size":1995,"mtime":1644500037477,"results":"52","hashOfConfig":"34"},{"size":178,"mtime":1643966770113,"results":"53","hashOfConfig":"34"},{"size":512,"mtime":1644437484711,"results":"54","hashOfConfig":"34"},{"size":134,"mtime":1643967373421,"results":"55","hashOfConfig":"34"},{"size":795,"mtime":1644524851391,"results":"56","hashOfConfig":"34"},{"size":4521,"mtime":1644850478680,"results":"57","hashOfConfig":"34"},{"size":1785,"mtime":1644515348946,"results":"58","hashOfConfig":"34"},{"size":1667,"mtime":1644833343924,"results":"59","hashOfConfig":"34"},{"size":4599,"mtime":1644850800977,"results":"60","hashOfConfig":"34"},{"size":12349,"mtime":1644831052022,"results":"61","hashOfConfig":"34"},{"size":12497,"mtime":1644830279250,"results":"62","hashOfConfig":"34"},{"size":3095,"mtime":1644850492676,"results":"63","hashOfConfig":"34"},{"size":3944,"mtime":1644835630519,"results":"64","hashOfConfig":"34"},{"size":1303,"mtime":1644835563264,"results":"65","hashOfConfig":"34"},{"filePath":"66","messages":"67","errorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},"1qtp245",{"filePath":"68","messages":"69","errorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"70","messages":"71","errorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"72","messages":"73","errorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0,"usedDeprecatedRules":"74"},{"filePath":"75","messages":"76","errorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0,"usedDeprecatedRules":"77"},{"filePath":"78","messages":"79","errorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0,"usedDeprecatedRules":"80"},{"filePath":"81","messages":"82","errorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"83","messages":"84","errorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"85","messages":"86","errorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"87","messages":"88","errorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"89","messages":"90","errorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"91","messages":"92","errorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"93","messages":"94","errorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0,"usedDeprecatedRules":"95"},{"filePath":"96","messages":"97","errorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0,"usedDeprecatedRules":"95"},{"filePath":"98","messages":"99","errorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"100","messages":"101","errorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"102","messages":"103","errorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0,"usedDeprecatedRules":"95"},{"filePath":"104","messages":"105","errorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0,"usedDeprecatedRules":"106"},{"filePath":"107","messages":"108","errorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"109","messages":"110","errorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0,"usedDeprecatedRules":"111"},{"filePath":"112","messages":"113","errorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"114","messages":"115","errorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"116","messages":"117","errorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"118","messages":"119","errorCount":0,"warningCount":1,"fixableErrorCount":0,"fixableWarningCount":0,"source":null},{"filePath":"120","messages":"121","errorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"122","messages":"123","errorCount":0,"warningCount":1,"fixableErrorCount":0,"fixableWarningCount":0,"source":"124"},{"filePath":"125","messages":"126","errorCount":0,"warningCount":1,"fixableErrorCount":0,"fixableWarningCount":0,"source":null},{"filePath":"127","messages":"128","errorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"129","messages":"130","errorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"131","messages":"132","errorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"133","messages":"134","errorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"135","messages":"136","errorCount":0,"warningCount":14,"fixableErrorCount":0,"fixableWarningCount":0,"source":null},"D:\\web\\NIX\\FINAL-PROJECT-FRONT\\src\\index.tsx",[],"D:\\web\\NIX\\FINAL-PROJECT-FRONT\\src\\redux\\store\\index.ts",[],"D:\\web\\NIX\\FINAL-PROJECT-FRONT\\src\\redux\\authorization\\reducer\\index.ts",[],"D:\\web\\NIX\\FINAL-PROJECT-FRONT\\src\\api-data\\index.ts",[],["137","138"],"D:\\web\\NIX\\FINAL-PROJECT-FRONT\\src\\redux\\loading\\reducer\\index.ts",[],["139","140"],"D:\\web\\NIX\\FINAL-PROJECT-FRONT\\src\\redux\\authorization\\operations\\index.ts",[],["141","142"],"D:\\web\\NIX\\FINAL-PROJECT-FRONT\\src\\redux\\authorization\\action\\index.ts",[],"D:\\web\\NIX\\FINAL-PROJECT-FRONT\\src\\App.tsx",[],"D:\\web\\NIX\\FINAL-PROJECT-FRONT\\src\\components\\AuthPage\\Authorization\\countries.tsx",[],"D:\\web\\NIX\\FINAL-PROJECT-FRONT\\src\\components\\AuthPage\\index.tsx",[],"D:\\web\\NIX\\FINAL-PROJECT-FRONT\\src\\components\\Routes\\PrivateRoute\\PrivateRoute.tsx",[],"D:\\web\\NIX\\FINAL-PROJECT-FRONT\\src\\components\\AuthPage\\SMSCode\\index.tsx",[],"D:\\web\\NIX\\FINAL-PROJECT-FRONT\\src\\components\\AuthPage\\Authorization\\index.tsx",[],["143","144"],"D:\\web\\NIX\\FINAL-PROJECT-FRONT\\src\\components\\AuthPage\\QRCode\\index.tsx",[],"D:\\web\\NIX\\FINAL-PROJECT-FRONT\\src\\redux\\authorization\\selector\\index.ts",[],"D:\\web\\NIX\\FINAL-PROJECT-FRONT\\src\\components\\Routes\\PublicRoute\\PublicRoute.tsx",[],"D:\\web\\NIX\\FINAL-PROJECT-FRONT\\src\\components\\AuthPage\\Registration\\index.tsx",[],"D:\\web\\NIX\\FINAL-PROJECT-FRONT\\src\\redux\\rootReducer\\index.ts",[],["145","146"],"D:\\web\\NIX\\FINAL-PROJECT-FRONT\\src\\components\\DropZone\\UploadAvatar\\index.tsx",[],"D:\\web\\NIX\\FINAL-PROJECT-FRONT\\src\\redux\\loading\\action\\index.ts",[],["147","148"],"D:\\web\\NIX\\FINAL-PROJECT-FRONT\\src\\components\\Loader\\Loader.jsx",[],"D:\\web\\NIX\\FINAL-PROJECT-FRONT\\src\\redux\\loading\\selector\\index.ts",[],"D:\\web\\NIX\\FINAL-PROJECT-FRONT\\src\\components\\HomePage\\index.tsx",[],"D:\\web\\NIX\\FINAL-PROJECT-FRONT\\src\\components\\HomePage\\ContactsBar\\index.tsx",["149"],"D:\\web\\NIX\\FINAL-PROJECT-FRONT\\src\\components\\HomePage\\ContactsBar\\SearchBar\\index.tsx",[],"D:\\web\\NIX\\FINAL-PROJECT-FRONT\\src\\components\\HomePage\\ContactsBar\\SearchBar\\ChatListRecent\\index.tsx",["150"],"import Avatar from '@mui/material/Avatar';\r\nimport Stack from '@mui/material/Stack';\r\nimport { makeStyles, Typography } from '@material-ui/core'\r\nimport shortid from 'shortid';\r\nimport { useState } from 'react';\r\nimport {users} from './user'\r\n\r\nconst useStyles = makeStyles({\r\n stack: {\r\n display: 'flex',\r\n justifyContent: 'space-around'\r\n },\r\n stackItem: {\r\n display: 'flex',\r\n flexDirection: 'column',\r\n justifyContent: 'center',\r\n alignContent: 'center',\r\n alignItems: 'center',\r\n padding: 5,\r\n borderRadius: 5,\r\n '&:hover': {\r\n background: '#eeeded'\r\n }\r\n },\r\n titleName: {\r\n color: '#6e6e6e',\r\n fontSize: 16,\r\n paddingTop:5\r\n }\r\n})\r\n\r\nconst randomColor = () => \"#\" + Math.floor(Math.random() * 0xFFFFFF).toString(16);\r\n\r\nconst ChatListRecent = () => {\r\n const classes = useStyles()\r\n // const [selectedIndex, setSelectedIndex] = useState<number>(1);\r\n // const handleSelectedIndex\r\n return (\r\n <Stack direction=\"row\" className={classes.stack}>\r\n {users && users.slice(0, 6).map(({ name, avatarUrl,lastName }) => <div key={shortid.generate()} className={classes.stackItem}>\r\n <Avatar alt={name} src={avatarUrl?avatarUrl:undefined}\r\n sx={{ background: randomColor(), width: 54, height: 54 }}>{!avatarUrl&&`${lastName.slice(0,1).toUpperCase()}${lastName.slice(0,1).toUpperCase()}`}</Avatar>\r\n <Typography variant=\"h6\" className={classes.titleName} >{name.length < 9?name:`${name.slice(0,8)}...`}</Typography>\r\n </div>)}\r\n </Stack> \r\n )\r\n}\r\n\r\nexport default ChatListRecent","D:\\web\\NIX\\FINAL-PROJECT-FRONT\\src\\components\\HomePage\\ContactsBar\\ChatsList\\index.tsx",["151"],"D:\\web\\NIX\\FINAL-PROJECT-FRONT\\src\\components\\HomePage\\ContactsBar\\ChatsList\\chats.tsx",[],"D:\\web\\NIX\\FINAL-PROJECT-FRONT\\src\\components\\HomePage\\ContactsBar\\SearchBar\\ChatListRecent\\user.tsx",[],"D:\\web\\NIX\\FINAL-PROJECT-FRONT\\src\\components\\HomePage\\ContactsBar\\ChatsList\\SmallMenuBar\\index.tsx",[],"D:\\web\\NIX\\FINAL-PROJECT-FRONT\\src\\components\\HomePage\\ContactsBar\\ChatsList\\MenuBar\\index.tsx",[],"D:\\web\\NIX\\FINAL-PROJECT-FRONT\\src\\components\\HomePage\\ContactsBar\\ChatsList\\Modal\\index.tsx",["152","153","154","155","156","157","158","159","160","161","162","163","164","165"],{"ruleId":"166","replacedBy":"167"},{"ruleId":"168","replacedBy":"169"},{"ruleId":"166","replacedBy":"170"},{"ruleId":"168","replacedBy":"171"},{"ruleId":"166","replacedBy":"172"},{"ruleId":"168","replacedBy":"173"},{"ruleId":"166","replacedBy":"174"},{"ruleId":"168","replacedBy":"175"},{"ruleId":"166","replacedBy":"176"},{"ruleId":"168","replacedBy":"177"},{"ruleId":"166","replacedBy":"178"},{"ruleId":"168","replacedBy":"179"},{"ruleId":"180","severity":1,"message":"181","line":86,"column":12,"nodeType":"182","messageId":"183","endLine":86,"endColumn":17},{"ruleId":"180","severity":1,"message":"184","line":5,"column":10,"nodeType":"182","messageId":"183","endLine":5,"endColumn":18},{"ruleId":"180","severity":1,"message":"185","line":13,"column":7,"nodeType":"182","messageId":"183","endLine":13,"endColumn":18},{"ruleId":"180","severity":1,"message":"186","line":1,"column":8,"nodeType":"182","messageId":"183","endLine":1,"endColumn":15},{"ruleId":"180","severity":1,"message":"187","line":2,"column":8,"nodeType":"182","messageId":"183","endLine":2,"endColumn":13},{"ruleId":"180","severity":1,"message":"188","line":3,"column":8,"nodeType":"182","messageId":"183","endLine":3,"endColumn":16},{"ruleId":"180","severity":1,"message":"189","line":4,"column":8,"nodeType":"182","messageId":"183","endLine":4,"endColumn":16},{"ruleId":"180","severity":1,"message":"190","line":5,"column":8,"nodeType":"182","messageId":"183","endLine":5,"endColumn":20},{"ruleId":"180","severity":1,"message":"191","line":6,"column":8,"nodeType":"182","messageId":"183","endLine":6,"endColumn":20},{"ruleId":"180","severity":1,"message":"192","line":7,"column":8,"nodeType":"182","messageId":"183","endLine":7,"endColumn":26},{"ruleId":"180","severity":1,"message":"193","line":8,"column":8,"nodeType":"182","messageId":"183","endLine":8,"endColumn":19},{"ruleId":"180","severity":1,"message":"194","line":9,"column":8,"nodeType":"182","messageId":"183","endLine":9,"endColumn":31},{"ruleId":"180","severity":1,"message":"195","line":10,"column":8,"nodeType":"182","messageId":"183","endLine":10,"endColumn":20},{"ruleId":"180","severity":1,"message":"196","line":11,"column":8,"nodeType":"182","messageId":"183","endLine":11,"endColumn":23},{"ruleId":"180","severity":1,"message":"197","line":12,"column":8,"nodeType":"182","messageId":"183","endLine":12,"endColumn":21},{"ruleId":"180","severity":1,"message":"198","line":13,"column":8,"nodeType":"182","messageId":"183","endLine":13,"endColumn":23},{"ruleId":"180","severity":1,"message":"199","line":14,"column":8,"nodeType":"182","messageId":"183","endLine":14,"endColumn":21},"no-native-reassign",["200"],"no-negated-in-lhs",["201"],["200"],["201"],["200"],["201"],["200"],["201"],["200"],["201"],["200"],["201"],"@typescript-eslint/no-unused-vars","'value' is assigned a value but never used.","Identifier","unusedVar","'useState' is defined but never used.","'randomColor' is assigned a value but never used.","'Divider' is defined but never used.","'Paper' is defined but never used.","'MenuList' is defined but never used.","'MenuItem' is defined but never used.","'ListItemText' is defined but never used.","'ListItemIcon' is defined but never used.","'BookmarkBorderIcon' is defined but never used.","'ArchiveIcon' is defined but never used.","'PermContactCalendarIcon' is defined but never used.","'SettingsIcon' is defined but never used.","'Brightness3Icon' is defined but never used.","'AnimationIcon' is defined but never used.","'HelpOutlineIcon' is defined but never used.","'BugReportIcon' is defined but never used.","no-global-assign","no-unsafe-negation"]
|