.eslintcache 29 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"},{"size":597,"mtime":1644827235611,"results":"53","hashOfConfig":"54"},{"size":466,"mtime":1643966451100,"results":"55","hashOfConfig":"54"},{"size":1112,"mtime":1644486276929,"results":"56","hashOfConfig":"54"},{"size":2257,"mtime":1644440694944,"results":"57","hashOfConfig":"54"},{"size":254,"mtime":1645095895000,"results":"58","hashOfConfig":"54"},{"size":2365,"mtime":1644486221507,"results":"59","hashOfConfig":"54"},{"size":897,"mtime":1644438398066,"results":"60","hashOfConfig":"54"},{"size":2343,"mtime":1645018349324,"results":"61","hashOfConfig":"54"},{"size":15435,"mtime":1643905724114,"results":"62","hashOfConfig":"54"},{"size":2360,"mtime":1644438469005,"results":"63","hashOfConfig":"54"},{"size":1890,"mtime":1644839395447,"results":"64","hashOfConfig":"54"},{"size":3904,"mtime":1644235188871,"results":"65","hashOfConfig":"54"},{"size":1880,"mtime":1644235197856,"results":"66","hashOfConfig":"54"},{"size":607,"mtime":1644227472772,"results":"67","hashOfConfig":"54"},{"size":2938,"mtime":1644938650350,"results":"68","hashOfConfig":"54"},{"size":579,"mtime":1645095633468,"results":"69","hashOfConfig":"54"},{"size":178,"mtime":1643966770113,"results":"70","hashOfConfig":"54"},{"size":134,"mtime":1643967373421,"results":"71","hashOfConfig":"54"},{"size":515,"mtime":1645098568890,"results":"72","hashOfConfig":"54"},{"size":3559,"mtime":1645100306564,"results":"73","hashOfConfig":"54"},{"size":12497,"mtime":1644830279250,"results":"74","hashOfConfig":"54"},{"size":1098,"mtime":1645125798726,"results":"75","hashOfConfig":"54"},{"size":2819,"mtime":1644938387490,"results":"76","hashOfConfig":"54"},{"size":2717,"mtime":1645101412677,"results":"77","hashOfConfig":"54"},{"size":515,"mtime":1644938562750,"results":"78","hashOfConfig":"54"},{"size":1995,"mtime":1644500037477,"results":"79","hashOfConfig":"54"},{"size":12391,"mtime":1645011257772,"results":"80","hashOfConfig":"54"},{"size":1303,"mtime":1644835563264,"results":"81","hashOfConfig":"54"},{"size":462,"mtime":1644998179275,"results":"82","hashOfConfig":"54"},{"size":2145,"mtime":1644997269984,"results":"83","hashOfConfig":"54"},{"size":4546,"mtime":1644998272836,"results":"84","hashOfConfig":"54"},{"size":3732,"mtime":1645028153310,"results":"85","hashOfConfig":"54"},{"size":1595,"mtime":1645097975753,"results":"86","hashOfConfig":"54"},{"size":742,"mtime":1645097801362,"results":"87","hashOfConfig":"54"},{"size":832,"mtime":1645098103959,"results":"88","hashOfConfig":"54"},{"size":444,"mtime":1645097753780,"results":"89","hashOfConfig":"54"},{"size":712,"mtime":1645098284417,"results":"90","hashOfConfig":"54"},{"size":2805,"mtime":1645098402133,"results":"91","hashOfConfig":"54"},{"size":12293,"mtime":1644864955486,"results":"92","hashOfConfig":"54"},{"size":803,"mtime":1645028274434,"results":"93","hashOfConfig":"54"},{"size":2853,"mtime":1645101264597,"results":"94","hashOfConfig":"54"},{"size":1127,"mtime":1645098504891,"results":"95","hashOfConfig":"54"},{"size":734,"mtime":1645098419152,"results":"96","hashOfConfig":"54"},{"size":2531,"mtime":1645131856102,"results":"97","hashOfConfig":"54"},{"size":331,"mtime":1645097408269,"results":"98","hashOfConfig":"54"},{"size":494,"mtime":1644938642999,"results":"99","hashOfConfig":"54"},{"size":245,"mtime":1645097348528,"results":"100","hashOfConfig":"54"},{"size":140,"mtime":1645095791295,"results":"101","hashOfConfig":"54"},{"size":2797,"mtime":1645125767181,"results":"102","hashOfConfig":"54"},{"size":2829,"mtime":1645125776005,"results":"103","hashOfConfig":"54"},{"size":4580,"mtime":1645133476641,"results":"104","hashOfConfig":"54"},{"size":12616,"mtime":1645126692945,"results":"105","hashOfConfig":"54"},{"filePath":"106","messages":"107","errorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0,"usedDeprecatedRules":"108"},"1qtp245",{"filePath":"109","messages":"110","errorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"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":"108"},{"filePath":"125","messages":"126","errorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0,"usedDeprecatedRules":"113"},{"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,"usedDeprecatedRules":"133"},{"filePath":"134","messages":"135","errorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0,"usedDeprecatedRules":"119"},{"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},{"filePath":"141","messages":"142","errorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0,"usedDeprecatedRules":"108"},{"filePath":"143","messages":"144","errorCount":0,"warningCount":1,"fixableErrorCount":0,"fixableWarningCount":0,"source":null},{"filePath":"145","messages":"146","errorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0,"usedDeprecatedRules":"108"},{"filePath":"147","messages":"148","errorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0,"usedDeprecatedRules":"108"},{"filePath":"149","messages":"150","errorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"151","messages":"152","errorCount":0,"warningCount":1,"fixableErrorCount":0,"fixableWarningCount":0,"source":"153","usedDeprecatedRules":"113"},{"filePath":"154","messages":"155","errorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0,"usedDeprecatedRules":"133"},{"filePath":"156","messages":"157","errorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"158","messages":"159","errorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0,"usedDeprecatedRules":"113"},{"filePath":"160","messages":"161","errorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"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,"usedDeprecatedRules":"108"},{"filePath":"167","messages":"168","errorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0,"usedDeprecatedRules":"113"},{"filePath":"169","messages":"170","errorCount":0,"warningCount":14,"fixableErrorCount":0,"fixableWarningCount":0,"source":"171","usedDeprecatedRules":"172"},{"filePath":"173","messages":"174","errorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0,"usedDeprecatedRules":"175"},{"filePath":"176","messages":"177","errorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0,"usedDeprecatedRules":"178"},{"filePath":"179","messages":"180","errorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0,"usedDeprecatedRules":"116"},{"filePath":"181","messages":"182","errorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"183","messages":"184","errorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"185","messages":"186","errorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0,"usedDeprecatedRules":"119"},{"filePath":"187","messages":"188","errorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"189","messages":"190","errorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"191","messages":"192","errorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"193","messages":"194","errorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"195","messages":"196","errorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"197","messages":"198","errorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"199","messages":"200","errorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"201","messages":"202","errorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"203","messages":"204","errorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0,"usedDeprecatedRules":"119"},{"filePath":"205","messages":"206","errorCount":0,"warningCount":1,"fixableErrorCount":0,"fixableWarningCount":0,"source":null},{"filePath":"207","messages":"208","errorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0,"usedDeprecatedRules":"119"},{"filePath":"209","messages":"210","errorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"211","messages":"212","errorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"213","messages":"214","errorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"215","messages":"216","errorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"217","messages":"218","errorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"219","messages":"220","errorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"221","messages":"222","errorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},"D:\\web\\NIX\\FINAL-PROJECT-FRONT\\src\\index.tsx",[],["223","224"],"D:\\web\\NIX\\FINAL-PROJECT-FRONT\\src\\redux\\store\\index.ts",[],"D:\\web\\NIX\\FINAL-PROJECT-FRONT\\src\\redux\\authorization\\reducer\\index.ts",[],["225","226"],"D:\\web\\NIX\\FINAL-PROJECT-FRONT\\src\\api-data\\index.ts",[],["227","228"],"D:\\web\\NIX\\FINAL-PROJECT-FRONT\\src\\redux\\loading\\reducer\\index.ts",[],["229","230"],"D:\\web\\NIX\\FINAL-PROJECT-FRONT\\src\\redux\\authorization\\operations\\index.ts",[],["231","232"],"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",[],["233","234"],"D:\\web\\NIX\\FINAL-PROJECT-FRONT\\src\\components\\AuthPage\\Authorization\\index.tsx",[],"D:\\web\\NIX\\FINAL-PROJECT-FRONT\\src\\components\\AuthPage\\QRCode\\index.tsx",[],["235","236"],"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",["237"],"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",["238"],"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",[],"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",[],"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",[],["239","240"],"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",["241","242","243","244","245","246","247","248","249","250","251","252","253","254"],"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",["255","256"],"D:\\web\\NIX\\FINAL-PROJECT-FRONT\\src\\components\\reusableComponents\\NotDone\\index.tsx",[],["257","258"],"D:\\web\\NIX\\FINAL-PROJECT-FRONT\\src\\components\\HomePage\\LeftBar\\SearchBar\\SearchLists\\index.tsx",[],["259","260"],"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",["261"],"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",[],{"ruleId":"262","replacedBy":"263"},{"ruleId":"264","replacedBy":"265"},{"ruleId":"262","replacedBy":"266"},{"ruleId":"264","replacedBy":"267"},{"ruleId":"262","replacedBy":"268"},{"ruleId":"264","replacedBy":"269"},{"ruleId":"262","replacedBy":"270"},{"ruleId":"264","replacedBy":"271"},{"ruleId":"262","replacedBy":"272"},{"ruleId":"264","replacedBy":"273"},{"ruleId":"262","replacedBy":"274"},{"ruleId":"264","replacedBy":"275"},{"ruleId":"262","replacedBy":"276"},{"ruleId":"264","replacedBy":"277"},{"ruleId":"278","severity":1,"message":"279","line":4,"column":8,"nodeType":"280","messageId":"281","endLine":4,"endColumn":21},{"ruleId":"278","severity":1,"message":"282","line":18,"column":10,"nodeType":"280","messageId":"281","endLine":18,"endColumn":15},{"ruleId":"262","replacedBy":"283"},{"ruleId":"264","replacedBy":"284"},{"ruleId":"278","severity":1,"message":"285","line":1,"column":8,"nodeType":"280","messageId":"281","endLine":1,"endColumn":15},{"ruleId":"278","severity":1,"message":"286","line":2,"column":8,"nodeType":"280","messageId":"281","endLine":2,"endColumn":13},{"ruleId":"278","severity":1,"message":"287","line":3,"column":8,"nodeType":"280","messageId":"281","endLine":3,"endColumn":16},{"ruleId":"278","severity":1,"message":"288","line":4,"column":8,"nodeType":"280","messageId":"281","endLine":4,"endColumn":16},{"ruleId":"278","severity":1,"message":"289","line":5,"column":8,"nodeType":"280","messageId":"281","endLine":5,"endColumn":20},{"ruleId":"278","severity":1,"message":"290","line":6,"column":8,"nodeType":"280","messageId":"281","endLine":6,"endColumn":20},{"ruleId":"278","severity":1,"message":"291","line":7,"column":8,"nodeType":"280","messageId":"281","endLine":7,"endColumn":26},{"ruleId":"278","severity":1,"message":"292","line":8,"column":8,"nodeType":"280","messageId":"281","endLine":8,"endColumn":19},{"ruleId":"278","severity":1,"message":"293","line":9,"column":8,"nodeType":"280","messageId":"281","endLine":9,"endColumn":31},{"ruleId":"278","severity":1,"message":"294","line":10,"column":8,"nodeType":"280","messageId":"281","endLine":10,"endColumn":20},{"ruleId":"278","severity":1,"message":"295","line":11,"column":8,"nodeType":"280","messageId":"281","endLine":11,"endColumn":23},{"ruleId":"278","severity":1,"message":"296","line":12,"column":8,"nodeType":"280","messageId":"281","endLine":12,"endColumn":21},{"ruleId":"278","severity":1,"message":"297","line":13,"column":8,"nodeType":"280","messageId":"281","endLine":13,"endColumn":23},{"ruleId":"278","severity":1,"message":"298","line":14,"column":8,"nodeType":"280","messageId":"281","endLine":14,"endColumn":21},{"ruleId":"262","replacedBy":"299"},{"ruleId":"264","replacedBy":"300"},{"ruleId":"262","replacedBy":"301"},{"ruleId":"264","replacedBy":"302"},{"ruleId":"262","replacedBy":"303"},{"ruleId":"264","replacedBy":"304"},{"ruleId":"305","severity":1,"message":"306","line":51,"column":33,"nodeType":"280","endLine":51,"endColumn":44},"no-native-reassign",["307"],"no-negated-in-lhs",["308"],["307"],["308"],["307"],["308"],["307"],["308"],["307"],["308"],["307"],["308"],["307"],["308"],"@typescript-eslint/no-unused-vars","'reducerIsOpen' is defined but never used.","Identifier","unusedVar","'value' is assigned a value but never used.",["307"],["308"],"'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.",["307"],["308"],["307"],["308"],["307"],["308"],"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"]