.eslintcache 30 KB

1
  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\\AuthPage\\SMSCode\\index.tsx":"11","D:\\web\\NIX\\FINAL-PROJECT-FRONT\\src\\components\\AuthPage\\Authorization\\index.tsx":"12","D:\\web\\NIX\\FINAL-PROJECT-FRONT\\src\\components\\AuthPage\\QRCode\\index.tsx":"13","D:\\web\\NIX\\FINAL-PROJECT-FRONT\\src\\redux\\authorization\\selector\\index.ts":"14","D:\\web\\NIX\\FINAL-PROJECT-FRONT\\src\\components\\AuthPage\\Registration\\index.tsx":"15","D:\\web\\NIX\\FINAL-PROJECT-FRONT\\src\\redux\\rootReducer\\index.ts":"16","D:\\web\\NIX\\FINAL-PROJECT-FRONT\\src\\redux\\loading\\action\\index.ts":"17","D:\\web\\NIX\\FINAL-PROJECT-FRONT\\src\\redux\\loading\\selector\\index.ts":"18","D:\\web\\NIX\\FINAL-PROJECT-FRONT\\src\\components\\HomePage\\index.tsx":"19","D:\\web\\NIX\\FINAL-PROJECT-FRONT\\src\\components\\HomePage\\LeftBar\\index.tsx":"20","D:\\web\\NIX\\FINAL-PROJECT-FRONT\\src\\components\\HomePage\\LeftBar\\SearchBar\\ChatListRecent\\user.tsx":"21","D:\\web\\NIX\\FINAL-PROJECT-FRONT\\src\\components\\HomePage\\RightBar\\index.tsx":"22","D:\\web\\NIX\\FINAL-PROJECT-FRONT\\src\\components\\HomePage\\LeftBar\\SearchBar\\index.tsx":"23","D:\\web\\NIX\\FINAL-PROJECT-FRONT\\src\\components\\HomePage\\LeftBar\\ContactsList\\index.tsx":"24","D:\\web\\NIX\\FINAL-PROJECT-FRONT\\src\\components\\reusableComponents\\Loader\\Loader.jsx":"25","D:\\web\\NIX\\FINAL-PROJECT-FRONT\\src\\components\\reusableComponents\\DropZone\\UploadAvatar\\index.tsx":"26","D:\\web\\NIX\\FINAL-PROJECT-FRONT\\src\\components\\HomePage\\LeftBar\\ContactsList\\contacts.tsx":"27","D:\\web\\NIX\\FINAL-PROJECT-FRONT\\src\\components\\reusableComponents\\Modal\\index.tsx":"28","D:\\web\\NIX\\FINAL-PROJECT-FRONT\\src\\components\\reusableComponents\\NotDone\\index.tsx":"29","D:\\web\\NIX\\FINAL-PROJECT-FRONT\\src\\components\\HomePage\\LeftBar\\SearchBar\\SearchLists\\index.tsx":"30","D:\\web\\NIX\\FINAL-PROJECT-FRONT\\src\\components\\HomePage\\LeftBar\\MenuBar\\index.tsx":"31","D:\\web\\NIX\\FINAL-PROJECT-FRONT\\src\\components\\HomePage\\LeftBar\\SmallMenuBar\\index.tsx":"32","D:\\web\\NIX\\FINAL-PROJECT-FRONT\\src\\components\\HomePage\\RightBar\\HeaderBar\\Credentials\\index.tsx":"33","D:\\web\\NIX\\FINAL-PROJECT-FRONT\\src\\components\\HomePage\\RightBar\\HeaderBar\\index.tsx":"34","D:\\web\\NIX\\FINAL-PROJECT-FRONT\\src\\components\\HomePage\\RightBar\\HeaderBar\\Buttons\\index.tsx":"35","D:\\web\\NIX\\FINAL-PROJECT-FRONT\\src\\components\\HomePage\\RightBar\\HeaderBar\\RightLists\\index.tsx":"36","D:\\web\\NIX\\FINAL-PROJECT-FRONT\\src\\components\\HomePage\\RightBar\\HeaderBar\\RightLists\\SearchList\\index.tsx":"37","D:\\web\\NIX\\FINAL-PROJECT-FRONT\\src\\components\\HomePage\\RightBar\\HeaderBar\\RightLists\\SearchList\\Search\\index.tsx":"38","D:\\web\\NIX\\FINAL-PROJECT-FRONT\\src\\components\\HomePage\\RightBar\\HeaderBar\\RightLists\\SearchList\\chats.tsx":"39","D:\\web\\NIX\\FINAL-PROJECT-FRONT\\src\\components\\HomePage\\RightBar\\HeaderBar\\RightLists\\SearchList\\Search\\DataPicker\\index.tsx":"40","D:\\web\\NIX\\FINAL-PROJECT-FRONT\\src\\components\\HomePage\\RightBar\\HeaderBar\\Buttons\\MenuList\\index.tsx":"41","D:\\web\\NIX\\FINAL-PROJECT-FRONT\\src\\components\\HomePage\\RightBar\\HeaderBar\\RightLists\\CredentialsList\\ToolBar\\index.tsx":"42","D:\\web\\NIX\\FINAL-PROJECT-FRONT\\src\\components\\HomePage\\RightBar\\HeaderBar\\RightLists\\CredentialsList\\index.tsx":"43","D:\\web\\NIX\\FINAL-PROJECT-FRONT\\src\\components\\HomePage\\RightBar\\ChatBar\\index.tsx":"44","D:\\web\\NIX\\FINAL-PROJECT-FRONT\\src\\redux\\controlApp\\reducer\\index.ts":"45","D:\\web\\NIX\\FINAL-PROJECT-FRONT\\src\\components\\reusableComponents\\Routes\\PrivateRoute\\index.tsx":"46","D:\\web\\NIX\\FINAL-PROJECT-FRONT\\src\\redux\\controlApp\\action\\index.ts":"47","D:\\web\\NIX\\FINAL-PROJECT-FRONT\\src\\redux\\controlApp\\selector\\index.ts":"48","D:\\web\\NIX\\FINAL-PROJECT-FRONT\\src\\components\\HomePage\\RightBar\\ChatBar\\Messages\\MessageLeft\\index.tsx":"49","D:\\web\\NIX\\FINAL-PROJECT-FRONT\\src\\components\\HomePage\\RightBar\\ChatBar\\Messages\\MessagesRight\\index.tsx":"50","D:\\web\\NIX\\FINAL-PROJECT-FRONT\\src\\components\\HomePage\\RightBar\\ChatBar\\SendMessage\\index.tsx":"51","D:\\web\\NIX\\FINAL-PROJECT-FRONT\\src\\components\\HomePage\\RightBar\\ChatBar\\fakeChat.tsx":"52","D:\\web\\NIX\\FINAL-PROJECT-FRONT\\src\\components\\HomePage\\RightBar\\ChatBar\\FilesMenu\\index.tsx":"53"},{"size":597,"mtime":1644827235611,"results":"54","hashOfConfig":"55"},{"size":466,"mtime":1643966451100,"results":"56","hashOfConfig":"55"},{"size":1112,"mtime":1644486276929,"results":"57","hashOfConfig":"55"},{"size":2257,"mtime":1644440694944,"results":"58","hashOfConfig":"55"},{"size":254,"mtime":1645095895000,"results":"59","hashOfConfig":"55"},{"size":2365,"mtime":1644486221507,"results":"60","hashOfConfig":"55"},{"size":897,"mtime":1644438398066,"results":"61","hashOfConfig":"55"},{"size":2343,"mtime":1645018349324,"results":"62","hashOfConfig":"55"},{"size":15435,"mtime":1643905724114,"results":"63","hashOfConfig":"55"},{"size":2360,"mtime":1644438469005,"results":"64","hashOfConfig":"55"},{"size":1890,"mtime":1644839395447,"results":"65","hashOfConfig":"55"},{"size":3904,"mtime":1644235188871,"results":"66","hashOfConfig":"55"},{"size":1880,"mtime":1644235197856,"results":"67","hashOfConfig":"55"},{"size":607,"mtime":1644227472772,"results":"68","hashOfConfig":"55"},{"size":2938,"mtime":1644938650350,"results":"69","hashOfConfig":"55"},{"size":579,"mtime":1645095633468,"results":"70","hashOfConfig":"55"},{"size":178,"mtime":1643966770113,"results":"71","hashOfConfig":"55"},{"size":134,"mtime":1643967373421,"results":"72","hashOfConfig":"55"},{"size":515,"mtime":1645098568890,"results":"73","hashOfConfig":"55"},{"size":3559,"mtime":1645100306564,"results":"74","hashOfConfig":"55"},{"size":12497,"mtime":1644830279250,"results":"75","hashOfConfig":"55"},{"size":1084,"mtime":1645170282062,"results":"76","hashOfConfig":"55"},{"size":2819,"mtime":1644938387490,"results":"77","hashOfConfig":"55"},{"size":2717,"mtime":1645101412677,"results":"78","hashOfConfig":"55"},{"size":515,"mtime":1644938562750,"results":"79","hashOfConfig":"55"},{"size":1995,"mtime":1644500037477,"results":"80","hashOfConfig":"55"},{"size":12391,"mtime":1645011257772,"results":"81","hashOfConfig":"55"},{"size":1303,"mtime":1644835563264,"results":"82","hashOfConfig":"55"},{"size":462,"mtime":1644998179275,"results":"83","hashOfConfig":"55"},{"size":2145,"mtime":1644997269984,"results":"84","hashOfConfig":"55"},{"size":4546,"mtime":1644998272836,"results":"85","hashOfConfig":"55"},{"size":3732,"mtime":1645028153310,"results":"86","hashOfConfig":"55"},{"size":1595,"mtime":1645097975753,"results":"87","hashOfConfig":"55"},{"size":742,"mtime":1645097801362,"results":"88","hashOfConfig":"55"},{"size":832,"mtime":1645098103959,"results":"89","hashOfConfig":"55"},{"size":444,"mtime":1645097753780,"results":"90","hashOfConfig":"55"},{"size":712,"mtime":1645098284417,"results":"91","hashOfConfig":"55"},{"size":2805,"mtime":1645098402133,"results":"92","hashOfConfig":"55"},{"size":12293,"mtime":1644864955486,"results":"93","hashOfConfig":"55"},{"size":803,"mtime":1645028274434,"results":"94","hashOfConfig":"55"},{"size":2853,"mtime":1645101264597,"results":"95","hashOfConfig":"55"},{"size":1127,"mtime":1645098504891,"results":"96","hashOfConfig":"55"},{"size":734,"mtime":1645098419152,"results":"97","hashOfConfig":"55"},{"size":2562,"mtime":1645183460386,"results":"98","hashOfConfig":"55"},{"size":331,"mtime":1645097408269,"results":"99","hashOfConfig":"55"},{"size":494,"mtime":1644938642999,"results":"100","hashOfConfig":"55"},{"size":245,"mtime":1645097348528,"results":"101","hashOfConfig":"55"},{"size":140,"mtime":1645095791295,"results":"102","hashOfConfig":"55"},{"size":2839,"mtime":1645183157903,"results":"103","hashOfConfig":"55"},{"size":2869,"mtime":1645183486850,"results":"104","hashOfConfig":"55"},{"size":7345,"mtime":1645186640955,"results":"105","hashOfConfig":"55"},{"size":9912,"mtime":1645183822304,"results":"106","hashOfConfig":"55"},{"size":1435,"mtime":1645180637800,"results":"107","hashOfConfig":"55"},{"filePath":"108","messages":"109","errorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0,"usedDeprecatedRules":"110"},"1qtp245",{"filePath":"111","messages":"112","errorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0,"usedDeprecatedRules":"113"},{"filePath":"114","messages":"115","errorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0,"usedDeprecatedRules":"116"},{"filePath":"117","messages":"118","errorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0,"usedDeprecatedRules":"119"},{"filePath":"120","messages":"121","errorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0,"usedDeprecatedRules":"122"},{"filePath":"123","messages":"124","errorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0,"usedDeprecatedRules":"125"},{"filePath":"126","messages":"127","errorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0,"usedDeprecatedRules":"110"},{"filePath":"128","messages":"129","errorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0,"usedDeprecatedRules":"122"},{"filePath":"130","messages":"131","errorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"132","messages":"133","errorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"134","messages":"135","errorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0,"usedDeprecatedRules":"122"},{"filePath":"136","messages":"137","errorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0,"usedDeprecatedRules":"138"},{"filePath":"139","messages":"140","errorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0,"usedDeprecatedRules":"141"},{"filePath":"142","messages":"143","errorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"144","messages":"145","errorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0,"usedDeprecatedRules":"110"},{"filePath":"146","messages":"147","errorCount":0,"warningCount":1,"fixableErrorCount":0,"fixableWarningCount":0,"source":null},{"filePath":"148","messages":"149","errorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0,"usedDeprecatedRules":"110"},{"filePath":"150","messages":"151","errorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0,"usedDeprecatedRules":"110"},{"filePath":"152","messages":"153","errorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"154","messages":"155","errorCount":0,"warningCount":1,"fixableErrorCount":0,"fixableWarningCount":0,"source":"156","usedDeprecatedRules":"122"},{"filePath":"157","messages":"158","errorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0,"usedDeprecatedRules":"159"},{"filePath":"160","messages":"161","errorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0,"usedDeprecatedRules":"113"},{"filePath":"162","messages":"163","errorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0,"usedDeprecatedRules":"164"},{"filePath":"165","messages":"166","errorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"167","messages":"168","errorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0,"usedDeprecatedRules":"169"},{"filePath":"170","messages":"171","errorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0,"usedDeprecatedRules":"110"},{"filePath":"172","messages":"173","errorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0,"usedDeprecatedRules":"116"},{"filePath":"174","messages":"175","errorCount":0,"warningCount":14,"fixableErrorCount":0,"fixableWarningCount":0,"source":"176","usedDeprecatedRules":"177"},{"filePath":"178","messages":"179","errorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0,"usedDeprecatedRules":"180"},{"filePath":"181","messages":"182","errorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0,"usedDeprecatedRules":"183"},{"filePath":"184","messages":"185","errorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0,"usedDeprecatedRules":"119"},{"filePath":"186","messages":"187","errorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0,"usedDeprecatedRules":"113"},{"filePath":"188","messages":"189","errorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"190","messages":"191","errorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0,"usedDeprecatedRules":"138"},{"filePath":"192","messages":"193","errorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0,"usedDeprecatedRules":"113"},{"filePath":"194","messages":"195","errorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"196","messages":"197","errorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0,"usedDeprecatedRules":"164"},{"filePath":"198","messages":"199","errorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"200","messages":"201","errorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"202","messages":"203","errorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"204","messages":"205","errorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"206","messages":"207","errorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"208","messages":"209","errorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0,"usedDeprecatedRules":"138"},{"filePath":"210","messages":"211","errorCount":0,"warningCount":1,"fixableErrorCount":0,"fixableWarningCount":0,"source":null},{"filePath":"212","messages":"213","errorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0,"usedDeprecatedRules":"138"},{"filePath":"214","messages":"215","errorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"216","messages":"217","errorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0,"usedDeprecatedRules":"113"},{"filePath":"218","messages":"219","errorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"220","messages":"221","errorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"222","messages":"223","errorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"224","messages":"225","errorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"226","messages":"227","errorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"228","messages":"229","errorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},"D:\\web\\NIX\\FINAL-PROJECT-FRONT\\src\\index.tsx",[],["230","231"],"D:\\web\\NIX\\FINAL-PROJECT-FRONT\\src\\redux\\store\\index.ts",[],["232","233"],"D:\\web\\NIX\\FINAL-PROJECT-FRONT\\src\\redux\\authorization\\reducer\\index.ts",[],["234","235"],"D:\\web\\NIX\\FINAL-PROJECT-FRONT\\src\\api-data\\index.ts",[],["236","237"],"D:\\web\\NIX\\FINAL-PROJECT-FRONT\\src\\redux\\loading\\reducer\\index.ts",[],["238","239"],"D:\\web\\NIX\\FINAL-PROJECT-FRONT\\src\\redux\\authorization\\operations\\index.ts",[],["240","241"],"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\\AuthPage\\SMSCode\\index.tsx",[],"D:\\web\\NIX\\FINAL-PROJECT-FRONT\\src\\components\\AuthPage\\Authorization\\index.tsx",[],["242","243"],"D:\\web\\NIX\\FINAL-PROJECT-FRONT\\src\\components\\AuthPage\\QRCode\\index.tsx",[],["244","245"],"D:\\web\\NIX\\FINAL-PROJECT-FRONT\\src\\redux\\authorization\\selector\\index.ts",[],"D:\\web\\NIX\\FINAL-PROJECT-FRONT\\src\\components\\AuthPage\\Registration\\index.tsx",[],"D:\\web\\NIX\\FINAL-PROJECT-FRONT\\src\\redux\\rootReducer\\index.ts",["246"],"D:\\web\\NIX\\FINAL-PROJECT-FRONT\\src\\redux\\loading\\action\\index.ts",[],"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\\LeftBar\\index.tsx",["247"],"import React, { useState, useRef, useEffect } from 'react';\r\nimport { createPortal } from 'react-dom';\r\n\r\nimport Grid from '@mui/material/Grid'\r\nimport SmallMenuBar from './SmallMenuBar'\r\nimport SearchLists from './SearchBar/SearchLists'\r\nimport SearchBar from './SearchBar'\r\nimport ChatsList from './ChatsList'\r\nimport MenuBar from './MenuBar'\r\nimport ContactsList from './ContactsList'\r\nimport NotDone from '../../reusableComponents/NotDone'\r\n\r\nconst LeftBar = () => {\r\n const [isOpen, setIsOpen] = useState<boolean>(false)\r\n const [isMenu, setIsMenu] = useState<boolean>(false)\r\n const [isMenuSm, setIsMenuSm] = useState<boolean>(false);\r\n const [iMenu, setIMenu] = useState<number | null>(null)\r\n const [value, setValue] = useState<string>('')\r\n const modalRoot = useRef<HTMLDivElement|null>(null);\r\n const handleFocus = (): void => setIsOpen(true)\r\n const handleClick = (): void => {\r\n if (iMenu) setIMenu(null)\r\n if(!isOpen) return setIsMenu(!isMenu)\r\n setIsOpen(false)\r\n }\r\n const handleSearch = (e: React.ChangeEvent<HTMLInputElement>):void => setValue(e.target.value)\r\n const handleEnterOpenMenuSm = (): void => {\r\n if(!isMenuSm) setIsMenuSm(true)\r\n }\r\n const handleLeaveCloseMenuSm = (e: any): void => {\r\n if(isMenuSm&&e.pageX > 480) setIsMenuSm(false)\r\n }\r\n const handleSelectedMenu = (i: number) => {\r\n setIsOpen(true)\r\n setIsMenu(false)\r\n setIsMenuSm(false)\r\n setIMenu(i)\r\n }\r\n \r\n useEffect(() => {\r\n const handleCloseModal = (e:any) => {\r\n if (e.target.id === 'overlay') {\r\n setIsMenu(false)\r\n setIsMenuSm(false)\r\n }\r\n }\r\n if (!modalRoot.current) {\r\n const modal = document.getElementById('modal-root') as HTMLDivElement | null\r\n if (modal) {\r\n modal.addEventListener('click',handleCloseModal)\r\n modalRoot.current = modal\r\n } \r\n }\r\n return () => {\r\n if (modalRoot.current) {\r\n modalRoot.current.removeEventListener('click',handleCloseModal)\r\n modalRoot.current = null \r\n }\r\n }\r\n }, [])\r\n\r\n return (\r\n <Grid item lg={3} onMouseEnter={handleEnterOpenMenuSm} onMouseLeave={handleLeaveCloseMenuSm}>\r\n <SearchBar handleClick={handleClick} handleFocus={handleFocus}\r\n handleSearch={handleSearch} isOpen={isOpen} />\r\n {!iMenu&&isOpen && <SearchLists />}\r\n {!iMenu&&!isOpen &&<ChatsList/>}\r\n {!iMenu && isMenuSm && !isOpen && <SmallMenuBar handleSelectedMenu={handleSelectedMenu}\r\n setIsMenuSm={setIsMenuSm} />}\r\n {isMenu && modalRoot.current &&\r\n createPortal(<MenuBar handleSelectedMenu={handleSelectedMenu} />, modalRoot.current)}\r\n {iMenu === 0 && <NotDone name='Saved Messages' />}\r\n {iMenu === 1 && <NotDone name='Archive Chats' />}\r\n {iMenu === 2 && <ContactsList />}\r\n {iMenu === 3 && <NotDone name='Settings' />}\r\n {iMenu === 4 && <NotDone name='Night Mode' />}\r\n {iMenu === 5 && <NotDone name='Animations' />}\r\n {iMenu === 6 && <NotDone name='Telegram Feature' />}\r\n {iMenu === 7 && <NotDone name='Report Bag' />}\r\n {iMenu === 8 && <NotDone name='Switch to K Version' />}\r\n {iMenu === 9 && <NotDone name='Switch to Old Version' />}\r\n {iMenu === 10 && <NotDone name='Telegram WebZ 1.33.4' />}\r\n {iMenu === 11 && <NotDone name='New Channel' />}\r\n {iMenu === 12 && <NotDone name='New Group' />}\r\n {iMenu === 13 && <ContactsList />}\r\n {iMenu === 14 && <NotDone name='Add new contact' />}\r\n </Grid>\r\n )\r\n}\r\n\r\nexport default LeftBar","D:\\web\\NIX\\FINAL-PROJECT-FRONT\\src\\components\\HomePage\\LeftBar\\SearchBar\\ChatListRecent\\user.tsx",[],["248","249"],"D:\\web\\NIX\\FINAL-PROJECT-FRONT\\src\\components\\HomePage\\RightBar\\index.tsx",[],"D:\\web\\NIX\\FINAL-PROJECT-FRONT\\src\\components\\HomePage\\LeftBar\\SearchBar\\index.tsx",[],["250","251"],"D:\\web\\NIX\\FINAL-PROJECT-FRONT\\src\\components\\HomePage\\LeftBar\\ContactsList\\index.tsx",[],"D:\\web\\NIX\\FINAL-PROJECT-FRONT\\src\\components\\reusableComponents\\Loader\\Loader.jsx",[],["252","253"],"D:\\web\\NIX\\FINAL-PROJECT-FRONT\\src\\components\\reusableComponents\\DropZone\\UploadAvatar\\index.tsx",[],"D:\\web\\NIX\\FINAL-PROJECT-FRONT\\src\\components\\HomePage\\LeftBar\\ContactsList\\contacts.tsx",[],"D:\\web\\NIX\\FINAL-PROJECT-FRONT\\src\\components\\reusableComponents\\Modal\\index.tsx",["254","255","256","257","258","259","260","261","262","263","264","265","266","267"],"import Divider from '@mui/material/Divider';\r\nimport Paper from '@mui/material/Paper';\r\nimport MenuList from '@mui/material/MenuList';\r\nimport MenuItem from '@mui/material/MenuItem';\r\nimport ListItemText from '@mui/material/ListItemText';\r\nimport ListItemIcon from '@mui/material/ListItemIcon';\r\nimport BookmarkBorderIcon from '@mui/icons-material/BookmarkBorder';\r\nimport ArchiveIcon from '@mui/icons-material/Archive';\r\nimport PermContactCalendarIcon from '@mui/icons-material/PermContactCalendar';\r\nimport SettingsIcon from '@mui/icons-material/Settings';\r\nimport Brightness3Icon from '@mui/icons-material/Brightness3';\r\nimport AnimationIcon from '@mui/icons-material/Animation';\r\nimport HelpOutlineIcon from '@mui/icons-material/HelpOutline';\r\nimport BugReportIcon from '@mui/icons-material/BugReport';\r\nimport { makeStyles } from '@material-ui/core'\r\nimport React from 'react';\r\n\r\nconst useStyles = makeStyles({\r\n overlay: {\r\n position: 'fixed',\r\n top: 0,\r\n left: 0,\r\n width: '100vw',\r\n height: '100vh',\r\n zIndex:100\r\n }\r\n})\r\n\r\nconst Modal = ({children}:{children:React.ReactNode}) => {\r\n const classes = useStyles()\r\n return (\r\n <div className={classes.overlay} id='overlay'>\r\n {children} \r\n </div>\r\n );\r\n}\r\n\r\nexport default Modal",["268","269"],"D:\\web\\NIX\\FINAL-PROJECT-FRONT\\src\\components\\reusableComponents\\NotDone\\index.tsx",[],["270","271"],"D:\\web\\NIX\\FINAL-PROJECT-FRONT\\src\\components\\HomePage\\LeftBar\\SearchBar\\SearchLists\\index.tsx",[],["272","273"],"D:\\web\\NIX\\FINAL-PROJECT-FRONT\\src\\components\\HomePage\\LeftBar\\MenuBar\\index.tsx",[],"D:\\web\\NIX\\FINAL-PROJECT-FRONT\\src\\components\\HomePage\\LeftBar\\SmallMenuBar\\index.tsx",[],"D:\\web\\NIX\\FINAL-PROJECT-FRONT\\src\\components\\HomePage\\RightBar\\HeaderBar\\Credentials\\index.tsx",[],"D:\\web\\NIX\\FINAL-PROJECT-FRONT\\src\\components\\HomePage\\RightBar\\HeaderBar\\index.tsx",[],"D:\\web\\NIX\\FINAL-PROJECT-FRONT\\src\\components\\HomePage\\RightBar\\HeaderBar\\Buttons\\index.tsx",[],"D:\\web\\NIX\\FINAL-PROJECT-FRONT\\src\\components\\HomePage\\RightBar\\HeaderBar\\RightLists\\index.tsx",[],"D:\\web\\NIX\\FINAL-PROJECT-FRONT\\src\\components\\HomePage\\RightBar\\HeaderBar\\RightLists\\SearchList\\index.tsx",[],"D:\\web\\NIX\\FINAL-PROJECT-FRONT\\src\\components\\HomePage\\RightBar\\HeaderBar\\RightLists\\SearchList\\Search\\index.tsx",[],"D:\\web\\NIX\\FINAL-PROJECT-FRONT\\src\\components\\HomePage\\RightBar\\HeaderBar\\RightLists\\SearchList\\chats.tsx",[],"D:\\web\\NIX\\FINAL-PROJECT-FRONT\\src\\components\\HomePage\\RightBar\\HeaderBar\\RightLists\\SearchList\\Search\\DataPicker\\index.tsx",[],"D:\\web\\NIX\\FINAL-PROJECT-FRONT\\src\\components\\HomePage\\RightBar\\HeaderBar\\Buttons\\MenuList\\index.tsx",[],"D:\\web\\NIX\\FINAL-PROJECT-FRONT\\src\\components\\HomePage\\RightBar\\HeaderBar\\RightLists\\CredentialsList\\ToolBar\\index.tsx",[],"D:\\web\\NIX\\FINAL-PROJECT-FRONT\\src\\components\\HomePage\\RightBar\\HeaderBar\\RightLists\\CredentialsList\\index.tsx",[],"D:\\web\\NIX\\FINAL-PROJECT-FRONT\\src\\components\\HomePage\\RightBar\\ChatBar\\index.tsx",["274"],"D:\\web\\NIX\\FINAL-PROJECT-FRONT\\src\\redux\\controlApp\\reducer\\index.ts",[],"D:\\web\\NIX\\FINAL-PROJECT-FRONT\\src\\components\\reusableComponents\\Routes\\PrivateRoute\\index.tsx",[],"D:\\web\\NIX\\FINAL-PROJECT-FRONT\\src\\redux\\controlApp\\action\\index.ts",[],"D:\\web\\NIX\\FINAL-PROJECT-FRONT\\src\\redux\\controlApp\\selector\\index.ts",[],"D:\\web\\NIX\\FINAL-PROJECT-FRONT\\src\\components\\HomePage\\RightBar\\ChatBar\\Messages\\MessageLeft\\index.tsx",[],"D:\\web\\NIX\\FINAL-PROJECT-FRONT\\src\\components\\HomePage\\RightBar\\ChatBar\\Messages\\MessagesRight\\index.tsx",[],"D:\\web\\NIX\\FINAL-PROJECT-FRONT\\src\\components\\HomePage\\RightBar\\ChatBar\\SendMessage\\index.tsx",[],"D:\\web\\NIX\\FINAL-PROJECT-FRONT\\src\\components\\HomePage\\RightBar\\ChatBar\\fakeChat.tsx",[],"D:\\web\\NIX\\FINAL-PROJECT-FRONT\\src\\components\\HomePage\\RightBar\\ChatBar\\FilesMenu\\index.tsx",[],{"ruleId":"275","replacedBy":"276"},{"ruleId":"277","replacedBy":"278"},{"ruleId":"275","replacedBy":"279"},{"ruleId":"277","replacedBy":"280"},{"ruleId":"275","replacedBy":"281"},{"ruleId":"277","replacedBy":"282"},{"ruleId":"275","replacedBy":"283"},{"ruleId":"277","replacedBy":"284"},{"ruleId":"275","replacedBy":"285"},{"ruleId":"277","replacedBy":"286"},{"ruleId":"275","replacedBy":"287"},{"ruleId":"277","replacedBy":"288"},{"ruleId":"275","replacedBy":"289"},{"ruleId":"277","replacedBy":"290"},{"ruleId":"275","replacedBy":"291"},{"ruleId":"277","replacedBy":"292"},{"ruleId":"293","severity":1,"message":"294","line":4,"column":8,"nodeType":"295","messageId":"296","endLine":4,"endColumn":21},{"ruleId":"293","severity":1,"message":"297","line":18,"column":10,"nodeType":"295","messageId":"296","endLine":18,"endColumn":15},{"ruleId":"275","replacedBy":"298"},{"ruleId":"277","replacedBy":"299"},{"ruleId":"275","replacedBy":"300"},{"ruleId":"277","replacedBy":"301"},{"ruleId":"275","replacedBy":"302"},{"ruleId":"277","replacedBy":"303"},{"ruleId":"293","severity":1,"message":"304","line":1,"column":8,"nodeType":"295","messageId":"296","endLine":1,"endColumn":15},{"ruleId":"293","severity":1,"message":"305","line":2,"column":8,"nodeType":"295","messageId":"296","endLine":2,"endColumn":13},{"ruleId":"293","severity":1,"message":"306","line":3,"column":8,"nodeType":"295","messageId":"296","endLine":3,"endColumn":16},{"ruleId":"293","severity":1,"message":"307","line":4,"column":8,"nodeType":"295","messageId":"296","endLine":4,"endColumn":16},{"ruleId":"293","severity":1,"message":"308","line":5,"column":8,"nodeType":"295","messageId":"296","endLine":5,"endColumn":20},{"ruleId":"293","severity":1,"message":"309","line":6,"column":8,"nodeType":"295","messageId":"296","endLine":6,"endColumn":20},{"ruleId":"293","severity":1,"message":"310","line":7,"column":8,"nodeType":"295","messageId":"296","endLine":7,"endColumn":26},{"ruleId":"293","severity":1,"message":"311","line":8,"column":8,"nodeType":"295","messageId":"296","endLine":8,"endColumn":19},{"ruleId":"293","severity":1,"message":"312","line":9,"column":8,"nodeType":"295","messageId":"296","endLine":9,"endColumn":31},{"ruleId":"293","severity":1,"message":"313","line":10,"column":8,"nodeType":"295","messageId":"296","endLine":10,"endColumn":20},{"ruleId":"293","severity":1,"message":"314","line":11,"column":8,"nodeType":"295","messageId":"296","endLine":11,"endColumn":23},{"ruleId":"293","severity":1,"message":"315","line":12,"column":8,"nodeType":"295","messageId":"296","endLine":12,"endColumn":21},{"ruleId":"293","severity":1,"message":"316","line":13,"column":8,"nodeType":"295","messageId":"296","endLine":13,"endColumn":23},{"ruleId":"293","severity":1,"message":"317","line":14,"column":8,"nodeType":"295","messageId":"296","endLine":14,"endColumn":21},{"ruleId":"275","replacedBy":"318"},{"ruleId":"277","replacedBy":"319"},{"ruleId":"275","replacedBy":"320"},{"ruleId":"277","replacedBy":"321"},{"ruleId":"275","replacedBy":"322"},{"ruleId":"277","replacedBy":"323"},{"ruleId":"324","severity":1,"message":"325","line":51,"column":33,"nodeType":"295","endLine":51,"endColumn":44},"no-native-reassign",["326"],"no-negated-in-lhs",["327"],["326"],["327"],["326"],["327"],["326"],["327"],["326"],["327"],["326"],["327"],["326"],["327"],["326"],["327"],"@typescript-eslint/no-unused-vars","'reducerIsOpen' is defined but never used.","Identifier","unusedVar","'value' is assigned a value but never used.",["326"],["327"],["326"],["327"],["326"],["327"],"'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.",["326"],["327"],["326"],["327"],["326"],["327"],"react-hooks/exhaustive-deps","React Hook useCallback received a function whose dependencies are unknown. Pass an inline function instead.","no-global-assign","no-unsafe-negation"]