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\\HomePage\\RightBar\\ChatBar\\index.tsx":"14","D:\\web\\NIX\\FINAL-PROJECT-FRONT\\src\\redux\\loading\\reducer\\index.ts":"15","D:\\web\\NIX\\FINAL-PROJECT-FRONT\\src\\components\\HomePage\\RightBar\\ChatBar\\SendMessage\\index.tsx":"16","D:\\web\\NIX\\FINAL-PROJECT-FRONT\\src\\api-data\\index.ts":"17","D:\\web\\NIX\\FINAL-PROJECT-FRONT\\src\\redux\\messages\\action\\index.ts":"18","D:\\web\\NIX\\FINAL-PROJECT-FRONT\\src\\redux\\messages\\operations\\index.ts":"19","D:\\web\\NIX\\FINAL-PROJECT-FRONT\\src\\components\\reusableComponents\\Loader\\Loader.jsx":"20","D:\\web\\NIX\\FINAL-PROJECT-FRONT\\src\\redux\\authorization\\selector\\index.ts":"21","D:\\web\\NIX\\FINAL-PROJECT-FRONT\\src\\redux\\messages\\reducer\\index.ts":"22","D:\\web\\NIX\\FINAL-PROJECT-FRONT\\src\\redux\\messages\\selector\\index.ts":"23","D:\\web\\NIX\\FINAL-PROJECT-FRONT\\src\\index.tsx":"24","D:\\web\\NIX\\FINAL-PROJECT-FRONT\\src\\components\\AuthPage\\SMSCode\\index.tsx":"25","D:\\web\\NIX\\FINAL-PROJECT-FRONT\\src\\components\\HomePage\\LeftBar\\AddContact\\index.tsx":"26","D:\\web\\NIX\\FINAL-PROJECT-FRONT\\src\\redux\\chat\\action\\index.ts":"27","D:\\web\\NIX\\FINAL-PROJECT-FRONT\\src\\redux\\chat\\operations\\index.ts":"28","D:\\web\\NIX\\FINAL-PROJECT-FRONT\\src\\redux\\chat\\selector\\index.ts":"29","D:\\web\\NIX\\FINAL-PROJECT-FRONT\\src\\redux\\loading\\selector\\index.ts":"30","D:\\web\\NIX\\FINAL-PROJECT-FRONT\\src\\components\\AuthPage\\index.tsx":"31","D:\\web\\NIX\\FINAL-PROJECT-FRONT\\src\\components\\AuthPage\\Authorization\\index.tsx":"32","D:\\web\\NIX\\FINAL-PROJECT-FRONT\\src\\redux\\chat\\reducer\\index.ts":"33","D:\\web\\NIX\\FINAL-PROJECT-FRONT\\src\\components\\HomePage\\LeftBar\\MenuBar\\index.tsx":"34","D:\\web\\NIX\\FINAL-PROJECT-FRONT\\src\\components\\HomePage\\RightBar\\HeaderBar\\Buttons\\MenuList\\index.tsx":"35","D:\\web\\NIX\\FINAL-PROJECT-FRONT\\src\\redux\\authorization\\reducer\\index.ts":"36","D:\\web\\NIX\\FINAL-PROJECT-FRONT\\src\\redux\\authorization\\operations\\index.ts":"37","D:\\web\\NIX\\FINAL-PROJECT-FRONT\\src\\helpers\\index.ts":"38","D:\\web\\NIX\\FINAL-PROJECT-FRONT\\src\\redux\\control\\reducer\\index.ts":"39","D:\\web\\NIX\\FINAL-PROJECT-FRONT\\src\\redux\\control\\action\\index.ts":"40","D:\\web\\NIX\\FINAL-PROJECT-FRONT\\src\\components\\reusableComponents\\AlertInfo\\index.tsx":"41","D:\\web\\NIX\\FINAL-PROJECT-FRONT\\src\\redux\\rootReducer\\index.ts":"42","D:\\web\\NIX\\FINAL-PROJECT-FRONT\\src\\components\\reusableComponents\\Routes\\PublicRoute\\index.tsx":"43","D:\\web\\NIX\\FINAL-PROJECT-FRONT\\src\\components\\HomePage\\RightBar\\ChatBar\\FilesMenu\\index.tsx":"44","D:\\web\\NIX\\FINAL-PROJECT-FRONT\\src\\components\\HomePage\\LeftBar\\index.tsx":"45","D:\\web\\NIX\\FINAL-PROJECT-FRONT\\src\\components\\HomePage\\LeftBar\\SearchLists\\index.tsx":"46","D:\\web\\NIX\\FINAL-PROJECT-FRONT\\src\\components\\AuthPage\\Registration\\index.tsx":"47","D:\\web\\NIX\\FINAL-PROJECT-FRONT\\src\\components\\HomePage\\RightBar\\HeaderBar\\index.tsx":"48","D:\\web\\NIX\\FINAL-PROJECT-FRONT\\src\\components\\reusableComponents\\NotDone\\index.tsx":"49","D:\\web\\NIX\\FINAL-PROJECT-FRONT\\src\\components\\reusableComponents\\NotDoneList\\arr.tsx":"50","D:\\web\\NIX\\FINAL-PROJECT-FRONT\\src\\components\\reusableComponents\\NotDoneList\\index.tsx":"51","D:\\web\\NIX\\FINAL-PROJECT-FRONT\\src\\redux\\authorization\\action\\index.ts":"52","D:\\web\\NIX\\FINAL-PROJECT-FRONT\\src\\helpers\\countries.tsx":"53","D:\\web\\NIX\\FINAL-PROJECT-FRONT\\src\\redux\\loading\\action\\index.ts":"54","D:\\web\\NIX\\FINAL-PROJECT-FRONT\\src\\components\\HomePage\\LeftBar\\SmallMenuBar\\index.tsx":"55","D:\\web\\NIX\\FINAL-PROJECT-FRONT\\src\\components\\HomePage\\LeftBar\\SearchLists\\ChatListRecent\\index.tsx":"56","D:\\web\\NIX\\FINAL-PROJECT-FRONT\\src\\components\\reusableComponents\\Routes\\PrivateRoute\\index.tsx":"57","D:\\web\\NIX\\FINAL-PROJECT-FRONT\\src\\components\\HomePage\\index.tsx":"58","D:\\web\\NIX\\FINAL-PROJECT-FRONT\\src\\redux\\control\\selector\\index.ts":"59","D:\\web\\NIX\\FINAL-PROJECT-FRONT\\src\\redux\\contacts\\operations\\index.ts":"60","D:\\web\\NIX\\FINAL-PROJECT-FRONT\\src\\components\\AuthPage\\QRCode\\index.tsx":"61","D:\\web\\NIX\\FINAL-PROJECT-FRONT\\src\\redux\\contacts\\selector\\index.ts":"62","D:\\web\\NIX\\FINAL-PROJECT-FRONT\\src\\components\\HomePage\\RightBar\\ChatBar\\Messages\\MessageLeftText\\index.tsx":"63","D:\\web\\NIX\\FINAL-PROJECT-FRONT\\src\\components\\HomePage\\RightBar\\ChatBar\\Messages\\MessageLeftImage\\index.tsx":"64","D:\\web\\NIX\\FINAL-PROJECT-FRONT\\src\\components\\HomePage\\RightBar\\ChatBar\\Messages\\MessageRightImage\\index.tsx":"65","D:\\web\\NIX\\FINAL-PROJECT-FRONT\\src\\components\\HomePage\\RightBar\\ChatBar\\Messages\\MessageRightAudio\\index.tsx":"66","D:\\web\\NIX\\FINAL-PROJECT-FRONT\\src\\components\\HomePage\\RightBar\\ChatBar\\Messages\\MessageLeftAudio\\index.tsx":"67","D:\\web\\NIX\\FINAL-PROJECT-FRONT\\src\\components\\HomePage\\RightBar\\ChatBar\\Messages\\MessageRightText\\index.tsx":"68","D:\\web\\NIX\\FINAL-PROJECT-FRONT\\src\\components\\AuthPage\\Registration\\UploadAvatar\\index.tsx":"69","D:\\web\\NIX\\FINAL-PROJECT-FRONT\\src\\components\\HomePage\\RightBar\\ChatBar\\FilesMenu\\UploadFile\\index.tsx":"70","D:\\web\\NIX\\FINAL-PROJECT-FRONT\\src\\components\\HomePage\\RightBar\\ChatBar\\Messages\\MessageRightVideo\\index.tsx":"71","D:\\web\\NIX\\FINAL-PROJECT-FRONT\\src\\components\\HomePage\\RightBar\\ChatBar\\Messages\\MessageLeftVideo\\index.tsx":"72","D:\\web\\NIX\\FINAL-PROJECT-FRONT\\src\\components\\HomePage\\RightBar\\ChatBar\\Messages\\MessageRightFile\\index.tsx":"73","D:\\web\\NIX\\FINAL-PROJECT-FRONT\\src\\components\\HomePage\\RightBar\\ChatBar\\Messages\\MessageLeftFile\\index.tsx":"74","D:\\web\\NIX\\FINAL-PROJECT-FRONT\\src\\components\\HomePage\\RightBar\\ChatBar\\Messages\\MessageTime\\index.tsx":"75","D:\\web\\NIX\\FINAL-PROJECT-FRONT\\src\\components\\HomePage\\RightBar\\HeaderBar\\RightListsAndBars\\CredentialsList\\ProfileLists\\index.tsx":"76","D:\\web\\NIX\\FINAL-PROJECT-FRONT\\src\\components\\HomePage\\RightBar\\HeaderBar\\RightListsAndBars\\CredentialsList\\ProfilePicture\\index.tsx":"77","D:\\web\\NIX\\FINAL-PROJECT-FRONT\\src\\components\\HomePage\\RightBar\\HeaderBar\\RightListsAndBars\\CredentialsList\\ProfileLists\\MediaList\\MediaListItem\\index.tsx":"78","D:\\web\\NIX\\FINAL-PROJECT-FRONT\\src\\components\\HomePage\\RightBar\\HeaderBar\\RightListsAndBars\\EditBar\\ToolBar\\index.tsx":"79","D:\\web\\NIX\\FINAL-PROJECT-FRONT\\src\\components\\HomePage\\RightBar\\HeaderBar\\RightListsAndBars\\CredentialsList\\ToolBar\\index.tsx":"80","D:\\web\\NIX\\FINAL-PROJECT-FRONT\\src\\components\\HomePage\\RightBar\\HeaderBar\\RightListsAndBars\\EditBar\\EditList\\index.tsx":"81","D:\\web\\NIX\\FINAL-PROJECT-FRONT\\src\\components\\HomePage\\RightBar\\HeaderBar\\RightListsAndBars\\EditBar\\index.tsx":"82","D:\\web\\NIX\\FINAL-PROJECT-FRONT\\src\\components\\HomePage\\RightBar\\HeaderBar\\RightListsAndBars\\SearchList\\Search\\StaticDatePicker\\index.tsx":"83","D:\\web\\NIX\\FINAL-PROJECT-FRONT\\src\\components\\HomePage\\RightBar\\HeaderBar\\RightListsAndBars\\CredentialsList\\ProfileLists\\TextList\\index.tsx":"84","D:\\web\\NIX\\FINAL-PROJECT-FRONT\\src\\components\\HomePage\\RightBar\\HeaderBar\\RightListsAndBars\\EditBar\\Delete\\index.tsx":"85","D:\\web\\NIX\\FINAL-PROJECT-FRONT\\src\\components\\HomePage\\RightBar\\HeaderBar\\RightListsAndBars\\CredentialsList\\index.tsx":"86","D:\\web\\NIX\\FINAL-PROJECT-FRONT\\src\\components\\HomePage\\RightBar\\HeaderBar\\RightListsAndBars\\SearchList\\index.tsx":"87","D:\\web\\NIX\\FINAL-PROJECT-FRONT\\src\\components\\HomePage\\RightBar\\HeaderBar\\RightListsAndBars\\SearchList\\Search\\index.tsx":"88","D:\\web\\NIX\\FINAL-PROJECT-FRONT\\src\\components\\HomePage\\RightBar\\HeaderBar\\RightListsAndBars\\CredentialsList\\ProfileLists\\AudioList\\index.tsx":"89","D:\\web\\NIX\\FINAL-PROJECT-FRONT\\src\\components\\HomePage\\RightBar\\HeaderBar\\RightListsAndBars\\EditBar\\SubmitBtn\\index.tsx":"90","D:\\web\\NIX\\FINAL-PROJECT-FRONT\\src\\components\\HomePage\\RightBar\\HeaderBar\\RightListsAndBars\\CredentialsList\\ProfileMenu\\index.tsx":"91","D:\\web\\NIX\\FINAL-PROJECT-FRONT\\src\\components\\HomePage\\RightBar\\HeaderBar\\Buttons\\DeleteModal\\index.tsx":"92","D:\\web\\NIX\\FINAL-PROJECT-FRONT\\src\\components\\HomePage\\RightBar\\HeaderBar\\RightListsAndBars\\CredentialsList\\ProfileLists\\FilesList\\index.tsx":"93","D:\\web\\NIX\\FINAL-PROJECT-FRONT\\src\\components\\HomePage\\RightBar\\HeaderBar\\RightListsAndBars\\CredentialsList\\ProfileLists\\MediaList\\index.tsx":"94","D:\\web\\NIX\\FINAL-PROJECT-FRONT\\src\\components\\HomePage\\LeftBar\\ChatsList\\ChatItem\\index.tsx":"95","D:\\web\\NIX\\FINAL-PROJECT-FRONT\\src\\components\\HomePage\\RightBar\\HeaderBar\\RightListsAndBars\\index.tsx":"96","D:\\web\\NIX\\FINAL-PROJECT-FRONT\\src\\components\\HomePage\\LeftBar\\ContactsList\\ContactItem\\index.tsx":"97","D:\\web\\NIX\\FINAL-PROJECT-FRONT\\src\\components\\HomePage\\RightBar\\HeaderBar\\RightListsAndBars\\CredentialsList\\ProfileLists\\VideoList\\index.tsx":"98","D:\\web\\NIX\\FINAL-PROJECT-FRONT\\src\\components\\HomePage\\LeftBar\\SearchLists\\ChatListRecent\\RecentItem\\index.tsx":"99","D:\\web\\NIX\\FINAL-PROJECT-FRONT\\src\\components\\HomePage\\LeftBar\\SearchLists\\ChatListRecent\\ChatItem\\index.tsx":"100","D:\\web\\NIX\\FINAL-PROJECT-FRONT\\src\\redux\\allMessages\\action\\index.ts":"101","D:\\web\\NIX\\FINAL-PROJECT-FRONT\\src\\redux\\store\\index.ts":"102","D:\\web\\NIX\\FINAL-PROJECT-FRONT\\src\\redux\\allMessages\\operations\\index.ts":"103","D:\\web\\NIX\\FINAL-PROJECT-FRONT\\src\\components\\HomePage\\LeftBar\\SearchLists\\FilesList\\index.tsx":"104","D:\\web\\NIX\\FINAL-PROJECT-FRONT\\src\\components\\HomePage\\LeftBar\\SearchLists\\AudioList\\index.tsx":"105","D:\\web\\NIX\\FINAL-PROJECT-FRONT\\src\\components\\HomePage\\LeftBar\\SearchLists\\VideoList\\index.tsx":"106","D:\\web\\NIX\\FINAL-PROJECT-FRONT\\src\\components\\HomePage\\LeftBar\\SearchLists\\TextList\\index.tsx":"107","D:\\web\\NIX\\FINAL-PROJECT-FRONT\\src\\components\\HomePage\\LeftBar\\SearchLists\\MediaList\\index.tsx":"108"},{"size":518,"mtime":1649411911267,"results":"109","hashOfConfig":"110"},{"size":3808,"mtime":1649934249666,"results":"111","hashOfConfig":"110"},{"size":2744,"mtime":1649937296973,"results":"112","hashOfConfig":"110"},{"size":462,"mtime":1645632928658,"results":"113","hashOfConfig":"110"},{"size":1566,"mtime":1648218278137,"results":"114","hashOfConfig":"110"},{"size":466,"mtime":1645631400287,"results":"115","hashOfConfig":"110"},{"size":587,"mtime":1649411896279,"results":"116","hashOfConfig":"110"},{"size":1992,"mtime":1649412721746,"results":"117","hashOfConfig":"110"},{"size":3057,"mtime":1649424093515,"results":"118","hashOfConfig":"110"},{"size":617,"mtime":1645455098982,"results":"119","hashOfConfig":"110"},{"size":433,"mtime":1645449627972,"results":"120","hashOfConfig":"110"},{"size":2938,"mtime":1646997973826,"results":"121","hashOfConfig":"110"},{"size":1041,"mtime":1649260599129,"results":"122","hashOfConfig":"110"},{"size":8126,"mtime":1649876594592,"results":"123","hashOfConfig":"110"},{"size":254,"mtime":1645095895000,"results":"124","hashOfConfig":"110"},{"size":14245,"mtime":1649160621967,"results":"125","hashOfConfig":"110"},{"size":7608,"mtime":1649942585789,"results":"126","hashOfConfig":"110"},{"size":434,"mtime":1649943988367,"results":"127","hashOfConfig":"110"},{"size":553,"mtime":1649944001210,"results":"128","hashOfConfig":"110"},{"size":706,"mtime":1645453376991,"results":"129","hashOfConfig":"110"},{"size":670,"mtime":1645616676512,"results":"130","hashOfConfig":"110"},{"size":618,"mtime":1649943561378,"results":"131","hashOfConfig":"110"},{"size":359,"mtime":1647641342299,"results":"132","hashOfConfig":"110"},{"size":964,"mtime":1648031590937,"results":"133","hashOfConfig":"110"},{"size":1888,"mtime":1646828344933,"results":"134","hashOfConfig":"110"},{"size":2390,"mtime":1649849665476,"results":"135","hashOfConfig":"110"},{"size":501,"mtime":1649336973843,"results":"136","hashOfConfig":"110"},{"size":641,"mtime":1649336979050,"results":"137","hashOfConfig":"110"},{"size":307,"mtime":1649685603738,"results":"138","hashOfConfig":"110"},{"size":134,"mtime":1643967373421,"results":"139","hashOfConfig":"110"},{"size":2498,"mtime":1647523696616,"results":"140","hashOfConfig":"110"},{"size":3684,"mtime":1647523663735,"results":"141","hashOfConfig":"110"},{"size":1048,"mtime":1649685254525,"results":"142","hashOfConfig":"110"},{"size":4539,"mtime":1649875090379,"results":"143","hashOfConfig":"110"},{"size":3247,"mtime":1649762177597,"results":"144","hashOfConfig":"110"},{"size":1214,"mtime":1647418680476,"results":"145","hashOfConfig":"110"},{"size":2028,"mtime":1647520605581,"results":"146","hashOfConfig":"110"},{"size":4268,"mtime":1649931406859,"results":"147","hashOfConfig":"110"},{"size":585,"mtime":1647767245237,"results":"148","hashOfConfig":"110"},{"size":357,"mtime":1647767222161,"results":"149","hashOfConfig":"110"},{"size":422,"mtime":1645451030009,"results":"150","hashOfConfig":"110"},{"size":958,"mtime":1649944216767,"results":"151","hashOfConfig":"110"},{"size":571,"mtime":1647419600038,"results":"152","hashOfConfig":"110"},{"size":1911,"mtime":1648066283013,"results":"153","hashOfConfig":"110"},{"size":3014,"mtime":1649947132562,"results":"154","hashOfConfig":"110"},{"size":4191,"mtime":1649947531434,"results":"155","hashOfConfig":"110"},{"size":2874,"mtime":1649156847124,"results":"156","hashOfConfig":"110"},{"size":740,"mtime":1649075163726,"results":"157","hashOfConfig":"110"},{"size":434,"mtime":1646825164889,"results":"158","hashOfConfig":"110"},{"size":12291,"mtime":1646824749224,"results":"159","hashOfConfig":"110"},{"size":509,"mtime":1647894609835,"results":"160","hashOfConfig":"110"},{"size":897,"mtime":1644438398066,"results":"161","hashOfConfig":"110"},{"size":15435,"mtime":1643905724114,"results":"162","hashOfConfig":"110"},{"size":178,"mtime":1643966770113,"results":"163","hashOfConfig":"110"},{"size":3170,"mtime":1649938347644,"results":"164","hashOfConfig":"110"},{"size":2067,"mtime":1649948106191,"results":"165","hashOfConfig":"110"},{"size":494,"mtime":1647419591816,"results":"166","hashOfConfig":"110"},{"size":530,"mtime":1647607788820,"results":"167","hashOfConfig":"110"},{"size":273,"mtime":1647767258784,"results":"168","hashOfConfig":"110"},{"size":652,"mtime":1647349279763,"results":"169","hashOfConfig":"110"},{"size":1880,"mtime":1644235197856,"results":"170","hashOfConfig":"110"},{"size":553,"mtime":1649247642737,"results":"171","hashOfConfig":"110"},{"size":2914,"mtime":1649876234298,"results":"172","hashOfConfig":"110"},{"size":4253,"mtime":1649064554831,"results":"173","hashOfConfig":"110"},{"size":4232,"mtime":1649854185943,"results":"174","hashOfConfig":"110"},{"size":2718,"mtime":1648066405510,"results":"175","hashOfConfig":"110"},{"size":2721,"mtime":1648066370328,"results":"176","hashOfConfig":"110"},{"size":2908,"mtime":1649876223381,"results":"177","hashOfConfig":"110"},{"size":1979,"mtime":1647594445709,"results":"178","hashOfConfig":"110"},{"size":1223,"mtime":1648037588572,"results":"179","hashOfConfig":"110"},{"size":2686,"mtime":1648201072367,"results":"180","hashOfConfig":"110"},{"size":2683,"mtime":1648201115792,"results":"181","hashOfConfig":"110"},{"size":3521,"mtime":1648068291860,"results":"182","hashOfConfig":"110"},{"size":3534,"mtime":1648068353970,"results":"183","hashOfConfig":"110"},{"size":765,"mtime":1647895243128,"results":"184","hashOfConfig":"110"},{"size":2755,"mtime":1649257664684,"results":"185","hashOfConfig":"110"},{"size":1696,"mtime":1649324346506,"results":"186","hashOfConfig":"110"},{"size":2536,"mtime":1649172797983,"results":"187","hashOfConfig":"110"},{"size":1195,"mtime":1649248058133,"results":"188","hashOfConfig":"110"},{"size":2499,"mtime":1649249937144,"results":"189","hashOfConfig":"110"},{"size":3633,"mtime":1649255675157,"results":"190","hashOfConfig":"110"},{"size":2275,"mtime":1649256532734,"results":"191","hashOfConfig":"110"},{"size":937,"mtime":1646913811519,"results":"192","hashOfConfig":"110"},{"size":2318,"mtime":1649855979785,"results":"193","hashOfConfig":"110"},{"size":2436,"mtime":1649256503218,"results":"194","hashOfConfig":"110"},{"size":819,"mtime":1649257556480,"results":"195","hashOfConfig":"110"},{"size":3752,"mtime":1649765471571,"results":"196","hashOfConfig":"110"},{"size":3305,"mtime":1649172158424,"results":"197","hashOfConfig":"110"},{"size":1873,"mtime":1649071094589,"results":"198","hashOfConfig":"110"},{"size":716,"mtime":1649253656825,"results":"199","hashOfConfig":"110"},{"size":2660,"mtime":1649856511852,"results":"200","hashOfConfig":"110"},{"size":2472,"mtime":1649425303951,"results":"201","hashOfConfig":"110"},{"size":1855,"mtime":1649071114699,"results":"202","hashOfConfig":"110"},{"size":855,"mtime":1649065410971,"results":"203","hashOfConfig":"110"},{"size":8749,"mtime":1649938281247,"results":"204","hashOfConfig":"110"},{"size":528,"mtime":1649155695700,"results":"205","hashOfConfig":"110"},{"size":4507,"mtime":1649938253595,"results":"206","hashOfConfig":"110"},{"size":1889,"mtime":1649071147133,"results":"207","hashOfConfig":"110"},{"size":1407,"mtime":1649935069344,"results":"208","hashOfConfig":"110"},{"size":4477,"mtime":1649938241362,"results":"209","hashOfConfig":"110"},{"size":461,"mtime":1649944029869,"results":"210","hashOfConfig":"110"},{"size":466,"mtime":1643966451100,"results":"211","hashOfConfig":"110"},{"size":537,"mtime":1649944756923,"results":"212","hashOfConfig":"110"},{"size":2440,"mtime":1649947932333,"results":"213","hashOfConfig":"110"},{"size":2471,"mtime":1649947940477,"results":"214","hashOfConfig":"110"},{"size":2488,"mtime":1649947924139,"results":"215","hashOfConfig":"110"},{"size":2917,"mtime":1649947905541,"results":"216","hashOfConfig":"110"},{"size":1522,"mtime":1649948557437,"results":"217","hashOfConfig":"110"},{"filePath":"218","messages":"219","errorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},"1qtp245",{"filePath":"220","messages":"221","errorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"222","messages":"223","errorCount":0,"warningCount":2,"fixableErrorCount":0,"fixableWarningCount":0,"source":null},{"filePath":"224","messages":"225","errorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0,"usedDeprecatedRules":"226"},{"filePath":"227","messages":"228","errorCount":0,"warningCount":1,"fixableErrorCount":0,"fixableWarningCount":0,"source":null},{"filePath":"229","messages":"230","errorCount":0,"warningCount":1,"fixableErrorCount":0,"fixableWarningCount":0,"source":"231","usedDeprecatedRules":"226"},{"filePath":"232","messages":"233","errorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0,"usedDeprecatedRules":"234"},{"filePath":"235","messages":"236","errorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0,"usedDeprecatedRules":"237"},{"filePath":"238","messages":"239","errorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0,"usedDeprecatedRules":"234"},{"filePath":"240","messages":"241","errorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0,"usedDeprecatedRules":"242"},{"filePath":"243","messages":"244","errorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0,"usedDeprecatedRules":"245"},{"filePath":"246","messages":"247","errorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0,"usedDeprecatedRules":"245"},{"filePath":"248","messages":"249","errorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"250","messages":"251","errorCount":0,"warningCount":1,"fixableErrorCount":0,"fixableWarningCount":0,"source":"252","usedDeprecatedRules":"253"},{"filePath":"254","messages":"255","errorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0,"usedDeprecatedRules":"234"},{"filePath":"256","messages":"257","errorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0,"usedDeprecatedRules":"258"},{"filePath":"259","messages":"260","errorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"261","messages":"262","errorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0,"usedDeprecatedRules":"253"},{"filePath":"263","messages":"264","errorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"265","messages":"266","errorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0,"usedDeprecatedRules":"267"},{"filePath":"268","messages":"269","errorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0,"usedDeprecatedRules":"270"},{"filePath":"271","messages":"272","errorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"273","messages":"274","errorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0,"usedDeprecatedRules":"234"},{"filePath":"275","messages":"276","errorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0,"usedDeprecatedRules":"277"},{"filePath":"278","messages":"279","errorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0,"usedDeprecatedRules":"253"},{"filePath":"280","messages":"281","errorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"282","messages":"283","errorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"284","messages":"285","errorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0,"usedDeprecatedRules":"234"},{"filePath":"286","messages":"287","errorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0,"usedDeprecatedRules":"258"},{"filePath":"288","messages":"289","errorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0,"usedDeprecatedRules":"277"},{"filePath":"290","messages":"291","errorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0,"usedDeprecatedRules":"292"},{"filePath":"293","messages":"294","errorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0,"usedDeprecatedRules":"295"},{"filePath":"296","messages":"297","errorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"298","messages":"299","errorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"300","messages":"301","errorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0,"usedDeprecatedRules":"302"},{"filePath":"303","messages":"304","errorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0,"usedDeprecatedRules":"305"},{"filePath":"306","messages":"307","errorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0,"usedDeprecatedRules":"308"},{"filePath":"309","messages":"310","errorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"311","messages":"312","errorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0,"usedDeprecatedRules":"313"},{"filePath":"314","messages":"315","errorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0,"usedDeprecatedRules":"302"},{"filePath":"316","messages":"317","errorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0,"usedDeprecatedRules":"318"},{"filePath":"319","messages":"320","errorCount":0,"warningCount":1,"fixableErrorCount":0,"fixableWarningCount":0,"source":null},{"filePath":"321","messages":"322","errorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0,"usedDeprecatedRules":"277"},{"filePath":"323","messages":"324","errorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0,"usedDeprecatedRules":"325"},{"filePath":"326","messages":"327","errorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"328","messages":"329","errorCount":0,"warningCount":1,"fixableErrorCount":0,"fixableWarningCount":0,"source":null},{"filePath":"330","messages":"331","errorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0,"usedDeprecatedRules":"237"},{"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":"237"},{"filePath":"336","messages":"337","errorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0,"usedDeprecatedRules":"338"},{"filePath":"339","messages":"340","errorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0,"usedDeprecatedRules":"237"},{"filePath":"341","messages":"342","errorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"343","messages":"344","errorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0,"usedDeprecatedRules":"313"},{"filePath":"345","messages":"346","errorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0,"usedDeprecatedRules":"234"},{"filePath":"347","messages":"348","errorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"349","messages":"350","errorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"351","messages":"352","errorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0,"usedDeprecatedRules":"226"},{"filePath":"353","messages":"354","errorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0,"usedDeprecatedRules":"338"},{"filePath":"355","messages":"356","errorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0,"usedDeprecatedRules":"242"},{"filePath":"357","messages":"358","errorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0,"usedDeprecatedRules":"359"},{"filePath":"360","messages":"361","errorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0,"usedDeprecatedRules":"362"},{"filePath":"363","messages":"364","errorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0,"usedDeprecatedRules":"359"},{"filePath":"365","messages":"366","errorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0,"usedDeprecatedRules":"253"},{"filePath":"367","messages":"368","errorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0,"usedDeprecatedRules":"242"},{"filePath":"369","messages":"370","errorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"371","messages":"372","errorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0,"usedDeprecatedRules":"258"},{"filePath":"373","messages":"374","errorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0,"usedDeprecatedRules":"234"},{"filePath":"375","messages":"376","errorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"377","messages":"378","errorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0,"usedDeprecatedRules":"234"},{"filePath":"379","messages":"380","errorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0,"usedDeprecatedRules":"381"},{"filePath":"382","messages":"383","errorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0,"usedDeprecatedRules":"226"},{"filePath":"384","messages":"385","errorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0,"usedDeprecatedRules":"237"},{"filePath":"386","messages":"387","errorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0,"usedDeprecatedRules":"388"},{"filePath":"389","messages":"390","errorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0,"usedDeprecatedRules":"391"},{"filePath":"392","messages":"393","errorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0,"usedDeprecatedRules":"381"},{"filePath":"394","messages":"395","errorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0,"usedDeprecatedRules":"245"},{"filePath":"396","messages":"397","errorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"398","messages":"399","errorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"400","messages":"401","errorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0,"usedDeprecatedRules":"308"},{"filePath":"402","messages":"403","errorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0,"usedDeprecatedRules":"258"},{"filePath":"404","messages":"405","errorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"406","messages":"407","errorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0,"usedDeprecatedRules":"226"},{"filePath":"408","messages":"409","errorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0,"usedDeprecatedRules":"302"},{"filePath":"410","messages":"411","errorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"412","messages":"413","errorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0,"usedDeprecatedRules":"253"},{"filePath":"414","messages":"415","errorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"416","messages":"417","errorCount":0,"warningCount":1,"fixableErrorCount":0,"fixableWarningCount":0,"source":"418","usedDeprecatedRules":"253"},{"filePath":"419","messages":"420","errorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"421","messages":"422","errorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"423","messages":"424","errorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0,"usedDeprecatedRules":"234"},{"filePath":"425","messages":"426","errorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"427","messages":"428","errorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0,"usedDeprecatedRules":"429"},{"filePath":"430","messages":"431","errorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"432","messages":"433","errorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0,"usedDeprecatedRules":"245"},{"filePath":"434","messages":"435","errorCount":0,"warningCount":1,"fixableErrorCount":0,"fixableWarningCount":0,"source":null},{"filePath":"436","messages":"437","errorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"438","messages":"439","errorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0,"usedDeprecatedRules":"253"},{"filePath":"440","messages":"441","errorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"442","messages":"443","errorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"444","messages":"445","errorCount":0,"warningCount":2,"fixableErrorCount":0,"fixableWarningCount":0,"source":"446"},{"filePath":"447","messages":"448","errorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"449","messages":"450","errorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"451","messages":"452","errorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"453","messages":"454","errorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"455","messages":"456","errorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"457","messages":"458","errorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"459","messages":"460","errorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"461","messages":"462","errorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},"D:\\web\\NIX\\FINAL-PROJECT-FRONT\\src\\redux\\chats\\selector\\index.ts",[],"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",["463","464"],"D:\\web\\NIX\\FINAL-PROJECT-FRONT\\src\\redux\\chats\\operations\\index.ts",[],["465","466"],"D:\\web\\NIX\\FINAL-PROJECT-FRONT\\src\\components\\HomePage\\RightBar\\index.tsx",["467"],"D:\\web\\NIX\\FINAL-PROJECT-FRONT\\src\\redux\\chats\\action\\index.ts",["468"],"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","D:\\web\\NIX\\FINAL-PROJECT-FRONT\\src\\redux\\chats\\reducer\\index.ts",[],["469","470"],"D:\\web\\NIX\\FINAL-PROJECT-FRONT\\src\\components\\HomePage\\RightBar\\HeaderBar\\Credentials\\index.tsx",[],["471","472"],"D:\\web\\NIX\\FINAL-PROJECT-FRONT\\src\\App.tsx",[],"D:\\web\\NIX\\FINAL-PROJECT-FRONT\\src\\redux\\contacts\\reducer\\index.ts",[],["473","474"],"D:\\web\\NIX\\FINAL-PROJECT-FRONT\\src\\redux\\contacts\\action\\index.ts",[],["475","476"],"D:\\web\\NIX\\FINAL-PROJECT-FRONT\\src\\components\\HomePage\\LeftBar\\SearchBar\\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\\ChatBar\\index.tsx",["477"],"import { makeStyles } from \"@material-ui/core/styles\";\r\nimport { useState, useEffect, useRef, useCallback } from \"react\";\r\nimport { useSelector,useDispatch } from \"react-redux\";\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 MessageLeftVideo from './Messages/MessageLeftVideo'\r\nimport MessageLeftFile from \"./Messages/MessageLeftFile\";\r\nimport MessageRightText from './Messages/MessageRightText'\r\nimport MessageRightImage from './Messages/MessageRightImage'\r\nimport MessageRightAudio from './Messages/MessageRightAudio'\r\nimport MessageRightVideo from './Messages/MessageRightVideo'\r\nimport MessageRightFile from \"./Messages/MessageRightFile\";\r\nimport MessageTime from \"./Messages/MessageTime\";\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\nimport { timeStampFilter } from \"../../../../helpers\";\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: \"60%\",\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,total } = useSelector(getChat)\r\n const scroll = useSelector(getScroll)\r\n const [isArrow, setIsArrow] = useState<boolean>(false)\r\n const [isScroll, setIsScroll] = useState<boolean>(true)\r\n const [isNew, setIsNew] = useState<{new:number,mute:boolean}>({new:0,mute:false})\r\n const divRef = useRef<any | null>(null)\r\n let time:any\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\r\n const handleScroll = useCallback(({ target }: any) => {\r\n isScroll&&setIsScroll(false)\r\n const different = target.scrollHeight - target.scrollTop\r\n if (different < 900) seenChat(companionId)\r\n setIsArrow(different < 1500 ? false : true)\r\n }, [isScroll, companionId])\r\n \r\n const debouncedHandleScroll = 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 = () => {\r\n dispatch(asyncGetMessagesById(companionId, null))\r\n const arr: any = localStorage.getItem('isNew')\r\n if(arr) setIsNew(JSON.parse(arr))\r\n }\r\n const idInterval = setInterval(handleReset, 3000);\r\n return () => clearInterval(idInterval);\r\n }, [dispatch, companionId]);\r\n\r\n useEffect(() => {\r\n const scrollHeight = divRef.current.scrollHeight\r\n const clientHeight = divRef.current.clientHeight\r\n if(isScroll&&scrollHeight === clientHeight) seenChat(companionId)\r\n }, [isScroll, companionId, total]);\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, name, lastName, color,\r\n updatedAt, createdAt,number, type,fullType }) => {\r\n let isTime\r\n if (!time) {\r\n isTime = true\r\n time = updatedAt\r\n } else if (timeStampFilter(time) !== timeStampFilter(updatedAt)) {\r\n time = updatedAt\r\n isTime = true\r\n }\r\n const url = `http://localhost:3000/${message}`\r\n if (number !== userNumber) {\r\n if (type === 'text') return (<div key={createdAt}>\r\n {isTime&&<MessageTime message={timeStampFilter(updatedAt)}/>}\r\n <MessageLeftText\r\n message={message}\r\n updatedAt={updatedAt}\r\n name={name}\r\n lastName={lastName}\r\n /></div>)\r\n if (type === 'image') return (<div key={createdAt}>\r\n {isTime&&<MessageTime message={timeStampFilter(updatedAt)}/>}\r\n <MessageLeftImage \r\n url={url}\r\n updatedAt={updatedAt}\r\n color={color}\r\n message={message}\r\n messages={messages}\r\n fullType={fullType}\r\n /></div>)\r\n if (type === 'audio') return (<div key={createdAt}>\r\n {isTime&&<MessageTime message={timeStampFilter(updatedAt)}/>}\r\n <MessageLeftAudio \r\n url={url}\r\n updatedAt={updatedAt}\r\n fullType={fullType}\r\n /></div>)\r\n if (type === 'video') return (<div key={createdAt}>\r\n {isTime&&<MessageTime message={timeStampFilter(updatedAt)}/>}\r\n <MessageLeftVideo \r\n url={url}\r\n updatedAt={updatedAt}\r\n fullType={fullType}\r\n /></div>)\r\n if (type) return (<div key={createdAt}>\r\n {isTime&&<MessageTime message={timeStampFilter(updatedAt)}/>}\r\n <MessageLeftFile \r\n url={url}\r\n updatedAt={updatedAt}\r\n type={type}\r\n /></div>) \r\n } else {\r\n if (type === 'text') return (<div key={createdAt}>\r\n {isTime&&<MessageTime message={timeStampFilter(updatedAt)}/>}\r\n <MessageRightText \r\n message={message}\r\n updatedAt={updatedAt}\r\n name={name}\r\n lastName={lastName} \r\n /></div>)\r\n if (type === 'image') return (<div key={createdAt}>\r\n {isTime&&<MessageTime message={timeStampFilter(updatedAt)}/>}\r\n <MessageRightImage \r\n url={url}\r\n updatedAt={updatedAt}\r\n color={color}\r\n message={message}\r\n messages={messages}\r\n fullType={fullType}\r\n /></div>)\r\n if (type === 'audio') return (<div key={createdAt}>\r\n {isTime&&<MessageTime message={timeStampFilter(updatedAt)}/>}\r\n <MessageRightAudio \r\n url={url}\r\n updatedAt={updatedAt}\r\n fullType={fullType}\r\n /></div>)\r\n if (type === 'video') return (<div key={createdAt}>\r\n {isTime&&<MessageTime message={timeStampFilter(updatedAt)}/>}\r\n <MessageRightVideo \r\n url={url}\r\n updatedAt={updatedAt}\r\n fullType={fullType}\r\n /></div>)\r\n if (type) return (<div key={createdAt}>\r\n {isTime&&<MessageTime message={timeStampFilter(updatedAt)}/>}\r\n <MessageRightFile \r\n url={url}\r\n updatedAt={updatedAt}\r\n type={type}\r\n /></div>) \r\n }\r\n }) : <AlertInfo name='You do not have messages yet!' />}\r\n </div> \r\n <SendMessage isArrow={isArrow} isNew={isNew} handleScrollTo={handleScrollTo}/> \r\n </div>\r\n );\r\n}\r\n\r\nexport default ChatBar",["478","479"],"D:\\web\\NIX\\FINAL-PROJECT-FRONT\\src\\redux\\loading\\reducer\\index.ts",[],"D:\\web\\NIX\\FINAL-PROJECT-FRONT\\src\\components\\HomePage\\RightBar\\ChatBar\\SendMessage\\index.tsx",[],["480","481"],"D:\\web\\NIX\\FINAL-PROJECT-FRONT\\src\\api-data\\index.ts",[],"D:\\web\\NIX\\FINAL-PROJECT-FRONT\\src\\redux\\messages\\action\\index.ts",[],"D:\\web\\NIX\\FINAL-PROJECT-FRONT\\src\\redux\\messages\\operations\\index.ts",[],"D:\\web\\NIX\\FINAL-PROJECT-FRONT\\src\\components\\reusableComponents\\Loader\\Loader.jsx",[],["482","483"],"D:\\web\\NIX\\FINAL-PROJECT-FRONT\\src\\redux\\authorization\\selector\\index.ts",[],["484","485"],"D:\\web\\NIX\\FINAL-PROJECT-FRONT\\src\\redux\\messages\\reducer\\index.ts",[],"D:\\web\\NIX\\FINAL-PROJECT-FRONT\\src\\redux\\messages\\selector\\index.ts",[],"D:\\web\\NIX\\FINAL-PROJECT-FRONT\\src\\index.tsx",[],["486","487"],"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",[],"D:\\web\\NIX\\FINAL-PROJECT-FRONT\\src\\redux\\chat\\action\\index.ts",[],"D:\\web\\NIX\\FINAL-PROJECT-FRONT\\src\\redux\\chat\\operations\\index.ts",[],"D:\\web\\NIX\\FINAL-PROJECT-FRONT\\src\\redux\\chat\\selector\\index.ts",[],"D:\\web\\NIX\\FINAL-PROJECT-FRONT\\src\\redux\\loading\\selector\\index.ts",[],"D:\\web\\NIX\\FINAL-PROJECT-FRONT\\src\\components\\AuthPage\\index.tsx",[],["488","489"],"D:\\web\\NIX\\FINAL-PROJECT-FRONT\\src\\components\\AuthPage\\Authorization\\index.tsx",[],["490","491"],"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",[],"D:\\web\\NIX\\FINAL-PROJECT-FRONT\\src\\components\\HomePage\\RightBar\\HeaderBar\\Buttons\\MenuList\\index.tsx",[],["492","493"],"D:\\web\\NIX\\FINAL-PROJECT-FRONT\\src\\redux\\authorization\\reducer\\index.ts",[],["494","495"],"D:\\web\\NIX\\FINAL-PROJECT-FRONT\\src\\redux\\authorization\\operations\\index.ts",[],["496","497"],"D:\\web\\NIX\\FINAL-PROJECT-FRONT\\src\\helpers\\index.ts",[],"D:\\web\\NIX\\FINAL-PROJECT-FRONT\\src\\redux\\control\\reducer\\index.ts",[],["498","499"],"D:\\web\\NIX\\FINAL-PROJECT-FRONT\\src\\redux\\control\\action\\index.ts",[],"D:\\web\\NIX\\FINAL-PROJECT-FRONT\\src\\components\\reusableComponents\\AlertInfo\\index.tsx",[],["500","501"],"D:\\web\\NIX\\FINAL-PROJECT-FRONT\\src\\redux\\rootReducer\\index.ts",["502"],"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",[],["503","504"],"D:\\web\\NIX\\FINAL-PROJECT-FRONT\\src\\components\\HomePage\\LeftBar\\index.tsx",[],"D:\\web\\NIX\\FINAL-PROJECT-FRONT\\src\\components\\HomePage\\LeftBar\\SearchLists\\index.tsx",["505"],"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",[],["506","507"],"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\\helpers\\countries.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",[],"D:\\web\\NIX\\FINAL-PROJECT-FRONT\\src\\components\\HomePage\\LeftBar\\SearchLists\\ChatListRecent\\index.tsx",[],"D:\\web\\NIX\\FINAL-PROJECT-FRONT\\src\\components\\reusableComponents\\Routes\\PrivateRoute\\index.tsx",[],"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",[],["508","509"],"D:\\web\\NIX\\FINAL-PROJECT-FRONT\\src\\components\\AuthPage\\QRCode\\index.tsx",[],["510","511"],"D:\\web\\NIX\\FINAL-PROJECT-FRONT\\src\\redux\\contacts\\selector\\index.ts",[],"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\\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\\Messages\\MessageRightText\\index.tsx",[],"D:\\web\\NIX\\FINAL-PROJECT-FRONT\\src\\components\\AuthPage\\Registration\\UploadAvatar\\index.tsx",[],"D:\\web\\NIX\\FINAL-PROJECT-FRONT\\src\\components\\HomePage\\RightBar\\ChatBar\\FilesMenu\\UploadFile\\index.tsx",[],["512","513"],"D:\\web\\NIX\\FINAL-PROJECT-FRONT\\src\\components\\HomePage\\RightBar\\ChatBar\\Messages\\MessageRightVideo\\index.tsx",[],"D:\\web\\NIX\\FINAL-PROJECT-FRONT\\src\\components\\HomePage\\RightBar\\ChatBar\\Messages\\MessageLeftVideo\\index.tsx",[],"D:\\web\\NIX\\FINAL-PROJECT-FRONT\\src\\components\\HomePage\\RightBar\\ChatBar\\Messages\\MessageRightFile\\index.tsx",[],["514","515"],"D:\\web\\NIX\\FINAL-PROJECT-FRONT\\src\\components\\HomePage\\RightBar\\ChatBar\\Messages\\MessageLeftFile\\index.tsx",[],["516","517"],"D:\\web\\NIX\\FINAL-PROJECT-FRONT\\src\\components\\HomePage\\RightBar\\ChatBar\\Messages\\MessageTime\\index.tsx",[],"D:\\web\\NIX\\FINAL-PROJECT-FRONT\\src\\components\\HomePage\\RightBar\\HeaderBar\\RightListsAndBars\\CredentialsList\\ProfileLists\\index.tsx",[],"D:\\web\\NIX\\FINAL-PROJECT-FRONT\\src\\components\\HomePage\\RightBar\\HeaderBar\\RightListsAndBars\\CredentialsList\\ProfilePicture\\index.tsx",[],"D:\\web\\NIX\\FINAL-PROJECT-FRONT\\src\\components\\HomePage\\RightBar\\HeaderBar\\RightListsAndBars\\CredentialsList\\ProfileLists\\MediaList\\MediaListItem\\index.tsx",[],"D:\\web\\NIX\\FINAL-PROJECT-FRONT\\src\\components\\HomePage\\RightBar\\HeaderBar\\RightListsAndBars\\EditBar\\ToolBar\\index.tsx",[],"D:\\web\\NIX\\FINAL-PROJECT-FRONT\\src\\components\\HomePage\\RightBar\\HeaderBar\\RightListsAndBars\\CredentialsList\\ToolBar\\index.tsx",[],"D:\\web\\NIX\\FINAL-PROJECT-FRONT\\src\\components\\HomePage\\RightBar\\HeaderBar\\RightListsAndBars\\EditBar\\EditList\\index.tsx",[],"D:\\web\\NIX\\FINAL-PROJECT-FRONT\\src\\components\\HomePage\\RightBar\\HeaderBar\\RightListsAndBars\\EditBar\\index.tsx",[],"D:\\web\\NIX\\FINAL-PROJECT-FRONT\\src\\components\\HomePage\\RightBar\\HeaderBar\\RightListsAndBars\\SearchList\\Search\\StaticDatePicker\\index.tsx",[],"D:\\web\\NIX\\FINAL-PROJECT-FRONT\\src\\components\\HomePage\\RightBar\\HeaderBar\\RightListsAndBars\\CredentialsList\\ProfileLists\\TextList\\index.tsx",[],"D:\\web\\NIX\\FINAL-PROJECT-FRONT\\src\\components\\HomePage\\RightBar\\HeaderBar\\RightListsAndBars\\EditBar\\Delete\\index.tsx",[],"D:\\web\\NIX\\FINAL-PROJECT-FRONT\\src\\components\\HomePage\\RightBar\\HeaderBar\\RightListsAndBars\\CredentialsList\\index.tsx",[],"D:\\web\\NIX\\FINAL-PROJECT-FRONT\\src\\components\\HomePage\\RightBar\\HeaderBar\\RightListsAndBars\\SearchList\\index.tsx",["518"],"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 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 Divider from '@mui/material/Divider';\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\n\r\nconst useStyles = makeStyles({\r\n containerAbsolute: {\r\n position: 'absolute',\r\n top: 58,\r\n width: 506,\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 '&:hover': {\r\n backgroundColor: '#f0f0f0',\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 <div key={createdAt}>\r\n <ListItem alignItems=\"flex-start\" className={classes.listItem}>\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 <Divider variant=\"inset\"/>\r\n </div>)}\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\\RightListsAndBars\\SearchList\\Search\\index.tsx",[],"D:\\web\\NIX\\FINAL-PROJECT-FRONT\\src\\components\\HomePage\\RightBar\\HeaderBar\\RightListsAndBars\\CredentialsList\\ProfileLists\\AudioList\\index.tsx",[],"D:\\web\\NIX\\FINAL-PROJECT-FRONT\\src\\components\\HomePage\\RightBar\\HeaderBar\\RightListsAndBars\\EditBar\\SubmitBtn\\index.tsx",[],"D:\\web\\NIX\\FINAL-PROJECT-FRONT\\src\\components\\HomePage\\RightBar\\HeaderBar\\RightListsAndBars\\CredentialsList\\ProfileMenu\\index.tsx",[],"D:\\web\\NIX\\FINAL-PROJECT-FRONT\\src\\components\\HomePage\\RightBar\\HeaderBar\\Buttons\\DeleteModal\\index.tsx",[],["519","520"],"D:\\web\\NIX\\FINAL-PROJECT-FRONT\\src\\components\\HomePage\\RightBar\\HeaderBar\\RightListsAndBars\\CredentialsList\\ProfileLists\\FilesList\\index.tsx",[],"D:\\web\\NIX\\FINAL-PROJECT-FRONT\\src\\components\\HomePage\\RightBar\\HeaderBar\\RightListsAndBars\\CredentialsList\\ProfileLists\\MediaList\\index.tsx",[],"D:\\web\\NIX\\FINAL-PROJECT-FRONT\\src\\components\\HomePage\\LeftBar\\ChatsList\\ChatItem\\index.tsx",["521"],"D:\\web\\NIX\\FINAL-PROJECT-FRONT\\src\\components\\HomePage\\RightBar\\HeaderBar\\RightListsAndBars\\index.tsx",[],"D:\\web\\NIX\\FINAL-PROJECT-FRONT\\src\\components\\HomePage\\LeftBar\\ContactsList\\ContactItem\\index.tsx",[],"D:\\web\\NIX\\FINAL-PROJECT-FRONT\\src\\components\\HomePage\\RightBar\\HeaderBar\\RightListsAndBars\\CredentialsList\\ProfileLists\\VideoList\\index.tsx",[],"D:\\web\\NIX\\FINAL-PROJECT-FRONT\\src\\components\\HomePage\\LeftBar\\SearchLists\\ChatListRecent\\RecentItem\\index.tsx",[],"D:\\web\\NIX\\FINAL-PROJECT-FRONT\\src\\components\\HomePage\\LeftBar\\SearchLists\\ChatListRecent\\ChatItem\\index.tsx",["522","523"],"import { makeStyles,Typography } from '@material-ui/core'\r\nimport { useState } from 'react';\r\nimport { styled } from '@mui/material/styles';\r\nimport Menu from '@mui/material/Menu';\r\nimport MenuItem from '@mui/material/MenuItem';\r\nimport VolumeOffIcon from '@mui/icons-material/VolumeOff';\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 DoneAllIcon from '@mui/icons-material/DoneAll';\r\nimport PushPinIcon from '@mui/icons-material/PushPin';\r\n\r\nimport { TChat } from '../../../../../../typescript/redux/chats/types';\r\nimport { firstLetter,slicedWord,timeStampEU } from '../../../../../../helpers';\r\n\r\nconst StyledMenu = styled((props:any) => (\r\n <Menu\r\n elevation={0}\r\n anchorOrigin={{\r\n vertical: 'top',\r\n horizontal: 'right',\r\n }}\r\n transformOrigin={{\r\n vertical: 'bottom',\r\n horizontal: 'right',\r\n }}\r\n {...props}\r\n />\r\n))(({ theme }:any) => ({\r\n '& .MuiPaper-root': {\r\n borderRadius: 10,\r\n marginTop: theme.spacing(0),\r\n minWidth: 220,\r\n color:\r\n theme.palette.mode === 'light' ? 'rgb(55, 65, 81)' : theme.palette.grey[500],\r\n boxShadow:\r\n 'rgb(255, 255, 255) 0px 0px 0px 0px, rgba(0, 0, 0, 0.05) 0px 0px 0px 1px, rgba(0, 0, 0, 0.1) 0px 10px 15px -3px, rgba(0, 0, 0, 0.05) 0px 4px 6px -2px',\r\n '& .MuiMenu-list': {\r\n padding: '8px 8px',\r\n },\r\n '& .MuiMenuItem-root': {\r\n marginBottom: theme.spacing(1),\r\n '& .MuiSvgIcon-root': {\r\n fontSize: 21,\r\n color: theme.palette.text.secondary,\r\n marginRight: theme.spacing(4),\r\n }\r\n },\r\n },\r\n}));\r\n\r\nconst useStyles = makeStyles({\r\n listItemInnerText: {\r\n display: 'flex',\r\n alignContent: 'center',\r\n alignItems: 'center',\r\n flexWrap: 'nowrap',\r\n },\r\n listItem_iconAvatar: {\r\n marginRight:10\r\n },\r\n listItem_iconRight: {\r\n marginRight: 10,\r\n },\r\n listItem_icon_time: {\r\n fontSize: 12,\r\n marginLeft: 5,\r\n paddingBottom:25,\r\n color: '#1b1b1b'\r\n },\r\n})\r\n\r\ninterface IChatItem {\r\n chat: TChat,\r\n handleListItemClick: (companionId: string) => void,\r\n}\r\n\r\nconst ChatItem = ({chat,handleListItemClick}:IChatItem) => {\r\n const classes = useStyles()\r\n const [anchorEl, setAnchorEl] = useState<any>(null);\r\n const [selected, setSelected] = useState<boolean>(false);\r\n const open = Boolean(anchorEl);\r\n const {name,lastName,avatarUrl,color,companionId,lastMessage,lastMessageCreatedAt,createdAt} = chat\r\n\r\n const handleClose = (type: string | undefined): void => {\r\n if (type === 'pin') console.log('pin to top')\r\n setAnchorEl(null)\r\n setSelected(false)\r\n }\r\n const handleContextMenu = (e: React.MouseEvent<HTMLDivElement>):void => {\r\n e.preventDefault()\r\n setAnchorEl(e.currentTarget)\r\n setSelected(true)\r\n } \r\n\r\n return (\r\n <div>\r\n <ListItemButton\r\n selected={selected}\r\n onClick={() => handleListItemClick(companionId)}\r\n onContextMenu={(e) => handleContextMenu(e)}\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={`${lastMessage ? slicedWord(lastMessage, 35) :\r\n `${firstLetter(name)}${slicedWord(name, 8, 1)} joined Telegram`}`}/>\r\n <ListItemIcon className={classes.listItem_iconRight}>\r\n <Typography className={classes.listItem_icon_time} variant=\"h6\" color=\"initial\">\r\n {timeStampEU(lastMessageCreatedAt?lastMessageCreatedAt:createdAt)}\r\n </Typography>\r\n </ListItemIcon> \r\n </ListItemButton>\r\n <StyledMenu\r\n id=\"demo-positioned-menu\"\r\n aria-labelledby=\"demo-positioned-button\"\r\n anchorEl={anchorEl}\r\n open={open}\r\n onClose={handleClose}\r\n >\r\n <MenuItem onClick={() => handleClose('pin')}>\r\n <PushPinIcon /> \r\n Pin to top\r\n </MenuItem> \r\n </StyledMenu> \r\n </div>\r\n );\r\n}\r\nexport default ChatItem","D:\\web\\NIX\\FINAL-PROJECT-FRONT\\src\\redux\\allMessages\\action\\index.ts",[],"D:\\web\\NIX\\FINAL-PROJECT-FRONT\\src\\redux\\store\\index.ts",[],"D:\\web\\NIX\\FINAL-PROJECT-FRONT\\src\\redux\\allMessages\\operations\\index.ts",[],"D:\\web\\NIX\\FINAL-PROJECT-FRONT\\src\\components\\HomePage\\LeftBar\\SearchLists\\FilesList\\index.tsx",[],"D:\\web\\NIX\\FINAL-PROJECT-FRONT\\src\\components\\HomePage\\LeftBar\\SearchLists\\AudioList\\index.tsx",[],"D:\\web\\NIX\\FINAL-PROJECT-FRONT\\src\\components\\HomePage\\LeftBar\\SearchLists\\VideoList\\index.tsx",[],"D:\\web\\NIX\\FINAL-PROJECT-FRONT\\src\\components\\HomePage\\LeftBar\\SearchLists\\TextList\\index.tsx",[],"D:\\web\\NIX\\FINAL-PROJECT-FRONT\\src\\components\\HomePage\\LeftBar\\SearchLists\\MediaList\\index.tsx",[],{"ruleId":"524","severity":1,"message":"525","line":3,"column":20,"nodeType":"526","messageId":"527","endLine":3,"endColumn":28},{"ruleId":"528","severity":1,"message":"529","line":55,"column":103,"nodeType":"530","messageId":"531","endLine":55,"endColumn":105},{"ruleId":"532","replacedBy":"533"},{"ruleId":"534","replacedBy":"535"},{"ruleId":"524","severity":1,"message":"525","line":6,"column":10,"nodeType":"526","messageId":"527","endLine":6,"endColumn":18},{"ruleId":"524","severity":1,"message":"536","line":3,"column":10,"nodeType":"526","messageId":"527","endLine":3,"endColumn":15},{"ruleId":"532","replacedBy":"537"},{"ruleId":"534","replacedBy":"538"},{"ruleId":"532","replacedBy":"539"},{"ruleId":"534","replacedBy":"540"},{"ruleId":"532","replacedBy":"541"},{"ruleId":"534","replacedBy":"542"},{"ruleId":"532","replacedBy":"543"},{"ruleId":"534","replacedBy":"544"},{"ruleId":"528","severity":1,"message":"545","line":104,"column":57,"nodeType":"530","messageId":"531","endLine":104,"endColumn":59},{"ruleId":"532","replacedBy":"546"},{"ruleId":"534","replacedBy":"547"},{"ruleId":"532","replacedBy":"548"},{"ruleId":"534","replacedBy":"549"},{"ruleId":"532","replacedBy":"550"},{"ruleId":"534","replacedBy":"551"},{"ruleId":"532","replacedBy":"552"},{"ruleId":"534","replacedBy":"553"},{"ruleId":"532","replacedBy":"554"},{"ruleId":"534","replacedBy":"555"},{"ruleId":"532","replacedBy":"556"},{"ruleId":"534","replacedBy":"557"},{"ruleId":"532","replacedBy":"550"},{"ruleId":"534","replacedBy":"551"},{"ruleId":"532","replacedBy":"558"},{"ruleId":"534","replacedBy":"559"},{"ruleId":"532","replacedBy":"560"},{"ruleId":"534","replacedBy":"561"},{"ruleId":"532","replacedBy":"562"},{"ruleId":"534","replacedBy":"563"},{"ruleId":"532","replacedBy":"564"},{"ruleId":"534","replacedBy":"565"},{"ruleId":"532","replacedBy":"566"},{"ruleId":"534","replacedBy":"567"},{"ruleId":"524","severity":1,"message":"568","line":6,"column":8,"nodeType":"526","messageId":"527","endLine":6,"endColumn":26},{"ruleId":"532","replacedBy":"569"},{"ruleId":"534","replacedBy":"570"},{"ruleId":"528","severity":1,"message":"529","line":61,"column":65,"nodeType":"530","messageId":"531","endLine":61,"endColumn":67},{"ruleId":"532","replacedBy":"571"},{"ruleId":"534","replacedBy":"572"},{"ruleId":"532","replacedBy":"573"},{"ruleId":"534","replacedBy":"574"},{"ruleId":"532","replacedBy":"575"},{"ruleId":"534","replacedBy":"576"},{"ruleId":"532","replacedBy":"577"},{"ruleId":"534","replacedBy":"578"},{"ruleId":"532","replacedBy":"579"},{"ruleId":"534","replacedBy":"580"},{"ruleId":"532","replacedBy":"581"},{"ruleId":"534","replacedBy":"582"},{"ruleId":"528","severity":1,"message":"529","line":41,"column":57,"nodeType":"530","messageId":"531","endLine":41,"endColumn":59},{"ruleId":"532","replacedBy":"583"},{"ruleId":"534","replacedBy":"584"},{"ruleId":"524","severity":1,"message":"585","line":3,"column":10,"nodeType":"526","messageId":"527","endLine":3,"endColumn":21},{"ruleId":"524","severity":1,"message":"586","line":6,"column":8,"nodeType":"526","messageId":"527","endLine":6,"endColumn":21},{"ruleId":"524","severity":1,"message":"587","line":11,"column":8,"nodeType":"526","messageId":"527","endLine":11,"endColumn":19},"@typescript-eslint/no-unused-vars","'useState' is defined but never used.","Identifier","unusedVar","array-callback-return","Array.prototype.filter() expects a value to be returned at the end of arrow function.","ArrowFunctionExpression","expectedAtEnd","no-native-reassign",["588"],"no-negated-in-lhs",["589"],"'TChat' is defined but never used.",["588"],["589"],["588"],["589"],["588"],["589"],["588"],["589"],"Array.prototype.map() expects a value to be returned at the end of arrow function.",["588"],["589"],["588"],["589"],["588"],["589"],["588"],["589"],["588"],["589"],["588"],["589"],["588"],["589"],["588"],["589"],["588"],["589"],["588"],["589"],["588"],["589"],"'reducerAllMessages' is defined but never used.",["588"],["589"],["588"],["589"],["588"],["589"],["588"],["589"],["588"],["589"],["588"],["589"],["588"],["589"],["588"],["589"],"'useDispatch' is defined but never used.","'VolumeOffIcon' is defined but never used.","'DoneAllIcon' is defined but never used.","no-global-assign","no-unsafe-negation"]
|