.eslintcache 57 KB

1
  1. [{"D:\\web\\NIX\\FINAL-PROJECT-FRONT\\src\\redux\\chats\\selector\\index.ts":"1","D:\\web\\NIX\\FINAL-PROJECT-FRONT\\src\\components\\HomePage\\LeftBar\\ChatsList\\index.tsx":"2","D:\\web\\NIX\\FINAL-PROJECT-FRONT\\src\\components\\HomePage\\LeftBar\\ContactsList\\index.tsx":"3","D:\\web\\NIX\\FINAL-PROJECT-FRONT\\src\\redux\\chats\\operations\\index.ts":"4","D:\\web\\NIX\\FINAL-PROJECT-FRONT\\src\\components\\HomePage\\RightBar\\index.tsx":"5","D:\\web\\NIX\\FINAL-PROJECT-FRONT\\src\\redux\\chats\\action\\index.ts":"6","D:\\web\\NIX\\FINAL-PROJECT-FRONT\\src\\redux\\chats\\reducer\\index.ts":"7","D:\\web\\NIX\\FINAL-PROJECT-FRONT\\src\\components\\HomePage\\RightBar\\HeaderBar\\Credentials\\index.tsx":"8","D:\\web\\NIX\\FINAL-PROJECT-FRONT\\src\\App.tsx":"9","D:\\web\\NIX\\FINAL-PROJECT-FRONT\\src\\redux\\contacts\\reducer\\index.ts":"10","D:\\web\\NIX\\FINAL-PROJECT-FRONT\\src\\redux\\contacts\\action\\index.ts":"11","D:\\web\\NIX\\FINAL-PROJECT-FRONT\\src\\components\\HomePage\\LeftBar\\SearchBar\\index.tsx":"12","D:\\web\\NIX\\FINAL-PROJECT-FRONT\\src\\components\\HomePage\\RightBar\\HeaderBar\\Buttons\\index.tsx":"13","D:\\web\\NIX\\FINAL-PROJECT-FRONT\\src\\components\\reusableComponents\\StaticDatePicker\\index.tsx":"14","D:\\web\\NIX\\FINAL-PROJECT-FRONT\\src\\components\\HomePage\\RightBar\\ChatBar\\index.tsx":"15","D:\\web\\NIX\\FINAL-PROJECT-FRONT\\src\\redux\\loading\\reducer\\index.ts":"16","D:\\web\\NIX\\FINAL-PROJECT-FRONT\\src\\components\\HomePage\\RightBar\\ChatBar\\SendMessage\\index.tsx":"17","D:\\web\\NIX\\FINAL-PROJECT-FRONT\\src\\components\\reusableComponents\\Modal\\index.tsx":"18","D:\\web\\NIX\\FINAL-PROJECT-FRONT\\src\\api-data\\index.ts":"19","D:\\web\\NIX\\FINAL-PROJECT-FRONT\\src\\redux\\messages\\action\\index.ts":"20","D:\\web\\NIX\\FINAL-PROJECT-FRONT\\src\\redux\\messages\\operations\\index.ts":"21","D:\\web\\NIX\\FINAL-PROJECT-FRONT\\src\\components\\reusableComponents\\Loader\\Loader.jsx":"22","D:\\web\\NIX\\FINAL-PROJECT-FRONT\\src\\redux\\authorization\\selector\\index.ts":"23","D:\\web\\NIX\\FINAL-PROJECT-FRONT\\src\\redux\\messages\\reducer\\index.ts":"24","D:\\web\\NIX\\FINAL-PROJECT-FRONT\\src\\redux\\messages\\selector\\index.ts":"25","D:\\web\\NIX\\FINAL-PROJECT-FRONT\\src\\index.tsx":"26","D:\\web\\NIX\\FINAL-PROJECT-FRONT\\src\\components\\AuthPage\\SMSCode\\index.tsx":"27","D:\\web\\NIX\\FINAL-PROJECT-FRONT\\src\\components\\HomePage\\LeftBar\\AddContact\\index.tsx":"28","D:\\web\\NIX\\FINAL-PROJECT-FRONT\\src\\redux\\chat\\action\\index.ts":"29","D:\\web\\NIX\\FINAL-PROJECT-FRONT\\src\\redux\\chat\\operations\\index.ts":"30","D:\\web\\NIX\\FINAL-PROJECT-FRONT\\src\\redux\\chat\\selector\\index.ts":"31","D:\\web\\NIX\\FINAL-PROJECT-FRONT\\src\\redux\\loading\\selector\\index.ts":"32","D:\\web\\NIX\\FINAL-PROJECT-FRONT\\src\\components\\AuthPage\\index.tsx":"33","D:\\web\\NIX\\FINAL-PROJECT-FRONT\\src\\components\\AuthPage\\Authorization\\index.tsx":"34","D:\\web\\NIX\\FINAL-PROJECT-FRONT\\src\\redux\\chat\\reducer\\index.ts":"35","D:\\web\\NIX\\FINAL-PROJECT-FRONT\\src\\components\\HomePage\\LeftBar\\MenuBar\\index.tsx":"36","D:\\web\\NIX\\FINAL-PROJECT-FRONT\\src\\components\\HomePage\\RightBar\\HeaderBar\\Buttons\\MenuList\\index.tsx":"37","D:\\web\\NIX\\FINAL-PROJECT-FRONT\\src\\redux\\authorization\\reducer\\index.ts":"38","D:\\web\\NIX\\FINAL-PROJECT-FRONT\\src\\redux\\authorization\\operations\\index.ts":"39","D:\\web\\NIX\\FINAL-PROJECT-FRONT\\src\\helpers\\index.ts":"40","D:\\web\\NIX\\FINAL-PROJECT-FRONT\\src\\components\\HomePage\\RightBar\\HeaderBar\\RightLists\\index.tsx":"41","D:\\web\\NIX\\FINAL-PROJECT-FRONT\\src\\redux\\control\\reducer\\index.ts":"42","D:\\web\\NIX\\FINAL-PROJECT-FRONT\\src\\redux\\control\\action\\index.ts":"43","D:\\web\\NIX\\FINAL-PROJECT-FRONT\\src\\components\\reusableComponents\\AlertInfo\\index.tsx":"44","D:\\web\\NIX\\FINAL-PROJECT-FRONT\\src\\redux\\rootReducer\\index.ts":"45","D:\\web\\NIX\\FINAL-PROJECT-FRONT\\src\\components\\reusableComponents\\Routes\\PublicRoute\\index.tsx":"46","D:\\web\\NIX\\FINAL-PROJECT-FRONT\\src\\components\\HomePage\\RightBar\\ChatBar\\FilesMenu\\index.tsx":"47","D:\\web\\NIX\\FINAL-PROJECT-FRONT\\src\\components\\HomePage\\LeftBar\\index.tsx":"48","D:\\web\\NIX\\FINAL-PROJECT-FRONT\\src\\components\\HomePage\\LeftBar\\SearchLists\\ChatListRecent\\user.tsx":"49","D:\\web\\NIX\\FINAL-PROJECT-FRONT\\src\\components\\HomePage\\LeftBar\\SearchLists\\index.tsx":"50","D:\\web\\NIX\\FINAL-PROJECT-FRONT\\src\\components\\AuthPage\\Registration\\index.tsx":"51","D:\\web\\NIX\\FINAL-PROJECT-FRONT\\src\\components\\HomePage\\RightBar\\HeaderBar\\index.tsx":"52","D:\\web\\NIX\\FINAL-PROJECT-FRONT\\src\\components\\reusableComponents\\NotDone\\index.tsx":"53","D:\\web\\NIX\\FINAL-PROJECT-FRONT\\src\\components\\reusableComponents\\NotDoneList\\arr.tsx":"54","D:\\web\\NIX\\FINAL-PROJECT-FRONT\\src\\components\\reusableComponents\\NotDoneList\\index.tsx":"55","D:\\web\\NIX\\FINAL-PROJECT-FRONT\\src\\redux\\authorization\\action\\index.ts":"56","D:\\web\\NIX\\FINAL-PROJECT-FRONT\\src\\components\\HomePage\\RightBar\\HeaderBar\\RightLists\\SearchList\\index.tsx":"57","D:\\web\\NIX\\FINAL-PROJECT-FRONT\\src\\components\\HomePage\\RightBar\\HeaderBar\\RightLists\\SearchList\\Search\\index.tsx":"58","D:\\web\\NIX\\FINAL-PROJECT-FRONT\\src\\helpers\\countries.tsx":"59","D:\\web\\NIX\\FINAL-PROJECT-FRONT\\src\\components\\HomePage\\RightBar\\HeaderBar\\RightLists\\CredentialsList\\ProfileMenu\\index.tsx":"60","D:\\web\\NIX\\FINAL-PROJECT-FRONT\\src\\redux\\loading\\action\\index.ts":"61","D:\\web\\NIX\\FINAL-PROJECT-FRONT\\src\\components\\HomePage\\LeftBar\\SmallMenuBar\\index.tsx":"62","D:\\web\\NIX\\FINAL-PROJECT-FRONT\\src\\components\\HomePage\\RightBar\\HeaderBar\\RightLists\\CredentialsList\\ProfilePicture\\index.tsx":"63","D:\\web\\NIX\\FINAL-PROJECT-FRONT\\src\\components\\HomePage\\LeftBar\\SearchLists\\ChatListRecent\\index.tsx":"64","D:\\web\\NIX\\FINAL-PROJECT-FRONT\\src\\components\\HomePage\\RightBar\\HeaderBar\\RightLists\\CredentialsList\\ToolBar\\index.tsx":"65","D:\\web\\NIX\\FINAL-PROJECT-FRONT\\src\\components\\reusableComponents\\Routes\\PrivateRoute\\index.tsx":"66","D:\\web\\NIX\\FINAL-PROJECT-FRONT\\src\\components\\HomePage\\index.tsx":"67","D:\\web\\NIX\\FINAL-PROJECT-FRONT\\src\\redux\\control\\selector\\index.ts":"68","D:\\web\\NIX\\FINAL-PROJECT-FRONT\\src\\redux\\contacts\\operations\\index.ts":"69","D:\\web\\NIX\\FINAL-PROJECT-FRONT\\src\\components\\AuthPage\\QRCode\\index.tsx":"70","D:\\web\\NIX\\FINAL-PROJECT-FRONT\\src\\redux\\contacts\\selector\\index.ts":"71","D:\\web\\NIX\\FINAL-PROJECT-FRONT\\src\\components\\reusableComponents\\DropZone\\UploadAvatar\\index.tsx":"72","D:\\web\\NIX\\FINAL-PROJECT-FRONT\\src\\components\\HomePage\\RightBar\\ChatBar\\Messages\\MessageLeftText\\index.tsx":"73","D:\\web\\NIX\\FINAL-PROJECT-FRONT\\src\\components\\HomePage\\RightBar\\ChatBar\\Messages\\MessageLeftImage\\index.tsx":"74","D:\\web\\NIX\\FINAL-PROJECT-FRONT\\src\\components\\reusableComponents\\DropZone\\UploadFile\\index.tsx":"75","D:\\web\\NIX\\FINAL-PROJECT-FRONT\\src\\components\\HomePage\\RightBar\\HeaderBar\\RightLists\\CredentialsList\\ProfileLists\\index.tsx":"76","D:\\web\\NIX\\FINAL-PROJECT-FRONT\\src\\components\\HomePage\\RightBar\\ChatBar\\Messages\\MessageRightImage\\index.tsx":"77","D:\\web\\NIX\\FINAL-PROJECT-FRONT\\src\\components\\HomePage\\RightBar\\ChatBar\\Messages\\MessageRightAudio\\index.tsx":"78","D:\\web\\NIX\\FINAL-PROJECT-FRONT\\src\\components\\HomePage\\RightBar\\ChatBar\\Messages\\MessageLeftAudio\\index.tsx":"79","D:\\web\\NIX\\FINAL-PROJECT-FRONT\\src\\components\\HomePage\\RightBar\\ChatBar\\Players\\AudioPlayer\\index.tsx":"80","D:\\web\\NIX\\FINAL-PROJECT-FRONT\\src\\components\\HomePage\\RightBar\\HeaderBar\\RightLists\\CredentialsList\\index.tsx":"81","D:\\web\\NIX\\FINAL-PROJECT-FRONT\\src\\components\\HomePage\\RightBar\\ChatBar\\Messages\\MessageRightText\\index.tsx":"82"},{"size":604,"mtime":1647763713268,"results":"83","hashOfConfig":"84"},{"size":8990,"mtime":1647767452951,"results":"85","hashOfConfig":"84"},{"size":3418,"mtime":1646999118840,"results":"86","hashOfConfig":"84"},{"size":462,"mtime":1645632928658,"results":"87","hashOfConfig":"84"},{"size":1535,"mtime":1647763302076,"results":"88","hashOfConfig":"84"},{"size":466,"mtime":1645631400287,"results":"89","hashOfConfig":"84"},{"size":627,"mtime":1647261353553,"results":"90","hashOfConfig":"84"},{"size":1708,"mtime":1647257122229,"results":"91","hashOfConfig":"84"},{"size":3019,"mtime":1647767187819,"results":"92","hashOfConfig":"84"},{"size":617,"mtime":1645455098982,"results":"93","hashOfConfig":"84"},{"size":433,"mtime":1645449627972,"results":"94","hashOfConfig":"84"},{"size":2938,"mtime":1646997973826,"results":"95","hashOfConfig":"84"},{"size":829,"mtime":1645633204044,"results":"96","hashOfConfig":"84"},{"size":937,"mtime":1646913811519,"results":"97","hashOfConfig":"84"},{"size":5246,"mtime":1647767339702,"results":"98","hashOfConfig":"84"},{"size":254,"mtime":1645095895000,"results":"99","hashOfConfig":"84"},{"size":9766,"mtime":1647618936883,"results":"100","hashOfConfig":"84"},{"size":495,"mtime":1645205503433,"results":"101","hashOfConfig":"84"},{"size":6326,"mtime":1647765189339,"results":"102","hashOfConfig":"84"},{"size":419,"mtime":1645625100414,"results":"103","hashOfConfig":"84"},{"size":538,"mtime":1647525933908,"results":"104","hashOfConfig":"84"},{"size":706,"mtime":1645453376991,"results":"105","hashOfConfig":"84"},{"size":670,"mtime":1645616676512,"results":"106","hashOfConfig":"84"},{"size":590,"mtime":1647529474014,"results":"107","hashOfConfig":"84"},{"size":359,"mtime":1647641342299,"results":"108","hashOfConfig":"84"},{"size":859,"mtime":1645453560532,"results":"109","hashOfConfig":"84"},{"size":1888,"mtime":1646828344933,"results":"110","hashOfConfig":"84"},{"size":2390,"mtime":1647018549818,"results":"111","hashOfConfig":"84"},{"size":376,"mtime":1647256686702,"results":"112","hashOfConfig":"84"},{"size":625,"mtime":1647349239421,"results":"113","hashOfConfig":"84"},{"size":317,"mtime":1647763264886,"results":"114","hashOfConfig":"84"},{"size":134,"mtime":1643967373421,"results":"115","hashOfConfig":"84"},{"size":2498,"mtime":1647523696616,"results":"116","hashOfConfig":"84"},{"size":3684,"mtime":1647523663735,"results":"117","hashOfConfig":"84"},{"size":853,"mtime":1647430974950,"results":"118","hashOfConfig":"84"},{"size":4955,"mtime":1646996317250,"results":"119","hashOfConfig":"84"},{"size":3202,"mtime":1647256178877,"results":"120","hashOfConfig":"84"},{"size":1214,"mtime":1647418680476,"results":"121","hashOfConfig":"84"},{"size":2028,"mtime":1647520605581,"results":"122","hashOfConfig":"84"},{"size":2397,"mtime":1647430184999,"results":"123","hashOfConfig":"84"},{"size":441,"mtime":1646825281707,"results":"124","hashOfConfig":"84"},{"size":585,"mtime":1647767245237,"results":"125","hashOfConfig":"84"},{"size":357,"mtime":1647767222161,"results":"126","hashOfConfig":"84"},{"size":422,"mtime":1645451030009,"results":"127","hashOfConfig":"84"},{"size":901,"mtime":1645633204044,"results":"128","hashOfConfig":"84"},{"size":571,"mtime":1647419600038,"results":"129","hashOfConfig":"84"},{"size":1971,"mtime":1647595839684,"results":"130","hashOfConfig":"84"},{"size":3675,"mtime":1647765232677,"results":"131","hashOfConfig":"84"},{"size":12497,"mtime":1644830279250,"results":"132","hashOfConfig":"84"},{"size":2170,"mtime":1646916019980,"results":"133","hashOfConfig":"84"},{"size":2919,"mtime":1646828365473,"results":"134","hashOfConfig":"84"},{"size":740,"mtime":1646825728901,"results":"135","hashOfConfig":"84"},{"size":434,"mtime":1646825164889,"results":"136","hashOfConfig":"84"},{"size":12291,"mtime":1646824749224,"results":"137","hashOfConfig":"84"},{"size":549,"mtime":1646825161314,"results":"138","hashOfConfig":"84"},{"size":897,"mtime":1644438398066,"results":"139","hashOfConfig":"84"},{"size":3834,"mtime":1646999074078,"results":"140","hashOfConfig":"84"},{"size":3380,"mtime":1646914423132,"results":"141","hashOfConfig":"84"},{"size":15435,"mtime":1643905724114,"results":"142","hashOfConfig":"84"},{"size":1878,"mtime":1647257900283,"results":"143","hashOfConfig":"84"},{"size":178,"mtime":1643966770113,"results":"144","hashOfConfig":"84"},{"size":3728,"mtime":1645434028998,"results":"145","hashOfConfig":"84"},{"size":1691,"mtime":1646904738650,"results":"146","hashOfConfig":"84"},{"size":1471,"mtime":1646915963618,"results":"147","hashOfConfig":"84"},{"size":1124,"mtime":1645633204044,"results":"148","hashOfConfig":"84"},{"size":494,"mtime":1647419591816,"results":"149","hashOfConfig":"84"},{"size":530,"mtime":1647607788820,"results":"150","hashOfConfig":"84"},{"size":273,"mtime":1647767258784,"results":"151","hashOfConfig":"84"},{"size":652,"mtime":1647349279763,"results":"152","hashOfConfig":"84"},{"size":1880,"mtime":1644235197856,"results":"153","hashOfConfig":"84"},{"size":415,"mtime":1645449956519,"results":"154","hashOfConfig":"84"},{"size":1979,"mtime":1647594445709,"results":"155","hashOfConfig":"84"},{"size":2862,"mtime":1647531304179,"results":"156","hashOfConfig":"84"},{"size":1326,"mtime":1647534014809,"results":"157","hashOfConfig":"84"},{"size":1223,"mtime":1647592772437,"results":"158","hashOfConfig":"84"},{"size":2144,"mtime":1646824892569,"results":"159","hashOfConfig":"84"},{"size":1324,"mtime":1647598102642,"results":"160","hashOfConfig":"84"},{"size":1259,"mtime":1647771215506,"results":"161","hashOfConfig":"84"},{"size":1253,"mtime":1647771202396,"results":"162","hashOfConfig":"84"},{"size":3229,"mtime":1647771151730,"results":"163","hashOfConfig":"84"},{"size":862,"mtime":1646825245983,"results":"164","hashOfConfig":"84"},{"size":2894,"mtime":1647598136728,"results":"165","hashOfConfig":"84"},{"filePath":"166","messages":"167","errorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0,"usedDeprecatedRules":"168"},"1qtp245",{"filePath":"169","messages":"170","errorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"171","messages":"172","errorCount":0,"warningCount":1,"fixableErrorCount":0,"fixableWarningCount":0,"source":"173","usedDeprecatedRules":"174"},{"filePath":"175","messages":"176","errorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0,"usedDeprecatedRules":"177"},{"filePath":"178","messages":"179","errorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"180","messages":"181","errorCount":0,"warningCount":1,"fixableErrorCount":0,"fixableWarningCount":0,"source":"182","usedDeprecatedRules":"183"},{"filePath":"184","messages":"185","errorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0,"usedDeprecatedRules":"186"},{"filePath":"187","messages":"188","errorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0,"usedDeprecatedRules":"189"},{"filePath":"190","messages":"191","errorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"192","messages":"193","errorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0,"usedDeprecatedRules":"194"},{"filePath":"195","messages":"196","errorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0,"usedDeprecatedRules":"189"},{"filePath":"197","messages":"198","errorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0,"usedDeprecatedRules":"199"},{"filePath":"200","messages":"201","errorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0,"usedDeprecatedRules":"202"},{"filePath":"203","messages":"204","errorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"205","messages":"206","errorCount":0,"warningCount":2,"fixableErrorCount":0,"fixableWarningCount":0,"source":"207","usedDeprecatedRules":"183"},{"filePath":"208","messages":"209","errorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0,"usedDeprecatedRules":"210"},{"filePath":"211","messages":"212","errorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0,"usedDeprecatedRules":"183"},{"filePath":"213","messages":"214","errorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0,"usedDeprecatedRules":"215"},{"filePath":"216","messages":"217","errorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0,"usedDeprecatedRules":"183"},{"filePath":"218","messages":"219","errorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0,"usedDeprecatedRules":"220"},{"filePath":"221","messages":"222","errorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0,"usedDeprecatedRules":"223"},{"filePath":"224","messages":"225","errorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"226","messages":"227","errorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0,"usedDeprecatedRules":"215"},{"filePath":"228","messages":"229","errorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0,"usedDeprecatedRules":"210"},{"filePath":"230","messages":"231","errorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0,"usedDeprecatedRules":"232"},{"filePath":"233","messages":"234","errorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0,"usedDeprecatedRules":"235"},{"filePath":"236","messages":"237","errorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0,"usedDeprecatedRules":"232"},{"filePath":"238","messages":"239","errorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0,"usedDeprecatedRules":"240"},{"filePath":"241","messages":"242","errorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0,"usedDeprecatedRules":"243"},{"filePath":"244","messages":"245","errorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0,"usedDeprecatedRules":"246"},{"filePath":"247","messages":"248","errorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"249","messages":"250","errorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0,"usedDeprecatedRules":"251"},{"filePath":"252","messages":"253","errorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0,"usedDeprecatedRules":"254"},{"filePath":"255","messages":"256","errorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0,"usedDeprecatedRules":"240"},{"filePath":"257","messages":"258","errorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0,"usedDeprecatedRules":"186"},{"filePath":"259","messages":"260","errorCount":0,"warningCount":1,"fixableErrorCount":0,"fixableWarningCount":0,"source":"261","usedDeprecatedRules":"186"},{"filePath":"262","messages":"263","errorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0,"usedDeprecatedRules":"168"},{"filePath":"264","messages":"265","errorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0,"usedDeprecatedRules":"232"},{"filePath":"266","messages":"267","errorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"268","messages":"269","errorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"270","messages":"271","errorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0,"usedDeprecatedRules":"220"},{"filePath":"272","messages":"273","errorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"274","messages":"275","errorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"276","messages":"277","errorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0,"usedDeprecatedRules":"278"},{"filePath":"279","messages":"280","errorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0,"usedDeprecatedRules":"281"},{"filePath":"282","messages":"283","errorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0,"usedDeprecatedRules":"235"},{"filePath":"284","messages":"285","errorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0,"usedDeprecatedRules":"286"},{"filePath":"287","messages":"288","errorCount":0,"warningCount":13,"fixableErrorCount":0,"fixableWarningCount":0,"source":null},{"filePath":"289","messages":"290","errorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"291","messages":"292","errorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0,"usedDeprecatedRules":"254"},{"filePath":"293","messages":"294","errorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"295","messages":"296","errorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0,"usedDeprecatedRules":"246"},{"filePath":"297","messages":"298","errorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0,"usedDeprecatedRules":"168"},{"filePath":"299","messages":"300","errorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0,"usedDeprecatedRules":"243"},{"filePath":"301","messages":"302","errorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0,"usedDeprecatedRules":"186"},{"filePath":"303","messages":"304","errorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"305","messages":"306","errorCount":0,"warningCount":2,"fixableErrorCount":0,"fixableWarningCount":0,"source":"307","usedDeprecatedRules":"240"},{"filePath":"308","messages":"309","errorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0,"usedDeprecatedRules":"310"},{"filePath":"311","messages":"312","errorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0,"usedDeprecatedRules":"199"},{"filePath":"313","messages":"314","errorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0,"usedDeprecatedRules":"199"},{"filePath":"315","messages":"316","errorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0,"usedDeprecatedRules":"223"},{"filePath":"317","messages":"318","errorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0,"usedDeprecatedRules":"319"},{"filePath":"320","messages":"321","errorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"322","messages":"323","errorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0,"usedDeprecatedRules":"324"},{"filePath":"325","messages":"326","errorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0,"usedDeprecatedRules":"189"},{"filePath":"327","messages":"328","errorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0,"usedDeprecatedRules":"329"},{"filePath":"330","messages":"331","errorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"332","messages":"333","errorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"334","messages":"335","errorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0,"usedDeprecatedRules":"183"},{"filePath":"336","messages":"337","errorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"338","messages":"339","errorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0,"usedDeprecatedRules":"183"},{"filePath":"340","messages":"341","errorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"342","messages":"343","errorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0,"usedDeprecatedRules":"286"},{"filePath":"344","messages":"345","errorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0,"usedDeprecatedRules":"223"},{"filePath":"346","messages":"347","errorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0,"usedDeprecatedRules":"186"},{"filePath":"348","messages":"349","errorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0,"usedDeprecatedRules":"223"},{"filePath":"350","messages":"351","errorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0,"usedDeprecatedRules":"174"},{"filePath":"352","messages":"353","errorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"354","messages":"355","errorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"356","messages":"357","errorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"358","messages":"359","errorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"360","messages":"361","errorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},"D:\\web\\NIX\\FINAL-PROJECT-FRONT\\src\\redux\\chats\\selector\\index.ts",[],["362","363"],"D:\\web\\NIX\\FINAL-PROJECT-FRONT\\src\\components\\HomePage\\LeftBar\\ChatsList\\index.tsx",[],"D:\\web\\NIX\\FINAL-PROJECT-FRONT\\src\\components\\HomePage\\LeftBar\\ContactsList\\index.tsx",["364"],"import List from '@mui/material/List';\r\nimport ListItemButton from '@mui/material/ListItemButton';\r\nimport Avatar from '@mui/material/Avatar';\r\nimport ListItemText from '@mui/material/ListItemText';\r\nimport ListItemIcon from '@mui/material/ListItemIcon';\r\nimport { makeStyles } from '@material-ui/core'\r\nimport { useState,useEffect } from 'react';\r\nimport shortid from 'shortid';\r\nimport { useSelector,useDispatch } from 'react-redux';\r\n\r\nimport AlertInfo from '../../../reusableComponents/AlertInfo'\r\nimport { getState } from '../../../../redux/contacts/selector'\r\nimport { asyncGetContacts } from '../../../../redux/contacts/operations'\r\nimport { firstLetter, slicedWord, timeStamp } from '../../../../helpers'\r\nimport { asyncStartChatById } from '../../../../redux/chat/operations'\r\n\r\nconst useStyles = makeStyles({\r\n list: {\r\n width: '100%',\r\n maxHeight: '890px',\r\n overflowY: 'scroll',\r\n '&::-webkit-scrollbar': {\r\n width: '0.4em'\r\n },\r\n '&::-webkit-scrollbar-track': {\r\n boxShadow: 'inset 0 0 6px rgba(0,0,0,0.00)',\r\n webkitBoxShadow: 'inset 0 0 6px rgba(0,0,0,0.00)',\r\n backgroundColor: '#eceeec',\r\n },\r\n '&::-webkit-scrollbar-thumb': {\r\n backgroundColor: '#ccc8c8',\r\n },\r\n \"&::-webkit-scrollbar-thumb:focus\": {\r\n backgroundColor: \"#959595\",\r\n },\r\n \"&::-webkit-scrollbar-thumb:active\": {\r\n backgroundColor: \"#959595\",\r\n },\r\n },\r\n listItem_iconAvatar: {\r\n marginRight:10\r\n },\r\n})\r\n\r\ninterface IContactList {\r\n value: string\r\n}\r\nconst ContactsList = ({value} : IContactList) => {\r\n const classes = useStyles()\r\n const dispatch = useDispatch()\r\n const { total, contacts } = useSelector(getState)\r\n const [selectedIndex, setSelectedIndex] = useState<number>(1); \r\n const handleListItemClick = async (i:number, companionId:string) => {\r\n setSelectedIndex(i);\r\n await dispatch(asyncStartChatById(companionId))\r\n }\r\n\r\n useEffect(() => {\r\n dispatch(asyncGetContacts())\r\n }, [dispatch])\r\n\r\n const filteredContacts = () => contacts.filter((el) => {\r\n const credentials = el.name + ' ' + el.lastName\r\n if(credentials.toLowerCase().includes(value.toLowerCase())) return el\r\n })\r\n\r\n const arr = filteredContacts()\r\n \r\n return total !== '0' ? (\r\n <List\r\n className={classes.list} component=\"nav\"\r\n aria-label=\"main mailbox folders\">\r\n {arr.length > 0? arr.map(({name,lastName,avatarUrl,color,createdAt,companionId }, i: number) => \r\n <ListItemButton\r\n key={shortid.generate()}\r\n selected={selectedIndex === i}\r\n onClick={() => handleListItemClick(i,companionId)}\r\n >\r\n <ListItemIcon className={classes.listItem_iconAvatar}>\r\n <Avatar alt={name} src={avatarUrl?`http://localhost:3000/${avatarUrl}`:undefined}\r\n sx={{ background: color, width: 54, height: 54 }}>\r\n {!avatarUrl&&`${firstLetter(name)}${firstLetter(lastName)}`}\r\n </Avatar>\r\n </ListItemIcon> \r\n <ListItemText primary={`${firstLetter(name)}${slicedWord(name, 15, 1)}\r\n ${firstLetter(lastName)}${slicedWord(lastName, 15, 1)}`}\r\n secondary={`Registered since ${timeStamp(createdAt)}`} />\r\n </ListItemButton>) :\r\n <AlertInfo name={`Can not find contact by request : ${value}`} />}\r\n </List>\r\n ):<AlertInfo name='You do not have any contact yet!' />;\r\n}\r\n\r\nexport default ContactsList",["365","366"],"D:\\web\\NIX\\FINAL-PROJECT-FRONT\\src\\redux\\chats\\operations\\index.ts",[],["367","368"],"D:\\web\\NIX\\FINAL-PROJECT-FRONT\\src\\components\\HomePage\\RightBar\\index.tsx",[],"D:\\web\\NIX\\FINAL-PROJECT-FRONT\\src\\redux\\chats\\action\\index.ts",["369"],"import { createAction } from '@reduxjs/toolkit';\r\nimport { IChatsRes } from '../../../typescript/redux/chats/interfaces'\r\nimport { TChat } from '../../../typescript/redux/chats/types'\r\n\r\nconst actionGetChatsSuccess = createAction('getChats/success', (value:IChatsRes) => ({\r\n payload: value,\r\n}));\r\n\r\nconst actionGetChatsReject = createAction('getChats/reject', () => ({\r\n payload: null,\r\n}));\r\n\r\n\r\nexport {\r\n actionGetChatsSuccess,\r\n actionGetChatsReject,\r\n};\r\n",["370","371"],"D:\\web\\NIX\\FINAL-PROJECT-FRONT\\src\\redux\\chats\\reducer\\index.ts",[],["372","373"],"D:\\web\\NIX\\FINAL-PROJECT-FRONT\\src\\components\\HomePage\\RightBar\\HeaderBar\\Credentials\\index.tsx",[],["374","375"],"D:\\web\\NIX\\FINAL-PROJECT-FRONT\\src\\App.tsx",[],"D:\\web\\NIX\\FINAL-PROJECT-FRONT\\src\\redux\\contacts\\reducer\\index.ts",[],["376","377"],"D:\\web\\NIX\\FINAL-PROJECT-FRONT\\src\\redux\\contacts\\action\\index.ts",[],"D:\\web\\NIX\\FINAL-PROJECT-FRONT\\src\\components\\HomePage\\LeftBar\\SearchBar\\index.tsx",[],["378","379"],"D:\\web\\NIX\\FINAL-PROJECT-FRONT\\src\\components\\HomePage\\RightBar\\HeaderBar\\Buttons\\index.tsx",[],["380","381"],"D:\\web\\NIX\\FINAL-PROJECT-FRONT\\src\\components\\reusableComponents\\StaticDatePicker\\index.tsx",[],"D:\\web\\NIX\\FINAL-PROJECT-FRONT\\src\\components\\HomePage\\RightBar\\ChatBar\\index.tsx",["382","383"],"import { makeStyles } from \"@material-ui/core/styles\";\r\nimport { useState, useEffect, useRef, useCallback } from \"react\";\r\nimport { useSelector,useDispatch } from \"react-redux\";\r\nimport shortid from 'shortid';\r\n\r\nimport SendMessage from \"./SendMessage\";\r\nimport MessageLeftText from './Messages/MessageLeftText'\r\nimport MessageLeftImage from './Messages/MessageLeftImage'\r\nimport MessageLeftAudio from './Messages/MessageLeftAudio'\r\nimport MessageRightText from './Messages/MessageRightText'\r\nimport MessageRightImage from './Messages/MessageRightImage'\r\nimport MessageRightAudio from './Messages/MessageRightAudio'\r\nimport AlertInfo from \"../../../reusableComponents/AlertInfo\";\r\nimport { getMessagesMemo } from '../../../../redux/messages/selector'\r\nimport { getNumber } from '../../../../redux/authorization/selector'\r\nimport { getChat } from '../../../../redux/chat/selector'\r\nimport { getScroll } from '../../../../redux/control/selector'\r\nimport { actionScroll } from '../../../../redux/control/action'\r\nimport { asyncGetMessagesById } from '../../../../redux/messages/operations'\r\nimport { seenChat } from \"../../../../api-data\";\r\nconst debounce = require('lodash.debounce');\r\n\r\nconst useStyles = makeStyles({ \r\n container: {\r\n width: \"100%\",\r\n height: \"100%\",\r\n maxWidth: \"100%\",\r\n maxHeight: \"100%\",\r\n display: \"flex\",\r\n alignItems: \"center\",\r\n alignContent:\"center\",\r\n flexDirection: \"column\",\r\n position: \"relative\",\r\n overflowY: \"scroll\",\r\n paddingTop: 60,\r\n },\r\n messagesBody: {\r\n width: \"40%\",\r\n height: \"80%\",\r\n }, \r\n});\r\n\r\nconst ChatBar = () => {\r\n const classes = useStyles();\r\n const dispatch = useDispatch()\r\n const messages = useSelector(getMessagesMemo)\r\n const userNumber = useSelector(getNumber)\r\n const { companionId } = useSelector(getChat)\r\n const scroll = useSelector(getScroll)\r\n const [isArrow, setIsArrow] = useState<boolean>(false)\r\n const [audio, setAudio] = useState<any>(false)\r\n const divRef = useRef<any | null>(null)\r\n const handleScrollTo = () => {\r\n divRef.current&&divRef.current.scrollTo({\r\n top: divRef.current.scrollHeight,\r\n behavior: 'smooth'\r\n })\r\n }\r\n const handleScroll = ({ target }: any) => {\r\n const different = target.scrollHeight - target.scrollTop\r\n if (different < 900) seenChat(companionId)\r\n setIsArrow(different < 1500 ? false : true)\r\n }\r\n const debouncedHandleScroll = useCallback(debounce(handleScroll, 300), []);\r\n\r\n useEffect(() => {\r\n if (scroll) {\r\n dispatch(asyncGetMessagesById(companionId, handleScrollTo))\r\n dispatch(actionScroll(false))\r\n }\r\n }, [dispatch,scroll, companionId]) \r\n \r\n useEffect(() => {\r\n dispatch(asyncGetMessagesById(companionId, handleScrollTo))\r\n const handleReset = () => dispatch(asyncGetMessagesById(companionId,null))\r\n const idInterval = setInterval(handleReset, 1500);\r\n return () => clearInterval(idInterval);\r\n }, [dispatch, companionId]);\r\n\r\n return (\r\n <div ref={divRef} className={classes.container} onScroll={debouncedHandleScroll}>\r\n <div className={classes.messagesBody}>\r\n {messages.length > 0 ? messages.map(({message,avatarUrl,name,lastName,color,updatedAt,number,type},i:number) => {\r\n if (number !== userNumber) {\r\n if(type === 'text') return (\r\n <MessageLeftText\r\n key={shortid.generate()}\r\n message={message}\r\n updatedAt={updatedAt}\r\n avatarUrl={avatarUrl}\r\n name={name}\r\n lastName={lastName}\r\n color={color}\r\n />)\r\n if(type === 'image') return (\r\n <MessageLeftImage\r\n key={shortid.generate()} \r\n imgUrl={message}\r\n updatedAt={updatedAt}\r\n color={color} \r\n />)\r\n if(type === 'audio') return (\r\n <MessageLeftAudio\r\n key={shortid.generate()} \r\n audioUrl={message}\r\n updatedAt={updatedAt}\r\n audio={audio}\r\n setAudio={setAudio}\r\n i={i} \r\n />) \r\n } else {\r\n if(type === 'text') return (\r\n <MessageRightText\r\n key={shortid.generate()} \r\n message={message}\r\n updatedAt={updatedAt}\r\n avatarUrl={avatarUrl}\r\n name={name}\r\n lastName={lastName}\r\n color={color} \r\n />)\r\n if(type === 'image') return (\r\n <MessageRightImage\r\n key={shortid.generate()} \r\n imgUrl={message}\r\n updatedAt={updatedAt}\r\n color={color} \r\n />)\r\n if(type === 'audio') return (\r\n <MessageRightAudio\r\n key={shortid.generate()} \r\n audioUrl={message}\r\n updatedAt={updatedAt}\r\n audio={audio}\r\n setAudio={setAudio}\r\n i={i} \r\n />) \r\n }\r\n }) : <AlertInfo name='You do not have messages yet!' />}\r\n </div> \r\n <SendMessage isArrow={isArrow} handleScrollTo={handleScrollTo}/> \r\n </div>\r\n );\r\n}\r\n\r\nexport default ChatBar","D:\\web\\NIX\\FINAL-PROJECT-FRONT\\src\\redux\\loading\\reducer\\index.ts",[],["384","385"],"D:\\web\\NIX\\FINAL-PROJECT-FRONT\\src\\components\\HomePage\\RightBar\\ChatBar\\SendMessage\\index.tsx",[],"D:\\web\\NIX\\FINAL-PROJECT-FRONT\\src\\components\\reusableComponents\\Modal\\index.tsx",[],["386","387"],"D:\\web\\NIX\\FINAL-PROJECT-FRONT\\src\\api-data\\index.ts",[],"D:\\web\\NIX\\FINAL-PROJECT-FRONT\\src\\redux\\messages\\action\\index.ts",[],["388","389"],"D:\\web\\NIX\\FINAL-PROJECT-FRONT\\src\\redux\\messages\\operations\\index.ts",[],["390","391"],"D:\\web\\NIX\\FINAL-PROJECT-FRONT\\src\\components\\reusableComponents\\Loader\\Loader.jsx",[],"D:\\web\\NIX\\FINAL-PROJECT-FRONT\\src\\redux\\authorization\\selector\\index.ts",[],"D:\\web\\NIX\\FINAL-PROJECT-FRONT\\src\\redux\\messages\\reducer\\index.ts",[],"D:\\web\\NIX\\FINAL-PROJECT-FRONT\\src\\redux\\messages\\selector\\index.ts",[],["392","393"],"D:\\web\\NIX\\FINAL-PROJECT-FRONT\\src\\index.tsx",[],["394","395"],"D:\\web\\NIX\\FINAL-PROJECT-FRONT\\src\\components\\AuthPage\\SMSCode\\index.tsx",[],"D:\\web\\NIX\\FINAL-PROJECT-FRONT\\src\\components\\HomePage\\LeftBar\\AddContact\\index.tsx",[],["396","397"],"D:\\web\\NIX\\FINAL-PROJECT-FRONT\\src\\redux\\chat\\action\\index.ts",[],["398","399"],"D:\\web\\NIX\\FINAL-PROJECT-FRONT\\src\\redux\\chat\\operations\\index.ts",[],["400","401"],"D:\\web\\NIX\\FINAL-PROJECT-FRONT\\src\\redux\\chat\\selector\\index.ts",[],"D:\\web\\NIX\\FINAL-PROJECT-FRONT\\src\\redux\\loading\\selector\\index.ts",[],["402","403"],"D:\\web\\NIX\\FINAL-PROJECT-FRONT\\src\\components\\AuthPage\\index.tsx",[],["404","405"],"D:\\web\\NIX\\FINAL-PROJECT-FRONT\\src\\components\\AuthPage\\Authorization\\index.tsx",[],"D:\\web\\NIX\\FINAL-PROJECT-FRONT\\src\\redux\\chat\\reducer\\index.ts",[],"D:\\web\\NIX\\FINAL-PROJECT-FRONT\\src\\components\\HomePage\\LeftBar\\MenuBar\\index.tsx",["406"],"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 Switch from '@mui/material/Switch';\r\nimport { makeStyles } from '@material-ui/core'\r\n\r\nimport Modal from '../../../reusableComponents/Modal'\r\nimport { ChangeEvent } from 'react';\r\n\r\nconst useStyles = makeStyles({\r\n container: {\r\n position: 'absolute',\r\n width: 270,\r\n maxWidth: '100%',\r\n top: 60,\r\n left: 15,\r\n zIndex: 10,\r\n visibility: 'visible',\r\n },\r\n list: {\r\n background:'#fdfdfd'\r\n },\r\n listItemLast: {\r\n textAlign: 'center',\r\n },\r\n listIcon: {\r\n marginRight: 15,\r\n },\r\n listIconText: {\r\n marginRight: 15,\r\n paddingLeft:6\r\n }\r\n})\r\n\r\nconst label = { inputProps: { 'aria-label': 'Switch demo' } };\r\n\r\ninterface IContactsList {\r\n handleSelectedMenu: (i:number) => void\r\n}\r\n\r\nconst MenuBar = ({handleSelectedMenu}:IContactsList) => {\r\n const classes = useStyles()\r\n const handleSwitch = (e: React.MouseEvent<HTMLElement>) => {\r\n e.stopPropagation()\r\n console.log('clicked switch input')\r\n }\r\n return (\r\n <Modal> \r\n <Paper className={classes.container}>\r\n <MenuList className={classes.list}>\r\n <MenuItem onClick={() => handleSelectedMenu(0)}>\r\n <ListItemIcon className={classes.listIcon}>\r\n <BookmarkBorderIcon fontSize=\"medium\" />\r\n </ListItemIcon>\r\n <ListItemText>Saved Messages</ListItemText>\r\n </MenuItem>\r\n <MenuItem onClick={() => handleSelectedMenu(1)}>\r\n <ListItemIcon className={classes.listIcon}>\r\n <ArchiveIcon fontSize=\"medium\" />\r\n </ListItemIcon>\r\n <ListItemText>Archived Chats</ListItemText>\r\n </MenuItem>\r\n <MenuItem onClick={() => handleSelectedMenu(2)}>\r\n <ListItemIcon className={classes.listIcon}>\r\n <PermContactCalendarIcon fontSize=\"medium\" />\r\n </ListItemIcon>\r\n <ListItemText>Contacts</ListItemText>\r\n </MenuItem> \r\n <MenuItem onClick={() => handleSelectedMenu(3)}>\r\n <ListItemIcon className={classes.listIcon}>\r\n <SettingsIcon fontSize=\"medium\" />\r\n </ListItemIcon>\r\n <ListItemText>Settings</ListItemText>\r\n </MenuItem>\r\n <MenuItem onClick={() => handleSelectedMenu(4)}>\r\n <ListItemIcon className={classes.listIcon}>\r\n <Brightness3Icon fontSize=\"medium\" />\r\n </ListItemIcon>\r\n <ListItemText>Night Mode</ListItemText>\r\n <Switch onClick={handleSwitch} {...label} />\r\n </MenuItem>\r\n <MenuItem onClick={() => handleSelectedMenu(5)}>\r\n <ListItemIcon className={classes.listIcon}>\r\n <AnimationIcon fontSize=\"medium\" />\r\n </ListItemIcon>\r\n <ListItemText>Animations</ListItemText>\r\n <Switch onClick={handleSwitch} {...label} defaultChecked />\r\n </MenuItem>\r\n <MenuItem onClick={() => handleSelectedMenu(6)}>\r\n <ListItemIcon className={classes.listIcon}>\r\n <HelpOutlineIcon fontSize=\"medium\" />\r\n </ListItemIcon>\r\n <ListItemText>Telegram Features</ListItemText>\r\n </MenuItem> \r\n <MenuItem onClick={() => handleSelectedMenu(7)}>\r\n <ListItemIcon className={classes.listIcon}>\r\n <BugReportIcon fontSize=\"medium\" />\r\n </ListItemIcon>\r\n <ListItemText>Report bug</ListItemText>\r\n </MenuItem>\r\n <MenuItem onClick={() => handleSelectedMenu(8)}>\r\n <ListItemIcon className={classes.listIconText}>\r\n K\r\n </ListItemIcon>\r\n <ListItemText>Switch to K Version</ListItemText>\r\n </MenuItem>\r\n <MenuItem onClick={() => handleSelectedMenu(9)}>\r\n <ListItemIcon className={classes.listIconText}>\r\n W\r\n </ListItemIcon>\r\n <ListItemText>Switch to Old Version</ListItemText>\r\n </MenuItem >\r\n <Divider />\r\n <MenuItem onClick={() => handleSelectedMenu(10)}>\r\n <ListItemText secondary='Telegram WebZ 1.32.3' className={classes.listItemLast}/>\r\n </MenuItem>\r\n </MenuList>\r\n </Paper>\r\n </Modal> \r\n );\r\n}\r\n\r\nexport default MenuBar","D:\\web\\NIX\\FINAL-PROJECT-FRONT\\src\\components\\HomePage\\RightBar\\HeaderBar\\Buttons\\MenuList\\index.tsx",[],"D:\\web\\NIX\\FINAL-PROJECT-FRONT\\src\\redux\\authorization\\reducer\\index.ts",[],"D:\\web\\NIX\\FINAL-PROJECT-FRONT\\src\\redux\\authorization\\operations\\index.ts",[],"D:\\web\\NIX\\FINAL-PROJECT-FRONT\\src\\helpers\\index.ts",[],"D:\\web\\NIX\\FINAL-PROJECT-FRONT\\src\\components\\HomePage\\RightBar\\HeaderBar\\RightLists\\index.tsx",[],"D:\\web\\NIX\\FINAL-PROJECT-FRONT\\src\\redux\\control\\reducer\\index.ts",[],"D:\\web\\NIX\\FINAL-PROJECT-FRONT\\src\\redux\\control\\action\\index.ts",[],"D:\\web\\NIX\\FINAL-PROJECT-FRONT\\src\\components\\reusableComponents\\AlertInfo\\index.tsx",[],["407","408"],"D:\\web\\NIX\\FINAL-PROJECT-FRONT\\src\\redux\\rootReducer\\index.ts",[],["409","410"],"D:\\web\\NIX\\FINAL-PROJECT-FRONT\\src\\components\\reusableComponents\\Routes\\PublicRoute\\index.tsx",[],"D:\\web\\NIX\\FINAL-PROJECT-FRONT\\src\\components\\HomePage\\RightBar\\ChatBar\\FilesMenu\\index.tsx",[],["411","412"],"D:\\web\\NIX\\FINAL-PROJECT-FRONT\\src\\components\\HomePage\\LeftBar\\index.tsx",["413","414","415","416","417","418","419","420","421","422","423","424","425"],"D:\\web\\NIX\\FINAL-PROJECT-FRONT\\src\\components\\HomePage\\LeftBar\\SearchLists\\ChatListRecent\\user.tsx",[],"D:\\web\\NIX\\FINAL-PROJECT-FRONT\\src\\components\\HomePage\\LeftBar\\SearchLists\\index.tsx",[],"D:\\web\\NIX\\FINAL-PROJECT-FRONT\\src\\components\\AuthPage\\Registration\\index.tsx",[],"D:\\web\\NIX\\FINAL-PROJECT-FRONT\\src\\components\\HomePage\\RightBar\\HeaderBar\\index.tsx",[],"D:\\web\\NIX\\FINAL-PROJECT-FRONT\\src\\components\\reusableComponents\\NotDone\\index.tsx",[],"D:\\web\\NIX\\FINAL-PROJECT-FRONT\\src\\components\\reusableComponents\\NotDoneList\\arr.tsx",[],"D:\\web\\NIX\\FINAL-PROJECT-FRONT\\src\\components\\reusableComponents\\NotDoneList\\index.tsx",[],"D:\\web\\NIX\\FINAL-PROJECT-FRONT\\src\\redux\\authorization\\action\\index.ts",[],"D:\\web\\NIX\\FINAL-PROJECT-FRONT\\src\\components\\HomePage\\RightBar\\HeaderBar\\RightLists\\SearchList\\index.tsx",["426","427"],"import { makeStyles } from '@material-ui/core'\r\nimport { useSelector } from 'react-redux'\r\nimport React, { useState } from 'react'\r\nimport List from '@mui/material/List';\r\nimport ListItem from '@mui/material/ListItem';\r\nimport Divider from '@mui/material/Divider';\r\nimport ListItemText from '@mui/material/ListItemText';\r\nimport ListItemAvatar from '@mui/material/ListItemAvatar';\r\nimport Avatar from '@mui/material/Avatar';\r\nimport Typography from '@mui/material/Typography';\r\nimport Search from './Search'\r\nimport AlertInfo from \"../../../../../reusableComponents/AlertInfo\";\r\nimport { getMessages } from '../../../../../../redux/messages/selector'\r\nimport { timeStamp,timeStampFilter,firstLetter,slicedWord } from '../../../../../../helpers'\r\nimport shortid from 'shortid';\r\n\r\n\r\nconst useStyles = makeStyles({\r\n containerAbsolute: {\r\n position: 'absolute',\r\n top: 58,\r\n width: 506,\r\n borderLeft: 'solid 0.5px #9c9c9c',\r\n maxHeight: '905px',\r\n minHeight: '905px',\r\n overflowY: 'scroll',\r\n overflowX: 'hidden',\r\n backgroundColor: '#ffffff'\r\n },\r\n listItem: {\r\n borderBottom: 'solid 1px #e6e6e6',\r\n '&:hover': {\r\n backgroundColor: '#e6e6e6',\r\n }\r\n },\r\n})\r\n\r\nconst SearchList= () => {\r\n const classes = useStyles()\r\n const messages = useSelector(getMessages)\r\n const [value, setValue] = useState<string>('')\r\n const [date, setDate] = useState<any>('');\r\n const handleSearch = (e: React.ChangeEvent<HTMLInputElement>): void => setValue(e.target.value)\r\n\r\n const filteredMessages = () => messages.filter((el) => {\r\n if (!date) {\r\n return el.message.toLowerCase().includes(value.toLowerCase())\r\n } else if (el.message.toLowerCase().includes(value.toLowerCase())\r\n && timeStampFilter(date) === timeStampFilter(el.createdAt)) {\r\n return el\r\n }\r\n })\r\n const arr = filteredMessages()\r\nreturn (\r\n <div>\r\n <Search handleSearch={handleSearch} value={value}\r\n setDate={setDate} date={date} />\r\n <div className={classes.containerAbsolute}>\r\n {messages.length > 0 ? arr.length > 0 ?\r\n <List sx={{ width: '100%' }}>\r\n {arr.map(({ name, lastName, avatarUrl, color, message, createdAt }) => \r\n <ListItem alignItems=\"flex-start\" className={classes.listItem} key={shortid.generate()}\r\n onClick={() => console.log('clicked message in rightList')}>\r\n <ListItemAvatar>\r\n <Avatar alt={name} src={avatarUrl?`http://localhost:3000/${avatarUrl}`:undefined}\r\n sx={{ background: color, width: 44, height: 44, marginRight:2 }}>\r\n {!avatarUrl&&`${firstLetter(name)}${firstLetter(lastName)}`}\r\n </Avatar>\r\n </ListItemAvatar>\r\n <ListItemText\r\n primary={`${firstLetter(name)}${slicedWord(name, 15, 1)} \r\n ${firstLetter(lastName)}${slicedWord(lastName, 15, 1)}`}\r\n secondary={<>\r\n <Typography\r\n sx={{ display: 'block',wordBreak:'break-word' }}\r\n component=\"span\"\r\n variant=\"body2\"\r\n color=\"text.primary\"\r\n >\r\n {message}\r\n </Typography>\r\n {timeStamp(createdAt)}\r\n </>}\r\n />\r\n </ListItem>)}\r\n </List> :\r\n <AlertInfo name={!date&&value ? `Can not find message by request: ${value}`:\r\n `Can not find message by request: ${value} and DataPicker: ${timeStampFilter(date)}`} />:\r\n <AlertInfo name='You do not have messages yet!' />}\r\n </div>\r\n </div>\r\n )\r\n}\r\n\r\nexport default SearchList","D:\\web\\NIX\\FINAL-PROJECT-FRONT\\src\\components\\HomePage\\RightBar\\HeaderBar\\RightLists\\SearchList\\Search\\index.tsx",[],["428","429"],"D:\\web\\NIX\\FINAL-PROJECT-FRONT\\src\\helpers\\countries.tsx",[],"D:\\web\\NIX\\FINAL-PROJECT-FRONT\\src\\components\\HomePage\\RightBar\\HeaderBar\\RightLists\\CredentialsList\\ProfileMenu\\index.tsx",[],"D:\\web\\NIX\\FINAL-PROJECT-FRONT\\src\\redux\\loading\\action\\index.ts",[],"D:\\web\\NIX\\FINAL-PROJECT-FRONT\\src\\components\\HomePage\\LeftBar\\SmallMenuBar\\index.tsx",[],["430","431"],"D:\\web\\NIX\\FINAL-PROJECT-FRONT\\src\\components\\HomePage\\RightBar\\HeaderBar\\RightLists\\CredentialsList\\ProfilePicture\\index.tsx",[],"D:\\web\\NIX\\FINAL-PROJECT-FRONT\\src\\components\\HomePage\\LeftBar\\SearchLists\\ChatListRecent\\index.tsx",[],["432","433"],"D:\\web\\NIX\\FINAL-PROJECT-FRONT\\src\\components\\HomePage\\RightBar\\HeaderBar\\RightLists\\CredentialsList\\ToolBar\\index.tsx",[],"D:\\web\\NIX\\FINAL-PROJECT-FRONT\\src\\components\\reusableComponents\\Routes\\PrivateRoute\\index.tsx",[],["434","435"],"D:\\web\\NIX\\FINAL-PROJECT-FRONT\\src\\components\\HomePage\\index.tsx",[],"D:\\web\\NIX\\FINAL-PROJECT-FRONT\\src\\redux\\control\\selector\\index.ts",[],"D:\\web\\NIX\\FINAL-PROJECT-FRONT\\src\\redux\\contacts\\operations\\index.ts",[],"D:\\web\\NIX\\FINAL-PROJECT-FRONT\\src\\components\\AuthPage\\QRCode\\index.tsx",[],"D:\\web\\NIX\\FINAL-PROJECT-FRONT\\src\\redux\\contacts\\selector\\index.ts",[],"D:\\web\\NIX\\FINAL-PROJECT-FRONT\\src\\components\\reusableComponents\\DropZone\\UploadAvatar\\index.tsx",[],"D:\\web\\NIX\\FINAL-PROJECT-FRONT\\src\\components\\HomePage\\RightBar\\ChatBar\\Messages\\MessageLeftText\\index.tsx",[],"D:\\web\\NIX\\FINAL-PROJECT-FRONT\\src\\components\\HomePage\\RightBar\\ChatBar\\Messages\\MessageLeftImage\\index.tsx",[],"D:\\web\\NIX\\FINAL-PROJECT-FRONT\\src\\components\\reusableComponents\\DropZone\\UploadFile\\index.tsx",[],"D:\\web\\NIX\\FINAL-PROJECT-FRONT\\src\\components\\HomePage\\RightBar\\HeaderBar\\RightLists\\CredentialsList\\ProfileLists\\index.tsx",[],"D:\\web\\NIX\\FINAL-PROJECT-FRONT\\src\\components\\HomePage\\RightBar\\ChatBar\\Messages\\MessageRightImage\\index.tsx",[],"D:\\web\\NIX\\FINAL-PROJECT-FRONT\\src\\components\\HomePage\\RightBar\\ChatBar\\Messages\\MessageRightAudio\\index.tsx",[],"D:\\web\\NIX\\FINAL-PROJECT-FRONT\\src\\components\\HomePage\\RightBar\\ChatBar\\Messages\\MessageLeftAudio\\index.tsx",[],"D:\\web\\NIX\\FINAL-PROJECT-FRONT\\src\\components\\HomePage\\RightBar\\ChatBar\\Players\\AudioPlayer\\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\\Messages\\MessageRightText\\index.tsx",[],{"ruleId":"436","replacedBy":"437"},{"ruleId":"438","replacedBy":"439"},{"ruleId":"440","severity":1,"message":"441","line":62,"column":55,"nodeType":"442","messageId":"443","endLine":62,"endColumn":57},{"ruleId":"436","replacedBy":"444"},{"ruleId":"438","replacedBy":"445"},{"ruleId":"436","replacedBy":"446"},{"ruleId":"438","replacedBy":"447"},{"ruleId":"448","severity":1,"message":"449","line":3,"column":10,"nodeType":"450","messageId":"451","endLine":3,"endColumn":15},{"ruleId":"436","replacedBy":"452"},{"ruleId":"438","replacedBy":"453"},{"ruleId":"436","replacedBy":"454"},{"ruleId":"438","replacedBy":"455"},{"ruleId":"436","replacedBy":"456"},{"ruleId":"438","replacedBy":"457"},{"ruleId":"436","replacedBy":"458"},{"ruleId":"438","replacedBy":"459"},{"ruleId":"436","replacedBy":"460"},{"ruleId":"438","replacedBy":"461"},{"ruleId":"436","replacedBy":"462"},{"ruleId":"438","replacedBy":"463"},{"ruleId":"464","severity":1,"message":"465","line":64,"column":33,"nodeType":"450","endLine":64,"endColumn":44},{"ruleId":"440","severity":1,"message":"466","line":83,"column":118,"nodeType":"442","messageId":"443","endLine":83,"endColumn":120},{"ruleId":"436","replacedBy":"467"},{"ruleId":"438","replacedBy":"468"},{"ruleId":"436","replacedBy":"469"},{"ruleId":"438","replacedBy":"470"},{"ruleId":"436","replacedBy":"471"},{"ruleId":"438","replacedBy":"472"},{"ruleId":"436","replacedBy":"473"},{"ruleId":"438","replacedBy":"474"},{"ruleId":"436","replacedBy":"475"},{"ruleId":"438","replacedBy":"476"},{"ruleId":"436","replacedBy":"477"},{"ruleId":"438","replacedBy":"478"},{"ruleId":"436","replacedBy":"479"},{"ruleId":"438","replacedBy":"480"},{"ruleId":"436","replacedBy":"481"},{"ruleId":"438","replacedBy":"482"},{"ruleId":"436","replacedBy":"483"},{"ruleId":"438","replacedBy":"484"},{"ruleId":"436","replacedBy":"485"},{"ruleId":"438","replacedBy":"486"},{"ruleId":"436","replacedBy":"487"},{"ruleId":"438","replacedBy":"488"},{"ruleId":"448","severity":1,"message":"489","line":19,"column":10,"nodeType":"450","messageId":"451","endLine":19,"endColumn":21},{"ruleId":"436","replacedBy":"490"},{"ruleId":"438","replacedBy":"491"},{"ruleId":"436","replacedBy":"492"},{"ruleId":"438","replacedBy":"493"},{"ruleId":"436","replacedBy":"494"},{"ruleId":"438","replacedBy":"495"},{"ruleId":"448","severity":1,"message":"496","line":2,"column":10,"nodeType":"450","messageId":"451","endLine":2,"endColumn":22},{"ruleId":"448","severity":1,"message":"497","line":5,"column":8,"nodeType":"450","messageId":"451","endLine":5,"endColumn":20},{"ruleId":"448","severity":1,"message":"498","line":6,"column":8,"nodeType":"450","messageId":"451","endLine":6,"endColumn":19},{"ruleId":"448","severity":1,"message":"499","line":7,"column":8,"nodeType":"450","messageId":"451","endLine":7,"endColumn":17},{"ruleId":"448","severity":1,"message":"500","line":9,"column":8,"nodeType":"450","messageId":"451","endLine":9,"endColumn":15},{"ruleId":"448","severity":1,"message":"501","line":10,"column":8,"nodeType":"450","messageId":"451","endLine":10,"endColumn":20},{"ruleId":"448","severity":1,"message":"502","line":11,"column":8,"nodeType":"450","messageId":"451","endLine":11,"endColumn":18},{"ruleId":"448","severity":1,"message":"503","line":12,"column":8,"nodeType":"450","messageId":"451","endLine":12,"endColumn":15},{"ruleId":"448","severity":1,"message":"504","line":19,"column":10,"nodeType":"450","messageId":"451","endLine":19,"endColumn":15},{"ruleId":"448","severity":1,"message":"505","line":21,"column":9,"nodeType":"450","messageId":"451","endLine":21,"endColumn":20},{"ruleId":"448","severity":1,"message":"506","line":22,"column":9,"nodeType":"450","messageId":"451","endLine":22,"endColumn":20},{"ruleId":"448","severity":1,"message":"507","line":28,"column":9,"nodeType":"450","messageId":"451","endLine":28,"endColumn":21},{"ruleId":"448","severity":1,"message":"508","line":35,"column":9,"nodeType":"450","messageId":"451","endLine":35,"endColumn":27},{"ruleId":"448","severity":1,"message":"509","line":6,"column":8,"nodeType":"450","messageId":"451","endLine":6,"endColumn":15},{"ruleId":"440","severity":1,"message":"441","line":45,"column":57,"nodeType":"442","messageId":"443","endLine":45,"endColumn":59},{"ruleId":"436","replacedBy":"510"},{"ruleId":"438","replacedBy":"511"},{"ruleId":"436","replacedBy":"512"},{"ruleId":"438","replacedBy":"513"},{"ruleId":"436","replacedBy":"514"},{"ruleId":"438","replacedBy":"515"},{"ruleId":"436","replacedBy":"516"},{"ruleId":"438","replacedBy":"517"},"no-native-reassign",["518"],"no-negated-in-lhs",["519"],"array-callback-return","Array.prototype.filter() expects a value to be returned at the end of arrow function.","ArrowFunctionExpression","expectedAtEnd",["518"],["519"],["518"],["519"],"@typescript-eslint/no-unused-vars","'TChat' is defined but never used.","Identifier","unusedVar",["518"],["519"],["518"],["519"],["518"],["519"],["518"],["519"],["518"],["519"],["518"],["519"],"react-hooks/exhaustive-deps","React Hook useCallback received a function whose dependencies are unknown. Pass an inline function instead.","Array.prototype.map() expects a value to be returned at the end of arrow function.",["518"],["519"],["518"],["519"],["518"],["519"],["518"],["519"],["518"],["519"],["518"],["519"],["518"],["519"],["518"],["519"],["518"],["519"],["518"],["519"],["518"],["519"],"'ChangeEvent' is defined but never used.",["518"],["519"],["518"],["519"],["518"],["519"],"'createPortal' is defined but never used.","'SmallMenuBar' is defined but never used.","'SearchLists' is defined but never used.","'SearchBar' is defined but never used.","'MenuBar' is defined but never used.","'ContactsList' is defined but never used.","'AddContact' is defined but never used.","'NotDone' is defined but never used.","'value' is assigned a value but never used.","'handleFocus' is assigned a value but never used.","'handleClick' is assigned a value but never used.","'handleSearch' is assigned a value but never used.","'handleSelectedMenu' is assigned a value but never used.","'Divider' is defined but never used.",["518"],["519"],["518"],["519"],["518"],["519"],["518"],["519"],"no-global-assign","no-unsafe-negation"]