-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy path.eslintcache
1 lines (1 loc) · 246 KB
/
.eslintcache
1
[{"C:\\projects\\MANAGEM-FRONTEND-ADMIN\\src\\App.js":"1","C:\\projects\\MANAGEM-FRONTEND-ADMIN\\src\\main\\shared\\Navigation\\Navigation.js":"2","C:\\projects\\MANAGEM-FRONTEND-ADMIN\\src\\main\\shared\\Footer\\Footer.js":"3","C:\\projects\\MANAGEM-FRONTEND-ADMIN\\src\\modules\\shared\\Configuration\\Configuration.js":"4","C:\\projects\\MANAGEM-FRONTEND-ADMIN\\src\\modules\\message\\Message\\Message.js":"5","C:\\projects\\MANAGEM-FRONTEND-ADMIN\\src\\modules\\task\\Tasks\\Tasks.js":"6","C:\\projects\\MANAGEM-FRONTEND-ADMIN\\src\\modules\\message\\AddMessage\\AddMessage.js":"7","C:\\projects\\MANAGEM-FRONTEND-ADMIN\\src\\main\\messages\\noteMessage.js":"8","C:\\projects\\MANAGEM-FRONTEND-ADMIN\\src\\main\\messages\\clientMessage.js":"9","C:\\projects\\MANAGEM-FRONTEND-ADMIN\\src\\main\\mocks\\MyTaskTestService.js":"10","C:\\projects\\MANAGEM-FRONTEND-ADMIN\\src\\main\\mocks\\TaskTestService.js":"11","C:\\projects\\MANAGEM-FRONTEND-ADMIN\\src\\modules\\mytask\\EditMyTask\\EditMyTask.js":"12","C:\\projects\\MANAGEM-FRONTEND-ADMIN\\src\\modules\\mytask\\ViewMyTask\\ViewMyTask.js":"13","C:\\projects\\MANAGEM-FRONTEND-ADMIN\\src\\modules\\project\\AddProject\\AddProject.js":"14","C:\\projects\\MANAGEM-FRONTEND-ADMIN\\src\\modules\\task\\EditTask\\EditTask.js":"15","C:\\projects\\MANAGEM-FRONTEND-ADMIN\\src\\modules\\client\\AddClient\\AddClient.js":"16","C:\\projects\\MANAGEM-FRONTEND-ADMIN\\src\\modules\\user\\AddUser\\AddUser.js":"17","C:\\projects\\MANAGEM-FRONTEND-ADMIN\\src\\main\\messages\\myTaskMessage.js":"18","C:\\projects\\MANAGEM-FRONTEND-ADMIN\\src\\main\\validations\\noteValidation.js":"19","C:\\projects\\MANAGEM-FRONTEND-ADMIN\\src\\main\\validations\\taskValidation.js":"20","C:\\projects\\MANAGEM-FRONTEND-ADMIN\\src\\main\\urls\\urls.js":"21","C:\\projects\\MANAGEM-FRONTEND-ADMIN\\src\\main\\mocks\\UserTestService.js":"22","C:\\projects\\MANAGEM-FRONTEND-ADMIN\\src\\modules\\user\\User\\User.js":"23","C:\\projects\\MANAGEM-FRONTEND-ADMIN\\src\\modules\\project\\Projects\\Projects.js":"24","C:\\projects\\MANAGEM-FRONTEND-ADMIN\\src\\main\\mocks\\ProjectTestService.js":"25","C:\\projects\\MANAGEM-FRONTEND-ADMIN\\src\\main\\mocks\\ClientTestService.js":"26","C:\\projects\\MANAGEM-FRONTEND-ADMIN\\src\\modules\\client\\Client\\Client.js":"27","C:\\projects\\MANAGEM-FRONTEND-ADMIN\\src\\main\\messages\\taskMessage.js":"28","C:\\projects\\MANAGEM-FRONTEND-ADMIN\\src\\main\\mocks\\MessageTestService.js":"29","C:\\projects\\MANAGEM-FRONTEND-ADMIN\\src\\modules\\note\\ViewNote\\ViewNote.js":"30","C:\\projects\\MANAGEM-FRONTEND-ADMIN\\src\\modules\\task\\ViewTask\\ViewTask.js":"31","C:\\projects\\MANAGEM-FRONTEND-ADMIN\\src\\modules\\project\\EditProject\\EditProject.js":"32","C:\\projects\\MANAGEM-FRONTEND-ADMIN\\src\\modules\\user\\EditUser\\EditUser.js":"33","C:\\projects\\MANAGEM-FRONTEND-ADMIN\\src\\libraries\\messages\\messages.js":"34","C:\\projects\\MANAGEM-FRONTEND-ADMIN\\src\\main\\validations\\projectValidation.js":"35","C:\\projects\\MANAGEM-FRONTEND-ADMIN\\src\\libraries\\axios\\axios.js":"36","C:\\projects\\MANAGEM-FRONTEND-ADMIN\\src\\main\\shared\\Header\\Header.js":"37","C:\\projects\\MANAGEM-FRONTEND-ADMIN\\src\\modules\\user\\ViewUser\\ViewUser.js":"38","C:\\projects\\MANAGEM-FRONTEND-ADMIN\\src\\modules\\task\\AddTask\\AddTask.js":"39","C:\\projects\\MANAGEM-FRONTEND-ADMIN\\src\\main\\validations\\clientValidation.js":"40","C:\\projects\\MANAGEM-FRONTEND-ADMIN\\src\\main\\shared\\Content\\Content.js":"41","C:\\projects\\MANAGEM-FRONTEND-ADMIN\\src\\index.js":"42","C:\\projects\\MANAGEM-FRONTEND-ADMIN\\src\\main\\shared\\Root\\Root.js":"43","C:\\projects\\MANAGEM-FRONTEND-ADMIN\\src\\main\\config\\user.js":"44","C:\\projects\\MANAGEM-FRONTEND-ADMIN\\src\\modules\\shared\\DashBoard\\DashBoard.js":"45","C:\\projects\\MANAGEM-FRONTEND-ADMIN\\src\\modules\\shared\\DashBoard\\TimeLine.js":"46","C:\\projects\\MANAGEM-FRONTEND-ADMIN\\src\\modules\\mytask\\Task\\Task.js":"47","C:\\projects\\MANAGEM-FRONTEND-ADMIN\\src\\main\\messages\\messageMessage.js":"48","C:\\projects\\MANAGEM-FRONTEND-ADMIN\\src\\main\\messages\\projectMessage.js":"49","C:\\projects\\MANAGEM-FRONTEND-ADMIN\\src\\modules\\note\\AddNote\\AddNote.js":"50","C:\\projects\\MANAGEM-FRONTEND-ADMIN\\src\\modules\\client\\ViewClient\\ViewClient.js":"51","C:\\projects\\MANAGEM-FRONTEND-ADMIN\\src\\modules\\mytask\\AddMyTask\\AddMyTask.js":"52","C:\\projects\\MANAGEM-FRONTEND-ADMIN\\src\\main\\shared\\Login\\Login.js":"53","C:\\projects\\MANAGEM-FRONTEND-ADMIN\\src\\modules\\note\\Note\\Note.js":"54","C:\\projects\\MANAGEM-FRONTEND-ADMIN\\src\\main\\mocks\\NoteTestService.js":"55","C:\\projects\\MANAGEM-FRONTEND-ADMIN\\src\\modules\\note\\EditNote\\EditNote.js":"56","C:\\projects\\MANAGEM-FRONTEND-ADMIN\\src\\modules\\project\\ViewProject\\ViewProject.js":"57","C:\\projects\\MANAGEM-FRONTEND-ADMIN\\src\\main\\validations\\userValidation.js":"58","C:\\projects\\MANAGEM-FRONTEND-ADMIN\\src\\main\\validations\\myTaskValidation.js":"59","C:\\projects\\MANAGEM-FRONTEND-ADMIN\\src\\libraries\\datatables\\datatables.js":"60","C:\\projects\\MANAGEM-FRONTEND-ADMIN\\src\\modules\\client\\EditClient\\EditClient.js":"61","C:\\projects\\MANAGEM-FRONTEND-ADMIN\\src\\reportWebVitals.js":"62","C:\\projects\\MANAGEM-FRONTEND-ADMIN\\src\\main\\messages\\userMessage.js":"63","C:\\projects\\MANAGEM-FRONTEND-ADMIN\\src\\main\\services\\projectHTTPService.js":"64","C:\\projects\\MANAGEM-FRONTEND-ADMIN\\src\\main\\services\\clientHTTPService.js":"65","C:\\projects\\MANAGEM-FRONTEND-ADMIN\\src\\main\\services\\taskHHTPService.js":"66","C:\\projects\\MANAGEM-FRONTEND-ADMIN\\src\\main\\services\\mytaskHTTPService.js":"67","C:\\projects\\MANAGEM-FRONTEND-ADMIN\\src\\main\\shared\\Path\\Path.js":"68","C:\\projects\\MANAGEM-FRONTEND-ADMIN\\src\\main\\services\\noteHTTPService.js":"69","C:\\projects\\MANAGEM-FRONTEND-ADMIN\\src\\modules\\shared\\ConfigurationModules\\ConfigurationModules.js":"70","C:\\projects\\MANAGEM-FRONTEND-ADMIN\\src\\main\\services\\contractHTTPService.js":"71","C:\\projects\\MANAGEM-FRONTEND-ADMIN\\src\\main\\services\\teamHTTPService.js":"72","C:\\projects\\MANAGEM-FRONTEND-ADMIN\\src\\main\\services\\userHTTPService.js":"73","C:\\projects\\MANAGEM-FRONTEND-ADMIN\\src\\main\\services\\HTTPService.js":"74","C:\\projects\\MANAGEM-FRONTEND-ADMIN\\src\\main\\services\\settingsHTTPService.js":"75","C:\\projects\\MANAGEM-FRONTEND-ADMIN\\src\\modules\\shared\\EditDashboardSettings\\EditDashboardSettings.js":"76","C:\\projects\\MANAGEM-FRONTEND-ADMIN\\src\\modules\\shared\\EditLocalisationSettings\\EditLocalisationSettings.js":"77","C:\\projects\\MANAGEM-FRONTEND-ADMIN\\src\\modules\\shared\\EditFooterSettings\\EditFooterSettings.js":"78","C:\\projects\\MANAGEM-FRONTEND-ADMIN\\src\\modules\\shared\\EditNotificationsSettings\\EditNotificationsSettings.js":"79","C:\\projects\\MANAGEM-FRONTEND-ADMIN\\src\\modules\\shared\\EditEmailSettings\\EditEmailSettings.js":"80","C:\\projects\\MANAGEM-FRONTEND-ADMIN\\src\\modules\\shared\\EditHeaderSettings\\EditHeaderSettings.js":"81","C:\\projects\\MANAGEM-FRONTEND-ADMIN\\src\\modules\\shared\\EditSystemSettings\\EditSystemSettings.js":"82","C:\\projects\\MANAGEM-FRONTEND-ADMIN\\src\\main\\validations\\messageValidation.js":"83","C:\\projects\\MANAGEM-FRONTEND-ADMIN\\src\\modules\\project\\ProjectReport\\ProjectReport.js":"84","C:\\projects\\MANAGEM-FRONTEND-ADMIN\\src\\modules\\team\\Teams\\Teams.js":"85","C:\\projects\\MANAGEM-FRONTEND-ADMIN\\src\\modules\\contract\\AddContract\\AddContract.js":"86","C:\\projects\\MANAGEM-FRONTEND-ADMIN\\src\\modules\\project\\ProjectSummary\\ProjectSummary.js":"87","C:\\projects\\MANAGEM-FRONTEND-ADMIN\\src\\modules\\task\\MyTaskSummary\\MyTaskSummary.js":"88","C:\\projects\\MANAGEM-FRONTEND-ADMIN\\src\\modules\\task\\task-kanban\\task-kanban.js":"89","C:\\projects\\MANAGEM-FRONTEND-ADMIN\\src\\main\\shared\\kanban\\TextForm\\TextForm.js":"90","C:\\projects\\MANAGEM-FRONTEND-ADMIN\\src\\modules\\project\\ProjectKanban\\ProjectKanban.js":"91","C:\\projects\\MANAGEM-FRONTEND-ADMIN\\src\\modules\\project\\ProjectInProgress\\ProjectInProgress.js":"92","C:\\projects\\MANAGEM-FRONTEND-ADMIN\\src\\modules\\contract\\Contracts\\Contracts.js":"93","C:\\projects\\MANAGEM-FRONTEND-ADMIN\\src\\modules\\team\\AddTeam\\AddTeam.js":"94","C:\\projects\\MANAGEM-FRONTEND-ADMIN\\src\\main\\shared\\kanban\\Column\\Column.js":"95","C:\\projects\\MANAGEM-FRONTEND-ADMIN\\src\\modules\\shared\\DashboardSummary\\DashboardSummary.js":"96","C:\\projects\\MANAGEM-FRONTEND-ADMIN\\src\\modules\\contract\\EditContract\\EditContract.js":"97","C:\\projects\\MANAGEM-FRONTEND-ADMIN\\src\\modules\\team\\EditTeam\\EditTeam.js":"98","C:\\projects\\MANAGEM-FRONTEND-ADMIN\\src\\modules\\task\\TaskAnalytics\\TaskAnalytics.js":"99","C:\\projects\\MANAGEM-FRONTEND-ADMIN\\src\\modules\\task\\TaskReport\\TaskReport.js":"100","C:\\projects\\MANAGEM-FRONTEND-ADMIN\\src\\modules\\task\\TaskSummary\\TaskSummary.js":"101","C:\\projects\\MANAGEM-FRONTEND-ADMIN\\src\\main\\shared\\kanban\\Board\\Board.js":"102","C:\\projects\\MANAGEM-FRONTEND-ADMIN\\src\\modules\\project\\ProjectCalendar\\ProjectCalendar.js":"103","C:\\projects\\MANAGEM-FRONTEND-ADMIN\\src\\modules\\shared\\SearchProject\\SearchProject.js":"104","C:\\projects\\MANAGEM-FRONTEND-ADMIN\\src\\modules\\shared\\Profile\\Profile.js":"105","C:\\projects\\MANAGEM-FRONTEND-ADMIN\\src\\main\\shared\\Register\\Register.js":"106"},{"size":180,"mtime":1615831882832,"results":"107","hashOfConfig":"108"},{"size":5011,"mtime":1667309529109,"results":"109","hashOfConfig":"108"},{"size":1238,"mtime":1667307472492,"results":"110","hashOfConfig":"108"},{"size":19924,"mtime":1667321059947,"results":"111","hashOfConfig":"108"},{"size":7361,"mtime":1667285608578,"results":"112","hashOfConfig":"108"},{"size":7696,"mtime":1667320633682,"results":"113","hashOfConfig":"108"},{"size":3308,"mtime":1615831882853,"results":"114","hashOfConfig":"108"},{"size":202,"mtime":1665827404272,"results":"115","hashOfConfig":"108"},{"size":206,"mtime":1665827404276,"results":"116","hashOfConfig":"108"},{"size":622,"mtime":1615831882838,"results":"117","hashOfConfig":"108"},{"size":779,"mtime":1617719725577,"results":"118","hashOfConfig":"108"},{"size":883,"mtime":1615831882856,"results":"119","hashOfConfig":"108"},{"size":288,"mtime":1615831882857,"results":"120","hashOfConfig":"108"},{"size":6363,"mtime":1667287838919,"results":"121","hashOfConfig":"108"},{"size":5531,"mtime":1667320757531,"results":"122","hashOfConfig":"108"},{"size":4114,"mtime":1666196296841,"results":"123","hashOfConfig":"108"},{"size":4346,"mtime":1666199495854,"results":"124","hashOfConfig":"108"},{"size":206,"mtime":1665827404274,"results":"125","hashOfConfig":"108"},{"size":101,"mtime":1667286045453,"results":"126","hashOfConfig":"108"},{"size":330,"mtime":1667286045452,"results":"127","hashOfConfig":"108"},{"size":67,"mtime":1658869671833,"results":"128","hashOfConfig":"108"},{"size":751,"mtime":1617718203826,"results":"129","hashOfConfig":"108"},{"size":7085,"mtime":1666264035828,"results":"130","hashOfConfig":"108"},{"size":8562,"mtime":1667293442327,"results":"131","hashOfConfig":"108"},{"size":774,"mtime":1617718838435,"results":"132","hashOfConfig":"108"},{"size":737,"mtime":1617720426762,"results":"133","hashOfConfig":"108"},{"size":7169,"mtime":1667285608580,"results":"134","hashOfConfig":"108"},{"size":202,"mtime":1665827404271,"results":"135","hashOfConfig":"108"},{"size":594,"mtime":1615831882837,"results":"136","hashOfConfig":"108"},{"size":274,"mtime":1615831882860,"results":"137","hashOfConfig":"108"},{"size":1503,"mtime":1659089090414,"results":"138","hashOfConfig":"108"},{"size":5123,"mtime":1667288441041,"results":"139","hashOfConfig":"108"},{"size":2149,"mtime":1666197724386,"results":"140","hashOfConfig":"108"},{"size":568,"mtime":1667319003011,"results":"141","hashOfConfig":"108"},{"size":305,"mtime":1659767880854,"results":"142","hashOfConfig":"108"},{"size":198,"mtime":1615831882833,"results":"143","hashOfConfig":"108"},{"size":4359,"mtime":1667319735604,"results":"144","hashOfConfig":"108"},{"size":274,"mtime":1615831882874,"results":"145","hashOfConfig":"108"},{"size":6996,"mtime":1667320359454,"results":"146","hashOfConfig":"108"},{"size":305,"mtime":1667285763353,"results":"147","hashOfConfig":"108"},{"size":3627,"mtime":1667305813721,"results":"148","hashOfConfig":"108"},{"size":517,"mtime":1615831882832,"results":"149","hashOfConfig":"108"},{"size":1461,"mtime":1667315216526,"results":"150","hashOfConfig":"108"},{"size":295,"mtime":1667308087114,"results":"151","hashOfConfig":"108"},{"size":9757,"mtime":1667308729450,"results":"152","hashOfConfig":"108"},{"size":3188,"mtime":1665812846178,"results":"153","hashOfConfig":"108"},{"size":8782,"mtime":1667320164247,"results":"154","hashOfConfig":"108"},{"size":208,"mtime":1665827404274,"results":"155","hashOfConfig":"108"},{"size":208,"mtime":1665827404270,"results":"156","hashOfConfig":"108"},{"size":2299,"mtime":1665827061776,"results":"157","hashOfConfig":"108"},{"size":1349,"mtime":1659091461144,"results":"158","hashOfConfig":"108"},{"size":2555,"mtime":1615831882855,"results":"159","hashOfConfig":"108"},{"size":2879,"mtime":1667315025337,"results":"160","hashOfConfig":"108"},{"size":7261,"mtime":1667285608578,"results":"161","hashOfConfig":"108"},{"size":608,"mtime":1615831882838,"results":"162","hashOfConfig":"108"},{"size":2032,"mtime":1665827016769,"results":"163","hashOfConfig":"108"},{"size":280,"mtime":1658990294466,"results":"164","hashOfConfig":"108"},{"size":293,"mtime":1667286045425,"results":"165","hashOfConfig":"108"},{"size":134,"mtime":1615831882848,"results":"166","hashOfConfig":"108"},{"size":1402,"mtime":1667321744298,"results":"167","hashOfConfig":"108"},{"size":3155,"mtime":1666196754847,"results":"168","hashOfConfig":"108"},{"size":375,"mtime":1615831882874,"results":"169","hashOfConfig":"108"},{"size":202,"mtime":1665827404266,"results":"170","hashOfConfig":"108"},{"size":1827,"mtime":1667305127767,"results":"171","hashOfConfig":"108"},{"size":649,"mtime":1666291256278,"results":"172","hashOfConfig":"108"},{"size":1339,"mtime":1666334045634,"results":"173","hashOfConfig":"108"},{"size":999,"mtime":1666265851638,"results":"174","hashOfConfig":"108"},{"size":577,"mtime":1658941718754,"results":"175","hashOfConfig":"108"},{"size":526,"mtime":1658870331805,"results":"176","hashOfConfig":"108"},{"size":5209,"mtime":1658988982292,"results":"177","hashOfConfig":"108"},{"size":574,"mtime":1659801258318,"results":"178","hashOfConfig":"108"},{"size":526,"mtime":1659801192071,"results":"179","hashOfConfig":"108"},{"size":723,"mtime":1666294160648,"results":"180","hashOfConfig":"108"},{"size":0,"mtime":1665762480849,"results":"181","hashOfConfig":"108"},{"size":2760,"mtime":1666284316723,"results":"182","hashOfConfig":"108"},{"size":3069,"mtime":1666209614433,"results":"183","hashOfConfig":"108"},{"size":3563,"mtime":1667308367555,"results":"184","hashOfConfig":"108"},{"size":2552,"mtime":1667308367560,"results":"185","hashOfConfig":"108"},{"size":2214,"mtime":1667308183398,"results":"186","hashOfConfig":"108"},{"size":2270,"mtime":1666209985245,"results":"187","hashOfConfig":"108"},{"size":2474,"mtime":1666209985244,"results":"188","hashOfConfig":"108"},{"size":3476,"mtime":1666209985244,"results":"189","hashOfConfig":"108"},{"size":178,"mtime":1615831882847,"results":"190","hashOfConfig":"108"},{"size":2556,"mtime":1659012858929,"results":"191","hashOfConfig":"108"},{"size":6922,"mtime":1667293400336,"results":"192","hashOfConfig":"108"},{"size":6236,"mtime":1667294093592,"results":"193","hashOfConfig":"108"},{"size":3884,"mtime":1667292837328,"results":"194","hashOfConfig":"108"},{"size":3904,"mtime":1667292836900,"results":"195","hashOfConfig":"108"},{"size":5141,"mtime":1667293525384,"results":"196","hashOfConfig":"108"},{"size":539,"mtime":1659080258375,"results":"197","hashOfConfig":"108"},{"size":4424,"mtime":1667293579975,"results":"198","hashOfConfig":"108"},{"size":952,"mtime":1667294312248,"results":"199","hashOfConfig":"108"},{"size":6187,"mtime":1667293322863,"results":"200","hashOfConfig":"108"},{"size":2161,"mtime":1667294011181,"results":"201","hashOfConfig":"108"},{"size":807,"mtime":1666206144430,"results":"202","hashOfConfig":"108"},{"size":4314,"mtime":1667292836916,"results":"203","hashOfConfig":"108"},{"size":4755,"mtime":1667294154079,"results":"204","hashOfConfig":"108"},{"size":2275,"mtime":1667294154075,"results":"205","hashOfConfig":"108"},{"size":2195,"mtime":1667294312248,"results":"206","hashOfConfig":"108"},{"size":1910,"mtime":1667294312248,"results":"207","hashOfConfig":"108"},{"size":3883,"mtime":1667294342191,"results":"208","hashOfConfig":"108"},{"size":1105,"mtime":1666205738366,"results":"209","hashOfConfig":"108"},{"size":2265,"mtime":1667294312249,"results":"210","hashOfConfig":"108"},{"size":2073,"mtime":1667305341414,"results":"211","hashOfConfig":"108"},{"size":1104,"mtime":1667319593790,"results":"212","hashOfConfig":"108"},{"size":3468,"mtime":1667320097061,"results":"213","hashOfConfig":"108"},{"filePath":"214","messages":"215","errorCount":0,"warningCount":1,"fixableErrorCount":0,"fixableWarningCount":0,"source":"216","usedDeprecatedRules":"217"},"19q98kl",{"filePath":"218","messages":"219","errorCount":0,"warningCount":9,"fixableErrorCount":0,"fixableWarningCount":0,"source":null},{"filePath":"220","messages":"221","errorCount":0,"warningCount":5,"fixableErrorCount":0,"fixableWarningCount":0,"source":null},{"filePath":"222","messages":"223","errorCount":0,"warningCount":7,"fixableErrorCount":0,"fixableWarningCount":0,"source":null},{"filePath":"224","messages":"225","errorCount":0,"warningCount":5,"fixableErrorCount":0,"fixableWarningCount":0,"source":"226","usedDeprecatedRules":"227"},{"filePath":"228","messages":"229","errorCount":0,"warningCount":17,"fixableErrorCount":0,"fixableWarningCount":0,"source":null},{"filePath":"230","messages":"231","errorCount":0,"warningCount":1,"fixableErrorCount":0,"fixableWarningCount":0,"source":"232","usedDeprecatedRules":"217"},{"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":"235"},{"filePath":"238","messages":"239","errorCount":0,"warningCount":1,"fixableErrorCount":0,"fixableWarningCount":0,"source":"240","usedDeprecatedRules":"227"},{"filePath":"241","messages":"242","errorCount":0,"warningCount":1,"fixableErrorCount":0,"fixableWarningCount":0,"source":"243","usedDeprecatedRules":"217"},{"filePath":"244","messages":"245","errorCount":0,"warningCount":1,"fixableErrorCount":0,"fixableWarningCount":0,"source":"246","usedDeprecatedRules":"235"},{"filePath":"247","messages":"248","errorCount":0,"warningCount":1,"fixableErrorCount":0,"fixableWarningCount":0,"source":"249","usedDeprecatedRules":"217"},{"filePath":"250","messages":"251","errorCount":0,"warningCount":3,"fixableErrorCount":0,"fixableWarningCount":0,"source":"252","usedDeprecatedRules":"227"},{"filePath":"253","messages":"254","errorCount":0,"warningCount":7,"fixableErrorCount":0,"fixableWarningCount":0,"source":null},{"filePath":"255","messages":"256","errorCount":0,"warningCount":2,"fixableErrorCount":0,"fixableWarningCount":0,"source":"257","usedDeprecatedRules":"258"},{"filePath":"259","messages":"260","errorCount":0,"warningCount":3,"fixableErrorCount":0,"fixableWarningCount":0,"source":"261","usedDeprecatedRules":"258"},{"filePath":"262","messages":"263","errorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0,"usedDeprecatedRules":"227"},{"filePath":"264","messages":"265","errorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0,"usedDeprecatedRules":"217"},{"filePath":"266","messages":"267","errorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0,"usedDeprecatedRules":"217"},{"filePath":"268","messages":"269","errorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0,"usedDeprecatedRules":"258"},{"filePath":"270","messages":"271","errorCount":0,"warningCount":1,"fixableErrorCount":0,"fixableWarningCount":0,"source":"272","usedDeprecatedRules":"227"},{"filePath":"273","messages":"274","errorCount":0,"warningCount":13,"fixableErrorCount":0,"fixableWarningCount":0,"source":"275","usedDeprecatedRules":"276"},{"filePath":"277","messages":"278","errorCount":0,"warningCount":21,"fixableErrorCount":0,"fixableWarningCount":0,"source":null},{"filePath":"279","messages":"280","errorCount":0,"warningCount":1,"fixableErrorCount":0,"fixableWarningCount":0,"source":"281","usedDeprecatedRules":"217"},{"filePath":"282","messages":"283","errorCount":0,"warningCount":1,"fixableErrorCount":0,"fixableWarningCount":0,"source":"284","usedDeprecatedRules":"285"},{"filePath":"286","messages":"287","errorCount":0,"warningCount":13,"fixableErrorCount":0,"fixableWarningCount":0,"source":null},{"filePath":"288","messages":"289","errorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0,"usedDeprecatedRules":"227"},{"filePath":"290","messages":"291","errorCount":0,"warningCount":1,"fixableErrorCount":0,"fixableWarningCount":0,"source":"292","usedDeprecatedRules":"227"},{"filePath":"293","messages":"294","errorCount":0,"warningCount":1,"fixableErrorCount":0,"fixableWarningCount":0,"source":"295","usedDeprecatedRules":"217"},{"filePath":"296","messages":"297","errorCount":0,"warningCount":14,"fixableErrorCount":0,"fixableWarningCount":0,"source":"298","usedDeprecatedRules":"299"},{"filePath":"300","messages":"301","errorCount":0,"warningCount":7,"fixableErrorCount":0,"fixableWarningCount":0,"source":"302","usedDeprecatedRules":"258"},{"filePath":"303","messages":"304","errorCount":0,"warningCount":1,"fixableErrorCount":0,"fixableWarningCount":0,"source":"305","usedDeprecatedRules":"285"},{"filePath":"306","messages":"307","errorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"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":"217"},{"filePath":"313","messages":"314","errorCount":0,"warningCount":8,"fixableErrorCount":0,"fixableWarningCount":0,"source":null},{"filePath":"315","messages":"316","errorCount":0,"warningCount":1,"fixableErrorCount":0,"fixableWarningCount":0,"source":"317","usedDeprecatedRules":"217"},{"filePath":"318","messages":"319","errorCount":0,"warningCount":3,"fixableErrorCount":0,"fixableWarningCount":0,"source":null},{"filePath":"320","messages":"321","errorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0,"usedDeprecatedRules":"227"},{"filePath":"322","messages":"323","errorCount":0,"warningCount":4,"fixableErrorCount":0,"fixableWarningCount":0,"source":null},{"filePath":"324","messages":"325","errorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0,"usedDeprecatedRules":"235"},{"filePath":"326","messages":"327","errorCount":0,"warningCount":4,"fixableErrorCount":0,"fixableWarningCount":0,"source":null},{"filePath":"328","messages":"329","errorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"330","messages":"331","errorCount":0,"warningCount":15,"fixableErrorCount":0,"fixableWarningCount":0,"source":"332"},{"filePath":"333","messages":"334","errorCount":0,"warningCount":5,"fixableErrorCount":0,"fixableWarningCount":0,"source":"335","usedDeprecatedRules":"217"},{"filePath":"336","messages":"337","errorCount":0,"warningCount":29,"fixableErrorCount":0,"fixableWarningCount":0,"source":null},{"filePath":"338","messages":"339","errorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0,"usedDeprecatedRules":"340"},{"filePath":"341","messages":"342","errorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0,"usedDeprecatedRules":"258"},{"filePath":"343","messages":"344","errorCount":0,"warningCount":2,"fixableErrorCount":0,"fixableWarningCount":0,"source":"345","usedDeprecatedRules":"285"},{"filePath":"346","messages":"347","errorCount":0,"warningCount":11,"fixableErrorCount":0,"fixableWarningCount":0,"source":"348","usedDeprecatedRules":"217"},{"filePath":"349","messages":"350","errorCount":0,"warningCount":1,"fixableErrorCount":0,"fixableWarningCount":0,"source":"351","usedDeprecatedRules":"227"},{"filePath":"352","messages":"353","errorCount":0,"warningCount":1,"fixableErrorCount":0,"fixableWarningCount":0,"source":null},{"filePath":"354","messages":"355","errorCount":0,"warningCount":15,"fixableErrorCount":0,"fixableWarningCount":0,"source":null},{"filePath":"356","messages":"357","errorCount":0,"warningCount":1,"fixableErrorCount":0,"fixableWarningCount":0,"source":"358","usedDeprecatedRules":"217"},{"filePath":"359","messages":"360","errorCount":0,"warningCount":6,"fixableErrorCount":0,"fixableWarningCount":0,"source":"361","usedDeprecatedRules":"258"},{"filePath":"362","messages":"363","errorCount":0,"warningCount":1,"fixableErrorCount":0,"fixableWarningCount":0,"source":null},{"filePath":"364","messages":"365","errorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0,"usedDeprecatedRules":"217"},{"filePath":"366","messages":"367","errorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0,"usedDeprecatedRules":"368"},{"filePath":"369","messages":"370","errorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"371","messages":"372","errorCount":0,"warningCount":6,"fixableErrorCount":0,"fixableWarningCount":0,"source":"373","usedDeprecatedRules":"258"},{"filePath":"374","messages":"375","errorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0,"usedDeprecatedRules":"376"},{"filePath":"377","messages":"378","errorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0,"usedDeprecatedRules":"217"},{"filePath":"379","messages":"380","errorCount":0,"warningCount":1,"fixableErrorCount":0,"fixableWarningCount":0,"source":null},{"filePath":"381","messages":"382","errorCount":0,"warningCount":1,"fixableErrorCount":0,"fixableWarningCount":0,"source":"383","usedDeprecatedRules":"217"},{"filePath":"384","messages":"385","errorCount":0,"warningCount":1,"fixableErrorCount":0,"fixableWarningCount":0,"source":"386","usedDeprecatedRules":"340"},{"filePath":"387","messages":"388","errorCount":0,"warningCount":1,"fixableErrorCount":0,"fixableWarningCount":0,"source":"389","usedDeprecatedRules":"285"},{"filePath":"390","messages":"391","errorCount":0,"warningCount":3,"fixableErrorCount":0,"fixableWarningCount":0,"source":"392","usedDeprecatedRules":"235"},{"filePath":"393","messages":"394","errorCount":0,"warningCount":1,"fixableErrorCount":0,"fixableWarningCount":0,"source":"395","usedDeprecatedRules":"396"},{"filePath":"397","messages":"398","errorCount":0,"warningCount":1,"fixableErrorCount":0,"fixableWarningCount":0,"source":"399","usedDeprecatedRules":"217"},{"filePath":"400","messages":"401","errorCount":0,"warningCount":1,"fixableErrorCount":0,"fixableWarningCount":0,"source":"402","usedDeprecatedRules":"227"},{"filePath":"403","messages":"404","errorCount":0,"warningCount":1,"fixableErrorCount":0,"fixableWarningCount":0,"source":"405","usedDeprecatedRules":"217"},{"filePath":"406","messages":"407","errorCount":0,"warningCount":1,"fixableErrorCount":0,"fixableWarningCount":0,"source":"408","usedDeprecatedRules":"258"},{"filePath":"409","messages":"410","errorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0,"usedDeprecatedRules":"217"},{"filePath":"411","messages":"412","errorCount":0,"warningCount":1,"fixableErrorCount":0,"fixableWarningCount":0,"source":"413","usedDeprecatedRules":"227"},{"filePath":"414","messages":"415","errorCount":0,"warningCount":2,"fixableErrorCount":0,"fixableWarningCount":0,"source":"416","usedDeprecatedRules":"258"},{"filePath":"417","messages":"418","errorCount":0,"warningCount":2,"fixableErrorCount":0,"fixableWarningCount":0,"source":null},{"filePath":"419","messages":"420","errorCount":0,"warningCount":2,"fixableErrorCount":0,"fixableWarningCount":0,"source":null},{"filePath":"421","messages":"422","errorCount":0,"warningCount":2,"fixableErrorCount":0,"fixableWarningCount":0,"source":null},{"filePath":"423","messages":"424","errorCount":0,"warningCount":2,"fixableErrorCount":0,"fixableWarningCount":0,"source":"425","usedDeprecatedRules":"310"},{"filePath":"426","messages":"427","errorCount":0,"warningCount":2,"fixableErrorCount":0,"fixableWarningCount":0,"source":"428","usedDeprecatedRules":"217"},{"filePath":"429","messages":"430","errorCount":0,"warningCount":2,"fixableErrorCount":0,"fixableWarningCount":0,"source":"431","usedDeprecatedRules":"258"},{"filePath":"432","messages":"433","errorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"434","messages":"435","errorCount":0,"warningCount":1,"fixableErrorCount":0,"fixableWarningCount":0,"source":"436","usedDeprecatedRules":"285"},{"filePath":"437","messages":"438","errorCount":0,"warningCount":11,"fixableErrorCount":0,"fixableWarningCount":0,"source":"439","usedDeprecatedRules":"217"},{"filePath":"440","messages":"441","errorCount":0,"warningCount":3,"fixableErrorCount":0,"fixableWarningCount":0,"source":"442","usedDeprecatedRules":"258"},{"filePath":"443","messages":"444","errorCount":0,"warningCount":1,"fixableErrorCount":0,"fixableWarningCount":0,"source":"445","usedDeprecatedRules":"258"},{"filePath":"446","messages":"447","errorCount":0,"warningCount":1,"fixableErrorCount":0,"fixableWarningCount":0,"source":null},{"filePath":"448","messages":"449","errorCount":0,"warningCount":17,"fixableErrorCount":0,"fixableWarningCount":0,"source":"450","usedDeprecatedRules":"285"},{"filePath":"451","messages":"452","errorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0,"usedDeprecatedRules":"217"},{"filePath":"453","messages":"454","errorCount":0,"warningCount":3,"fixableErrorCount":0,"fixableWarningCount":0,"source":null},{"filePath":"455","messages":"456","errorCount":0,"warningCount":1,"fixableErrorCount":0,"fixableWarningCount":0,"source":null},{"filePath":"457","messages":"458","errorCount":0,"warningCount":12,"fixableErrorCount":0,"fixableWarningCount":0,"source":"459","usedDeprecatedRules":"258"},{"filePath":"460","messages":"461","errorCount":0,"warningCount":2,"fixableErrorCount":0,"fixableWarningCount":0,"source":null},{"filePath":"462","messages":"463","errorCount":0,"warningCount":1,"fixableErrorCount":0,"fixableWarningCount":0,"source":"464","usedDeprecatedRules":"258"},{"filePath":"465","messages":"466","errorCount":0,"warningCount":1,"fixableErrorCount":0,"fixableWarningCount":0,"source":"467","usedDeprecatedRules":"217"},{"filePath":"468","messages":"469","errorCount":0,"warningCount":6,"fixableErrorCount":0,"fixableWarningCount":0,"source":null},{"filePath":"470","messages":"471","errorCount":0,"warningCount":7,"fixableErrorCount":0,"fixableWarningCount":0,"source":"472","usedDeprecatedRules":"217"},{"filePath":"473","messages":"474","errorCount":0,"warningCount":3,"fixableErrorCount":0,"fixableWarningCount":0,"source":null},{"filePath":"475","messages":"476","errorCount":0,"warningCount":3,"fixableErrorCount":0,"fixableWarningCount":0,"source":"477","usedDeprecatedRules":"227"},{"filePath":"478","messages":"479","errorCount":0,"warningCount":1,"fixableErrorCount":0,"fixableWarningCount":0,"source":"480","usedDeprecatedRules":"217"},{"filePath":"481","messages":"482","errorCount":0,"warningCount":1,"fixableErrorCount":0,"fixableWarningCount":0,"source":null},{"filePath":"483","messages":"484","errorCount":0,"warningCount":4,"fixableErrorCount":0,"fixableWarningCount":0,"source":null},{"filePath":"485","messages":"486","errorCount":0,"warningCount":3,"fixableErrorCount":0,"fixableWarningCount":0,"source":null},{"filePath":"487","messages":"488","errorCount":0,"warningCount":2,"fixableErrorCount":0,"fixableWarningCount":0,"source":null},{"filePath":"489","messages":"490","errorCount":0,"warningCount":5,"fixableErrorCount":0,"fixableWarningCount":0,"source":null},"C:\\projects\\MANAGEM-FRONTEND-ADMIN\\src\\App.js",["491"],"import logo from './logo.svg';\r\nimport './App.css';\r\nimport Root from './main/shared/Root/Root';\r\n\r\nfunction App() {\r\n \r\n return (\r\n <Root/>\r\n );\r\n}\r\n\r\n\r\nexport default App;\r\n",["492","493"],"C:\\projects\\MANAGEM-FRONTEND-ADMIN\\src\\main\\shared\\Navigation\\Navigation.js",["494","495","496","497","498","499","500","501","502"],"C:\\projects\\MANAGEM-FRONTEND-ADMIN\\src\\main\\shared\\Footer\\Footer.js",["503","504","505","506","507"],"C:\\projects\\MANAGEM-FRONTEND-ADMIN\\src\\modules\\shared\\Configuration\\Configuration.js",["508","509","510","511","512","513","514"],"C:\\projects\\MANAGEM-FRONTEND-ADMIN\\src\\modules\\message\\Message\\Message.js",["515","516","517","518","519"],"import React, { useEffect, useState } from 'react';\r\nimport PropTypes from 'prop-types';\r\nimport './Message.css';\r\nimport { LoadJS } from '../../../libraries/datatables/datatables';\r\nimport AddMessage from '../AddMessage/AddMessage';\r\nimport useForceUpdate from 'use-force-update';\r\nimport showMessage from '../../../libraries/messages/messages';\r\nimport messageMessage from '../../../main/messages/messageMessage';\r\nimport MessageTestService from '../../../main/mocks/MessageTestService';\r\nimport HTTPService from '../../../main/services/HTTPService';\r\nimport CurrentUser from '../../../main/config/user';\r\n\r\n\r\n\r\nconst deleteMessage = () => {\r\n return window.confirm(CurrentUser.DELTE_MSG)\r\n}\r\n\r\nconst Message = () => {\r\n\r\n const [messages, setMessages] = useState([]);\r\n const [updatedItem, setUpdatedItem] = useState({});\r\n const forceUpdate = useForceUpdate();\r\n\r\n\r\n useEffect(() => {\r\n LoadJS()\r\n retrieveMessages()\r\n }, []);\r\n\r\n\r\n const getAll = () => {\r\n HTTPService.getAll()\r\n .then(response => {\r\n setMessages(response.data);\r\n })\r\n .catch(e => {\r\n console.log(e);\r\n });\r\n };\r\n\r\n const removeOne = (data) => {\r\n HTTPService.remove(data)\r\n .then(response => {\r\n\r\n })\r\n .catch(e => {\r\n\r\n });\r\n }\r\n\r\n\r\n\r\n const retrieveMessages = () => {\r\n MessageTestService.getAll();\r\n setMessages(messages);\r\n };\r\n\r\n const resfresh = () => {\r\n retrieveMessages()\r\n forceUpdate()\r\n }\r\n\r\n const remove = (e, data) => {\r\n e.preventDefault();\r\n var r = window.confirm(CurrentUser.DELTE_MSG);\r\n if (r) {\r\n showMessage('Confirmation', messageMessage.delete, 'success')\r\n MessageTestService.remove(data)\r\n //removeOne(data)\r\n resfresh()\r\n }\r\n\r\n }\r\n\r\n const update = (e, data) => {\r\n e.preventDefault();\r\n setUpdatedItem(data)\r\n resfresh()\r\n }\r\n\r\n\r\n\r\n\r\n\r\n\r\n return (\r\n <div className=\"card\">\r\n <div className=\"card-header\">\r\n <strong className=\"card-title\">Mes Messages</strong>\r\n </div>\r\n <div className=\"card-body\">\r\n\r\n <table id=\"example1\" className=\"table table-striped table-bordered\">\r\n <thead>\r\n <tr>\r\n <th>Utilisateur</th>\r\n <th>Message</th>\r\n <th>Actions</th>\r\n </tr>\r\n </thead>\r\n <tbody>\r\n\r\n {messages.map(item =>\r\n <tr>\r\n <td>{item.destination}</td>\r\n <td>{item.message}</td>\r\n\r\n <td>\r\n <button onClick={e => update(e, item)} type=\"button\" data-toggle=\"modal\" data-target=\"#editJob\" class=\"btn btn-warning btn-sm\"><i class=\"fas fa-edit\"></i></button>\r\n <button onClick={e => remove(e, messages.indexOf(item))} type=\"button\" class=\"btn btn-danger btn-sm\"><i class=\"fas fa-trash-alt\"></i></button></td>\r\n\r\n\r\n </tr>\r\n\r\n\r\n )}\r\n\r\n\r\n <tr>\r\n <td><span class=\"badge badge-primary\">Yvette Bouchard</span></td>\r\n <td>Bonjour;</td>\r\n <td><button type=\"button\" data-toggle=\"modal\" data-target=\"#viewMessage\" class=\"btn btn-primary btn-sm\"><i class=\"fas fa-address-book\"></i></button>\r\n <button type=\"button\" data-toggle=\"modal\" data-target=\"#editMessage\" class=\"btn btn-warning btn-sm\"><i class=\"fas fa-edit\"></i></button>\r\n <button type=\"button\" class=\"btn btn-danger btn-sm\" onClick={deleteMessage}><i class=\"fas fa-trash-alt\"></i></button></td>\r\n\r\n </tr>\r\n <tr>\r\n <td><span class=\"badge badge-primary\">Laurent Fecteau</span></td>\r\n <td>Bonjour;</td>\r\n <td><button type=\"button\" data-toggle=\"modal\" data-target=\"#viewMessage\" class=\"btn btn-primary btn-sm\"><i class=\"fas fa-address-book\"></i></button>\r\n <button type=\"button\" data-toggle=\"modal\" data-target=\"#editMessage\" class=\"btn btn-warning btn-sm\"><i class=\"fas fa-edit\"></i></button>\r\n <button type=\"button\" class=\"btn btn-danger btn-sm\" onClick={deleteMessage}><i class=\"fas fa-trash-alt\"></i></button></td>\r\n\r\n </tr>\r\n <tfoot>\r\n <tr>\r\n <th>Utilisateur</th>\r\n <th>Message</th>\r\n <th>Actions</th>\r\n </tr>\r\n </tfoot>\r\n\r\n </tbody>\r\n </table>\r\n <button type=\"button\" className=\"btn btn-success btn-sm\" data-toggle=\"modal\" data-target=\"#addMessage\"><i class=\"far fa-plus-square\"></i> Ajouter</button>\r\n\r\n <div class=\"modal fade\" id=\"addMessage\" tabindex=\"-1\" role=\"dialog\" aria-labelledby=\"exampleModalCenterTitle\" aria-hidden=\"true\">\r\n <div class=\"modal-dialog modal-dialog-centered modal-lg\" role=\"document\">\r\n <div class=\"modal-content\">\r\n <div class=\"modal-header\">\r\n <h5 class=\"modal-title\" id=\"exampleModalLongTitle\">Modal title</h5>\r\n <button onClick={resfresh} type=\"button\" class=\"close\" data-dismiss=\"modal\" aria-label=\"Close\">\r\n <span aria-hidden=\"true\">×</span>\r\n </button>\r\n </div>\r\n <div class=\"modal-body\">\r\n <AddMessage />\r\n </div>\r\n <div class=\"modal-footer\">\r\n <button onClick={resfresh} type=\"button\" class=\"btn btn-secondary\" data-dismiss=\"modal\">Fermer</button>\r\n\r\n </div>\r\n </div>\r\n </div>\r\n </div>\r\n\r\n\r\n <div class=\"modal fade\" id=\"editMessage\" tabindex=\"-1\" role=\"dialog\" aria-labelledby=\"exampleModalCenterTitle\" aria-hidden=\"true\">\r\n <div class=\"modal-dialog modal-dialog-centered modal-lg\" role=\"document\">\r\n <div class=\"modal-content\">\r\n <div class=\"modal-header\">\r\n <h5 class=\"modal-title\" id=\"exampleModalLongTitle\">Modal title</h5>\r\n <button type=\"button\" class=\"close\" data-dismiss=\"modal\" aria-label=\"Close\">\r\n <span aria-hidden=\"true\">×</span>\r\n </button>\r\n </div>\r\n <div class=\"modal-body\">\r\n\r\n </div>\r\n <div class=\"modal-footer\">\r\n <button type=\"button\" class=\"btn btn-secondary\" data-dismiss=\"modal\">Fermer</button>\r\n\r\n </div>\r\n </div>\r\n </div>\r\n </div>\r\n\r\n\r\n <div class=\"modal fade\" id=\"viewMessage\" tabindex=\"-1\" role=\"dialog\" aria-labelledby=\"exampleModalCenterTitle\" aria-hidden=\"true\">\r\n <div class=\"modal-dialog modal-dialog-centered modal-lg\" role=\"document\">\r\n <div class=\"modal-content\">\r\n <div class=\"modal-header\">\r\n <h5 class=\"modal-title\" id=\"exampleModalLongTitle\">Modal title</h5>\r\n <button type=\"button\" class=\"close\" data-dismiss=\"modal\" aria-label=\"Close\">\r\n <span aria-hidden=\"true\">×</span>\r\n </button>\r\n </div>\r\n <div class=\"modal-body\">\r\n </div>\r\n <div class=\"modal-footer\">\r\n <button type=\"button\" class=\"btn btn-secondary\" data-dismiss=\"modal\">Fermer</button>\r\n\r\n </div>\r\n </div>\r\n </div>\r\n </div>\r\n </div>\r\n </div>\r\n )\r\n};\r\n\r\nMessage.propTypes = {};\r\n\r\nMessage.defaultProps = {};\r\n\r\nexport default Message;\r\n",["520","521"],"C:\\projects\\MANAGEM-FRONTEND-ADMIN\\src\\modules\\task\\Tasks\\Tasks.js",["522","523","524","525","526","527","528","529","530","531","532","533","534","535","536","537","538"],"C:\\projects\\MANAGEM-FRONTEND-ADMIN\\src\\modules\\message\\AddMessage\\AddMessage.js",["539"],"import './AddMessage.css';\r\nimport React, { useState } from 'react';\r\nimport { useForm } from 'react-hook-form';\r\nimport showMessage from '../../../libraries/messages/messages'\r\nimport messageMessage from '../../../main/messages/messageMessage'\r\nimport messageValidation from '../../../main/validations/messageValidation'\r\nimport MessageTestService from '../../../main/mocks/MessageTestService';\r\nimport HTTPService from '../../../main/services/HTTPService';\r\n\r\nconst AddMessage = () => {\r\n const initialState = {\r\n title: \"\",\r\n destination: \"\",\r\n message: \"\",\r\n\r\n };\r\n\r\n const { register, handleSubmit, errors } = useForm()\r\n const [message, setMessage] = useState(initialState);\r\n\r\n const onSubmit = (data) => {\r\n //saveMessage(data)\r\n MessageTestService.create(data)\r\n setMessage(initialState)\r\n showMessage('Confirmation', messageMessage.add, 'success')\r\n }\r\n\r\n const saveMessage = (data) => {\r\n\r\n HTTPService.create(data)\r\n .then(response => {\r\n setMessage(initialState)\r\n })\r\n .catch(e => {\r\n console.log(e);\r\n });\r\n\r\n };\r\n\r\n\r\n const handleInputChange = event => {\r\n const { name, value } = event.target;\r\n setMessage({ ...message, [name]: value });\r\n };\r\n\r\n return (\r\n <div className=\"AddMessage\">\r\n <form onSubmit={handleSubmit(onSubmit)}>\r\n\r\n <div class=\"form-group row\">\r\n <label for=\"text1\" class=\"col-4 col-form-label\">Titre</label>\r\n <div class=\"col-8\">\r\n <input ref={register({ required: true })} onChange={handleInputChange}\r\n value={message.title} id=\"text1\" name=\"title\" type=\"text\" class=\"form-control\" />\r\n <div className=\"error text-danger\">\r\n {errors.title && messageValidation.title}\r\n </div>\r\n </div>\r\n </div>\r\n\r\n\r\n <div class=\"form-group row\">\r\n <label for=\"text\" class=\"col-4 col-form-label\">Destinataire</label>\r\n\r\n <div class=\"col-8\">\r\n <input ref={register({ required: true })} onChange={handleInputChange}\r\n value={message.destination} id=\"text\" name=\"destination\" type=\"text\" class=\"form-control\" />\r\n <div className=\"error text-danger\">\r\n {errors.destination && messageValidation.destination}\r\n </div>\r\n </div>\r\n\r\n\r\n </div>\r\n\r\n <div class=\"form-group row\">\r\n <label for=\"textarea\" class=\"col-4 col-form-label\">Message</label>\r\n <div class=\"col-8\">\r\n <textarea ref={register({ required: true })} onChange={handleInputChange}\r\n value={message.message} id=\"textarea\" name=\"message\" cols=\"40\" rows=\"5\"\r\n class=\"form-control\"></textarea>\r\n <div className=\"error text-danger\">\r\n {errors.message && messageValidation.message}\r\n </div>\r\n </div>\r\n </div>\r\n\r\n\r\n <div class=\"form-group row\">\r\n <div class=\"offset-4 col-8\">\r\n <button type=\"submit\" id=\"save-form\" className=\"btn btn-success\"><i className=\"fa fa-check\"></i>\r\n <font ><font > Sauvegarder</font></font></button>\r\n </div>\r\n </div>\r\n\r\n\r\n </form>\r\n </div>\r\n )\r\n};\r\n\r\nAddMessage.propTypes = { };\r\n\r\nAddMessage.defaultProps = { };\r\n\r\nexport default AddMessage;\r\n","C:\\projects\\MANAGEM-FRONTEND-ADMIN\\src\\main\\messages\\noteMessage.js",[],["540","541"],"C:\\projects\\MANAGEM-FRONTEND-ADMIN\\src\\main\\messages\\clientMessage.js",[],"C:\\projects\\MANAGEM-FRONTEND-ADMIN\\src\\main\\mocks\\MyTaskTestService.js",["542"],"const _categories = []\r\n\r\nconst getAll = () => {\r\n return _categories;\r\n};\r\n\r\nconst get = id => {\r\n return _categories.find(item => item.id === id);\r\n};\r\n\r\nconst create = (data) => {\r\n _categories.push(data);\r\n};\r\n\r\nconst update = (old, data) => {\r\n\r\n var foundIndex = _categories.findIndex(item => item === old);\r\n _categories[foundIndex] = data;\r\n};\r\n\r\nconst remove = id => {\r\n _categories.splice(id, 1);\r\n};\r\n\r\nconst removeAll = () => {\r\n\r\n};\r\n\r\nconst findByTitle = title => {\r\n\r\n};\r\n\r\nexport default {\r\n getAll,\r\n get,\r\n create,\r\n update,\r\n remove,\r\n removeAll,\r\n findByTitle\r\n};","C:\\projects\\MANAGEM-FRONTEND-ADMIN\\src\\main\\mocks\\TaskTestService.js",["543"],"const _tasks = [{\r\n \"project_id\": \"Construire une maison\", \"title\": \"La préparation du terrain\",\r\n \"due_date\": \"12/12/2009\", \"priority\": \"Urgent\", \"users\": \"Melville Poissonnier\", \"status\": \"Active\"\r\n}]\r\n\r\nconst getAll = () => {\r\n return _tasks;\r\n};\r\n\r\nconst get = id => {\r\n return _tasks.find(item => item.id === id);\r\n};\r\n\r\nconst create = (data) => {\r\n _tasks.push(data);\r\n};\r\n\r\nconst update = (old, data) => {\r\n\r\n var foundIndex = _tasks.findIndex(item => item === old);\r\n _tasks[foundIndex] = data;\r\n};\r\n\r\nconst remove = id => {\r\n _tasks.splice(id, 1);\r\n};\r\n\r\nconst removeAll = () => {\r\n\r\n};\r\n\r\nconst findByTitle = title => {\r\n\r\n};\r\n\r\nexport default {\r\n getAll,\r\n get,\r\n create,\r\n update,\r\n remove,\r\n removeAll,\r\n findByTitle\r\n};","C:\\projects\\MANAGEM-FRONTEND-ADMIN\\src\\modules\\mytask\\EditMyTask\\EditMyTask.js",["544"],"import React from 'react';\r\nimport PropTypes from 'prop-types';\r\nimport './EditMyTask.css';\r\n\r\nconst EditMyTask = () => (\r\n <div className=\"EditMyTask\">\r\n <form action=\"http://timwork-saas.waptechy.com/todo/create\" method=\"POST\" class=\"\">\r\n <div class=\"row\">\r\n <div class=\"form-group col-md-12\">\r\n <label>Tache<span class=\"text-danger\">*</span></label>\r\n <textarea type=\"text\" name=\"todo\" class=\"form-control\"></textarea>\r\n </div>\r\n <div class=\"form-group col-md-12\">\r\n <label>date échéance<span class=\"text-danger\">*</span></label>\r\n <input type=\"text\" name=\"due_date\" class=\"form-control datepicker\" />\r\n </div>\r\n </div>\r\n <button class=\"d-none\" id=\"fire-modal-2-submit\"></button></form>\r\n </div>\r\n);\r\n\r\nEditMyTask.propTypes = {};\r\n\r\nEditMyTask.defaultProps = {};\r\n\r\nexport default EditMyTask;\r\n","C:\\projects\\MANAGEM-FRONTEND-ADMIN\\src\\modules\\mytask\\ViewMyTask\\ViewMyTask.js",["545"],"import React from 'react';\r\nimport PropTypes from 'prop-types';\r\nimport './ViewMyTask.css';\r\n\r\nconst ViewMyTask = () => (\r\n <div className=\"ViewMyTask\">\r\n ViewMyTask Component\r\n </div>\r\n);\r\n\r\nViewMyTask.propTypes = {};\r\n\r\nViewMyTask.defaultProps = {};\r\n\r\nexport default ViewMyTask;\r\n","C:\\projects\\MANAGEM-FRONTEND-ADMIN\\src\\modules\\project\\AddProject\\AddProject.js",["546","547","548"],"import './AddProject.css';\r\nimport React, { useState } from 'react';\r\nimport { useForm } from 'react-hook-form';\r\nimport showMessage from '../../../libraries/messages/messages'\r\nimport projectMessage from '../../../main/messages/projectMessage'\r\nimport projectValidation from '../../../main/validations/projectValidation'\r\nimport ProjectTestService from '../../../main/mocks/ProjectTestService';\r\nimport HTTPService from '../../../main/services/userHTTPService';\r\nimport projectHTTPService from '../../../main/services/projectHTTPService';\r\nimport clientHTTPService from '../../../main/services/clientHTTPService';\r\nimport userHTTPService from '../../../main/services/userHTTPService';\r\nimport { useEffect } from 'react';\r\n\r\n\r\nconst AddProject = (props) => {\r\n\r\n\r\n const initialState = {\r\n title: \"\",\r\n description: \"\",\r\n starting_date: \"\",\r\n ending_date: \"\",\r\n users: \"\",\r\n client: \"\",\r\n status: ''\r\n };\r\n\r\n const { register, handleSubmit, errors } = useForm()\r\n const [project, setProject] = useState(initialState);\r\n const [clients, setClients] = useState([]);\r\n const [users, setUsers] = useState([]);\r\n const [loading, setLoading] = useState(false);\r\n\r\n\r\n const onSubmit = (data) => {\r\n console.log(data)\r\n //saveProject(data)\r\n // ProjectTestService.create(data)\r\n projectHTTPService.createProject(data).then(data => {\r\n\r\n setProject(initialState)\r\n showMessage('Confirmation', projectMessage.add, 'success')\r\n props.closeModal()\r\n //setProjects(data.data);\r\n //setLoading(false)\r\n\r\n })\r\n\r\n }\r\n\r\n useEffect(() => {\r\n retrieveUsers()\r\n retrieveClients()\r\n }, []);\r\n\r\n\r\n const handleInputChange = event => {\r\n const { name, value } = event.target;\r\n setProject({ ...project, [name]: value });\r\n };\r\n\r\n\r\n const retrieveClients = () => {\r\n setLoading(true)\r\n clientHTTPService.getAllClient().then(data => {\r\n setLoading(false)\r\n setClients(data.data)\r\n\r\n });\r\n ;\r\n };\r\n\r\n\r\n const retrieveUsers = () => {\r\n setLoading(true)\r\n userHTTPService.getAllUser()\r\n .then(response => {\r\n setUsers(response.data);\r\n console.log(response.data)\r\n setLoading(false)\r\n })\r\n .catch(e => {\r\n console.log(e);\r\n });\r\n };\r\n\r\n\r\n return (\r\n <div className=\"AddProject\">\r\n <form method=\"POST\" class=\"\" onSubmit={handleSubmit(onSubmit)}>\r\n\r\n <div class=\"form-group\">\r\n <label>Title<span class=\"text-danger\">*</span></label>\r\n <input ref={register({ required: true })} onChange={handleInputChange} value={project.title}\r\n type=\"text\" name=\"title\" class=\"form-control\" required=\"\" />\r\n <div className=\"error text-danger\">\r\n {errors.title && projectValidation.title}\r\n </div>\r\n </div>\r\n\r\n <div class=\"form-group\">\r\n <label>Short Description<span class=\"text-danger\">*</span></label>\r\n <textarea ref={register({ required: true })} onChange={handleInputChange} value={project.description}\r\n type=\"text\" name=\"description\" class=\"form-control\"></textarea>\r\n <div className=\"error text-danger\">\r\n {errors.description && projectValidation.description}\r\n </div>\r\n </div>\r\n\r\n <div class=\"form-group\">\r\n <label>Start<span class=\"text-danger\">*</span></label>\r\n <input ref={register({ required: true })} onChange={handleInputChange} value={project.starting_date}\r\n type=\"date\" name=\"starting_date\" class=\"form-control datepicker\" />\r\n <div className=\"error text-danger\">\r\n {errors.starting_date && projectValidation.starting_date}\r\n </div>\r\n </div>\r\n\r\n <div class=\"form-group\">\r\n <label>End<span class=\"text-danger\">*</span></label>\r\n <input ref={register({ required: true })} onChange={handleInputChange} value={project.ending_date}\r\n type=\"date\" name=\"ending_date\" class=\"form-control datepicker\" />\r\n <div className=\"error text-danger\">\r\n {errors.ending_date && projectValidation.ending_date}\r\n </div>\r\n </div>\r\n\r\n <div class=\"form-group\">\r\n <label>Status<span class=\"text-danger\">*</span></label>\r\n <select ref={register({ required: true })} onChange={handleInputChange} value={project.status}\r\n name=\"status\" class=\"selectpicker form-control border-0 mb-1 px-4 py-4 rounded shadow\">\r\n <option value=\"Todo\">ToDo</option>\r\n <option value=\"In Progress\">In Progress</option>\r\n <option value=\"Done\">Done</option>\r\n <option value=\"Blocked\">Blocked</option>\r\n </select>\r\n <div className=\"error text-danger\">\r\n {errors.status && projectValidation.status}\r\n </div>\r\n </div>\r\n\r\n <div class=\"form-group\">\r\n <label>User </label>\r\n\r\n\r\n <select ref={register({ required: true })} onChange={handleInputChange}\r\n value={project.users} name=\"users\" class=\"selectpicker form-control border-0 mb-1 px-4 py-4 rounded shadow\"\r\n >\r\n {\r\n users.map(item =>\r\n <option value={item.username}>{item.name}</option>\r\n\r\n )\r\n }\r\n\r\n </select>\r\n <div className=\"error text-danger\">\r\n {errors.users && projectValidation.users}\r\n </div>\r\n </div>\r\n\r\n\r\n <div class=\"form-group\">\r\n <label>Client</label>\r\n <select ref={register({ required: true })} onChange={handleInputChange} value={project.client}\r\n name=\"client\" class=\"selectpicker form-control border-0 mb-1 px-4 py-4 rounded shadow\"\r\n >\r\n {\r\n clients.map(item =>\r\n <option value={item.first_name + ' ' + item.last_name}>{item.first_name + ' ' + item.last_name}</option>\r\n\r\n )\r\n }\r\n </select>\r\n <div className=\"error text-danger\">\r\n {errors.client && projectValidation.client}\r\n </div>\r\n </div>\r\n\r\n\r\n <button type=\"submit\" id=\"save-form\" class=\"btn btn-success\"><i className=\"fa fa-check\"></i>\r\n <font ><font > Save</font></font></button></form>\r\n </div>\r\n )\r\n};\r\n\r\nAddProject.propTypes = {};\r\n\r\nAddProject.defaultProps = {};\r\n\r\nexport default AddProject;\r\n","C:\\projects\\MANAGEM-FRONTEND-ADMIN\\src\\modules\\task\\EditTask\\EditTask.js",["549","550","551","552","553","554","555"],"C:\\projects\\MANAGEM-FRONTEND-ADMIN\\src\\modules\\client\\AddClient\\AddClient.js",["556","557"],"import './AddClient.css';\r\nimport React, { useState } from 'react';\r\nimport { useForm } from 'react-hook-form';\r\nimport showMessage from '../../../libraries/messages/messages'\r\nimport clientMessage from '../../../main/messages/clientMessage'\r\nimport clientValidation from '../../../main/validations/clientValidation'\r\nimport ClientTestService from '../../../main/mocks/ClientTestService';\r\nimport HTTPService from '../../../main/services/HTTPService';\r\nimport clientHTTPService from '../../../main/services/clientHTTPService';\r\n\r\n\r\nconst AddClient = (props) => {\r\n const initialState = {\r\n first_name: \"\",\r\n last_name: \"\",\r\n phone: \"\",\r\n password: \"\",\r\n email: \"\",\r\n company: \"\"\r\n\r\n };\r\n\r\n const { register, handleSubmit, errors } = useForm()\r\n const [client, setClient] = useState(initialState);\r\n\r\n const onSubmit = (data) => {\r\n //saveClient(data)\r\n //ClientTestService.create(data)\r\n clientHTTPService.createClient(data).then(data => {\r\n setClient(initialState)\r\n showMessage('Confirmation', clientMessage.add, 'success')\r\n props.closeModal()\r\n })\r\n\r\n }\r\n\r\n const saveClient = (data) => {\r\n\r\n HTTPService.create(data)\r\n .then(response => {\r\n setClient(initialState)\r\n })\r\n .catch(e => {\r\n console.log(e);\r\n });\r\n\r\n };\r\n\r\n\r\n const handleInputChange = event => {\r\n const { name, value } = event.target;\r\n setClient({ ...client, [name]: value });\r\n };\r\n\r\n return (\r\n <div className=\"AddClient\">\r\n <form method=\"POST\" class=\"\" onSubmit={handleSubmit(onSubmit)}>\r\n <div class=\"row\">\r\n\r\n <div class=\"form-group col-md-12\">\r\n <label>Company</label>\r\n <input ref={register({ required: true })} onChange={handleInputChange} value={client.company}\r\n type=\"text\" name=\"company\" class=\"form-control\" />\r\n <div className=\"error text-danger\">\r\n {errors.company && clientValidation.company}\r\n </div>\r\n </div>\r\n\r\n\r\n <div class=\"form-group col-md-6\">\r\n <input type=\"hidden\" name=\"groups\" value=\"4\" />\r\n <label>First Name<span class=\"text-danger\">*</span></label>\r\n <input ref={register({ required: true })} onChange={handleInputChange} value={client.first_name}\r\n type=\"text\" name=\"first_name\" class=\"form-control\" required=\"\" />\r\n <div className=\"error text-danger\">\r\n {errors.first_name && clientValidation.first_name}\r\n </div>\r\n </div>\r\n\r\n\r\n <div class=\"form-group col-md-6\">\r\n <label>Last Name<span class=\"text-danger\">*</span></label>\r\n <input ref={register({ required: true })} onChange={handleInputChange} value={client.last_name}\r\n type=\"text\" name=\"last_name\" class=\"form-control\" />\r\n <div className=\"error text-danger\">\r\n {errors.last_name && clientValidation.last_name}\r\n </div>\r\n </div>\r\n\r\n <div class=\"form-group col-md-6\">\r\n <label>Email<span class=\"text-danger\">*</span></label>\r\n <input ref={register({ required: true })} onChange={handleInputChange} value={client.email}\r\n type=\"email\" name=\"email\" class=\"form-control\" />\r\n <div className=\"error text-danger\">\r\n {errors.email && clientValidation.email}\r\n </div>\r\n </div>\r\n\r\n <div class=\"form-group col-md-6\">\r\n <label>Telephone</label>\r\n <input ref={register({ required: true })} onChange={handleInputChange} value={client.phone}\r\n type=\"number\" name=\"phone\" class=\"form-control\" />\r\n <div className=\"error text-danger\">\r\n {errors.phone && clientValidation.phone}\r\n </div>\r\n </div>\r\n\r\n </div>\r\n <button type=\"submit\" id=\"save-form\" className=\"btn btn-success\"><i className=\"fa fa-check\"></i>\r\n <font ><font > Save</font></font></button>\r\n\r\n </form>\r\n </div>\r\n )\r\n};\r\n\r\nAddClient.propTypes = {};\r\n\r\nAddClient.defaultProps = {};\r\n\r\nexport default AddClient;\r\n",["558","559"],"C:\\projects\\MANAGEM-FRONTEND-ADMIN\\src\\modules\\user\\AddUser\\AddUser.js",["560","561","562"],"import './AddUser.css';\r\nimport React, { useRef, useState } from 'react';\r\nimport { useForm } from 'react-hook-form';\r\nimport showMessage from '../../../libraries/messages/messages'\r\nimport userMessage from '../../../main/messages/userMessage'\r\nimport userValidation from '../../../main/validations/userValidation'\r\nimport UserTestService from '../../../main/mocks/UserTestService';\r\nimport HTTPService from '../../../main/services/userHTTPService';\r\nimport userHTTPService from '../../../main/services/userHTTPService';\r\n\r\n\r\nconst AddUser = (props) => {\r\n\r\n const initialState = {\r\n firstname: \"\",\r\n lastname: \"\",\r\n email: \"\",\r\n phone: \"\",\r\n password: \"\",\r\n groups: \"\"\r\n };\r\n\r\n const { register, handleSubmit, errors } = useForm()\r\n const [user, setUser] = useState(initialState);\r\n const closeButtonAdd = useRef(null);\r\n\r\n\r\n const closeModalAdd = (data) => {\r\n\r\n closeButtonAdd.current.click()\r\n }\r\n\r\n const onSubmit = (data) => {\r\n\r\n userHTTPService.createUser(data).then(data => {\r\n\r\n setUser(initialState)\r\n showMessage('Confirmation', userMessage.add, 'success')\r\n props.closeModal()\r\n })\r\n\r\n }\r\n\r\n const saveUser = (data) => {\r\n\r\n HTTPService.create(data)\r\n .then(response => {\r\n setUser(initialState)\r\n })\r\n .catch(e => {\r\n console.log(e);\r\n });\r\n\r\n };\r\n\r\n\r\n const handleInputChange = event => {\r\n const { name, value } = event.target;\r\n setUser({ ...user, [name]: value });\r\n };\r\n\r\n return (\r\n <div className=\"AddUser\">\r\n <form method=\"POST\" className=\"\" onSubmit={handleSubmit(onSubmit)}>\r\n <div className=\"row\">\r\n\r\n <div className=\"form-group col-md-6\">\r\n <label>First name<span className=\"text-danger\">*</span></label>\r\n <input ref={register({ required: true })} onChange={handleInputChange}\r\n value={user.firstname} type=\"text\" name=\"firstname\" className=\"form-control\" required=\"\" />\r\n <div className=\"error text-danger\">\r\n {errors.first_name && userValidation.first_name}\r\n </div>\r\n </div>\r\n\r\n <div className=\"form-group col-md-6\">\r\n <label>Last name<span className=\"text-danger\">*</span></label>\r\n <input ref={register({ required: true })} onChange={handleInputChange}\r\n value={user.lastname} type=\"text\" name=\"lastname\" className=\"form-control\" />\r\n <div className=\"error text-danger\">\r\n {errors.last_name && userValidation.last_name}\r\n </div>\r\n </div>\r\n\r\n <div className=\"form-group col-md-6\">\r\n <label>Email<span className=\"text-danger\">*</span></label>\r\n <input ref={register({ required: true })} onChange={handleInputChange}\r\n value={user.email} type=\"email\" name=\"email\" className=\"form-control\" />\r\n <div className=\"error text-danger\">\r\n {errors.email && userValidation.email}\r\n </div>\r\n </div>\r\n\r\n <div className=\"form-group col-md-6\">\r\n <label>Telephone</label>\r\n <input ref={register({ required: true })} onChange={handleInputChange}\r\n value={user.phone} type=\"number\" name=\"phone\" className=\"form-control\" />\r\n <div className=\"error text-danger\">\r\n {errors.phone && userValidation.phone}\r\n </div>\r\n </div>\r\n\r\n\r\n <div className=\"form-group col-md-6\">\r\n <label>Role<span className=\"text-danger\">*</span></label>\r\n\r\n <select ref={register({ required: true })} onChange={handleInputChange}\r\n value={user.groups} name=\"role\" className=\"form-control select2 select2-hidden-accessible\"\r\n tabindex=\"-1\" aria-hidden=\"true\">\r\n <option value=\"Admin\">Admin</option>\r\n <option value=\"Member\">Member</option>\r\n </select>\r\n <div className=\"error text-danger\">\r\n {errors.groups && userValidation.groups}\r\n </div>\r\n </div>\r\n\r\n\r\n\r\n </div>\r\n\r\n <button type=\"submit\" id=\"save-form\" className=\"btn btn-success\"><i className=\"fa fa-check\"></i>\r\n <font ><font > Save</font></font></button>\r\n </form>\r\n </div>\r\n )\r\n};\r\n\r\nAddUser.propTypes = {};\r\n\r\nAddUser.defaultProps = {};\r\n\r\nexport default AddUser;\r\n","C:\\projects\\MANAGEM-FRONTEND-ADMIN\\src\\main\\messages\\myTaskMessage.js",[],"C:\\projects\\MANAGEM-FRONTEND-ADMIN\\src\\main\\validations\\noteValidation.js",[],"C:\\projects\\MANAGEM-FRONTEND-ADMIN\\src\\main\\validations\\taskValidation.js",[],"C:\\projects\\MANAGEM-FRONTEND-ADMIN\\src\\main\\urls\\urls.js",[],"C:\\projects\\MANAGEM-FRONTEND-ADMIN\\src\\main\\mocks\\UserTestService.js",["563"],"const _user = [{\r\n \"first_name\": \"Laurent\", \"last_name\": \"Fecteau\",\r\n \"email\": \"[email protected]\", \"phone\": \"04.76.36.38.36\",\r\n \"groups\": \"Nomal\", \"state\": \"Active\"\r\n}]\r\n\r\nconst getAll = () => {\r\n return _user;\r\n};\r\n\r\nconst get = id => {\r\n return _user.find(item => item.id === id);\r\n};\r\n\r\nconst create = (data) => {\r\n _user.push(data);\r\n};\r\n\r\nconst update = (old, data) => {\r\n\r\n var foundIndex = _user.findIndex(item => item === old);\r\n _user[foundIndex] = data;\r\n};\r\n\r\nconst remove = id => {\r\n _user.splice(id, 1);\r\n};\r\n\r\nconst removeAll = () => {\r\n\r\n};\r\n\r\nconst findByTitle = title => {\r\n\r\n};\r\n\r\nexport default {\r\n getAll,\r\n get,\r\n create,\r\n update,\r\n remove,\r\n removeAll,\r\n findByTitle\r\n};","C:\\projects\\MANAGEM-FRONTEND-ADMIN\\src\\modules\\user\\User\\User.js",["564","565","566","567","568","569","570","571","572","573","574","575","576"],"import React, { useEffect, useRef, useState } from 'react';\r\nimport PropTypes from 'prop-types';\r\nimport './User.css';\r\nimport AddUser from './../AddUser/AddUser';\r\nimport EditUser from './../EditUser/EditUser';\r\nimport ViewUser from './../ViewUser/ViewUser';\r\nimport { LoadJS } from '../../../libraries/datatables/datatables';\r\nimport useForceUpdate from 'use-force-update';\r\nimport showMessage from '../../../libraries/messages/messages';\r\nimport userMessage from '../../../main/messages/userMessage';\r\nimport { Typography, Button, LinearProgress } from '@mui/material';\r\nimport { DataGrid, GridToolbar } from '@mui/x-data-grid';\r\nimport userHTTPService from '../../../main/services/userHTTPService';\r\n\r\n\r\nconst deleteUser = () => {\r\n return window.confirm(\"Êtes-vous sûr de vouloir supprimer cette tache ?\")\r\n}\r\n\r\nconst User = () => {\r\n\r\n const [users, setUsers] = useState([]);\r\n const [updatedItem, setUpdatedItem] = useState({});\r\n const forceUpdate = useForceUpdate();\r\n const [loading, setLoading] = useState(false);\r\n const closeButtonAdd = useRef(null);\r\n const closeModalAdd = (data) => {\r\n resfresh()\r\n closeButtonAdd.current.click()\r\n }\r\n\r\n useEffect(() => {\r\n LoadJS()\r\n retrieveUsers()\r\n }, []);\r\n\r\n\r\n\r\n\r\n const retrieveUsers = () => {\r\n setLoading(true)\r\n userHTTPService.getAllUser()\r\n .then(response => {\r\n setUsers(response.data);\r\n console.log(response.data)\r\n setLoading(false)\r\n })\r\n .catch(e => {\r\n console.log(e);\r\n });\r\n };\r\n\r\n\r\n\r\n\r\n\r\n const resfresh = () => {\r\n retrieveUsers()\r\n forceUpdate()\r\n }\r\n\r\n const remove = (e, data) => {\r\n e.preventDefault();\r\n var r = window.confirm(\"Etes-vous sûr que vous voulez supprimer ?\");\r\n if (r) {\r\n\r\n userHTTPService.removeUser(data).then(data => {\r\n showMessage('Confirmation', userMessage.delete, 'success')\r\n retrieveUsers()\r\n })\r\n //removeOne(data)\r\n resfresh()\r\n }\r\n\r\n }\r\n\r\n const update = (e, data) => {\r\n e.preventDefault();\r\n setUpdatedItem(data)\r\n resfresh()\r\n }\r\n const columns = [\r\n { field: 'id', headerName: '#', width: 30 },\r\n { field: 'first_name', headerName: 'Firstname', width: 200 },\r\n { field: 'last_name', headerName: 'Lastname', width: 200 },\r\n { field: 'role', headerName: 'Role', width: 200 },\r\n { field: 'email', headerName: 'Email', width: 200 },\r\n { field: 'phone', headerName: 'Phone', width: 200 }\r\n ];\r\n\r\n\r\n const handleRowSelection = (e) => {\r\n if (e.length == 1) {\r\n\r\n setUpdatedItemId(e[0])\r\n const selectedItem = users.find(item => item.id == e[0])\r\n setUpdatedItem(selectedItem)\r\n console.log(updatedItem);\r\n }\r\n setUpdatedItemIds(e)\r\n\r\n }\r\n const [updatedItemId, setUpdatedItemId] = useState(0);\r\n const [updatedItemIds, setUpdatedItemIds] = useState([]);\r\n const [showFilter, setShowFilter] = useState(false);\r\n const [showChart, setShowChart] = useState(false);\r\n const removeAll = (e) => {\r\n e.preventDefault();\r\n var r = window.confirm(\"Etes-vous sûr que vous voulez supprimer ?\");\r\n if (r) {\r\n\r\n /* certificateHTTPService.removeAllCertificates().then(data => {\r\n getAllPatient()\r\n }) */\r\n }\r\n }\r\n return (\r\n <div className=\"card\">\r\n <div className=\"card-header\">\r\n <h4><i class=\"menu-icon fas fa-restroom\"></i> Collaborators</h4>\r\n </div>\r\n <div className=\"card-body\">\r\n\r\n <button type=\"button\" className=\"btn btn-success btn-sm\" data-toggle=\"modal\" data-target=\"#addUser\"><i class=\"far fa-plus-square\"></i> Create</button>\r\n <button onClick={e => remove(e, updatedItemId)} type=\"button\" class=\"btn btn-danger btn-sm\"><i class=\"fas fa-trash-alt\"></i> Remove</button>\r\n {loading ?\r\n <LinearProgress />\r\n : <div style={{ height: 430, width: '100%' }}><DataGrid\r\n rows={users}\r\n columns={columns}\r\n pageSize={5}\r\n rowsPerPageOptions={[6]}\r\n checkboxSelection\r\n onSelectionModelChange={handleRowSelection}\r\n components={{ Toolbar: GridToolbar }}\r\n /></div>}\r\n\r\n\r\n\r\n\r\n <div class=\"modal fade\" id=\"addUser\" tabindex=\"-1\" role=\"dialog\" aria-labelledby=\"exampleModalCenterTitle\" aria-hidden=\"true\">\r\n <div class=\"modal-dialog modal-dialog-centered modal-lg\" role=\"document\">\r\n <div class=\"modal-content\">\r\n <div class=\"modal-header\">\r\n <h5 class=\"modal-title\" id=\"exampleModalLongTitle\">New</h5>\r\n <button onClick={resfresh} type=\"button\" class=\"close\" data-dismiss=\"modal\" aria-label=\"Close\">\r\n <span aria-hidden=\"true\">×</span>\r\n </button>\r\n </div>\r\n <div class=\"modal-body\">\r\n <AddUser closeModal={closeModalAdd} />\r\n </div>\r\n <div class=\"modal-footer\">\r\n <button onClick={resfresh} ref={closeButtonAdd} type=\"button\" class=\"btn btn-secondary\" data-dismiss=\"modal\">Close</button>\r\n\r\n </div>\r\n </div>\r\n </div>\r\n </div>\r\n\r\n\r\n\r\n <div class=\"modal fade\" id=\"edit\" tabindex=\"-1\" role=\"dialog\" aria-labelledby=\"exampleModalCenterTitle\" aria-hidden=\"true\">\r\n <div class=\"modal-dialog modal-dialog-centered modal-lg\" role=\"document\">\r\n <div class=\"modal-content\">\r\n <div class=\"modal-header\">\r\n <h5 class=\"modal-title\" id=\"exampleModalLongTitle\">Edit</h5>\r\n <button type=\"button\" class=\"close\" data-dismiss=\"modal\" aria-label=\"Close\">\r\n <span aria-hidden=\"true\">×</span>\r\n </button>\r\n </div>\r\n <div class=\"modal-body\">\r\n <EditUser project={updatedItem} />\r\n </div>\r\n <div class=\"modal-footer\">\r\n <button type=\"button\" class=\"btn btn-secondary\" data-dismiss=\"modal\">Close</button>\r\n\r\n </div>\r\n </div>\r\n </div>\r\n </div>\r\n\r\n\r\n <div class=\"modal fade\" id=\"viewUser\" tabindex=\"-1\" role=\"dialog\" aria-labelledby=\"exampleModalCenterTitle\" aria-hidden=\"true\">\r\n <div class=\"modal-dialog modal-dialog-centered modal-lg\" role=\"document\">\r\n <div class=\"modal-content\">\r\n <div class=\"modal-header\">\r\n <h5 class=\"modal-title\" id=\"exampleModalLongTitle\">Modal title</h5>\r\n <button type=\"button\" class=\"close\" data-dismiss=\"modal\" aria-label=\"Close\">\r\n <span aria-hidden=\"true\">×</span>\r\n </button>\r\n </div>\r\n <div class=\"modal-body\">\r\n <ViewUser />\r\n </div>\r\n <div class=\"modal-footer\">\r\n <button type=\"button\" class=\"btn btn-secondary\" data-dismiss=\"modal\">Fermer</button>\r\n\r\n </div>\r\n </div>\r\n </div>\r\n </div>\r\n </div>\r\n </div>\r\n )\r\n};\r\n\r\nUser.propTypes = {};\r\n\r\nUser.defaultProps = {};\r\n\r\nexport default User;\r\n",["577","578"],"C:\\projects\\MANAGEM-FRONTEND-ADMIN\\src\\modules\\project\\Projects\\Projects.js",["579","580","581","582","583","584","585","586","587","588","589","590","591","592","593","594","595","596","597","598","599"],"C:\\projects\\MANAGEM-FRONTEND-ADMIN\\src\\main\\mocks\\ProjectTestService.js",["600"],"const _tasks = [{\r\n \"title\": \"Contruire une Maison\", \"starting_date\": \"12/12/2009\",\r\n \"ending_date\": \"13/12/2010\", \"users\": \"Manville Goudreau\", \"client\": \"Laure Saucier\", \"status\": \"en cours\"\r\n}]\r\n\r\n\r\nconst getAll = () => {\r\n return _tasks;\r\n};\r\n\r\nconst get = id => {\r\n return _tasks.find(item => item.id === id);\r\n};\r\n\r\nconst create = (data) => {\r\n _tasks.push(data);\r\n};\r\n\r\nconst update = (old, data) => {\r\n\r\n var foundIndex = _tasks.findIndex(item => item === old);\r\n _tasks[foundIndex] = data;\r\n};\r\n\r\nconst remove = id => {\r\n _tasks.splice(id, 1);\r\n};\r\n\r\nconst removeAll = () => {\r\n\r\n};\r\n\r\nconst findByTitle = title => {\r\n\r\n};\r\n\r\nexport default {\r\n getAll,\r\n get,\r\n create,\r\n update,\r\n remove,\r\n removeAll,\r\n findByTitle\r\n};","C:\\projects\\MANAGEM-FRONTEND-ADMIN\\src\\main\\mocks\\ClientTestService.js",["601"],"const _staff = [{\r\n \"company\": \"Exact Realty\", \"last_name\": \"Zerbino\",\r\n \"first_name\": \"Aubé\", \"email\": \"[email protected]\", \"phone\": \"01.42.64.12.81\"\r\n}]\r\n\r\nconst getAll = () => {\r\n return _staff;\r\n};\r\n\r\nconst get = id => {\r\n return _staff.find(item => item.id === id);\r\n};\r\n\r\nconst create = (data) => {\r\n _staff.push(data);\r\n};\r\n\r\nconst update = (old, data) => {\r\n\r\n var foundIndex = _staff.findIndex(item => item === old);\r\n _staff[foundIndex] = data;\r\n};\r\n\r\nconst remove = id => {\r\n _staff.splice(id, 1);\r\n};\r\n\r\nconst removeAll = () => {\r\n\r\n};\r\n\r\nconst findByTitle = title => {\r\n\r\n};\r\n\r\nexport default {\r\n getAll,\r\n get,\r\n create,\r\n update,\r\n remove,\r\n removeAll,\r\n findByTitle\r\n};",["602","603"],"C:\\projects\\MANAGEM-FRONTEND-ADMIN\\src\\modules\\client\\Client\\Client.js",["604","605","606","607","608","609","610","611","612","613","614","615","616"],"C:\\projects\\MANAGEM-FRONTEND-ADMIN\\src\\main\\messages\\taskMessage.js",[],"C:\\projects\\MANAGEM-FRONTEND-ADMIN\\src\\main\\mocks\\MessageTestService.js",["617"],"const _skills = []\r\n\r\nconst getAll = () => {\r\n return _skills;\r\n};\r\n\r\nconst get = id => {\r\n return _skills.find(item => item.id === id);\r\n};\r\n\r\nconst create = (data) => {\r\n _skills.push(data);\r\n};\r\n\r\nconst update = (old, data) => {\r\n\r\n var foundIndex = _skills.findIndex(item => item === old);\r\n _skills[foundIndex] = data;\r\n};\r\n\r\nconst remove = id => {\r\n _skills.splice(id, 1);\r\n};\r\n\r\nconst removeAll = () => {\r\n\r\n};\r\n\r\nconst findByTitle = title => {\r\n\r\n};\r\n\r\nexport default {\r\n getAll,\r\n get,\r\n create,\r\n update,\r\n remove,\r\n removeAll,\r\n findByTitle\r\n};","C:\\projects\\MANAGEM-FRONTEND-ADMIN\\src\\modules\\note\\ViewNote\\ViewNote.js",["618"],"import React from 'react';\r\nimport PropTypes from 'prop-types';\r\nimport './ViewNote.css';\r\n\r\nconst ViewNote = () => (\r\n <div className=\"ViewNote\">\r\n ViewNote Component\r\n </div>\r\n);\r\n\r\nViewNote.propTypes = {};\r\n\r\nViewNote.defaultProps = {};\r\n\r\nexport default ViewNote;\r\n","C:\\projects\\MANAGEM-FRONTEND-ADMIN\\src\\modules\\task\\ViewTask\\ViewTask.js",["619","620","621","622","623","624","625","626","627","628","629","630","631","632"],"import React from 'react';\r\nimport PropTypes from 'prop-types';\r\nimport './ViewTask.css';\r\n\r\nconst ViewTask = () => (\r\n <div className=\"ViewTask\">\r\n <ul class=\"nav nav-pills\">\r\n <li class=\"nav-item\">\r\n <a class=\"nav-link active\" href=\"#\">Overview</a>\r\n </li>\r\n <li class=\"nav-item\">\r\n <a class=\"nav-link active\" href=\"#\">Activity</a>\r\n </li>\r\n <li class=\"nav-item\">\r\n <a class=\"nav-link active\" href=\"#\">Comments</a>\r\n </li>\r\n <li class=\"nav-item dropdown\">\r\n <a class=\"nav-link dropdown-toggle\" data-toggle=\"dropdown\" href=\"#\" role=\"button\" aria-haspopup=\"true\" aria-expanded=\"false\">Actions</a>\r\n <div class=\"dropdown-menu\">\r\n <a class=\"dropdown-item\" href=\"#\">Mark as Review</a>\r\n <a class=\"dropdown-item\" href=\"#\">Mark as to to do</a>\r\n <a class=\"dropdown-item\" href=\"#\">Mark as Blocked</a>\r\n <a class=\"dropdown-item\" href=\"#\">Mark as Done</a>\r\n <div class=\"dropdown-divider\"></div>\r\n <a class=\"dropdown-item\" href=\"#\">Copy</a>\r\n <a class=\"dropdown-item\" href=\"#\">Edit</a>\r\n <a class=\"dropdown-item\" href=\"#\">Delete</a>\r\n </div>\r\n </li>\r\n <li class=\"nav-item\">\r\n <a class=\"nav-link\" href=\"#\">Link</a>\r\n </li>\r\n <li class=\"nav-item\">\r\n <a class=\"nav-link disabled\" href=\"#\">Disabled</a>\r\n </li>\r\n </ul>\r\n </div>\r\n);\r\n\r\nViewTask.propTypes = {};\r\n\r\nViewTask.defaultProps = {};\r\n\r\nexport default ViewTask;\r\n",["633","634"],"C:\\projects\\MANAGEM-FRONTEND-ADMIN\\src\\modules\\project\\EditProject\\EditProject.js",["635","636","637","638","639","640","641"],"import React, { useEffect, useState } from 'react';\r\nimport PropTypes from 'prop-types';\r\nimport './EditProject.css';\r\nimport projectHTTPService from '../../../main/services/projectHTTPService';\r\nimport projectMessage from '../../../main/messages/projectMessage';\r\nimport showMessage from '../../../libraries/messages/messages';\r\nimport { useForm } from 'react-hook-form';\r\nimport clientHTTPService from '../../../main/services/clientHTTPService';\r\nimport userHTTPService from '../../../main/services/userHTTPService';\r\n\r\nconst EditProject = (props) => {\r\n\r\n const { register, handleSubmit, errors } = useForm() // initialise the hook\r\n const [project, setProject] = useState(props.project);\r\n const [typeSubs, setTypeSubs] = useState([]);\r\n const [members, setMembers] = useState([]);\r\n const [clients, setClients] = useState([]);\r\n const [users, setUsers] = useState([]);\r\n const [loading, setLoading] = useState(false);\r\n\r\n useEffect(() => {\r\n setProject(props.project)\r\n console.log(props.project)\r\n }, [props.project]);\r\n\r\n\r\n const onSubmit = (data) => {\r\n console.log(data)\r\n projectHTTPService.editProject(props.project.id, data).then(data => {\r\n props.closeModal()\r\n showMessage('Confirmation', projectMessage.edit, 'success')\r\n\r\n }).catch(e => {\r\n console.log(e)\r\n })\r\n\r\n }\r\n\r\n const handleInputChange = event => {\r\n const { name, value } = event.target;\r\n setProject({ ...project, [name]: value });\r\n };\r\n\r\n useEffect(() => {\r\n retrieveUsers()\r\n retrieveClients()\r\n }, []);\r\n\r\n const retrieveClients = () => {\r\n setLoading(true)\r\n clientHTTPService.getAllClient().then(data => {\r\n setLoading(false)\r\n setClients(data.data)\r\n\r\n });\r\n ;\r\n };\r\n\r\n\r\n const retrieveUsers = () => {\r\n setLoading(true)\r\n userHTTPService.getAllUser()\r\n .then(response => {\r\n setUsers(response.data);\r\n console.log(response.data)\r\n setLoading(false)\r\n })\r\n .catch(e => {\r\n console.log(e);\r\n });\r\n };\r\n\r\n\r\n\r\n\r\n\r\n return (\r\n <div className=\"EditProject\">\r\n <form class=\"\" onSubmit={handleSubmit(onSubmit)}>\r\n\r\n <div class=\"form-group\">\r\n <label>Title<span class=\"text-danger\">*</span></label>\r\n <input type=\"text\" name=\"title\" class=\"form-control\" onChange={handleInputChange} value={project.title} ref={register({ required: true })} />\r\n </div>\r\n\r\n <div class=\"form-group\">\r\n <label>Short description<span class=\"text-danger\">*</span></label>\r\n <textarea type=\"text\" name=\"description\" class=\"form-control\" onChange={handleInputChange} value={project.description} ref={register({ required: true })}></textarea>\r\n </div>\r\n\r\n <div class=\"form-group\">\r\n <label>Start<span class=\"text-danger\">*</span></label>\r\n <input type=\"date\" name=\"starting_date\" class=\"form-control datepicker\" onChange={handleInputChange} value={project.starting_date} ref={register({ required: true })} />\r\n </div>\r\n\r\n <div class=\"form-group\">\r\n <label>End<span class=\"text-danger\">*</span></label>\r\n <input type=\"date\" name=\"ending_date\" class=\"form-control datepicker\" onChange={handleInputChange} value={project.ending_date} ref={register({ required: true })} />\r\n </div>\r\n\r\n <div class=\"form-group\">\r\n <label>Status<span class=\"text-danger\">*</span></label>\r\n <select name=\"status\" class=\"selectpicker form-control border-0 mb-1 px-4 py-4 rounded shadow\"\r\n onChange={handleInputChange} value={project.title} ref={register({ required: true })}>\r\n <option value=\"Todo\">ToDo</option>\r\n <option value=\"In Progress\">In Progress</option>\r\n <option value=\"Done\">Done</option>\r\n <option value=\"Blocked\">Blocked</option>\r\n </select>\r\n </div>\r\n\r\n <div class=\"form-group\">\r\n <label>User </label>\r\n\r\n\r\n <select name=\"users\" class=\"selectpicker form-control border-0 mb-1 px-4 py-4 rounded shadow\"\r\n onChange={handleInputChange}\r\n value={project.users} ref={register({ required: true })}>\r\n {\r\n users.map(item =>\r\n <option value={item.username}>{item.name}</option>\r\n\r\n )\r\n }\r\n </select>\r\n </div>\r\n\r\n\r\n <div class=\"form-group\">\r\n <label>Client</label>\r\n <select name=\"client\" class=\"selectpicker form-control border-0 mb-1 px-4 py-4 rounded shadow\"\r\n onChange={handleInputChange} value={project.client} ref={register({ required: true })}>\r\n {\r\n clients.map(item =>\r\n <option value={item.first_name + ' ' + item.last_name}>{item.first_name + ' ' + item.last_name}</option>\r\n\r\n )\r\n }\r\n </select>\r\n </div>\r\n\r\n\r\n <button name=\"submit\" type=\"submit\" class=\"btn btn-primary\"><i class=\"far fa-save\"></i>\r\n Save</button>\r\n </form>\r\n </div>\r\n )\r\n\r\n};\r\n\r\nEditProject.propTypes = {};\r\n\r\nEditProject.defaultProps = {};\r\n\r\nexport default EditProject;\r\n","C:\\projects\\MANAGEM-FRONTEND-ADMIN\\src\\modules\\user\\EditUser\\EditUser.js",["642"],"import React from 'react';\r\nimport PropTypes from 'prop-types';\r\nimport './EditUser.css';\r\n\r\nconst EditUser = () => (\r\n <div className=\"EditUser\">\r\n <form method=\"POST\" className=\"\">\r\n <div className=\"row\">\r\n\r\n <div className=\"form-group col-md-6\">\r\n <label>First name<span className=\"text-danger\">*</span></label>\r\n <input type=\"text\" name=\"first_name\" className=\"form-control\" required=\"\" />\r\n </div>\r\n\r\n <div className=\"form-group col-md-6\">\r\n <label>Last name<span className=\"text-danger\">*</span></label>\r\n <input type=\"text\" name=\"last_name\" className=\"form-control\" />\r\n </div>\r\n\r\n <div className=\"form-group col-md-6\">\r\n <label>Email<span className=\"text-danger\">*</span> <i className=\"fas fa-question-circle\" data-toggle=\"tooltip\" data-placement=\"right\" title=\"\" data-original-title=\"This email will not be updated latter.\"></i></label>\r\n <input type=\"email\" name=\"email\" className=\"form-control\" />\r\n </div>\r\n\r\n <div className=\"form-group col-md-6\">\r\n <label>Telephone</label>\r\n <input type=\"text\" name=\"phone\" className=\"form-control\" />\r\n </div>\r\n\r\n <div className=\"form-group col-md-6\">\r\n <label>Password<span className=\"text-danger\">*</span></label>\r\n <input type=\"text\" name=\"password\" className=\"form-control\" />\r\n </div>\r\n\r\n\r\n <div className=\"form-group col-md-6\">\r\n <label>Role<span className=\"text-danger\">*</span> <i className=\"fas fa-question-circle\" data-toggle=\"tooltip\" data-placement=\"right\" title=\"\" data-original-title=\"Select user role like admin or team member.\"></i></label>\r\n <select name=\"groups\" className=\"form-control select2 select2-hidden-accessible\" tabindex=\"-1\" aria-hidden=\"true\">\r\n <option value=\"1\">Admin</option>\r\n <option value=\"2\">Members</option>\r\n </select>\r\n </div>\r\n\r\n\r\n\r\n </div>\r\n <button className=\"d-none\" id=\"fire-modal-2-submit\">Save</button></form>\r\n </div>\r\n);\r\n\r\nEditUser.propTypes = {};\r\n\r\nEditUser.defaultProps = {};\r\n\r\nexport default EditUser;\r\n","C:\\projects\\MANAGEM-FRONTEND-ADMIN\\src\\libraries\\messages\\messages.js",[],"C:\\projects\\MANAGEM-FRONTEND-ADMIN\\src\\main\\validations\\projectValidation.js",[],["643","644"],"C:\\projects\\MANAGEM-FRONTEND-ADMIN\\src\\libraries\\axios\\axios.js",[],"C:\\projects\\MANAGEM-FRONTEND-ADMIN\\src\\main\\shared\\Header\\Header.js",["645","646","647","648","649","650","651","652"],"C:\\projects\\MANAGEM-FRONTEND-ADMIN\\src\\modules\\user\\ViewUser\\ViewUser.js",["653"],"import React from 'react';\r\nimport PropTypes from 'prop-types';\r\nimport './ViewUser.css';\r\n\r\nconst ViewUser = () => (\r\n <div className=\"ViewUser\">\r\n ViewUser Component\r\n </div>\r\n);\r\n\r\nViewUser.propTypes = {};\r\n\r\nViewUser.defaultProps = {};\r\n\r\nexport default ViewUser;\r\n","C:\\projects\\MANAGEM-FRONTEND-ADMIN\\src\\modules\\task\\AddTask\\AddTask.js",["654","655","656"],"C:\\projects\\MANAGEM-FRONTEND-ADMIN\\src\\main\\validations\\clientValidation.js",[],"C:\\projects\\MANAGEM-FRONTEND-ADMIN\\src\\main\\shared\\Content\\Content.js",["657","658","659","660"],"C:\\projects\\MANAGEM-FRONTEND-ADMIN\\src\\index.js",[],"C:\\projects\\MANAGEM-FRONTEND-ADMIN\\src\\main\\shared\\Root\\Root.js",["661","662","663","664"],"C:\\projects\\MANAGEM-FRONTEND-ADMIN\\src\\main\\config\\user.js",[],"C:\\projects\\MANAGEM-FRONTEND-ADMIN\\src\\modules\\shared\\DashBoard\\DashBoard.js",["665","666","667","668","669","670","671","672","673","674","675","676","677","678","679"],"import React, { useEffect, useState } from 'react';\r\n\r\nimport User from '../../../main/config/user';\r\n\r\nimport { Pie } from 'react-chartjs-2';\r\n//import { Chart as ChartJS, ArcElement, Tooltip, Legend } from 'chart.js';\r\nimport {\r\n Chart as ChartJS,\r\n CategoryScale,\r\n LinearScale,\r\n PointElement,\r\n LineElement,\r\n Title,\r\n Tooltip,\r\n Legend,\r\n ArcElement\r\n} from 'chart.js';\r\nimport { LoadJS } from '../../../libraries/datatables/datatables';\r\nimport projectHTTPService from '../../../main/services/projectHTTPService';\r\nimport { Line } from 'react-chartjs-2';\r\nimport mytaskHTTPService from '../../../main/services/mytaskHTTPService';\r\nimport taskHHTPService from '../../../main/services/taskHHTPService';\r\nimport ProjectInProgress from '../../../modules/project/ProjectInProgress/ProjectInProgress';\r\nimport TaskInProgress from '../../../modules/task/TaskInProgress/TaskInProgress';\r\nimport DashboardSummary from '../../../modules/shared/DashboardSummary/DashboardSummary';\r\nimport clientHTTPService from '../../../main/services/clientHTTPService';\r\nimport userHTTPService from '../../../main/services/userHTTPService';\r\nimport { useHistory } from 'react-router-dom';\r\nimport settingsHTTPService from '../../../main/services/settingsHTTPService';\r\n//import faker from 'faker';\r\n\r\n//ChartJS.register(ArcElement, Tooltip, Legend);\r\nChartJS.register(\r\n CategoryScale,\r\n LinearScale,\r\n PointElement,\r\n LineElement,\r\n Title,\r\n Tooltip,\r\n Legend, ArcElement\r\n);\r\n\r\nexport const options = {\r\n responsive: true,\r\n plugins: {\r\n legend: {\r\n position: 'top',\r\n },\r\n title: {\r\n display: true,\r\n text: 'Chart.js Line Chart',\r\n },\r\n },\r\n};\r\n\r\nconst labels = ['January', 'February', 'March', 'April', 'May', 'June', 'July'];\r\n\r\nexport const data2 = {\r\n labels,\r\n datasets: [\r\n {\r\n label: 'Dataset 1',\r\n data: [1, 3, 4, 5, 11, 3, 2],\r\n borderColor: 'rgb(255, 99, 132)',\r\n backgroundColor: 'rgba(255, 99, 132, 0.5)',\r\n }\r\n\r\n ],\r\n};\r\nexport const data = {\r\n labels: ['Red', 'Blue', 'Yellow', 'Green', 'Purple', 'Orange'],\r\n datasets: [\r\n {\r\n label: '# of Votes',\r\n data: [12, 19, 3, 5, 2, 3],\r\n backgroundColor: [\r\n 'rgba(255, 99, 132, 0.2)',\r\n 'rgba(54, 162, 235, 0.2)',\r\n 'rgba(255, 206, 86, 0.2)',\r\n 'rgba(75, 192, 192, 0.2)',\r\n 'rgba(153, 102, 255, 0.2)',\r\n 'rgba(255, 159, 64, 0.2)',\r\n ],\r\n borderColor: [\r\n 'rgba(255, 99, 132, 1)',\r\n 'rgba(54, 162, 235, 1)',\r\n 'rgba(255, 206, 86, 1)',\r\n 'rgba(75, 192, 192, 1)',\r\n 'rgba(153, 102, 255, 1)',\r\n 'rgba(255, 159, 64, 1)',\r\n ],\r\n borderWidth: 1,\r\n },\r\n ],\r\n};\r\nconst DashBoard = () => {\r\n const [project, setProject] = useState(data);\r\n const [myTasks, setTasks] = useState([])\r\n const [loading, setLoading] = useState(false);\r\n\r\n\r\n const [todo, setTodo] = useState(0);\r\n const [inprogress, setInprogress] = useState(0);\r\n const [done, setDone] = useState(0);\r\n const [blocked, setBlocked] = useState(0);\r\n const [dashboardSettings, setDashboardSettings] = useState([]);\r\n\r\n const [todotask, setTodotask] = useState(0);\r\n const [inprogresstask, setInprogresstask] = useState(0);\r\n const [completed, setCompleted] = useState(0);\r\n const [inreview, setInreview] = useState(0);\r\n let history = useHistory()\r\n\r\n\r\n useEffect(() => {\r\n if (localStorage.getItem('connected') == undefined) {\r\n history.push(\"/login\")\r\n }\r\n loadChartData()\r\n getDashboardSettings()\r\n //LoadJS()\r\n\r\n\r\n }, []);\r\n const getDashboardSettings = () => {\r\n settingsHTTPService.getDashboardSettings().then(data => {\r\n setDashboardSettings(data.data[0])\r\n console.log(dashboardSettings)\r\n\r\n })\r\n }\r\n\r\n const loadChartData = () => {\r\n setLoading(true)\r\n projectHTTPService.findprojectByStatus().then(data => {\r\n console.log(data.data)\r\n setProject(data.data)\r\n setLoading(false)\r\n })\r\n // var tasks = MyTaskTestService.getAll();\r\n taskHHTPService.getAllMyTask(User.USER_DETAIL.username).then(data => {\r\n console.log(data.data)\r\n setTasks(data.data)\r\n })\r\n projectHTTPService.getTodo().then(data => {\r\n setTodo(data.data.todo)\r\n })\r\n projectHTTPService.getInprogress().then(data => {\r\n setInprogress(data.data.inprogress)\r\n })\r\n projectHTTPService.getDone().then(data => {\r\n setDone(data.data.done)\r\n })\r\n projectHTTPService.getBlocked().then(data => {\r\n setBlocked(data.data.blocked)\r\n })\r\n\r\n taskHHTPService.getTodo().then(data => {\r\n setTodo(data.data.todo)\r\n })\r\n taskHHTPService.getInprogress().then(data => {\r\n setInprogress(data.data.inprogress)\r\n })\r\n taskHHTPService.getCompleted().then(data => {\r\n setCompleted(data.data.completed)\r\n })\r\n taskHHTPService.getinreview().then(data => {\r\n setInreview(data.data.inreview)\r\n })\r\n\r\n }\r\n\r\n return (\r\n\r\n <div className=\"col-md-12\">\r\n {dashboardSettings.showSummary == 1 &&\r\n <DashboardSummary />\r\n }\r\n <div className=\"col-lg-12\">\r\n <div className=\"card\">\r\n {dashboardSettings.showExpenseIncomeCharts == 1 &&\r\n <div className=\"row\">\r\n <div className=\"col-lg-6\">\r\n\r\n <div className=\"card-body\">\r\n\r\n <h4 className=\"box-title\">Projects </h4>\r\n <Pie data={{\r\n labels: ['To do', 'In progress', 'Done', 'Blocked'],\r\n datasets: [\r\n {\r\n label: '# of Votes',\r\n data: [todo, inprogress, done, blocked],\r\n backgroundColor: [\r\n 'rgba(255, 99, 132, 0.2)',\r\n 'rgba(54, 162, 235, 0.2)',\r\n 'rgba(255, 206, 86, 0.2)',\r\n 'rgba(111, 111, 86, 0.2)'\r\n ],\r\n borderColor: [\r\n 'rgba(255, 99, 132, 1)',\r\n 'rgba(54, 162, 235, 1)',\r\n 'rgba(255, 206, 86, 1)',\r\n 'rgba(111, 111, 86, 1)'\r\n ],\r\n borderWidth: 1,\r\n },\r\n ],\r\n }} />\r\n </div>\r\n </div>\r\n <div className=\"col-lg-6\">\r\n\r\n <div className=\"card-body\">\r\n\r\n <h4 className=\"box-title\">Tasks </h4>\r\n <Pie data={{\r\n labels: ['To do', 'In Progress', 'Completed', 'In Review'],\r\n datasets: [\r\n {\r\n label: '# of Votes',\r\n data: [todo, inprogress, completed, inreview],\r\n backgroundColor: [\r\n 'rgba(255, 99, 132, 0.2)',\r\n 'rgba(54, 162, 235, 0.2)',\r\n 'rgba(255, 206, 86, 0.2)',\r\n 'rgba(111, 111, 86, 0.2)'\r\n ],\r\n borderColor: [\r\n 'rgba(255, 99, 132, 1)',\r\n 'rgba(54, 162, 235, 1)',\r\n 'rgba(255, 206, 86, 1)',\r\n 'rgba(111, 111, 86, 0.2)'\r\n ],\r\n borderWidth: 1,\r\n },\r\n ],\r\n }} />\r\n </div>\r\n </div>\r\n </div>\r\n }\r\n\r\n </div>\r\n </div>\r\n <div className=\"orders\">\r\n <div className=\"row\">\r\n <div className=\"col-xl-8\">\r\n <div className=\"card\">\r\n <div className=\"card-body\">\r\n <h4 className=\"box-title\"> Tasks </h4>\r\n </div>\r\n <div className=\"card-body--\">\r\n <div className=\"table-stats order-table ov-h\">\r\n <table className=\"table \">\r\n <thead>\r\n <tr>\r\n <th className=\"serial\">#</th>\r\n <th className=\"avatar\">Task</th>\r\n <th>Start</th>\r\n <th>End</th>\r\n <th>Priority</th>\r\n <th>Assigned</th>\r\n <th>Status</th>\r\n </tr>\r\n </thead>\r\n <tbody>\r\n {myTasks.map(item =>\r\n <tr key={item.id}>\r\n <td className=\"serial\">{item.id}</td>\r\n <td className=\"avatar\">\r\n {item.title}\r\n </td>\r\n <td> {item.startdate}</td>\r\n <td> <span className=\"name\">{item.deadline}</span> </td>\r\n <td> <span className=\"product\">{item.priority}</span> </td>\r\n <td><span className=\"count\">{item.assigned}</span></td>\r\n <td>\r\n <span className=\"badge badge-complete\">{item.status}</span>\r\n </td>\r\n </tr>\r\n\r\n\r\n )}\r\n\r\n </tbody>\r\n </table>\r\n </div>\r\n </div>\r\n </div>\r\n </div>\r\n\r\n <div className=\"col-xl-4\">\r\n <div className=\"row\">\r\n <ProjectInProgress />\r\n\r\n <TaskInProgress />\r\n </div>\r\n </div>\r\n </div>\r\n </div>\r\n </div>\r\n\r\n )\r\n};\r\n\r\nDashBoard.propTypes = {};\r\n\r\nDashBoard.defaultProps = {};\r\n\r\nexport default DashBoard;\r\n","C:\\projects\\MANAGEM-FRONTEND-ADMIN\\src\\modules\\shared\\DashBoard\\TimeLine.js",["680","681","682","683","684"],"import React, { useEffect, useRef, useState } from 'react';\r\nimport moment from 'moment'\r\nimport PropTypes from 'prop-types';\r\n\r\nimport Task from '../../mytask/Task/Task';\r\nimport TimeLine from \"react-gantt-timeline\";\r\nimport { NavLink } from 'react-router-dom';\r\nimport projectHTTPService from '../../../main/services/projectHTTPService';\r\n\r\n\r\nconst ProjectTimeLine = () => {\r\n // var links = []\r\n //var data = []\r\n const buttonAdd = useRef(null);\r\n const [projects, setProjects] = useState([]);\r\n useEffect(() => {\r\n getAllProjects()\r\n }, []);\r\n\r\n const getAllProjects = () => {\r\n let projectList = []\r\n projectHTTPService.getAllProject()\r\n .then(response => {\r\n let colors = ['orange', 'blue', 'green', 'yellow', 'red']\r\n\r\n for (const item of response.data) {\r\n let index = Math.floor(Math.random() * (colors.length - 0 + 1) + 0)\r\n let projectObject = {\r\n id: item.id,\r\n start: new Date(item.starting_date),\r\n end: new Date(item.ending_date),\r\n name: item.title,\r\n color: colors[index]\r\n }\r\n projectList.push(projectObject)\r\n }\r\n setProjects(projectList)\r\n })\r\n .catch(e => {\r\n console.log(e);\r\n });\r\n };\r\n\r\n let d1 = new Date();\r\n let d2 = new Date();\r\n d2.setDate(d2.getDate() + 5);\r\n let d3 = new Date();\r\n d3.setDate(d3.getDate() + 8);\r\n let d4 = new Date();\r\n d4.setDate(d4.getDate() + 20);\r\n const data = [\r\n {\r\n id: 1,\r\n start: d1,\r\n end: d2,\r\n name: \"Projet 1\"\r\n },\r\n {\r\n id: 2,\r\n start: d3,\r\n end: d4,\r\n name: \"Projet 2\",\r\n color: \"orange\"\r\n },\r\n {\r\n id: 2,\r\n start: d2,\r\n end: d3,\r\n name: \"Projet 3\",\r\n color: \"blue\"\r\n },\r\n {\r\n id: 2,\r\n start: d1,\r\n end: d4,\r\n name: \"Projet 4\",\r\n color: \"green\"\r\n }\r\n ];\r\n const links = [{ id: 1, start: 1, end: 2 }];\r\n\r\n\r\n\r\n\r\n return (\r\n <div>\r\n\r\n <div className=\"horizontal-scrollable\">\r\n <div className=\"card\">\r\n <div className=\"card-header\">\r\n <h4><i class=\"menu-icon fa fa-folder\"></i> Projects</h4>\r\n </div>\r\n <div className=\"card-body\">\r\n\r\n <div class=\"btn-group\">\r\n <button type=\"button\" class=\"btn btn-danger btn-sm dropdown-toggle\" data-toggle=\"dropdown\" aria-haspopup=\"true\" aria-expanded=\"false\">\r\n <i className=\"menu-icon fa fa-male\"></i> Switch to\r\n </button>\r\n <div class=\"dropdown-menu\">\r\n <NavLink class=\"dropdown-item\" to=\"/projects\">List view</NavLink>\r\n <NavLink class=\"dropdown-item\" to=\"/project-kanban\">Kanban view</NavLink>\r\n <NavLink class=\"dropdown-item\" to=\"/calendar\">Calendar view</NavLink>\r\n <NavLink class=\"dropdown-item\" to=\"/timeline\" >Gantt view</NavLink>\r\n </div>\r\n </div>\r\n <TimeLine data={projects} links={links} />\r\n </div>\r\n </div>\r\n </div>\r\n </div>\r\n )\r\n};\r\n\r\nProjectTimeLine.propTypes = {};\r\n\r\nProjectTimeLine.defaultProps = {};\r\n\r\nexport default ProjectTimeLine;\r\n","C:\\projects\\MANAGEM-FRONTEND-ADMIN\\src\\modules\\mytask\\Task\\Task.js",["685","686","687","688","689","690","691","692","693","694","695","696","697","698","699","700","701","702","703","704","705","706","707","708","709","710","711","712","713"],"C:\\projects\\MANAGEM-FRONTEND-ADMIN\\src\\main\\messages\\messageMessage.js",[],["714","715"],"C:\\projects\\MANAGEM-FRONTEND-ADMIN\\src\\main\\messages\\projectMessage.js",[],"C:\\projects\\MANAGEM-FRONTEND-ADMIN\\src\\modules\\note\\AddNote\\AddNote.js",["716","717"],"import './AddNote.css';\r\nimport React, { useState } from 'react';\r\nimport { useForm } from 'react-hook-form';\r\nimport showMessage from '../../../libraries/messages/messages'\r\nimport noteMessage from '../../../main/messages/noteMessage'\r\nimport noteValidation from '../../../main/validations/noteValidation'\r\nimport NoteTestService from '../../../main/mocks/NoteTestService';\r\nimport HTTPService from '../../../main/services/userHTTPService';\r\nimport noteHTTPService from '../../../main/services/noteHTTPService';\r\n\r\n\r\nconst AddNote = (props) => {\r\n const initialState = {\r\n\r\n description: \"\",\r\n name: \"\"\r\n\r\n };\r\n\r\n const { register, handleSubmit, errors } = useForm()\r\n const [note, setNote] = useState(initialState);\r\n\r\n const onSubmit = (data) => {\r\n //saveNote(data)\r\n // NoteTestService.create(data)\r\n noteHTTPService.createNote(data).then(data => {\r\n setNote(initialState)\r\n showMessage('Confirmation', noteMessage.add, 'success')\r\n props.closeModal()\r\n })\r\n\r\n }\r\n\r\n\r\n\r\n const handleInputChange = event => {\r\n const { name, value } = event.target;\r\n setNote({ ...note, [name]: value });\r\n };\r\n\r\n return (\r\n <div className=\"AddNote\">\r\n <form method=\"POST\" class=\"\" onSubmit={handleSubmit(onSubmit)}>\r\n <div class=\"row\">\r\n\r\n <div class=\"form-group col-md-12\">\r\n <label>Title<span class=\"text-danger\">*</span></label>\r\n <input ref={register({ required: true })} onChange={handleInputChange} value={note.name}\r\n type=\"text\" name=\"name\" class=\"form-control\" />\r\n\r\n\r\n\r\n <label>Description<span class=\"text-danger\">*</span></label>\r\n <textarea ref={register({ required: true })} onChange={handleInputChange} value={note.description}\r\n type=\"text\" name=\"description\" class=\"form-control\"></textarea>\r\n <div className=\"error text-danger\">\r\n {errors.description && noteValidation.description}\r\n </div>\r\n </div>\r\n\r\n </div>\r\n <button type=\"submit\" id=\"save-form\" className=\"btn btn-success\">\r\n <i className=\"fa fa-check\"></i>\r\n <font ><font > Save</font></font></button></form>\r\n </div>\r\n )\r\n};\r\n\r\nAddNote.propTypes = {};\r\n\r\nAddNote.defaultProps = {};\r\n\r\nexport default AddNote;\r\n","C:\\projects\\MANAGEM-FRONTEND-ADMIN\\src\\modules\\client\\ViewClient\\ViewClient.js",["718","719","720","721","722","723","724","725","726","727","728"],"import React from 'react';\r\nimport PropTypes from 'prop-types';\r\nimport './ViewClient.css';\r\n\r\nconst ViewClient = () => (\r\n <div className=\"ViewClient\">\r\n <ul class=\"nav nav-pills\">\r\n <li class=\"nav-item\">\r\n <a class=\"nav-link active\" href=\"#\">Overview</a>\r\n </li>\r\n <li class=\"nav-item\">\r\n <a class=\"nav-link active\" href=\"#\">Contract</a>\r\n </li>\r\n <li class=\"nav-item\">\r\n <a class=\"nav-link active\" href=\"#\">Project</a>\r\n </li>\r\n <li class=\"nav-item dropdown\">\r\n <a class=\"nav-link dropdown-toggle\" data-toggle=\"dropdown\" href=\"#\" role=\"button\" aria-haspopup=\"true\" aria-expanded=\"false\">Dropdown</a>\r\n <div class=\"dropdown-menu\">\r\n <a class=\"dropdown-item\" href=\"#\">Action</a>\r\n <a class=\"dropdown-item\" href=\"#\">Another action</a>\r\n <a class=\"dropdown-item\" href=\"#\">Something else here</a>\r\n <div class=\"dropdown-divider\"></div>\r\n <a class=\"dropdown-item\" href=\"#\">Separated link</a>\r\n </div>\r\n </li>\r\n <li class=\"nav-item\">\r\n <a class=\"nav-link\" href=\"#\">Link</a>\r\n </li>\r\n <li class=\"nav-item\">\r\n <a class=\"nav-link disabled\" href=\"#\">Disabled</a>\r\n </li>\r\n </ul>\r\n\r\n </div>\r\n);\r\n\r\nViewClient.propTypes = {};\r\n\r\nViewClient.defaultProps = {};\r\n\r\nexport default ViewClient;\r\n","C:\\projects\\MANAGEM-FRONTEND-ADMIN\\src\\modules\\mytask\\AddMyTask\\AddMyTask.js",["729"],"import './AddMyTask.css';\r\nimport React, { useState } from 'react';\r\nimport { useForm } from 'react-hook-form';\r\nimport showMessage from '../../../libraries/messages/messages'\r\nimport myTaskMessage from '../../../main/messages/myTaskMessage'\r\nimport myTaskValidation from '../../../main/validations/myTaskValidation'\r\nimport MyTaskTestService from '../../../main/mocks/MyTaskTestService';\r\nimport HTTPService from '../../../main/services/HTTPService';\r\n\r\nconst AddMyTask = () => {\r\n const initialState = {\r\n todo: \"\",\r\n due_date: \"\",\r\n };\r\n\r\n const { register, handleSubmit, errors } = useForm()\r\n const [myTask, setMyTask] = useState(initialState);\r\n\r\n const onSubmit = (data) => {\r\n //saveMyTask(data)\r\n MyTaskTestService.create(data)\r\n setMyTask(initialState)\r\n showMessage('Confirmation', myTaskMessage.add, 'success')\r\n }\r\n\r\n const saveMyTask = (data) => {\r\n\r\n HTTPService.create(data)\r\n .then(response => {\r\n setMyTask(initialState)\r\n })\r\n .catch(e => {\r\n console.log(e);\r\n });\r\n\r\n };\r\n\r\n\r\n const handleInputChange = event => {\r\n const { name, value } = event.target;\r\n setMyTask({ ...myTask, [name]: value });\r\n };\r\n\r\n return (\r\n <div className=\"AddMyTask\">\r\n <form method=\"POST\" class=\"\" onSubmit={handleSubmit(onSubmit)}>\r\n <div class=\"row\">\r\n\r\n <div class=\"form-group col-md-12\">\r\n <label>Tache<span class=\"text-danger\">*</span></label>\r\n <textarea ref={register({ required: true })} onChange={handleInputChange}\r\n value={myTask.todo} type=\"text\" name=\"todo\" class=\"form-control\"></textarea>\r\n <div className=\"error text-danger\">\r\n {errors.todo && myTaskValidation.todo}\r\n </div>\r\n </div>\r\n\r\n <div class=\"form-group col-md-12\">\r\n <label>date échéance<span class=\"text-danger\">*</span></label>\r\n <input ref={register({ required: true })} onChange={handleInputChange}\r\n value={myTask.due_date} type=\"date\" name=\"due_date\" class=\"form-control datepicker\" />\r\n <div className=\"error text-danger\">\r\n {errors.due_date && myTaskValidation.due_date}\r\n </div>\r\n </div>\r\n\r\n </div>\r\n\r\n <button type=\"submit\" id=\"save-form\" className=\"btn btn-success\"><i className=\"fa fa-check\"></i>\r\n <font ><font > Sauvegarder</font></font></button>\r\n </form>\r\n </div>\r\n )\r\n};\r\n\r\nAddMyTask.propTypes = {};\r\n\r\nAddMyTask.defaultProps = {};\r\n\r\nexport default AddMyTask;\r\n","C:\\projects\\MANAGEM-FRONTEND-ADMIN\\src\\main\\shared\\Login\\Login.js",["730"],"C:\\projects\\MANAGEM-FRONTEND-ADMIN\\src\\modules\\note\\Note\\Note.js",["731","732","733","734","735","736","737","738","739","740","741","742","743","744","745"],"C:\\projects\\MANAGEM-FRONTEND-ADMIN\\src\\main\\mocks\\NoteTestService.js",["746"],"const _location = []\r\n\r\nconst getAll = () => {\r\n return _location;\r\n};\r\n\r\nconst get = id => {\r\n return _location.find(item => item.id === id);\r\n};\r\n\r\nconst create = (data) => {\r\n _location.push(data);\r\n};\r\n\r\nconst update = (old, data) => {\r\n\r\n var foundIndex = _location.findIndex(item => item === old);\r\n _location[foundIndex] = data;\r\n};\r\n\r\nconst remove = id => {\r\n _location.splice(id, 1);\r\n};\r\n\r\nconst removeAll = () => {\r\n\r\n};\r\n\r\nconst findByTitle = title => {\r\n\r\n};\r\n\r\nexport default {\r\n getAll,\r\n get,\r\n create,\r\n update,\r\n remove,\r\n removeAll,\r\n findByTitle\r\n};","C:\\projects\\MANAGEM-FRONTEND-ADMIN\\src\\modules\\note\\EditNote\\EditNote.js",["747","748","749","750","751","752"],"import React, { useEffect, useState } from 'react';\r\nimport PropTypes from 'prop-types';\r\nimport './EditNote.css';\r\nimport noteHTTPService from '../../../main/services/noteHTTPService';\r\nimport showMessage from '../../../libraries/messages/messages';\r\nimport noteMessage from '../../../main/messages/noteMessage';\r\nimport { useForm } from 'react-hook-form';\r\n\r\nconst EditNote = (props) => {\r\n\r\n const { register, handleSubmit, errors } = useForm() // initialise the hook\r\n const [note, setNote] = useState(props.note);\r\n const [typeSubs, setTypeSubs] = useState([]);\r\n const [members, setMembers] = useState([]);\r\n\r\n useEffect(() => {\r\n setNote(props.note)\r\n\r\n }, [props.note]);\r\n\r\n\r\n const onSubmit = (data) => {\r\n console.log(data)\r\n noteHTTPService.editNote(props.note.id, data).then(data => {\r\n props.closeModal()\r\n showMessage('Confirmation', noteMessage.edit, 'success')\r\n }).catch(e => {\r\n console.log(e)\r\n })\r\n\r\n }\r\n\r\n const handleInputChange = event => {\r\n const { name, value } = event.target;\r\n setNote({ ...note, [name]: value });\r\n };\r\n\r\n\r\n return (\r\n <div className=\"EditNote\">\r\n <form onSubmit={handleSubmit(onSubmit)} class=\"\">\r\n <div class=\"row\">\r\n <div class=\"form-group col-md-12\">\r\n <label>Title<span class=\"text-danger\">*</span></label>\r\n <input ref={register({ required: true })} onChange={handleInputChange} value={note.name}\r\n type=\"text\" name=\"name\" class=\"form-control\" />\r\n\r\n <label>Description<span class=\"text-danger\">*</span></label>\r\n <textarea type=\"text\" name=\"description\" class=\"form-control\" onChange={handleInputChange} value={note.description} ref={register({ required: true })} ></textarea>\r\n </div>\r\n </div>\r\n <button name=\"submit\" type=\"submit\" class=\"btn btn-primary\"><i class=\"far fa-save\"></i>\r\n Save</button></form>\r\n </div>\r\n )\r\n\r\n};\r\n\r\nEditNote.propTypes = {};\r\n\r\nEditNote.defaultProps = {};\r\n\r\nexport default EditNote;\r\n","C:\\projects\\MANAGEM-FRONTEND-ADMIN\\src\\modules\\project\\ViewProject\\ViewProject.js",["753"],"C:\\projects\\MANAGEM-FRONTEND-ADMIN\\src\\main\\validations\\userValidation.js",[],"C:\\projects\\MANAGEM-FRONTEND-ADMIN\\src\\main\\validations\\myTaskValidation.js",[],["754","755"],"C:\\projects\\MANAGEM-FRONTEND-ADMIN\\src\\libraries\\datatables\\datatables.js",[],"C:\\projects\\MANAGEM-FRONTEND-ADMIN\\src\\modules\\client\\EditClient\\EditClient.js",["756","757","758","759","760","761"],"import React, { useEffect, useState } from 'react';\r\nimport PropTypes from 'prop-types';\r\nimport './EditClient.css';\r\nimport { useForm } from 'react-hook-form';\r\nimport clientHTTPService from '../../../main/services/clientHTTPService'\r\nimport showMessage from '../../../libraries/messages/messages';\r\nimport clientMessage from '../../../main/messages/clientMessage';\r\nconst EditClient = (props) => {\r\n\r\n const { register, handleSubmit, errors } = useForm() // initialise the hook\r\n const [client, setNote] = useState(props.client);\r\n const [typeSubs, setTypeSubs] = useState([]);\r\n const [members, setMembers] = useState([]);\r\n\r\n useEffect(() => {\r\n setNote(props.client)\r\n\r\n }, [props.client]);\r\n\r\n\r\n const onSubmit = (data) => {\r\n console.log(data)\r\n clientHTTPService.editClient(props.client.id, data).then(data => {\r\n props.closeModal()\r\n showMessage('Confirmation', clientMessage.edit, 'success')\r\n }).catch(e => {\r\n console.log(e)\r\n })\r\n\r\n }\r\n\r\n const handleInputChange = event => {\r\n const { name, value } = event.target;\r\n setNote({ ...client, [name]: value });\r\n };\r\n\r\n\r\n return (\r\n <div className=\"EditClient\">\r\n <form method=\"POST\" class=\"\" onSubmit={handleSubmit(onSubmit)}>\r\n <div class=\"row\">\r\n\r\n <div class=\"form-group col-md-12\">\r\n <label>Company</label>\r\n <input ref={register({ required: true })} onChange={handleInputChange} value={client.company}\r\n type=\"text\" name=\"company\" class=\"form-control\" />\r\n\r\n </div>\r\n\r\n\r\n <div class=\"form-group col-md-6\">\r\n <input type=\"hidden\" name=\"groups\" value=\"4\" />\r\n <label>First name<span class=\"text-danger\">*</span></label>\r\n <input ref={register({ required: true })} onChange={handleInputChange} value={client.first_name}\r\n type=\"text\" name=\"first_name\" class=\"form-control\" required=\"\" />\r\n\r\n </div>\r\n\r\n\r\n <div class=\"form-group col-md-6\">\r\n <label>Last name<span class=\"text-danger\">*</span></label>\r\n <input ref={register({ required: true })} onChange={handleInputChange} value={client.last_name}\r\n type=\"text\" name=\"last_name\" class=\"form-control\" />\r\n\r\n </div>\r\n\r\n <div class=\"form-group col-md-6\">\r\n <label>Email<span class=\"text-danger\">*</span></label>\r\n <input ref={register({ required: true })} onChange={handleInputChange} value={client.email}\r\n type=\"email\" name=\"email\" class=\"form-control\" />\r\n\r\n </div>\r\n\r\n <div class=\"form-group col-md-6\">\r\n <label>Telephone</label>\r\n <input ref={register({ required: true })} onChange={handleInputChange} value={client.phone}\r\n type=\"number\" name=\"phone\" class=\"form-control\" />\r\n\r\n </div>\r\n\r\n\r\n </div>\r\n <button type=\"submit\" id=\"save-form\" className=\"btn btn-success\"><i className=\"fa fa-check\"></i>\r\n <font ><font > Save</font></font></button>\r\n\r\n </form>\r\n </div>\r\n )\r\n};\r\n\r\nEditClient.propTypes = {};\r\n\r\nEditClient.defaultProps = {};\r\n\r\nexport default EditClient;\r\n","C:\\projects\\MANAGEM-FRONTEND-ADMIN\\src\\reportWebVitals.js",[],["762","763"],"C:\\projects\\MANAGEM-FRONTEND-ADMIN\\src\\main\\messages\\userMessage.js",[],"C:\\projects\\MANAGEM-FRONTEND-ADMIN\\src\\main\\services\\projectHTTPService.js",["764"],"C:\\projects\\MANAGEM-FRONTEND-ADMIN\\src\\main\\services\\clientHTTPService.js",["765"],"import http from \"../../libraries/axios/axios\";\r\nimport BASE_URL from \"../urls/urls\";\r\n\r\nconst getAllClient = () => {\r\n return http.get(`${BASE_URL}/api/client`)\r\n}\r\nconst createClient = data => {\r\n return http.post(`${BASE_URL}/api/client`, data);\r\n};\r\n\r\nconst editClient = (id, data) => {\r\n return http.put(`${BASE_URL}/api/client/${id}`, data);\r\n};\r\n\r\nconst removeClient = id => {\r\n return http.delete(`${BASE_URL}/api/client/${id}`);\r\n};\r\nconst getCount = () => {\r\n return http.get(`${BASE_URL}/api/count/client/all`)\r\n}\r\nexport default {\r\n getAllClient,\r\n createClient,\r\n editClient,\r\n removeClient,\r\n getCount\r\n};","C:\\projects\\MANAGEM-FRONTEND-ADMIN\\src\\main\\services\\taskHHTPService.js",["766"],"import http from \"../../libraries/axios/axios\";\r\nimport BASE_URL from \"../urls/urls\";\r\n\r\nconst getAllTask = () => {\r\n return http.get(`${BASE_URL}/api/task`)\r\n}\r\n\r\nconst getAllMyTask = (user) => {\r\n console.log(`${BASE_URL}/api/mytask/${user}`)\r\n return http.get(`${BASE_URL}/api/mytask/${user}`)\r\n}\r\n\r\nconst getTopTask = () => {\r\n return http.get(`${BASE_URL}/api/count/task/top`)\r\n}\r\nconst createTask = data => {\r\n return http.post(`${BASE_URL}/api/task`, data);\r\n};\r\n\r\nconst editTask = (id, data) => {\r\n return http.put(`${BASE_URL}/api/task/${id}`, data);\r\n};\r\n\r\nconst removeTask = id => {\r\n return http.delete(`${BASE_URL}/api/task/${id}`);\r\n};\r\n\r\nconst getTodo = () => {\r\n return http.get(`${BASE_URL}/api/count/task/todo`)\r\n}\r\n\r\nconst getInprogress = () => {\r\n return http.get(`${BASE_URL}/api/count/task/inprogress`)\r\n}\r\n\r\nconst getinreview = () => {\r\n return http.get(`${BASE_URL}/api/count/task/inreview`)\r\n}\r\n\r\nconst getCompleted = () => {\r\n return http.get(`${BASE_URL}/api/count/task/completed`)\r\n}\r\nconst getCount = () => {\r\n return http.get(`${BASE_URL}/api/count/task/all`)\r\n}\r\n\r\nexport default {\r\n getTodo,\r\n getinreview,\r\n getCompleted,\r\n getInprogress,\r\n getAllTask,\r\n createTask,\r\n editTask,\r\n removeTask,\r\n getTopTask,\r\n getAllMyTask,\r\n getCount\r\n};","C:\\projects\\MANAGEM-FRONTEND-ADMIN\\src\\main\\services\\mytaskHTTPService.js",["767"],"import http from \"../../libraries/axios/axios\";\r\nimport BASE_URL from \"../urls/urls\";\r\n\r\nconst getAllMyTask = () => {\r\n return http.get(`${BASE_URL}/api/mytask`)\r\n}\r\nconst createMyTask = data => {\r\n return http.post(`${BASE_URL}/api/mytask`, data);\r\n};\r\n\r\nconst editMyTask = (id, data) => {\r\n return http.put(`${BASE_URL}/api/mytask/${id}`, data);\r\n};\r\n\r\nconst removeMyTask = id => {\r\n return http.delete(`${BASE_URL}/api/mytask/${id}`);\r\n};\r\nconst getTodo = () => {\r\n return http.get(`${BASE_URL}/api/count/mytask/todo`)\r\n}\r\n\r\nconst getInprogress = () => {\r\n return http.get(`${BASE_URL}/api/count/mytask/inprogress`)\r\n}\r\n\r\nconst getinreview = () => {\r\n return http.get(`${BASE_URL}/api/count/mytask/inreview`)\r\n}\r\n\r\nconst getCompleted = () => {\r\n return http.get(`${BASE_URL}/api/count/mytask/completed`)\r\n}\r\nexport default {\r\n getTodo,\r\n getinreview,\r\n getCompleted,\r\n getInprogress,\r\n getAllMyTask,\r\n createMyTask,\r\n editMyTask,\r\n removeMyTask\r\n};","C:\\projects\\MANAGEM-FRONTEND-ADMIN\\src\\main\\shared\\Path\\Path.js",["768","769","770"],"import React from 'react';\r\nimport PropTypes from 'prop-types';\r\nimport './Path.css';\r\n\r\nconst Path = () => (\r\n <div className='path'>\r\n <nav aria-label=\"breadcrumb\" class=\"main-breadcrumb\">\r\n <ol class=\"breadcrumb\">\r\n <li class=\"breadcrumb-item\"><a href=\"index.html\">Home</a></li>\r\n <li class=\"breadcrumb-item\"><a href=\"javascript:void(0)\">User</a></li>\r\n <li class=\"breadcrumb-item active\" aria-current=\"page\">Profile Settings</li>\r\n </ol>\r\n\r\n </nav></div>\r\n);\r\n\r\nPath.propTypes = {};\r\n\r\nPath.defaultProps = {};\r\n\r\nexport default Path;\r\n","C:\\projects\\MANAGEM-FRONTEND-ADMIN\\src\\main\\services\\noteHTTPService.js",["771"],"import http from \"../../libraries/axios/axios\";\r\nimport BASE_URL from \"../urls/urls\";\r\n\r\nconst getAllNote = () => {\r\n return http.get(`${BASE_URL}/api/note`)\r\n}\r\nconst createNote = data => {\r\n return http.post(`${BASE_URL}/api/note`, data);\r\n};\r\n\r\nconst editNote = (id, data) => {\r\n return http.put(`${BASE_URL}/api/note/${id}`, data);\r\n};\r\n\r\nconst removeNote = id => {\r\n return http.delete(`${BASE_URL}/api/note/${id}`);\r\n};\r\n\r\nexport default {\r\n getAllNote,\r\n createNote,\r\n editNote,\r\n removeNote\r\n};",["772","773"],"C:\\projects\\MANAGEM-FRONTEND-ADMIN\\src\\modules\\shared\\ConfigurationModules\\ConfigurationModules.js",["774"],"import React from 'react';\nimport PropTypes from 'prop-types';\nimport './ConfigurationModules.css';\n\nconst ConfigurationModules = () => (\n <div class=\"container\">\n\n\n\n\n\n <div class=\"row gutters-sm\">\n <div class=\"col-md-4 d-none d-md-block\">\n <div class=\"card\">\n <div class=\"card-body\">\n <nav class=\"nav flex-column nav-pills nav-gap-y-1\">\n <a href=\"#project\" data-toggle=\"tab\" class=\"nav-item nav-link has-icon nav-link-faded active\">\n Project\n </a>\n <a href=\"#tasks\" data-toggle=\"tab\" class=\"nav-item nav-link has-icon nav-link-faded\">\n Tasks\n </a>\n <a href=\"#mytasks\" data-toggle=\"tab\" class=\"nav-item nav-link has-icon nav-link-faded\">\n My tasks\n </a>\n <a href=\"#users\" data-toggle=\"tab\" class=\"nav-item nav-link has-icon nav-link-faded\">\n Users\n </a>\n <a href=\"#client\" data-toggle=\"tab\" class=\"nav-item nav-link has-icon nav-link-faded\">\n Client\n </a>\n\n </nav>\n </div>\n </div>\n </div>\n <div class=\"col-md-8\">\n <div class=\"card\">\n\n <div class=\"card-body tab-content\">\n <div class=\"tab-pane active\" id=\"project\">\n <h6>Project Settings</h6><hr />\n <form>\n <div class=\"form-group\">\n <label class=\"d-block mb-0\">Default theme color</label>\n <div class=\"small text-muted mb-3\">Blue</div>\n\n <label class=\"d-block mb-0\">App Title</label>\n <div class=\"small text-muted mb-3\">Managem</div>\n\n <label class=\"d-block mb-0\">Signin page background</label>\n <div class=\"small text-muted mb-3\">Yes</div>\n\n <label class=\"d-block mb-0\">Show logo in signin page</label>\n <div class=\"small text-muted mb-3\">Yes</div>\n\n <label class=\"d-block mb-0\">Entreprise Name</label>\n <div class=\"small text-muted mb-3\">Delta Dev Software</div>\n\n <label class=\"d-block mb-0\">Address</label>\n <div class=\"small text-muted mb-3\">60c Avenue de Colmar 68100</div>\n\n <label class=\"d-block mb-0\">Email</label>\n <div class=\"small text-muted mb-3\">[email protected]</div>\n\n\n <button class=\"btn btn-info\" type=\"button\">Edit</button>\n <button class=\"btn btn-warning\" type=\"button\">Restore to default</button>\n </div>\n </form>\n </div>\n <div class=\"tab-pane\" id=\"tasks\">\n <h6>Tasks Settings</h6><hr />\n <label class=\"d-block mb-0\">Language</label>\n <div class=\"small text-muted mb-3\">English</div>\n <label class=\"d-block mb-0\">Time zone</label>\n <div class=\"small text-muted mb-3\">GMT+2</div>\n <label class=\"d-block mb-0\">Date format</label>\n <div class=\"small text-muted mb-3\">dd-mm-yyyy</div>\n <label class=\"d-block mb-0\">Currency</label>\n <div class=\"small text-muted mb-3\">USD</div>\n <label class=\"d-block mb-0\">Currency symbol</label>\n <div class=\"small text-muted mb-3\">$</div>\n <button class=\"btn btn-info\" type=\"button\">Edit</button>\n <button class=\"btn btn-warning\" type=\"button\">Restore to default</button>\n </div>\n <div class=\"tab-pane\" id=\"mytasks\">\n <h6>My tasks Settings</h6><hr />\n <label class=\"d-block mb-0\">[email protected] </label>\n <div class=\"small text-muted mb-3\">Email sent from address </div>\n <label class=\"d-block mb-0\">Managem</label>\n <div class=\"small text-muted mb-3\">Email sent from name</div>\n <label class=\"d-block mb-0\">smtp.mail.com</label>\n <div class=\"small text-muted mb-3\">SMTP server</div>\n\n <button class=\"btn btn-info\" type=\"button\">Edit</button>\n <button class=\"btn btn-warning\" type=\"button\">Restore to default</button>\n\n\n </div>\n <div class=\"tab-pane\" id=\"users\">\n <h6>Users Settings</h6><hr />\n <label class=\"d-block mb-0\">sdfsfrgsdf</label>\n <div class=\"small text-muted mb-3\">Projects</div>\n\n <button class=\"btn btn-info\" type=\"button\">Edit</button>\n <button class=\"btn btn-warning\" type=\"button\">Restore to default</button>\n\n </div>\n <div class=\"tab-pane\" id=\"client\">\n <h6>Client Settings</h6><hr />\n <label class=\"d-block mb-0\">Yes</label>\n <div class=\"small text-muted mb-3\">Enable Left Menu</div>\n\n <button class=\"btn btn-info\" type=\"button\">Edit</button>\n <button class=\"btn btn-warning\" type=\"button\">Restore to default</button>\n\n </div>\n </div>\n\n </div>\n </div>\n </div>\n </div>\n);\n\nConfigurationModules.propTypes = {};\n\nConfigurationModules.defaultProps = {};\n\nexport default ConfigurationModules;\n","C:\\projects\\MANAGEM-FRONTEND-ADMIN\\src\\main\\services\\contractHTTPService.js",["775"],"import http from \"../../libraries/axios/axios\";\r\nimport BASE_URL from \"../urls/urls\";\r\n\r\nconst getAllContract = () => {\r\n return http.get(`${BASE_URL}/api/contract`)\r\n}\r\nconst createContract = data => {\r\n return http.post(`${BASE_URL}/api/contract`, data);\r\n};\r\n\r\nconst editContract = (id, data) => {\r\n return http.put(`${BASE_URL}/api/contract/${id}`, data);\r\n};\r\n\r\nconst removeContract = id => {\r\n return http.delete(`${BASE_URL}/api/contract/${id}`);\r\n};\r\n\r\nexport default {\r\n getAllContract,\r\n createContract,\r\n editContract,\r\n removeContract\r\n};","C:\\projects\\MANAGEM-FRONTEND-ADMIN\\src\\main\\services\\teamHTTPService.js",["776"],"import http from \"../../libraries/axios/axios\";\r\nimport BASE_URL from \"../urls/urls\";\r\n\r\nconst getAllTeam = () => {\r\n return http.get(`${BASE_URL}/api/team`)\r\n}\r\nconst createTeam = data => {\r\n return http.post(`${BASE_URL}/api/team`, data);\r\n};\r\n\r\nconst editTeam = (id, data) => {\r\n return http.put(`${BASE_URL}/api/team/${id}`, data);\r\n};\r\n\r\nconst removeTeam = id => {\r\n return http.delete(`${BASE_URL}/api/team/${id}`);\r\n};\r\n\r\nexport default {\r\n getAllTeam,\r\n createTeam,\r\n editTeam,\r\n removeTeam\r\n};","C:\\projects\\MANAGEM-FRONTEND-ADMIN\\src\\main\\services\\userHTTPService.js",["777"],"import http from \"../../libraries/axios/axios\";\r\nimport BASE_URL from \"../urls/urls\";\r\n\r\nconst getAllUser = () => {\r\n return http.get(`${BASE_URL}/api/user`)\r\n}\r\nconst createUser = data => {\r\n return http.post(`${BASE_URL}/api/user`, data);\r\n};\r\n\r\nconst editUser = (id, data) => {\r\n return http.put(`${BASE_URL}/api/user/${id}`, data);\r\n};\r\n\r\nconst removeUser = id => {\r\n return http.delete(`${BASE_URL}/api/user/${id}`);\r\n};\r\nconst getCount = () => {\r\n return http.get(`${BASE_URL}/api/count/user/all`)\r\n}\r\nconst login = data => {\r\n return http.post(`${BASE_URL}/api/user/login`, data);\r\n};\r\nexport default {\r\n getAllUser,\r\n createUser,\r\n editUser,\r\n removeUser,\r\n getCount,\r\n login\r\n};","C:\\projects\\MANAGEM-FRONTEND-ADMIN\\src\\main\\services\\HTTPService.js",[],"C:\\projects\\MANAGEM-FRONTEND-ADMIN\\src\\main\\services\\settingsHTTPService.js",["778"],"import http from \"../../libraries/axios/axios\";\r\nimport BASE_URL from \"../urls/urls\";\r\n\r\nconst getSystemSettings = () => {\r\n return http.get(`${BASE_URL}/api/syssettings`)\r\n}\r\n\r\nconst getDashboardSettings = () => {\r\n return http.get(`${BASE_URL}/api/dashboardsettings`)\r\n}\r\n\r\nconst getNotificationSettings = () => {\r\n return http.get(`${BASE_URL}/api/notificationsettings`)\r\n}\r\n\r\nconst getEmailSettings = () => {\r\n return http.get(`${BASE_URL}/api/emailsettings`)\r\n}\r\n\r\nconst getEmailTemplateettings = () => {\r\n return http.get(`${BASE_URL}/api/emailtemplatesettings`)\r\n}\r\n\r\nconst getFooterSettings = () => {\r\n return http.get(`${BASE_URL}/api/footersettings`)\r\n}\r\n\r\nconst getHeaderSettings = () => {\r\n return http.get(`${BASE_URL}/api/headersettings`)\r\n}\r\n\r\nconst getLocalisationSettings = () => {\r\n return http.get(`${BASE_URL}/api/localisationsettings`)\r\n}\r\n\r\nconst editDashboardSettings = (id, data) => {\r\n return http.put(`${BASE_URL}/api/edit/dashboardsettings/${id}`, data);\r\n};\r\n\r\nconst editSystemSettings = (id, data) => {\r\n return http.put(`${BASE_URL}/api/edit/systemsettings/${id}`, data);\r\n};\r\n\r\nconst editEmailSettings = (id, data) => {\r\n return http.put(`${BASE_URL}/api/edit/emailsettings/${id}`, data);\r\n};\r\n\r\n\r\nconst editLocalisationSettings = (id, data) => {\r\n return http.put(`${BASE_URL}/api/edit/localisationsettings/${id}`, data);\r\n};\r\n\r\nconst editFooterSettings = (id, data) => {\r\n return http.put(`${BASE_URL}/api/edit/footersettings/${id}`, data);\r\n};\r\n\r\nconst editHeaderSettings = (id, data) => {\r\n return http.put(`${BASE_URL}/api/edit/headersettings/${id}`, data);\r\n};\r\n\r\nconst editNotificationsSettings = (id, data) => {\r\n return http.put(`${BASE_URL}/api/edit/notificationsettings/${id}`, data);\r\n};\r\n\r\nconst restoreSystemSettings = (id) => {\r\n return http.get(`${BASE_URL}/api/restore/syssettings/${id}`);\r\n};\r\n\r\nconst restoreDashboardettings = (id) => {\r\n return http.get(`${BASE_URL}/api/restore/dashboard/${id}`);\r\n};\r\n\r\nconst restoreHeaderettings = (id) => {\r\n return http.get(`${BASE_URL}/api/restore/header/${id}`);\r\n};\r\n\r\nconst restoreFooterSettings = (id) => {\r\n return http.get(`${BASE_URL}/api/restore/footer/${id}`);\r\n};\r\n\r\n\r\nexport default {\r\n restoreDashboardettings,\r\n restoreHeaderettings,\r\n restoreFooterSettings,\r\n restoreSystemSettings,\r\n editSystemSettings,\r\n editEmailSettings,\r\n editLocalisationSettings,\r\n editFooterSettings,\r\n editHeaderSettings,\r\n editNotificationsSettings,\r\n getSystemSettings,\r\n getLocalisationSettings,\r\n getHeaderSettings,\r\n getFooterSettings,\r\n getEmailTemplateettings,\r\n getEmailSettings,\r\n getNotificationSettings,\r\n getDashboardSettings,\r\n editDashboardSettings\r\n};","C:\\projects\\MANAGEM-FRONTEND-ADMIN\\src\\modules\\shared\\EditDashboardSettings\\EditDashboardSettings.js",["779","780"],"import PropTypes from 'prop-types';\nimport './EditDashboardSettings.css';\nimport { useForm } from 'react-hook-form';\nimport settingsHTTPService from '../../../main/services/settingsHTTPService';\nimport showMessage from '../../../libraries/messages/messages';\nimport React, { useEffect, useState } from 'react';\n\n\nconst EditDashboardSettings = () => {\n const { register, handleSubmit, errors } = useForm()\n const [dashboardSettings, setDashboardSettings] = useState();\n\n useEffect(() => {\n getDashboardSettings()\n }, [])\n\n\n const handleInputChange = event => {\n const { name, value } = event.target;\n setDashboardSettings({ ...dashboardSettings, [name]: value });\n };\n\n const getDashboardSettings = () => {\n settingsHTTPService.getDashboardSettings().then(data => {\n console.log(data.data[0])\n setDashboardSettings(data.data[0])\n\n })\n }\n\n const onSubmit = (data) => {\n settingsHTTPService.editDashboardSettings(dashboardSettings.id, data).then(data => {\n console.log(data)\n showMessage('Confirmation', 'activityMessage.edit', 'success')\n })\n }\n\n\n return (\n <div className=\"EditDashboardSettings\">\n <form onSubmit={handleSubmit(onSubmit)}>\n\n <div class=\"form-group row\">\n <label for=\"select2\" class=\"col-4 col-form-label\">Show Summary</label>\n <div class=\"col-8\">\n <select onChange={handleInputChange} value={dashboardSettings?.showSummary} ref={register({ required: true })}\n id=\"select2\" name=\"showSummary\" class=\"custom-select\">\n\n <option value=\"1\">Yes</option>\n <option value=\"0\">No</option>\n </select>\n </div>\n </div>\n\n <div class=\"form-group row\">\n <label for=\"select2\" class=\"col-4 col-form-label\">Show Calendar</label>\n <div class=\"col-8\">\n <select onChange={handleInputChange} value={dashboardSettings?.showCalendar} ref={register({ required: true })}\n id=\"select2\" name=\"showCalendar\" class=\"custom-select\">\n\n <option value=\"1\">Yes</option>\n <option value=\"0\">No</option>\n </select>\n </div>\n </div>\n\n <div class=\"form-group row\">\n <label for=\"select2\" class=\"col-4 col-form-label\">Show Charts</label>\n <div class=\"col-8\">\n <select onChange={handleInputChange} value={dashboardSettings?.showExpenseIncomeCharts} ref={register({ required: true })}\n id=\"select2\" name=\"showExpenseIncomeCharts\" class=\"custom-select\">\n\n <option value=\"1\">Yes</option>\n <option value=\"0\">No</option>\n </select>\n </div>\n </div>\n\n <div class=\"form-group row\">\n <div class=\"offset-4 col-8\">\n <button name=\"submit\" type=\"submit\" class=\"btn btn-primary\"><i class=\"far fa-save\"></i>\n Save</button>\n </div>\n </div>\n\n\n </form>\n </div>\n )\n};\n\nEditDashboardSettings.propTypes = {};\n\nEditDashboardSettings.defaultProps = {};\n\nexport default EditDashboardSettings;","C:\\projects\\MANAGEM-FRONTEND-ADMIN\\src\\modules\\shared\\EditLocalisationSettings\\EditLocalisationSettings.js",["781","782"],"C:\\projects\\MANAGEM-FRONTEND-ADMIN\\src\\modules\\shared\\EditFooterSettings\\EditFooterSettings.js",["783","784"],"C:\\projects\\MANAGEM-FRONTEND-ADMIN\\src\\modules\\shared\\EditNotificationsSettings\\EditNotificationsSettings.js",["785","786"],"C:\\projects\\MANAGEM-FRONTEND-ADMIN\\src\\modules\\shared\\EditEmailSettings\\EditEmailSettings.js",["787","788"],"import PropTypes from 'prop-types';\nimport './EditEmailSettings.css';\nimport { useForm } from 'react-hook-form';\nimport settingsHTTPService from '../../../main/services/settingsHTTPService';\nimport showMessage from '../../../libraries/messages/messages';\nimport React, { useEffect, useState } from 'react';\n\nconst EditEmailSettings = () => {\n const { register, handleSubmit, errors } = useForm()\n const [emailSettings, setEmailSettings] = useState();\n\n useEffect(() => {\n getEmailSettings()\n }, [])\n\n const handleInputChange = event => {\n const { name, value } = event.target;\n setEmailSettings({ ...emailSettings, [name]: value });\n };\n\n const getEmailSettings = () => {\n settingsHTTPService.getEmailSettings().then(data => {\n console.log(data.data[0])\n setEmailSettings(data.data[0])\n\n })\n }\n\n const onSubmit = (data) => {\n settingsHTTPService.editEmailSettings(emailSettings.id, data).then(data => {\n console.log(data)\n showMessage('Confirmation', 'activityMessage.edit', 'success')\n })\n }\n return (\n <div className=\"EditDashboardSettings\">\n <form onSubmit={handleSubmit(onSubmit)}>\n\n <div class=\"form-group row\">\n <label for=\"select2\" class=\"col-4 col-form-label\">SMTP</label>\n <div class=\"col-8\">\n\n <input onChange={handleInputChange} value={emailSettings?.smtp} ref={register({ required: true })}\n id=\"text\" name=\"smtp\" type=\"text\" class=\"form-control\" />\n </div>\n </div>\n\n <div class=\"form-group row\">\n <label for=\"select2\" class=\"col-4 col-form-label\">Email address</label>\n <div class=\"col-8\">\n <input onChange={handleInputChange} value={emailSettings?.emailSentAddress} ref={register({ required: true })}\n id=\"text\" name=\"emailSentAddress\" type=\"text\" class=\"form-control\" />\n </div>\n </div>\n\n\n <div class=\"form-group row\">\n <div class=\"offset-4 col-8\">\n <button name=\"submit\" type=\"submit\" class=\"btn btn-primary\"><i class=\"far fa-save\"></i>\n Save</button>\n </div>\n </div>\n\n\n </form>\n </div>\n )\n}\n\nEditEmailSettings.propTypes = {};\n\nEditEmailSettings.defaultProps = {};\n\nexport default EditEmailSettings;","C:\\projects\\MANAGEM-FRONTEND-ADMIN\\src\\modules\\shared\\EditHeaderSettings\\EditHeaderSettings.js",["789","790"],"import PropTypes from 'prop-types';\nimport './EditHeaderSettings.css';\nimport { useForm } from 'react-hook-form';\nimport settingsHTTPService from '../../../main/services/settingsHTTPService';\nimport showMessage from '../../../libraries/messages/messages';\nimport React, { useEffect, useState } from 'react';\n\nconst EditHeaderSettings = () => {\n\n const { register, handleSubmit, errors } = useForm()\n const [headerSettings, setHeaderSettings] = useState();\n\n useEffect(() => {\n getHeaderSettings()\n }, [])\n const handleInputChange = event => {\n const { name, value } = event.target;\n setHeaderSettings({ ...headerSettings, [name]: value });\n };\n\n const getHeaderSettings = () => {\n settingsHTTPService.getHeaderSettings().then(data => {\n setHeaderSettings(data.data[0])\n\n })\n }\n\n const onSubmit = (data) => {\n settingsHTTPService.editHeaderSettings(headerSettings.id, data).then(data => {\n showMessage('Confirmation', 'activityMessage.edit', 'success')\n getHeaderSettings()\n })\n }\n\n\n return (\n <div className=\"EditDashboardSettings\">\n <form onSubmit={handleSubmit(onSubmit)}>\n\n <div class=\"form-group row\">\n <label for=\"select2\" class=\"col-4 col-form-label\">Show search Bar</label>\n <div class=\"col-8\">\n <select onChange={handleInputChange} value={headerSettings?.enbaleSearchBar} ref={register({ required: true })}\n id=\"select2\" name=\"enbaleSearchBar\" class=\"custom-select\">\n\n <option value=\"1\">Yes</option>\n <option value=\"0\">No</option>\n </select>\n </div>\n </div>\n\n <div class=\"form-group row\">\n <label for=\"select2\" class=\"col-4 col-form-label\">Show logo</label>\n <div class=\"col-8\">\n <select onChange={handleInputChange} value={headerSettings?.showLogo} ref={register({ required: true })}\n id=\"select2\" name=\"showLogo\" class=\"custom-select\">\n\n <option value=\"1\">Yes</option>\n <option value=\"0\">No</option>\n </select>\n </div>\n </div>\n\n <div class=\"form-group row\">\n <div class=\"offset-4 col-8\">\n <button name=\"submit\" type=\"submit\" class=\"btn btn-primary\"><i class=\"far fa-save\"></i>\n Save</button>\n </div>\n </div>\n </form>\n </div>\n )\n}\n\nEditHeaderSettings.propTypes = {};\n\nEditHeaderSettings.defaultProps = {};\n\nexport default EditHeaderSettings;","C:\\projects\\MANAGEM-FRONTEND-ADMIN\\src\\modules\\shared\\EditSystemSettings\\EditSystemSettings.js",["791","792"],"import PropTypes from 'prop-types';\nimport './EditSystemSettings.css';\nimport { useForm } from 'react-hook-form';\nimport settingsHTTPService from '../../../main/services/settingsHTTPService';\nimport showMessage from '../../../libraries/messages/messages';\nimport React, { useEffect, useState } from 'react';\n\nconst EditSystemSettings = () => {\n const { register, handleSubmit, errors } = useForm()\n const [systemSettings, setSystemSettings] = useState();\n\n useEffect(() => {\n getSystemSettings()\n }, [])\n\n const handleInputChange = event => {\n const { name, value } = event.target;\n setSystemSettings({ ...systemSettings, [name]: value });\n };\n\n const getSystemSettings = () => {\n settingsHTTPService.getSystemSettings().then(data => {\n setSystemSettings(data.data[0])\n console.log(data.data[0])\n })\n }\n\n const onSubmit = (data) => {\n\n settingsHTTPService.editSystemSettings(systemSettings.id, data).then(data => {\n\n showMessage('Confirmation', 'activityMessage.edit', 'success')\n })\n }\n return (\n <div className=\"EditDashboardSettings\">\n <form onSubmit={handleSubmit(onSubmit)}>\n <div class=\"form-group row\">\n <label for=\"select2\" class=\"col-4 col-form-label\">Application Name</label>\n <div class=\"col-8\">\n <input onChange={handleInputChange} value={systemSettings?.appName} ref={register({ required: true })}\n id=\"text\" name=\"appName\" type=\"text\" class=\"form-control\" />\n </div>\n </div>\n\n <div class=\"form-group row\">\n <label for=\"select2\" class=\"col-4 col-form-label\">Show Logo</label>\n <div class=\"col-8\">\n <select onChange={handleInputChange} value={systemSettings?.showLogo} ref={register({ required: true })}\n id=\"select2\" name=\"showLogo\" class=\"custom-select\">\n\n <option value=\"1\">Yes</option>\n <option value=\"0\">No</option>\n </select>\n </div>\n </div>\n\n <div class=\"form-group row\">\n <label for=\"select2\" class=\"col-4 col-form-label\">Email</label>\n <div class=\"col-8\">\n <input onChange={handleInputChange} value={systemSettings?.email} ref={register({ required: true })}\n id=\"text\" name=\"email\" type=\"text\" class=\"form-control\" />\n </div>\n </div>\n\n <div class=\"form-group row\">\n <label for=\"select2\" class=\"col-4 col-form-label\">Address</label>\n <div class=\"col-8\">\n <input onChange={handleInputChange} value={systemSettings?.address} ref={register({ required: true })}\n id=\"text\" name=\"address\" type=\"text\" class=\"form-control\" />\n </div>\n </div>\n\n <div class=\"form-group row\">\n <label for=\"select2\" class=\"col-4 col-form-label\">Entreprise Name</label>\n <div class=\"col-8\">\n <input onChange={handleInputChange} value={systemSettings?.entrepriseName} ref={register({ required: true })}\n id=\"text\" name=\"entrepriseName\" type=\"text\" class=\"form-control\" />\n </div>\n </div>\n\n <div class=\"form-group row\">\n <div class=\"offset-4 col-8\">\n <button name=\"submit\" type=\"submit\" class=\"btn btn-primary\"><i class=\"far fa-save\"></i>\n Save</button>\n </div>\n </div>\n\n\n </form>\n </div>\n )\n}\n\nEditSystemSettings.propTypes = {};\n\nEditSystemSettings.defaultProps = {};\n\nexport default EditSystemSettings;","C:\\projects\\MANAGEM-FRONTEND-ADMIN\\src\\main\\validations\\messageValidation.js",[],"C:\\projects\\MANAGEM-FRONTEND-ADMIN\\src\\modules\\project\\ProjectReport\\ProjectReport.js",["793"],"import React, { useState } from 'react';\nimport PropTypes from 'prop-types';\nimport './ProjectReport.css';\nimport { useForm } from 'react-hook-form';\nimport projectValidation from '../../main/validations/projectValidation';\nimport projectHTTPService from '../../main/services/projectHTTPService';\n\nconst ProjectReport = () => {\n const initialState = {\n status: '',\n starting_date: '',\n ending_date: ''\n }\n const { register, handleSubmit, errors } = useForm()\n const [project, setProject] = useState(initialState);\n const [projectList, setProjectList] = useState([]);\n const onSubmit = (data) => {\n projectHTTPService.filterProject(data).then(data => {\n setProjectList(data.data)\n })\n }\n\n const handleInputChange = event => {\n const { name, value } = event.target;\n setProject({ ...project, [name]: value });\n };\n\n return (\n <div className=\"ProjectReport\">\n <form method=\"POST\" class=\"\" onSubmit={handleSubmit(onSubmit)}>\n\n <select ref={register({ required: true })} onChange={handleInputChange} value={project.status}\n name=\"status\" class=\"selectpicker form-control border-0 mb-1 px-4 py-4 rounded shadow\">\n <option value=\"started\">Non Démarré</option>\n <option value=\"en cours\">en cours</option>\n <option value=\"Fini\">Fini</option>\n </select>\n\n <div class=\"form-group\">\n <label>Début<span class=\"text-danger\">*</span></label>\n <input ref={register({ required: true })} onChange={handleInputChange} value={project.starting_date}\n type=\"date\" name=\"starting_date\" class=\"form-control datepicker\" />\n <div className=\"error text-danger\">\n {errors.starting_date && projectValidation.starting_date}\n </div>\n </div>\n\n <div class=\"form-group\">\n <label>fin<span class=\"text-danger\">*</span></label>\n <input ref={register({ required: true })} onChange={handleInputChange} value={project.ending_date}\n type=\"date\" name=\"ending_date\" class=\"form-control datepicker\" />\n <div className=\"error text-danger\">\n {errors.ending_date && projectValidation.ending_date}\n </div>\n </div>\n <button type=\"submit\" id=\"save-form\" class=\"btn btn-success\"><i className=\"fa fa-check\"></i>\n <font ><font > Sauvegarder</font></font></button>\n </form>\n\n\n {projectList.map(item => item.status\n\n )}\n\n </div>\n )\n};\n\nProjectReport.propTypes = {};\n\nProjectReport.defaultProps = {};\n\nexport default ProjectReport;\n","C:\\projects\\MANAGEM-FRONTEND-ADMIN\\src\\modules\\team\\Teams\\Teams.js",["794","795","796","797","798","799","800","801","802","803","804"],"import React, { useEffect, useRef, useState } from 'react';\nimport PropTypes from 'prop-types';\nimport './Teams.css';\nimport { LoadJS } from '../../../libraries/datatables/datatables';\nimport useForceUpdate from 'use-force-update';\nimport teamHTTPService from '../../../main/services/teamHTTPService';\nimport showMessage from '../../../libraries/messages/messages';\nimport clientMessage from '../../../main/messages/clientMessage';\nimport AddTeam from '../../../modules/team/AddTeam/AddTeam'\nimport EditTeam from '../../../modules/team//EditTeam/EditTeam'\nimport { Typography, Button, LinearProgress } from '@mui/material';\nimport { DataGrid, GridToolbar } from '@mui/x-data-grid';\nimport CurrentUser from '../../../main/config/user';\nconst Teams = () => {\n const [teams, setTeams] = useState([]);\n const [updatedItem, setUpdatedItem] = useState({});\n const forceUpdate = useForceUpdate();\n const [loading, setLoading] = useState(false);\n const closeButtonEdit = useRef(null);\n const closeButtonAdd = useRef(null);\n\n\n const closeModalEdit = (data) => {\n resfresh()\n closeButtonEdit.current.click()\n }\n\n const closeModalAdd = (data) => {\n resfresh()\n closeButtonAdd.current.click()\n }\n useEffect(() => {\n LoadJS()\n retrieveClients()\n }, []);\n\n\n\n\n\n const retrieveClients = () => {\n setLoading(true)\n teamHTTPService.getAllTeam().then(data => {\n setLoading(false)\n setTeams(data.data)\n });\n ;\n };\n\n const resfresh = () => {\n retrieveClients()\n forceUpdate()\n }\n\n const remove = (e, data) => {\n e.preventDefault();\n var r = window.confirm(CurrentUser.DELTE_MSG);\n if (r) {\n showMessage('Confirmation', clientMessage.delete, 'success')\n //ClientTestService.remove(data)\n //removeOne(data)\n teamHTTPService.removeTeam(data).then(data => {\n resfresh()\n })\n\n }\n\n }\n\n const update = (e, data) => {\n e.preventDefault();\n setUpdatedItem(data)\n resfresh()\n }\n const columns = [\n { field: 'id', headerName: '#', width: 200 },\n { field: 'name', headerName: 'Name', width: 200 },\n { field: 'minimum', headerName: 'Minimum Number', width: 200 },\n { field: 'maximum', headerName: 'Maximum Number', width: 200 }\n ];\n\n\n const handleRowSelection = (e) => {\n if (e.length == 1) {\n\n setUpdatedItemId(e[0])\n const selectedItem = teams.find(item => item.id == e[0])\n setUpdatedItem(selectedItem)\n console.log(updatedItem);\n }\n setUpdatedItemIds(e)\n\n }\n const [updatedItemId, setUpdatedItemId] = useState(0);\n const [updatedItemIds, setUpdatedItemIds] = useState([]);\n const [showFilter, setShowFilter] = useState(false);\n const [showChart, setShowChart] = useState(false);\n const removeAll = (e) => {\n e.preventDefault();\n var r = window.confirm(CurrentUser.DELTE_MSG);\n if (r) {\n\n /* certificateHTTPService.removeAllCertificates().then(data => {\n getAllPatient()\n }) */\n }\n }\n return (\n\n <div className=\"card\">\n\n <div className=\"card-header\">\n <h4><i class=\"menu-icon fas fa-users-cog\"></i> Teams</h4>\n </div>\n <div className=\"card-body\">\n <button type=\"button\" className=\"btn btn-success btn-sm\" data-toggle=\"modal\" data-target=\"#addClient\"><i class=\"far fa-plus-square\"></i> Create</button>\n <button type=\"button\" onClick={e => update(e, updatedItem)} data-toggle=\"modal\" data-target=\"#edit\" class=\"btn btn-warning btn-sm\"><i class=\"fas fa-edit\"></i> Edit</button>\n <button onClick={e => remove(e, updatedItemId)} type=\"button\" class=\"btn btn-danger btn-sm\"><i class=\"fas fa-trash-alt\"></i> Remove</button>\n {loading ?\n <LinearProgress />\n : <div style={{ height: 430, width: '100%' }}><DataGrid\n rows={teams}\n columns={columns}\n pageSize={5}\n rowsPerPageOptions={[6]}\n checkboxSelection\n onSelectionModelChange={handleRowSelection}\n components={{ Toolbar: GridToolbar }}\n /></div>}\n\n\n <div class=\"modal fade\" id=\"addClient\" tabindex=\"-1\" role=\"dialog\" aria-labelledby=\"exampleModalCenterTitle\" aria-hidden=\"true\">\n <div class=\"modal-dialog modal-dialog-centered modal-lg\" role=\"document\">\n <div class=\"modal-content\">\n <div class=\"modal-header\">\n <h5 class=\"modal-title\" id=\"exampleModalLongTitle\">New</h5>\n <button onClick={resfresh} type=\"button\" class=\"close\" data-dismiss=\"modal\" aria-label=\"Close\">\n <span aria-hidden=\"true\">×</span>\n </button>\n </div>\n <div class=\"modal-body\">\n <AddTeam closeModal={closeModalAdd} />\n </div>\n <div class=\"modal-footer\">\n <button onClick={resfresh} ref={closeButtonAdd} type=\"button\" class=\"btn btn-secondary\" data-dismiss=\"modal\">Close</button>\n\n </div>\n </div>\n </div>\n </div>\n\n\n <div class=\"modal fade\" id=\"edit\" tabindex=\"-1\" role=\"dialog\" aria-labelledby=\"exampleModalCenterTitle\" aria-hidden=\"true\">\n <div class=\"modal-dialog modal-dialog-centered modal-lg\" role=\"document\">\n <div class=\"modal-content\">\n <div class=\"modal-header\">\n <h5 class=\"modal-title\" id=\"exampleModalLongTitle\">Edit</h5>\n <button type=\"button\" class=\"close\" data-dismiss=\"modal\" aria-label=\"Close\">\n <span aria-hidden=\"true\">×</span>\n </button>\n </div>\n <div class=\"modal-body\">\n <EditTeam team={updatedItem} closeModal={closeModalEdit} />\n </div>\n <div class=\"modal-footer\">\n <button onClick={resfresh} ref={closeButtonEdit} type=\"button\" class=\"btn btn-secondary\" data-dismiss=\"modal\">Close</button>\n\n </div>\n </div>\n </div>\n </div>\n\n <div class=\"modal fade\" id=\"viewClient\" tabindex=\"-1\" role=\"dialog\" aria-labelledby=\"exampleModalCenterTitle\" aria-hidden=\"true\">\n <div class=\"modal-dialog modal-dialog-centered modal-lg\" role=\"document\">\n <div class=\"modal-content\">\n <div class=\"modal-header\">\n <h5 class=\"modal-title\" id=\"exampleModalLongTitle\">Modal title</h5>\n <button type=\"button\" class=\"close\" data-dismiss=\"modal\" aria-label=\"Close\">\n <span aria-hidden=\"true\">×</span>\n </button>\n </div>\n <div class=\"modal-body\">\n\n </div>\n <div class=\"modal-footer\">\n <button type=\"button\" class=\"btn btn-secondary\" data-dismiss=\"modal\">Fermer</button>\n\n </div>\n </div>\n </div>\n </div>\n </div>\n </div>\n )\n};\n\nTeams.propTypes = {};\n\nTeams.defaultProps = {};\n\nexport default Teams;\n","C:\\projects\\MANAGEM-FRONTEND-ADMIN\\src\\modules\\contract\\AddContract\\AddContract.js",["805","806","807"],"import React, { useEffect, useState } from 'react';\nimport PropTypes from 'prop-types';\nimport './AddContract.css';\nimport contractHTTPService from '../../../main/services/contractHTTPService';\n\nimport noteMessage from '../../../main/messages/noteMessage';\nimport { useForm } from 'react-hook-form';\nimport projectHTTPService from '../../../main/services/projectHTTPService';\nimport showMessage from '../../../libraries/messages/messages';\n\nconst AddContract = (props) => {\n const initialState = {\n\n title: \"\",\n date: \"\",\n client: \"\",\n project: \"\",\n company: \"\",\n note: \"\",\n contractValue: \"\",\n contractType: \"\",\n website: \"\",\n startDate: \"\",\n endDate: \"\",\n description: \"\"\n\n };\n\n const { register, handleSubmit, errors } = useForm()\n const [contract, setContract] = useState(initialState);\n const [projects, setProjects] = useState([]);\n const onSubmit = (data) => {\n //saveNote(data)\n // NoteTestService.create(data)\n contractHTTPService.createContract(data).then(data => {\n setContract(initialState)\n showMessage('Confirmation', noteMessage.add, 'success')\n props.closeModal()\n })\n\n }\n\n useEffect(() => {\n retrieveProjects()\n }, []);\n\n const retrieveProjects = () => {\n //var projects = ProjectTestService.getAll();\n\n projectHTTPService.getAllProject().then(data => {\n console.log(data.data)\n setProjects(data.data);\n\n })\n\n };\n\n\n\n const handleInputChange = event => {\n const { name, value } = event.target;\n setContract({ ...contract, [name]: value });\n };\n\n return (\n <div className=\"AddContract\">\n\n\n\n <div className=\"AddNote\">\n <form class=\"\" onSubmit={handleSubmit(onSubmit)}>\n <div class=\"row\">\n\n <div class=\"form-group col-md-12\">\n\n <label>Title<span class=\"text-danger\">*</span></label>\n <input ref={register({ required: true })} onChange={handleInputChange} value={contract.title}\n type=\"text\" name=\"title\" class=\"form-control\" />\n\n <label>Date<span class=\"text-danger\">*</span></label>\n <input ref={register({ required: true })} onChange={handleInputChange} value={contract.date}\n type=\"date\" name=\"date\" class=\"form-control\" />\n\n\n <div class=\"form-group\">\n <label>Client</label>\n <select ref={register({ required: true })} onChange={handleInputChange} value={contract.client}\n name=\"client\" class=\"selectpicker form-control border-0 mb-1 px-4 py-4 rounded shadow\"\n >\n <option value=\"Mike Dean\">Mike Dean</option>\n <option value=\"John Doe\">John Doe</option>\n </select>\n\n </div>\n\n\n\n <div className=\"form-group\">\n <label>Project<span className=\"text-danger\">*</span></label>\n <select ref={register({ required: true })} onChange={handleInputChange}\n value={contract.project} name=\"project\" id=\"project\"\n class=\"selectpicker form-control border-0 mb-1 px-4 py-4 rounded shadow\" tabIndex=\"-1\" aria-hidden=\"true\">\n\n <option value=\"Projet 1\">Project</option>\n </select>\n </div>\n\n <label>Company<span class=\"text-danger\">*</span></label>\n <input ref={register({ required: true })} onChange={handleInputChange} value={contract.company}\n type=\"text\" name=\"company\" class=\"form-control\" />\n\n <label>Value<span class=\"text-danger\">*</span></label>\n <div class=\"input-group mb-3\">\n <input ref={register({ required: true })} onChange={handleInputChange} value={contract.contractValue}\n type=\"number\" name=\"contractValue\" class=\"form-control\" />\n <div class=\"input-group-append\">\n <span class=\"input-group-text\" id=\"basic-addon2\"> $</span>\n </div>\n </div>\n\n <label>Type<span class=\"text-danger\">*</span></label>\n <select ref={register({ required: true })} onChange={handleInputChange} value={contract.contractType} name=\"contractType\" id=\"project\"\n class=\"selectpicker form-control border-0 mb-1 px-4 py-4 rounded shadow\" tabIndex=\"-1\" aria-hidden=\"true\">\n\n <option value=\"Fixed-price contracts\">Fixed-price contracts</option>\n <option value=\"Cost-reimbursable Contracts\">Cost-reimbursable Contracts</option>\n <option value=\"Time and materials (T&M)\">Time and materials (T&M):</option>\n </select>\n\n <label>Website<span class=\"text-danger\">*</span></label>\n\n\n <div class=\"input-group mb-3\">\n <div class=\"input-group-prepend\">\n <span class=\"input-group-text\" id=\"basic-addon1\">https://</span>\n </div>\n <input ref={register({ required: true })} onChange={handleInputChange} value={contract.website}\n type=\"text\" name=\"website\" class=\"form-control\" />\n </div>\n\n\n <label>Start<span class=\"text-danger\">*</span></label>\n <input ref={register({ required: true })} onChange={handleInputChange} value={contract.startDate}\n type=\"date\" name=\"startDate\" class=\"form-control\" />\n\n\n <label>End<span class=\"text-danger\">*</span></label>\n <input ref={register({ required: true })} onChange={handleInputChange} value={contract.endDate}\n type=\"date\" name=\"endDate\" class=\"form-control\" />\n\n <label>Description<span class=\"text-danger\">*</span></label>\n <textarea ref={register({ required: true })} onChange={handleInputChange} value={contract.description}\n type=\"text\" name=\"description\" class=\"form-control\" ></textarea>\n\n </div>\n\n </div>\n <button type=\"submit\" id=\"save-form\" className=\"btn btn-success\">\n <i className=\"fa fa-check\"></i>\n <font ><font > Save</font></font></button>\n </form>\n </div>\n\n </div>\n )\n};\n\nAddContract.propTypes = {};\n\nAddContract.defaultProps = {};\n\nexport default AddContract;\n","C:\\projects\\MANAGEM-FRONTEND-ADMIN\\src\\modules\\project\\ProjectSummary\\ProjectSummary.js",["808"],"import React, { useEffect, useState } from 'react';\nimport PropTypes from 'prop-types';\nimport './ProjectSummary.css';\nimport projectHTTPService from \"../../../main/services/projectHTTPService\";\nconst ProjectSummary = () => {\n\n const [todo, setTodo] = useState(0);\n const [inprogress, setInprogress] = useState(0);\n const [done, setDone] = useState(0);\n const [blocked, setBlocked] = useState(0);\n\n useEffect(() => {\n projectHTTPService.getTodo().then(data => {\n setTodo(data.data.todo)\n })\n projectHTTPService.getInprogress().then(data => {\n setInprogress(data.data.inprogress)\n })\n projectHTTPService.getDone().then(data => {\n setDone(data.data.done)\n })\n projectHTTPService.getBlocked().then(data => {\n setBlocked(data.data.blocked)\n })\n }, []);\n\n\n\n return (\n <div className=\"ProjectSummary\">\n <div className=\"row\">\n <div className=\"col-lg-3 col-md-6\">\n <div className=\"card\">\n <div className=\"card-body\">\n <div className=\"stat-widget-five\">\n <div className=\"stat-icon dib flat-color-1\">\n <i class=\"fas fa-list-ul\"></i>\n </div>\n <div className=\"stat-content\">\n <div className=\"text-left dib\">\n <div className=\"stat-text\">\n <span className=\"count\">{todo}</span>\n </div>\n <div className=\"stat-heading\">Todo</div>\n </div>\n </div>\n </div>\n </div>\n </div>\n </div>\n\n <div className=\"col-lg-3 col-md-6\">\n <div className=\"card\">\n <div className=\"card-body\">\n <div className=\"stat-widget-five\">\n <div className=\"stat-icon dib flat-color-2\">\n <i class=\"far fa-play-circle\"></i>\n </div>\n <div className=\"stat-content\">\n <div className=\"text-left dib\">\n <div className=\"stat-text\">\n <span className=\"count\">{inprogress}</span>\n </div>\n <div className=\"stat-heading\">In Progress</div>\n </div>\n </div>\n </div>\n </div>\n </div>\n </div>\n\n <div className=\"col-lg-3 col-md-6\">\n <div className=\"card\">\n <div className=\"card-body\">\n <div className=\"stat-widget-five\">\n <div className=\"stat-icon dib flat-color-3\">\n <i class=\"fas fa-check\"></i>\n </div>\n <div className=\"stat-content\">\n <div className=\"text-left dib\">\n <div className=\"stat-text\">\n <span className=\"count\">{done}</span>\n </div>\n <div className=\"stat-heading\">Done</div>\n </div>\n </div>\n </div>\n </div>\n </div>\n </div>\n\n <div className=\"col-lg-3 col-md-6\">\n <div className=\"card\">\n <div className=\"card-body\">\n <div className=\"stat-widget-five\">\n <div className=\"stat-icon dib flat-color-4\">\n <i class=\"far fa-stop-circle\"></i>\n </div>\n <div className=\"stat-content\">\n <div className=\"text-left dib\">\n <div className=\"stat-text\">\n <span className=\"count\">{blocked}</span>\n </div>\n <div className=\"stat-heading\">Blocked</div>\n </div>\n </div>\n </div>\n </div>\n </div>\n </div>\n </div>\n </div>\n )\n};\n\nProjectSummary.propTypes = {};\n\nProjectSummary.defaultProps = {};\n\nexport default ProjectSummary;\n","C:\\projects\\MANAGEM-FRONTEND-ADMIN\\src\\modules\\task\\MyTaskSummary\\MyTaskSummary.js",["809"],"C:\\projects\\MANAGEM-FRONTEND-ADMIN\\src\\modules\\task\\task-kanban\\task-kanban.js",["810","811","812","813","814","815","816","817","818","819","820","821","822","823","824","825","826"],"\nimport PropTypes from 'prop-types';\nimport './task-kanban.css';\nimport React, { Component, useEffect, useRef, useState } from 'react';\nimport { DragDropContext } from 'react-dnd';\nimport HTML5Backend from 'react-dnd-html5-backend';\nimport _ from 'lodash';\nimport { Board } from '../../../main/shared/kanban/Board/Board';\nimport { NavLink } from 'react-router-dom';\nimport projectHTTPService from '../../../main/services/projectHTTPService';\nimport FullCalendar from '@fullcalendar/react';\nimport taskHHTPService from '../../../main/services/taskHHTPService';\nlet _columnId = 0;\nlet _cardId = 0;\n\nconst initialCards = Array.from({ length: 9 }).map(() => ({\n id: ++_cardId,\n title: `Card ${_cardId}`,\n}));\n\nconst initcard = Array.from({ length: 9 }).map(() => ({\n id: ++_cardId,\n title: `jygkuy ${_cardId}`,\n}));\n\n\nconst initialColumns = ['TODO', 'Doing', 'Done'].map((title, i) => ({\n id: _columnId++,\n title,\n cardIds: initialCards.slice(i * 3, i * 3 + 3).map(card => card.id),\n}));\n\nclass TaskKanban extends Component {\n state = {\n cards: initialCards,\n columns: initialColumns,\n\n };\n inprogress = []\n done = []\n blocked = []\n todo = []\n componentWillMount() {\n\n //console.log(projectList.slice(i * 3, i * 3 + 3).map(card => card.id))\n let taskList = []\n taskHHTPService.getAllTask()\n .then(response => {\n\n for (const item of response.data) {\n let projectObject = {\n id: item.title,\n title: item.title,\n status: item.status\n }\n taskList.push(projectObject)\n }\n\n\n console.log(taskList)\n /* this.setState({\n cards: projectList,\n columns: initialColumns\n \n }) */\n\n taskList.filter(s => s.filter == \"ToDo\").map(card => {\n console.log(card.id)\n return card.id\n })\n\n const initcolumn = ['Todo', 'In Progress', 'In Review', 'Completed'].map((title, i) => ({\n id: _columnId++,\n title,\n cardIds: taskList.filter(s => s.status == title).map(card => {\n\n return card.id\n })\n }));\n this.setState({\n cards: taskList,\n columns: initcolumn,\n\n })\n console.log(\"jjjj\")\n console.log(taskList)\n }).catch(e => {\n console.log(e);\n });\n }\n\n constructor() {\n super()\n this.setState({\n cards: initialCards,\n columns: initialColumns,\n\n })\n\n taskHHTPService.getAllTask().then(data => {\n if (data.data.status == \"ToDo\") {\n this.todo.push(data.data.id)\n }\n if (data.data.status == \"Blocked\") {\n this.blocked.push(data.data.id)\n }\n if (data.data.status == \"In progress\") {\n this.blocked.push(data.data.id)\n }\n\n if (data.data.status == \"Done\") {\n this.done.push(data.data.id)\n }\n })\n\n\n\n\n\n\n }\n\n\n\n addColumn = _title => {\n const title = _title.trim();\n if (!title) return;\n\n const newColumn = {\n id: ++_columnId,\n title,\n cardIds: [],\n };\n this.setState(state => ({\n columns: [...state.columns, newColumn],\n }));\n };\n\n addCard = (columnId, _title) => {\n const title = _title.trim();\n if (!title) return;\n\n const newCard = { id: ++_cardId, title };\n this.setState(state => ({\n cards: [...state.cards, newCard],\n columns: state.columns.map(\n column =>\n column.id === columnId\n ? { ...column, cardIds: [...column.cardIds, newCard.id] }\n : column\n ),\n }));\n };\n\n moveCard = (cardId, destColumnId, index) => {\n this.setState(state => ({\n columns: state.columns.map(column => ({\n ...column,\n cardIds: _.flowRight(\n // 2) If this is the destination column, insert the cardId.\n ids =>\n column.id === destColumnId\n ? [...ids.slice(0, index), cardId, ...ids.slice(index)]\n : ids,\n // 1) Remove the cardId for all columns\n ids => ids.filter(id => id !== cardId)\n )(column.cardIds),\n })),\n }));\n };\n\n render() {\n return (\n <div className=\"card\">\n\n <div className=\"card-header\">\n <h4><i class=\"menu-icon fa fa-list\"></i> Tasks</h4>\n </div>\n <div className=\"card-body\">\n\n <div class=\"btn-group\">\n <button type=\"button\" class=\"btn btn-danger btn-sm dropdown-toggle\" data-toggle=\"dropdown\" aria-haspopup=\"true\" aria-expanded=\"false\">\n <i className=\"menu-icon fa fa-male\"></i> Switch to\n </button>\n <div class=\"dropdown-menu\">\n <a class=\"dropdown-item\" href=\"#\">Kanban</a>\n <a class=\"dropdown-item\" href=\"#\">Calendar</a>\n <a class=\"dropdown-item\" href=\"#\">Gantt</a>\n </div>\n </div>\n\n <Board\n cards={this.state.cards}\n columns={this.state.columns}\n moveCard={this.moveCard}\n addCard={this.addCard}\n addColumn={this.addColumn}\n />\n\n </div>\n </div>\n );\n }\n};\n\nexport default DragDropContext(HTML5Backend)(TaskKanban);\n","C:\\projects\\MANAGEM-FRONTEND-ADMIN\\src\\main\\shared\\kanban\\TextForm\\TextForm.js",[],"C:\\projects\\MANAGEM-FRONTEND-ADMIN\\src\\modules\\project\\ProjectKanban\\ProjectKanban.js",["827","828","829"],"C:\\projects\\MANAGEM-FRONTEND-ADMIN\\src\\modules\\project\\ProjectInProgress\\ProjectInProgress.js",["830"],"C:\\projects\\MANAGEM-FRONTEND-ADMIN\\src\\modules\\contract\\Contracts\\Contracts.js",["831","832","833","834","835","836","837","838","839","840","841","842"],"import React, { useEffect, useRef, useState } from 'react';\nimport PropTypes from 'prop-types';\nimport './Contracts.css';\nimport contractHTTPService from '../../../main/services/contractHTTPService';\nimport useForceUpdate from 'use-force-update';\nimport { LoadJS } from '../../../libraries/datatables/datatables';\nimport showMessage from '../../../libraries/messages/messages';\nimport clientMessage from '../../../main/messages/clientMessage';\nimport AddContract from '../../../modules/contract/AddContract/AddContract';\nimport EditContract from '../../../modules/contract/EditContract/EditContract'\nimport { Typography, Button, LinearProgress } from '@mui/material';\nimport { DataGrid, GridToolbar } from '@mui/x-data-grid';\nimport CurrentUser from '../../../main/config/user';\nconst Contracts = () => {\n const [contracts, setContracts] = useState([]);\n const [updatedItem, setUpdatedItem] = useState({});\n const forceUpdate = useForceUpdate();\n const [loading, setLoading] = useState(false);\n const closeButtonEdit = useRef(null);\n const closeButtonAdd = useRef(null);\n\n\n const closeModalEdit = (data) => {\n resfresh()\n closeButtonEdit.current.click()\n }\n\n const closeModalAdd = (data) => {\n resfresh()\n closeButtonAdd.current.click()\n }\n\n\n useEffect(() => {\n LoadJS()\n retrieveContracts()\n }, []);\n\n\n\n\n\n\n const retrieveContracts = () => {\n contractHTTPService.getAllContract().then(data => {\n setContracts(data.data)\n });\n ;\n };\n\n const resfresh = () => {\n retrieveContracts()\n forceUpdate()\n }\n\n const remove = (e, data) => {\n e.preventDefault();\n var r = window.confirm(CurrentUser.DELTE_MSG);\n if (r) {\n showMessage('Confirmation', clientMessage.delete, 'success')\n //ClientTestService.remove(data)\n //removeOne(data)\n contractHTTPService.removeContract(data).then(data => {\n resfresh()\n })\n\n }\n\n }\n\n const update = (e, data) => {\n e.preventDefault();\n setUpdatedItem(data)\n resfresh()\n }\n const columns = [\n { field: 'id', headerName: '#', width: 20 },\n { field: 'title', headerName: 'Title', width: 200 },\n { field: 'date', headerName: 'Date', width: 200 },\n { field: 'client', headerName: 'Client', width: 200 },\n { field: 'project', headerName: 'Project', width: 200 }\n ];\n\n\n const handleRowSelection = (e) => {\n if (e.length == 1) {\n\n setUpdatedItemId(e[0])\n const selectedItem = contracts.find(item => item.id == e[0])\n setUpdatedItem(selectedItem)\n console.log(updatedItem);\n }\n setUpdatedItemIds(e)\n\n }\n const [updatedItemId, setUpdatedItemId] = useState(0);\n const [updatedItemIds, setUpdatedItemIds] = useState([]);\n const [showFilter, setShowFilter] = useState(false);\n const [showChart, setShowChart] = useState(false);\n const removeAll = (e) => {\n e.preventDefault();\n var r = window.confirm(CurrentUser.DELTE_MSG);\n if (r) {\n\n /* certificateHTTPService.removeAllCertificates().then(data => {\n getAllPatient()\n }) */\n }\n }\n return (\n\n <div className=\"card\">\n\n <div className=\"card-header\">\n <h4><i class=\"menu-icon fas fa-file-contract\"></i> Contracts</h4>\n </div>\n <div className=\"card-body\">\n\n\n <button type=\"button\" className=\"btn btn-success btn-sm\" data-toggle=\"modal\" data-target=\"#addClient\"><i class=\"far fa-plus-square\"></i> Create</button>\n <button onClick={e => update(e, updatedItem)} type=\"button\" data-toggle=\"modal\" data-target=\"#edit\" class=\"btn btn-warning btn-sm\"><i class=\"fas fa-edit\"></i> Edit</button>\n <button onClick={e => remove(e, updatedItemId)} type=\"button\" class=\"btn btn-danger btn-sm\"><i class=\"fas fa-trash-alt\"></i> Remove</button>\n\n\n\n {loading ?\n <LinearProgress />\n : <div style={{ height: 430, width: '100%' }}><DataGrid\n rows={contracts}\n columns={columns}\n pageSize={5}\n rowsPerPageOptions={[6]}\n checkboxSelection\n onSelectionModelChange={handleRowSelection}\n components={{ Toolbar: GridToolbar }}\n /></div>}\n\n\n <div class=\"modal fade\" id=\"addClient\" tabindex=\"-1\" role=\"dialog\" aria-labelledby=\"exampleModalCenterTitle\" aria-hidden=\"true\">\n <div class=\"modal-dialog modal-dialog-centered modal-lg\" role=\"document\">\n <div class=\"modal-content\">\n <div class=\"modal-header\">\n <h5 class=\"modal-title\" id=\"exampleModalLongTitle\">New</h5>\n <button onClick={resfresh} type=\"button\" class=\"close\" data-dismiss=\"modal\" aria-label=\"Close\">\n <span aria-hidden=\"true\">×</span>\n </button>\n </div>\n <div class=\"modal-body\">\n <AddContract closeModal={closeModalAdd} />\n </div>\n <div class=\"modal-footer\">\n <button onClick={resfresh} ref={closeButtonAdd} type=\"button\" class=\"btn btn-secondary\" data-dismiss=\"modal\">Close</button>\n\n </div>\n </div>\n </div>\n </div>\n\n\n <div class=\"modal fade\" id=\"edit\" tabindex=\"-1\" role=\"dialog\" aria-labelledby=\"exampleModalCenterTitle\" aria-hidden=\"true\">\n <div class=\"modal-dialog modal-dialog-centered modal-lg\" role=\"document\">\n <div class=\"modal-content\">\n <div class=\"modal-header\">\n <h5 class=\"modal-title\" id=\"exampleModalLongTitle\">Edit</h5>\n <button type=\"button\" class=\"close\" data-dismiss=\"modal\" aria-label=\"Close\">\n <span aria-hidden=\"true\">×</span>\n </button>\n </div>\n <div class=\"modal-body\">\n <EditContract contract={updatedItem} closeModal={closeModalEdit} />\n </div>\n <div class=\"modal-footer\">\n <button onClick={resfresh} ref={closeButtonEdit} type=\"button\" class=\"btn btn-secondary\" data-dismiss=\"modal\">Close</button>\n\n </div>\n </div>\n </div>\n </div>\n\n\n </div>\n </div>\n )\n};\n\nContracts.propTypes = {};\n\nContracts.defaultProps = {};\n\nexport default Contracts;\n","C:\\projects\\MANAGEM-FRONTEND-ADMIN\\src\\modules\\team\\AddTeam\\AddTeam.js",["843","844"],"C:\\projects\\MANAGEM-FRONTEND-ADMIN\\src\\main\\shared\\kanban\\Column\\Column.js",["845"],"import React from 'react';\nimport { TextForm } from '../TextForm/TextForm';\nimport './Column.css'\nexport function Column(props) {\n const setColorCss = (title) => {\n var color = \"\"\n switch (title) {\n\n case \"Todo\":\n color = \"todo\"\n break;\n case \"In Progress\":\n color = \"inprogress\"\n break;\n case \"In Review\":\n color = \"inreview\"\n break;\n case \"Completed\":\n color = \"completed\"\n break;\n\n case \"Done\":\n color = \"done\"\n break;\n\n case \"Blocked\":\n color = \"blocked\"\n break;\n default:\n color = \"default\";\n }\n\n return color\n }\n return (\n <div className=\"Column\">\n <div className={setColorCss(props.title)}>{props.title}</div>\n {props.children}\n </div>\n );\n}\n","C:\\projects\\MANAGEM-FRONTEND-ADMIN\\src\\modules\\shared\\DashboardSummary\\DashboardSummary.js",["846"],"import React, { useEffect, useState } from 'react';\nimport PropTypes from 'prop-types';\nimport './DashboardSummary.css';\nimport projectHTTPService from '../../../main/services/projectHTTPService';\nimport taskHHTPService from '../../../main/services/taskHHTPService';\nimport clientHTTPService from '../../../main/services/clientHTTPService';\nimport userHTTPService from '../../../main/services/userHTTPService';\n\nconst DashboardSummary = () => {\n const [projectss, setProjectss] = useState(0);\n const [taskss, setTaskss] = useState(0);\n const [clientss, setClientss] = useState(0);\n const [userss, setUserss] = useState(0);\n\n\n useEffect(() => {\n\n getProjects()\n getTasks()\n getClients()\n getUsers()\n }, []);\n\n\n const getProjects = () => {\n projectHTTPService.getCount().then(data => {\n setProjectss(data.data.all)\n })\n }\n\n const getTasks = () => {\n taskHHTPService.getCount().then(data => {\n setTaskss(data.data.all)\n })\n }\n\n const getClients = () => {\n clientHTTPService.getCount().then(data => {\n setClientss(data.data.all)\n })\n }\n\n const getUsers = () => {\n userHTTPService.getCount().then(data => {\n setUserss(data.data.all)\n })\n }\n\n\n\n\n\n return (\n <div className=\"DashboardSummary\">\n <div className=\"row\">\n <div className=\"col-lg-3 col-md-6\">\n <div className=\"card\">\n <div className=\"card-body\">\n <div className=\"stat-widget-five\">\n <div className=\"stat-icon dib flat-color-1\">\n <i className=\"fas fa-user-shield\"></i>\n </div>\n <div className=\"stat-content\">\n <div className=\"text-left dib\">\n <div className=\"stat-text\">\n <span className=\"count\">{projectss}</span>\n </div>\n <div className=\"stat-heading\">Projets</div>\n </div>\n </div>\n </div>\n </div>\n </div>\n </div>\n\n <div className=\"col-lg-3 col-md-6\">\n <div className=\"card\">\n <div className=\"card-body\">\n <div className=\"stat-widget-five\">\n <div className=\"stat-icon dib flat-color-2\">\n <i className=\"fas fa-handshake\"></i>\n </div>\n <div className=\"stat-content\">\n <div className=\"text-left dib\">\n <div className=\"stat-text\">\n <span className=\"count\">{clientss}</span>\n </div>\n <div className=\"stat-heading\">Clients</div>\n </div>\n </div>\n </div>\n </div>\n </div>\n </div>\n\n <div className=\"col-lg-3 col-md-6\">\n <div className=\"card\">\n <div className=\"card-body\">\n <div className=\"stat-widget-five\">\n <div className=\"stat-icon dib flat-color-3\">\n <i className=\"fas fa-tasks\"></i>\n </div>\n <div className=\"stat-content\">\n <div className=\"text-left dib\">\n <div className=\"stat-text\">\n <span className=\"count\">{taskss}</span>\n </div>\n <div className=\"stat-heading\">Tasks</div>\n </div>\n </div>\n </div>\n </div>\n </div>\n </div>\n\n <div className=\"col-lg-3 col-md-6\">\n <div className=\"card\">\n <div className=\"card-body\">\n <div className=\"stat-widget-five\">\n <div className=\"stat-icon dib flat-color-4\">\n <i className=\"fas fa-users\"></i>\n </div>\n <div className=\"stat-content\">\n <div className=\"text-left dib\">\n <div className=\"stat-text\">\n <span className=\"count\">{userss}</span>\n </div>\n <div className=\"stat-heading\">Users</div>\n </div>\n </div>\n </div>\n </div>\n </div>\n </div>\n </div>\n </div>\n )\n};\n\nDashboardSummary.propTypes = {};\n\nDashboardSummary.defaultProps = {};\n\nexport default DashboardSummary;\n","C:\\projects\\MANAGEM-FRONTEND-ADMIN\\src\\modules\\contract\\EditContract\\EditContract.js",["847","848","849","850","851","852"],"C:\\projects\\MANAGEM-FRONTEND-ADMIN\\src\\modules\\team\\EditTeam\\EditTeam.js",["853","854","855","856","857","858","859"],"import React, { useEffect, useState } from 'react';\nimport PropTypes from 'prop-types';\nimport './EditTeam.css';\nimport { useForm } from 'react-hook-form';\nimport teamHTTPService from '../../../main/services/teamHTTPService'\nimport noteMessage from '../../../main/messages/noteMessage';\nimport showMessage from '../../../libraries/messages/messages';\nconst EditTeam = (props) => {\n\n const { register, handleSubmit, errors } = useForm() // initialise the hook\n const [team, setTeam] = useState(props.team);\n const [typeSubs, setTypeSubs] = useState([]);\n const [members, setMembers] = useState([]);\n\n useEffect(() => {\n setTeam(props.team)\n\n }, [props.team]);\n\n\n const onSubmit = (data) => {\n console.log(data)\n teamHTTPService.editTeam(props.team.id, data).then(data => {\n props.closeModal()\n showMessage('Confirmation', \"teamMessage.edit\", 'success')\n }).catch(e => {\n console.log(e)\n })\n\n }\n\n const handleInputChange = event => {\n const { name, value } = event.target;\n setTeam({ ...team, [name]: value });\n };\n\n\n\n\n return (\n <div className=\"EditTeam\">\n <form method=\"POST\" class=\"\" onSubmit={handleSubmit(onSubmit)}>\n <div class=\"row\">\n\n <div class=\"form-group col-md-12\">\n <label>Name<span class=\"text-danger\">*</span></label>\n <input ref={register({ required: true })} onChange={handleInputChange} value={team.name}\n type=\"text\" name=\"name\" class=\"form-control\" />\n\n <label>Minimum <span class=\"text-danger\">*</span></label>\n <input ref={register({ required: true })} onChange={handleInputChange} value={team.minimum}\n type=\"number\" name=\"minimum\" class=\"form-control\" />\n\n <label>Maximum<span class=\"text-danger\">*</span></label>\n <input ref={register({ required: true })} onChange={handleInputChange} value={team.maximum}\n type=\"number\" name=\"maximum\" class=\"form-control\" />\n\n\n\n\n </div>\n\n </div>\n <button type=\"submit\" id=\"save-form\" className=\"btn btn-success\">\n <i className=\"fa fa-check\"></i>\n <font ><font > Save</font></font></button></form>\n </div>\n )\n};\n\nEditTeam.propTypes = {};\n\nEditTeam.defaultProps = {};\n\nexport default EditTeam;\n","C:\\projects\\MANAGEM-FRONTEND-ADMIN\\src\\modules\\task\\TaskAnalytics\\TaskAnalytics.js",["860","861","862"],"C:\\projects\\MANAGEM-FRONTEND-ADMIN\\src\\modules\\task\\TaskReport\\TaskReport.js",["863","864","865"],"import React, { useState } from 'react';\nimport PropTypes from 'prop-types';\nimport './TaskReport.css';\nimport { useForm } from 'react-hook-form';\nimport projectHTTPService from '../../../main/services/projectHTTPService';\n\nconst TaskReport = () => {\n\n const initialState = {\n status: '',\n starting_date: '',\n ending_date: ''\n }\n const { register, handleSubmit, errors } = useForm()\n const [project, setProject] = useState(initialState);\n const [projectList, setProjectList] = useState([]);\n const onSubmit = (data) => {\n projectHTTPService.filterProject(data).then(data => {\n setProjectList(data.data)\n })\n }\n\n const handleInputChange = event => {\n const { name, value } = event.target;\n setProject({ ...project, [name]: value });\n };\n\n\n return (\n <div className=\"TaskReport\">\n <form method=\"POST\" class=\"\" onSubmit={handleSubmit(onSubmit)}>\n\n <select ref={register({ required: true })} onChange={handleInputChange} value={project.status}\n name=\"status\" class=\"selectpicker form-control border-0 mb-1 px-4 py-4 rounded shadow\">\n <option value=\"started\">Non Démarré</option>\n <option value=\"en cours\">en cours</option>\n <option value=\"Fini\">Fini</option>\n </select>\n\n <select ref={register({ required: true })} onChange={handleInputChange} value={project.status}\n name=\"status\" class=\"selectpicker form-control border-0 mb-1 px-4 py-4 rounded shadow\">\n <option value=\"started\">High</option>\n <option value=\"en cours\">low</option>\n <option value=\"Fini\">normal</option>\n </select>\n\n <button type=\"submit\" id=\"save-form\" class=\"btn btn-success\"><i className=\"fa fa-check\"></i>\n <font ><font > Sauvegarder</font></font></button>\n </form>\n </div>\n )\n};\n\nTaskReport.propTypes = {};\n\nTaskReport.defaultProps = {};\n\nexport default TaskReport;\n","C:\\projects\\MANAGEM-FRONTEND-ADMIN\\src\\modules\\task\\TaskSummary\\TaskSummary.js",["866"],"import React, { useEffect, useState } from 'react';\nimport PropTypes from 'prop-types';\nimport './TaskSummary.css';\nimport taskHHTPService from \"../../../main/services/taskHHTPService\";\nconst TaskSummary = () => {\n\n const [todo, setTodo] = useState(0);\n const [inprogress, setInprogress] = useState(0);\n const [completed, setCompleted] = useState(0);\n const [inreview, setInreview] = useState(0);\n\n useEffect(() => {\n taskHHTPService.getTodo().then(data => {\n setTodo(data.data.todo)\n })\n taskHHTPService.getInprogress().then(data => {\n setInprogress(data.data.inprogress)\n })\n taskHHTPService.getCompleted().then(data => {\n setCompleted(data.data.completed)\n })\n taskHHTPService.getinreview().then(data => {\n setInreview(data.data.inreview)\n })\n }, []);\n\n return (\n <div className=\"TaskSummary\">\n <div className=\"row\">\n <div className=\"col-lg-3 col-md-6\">\n <div className=\"card\">\n <div className=\"card-body\">\n <div className=\"stat-widget-five\">\n <div className=\"stat-icon dib flat-color-1\">\n <i class=\"fas fa-list-ul\"></i>\n </div>\n <div className=\"stat-content\">\n <div className=\"text-left dib\">\n <div className=\"stat-text\">\n <span className=\"count\">{todo}</span>\n </div>\n <div className=\"stat-heading\">Todo</div>\n </div>\n </div>\n </div>\n </div>\n </div>\n </div>\n\n <div className=\"col-lg-3 col-md-6\">\n <div className=\"card\">\n <div className=\"card-body\">\n <div className=\"stat-widget-five\">\n <div className=\"stat-icon dib flat-color-2\">\n <i class=\"far fa-play-circle\"></i>\n </div>\n <div className=\"stat-content\">\n <div className=\"text-left dib\">\n <div className=\"stat-text\">\n <span className=\"count\">{inprogress}</span>\n </div>\n <div className=\"stat-heading\">In Progress</div>\n </div>\n </div>\n </div>\n </div>\n </div>\n </div>\n\n <div className=\"col-lg-3 col-md-6\">\n <div className=\"card\">\n <div className=\"card-body\">\n <div className=\"stat-widget-five\">\n <div className=\"stat-icon dib flat-color-3\">\n <i class=\"fas fa-check\"></i>\n </div>\n <div className=\"stat-content\">\n <div className=\"text-left dib\">\n <div className=\"stat-text\">\n <span className=\"count\">{completed}</span>\n </div>\n <div className=\"stat-heading\">Completed</div>\n </div>\n </div>\n </div>\n </div>\n </div>\n </div>\n\n <div className=\"col-lg-3 col-md-6\">\n <div className=\"card\">\n <div className=\"card-body\">\n <div className=\"stat-widget-five\">\n <div className=\"stat-icon dib flat-color-4\">\n <i class=\"fas fa-users\"></i>\n </div>\n <div className=\"stat-content\">\n <div className=\"text-left dib\">\n <div className=\"stat-text\">\n <span className=\"count\">{inreview}</span>\n </div>\n <div className=\"stat-heading\">In review</div>\n </div>\n </div>\n </div>\n </div>\n </div>\n </div>\n </div>\n </div>\n )\n};\n\nTaskSummary.propTypes = {};\n\nTaskSummary.defaultProps = {};\n\nexport default TaskSummary;\n","C:\\projects\\MANAGEM-FRONTEND-ADMIN\\src\\main\\shared\\kanban\\Board\\Board.js",["867"],"C:\\projects\\MANAGEM-FRONTEND-ADMIN\\src\\modules\\project\\ProjectCalendar\\ProjectCalendar.js",["868","869","870","871"],"C:\\projects\\MANAGEM-FRONTEND-ADMIN\\src\\modules\\shared\\SearchProject\\SearchProject.js",["872","873","874"],"C:\\projects\\MANAGEM-FRONTEND-ADMIN\\src\\modules\\shared\\Profile\\Profile.js",["875","876"],"C:\\projects\\MANAGEM-FRONTEND-ADMIN\\src\\main\\shared\\Register\\Register.js",["877","878","879","880","881"],{"ruleId":"882","severity":1,"message":"883","line":1,"column":8,"nodeType":"884","messageId":"885","endLine":1,"endColumn":12},{"ruleId":"886","replacedBy":"887"},{"ruleId":"888","replacedBy":"889"},{"ruleId":"882","severity":1,"message":"890","line":2,"column":8,"nodeType":"884","messageId":"885","endLine":2,"endColumn":14},{"ruleId":"882","severity":1,"message":"891","line":4,"column":8,"nodeType":"884","messageId":"885","endLine":4,"endColumn":12},{"ruleId":"882","severity":1,"message":"892","line":5,"column":8,"nodeType":"884","messageId":"885","endLine":5,"endColumn":19},{"ruleId":"893","severity":1,"message":"894","line":49,"column":15,"nodeType":"895","endLine":49,"endColumn":121},{"ruleId":"896","severity":1,"message":"897","line":49,"column":15,"nodeType":"895","endLine":49,"endColumn":121},{"ruleId":"893","severity":1,"message":"894","line":67,"column":15,"nodeType":"895","endLine":67,"endColumn":121},{"ruleId":"896","severity":1,"message":"897","line":67,"column":15,"nodeType":"895","endLine":67,"endColumn":121},{"ruleId":"893","severity":1,"message":"894","line":110,"column":15,"nodeType":"895","endLine":110,"endColumn":121},{"ruleId":"896","severity":1,"message":"897","line":110,"column":15,"nodeType":"895","endLine":110,"endColumn":121},{"ruleId":"882","severity":1,"message":"898","line":2,"column":8,"nodeType":"884","messageId":"885","endLine":2,"endColumn":17},{"ruleId":"882","severity":1,"message":"891","line":4,"column":8,"nodeType":"884","messageId":"885","endLine":4,"endColumn":12},{"ruleId":"882","severity":1,"message":"892","line":5,"column":8,"nodeType":"884","messageId":"885","endLine":5,"endColumn":19},{"ruleId":"899","severity":1,"message":"900","line":28,"column":38,"nodeType":"901","messageId":"902","endLine":28,"endColumn":40},{"ruleId":"893","severity":1,"message":"894","line":31,"column":28,"nodeType":"895","endLine":31,"endColumn":39},{"ruleId":"882","severity":1,"message":"898","line":2,"column":8,"nodeType":"884","messageId":"885","endLine":2,"endColumn":17},{"ruleId":"882","severity":1,"message":"903","line":6,"column":10,"nodeType":"884","messageId":"885","endLine":6,"endColumn":14},{"ruleId":"882","severity":1,"message":"904","line":22,"column":10,"nodeType":"884","messageId":"885","endLine":22,"endColumn":31},{"ruleId":"882","severity":1,"message":"905","line":22,"column":33,"nodeType":"884","messageId":"885","endLine":22,"endColumn":57},{"ruleId":"882","severity":1,"message":"906","line":24,"column":9,"nodeType":"884","messageId":"885","endLine":24,"endColumn":16},{"ruleId":"907","severity":1,"message":"908","line":38,"column":6,"nodeType":"909","endLine":38,"endColumn":8,"suggestions":"910"},{"ruleId":"899","severity":1,"message":"900","line":116,"column":15,"nodeType":"901","messageId":"902","endLine":116,"endColumn":17},{"ruleId":"882","severity":1,"message":"898","line":2,"column":8,"nodeType":"884","messageId":"885","endLine":2,"endColumn":17},{"ruleId":"882","severity":1,"message":"911","line":22,"column":10,"nodeType":"884","messageId":"885","endLine":22,"endColumn":21},{"ruleId":"907","severity":1,"message":"912","line":29,"column":6,"nodeType":"909","endLine":29,"endColumn":8,"suggestions":"913"},{"ruleId":"882","severity":1,"message":"914","line":32,"column":9,"nodeType":"884","messageId":"885","endLine":32,"endColumn":15},{"ruleId":"882","severity":1,"message":"915","line":42,"column":9,"nodeType":"884","messageId":"885","endLine":42,"endColumn":18},{"ruleId":"886","replacedBy":"916"},{"ruleId":"888","replacedBy":"917"},{"ruleId":"882","severity":1,"message":"898","line":2,"column":8,"nodeType":"884","messageId":"885","endLine":2,"endColumn":17},{"ruleId":"882","severity":1,"message":"918","line":4,"column":8,"nodeType":"884","messageId":"885","endLine":4,"endColumn":16},{"ruleId":"882","severity":1,"message":"919","line":11,"column":8,"nodeType":"884","messageId":"885","endLine":11,"endColumn":23},{"ruleId":"882","severity":1,"message":"920","line":15,"column":10,"nodeType":"884","messageId":"885","endLine":15,"endColumn":20},{"ruleId":"882","severity":1,"message":"921","line":15,"column":22,"nodeType":"884","messageId":"885","endLine":15,"endColumn":28},{"ruleId":"882","severity":1,"message":"922","line":24,"column":7,"nodeType":"884","messageId":"885","endLine":24,"endColumn":18},{"ruleId":"882","severity":1,"message":"923","line":33,"column":19,"nodeType":"884","messageId":"885","endLine":33,"endColumn":29},{"ruleId":"882","severity":1,"message":"914","line":54,"column":9,"nodeType":"884","messageId":"885","endLine":54,"endColumn":15},{"ruleId":"882","severity":1,"message":"915","line":64,"column":9,"nodeType":"884","messageId":"885","endLine":64,"endColumn":18},{"ruleId":"899","severity":1,"message":"900","line":123,"column":18,"nodeType":"901","messageId":"902","endLine":123,"endColumn":20},{"ruleId":"899","severity":1,"message":"900","line":126,"column":55,"nodeType":"901","messageId":"902","endLine":126,"endColumn":57},{"ruleId":"882","severity":1,"message":"924","line":134,"column":10,"nodeType":"884","messageId":"885","endLine":134,"endColumn":24},{"ruleId":"882","severity":1,"message":"925","line":135,"column":10,"nodeType":"884","messageId":"885","endLine":135,"endColumn":20},{"ruleId":"882","severity":1,"message":"926","line":135,"column":22,"nodeType":"884","messageId":"885","endLine":135,"endColumn":35},{"ruleId":"882","severity":1,"message":"927","line":136,"column":10,"nodeType":"884","messageId":"885","endLine":136,"endColumn":19},{"ruleId":"882","severity":1,"message":"928","line":136,"column":21,"nodeType":"884","messageId":"885","endLine":136,"endColumn":33},{"ruleId":"882","severity":1,"message":"929","line":137,"column":9,"nodeType":"884","messageId":"885","endLine":137,"endColumn":18},{"ruleId":"882","severity":1,"message":"930","line":28,"column":9,"nodeType":"884","messageId":"885","endLine":28,"endColumn":20},{"ruleId":"886","replacedBy":"931"},{"ruleId":"888","replacedBy":"932"},{"ruleId":"933","severity":1,"message":"934","line":33,"column":1,"nodeType":"935","endLine":41,"endColumn":3},{"ruleId":"933","severity":1,"message":"934","line":36,"column":1,"nodeType":"935","endLine":44,"endColumn":3},{"ruleId":"882","severity":1,"message":"898","line":2,"column":8,"nodeType":"884","messageId":"885","endLine":2,"endColumn":17},{"ruleId":"882","severity":1,"message":"898","line":2,"column":8,"nodeType":"884","messageId":"885","endLine":2,"endColumn":17},{"ruleId":"882","severity":1,"message":"936","line":7,"column":8,"nodeType":"884","messageId":"885","endLine":7,"endColumn":26},{"ruleId":"882","severity":1,"message":"937","line":8,"column":8,"nodeType":"884","messageId":"885","endLine":8,"endColumn":19},{"ruleId":"882","severity":1,"message":"938","line":32,"column":10,"nodeType":"884","messageId":"885","endLine":32,"endColumn":17},{"ruleId":"882","severity":1,"message":"898","line":2,"column":8,"nodeType":"884","messageId":"885","endLine":2,"endColumn":17},{"ruleId":"882","severity":1,"message":"939","line":13,"column":35,"nodeType":"884","messageId":"885","endLine":13,"endColumn":41},{"ruleId":"882","severity":1,"message":"940","line":15,"column":10,"nodeType":"884","messageId":"885","endLine":15,"endColumn":18},{"ruleId":"882","severity":1,"message":"941","line":15,"column":20,"nodeType":"884","messageId":"885","endLine":15,"endColumn":31},{"ruleId":"882","severity":1,"message":"942","line":16,"column":10,"nodeType":"884","messageId":"885","endLine":16,"endColumn":17},{"ruleId":"882","severity":1,"message":"943","line":16,"column":19,"nodeType":"884","messageId":"885","endLine":16,"endColumn":29},{"ruleId":"882","severity":1,"message":"938","line":18,"column":10,"nodeType":"884","messageId":"885","endLine":18,"endColumn":17},{"ruleId":"882","severity":1,"message":"944","line":7,"column":8,"nodeType":"884","messageId":"885","endLine":7,"endColumn":25},{"ruleId":"882","severity":1,"message":"945","line":37,"column":9,"nodeType":"884","messageId":"885","endLine":37,"endColumn":19},{"ruleId":"886","replacedBy":"946"},{"ruleId":"888","replacedBy":"947"},{"ruleId":"882","severity":1,"message":"948","line":7,"column":8,"nodeType":"884","messageId":"885","endLine":7,"endColumn":23},{"ruleId":"882","severity":1,"message":"949","line":28,"column":9,"nodeType":"884","messageId":"885","endLine":28,"endColumn":22},{"ruleId":"882","severity":1,"message":"950","line":44,"column":9,"nodeType":"884","messageId":"885","endLine":44,"endColumn":17},{"ruleId":"933","severity":1,"message":"934","line":37,"column":1,"nodeType":"935","endLine":45,"endColumn":3},{"ruleId":"882","severity":1,"message":"898","line":2,"column":8,"nodeType":"884","messageId":"885","endLine":2,"endColumn":17},{"ruleId":"882","severity":1,"message":"920","line":11,"column":10,"nodeType":"884","messageId":"885","endLine":11,"endColumn":20},{"ruleId":"882","severity":1,"message":"921","line":11,"column":22,"nodeType":"884","messageId":"885","endLine":11,"endColumn":28},{"ruleId":"882","severity":1,"message":"951","line":16,"column":7,"nodeType":"884","messageId":"885","endLine":16,"endColumn":17},{"ruleId":"882","severity":1,"message":"952","line":77,"column":9,"nodeType":"884","messageId":"885","endLine":77,"endColumn":15},{"ruleId":"899","severity":1,"message":"900","line":93,"column":18,"nodeType":"901","messageId":"902","endLine":93,"endColumn":20},{"ruleId":"899","severity":1,"message":"900","line":96,"column":55,"nodeType":"901","messageId":"902","endLine":96,"endColumn":57},{"ruleId":"882","severity":1,"message":"924","line":104,"column":10,"nodeType":"884","messageId":"885","endLine":104,"endColumn":24},{"ruleId":"882","severity":1,"message":"925","line":105,"column":10,"nodeType":"884","messageId":"885","endLine":105,"endColumn":20},{"ruleId":"882","severity":1,"message":"926","line":105,"column":22,"nodeType":"884","messageId":"885","endLine":105,"endColumn":35},{"ruleId":"882","severity":1,"message":"927","line":106,"column":10,"nodeType":"884","messageId":"885","endLine":106,"endColumn":19},{"ruleId":"882","severity":1,"message":"928","line":106,"column":21,"nodeType":"884","messageId":"885","endLine":106,"endColumn":33},{"ruleId":"882","severity":1,"message":"929","line":107,"column":9,"nodeType":"884","messageId":"885","endLine":107,"endColumn":18},{"ruleId":"886","replacedBy":"953"},{"ruleId":"888","replacedBy":"954"},{"ruleId":"882","severity":1,"message":"955","line":1,"column":17,"nodeType":"884","messageId":"885","endLine":1,"endColumn":30},{"ruleId":"882","severity":1,"message":"898","line":2,"column":8,"nodeType":"884","messageId":"885","endLine":2,"endColumn":17},{"ruleId":"882","severity":1,"message":"956","line":5,"column":8,"nodeType":"884","messageId":"885","endLine":5,"endColumn":18},{"ruleId":"882","severity":1,"message":"957","line":7,"column":8,"nodeType":"884","messageId":"885","endLine":7,"endColumn":19},{"ruleId":"882","severity":1,"message":"936","line":13,"column":8,"nodeType":"884","messageId":"885","endLine":13,"endColumn":26},{"ruleId":"882","severity":1,"message":"937","line":14,"column":8,"nodeType":"884","messageId":"885","endLine":14,"endColumn":19},{"ruleId":"882","severity":1,"message":"958","line":16,"column":8,"nodeType":"884","messageId":"885","endLine":16,"endColumn":12},{"ruleId":"882","severity":1,"message":"959","line":18,"column":8,"nodeType":"884","messageId":"885","endLine":18,"endColumn":18},{"ruleId":"882","severity":1,"message":"920","line":19,"column":10,"nodeType":"884","messageId":"885","endLine":19,"endColumn":20},{"ruleId":"882","severity":1,"message":"921","line":19,"column":22,"nodeType":"884","messageId":"885","endLine":19,"endColumn":28},{"ruleId":"882","severity":1,"message":"960","line":23,"column":7,"nodeType":"884","messageId":"885","endLine":23,"endColumn":20},{"ruleId":"882","severity":1,"message":"961","line":31,"column":8,"nodeType":"884","messageId":"885","endLine":31,"endColumn":13},{"ruleId":"882","severity":1,"message":"962","line":31,"column":15,"nodeType":"884","messageId":"885","endLine":31,"endColumn":23},{"ruleId":"899","severity":1,"message":"900","line":115,"column":18,"nodeType":"901","messageId":"902","endLine":115,"endColumn":20},{"ruleId":"899","severity":1,"message":"900","line":118,"column":58,"nodeType":"901","messageId":"902","endLine":118,"endColumn":60},{"ruleId":"882","severity":1,"message":"924","line":126,"column":10,"nodeType":"884","messageId":"885","endLine":126,"endColumn":24},{"ruleId":"882","severity":1,"message":"925","line":127,"column":10,"nodeType":"884","messageId":"885","endLine":127,"endColumn":20},{"ruleId":"882","severity":1,"message":"926","line":127,"column":22,"nodeType":"884","messageId":"885","endLine":127,"endColumn":35},{"ruleId":"882","severity":1,"message":"927","line":128,"column":10,"nodeType":"884","messageId":"885","endLine":128,"endColumn":19},{"ruleId":"882","severity":1,"message":"928","line":128,"column":21,"nodeType":"884","messageId":"885","endLine":128,"endColumn":33},{"ruleId":"882","severity":1,"message":"929","line":129,"column":9,"nodeType":"884","messageId":"885","endLine":129,"endColumn":18},{"ruleId":"933","severity":1,"message":"934","line":37,"column":1,"nodeType":"935","endLine":45,"endColumn":3},{"ruleId":"933","severity":1,"message":"934","line":36,"column":1,"nodeType":"935","endLine":44,"endColumn":3},{"ruleId":"886","replacedBy":"963"},{"ruleId":"888","replacedBy":"964"},{"ruleId":"882","severity":1,"message":"965","line":5,"column":8,"nodeType":"884","messageId":"885","endLine":5,"endColumn":18},{"ruleId":"882","severity":1,"message":"944","line":10,"column":8,"nodeType":"884","messageId":"885","endLine":10,"endColumn":25},{"ruleId":"882","severity":1,"message":"937","line":11,"column":8,"nodeType":"884","messageId":"885","endLine":11,"endColumn":19},{"ruleId":"882","severity":1,"message":"966","line":13,"column":10,"nodeType":"884","messageId":"885","endLine":13,"endColumn":13},{"ruleId":"882","severity":1,"message":"920","line":15,"column":10,"nodeType":"884","messageId":"885","endLine":15,"endColumn":20},{"ruleId":"882","severity":1,"message":"921","line":15,"column":22,"nodeType":"884","messageId":"885","endLine":15,"endColumn":28},{"ruleId":"899","severity":1,"message":"900","line":124,"column":18,"nodeType":"901","messageId":"902","endLine":124,"endColumn":20},{"ruleId":"899","severity":1,"message":"900","line":127,"column":57,"nodeType":"901","messageId":"902","endLine":127,"endColumn":59},{"ruleId":"882","severity":1,"message":"924","line":135,"column":10,"nodeType":"884","messageId":"885","endLine":135,"endColumn":24},{"ruleId":"882","severity":1,"message":"925","line":136,"column":10,"nodeType":"884","messageId":"885","endLine":136,"endColumn":20},{"ruleId":"882","severity":1,"message":"926","line":136,"column":22,"nodeType":"884","messageId":"885","endLine":136,"endColumn":35},{"ruleId":"882","severity":1,"message":"927","line":137,"column":10,"nodeType":"884","messageId":"885","endLine":137,"endColumn":19},{"ruleId":"882","severity":1,"message":"928","line":137,"column":21,"nodeType":"884","messageId":"885","endLine":137,"endColumn":33},{"ruleId":"933","severity":1,"message":"934","line":33,"column":1,"nodeType":"935","endLine":41,"endColumn":3},{"ruleId":"882","severity":1,"message":"898","line":2,"column":8,"nodeType":"884","messageId":"885","endLine":2,"endColumn":17},{"ruleId":"882","severity":1,"message":"898","line":2,"column":8,"nodeType":"884","messageId":"885","endLine":2,"endColumn":17},{"ruleId":"893","severity":1,"message":"894","line":9,"column":9,"nodeType":"895","endLine":9,"endColumn":45},{"ruleId":"893","severity":1,"message":"894","line":12,"column":9,"nodeType":"895","endLine":12,"endColumn":45},{"ruleId":"893","severity":1,"message":"894","line":15,"column":9,"nodeType":"895","endLine":15,"endColumn":45},{"ruleId":"893","severity":1,"message":"894","line":18,"column":9,"nodeType":"895","endLine":18,"endColumn":134},{"ruleId":"893","severity":1,"message":"894","line":20,"column":11,"nodeType":"895","endLine":20,"endColumn":45},{"ruleId":"893","severity":1,"message":"894","line":21,"column":11,"nodeType":"895","endLine":21,"endColumn":45},{"ruleId":"893","severity":1,"message":"894","line":22,"column":11,"nodeType":"895","endLine":22,"endColumn":45},{"ruleId":"893","severity":1,"message":"894","line":23,"column":11,"nodeType":"895","endLine":23,"endColumn":45},{"ruleId":"893","severity":1,"message":"894","line":25,"column":11,"nodeType":"895","endLine":25,"endColumn":45},{"ruleId":"893","severity":1,"message":"894","line":26,"column":11,"nodeType":"895","endLine":26,"endColumn":45},{"ruleId":"893","severity":1,"message":"894","line":27,"column":11,"nodeType":"895","endLine":27,"endColumn":45},{"ruleId":"893","severity":1,"message":"894","line":31,"column":9,"nodeType":"895","endLine":31,"endColumn":38},{"ruleId":"893","severity":1,"message":"894","line":34,"column":9,"nodeType":"895","endLine":34,"endColumn":47},{"ruleId":"886","replacedBy":"967"},{"ruleId":"888","replacedBy":"968"},{"ruleId":"882","severity":1,"message":"898","line":2,"column":8,"nodeType":"884","messageId":"885","endLine":2,"endColumn":17},{"ruleId":"882","severity":1,"message":"939","line":13,"column":35,"nodeType":"884","messageId":"885","endLine":13,"endColumn":41},{"ruleId":"882","severity":1,"message":"940","line":15,"column":10,"nodeType":"884","messageId":"885","endLine":15,"endColumn":18},{"ruleId":"882","severity":1,"message":"941","line":15,"column":20,"nodeType":"884","messageId":"885","endLine":15,"endColumn":31},{"ruleId":"882","severity":1,"message":"942","line":16,"column":10,"nodeType":"884","messageId":"885","endLine":16,"endColumn":17},{"ruleId":"882","severity":1,"message":"943","line":16,"column":19,"nodeType":"884","messageId":"885","endLine":16,"endColumn":29},{"ruleId":"882","severity":1,"message":"938","line":19,"column":10,"nodeType":"884","messageId":"885","endLine":19,"endColumn":17},{"ruleId":"882","severity":1,"message":"898","line":2,"column":8,"nodeType":"884","messageId":"885","endLine":2,"endColumn":17},{"ruleId":"886","replacedBy":"969"},{"ruleId":"888","replacedBy":"970"},{"ruleId":"882","severity":1,"message":"898","line":2,"column":8,"nodeType":"884","messageId":"885","endLine":2,"endColumn":17},{"ruleId":"882","severity":1,"message":"891","line":5,"column":8,"nodeType":"884","messageId":"885","endLine":5,"endColumn":12},{"ruleId":"882","severity":1,"message":"892","line":6,"column":8,"nodeType":"884","messageId":"885","endLine":6,"endColumn":19},{"ruleId":"899","severity":1,"message":"900","line":67,"column":50,"nodeType":"901","messageId":"902","endLine":67,"endColumn":52},{"ruleId":"893","severity":1,"message":"971","line":71,"column":25,"nodeType":"895","endLine":71,"endColumn":67},{"ruleId":"899","severity":1,"message":"900","line":77,"column":61,"nodeType":"901","messageId":"902","endLine":77,"endColumn":63},{"ruleId":"893","severity":1,"message":"894","line":92,"column":29,"nodeType":"895","endLine":92,"endColumn":142},{"ruleId":"896","severity":1,"message":"897","line":92,"column":29,"nodeType":"895","endLine":92,"endColumn":142},{"ruleId":"882","severity":1,"message":"898","line":2,"column":8,"nodeType":"884","messageId":"885","endLine":2,"endColumn":17},{"ruleId":"882","severity":1,"message":"919","line":7,"column":8,"nodeType":"884","messageId":"885","endLine":7,"endColumn":23},{"ruleId":"882","severity":1,"message":"938","line":30,"column":10,"nodeType":"884","messageId":"885","endLine":30,"endColumn":17},{"ruleId":"882","severity":1,"message":"972","line":47,"column":9,"nodeType":"884","messageId":"885","endLine":47,"endColumn":17},{"ruleId":"882","severity":1,"message":"898","line":2,"column":8,"nodeType":"884","messageId":"885","endLine":2,"endColumn":17},{"ruleId":"882","severity":1,"message":"973","line":4,"column":27,"nodeType":"884","messageId":"885","endLine":4,"endColumn":33},{"ruleId":"882","severity":1,"message":"892","line":16,"column":8,"nodeType":"884","messageId":"885","endLine":16,"endColumn":19},{"ruleId":"882","severity":1,"message":"958","line":18,"column":8,"nodeType":"884","messageId":"885","endLine":18,"endColumn":12},{"ruleId":"882","severity":1,"message":"974","line":6,"column":35,"nodeType":"884","messageId":"885","endLine":6,"endColumn":40},{"ruleId":"882","severity":1,"message":"891","line":9,"column":8,"nodeType":"884","messageId":"885","endLine":9,"endColumn":12},{"ruleId":"882","severity":1,"message":"892","line":10,"column":8,"nodeType":"884","messageId":"885","endLine":10,"endColumn":19},{"ruleId":"882","severity":1,"message":"958","line":11,"column":8,"nodeType":"884","messageId":"885","endLine":11,"endColumn":12},{"ruleId":"882","severity":1,"message":"975","line":18,"column":10,"nodeType":"884","messageId":"885","endLine":18,"endColumn":16},{"ruleId":"882","severity":1,"message":"976","line":20,"column":10,"nodeType":"884","messageId":"885","endLine":20,"endColumn":14},{"ruleId":"882","severity":1,"message":"977","line":21,"column":8,"nodeType":"884","messageId":"885","endLine":21,"endColumn":25},{"ruleId":"882","severity":1,"message":"978","line":26,"column":8,"nodeType":"884","messageId":"885","endLine":26,"endColumn":25},{"ruleId":"882","severity":1,"message":"979","line":27,"column":8,"nodeType":"884","messageId":"885","endLine":27,"endColumn":23},{"ruleId":"882","severity":1,"message":"980","line":97,"column":10,"nodeType":"884","messageId":"885","endLine":97,"endColumn":17},{"ruleId":"882","severity":1,"message":"938","line":99,"column":10,"nodeType":"884","messageId":"885","endLine":99,"endColumn":17},{"ruleId":"882","severity":1,"message":"981","line":108,"column":10,"nodeType":"884","messageId":"885","endLine":108,"endColumn":18},{"ruleId":"882","severity":1,"message":"982","line":108,"column":20,"nodeType":"884","messageId":"885","endLine":108,"endColumn":31},{"ruleId":"882","severity":1,"message":"983","line":109,"column":10,"nodeType":"884","messageId":"885","endLine":109,"endColumn":24},{"ruleId":"882","severity":1,"message":"984","line":109,"column":26,"nodeType":"884","messageId":"885","endLine":109,"endColumn":43},{"ruleId":"899","severity":1,"message":"900","line":116,"column":43,"nodeType":"901","messageId":"902","endLine":116,"endColumn":45},{"ruleId":"907","severity":1,"message":"985","line":124,"column":6,"nodeType":"909","endLine":124,"endColumn":8,"suggestions":"986"},{"ruleId":"899","severity":1,"message":"900","line":176,"column":38,"nodeType":"901","messageId":"902","endLine":176,"endColumn":40},{"ruleId":"899","severity":1,"message":"900","line":181,"column":54,"nodeType":"901","messageId":"902","endLine":181,"endColumn":56},{"ruleId":"882","severity":1,"message":"987","line":2,"column":8,"nodeType":"884","messageId":"885","endLine":2,"endColumn":14},{"ruleId":"882","severity":1,"message":"898","line":3,"column":8,"nodeType":"884","messageId":"885","endLine":3,"endColumn":17},{"ruleId":"882","severity":1,"message":"988","line":5,"column":8,"nodeType":"884","messageId":"885","endLine":5,"endColumn":12},{"ruleId":"882","severity":1,"message":"989","line":14,"column":9,"nodeType":"884","messageId":"885","endLine":14,"endColumn":18},{"ruleId":"882","severity":1,"message":"990","line":51,"column":9,"nodeType":"884","messageId":"885","endLine":51,"endColumn":13},{"ruleId":"882","severity":1,"message":"898","line":2,"column":8,"nodeType":"884","messageId":"885","endLine":2,"endColumn":17},{"ruleId":"882","severity":1,"message":"977","line":13,"column":8,"nodeType":"884","messageId":"885","endLine":13,"endColumn":25},{"ruleId":"882","severity":1,"message":"991","line":16,"column":8,"nodeType":"884","messageId":"885","endLine":16,"endColumn":26},{"ruleId":"882","severity":1,"message":"920","line":17,"column":10,"nodeType":"884","messageId":"885","endLine":17,"endColumn":20},{"ruleId":"882","severity":1,"message":"921","line":17,"column":22,"nodeType":"884","messageId":"885","endLine":17,"endColumn":28},{"ruleId":"882","severity":1,"message":"992","line":23,"column":7,"nodeType":"884","messageId":"885","endLine":23,"endColumn":17},{"ruleId":"882","severity":1,"message":"993","line":35,"column":10,"nodeType":"884","messageId":"885","endLine":35,"endColumn":14},{"ruleId":"882","severity":1,"message":"980","line":36,"column":10,"nodeType":"884","messageId":"885","endLine":36,"endColumn":17},{"ruleId":"882","severity":1,"message":"994","line":37,"column":11,"nodeType":"884","messageId":"885","endLine":37,"endColumn":19},{"ruleId":"882","severity":1,"message":"995","line":37,"column":21,"nodeType":"884","messageId":"885","endLine":37,"endColumn":33},{"ruleId":"882","severity":1,"message":"939","line":37,"column":35,"nodeType":"884","messageId":"885","endLine":37,"endColumn":41},{"ruleId":"882","severity":1,"message":"923","line":39,"column":19,"nodeType":"884","messageId":"885","endLine":39,"endColumn":29},{"ruleId":"882","severity":1,"message":"996","line":40,"column":9,"nodeType":"884","messageId":"885","endLine":40,"endColumn":21},{"ruleId":"882","severity":1,"message":"914","line":58,"column":9,"nodeType":"884","messageId":"885","endLine":58,"endColumn":15},{"ruleId":"882","severity":1,"message":"915","line":68,"column":9,"nodeType":"884","messageId":"885","endLine":68,"endColumn":18},{"ruleId":"882","severity":1,"message":"997","line":81,"column":9,"nodeType":"884","messageId":"885","endLine":81,"endColumn":14},{"ruleId":"882","severity":1,"message":"998","line":96,"column":9,"nodeType":"884","messageId":"885","endLine":96,"endColumn":15},{"ruleId":"882","severity":1,"message":"952","line":108,"column":9,"nodeType":"884","messageId":"885","endLine":108,"endColumn":15},{"ruleId":"882","severity":1,"message":"999","line":114,"column":9,"nodeType":"884","messageId":"885","endLine":114,"endColumn":26},{"ruleId":"882","severity":1,"message":"1000","line":119,"column":9,"nodeType":"884","messageId":"885","endLine":119,"endColumn":17},{"ruleId":"899","severity":1,"message":"900","line":155,"column":18,"nodeType":"901","messageId":"902","endLine":155,"endColumn":20},{"ruleId":"899","severity":1,"message":"900","line":158,"column":55,"nodeType":"901","messageId":"902","endLine":158,"endColumn":57},{"ruleId":"882","severity":1,"message":"1001","line":165,"column":10,"nodeType":"884","messageId":"885","endLine":165,"endColumn":23},{"ruleId":"882","severity":1,"message":"924","line":166,"column":10,"nodeType":"884","messageId":"885","endLine":166,"endColumn":24},{"ruleId":"882","severity":1,"message":"925","line":167,"column":10,"nodeType":"884","messageId":"885","endLine":167,"endColumn":20},{"ruleId":"882","severity":1,"message":"926","line":167,"column":22,"nodeType":"884","messageId":"885","endLine":167,"endColumn":35},{"ruleId":"882","severity":1,"message":"927","line":168,"column":10,"nodeType":"884","messageId":"885","endLine":168,"endColumn":19},{"ruleId":"882","severity":1,"message":"928","line":168,"column":21,"nodeType":"884","messageId":"885","endLine":168,"endColumn":33},{"ruleId":"882","severity":1,"message":"929","line":169,"column":9,"nodeType":"884","messageId":"885","endLine":169,"endColumn":18},{"ruleId":"886","replacedBy":"1002"},{"ruleId":"888","replacedBy":"1003"},{"ruleId":"882","severity":1,"message":"1004","line":7,"column":8,"nodeType":"884","messageId":"885","endLine":7,"endColumn":23},{"ruleId":"882","severity":1,"message":"937","line":8,"column":8,"nodeType":"884","messageId":"885","endLine":8,"endColumn":19},{"ruleId":"882","severity":1,"message":"898","line":2,"column":8,"nodeType":"884","messageId":"885","endLine":2,"endColumn":17},{"ruleId":"893","severity":1,"message":"894","line":9,"column":9,"nodeType":"895","endLine":9,"endColumn":45},{"ruleId":"893","severity":1,"message":"894","line":12,"column":9,"nodeType":"895","endLine":12,"endColumn":45},{"ruleId":"893","severity":1,"message":"894","line":15,"column":9,"nodeType":"895","endLine":15,"endColumn":45},{"ruleId":"893","severity":1,"message":"894","line":18,"column":9,"nodeType":"895","endLine":18,"endColumn":134},{"ruleId":"893","severity":1,"message":"894","line":20,"column":11,"nodeType":"895","endLine":20,"endColumn":45},{"ruleId":"893","severity":1,"message":"894","line":21,"column":11,"nodeType":"895","endLine":21,"endColumn":45},{"ruleId":"893","severity":1,"message":"894","line":22,"column":11,"nodeType":"895","endLine":22,"endColumn":45},{"ruleId":"893","severity":1,"message":"894","line":24,"column":11,"nodeType":"895","endLine":24,"endColumn":45},{"ruleId":"893","severity":1,"message":"894","line":28,"column":9,"nodeType":"895","endLine":28,"endColumn":38},{"ruleId":"893","severity":1,"message":"894","line":31,"column":9,"nodeType":"895","endLine":31,"endColumn":47},{"ruleId":"882","severity":1,"message":"1005","line":26,"column":9,"nodeType":"884","messageId":"885","endLine":26,"endColumn":19},{"ruleId":"882","severity":1,"message":"939","line":14,"column":35,"nodeType":"884","messageId":"885","endLine":14,"endColumn":41},{"ruleId":"882","severity":1,"message":"898","line":2,"column":8,"nodeType":"884","messageId":"885","endLine":2,"endColumn":17},{"ruleId":"882","severity":1,"message":"1004","line":11,"column":8,"nodeType":"884","messageId":"885","endLine":11,"endColumn":23},{"ruleId":"882","severity":1,"message":"937","line":12,"column":8,"nodeType":"884","messageId":"885","endLine":12,"endColumn":19},{"ruleId":"882","severity":1,"message":"920","line":14,"column":10,"nodeType":"884","messageId":"885","endLine":14,"endColumn":20},{"ruleId":"882","severity":1,"message":"921","line":14,"column":22,"nodeType":"884","messageId":"885","endLine":14,"endColumn":28},{"ruleId":"882","severity":1,"message":"1006","line":19,"column":7,"nodeType":"884","messageId":"885","endLine":19,"endColumn":17},{"ruleId":"882","severity":1,"message":"923","line":28,"column":19,"nodeType":"884","messageId":"885","endLine":28,"endColumn":29},{"ruleId":"899","severity":1,"message":"900","line":91,"column":18,"nodeType":"901","messageId":"902","endLine":91,"endColumn":20},{"ruleId":"899","severity":1,"message":"900","line":94,"column":55,"nodeType":"901","messageId":"902","endLine":94,"endColumn":57},{"ruleId":"882","severity":1,"message":"924","line":102,"column":10,"nodeType":"884","messageId":"885","endLine":102,"endColumn":24},{"ruleId":"882","severity":1,"message":"925","line":103,"column":10,"nodeType":"884","messageId":"885","endLine":103,"endColumn":20},{"ruleId":"882","severity":1,"message":"926","line":103,"column":22,"nodeType":"884","messageId":"885","endLine":103,"endColumn":35},{"ruleId":"882","severity":1,"message":"927","line":104,"column":10,"nodeType":"884","messageId":"885","endLine":104,"endColumn":19},{"ruleId":"882","severity":1,"message":"928","line":104,"column":21,"nodeType":"884","messageId":"885","endLine":104,"endColumn":33},{"ruleId":"882","severity":1,"message":"929","line":105,"column":9,"nodeType":"884","messageId":"885","endLine":105,"endColumn":18},{"ruleId":"933","severity":1,"message":"934","line":33,"column":1,"nodeType":"935","endLine":41,"endColumn":3},{"ruleId":"882","severity":1,"message":"898","line":2,"column":8,"nodeType":"884","messageId":"885","endLine":2,"endColumn":17},{"ruleId":"882","severity":1,"message":"939","line":11,"column":35,"nodeType":"884","messageId":"885","endLine":11,"endColumn":41},{"ruleId":"882","severity":1,"message":"940","line":13,"column":10,"nodeType":"884","messageId":"885","endLine":13,"endColumn":18},{"ruleId":"882","severity":1,"message":"941","line":13,"column":20,"nodeType":"884","messageId":"885","endLine":13,"endColumn":31},{"ruleId":"882","severity":1,"message":"942","line":14,"column":10,"nodeType":"884","messageId":"885","endLine":14,"endColumn":17},{"ruleId":"882","severity":1,"message":"943","line":14,"column":19,"nodeType":"884","messageId":"885","endLine":14,"endColumn":29},{"ruleId":"882","severity":1,"message":"898","line":2,"column":8,"nodeType":"884","messageId":"885","endLine":2,"endColumn":17},{"ruleId":"886","replacedBy":"1007"},{"ruleId":"888","replacedBy":"1008"},{"ruleId":"882","severity":1,"message":"898","line":2,"column":8,"nodeType":"884","messageId":"885","endLine":2,"endColumn":17},{"ruleId":"882","severity":1,"message":"939","line":10,"column":35,"nodeType":"884","messageId":"885","endLine":10,"endColumn":41},{"ruleId":"882","severity":1,"message":"940","line":12,"column":10,"nodeType":"884","messageId":"885","endLine":12,"endColumn":18},{"ruleId":"882","severity":1,"message":"941","line":12,"column":20,"nodeType":"884","messageId":"885","endLine":12,"endColumn":31},{"ruleId":"882","severity":1,"message":"942","line":13,"column":10,"nodeType":"884","messageId":"885","endLine":13,"endColumn":17},{"ruleId":"882","severity":1,"message":"943","line":13,"column":19,"nodeType":"884","messageId":"885","endLine":13,"endColumn":29},{"ruleId":"886","replacedBy":"1009"},{"ruleId":"888","replacedBy":"1010"},{"ruleId":"933","severity":1,"message":"934","line":65,"column":1,"nodeType":"935","endLine":81,"endColumn":3},{"ruleId":"933","severity":1,"message":"934","line":21,"column":1,"nodeType":"935","endLine":27,"endColumn":3},{"ruleId":"933","severity":1,"message":"934","line":47,"column":1,"nodeType":"935","endLine":59,"endColumn":3},{"ruleId":"933","severity":1,"message":"934","line":33,"column":1,"nodeType":"935","endLine":42,"endColumn":3},{"ruleId":"882","severity":1,"message":"898","line":2,"column":8,"nodeType":"884","messageId":"885","endLine":2,"endColumn":17},{"ruleId":"893","severity":1,"message":"894","line":10,"column":37,"nodeType":"895","endLine":10,"endColumn":66},{"ruleId":"1011","severity":1,"message":"1012","line":10,"column":45,"nodeType":"1013","messageId":"1014","endLine":10,"endColumn":65},{"ruleId":"933","severity":1,"message":"934","line":19,"column":1,"nodeType":"935","endLine":24,"endColumn":3},{"ruleId":"886","replacedBy":"1015"},{"ruleId":"888","replacedBy":"1016"},{"ruleId":"882","severity":1,"message":"898","line":2,"column":8,"nodeType":"884","messageId":"885","endLine":2,"endColumn":17},{"ruleId":"933","severity":1,"message":"934","line":19,"column":1,"nodeType":"935","endLine":24,"endColumn":3},{"ruleId":"933","severity":1,"message":"934","line":19,"column":1,"nodeType":"935","endLine":24,"endColumn":3},{"ruleId":"933","severity":1,"message":"934","line":24,"column":1,"nodeType":"935","endLine":31,"endColumn":3},{"ruleId":"933","severity":1,"message":"934","line":82,"column":1,"nodeType":"935","endLine":102,"endColumn":3},{"ruleId":"882","severity":1,"message":"898","line":1,"column":8,"nodeType":"884","messageId":"885","endLine":1,"endColumn":17},{"ruleId":"882","severity":1,"message":"939","line":10,"column":35,"nodeType":"884","messageId":"885","endLine":10,"endColumn":41},{"ruleId":"882","severity":1,"message":"898","line":2,"column":8,"nodeType":"884","messageId":"885","endLine":2,"endColumn":17},{"ruleId":"882","severity":1,"message":"939","line":13,"column":35,"nodeType":"884","messageId":"885","endLine":13,"endColumn":41},{"ruleId":"882","severity":1,"message":"898","line":1,"column":8,"nodeType":"884","messageId":"885","endLine":1,"endColumn":17},{"ruleId":"882","severity":1,"message":"939","line":11,"column":35,"nodeType":"884","messageId":"885","endLine":11,"endColumn":41},{"ruleId":"882","severity":1,"message":"898","line":2,"column":8,"nodeType":"884","messageId":"885","endLine":2,"endColumn":17},{"ruleId":"882","severity":1,"message":"939","line":13,"column":35,"nodeType":"884","messageId":"885","endLine":13,"endColumn":41},{"ruleId":"882","severity":1,"message":"898","line":1,"column":8,"nodeType":"884","messageId":"885","endLine":1,"endColumn":17},{"ruleId":"882","severity":1,"message":"939","line":9,"column":35,"nodeType":"884","messageId":"885","endLine":9,"endColumn":41},{"ruleId":"882","severity":1,"message":"898","line":1,"column":8,"nodeType":"884","messageId":"885","endLine":1,"endColumn":17},{"ruleId":"882","severity":1,"message":"939","line":10,"column":35,"nodeType":"884","messageId":"885","endLine":10,"endColumn":41},{"ruleId":"882","severity":1,"message":"898","line":1,"column":8,"nodeType":"884","messageId":"885","endLine":1,"endColumn":17},{"ruleId":"882","severity":1,"message":"939","line":9,"column":35,"nodeType":"884","messageId":"885","endLine":9,"endColumn":41},{"ruleId":"882","severity":1,"message":"898","line":2,"column":8,"nodeType":"884","messageId":"885","endLine":2,"endColumn":17},{"ruleId":"882","severity":1,"message":"898","line":2,"column":8,"nodeType":"884","messageId":"885","endLine":2,"endColumn":17},{"ruleId":"882","severity":1,"message":"920","line":11,"column":10,"nodeType":"884","messageId":"885","endLine":11,"endColumn":20},{"ruleId":"882","severity":1,"message":"921","line":11,"column":22,"nodeType":"884","messageId":"885","endLine":11,"endColumn":28},{"ruleId":"899","severity":1,"message":"900","line":84,"column":18,"nodeType":"901","messageId":"902","endLine":84,"endColumn":20},{"ruleId":"899","severity":1,"message":"900","line":87,"column":55,"nodeType":"901","messageId":"902","endLine":87,"endColumn":57},{"ruleId":"882","severity":1,"message":"924","line":95,"column":10,"nodeType":"884","messageId":"885","endLine":95,"endColumn":24},{"ruleId":"882","severity":1,"message":"925","line":96,"column":10,"nodeType":"884","messageId":"885","endLine":96,"endColumn":20},{"ruleId":"882","severity":1,"message":"926","line":96,"column":22,"nodeType":"884","messageId":"885","endLine":96,"endColumn":35},{"ruleId":"882","severity":1,"message":"927","line":97,"column":10,"nodeType":"884","messageId":"885","endLine":97,"endColumn":19},{"ruleId":"882","severity":1,"message":"928","line":97,"column":21,"nodeType":"884","messageId":"885","endLine":97,"endColumn":33},{"ruleId":"882","severity":1,"message":"929","line":98,"column":9,"nodeType":"884","messageId":"885","endLine":98,"endColumn":18},{"ruleId":"882","severity":1,"message":"898","line":2,"column":8,"nodeType":"884","messageId":"885","endLine":2,"endColumn":17},{"ruleId":"882","severity":1,"message":"939","line":29,"column":35,"nodeType":"884","messageId":"885","endLine":29,"endColumn":41},{"ruleId":"882","severity":1,"message":"1017","line":31,"column":10,"nodeType":"884","messageId":"885","endLine":31,"endColumn":18},{"ruleId":"882","severity":1,"message":"898","line":2,"column":8,"nodeType":"884","messageId":"885","endLine":2,"endColumn":17},{"ruleId":"882","severity":1,"message":"898","line":2,"column":8,"nodeType":"884","messageId":"885","endLine":2,"endColumn":17},{"ruleId":"882","severity":1,"message":"898","line":2,"column":8,"nodeType":"884","messageId":"885","endLine":2,"endColumn":17},{"ruleId":"882","severity":1,"message":"1018","line":4,"column":28,"nodeType":"884","messageId":"885","endLine":4,"endColumn":37},{"ruleId":"882","severity":1,"message":"1019","line":4,"column":39,"nodeType":"884","messageId":"885","endLine":4,"endColumn":45},{"ruleId":"882","severity":1,"message":"1020","line":4,"column":47,"nodeType":"884","messageId":"885","endLine":4,"endColumn":55},{"ruleId":"882","severity":1,"message":"1021","line":9,"column":10,"nodeType":"884","messageId":"885","endLine":9,"endColumn":17},{"ruleId":"882","severity":1,"message":"991","line":10,"column":8,"nodeType":"884","messageId":"885","endLine":10,"endColumn":26},{"ruleId":"882","severity":1,"message":"1022","line":11,"column":8,"nodeType":"884","messageId":"885","endLine":11,"endColumn":20},{"ruleId":"882","severity":1,"message":"1023","line":21,"column":7,"nodeType":"884","messageId":"885","endLine":21,"endColumn":15},{"ruleId":"899","severity":1,"message":"900","line":67,"column":39,"nodeType":"901","messageId":"902","endLine":67,"endColumn":41},{"ruleId":"899","severity":1,"message":"900","line":75,"column":50,"nodeType":"901","messageId":"902","endLine":75,"endColumn":52},{"ruleId":"899","severity":1,"message":"900","line":101,"column":28,"nodeType":"901","messageId":"902","endLine":101,"endColumn":30},{"ruleId":"899","severity":1,"message":"900","line":104,"column":28,"nodeType":"901","messageId":"902","endLine":104,"endColumn":30},{"ruleId":"899","severity":1,"message":"900","line":107,"column":28,"nodeType":"901","messageId":"902","endLine":107,"endColumn":30},{"ruleId":"899","severity":1,"message":"900","line":111,"column":28,"nodeType":"901","messageId":"902","endLine":111,"endColumn":30},{"ruleId":"893","severity":1,"message":"894","line":186,"column":15,"nodeType":"895","endLine":186,"endColumn":49},{"ruleId":"893","severity":1,"message":"894","line":187,"column":15,"nodeType":"895","endLine":187,"endColumn":49},{"ruleId":"893","severity":1,"message":"894","line":188,"column":15,"nodeType":"895","endLine":188,"endColumn":49},{"ruleId":"882","severity":1,"message":"1019","line":1,"column":28,"nodeType":"884","messageId":"885","endLine":1,"endColumn":34},{"ruleId":"882","severity":1,"message":"1023","line":17,"column":7,"nodeType":"884","messageId":"885","endLine":17,"endColumn":15},{"ruleId":"899","severity":1,"message":"900","line":62,"column":53,"nodeType":"901","messageId":"902","endLine":62,"endColumn":55},{"ruleId":"882","severity":1,"message":"898","line":2,"column":8,"nodeType":"884","messageId":"885","endLine":2,"endColumn":17},{"ruleId":"882","severity":1,"message":"898","line":2,"column":8,"nodeType":"884","messageId":"885","endLine":2,"endColumn":17},{"ruleId":"882","severity":1,"message":"920","line":11,"column":10,"nodeType":"884","messageId":"885","endLine":11,"endColumn":20},{"ruleId":"882","severity":1,"message":"921","line":11,"column":22,"nodeType":"884","messageId":"885","endLine":11,"endColumn":28},{"ruleId":"882","severity":1,"message":"923","line":18,"column":19,"nodeType":"884","messageId":"885","endLine":18,"endColumn":29},{"ruleId":"899","severity":1,"message":"900","line":86,"column":18,"nodeType":"901","messageId":"902","endLine":86,"endColumn":20},{"ruleId":"899","severity":1,"message":"900","line":89,"column":59,"nodeType":"901","messageId":"902","endLine":89,"endColumn":61},{"ruleId":"882","severity":1,"message":"924","line":97,"column":10,"nodeType":"884","messageId":"885","endLine":97,"endColumn":24},{"ruleId":"882","severity":1,"message":"925","line":98,"column":10,"nodeType":"884","messageId":"885","endLine":98,"endColumn":20},{"ruleId":"882","severity":1,"message":"926","line":98,"column":22,"nodeType":"884","messageId":"885","endLine":98,"endColumn":35},{"ruleId":"882","severity":1,"message":"927","line":99,"column":10,"nodeType":"884","messageId":"885","endLine":99,"endColumn":19},{"ruleId":"882","severity":1,"message":"928","line":99,"column":21,"nodeType":"884","messageId":"885","endLine":99,"endColumn":33},{"ruleId":"882","severity":1,"message":"929","line":100,"column":9,"nodeType":"884","messageId":"885","endLine":100,"endColumn":18},{"ruleId":"882","severity":1,"message":"898","line":2,"column":8,"nodeType":"884","messageId":"885","endLine":2,"endColumn":17},{"ruleId":"882","severity":1,"message":"939","line":19,"column":35,"nodeType":"884","messageId":"885","endLine":19,"endColumn":41},{"ruleId":"882","severity":1,"message":"1024","line":2,"column":10,"nodeType":"884","messageId":"885","endLine":2,"endColumn":18},{"ruleId":"882","severity":1,"message":"898","line":2,"column":8,"nodeType":"884","messageId":"885","endLine":2,"endColumn":17},{"ruleId":"882","severity":1,"message":"898","line":2,"column":8,"nodeType":"884","messageId":"885","endLine":2,"endColumn":17},{"ruleId":"882","severity":1,"message":"939","line":11,"column":35,"nodeType":"884","messageId":"885","endLine":11,"endColumn":41},{"ruleId":"882","severity":1,"message":"940","line":13,"column":10,"nodeType":"884","messageId":"885","endLine":13,"endColumn":18},{"ruleId":"882","severity":1,"message":"941","line":13,"column":20,"nodeType":"884","messageId":"885","endLine":13,"endColumn":31},{"ruleId":"882","severity":1,"message":"942","line":14,"column":10,"nodeType":"884","messageId":"885","endLine":14,"endColumn":17},{"ruleId":"882","severity":1,"message":"943","line":14,"column":19,"nodeType":"884","messageId":"885","endLine":14,"endColumn":29},{"ruleId":"882","severity":1,"message":"898","line":2,"column":8,"nodeType":"884","messageId":"885","endLine":2,"endColumn":17},{"ruleId":"882","severity":1,"message":"1025","line":6,"column":8,"nodeType":"884","messageId":"885","endLine":6,"endColumn":19},{"ruleId":"882","severity":1,"message":"939","line":10,"column":35,"nodeType":"884","messageId":"885","endLine":10,"endColumn":41},{"ruleId":"882","severity":1,"message":"940","line":12,"column":10,"nodeType":"884","messageId":"885","endLine":12,"endColumn":18},{"ruleId":"882","severity":1,"message":"941","line":12,"column":20,"nodeType":"884","messageId":"885","endLine":12,"endColumn":31},{"ruleId":"882","severity":1,"message":"942","line":13,"column":10,"nodeType":"884","messageId":"885","endLine":13,"endColumn":17},{"ruleId":"882","severity":1,"message":"943","line":13,"column":19,"nodeType":"884","messageId":"885","endLine":13,"endColumn":29},{"ruleId":"882","severity":1,"message":"898","line":2,"column":8,"nodeType":"884","messageId":"885","endLine":2,"endColumn":17},{"ruleId":"882","severity":1,"message":"1026","line":12,"column":10,"nodeType":"884","messageId":"885","endLine":12,"endColumn":20},{"ruleId":"882","severity":1,"message":"1027","line":12,"column":22,"nodeType":"884","messageId":"885","endLine":12,"endColumn":35},{"ruleId":"882","severity":1,"message":"898","line":2,"column":8,"nodeType":"884","messageId":"885","endLine":2,"endColumn":17},{"ruleId":"882","severity":1,"message":"939","line":14,"column":35,"nodeType":"884","messageId":"885","endLine":14,"endColumn":41},{"ruleId":"882","severity":1,"message":"1028","line":16,"column":10,"nodeType":"884","messageId":"885","endLine":16,"endColumn":21},{"ruleId":"882","severity":1,"message":"898","line":2,"column":8,"nodeType":"884","messageId":"885","endLine":2,"endColumn":17},{"ruleId":"882","severity":1,"message":"1024","line":4,"column":10,"nodeType":"884","messageId":"885","endLine":4,"endColumn":18},{"ruleId":"882","severity":1,"message":"898","line":2,"column":8,"nodeType":"884","messageId":"885","endLine":2,"endColumn":17},{"ruleId":"882","severity":1,"message":"989","line":13,"column":9,"nodeType":"884","messageId":"885","endLine":13,"endColumn":18},{"ruleId":"882","severity":1,"message":"1017","line":14,"column":10,"nodeType":"884","messageId":"885","endLine":14,"endColumn":18},{"ruleId":"882","severity":1,"message":"1029","line":14,"column":20,"nodeType":"884","messageId":"885","endLine":14,"endColumn":31},{"ruleId":"882","severity":1,"message":"898","line":2,"column":8,"nodeType":"884","messageId":"885","endLine":2,"endColumn":17},{"ruleId":"882","severity":1,"message":"1030","line":3,"column":8,"nodeType":"884","messageId":"885","endLine":3,"endColumn":14},{"ruleId":"907","severity":1,"message":"1031","line":17,"column":6,"nodeType":"909","endLine":17,"endColumn":8,"suggestions":"1032"},{"ruleId":"882","severity":1,"message":"898","line":2,"column":8,"nodeType":"884","messageId":"885","endLine":2,"endColumn":17},{"ruleId":"893","severity":1,"message":"894","line":15,"column":13,"nodeType":"895","endLine":15,"endColumn":25},{"ruleId":"882","severity":1,"message":"979","line":6,"column":8,"nodeType":"884","messageId":"885","endLine":6,"endColumn":23},{"ruleId":"882","severity":1,"message":"1033","line":7,"column":8,"nodeType":"884","messageId":"885","endLine":7,"endColumn":19},{"ruleId":"882","severity":1,"message":"891","line":8,"column":8,"nodeType":"884","messageId":"885","endLine":8,"endColumn":12},{"ruleId":"882","severity":1,"message":"906","line":12,"column":9,"nodeType":"884","messageId":"885","endLine":12,"endColumn":16},{"ruleId":"882","severity":1,"message":"939","line":14,"column":37,"nodeType":"884","messageId":"885","endLine":14,"endColumn":43},"no-unused-vars","'logo' is defined but never used.","Identifier","unusedVar","no-native-reassign",["1034"],"no-negated-in-lhs",["1035"],"'Header' is defined but never used.","'User' is defined but never used.","'CurrentUser' is defined but never used.","jsx-a11y/anchor-is-valid","The href attribute requires a valid value to be accessible. Provide a valid, navigable address as the href value. If you cannot provide a valid href, but still need the element to resemble a link, use a button and change it with appropriate styles. Learn more: https://github.com/evcohen/eslint-plugin-jsx-a11y/blob/master/docs/rules/anchor-is-valid.md","JSXOpeningElement","jsx-a11y/role-supports-aria-props","The attribute aria-haspopup is not supported by the role link. This role is implicit on the element a.","'PropTypes' is defined but never used.","eqeqeq","Expected '===' and instead saw '=='.","BinaryExpression","unexpected","'data' is defined but never used.","'emailTemplateSettings' is assigned a value but never used.","'setemailTemplateSettings' is assigned a value but never used.","'history' is assigned a value but never used.","react-hooks/exhaustive-deps","React Hook useEffect has missing dependencies: 'getDashboardSettings', 'getEmailSettings', 'getEmailTemplateSettings', 'getFooterSettings', 'getHeaderSettings', 'getLocalisationSettings', 'getNotificationSettings', and 'getSystemSettings'. Either include them or remove the dependency array.","ArrayExpression",["1036"],"'updatedItem' is assigned a value but never used.","React Hook useEffect has a missing dependency: 'retrieveMessages'. Either include it or remove the dependency array.",["1037"],"'getAll' is assigned a value but never used.","'removeOne' is assigned a value but never used.",["1034"],["1035"],"'ViewTask' is defined but never used.","'TaskTestService' is defined but never used.","'Typography' is defined but never used.","'Button' is defined but never used.","'deleteTasks' is assigned a value but never used.","'setLoading' is assigned a value but never used.","'updatedItemIds' is assigned a value but never used.","'showFilter' is assigned a value but never used.","'setShowFilter' is assigned a value but never used.","'showChart' is assigned a value but never used.","'setShowChart' is assigned a value but never used.","'removeAll' is assigned a value but never used.","'saveMessage' is assigned a value but never used.",["1034"],["1035"],"import/no-anonymous-default-export","Assign object to a variable before exporting as module default","ExportDefaultDeclaration","'ProjectTestService' is defined but never used.","'HTTPService' is defined but never used.","'loading' is assigned a value but never used.","'errors' is assigned a value but never used.","'typeSubs' is assigned a value but never used.","'setTypeSubs' is assigned a value but never used.","'members' is assigned a value but never used.","'setMembers' is assigned a value but never used.","'ClientTestService' is defined but never used.","'saveClient' is assigned a value but never used.",["1034"],["1035"],"'UserTestService' is defined but never used.","'closeModalAdd' is assigned a value but never used.","'saveUser' is assigned a value but never used.","'deleteUser' is assigned a value but never used.","'update' is assigned a value but never used.",["1034"],["1035"],"'CSSProperties' is defined but never used.","'EditMyTask' is defined but never used.","'ViewProject' is defined but never used.","'Path' is defined but never used.","'ClipLoader' is defined but never used.","'deleteProject' is assigned a value but never used.","'color' is assigned a value but never used.","'setColor' is assigned a value but never used.",["1034"],["1035"],"'ViewClient' is defined but never used.","'Pie' is defined but never used.",["1034"],["1035"],["1034"],["1035"],"The href attribute is required for an anchor to be keyboard accessible. Provide a valid, navigable address as the href value. If you cannot provide an href, but still need the element to resemble a link, use a button and change it with appropriate styles. Learn more: https://github.com/evcohen/eslint-plugin-jsx-a11y/blob/master/docs/rules/anchor-is-valid.md","'saveTask' is assigned a value but never used.","'Router' is defined but never used.","'Route' is defined but never used.","'LoadJS' is defined but never used.","'Line' is defined but never used.","'mytaskHTTPService' is defined but never used.","'clientHTTPService' is defined but never used.","'userHTTPService' is defined but never used.","'project' is assigned a value but never used.","'todotask' is assigned a value but never used.","'setTodotask' is assigned a value but never used.","'inprogresstask' is assigned a value but never used.","'setInprogresstask' is assigned a value but never used.","React Hook useEffect has missing dependencies: 'getDashboardSettings' and 'history'. Either include them or remove the dependency array.",["1038"],"'moment' is defined but never used.","'Task' is defined but never used.","'buttonAdd' is assigned a value but never used.","'data' is assigned a value but never used.","'projectHTTPService' is defined but never used.","'deleteTask' is assigned a value but never used.","'show' is assigned a value but never used.","'register' is assigned a value but never used.","'handleSubmit' is assigned a value but never used.","'handleChange' is assigned a value but never used.","'tasks' is assigned a value but never used.","'remove' is assigned a value but never used.","'handleInputChange' is assigned a value but never used.","'onSubmit' is assigned a value but never used.","'updatedItemId' is assigned a value but never used.",["1034"],["1035"],"'NoteTestService' is defined but never used.","'saveMyTask' is assigned a value but never used.","'deleteNote' is assigned a value but never used.",["1034"],["1035"],["1034"],["1035"],"no-script-url","Script URL is a form of eval.","Literal","unexpectedScriptURL",["1034"],["1035"],"'projects' is assigned a value but never used.","'useEffect' is defined but never used.","'useRef' is defined but never used.","'useState' is defined but never used.","'NavLink' is defined but never used.","'FullCalendar' is defined but never used.","'initcard' is assigned a value but never used.","'TextForm' is defined but never used.","'noteMessage' is defined but never used.","'categories' is assigned a value but never used.","'setCategories' is assigned a value but never used.","'projectList' is assigned a value but never used.","'setProjects' is assigned a value but never used.","'styles' is defined but never used.","React Hook useEffect has a missing dependency: 'props.match.params.input'. Either include it or remove the dependency array.",["1039"],"'showMessage' is defined but never used.","no-global-assign","no-unsafe-negation",{"desc":"1040","fix":"1041"},{"desc":"1042","fix":"1043"},{"desc":"1044","fix":"1045"},{"desc":"1046","fix":"1047"},"Update the dependencies array to be: [getDashboardSettings, getEmailSettings, getEmailTemplateSettings, getFooterSettings, getHeaderSettings, getLocalisationSettings, getNotificationSettings, getSystemSettings]",{"range":"1048","text":"1049"},"Update the dependencies array to be: [retrieveMessages]",{"range":"1050","text":"1051"},"Update the dependencies array to be: [getDashboardSettings, history]",{"range":"1052","text":"1053"},"Update the dependencies array to be: [props.match.params.input]",{"range":"1054","text":"1055"},[1797,1799],"[getDashboardSettings, getEmailSettings, getEmailTemplateSettings, getFooterSettings, getHeaderSettings, getLocalisationSettings, getNotificationSettings, getSystemSettings]",[938,940],"[retrieveMessages]",[3552,3554],"[getDashboardSettings, history]",[567,569],"[props.match.params.input]"]