diff --git a/.eslintcache b/.eslintcache index 63da021..dc461f1 100644 --- a/.eslintcache +++ b/.eslintcache @@ -1 +1 @@ -[{"C:\\projects\\GYM-FRONTEND-ADMIN\\src\\index.js":"1","C:\\projects\\GYM-FRONTEND-ADMIN\\src\\main\\shared\\Root\\Root.js":"2","C:\\projects\\GYM-FRONTEND-ADMIN\\src\\main\\shared\\Header\\Header.js":"3","C:\\projects\\GYM-FRONTEND-ADMIN\\src\\modules\\groupeModule\\Groupe\\Groupe.js":"4","C:\\projects\\GYM-FRONTEND-ADMIN\\src\\modules\\memberModule\\Member\\Member.js":"5","C:\\projects\\GYM-FRONTEND-ADMIN\\src\\modules\\productModule\\Product\\Product.js":"6","C:\\projects\\GYM-FRONTEND-ADMIN\\src\\modules\\ActivityModule\\Activity\\Activity.js":"7","C:\\projects\\GYM-FRONTEND-ADMIN\\src\\modules\\expenseModule\\Expense\\Expense.js":"8","C:\\projects\\GYM-FRONTEND-ADMIN\\src\\modules\\groupeModule\\AddGroupe\\AddGroupe.js":"9","C:\\projects\\GYM-FRONTEND-ADMIN\\src\\main\\messages\\presenceMessage.js":"10","C:\\projects\\GYM-FRONTEND-ADMIN\\src\\modules\\paymentModule\\AddPayment\\AddPayment.js":"11","C:\\projects\\GYM-FRONTEND-ADMIN\\src\\main\\messages\\eventMessage.js":"12","C:\\projects\\GYM-FRONTEND-ADMIN\\src\\main\\mocks\\PaymentTestService.js":"13","C:\\projects\\GYM-FRONTEND-ADMIN\\src\\main\\mocks\\BookingTestService.js":"14","C:\\projects\\GYM-FRONTEND-ADMIN\\src\\modules\\memberModule\\AddMember\\AddMember.js":"15","C:\\projects\\GYM-FRONTEND-ADMIN\\src\\modules\\productModule\\EditProduct\\EditProduct.js":"16","C:\\projects\\GYM-FRONTEND-ADMIN\\src\\modules\\staffModule\\AddStaff\\AddStaff.js":"17","C:\\projects\\GYM-FRONTEND-ADMIN\\src\\modules\\expenseModule\\EditExpense\\EditExpense.js":"18","C:\\projects\\GYM-FRONTEND-ADMIN\\src\\modules\\eventModule\\EditEvent\\EditEvent.js":"19","C:\\projects\\GYM-FRONTEND-ADMIN\\src\\libraries\\datatables\\datatables.js":"20","C:\\projects\\GYM-FRONTEND-ADMIN\\src\\modules\\ActivityModule\\EditActivity\\EditActivity.js":"21","C:\\projects\\GYM-FRONTEND-ADMIN\\src\\main\\messages\\courseMessage.js":"22","C:\\projects\\GYM-FRONTEND-ADMIN\\src\\modules\\exerciceModule\\EditExercice\\EditExercice.js":"23","C:\\projects\\GYM-FRONTEND-ADMIN\\src\\main\\messages\\revenueMessage.js":"24","C:\\projects\\GYM-FRONTEND-ADMIN\\src\\main\\mocks\\MemberTestService.js":"25","C:\\projects\\GYM-FRONTEND-ADMIN\\src\\main\\validations\\expenseValidations.js":"26","C:\\projects\\GYM-FRONTEND-ADMIN\\src\\modules\\presenceModule\\Presence\\Presence.js":"27","C:\\projects\\GYM-FRONTEND-ADMIN\\src\\modules\\staffModule\\Staff\\Staff.js":"28","C:\\projects\\GYM-FRONTEND-ADMIN\\src\\main\\shared\\Content\\Content.js":"29","C:\\projects\\GYM-FRONTEND-ADMIN\\src\\main\\shared\\Navigation\\Navigation.js":"30","C:\\projects\\GYM-FRONTEND-ADMIN\\src\\main\\shared\\Footer\\Footer.js":"31","C:\\projects\\GYM-FRONTEND-ADMIN\\src\\modules\\shared\\Configuration\\Configuration.js":"32","C:\\projects\\GYM-FRONTEND-ADMIN\\src\\modules\\shared\\DashBoard\\DashBoard.js":"33","C:\\projects\\GYM-FRONTEND-ADMIN\\src\\modules\\paymentModule\\Payment\\Payment.js":"34","C:\\projects\\GYM-FRONTEND-ADMIN\\src\\modules\\exerciceModule\\Exercice\\Exercice.js":"35","C:\\projects\\GYM-FRONTEND-ADMIN\\src\\modules\\BookingModule\\Booking\\Booking.js":"36","C:\\projects\\GYM-FRONTEND-ADMIN\\src\\modules\\paymentModule\\EditPayment\\EditPayment.js":"37","C:\\projects\\GYM-FRONTEND-ADMIN\\src\\main\\messages\\productMessage.js":"38","C:\\projects\\GYM-FRONTEND-ADMIN\\src\\main\\mocks\\PresenceTestService.js":"39","C:\\projects\\GYM-FRONTEND-ADMIN\\src\\main\\mocks\\EventTestService.js":"40","C:\\projects\\GYM-FRONTEND-ADMIN\\src\\main\\services\\HTTPService.js":"41","C:\\projects\\GYM-FRONTEND-ADMIN\\src\\modules\\presenceModule\\EditPresence\\EditPresence.js":"42","C:\\projects\\GYM-FRONTEND-ADMIN\\src\\modules\\presenceModule\\AddPresence\\AddPresence.js":"43","C:\\projects\\GYM-FRONTEND-ADMIN\\src\\modules\\productModule\\AddProduct\\AddProduct.js":"44","C:\\projects\\GYM-FRONTEND-ADMIN\\src\\modules\\courseModule\\AddCourse\\AddCourse.js":"45","C:\\projects\\GYM-FRONTEND-ADMIN\\src\\libraries\\messages\\messages.js":"46","C:\\projects\\GYM-FRONTEND-ADMIN\\src\\main\\messages\\activityMessage.js":"47","C:\\projects\\GYM-FRONTEND-ADMIN\\src\\modules\\expenseModule\\AddExpense\\AddExpense.js":"48","C:\\projects\\GYM-FRONTEND-ADMIN\\src\\libraries\\axios\\axios.js":"49","C:\\projects\\GYM-FRONTEND-ADMIN\\src\\main\\mocks\\ExpenseTestService.js":"50","C:\\projects\\GYM-FRONTEND-ADMIN\\src\\modules\\typesubsModule\\ViewTypeSubs\\TypeSubs\\TypeSubs.js":"51","C:\\projects\\GYM-FRONTEND-ADMIN\\src\\modules\\exerciceModule\\AddExercice\\AddExercice.js":"52","C:\\projects\\GYM-FRONTEND-ADMIN\\src\\main\\mocks\\ActivityTestService.js":"53","C:\\projects\\GYM-FRONTEND-ADMIN\\src\\main\\validations\\activityValidation.js":"54","C:\\projects\\GYM-FRONTEND-ADMIN\\src\\modules\\eventModule\\AddEvent\\AddEvent.js":"55","C:\\projects\\GYM-FRONTEND-ADMIN\\src\\main\\validations\\groupeValidation.js":"56","C:\\projects\\GYM-FRONTEND-ADMIN\\src\\modules\\typesubsModule\\ViewTypeSubs\\EditTypeSubs\\EditTypeSubs.js":"57","C:\\projects\\GYM-FRONTEND-ADMIN\\src\\modules\\typesubsModule\\ViewTypeSubs\\AddTypeSubs\\AddTypeSubs.js":"58","C:\\projects\\GYM-FRONTEND-ADMIN\\src\\reportWebVitals.js":"59","C:\\projects\\GYM-FRONTEND-ADMIN\\src\\modules\\revenueModule\\Revenue\\Revenue.js":"60","C:\\projects\\GYM-FRONTEND-ADMIN\\src\\modules\\courseModule\\Course\\Course.js":"61","C:\\projects\\GYM-FRONTEND-ADMIN\\src\\main\\messages\\typeSubMessage .js":"62","C:\\projects\\GYM-FRONTEND-ADMIN\\src\\main\\mocks\\StaffTestService.js":"63","C:\\projects\\GYM-FRONTEND-ADMIN\\src\\modules\\revenueModule\\AddRevenue\\AddRevenue.js":"64","C:\\projects\\GYM-FRONTEND-ADMIN\\src\\modules\\BookingModule\\EditBooking\\EditBooking.js":"65","C:\\projects\\GYM-FRONTEND-ADMIN\\src\\libraries\\chart\\chart.js":"66","C:\\projects\\GYM-FRONTEND-ADMIN\\src\\main\\messages\\exerciceMessage.js":"67","C:\\projects\\GYM-FRONTEND-ADMIN\\src\\main\\messages\\memberMessage.js":"68","C:\\projects\\GYM-FRONTEND-ADMIN\\src\\main\\validations\\typeSubValidation.js":"69","C:\\projects\\GYM-FRONTEND-ADMIN\\src\\main\\validations\\productValidation.js":"70","C:\\projects\\GYM-FRONTEND-ADMIN\\src\\main\\validations\\eventValidation.js":"71","C:\\projects\\GYM-FRONTEND-ADMIN\\src\\main\\validations\\exerciceValidation.js":"72","C:\\projects\\GYM-FRONTEND-ADMIN\\src\\main\\messages\\expenseMessage.js":"73","C:\\projects\\GYM-FRONTEND-ADMIN\\src\\App.js":"74","C:\\projects\\GYM-FRONTEND-ADMIN\\src\\modules\\groupeModule\\EditGroupe\\EditGroupe.js":"75","C:\\projects\\GYM-FRONTEND-ADMIN\\src\\main\\messages\\bookingMessage.js":"76","C:\\projects\\GYM-FRONTEND-ADMIN\\src\\modules\\BookingModule\\AddBooking\\AddBooking.js":"77","C:\\projects\\GYM-FRONTEND-ADMIN\\src\\modules\\courseModule\\EditCourse\\EditCourse.js":"78","C:\\projects\\GYM-FRONTEND-ADMIN\\src\\main\\messages\\staffMessage.js":"79","C:\\projects\\GYM-FRONTEND-ADMIN\\src\\main\\mocks\\RevenueTestService.js":"80","C:\\projects\\GYM-FRONTEND-ADMIN\\src\\main\\validations\\revenueValidation.js":"81","C:\\projects\\GYM-FRONTEND-ADMIN\\src\\main\\mocks\\TypeSubTestService.js":"82","C:\\projects\\GYM-FRONTEND-ADMIN\\src\\modules\\ActivityModule\\AddActivity\\AddActivity.js":"83","C:\\projects\\GYM-FRONTEND-ADMIN\\src\\main\\validations\\memberValidation.js":"84","C:\\projects\\GYM-FRONTEND-ADMIN\\src\\main\\urls\\urls.js":"85","C:\\projects\\GYM-FRONTEND-ADMIN\\src\\modules\\eventModule\\Event\\Event.js":"86","C:\\projects\\GYM-FRONTEND-ADMIN\\src\\modules\\memberModule\\EditMember\\EditMember.js":"87","C:\\projects\\GYM-FRONTEND-ADMIN\\src\\main\\mocks\\CourseTestService.js":"88","C:\\projects\\GYM-FRONTEND-ADMIN\\src\\modules\\staffModule\\EditStaff\\EditStaff.js":"89","C:\\projects\\GYM-FRONTEND-ADMIN\\src\\main\\mocks\\ExerciceTestService.js":"90","C:\\projects\\GYM-FRONTEND-ADMIN\\src\\main\\messages\\groupeMessage.js":"91","C:\\projects\\GYM-FRONTEND-ADMIN\\src\\main\\validations\\staffValidation.js":"92","C:\\projects\\GYM-FRONTEND-ADMIN\\src\\main\\messages\\paymentMessage.js":"93","C:\\projects\\GYM-FRONTEND-ADMIN\\src\\main\\validations\\paymentValidation.js":"94","C:\\projects\\GYM-FRONTEND-ADMIN\\src\\modules\\revenueModule\\EditRevenue\\EditRevenue.js":"95","C:\\projects\\GYM-FRONTEND-ADMIN\\src\\main\\mocks\\GroupeTestService.js":"96","C:\\projects\\GYM-FRONTEND-ADMIN\\src\\main\\mocks\\ProductTestService.js":"97","C:\\projects\\GYM-FRONTEND-ADMIN\\src\\main\\shared\\Login\\Login.js":"98","C:\\projects\\GYM-FRONTEND-ADMIN\\src\\main\\config\\user.js":"99","C:\\projects\\GYM-FRONTEND-ADMIN\\src\\main\\shared\\Routes\\Routes.js":"100","C:\\projects\\GYM-FRONTEND-ADMIN\\src\\modules\\shared\\Profile\\Profile.js":"101"},{"size":517,"mtime":1613156226837,"results":"102","hashOfConfig":"103"},{"size":393,"mtime":1617692000689,"results":"104","hashOfConfig":"103"},{"size":4067,"mtime":1617815900293,"results":"105","hashOfConfig":"103"},{"size":5934,"mtime":1617694919492,"results":"106","hashOfConfig":"103"},{"size":6329,"mtime":1617696426160,"results":"107","hashOfConfig":"103"},{"size":6026,"mtime":1617716517508,"results":"108","hashOfConfig":"103"},{"size":7318,"mtime":1613754059465,"results":"109","hashOfConfig":"103"},{"size":5921,"mtime":1617689956425,"results":"110","hashOfConfig":"103"},{"size":2157,"mtime":1613720887677,"results":"111","hashOfConfig":"103"},{"size":249,"mtime":1613228625853,"results":"112","hashOfConfig":"103"},{"size":4109,"mtime":1613722587155,"results":"113","hashOfConfig":"103"},{"size":222,"mtime":1613752701257,"results":"114","hashOfConfig":"103"},{"size":601,"mtime":1613230010688,"results":"115","hashOfConfig":"103"},{"size":601,"mtime":1613230010763,"results":"116","hashOfConfig":"103"},{"size":11217,"mtime":1613634102236,"results":"117","hashOfConfig":"103"},{"size":3459,"mtime":1613752881315,"results":"118","hashOfConfig":"103"},{"size":5321,"mtime":1617694259638,"results":"119","hashOfConfig":"103"},{"size":2958,"mtime":1613722967695,"results":"120","hashOfConfig":"103"},{"size":4765,"mtime":1613722967771,"results":"121","hashOfConfig":"103"},{"size":1312,"mtime":1613147732470,"results":"122","hashOfConfig":"103"},{"size":3921,"mtime":1613752840136,"results":"123","hashOfConfig":"103"},{"size":215,"mtime":1613752701257,"results":"124","hashOfConfig":"103"},{"size":4838,"mtime":1613722879756,"results":"125","hashOfConfig":"103"},{"size":223,"mtime":1613752701262,"results":"126","hashOfConfig":"103"},{"size":736,"mtime":1617696390739,"results":"127","hashOfConfig":"103"},{"size":196,"mtime":1613752701262,"results":"128","hashOfConfig":"103"},{"size":3130,"mtime":1617693507217,"results":"129","hashOfConfig":"103"},{"size":6236,"mtime":1617694168570,"results":"130","hashOfConfig":"103"},{"size":2297,"mtime":1617815912464,"results":"131","hashOfConfig":"103"},{"size":3374,"mtime":1617814649730,"results":"132","hashOfConfig":"103"},{"size":732,"mtime":1617788478658,"results":"133","hashOfConfig":"103"},{"size":2723,"mtime":1613156226886,"results":"134","hashOfConfig":"103"},{"size":5562,"mtime":1613156226886,"results":"135","hashOfConfig":"103"},{"size":7251,"mtime":1613754059964,"results":"136","hashOfConfig":"103"},{"size":5556,"mtime":1613754059599,"results":"137","hashOfConfig":"103"},{"size":3681,"mtime":1613754060365,"results":"138","hashOfConfig":"103"},{"size":3821,"mtime":1613722594923,"results":"139","hashOfConfig":"103"},{"size":223,"mtime":1613752701262,"results":"140","hashOfConfig":"103"},{"size":608,"mtime":1613230010688,"results":"141","hashOfConfig":"103"},{"size":763,"mtime":1617692670668,"results":"142","hashOfConfig":"103"},{"size":798,"mtime":1613147732478,"results":"143","hashOfConfig":"103"},{"size":302,"mtime":1613156226877,"results":"144","hashOfConfig":"103"},{"size":295,"mtime":1613156226876,"results":"145","hashOfConfig":"103"},{"size":3560,"mtime":1613753165553,"results":"146","hashOfConfig":"103"},{"size":281,"mtime":1613156226852,"results":"147","hashOfConfig":"103"},{"size":360,"mtime":1613147732471,"results":"148","hashOfConfig":"103"},{"size":228,"mtime":1613752506217,"results":"149","hashOfConfig":"103"},{"size":3189,"mtime":1617690419991,"results":"150","hashOfConfig":"103"},{"size":198,"mtime":1613147732470,"results":"151","hashOfConfig":"103"},{"size":658,"mtime":1617689937645,"results":"152","hashOfConfig":"103"},{"size":6352,"mtime":1617695492461,"results":"153","hashOfConfig":"103"},{"size":5122,"mtime":1613634156410,"results":"154","hashOfConfig":"103"},{"size":608,"mtime":1613625358097,"results":"155","hashOfConfig":"103"},{"size":230,"mtime":1613751708285,"results":"156","hashOfConfig":"103"},{"size":5043,"mtime":1617692893968,"results":"157","hashOfConfig":"103"},{"size":113,"mtime":1613751852896,"results":"158","hashOfConfig":"103"},{"size":5842,"mtime":1613721895467,"results":"159","hashOfConfig":"103"},{"size":6057,"mtime":1617695381558,"results":"160","hashOfConfig":"103"},{"size":375,"mtime":1613156226896,"results":"161","hashOfConfig":"103"},{"size":5791,"mtime":1617689588937,"results":"162","hashOfConfig":"103"},{"size":4104,"mtime":1613719600640,"results":"163","hashOfConfig":"103"},{"size":253,"mtime":1613752701262,"results":"164","hashOfConfig":"103"},{"size":714,"mtime":1617694142129,"results":"165","hashOfConfig":"103"},{"size":3886,"mtime":1617689703227,"results":"166","hashOfConfig":"103"},{"size":295,"mtime":1613156226849,"results":"167","hashOfConfig":"103"},{"size":937,"mtime":1613634512778,"results":"168","hashOfConfig":"103"},{"size":228,"mtime":1613752701257,"results":"169","hashOfConfig":"103"},{"size":215,"mtime":1613752701184,"results":"170","hashOfConfig":"103"},{"size":425,"mtime":1613752424255,"results":"171","hashOfConfig":"103"},{"size":208,"mtime":1613752169388,"results":"172","hashOfConfig":"103"},{"size":304,"mtime":1613751776125,"results":"173","hashOfConfig":"103"},{"size":163,"mtime":1613244854422,"results":"174","hashOfConfig":"103"},{"size":223,"mtime":1613752701253,"results":"175","hashOfConfig":"103"},{"size":178,"mtime":1617691985104,"results":"176","hashOfConfig":"103"},{"size":1958,"mtime":1613722967692,"results":"177","hashOfConfig":"103"},{"size":235,"mtime":1613752701257,"results":"178","hashOfConfig":"103"},{"size":288,"mtime":1613156226847,"results":"179","hashOfConfig":"103"},{"size":288,"mtime":1613156226854,"results":"180","hashOfConfig":"103"},{"size":237,"mtime":1613752701262,"results":"181","hashOfConfig":"103"},{"size":650,"mtime":1617689099437,"results":"182","hashOfConfig":"103"},{"size":267,"mtime":1613752701261,"results":"183","hashOfConfig":"103"},{"size":601,"mtime":1613230010573,"results":"184","hashOfConfig":"103"},{"size":4155,"mtime":1613753062007,"results":"185","hashOfConfig":"103"},{"size":828,"mtime":1613752112063,"results":"186","hashOfConfig":"103"},{"size":83,"mtime":1613147732484,"results":"187","hashOfConfig":"103"},{"size":6032,"mtime":1617692920221,"results":"188","hashOfConfig":"103"},{"size":10927,"mtime":1613723000640,"results":"189","hashOfConfig":"103"},{"size":594,"mtime":1613230010762,"results":"190","hashOfConfig":"103"},{"size":5019,"mtime":1613722251791,"results":"191","hashOfConfig":"103"},{"size":608,"mtime":1613230010743,"results":"192","hashOfConfig":"103"},{"size":217,"mtime":1613752701185,"results":"193","hashOfConfig":"103"},{"size":355,"mtime":1613752469835,"results":"194","hashOfConfig":"103"},{"size":226,"mtime":1613752701184,"results":"195","hashOfConfig":"103"},{"size":234,"mtime":1613752145288,"results":"196","hashOfConfig":"103"},{"size":3631,"mtime":1613722360933,"results":"197","hashOfConfig":"103"},{"size":627,"mtime":1617694786708,"results":"198","hashOfConfig":"103"},{"size":675,"mtime":1617697094861,"results":"199","hashOfConfig":"103"},{"size":1511,"mtime":1617814365887,"results":"200","hashOfConfig":"103"},{"size":97,"mtime":1617788246476,"results":"201","hashOfConfig":"103"},{"size":3369,"mtime":1617813767370,"results":"202","hashOfConfig":"103"},{"size":1278,"mtime":1617816665808,"results":"203","hashOfConfig":"103"},{"filePath":"204","messages":"205","errorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0,"usedDeprecatedRules":"206"},"ywa3wd",{"filePath":"207","messages":"208","errorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0,"usedDeprecatedRules":"206"},{"filePath":"209","messages":"210","errorCount":0,"warningCount":7,"fixableErrorCount":0,"fixableWarningCount":0,"source":null},{"filePath":"211","messages":"212","errorCount":0,"warningCount":3,"fixableErrorCount":0,"fixableWarningCount":0,"source":"213","usedDeprecatedRules":"214"},{"filePath":"215","messages":"216","errorCount":0,"warningCount":2,"fixableErrorCount":0,"fixableWarningCount":0,"source":"217","usedDeprecatedRules":"218"},{"filePath":"219","messages":"220","errorCount":0,"warningCount":2,"fixableErrorCount":0,"fixableWarningCount":0,"source":"221","usedDeprecatedRules":"218"},{"filePath":"222","messages":"223","errorCount":0,"warningCount":2,"fixableErrorCount":0,"fixableWarningCount":0,"source":"224","usedDeprecatedRules":"206"},{"filePath":"225","messages":"226","errorCount":0,"warningCount":3,"fixableErrorCount":0,"fixableWarningCount":0,"source":"227","usedDeprecatedRules":"218"},{"filePath":"228","messages":"229","errorCount":0,"warningCount":1,"fixableErrorCount":0,"fixableWarningCount":0,"source":"230","usedDeprecatedRules":"231"},{"filePath":"232","messages":"233","errorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0,"usedDeprecatedRules":"218"},{"filePath":"234","messages":"235","errorCount":0,"warningCount":1,"fixableErrorCount":0,"fixableWarningCount":0,"source":"236","usedDeprecatedRules":"237"},{"filePath":"238","messages":"239","errorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0,"usedDeprecatedRules":"231"},{"filePath":"240","messages":"241","errorCount":0,"warningCount":1,"fixableErrorCount":0,"fixableWarningCount":0,"source":"242","usedDeprecatedRules":"218"},{"filePath":"243","messages":"244","errorCount":0,"warningCount":1,"fixableErrorCount":0,"fixableWarningCount":0,"source":"245","usedDeprecatedRules":"246"},{"filePath":"247","messages":"248","errorCount":0,"warningCount":1,"fixableErrorCount":0,"fixableWarningCount":0,"source":"249","usedDeprecatedRules":"231"},{"filePath":"250","messages":"251","errorCount":0,"warningCount":3,"fixableErrorCount":0,"fixableWarningCount":0,"source":"252","usedDeprecatedRules":"206"},{"filePath":"253","messages":"254","errorCount":0,"warningCount":2,"fixableErrorCount":0,"fixableWarningCount":0,"source":"255","usedDeprecatedRules":"246"},{"filePath":"256","messages":"257","errorCount":0,"warningCount":1,"fixableErrorCount":0,"fixableWarningCount":0,"source":"258","usedDeprecatedRules":"218"},{"filePath":"259","messages":"260","errorCount":0,"warningCount":2,"fixableErrorCount":0,"fixableWarningCount":0,"source":"261","usedDeprecatedRules":"262"},{"filePath":"263","messages":"264","errorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0,"usedDeprecatedRules":"246"},{"filePath":"265","messages":"266","errorCount":0,"warningCount":1,"fixableErrorCount":0,"fixableWarningCount":0,"source":"267","usedDeprecatedRules":"246"},{"filePath":"268","messages":"269","errorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0,"usedDeprecatedRules":"246"},{"filePath":"270","messages":"271","errorCount":0,"warningCount":10,"fixableErrorCount":0,"fixableWarningCount":0,"source":"272","usedDeprecatedRules":"218"},{"filePath":"273","messages":"274","errorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0,"usedDeprecatedRules":"231"},{"filePath":"275","messages":"276","errorCount":0,"warningCount":1,"fixableErrorCount":0,"fixableWarningCount":0,"source":"277","usedDeprecatedRules":"246"},{"filePath":"278","messages":"279","errorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"280","messages":"281","errorCount":0,"warningCount":8,"fixableErrorCount":0,"fixableWarningCount":0,"source":"282","usedDeprecatedRules":"206"},{"filePath":"283","messages":"284","errorCount":0,"warningCount":2,"fixableErrorCount":0,"fixableWarningCount":0,"source":"285","usedDeprecatedRules":"246"},{"filePath":"286","messages":"287","errorCount":0,"warningCount":18,"fixableErrorCount":0,"fixableWarningCount":0,"source":null},{"filePath":"288","messages":"289","errorCount":0,"warningCount":2,"fixableErrorCount":0,"fixableWarningCount":0,"source":null},{"filePath":"290","messages":"291","errorCount":0,"warningCount":1,"fixableErrorCount":0,"fixableWarningCount":0,"source":"292","usedDeprecatedRules":"206"},{"filePath":"293","messages":"294","errorCount":0,"warningCount":1,"fixableErrorCount":0,"fixableWarningCount":0,"source":"295","usedDeprecatedRules":"231"},{"filePath":"296","messages":"297","errorCount":0,"warningCount":1,"fixableErrorCount":0,"fixableWarningCount":0,"source":"298","usedDeprecatedRules":"218"},{"filePath":"299","messages":"300","errorCount":0,"warningCount":2,"fixableErrorCount":0,"fixableWarningCount":0,"source":"301","usedDeprecatedRules":"246"},{"filePath":"302","messages":"303","errorCount":0,"warningCount":5,"fixableErrorCount":0,"fixableWarningCount":0,"source":"304","usedDeprecatedRules":"246"},{"filePath":"305","messages":"306","errorCount":0,"warningCount":7,"fixableErrorCount":0,"fixableWarningCount":0,"source":"307","usedDeprecatedRules":"246"},{"filePath":"308","messages":"309","errorCount":0,"warningCount":1,"fixableErrorCount":0,"fixableWarningCount":0,"source":"310","usedDeprecatedRules":"246"},{"filePath":"311","messages":"312","errorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0,"usedDeprecatedRules":"313"},{"filePath":"314","messages":"315","errorCount":0,"warningCount":1,"fixableErrorCount":0,"fixableWarningCount":0,"source":"316","usedDeprecatedRules":"218"},{"filePath":"317","messages":"318","errorCount":0,"warningCount":1,"fixableErrorCount":0,"fixableWarningCount":0,"source":"319","usedDeprecatedRules":"218"},{"filePath":"320","messages":"321","errorCount":0,"warningCount":1,"fixableErrorCount":0,"fixableWarningCount":0,"source":"322","usedDeprecatedRules":"246"},{"filePath":"323","messages":"324","errorCount":0,"warningCount":1,"fixableErrorCount":0,"fixableWarningCount":0,"source":"325","usedDeprecatedRules":"218"},{"filePath":"326","messages":"327","errorCount":0,"warningCount":1,"fixableErrorCount":0,"fixableWarningCount":0,"source":"328","usedDeprecatedRules":"218"},{"filePath":"329","messages":"330","errorCount":0,"warningCount":2,"fixableErrorCount":0,"fixableWarningCount":0,"source":"331","usedDeprecatedRules":"218"},{"filePath":"332","messages":"333","errorCount":0,"warningCount":1,"fixableErrorCount":0,"fixableWarningCount":0,"source":"334","usedDeprecatedRules":"313"},{"filePath":"335","messages":"336","errorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0,"usedDeprecatedRules":"218"},{"filePath":"337","messages":"338","errorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0,"usedDeprecatedRules":"218"},{"filePath":"339","messages":"340","errorCount":0,"warningCount":1,"fixableErrorCount":0,"fixableWarningCount":0,"source":"341","usedDeprecatedRules":"246"},{"filePath":"342","messages":"343","errorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0,"usedDeprecatedRules":"262"},{"filePath":"344","messages":"345","errorCount":0,"warningCount":1,"fixableErrorCount":0,"fixableWarningCount":0,"source":"346","usedDeprecatedRules":"262"},{"filePath":"347","messages":"348","errorCount":0,"warningCount":2,"fixableErrorCount":0,"fixableWarningCount":0,"source":"349","usedDeprecatedRules":"218"},{"filePath":"350","messages":"351","errorCount":0,"warningCount":10,"fixableErrorCount":0,"fixableWarningCount":0,"source":"352","usedDeprecatedRules":"313"},{"filePath":"353","messages":"354","errorCount":0,"warningCount":1,"fixableErrorCount":0,"fixableWarningCount":0,"source":"355","usedDeprecatedRules":"237"},{"filePath":"356","messages":"357","errorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0,"usedDeprecatedRules":"246"},{"filePath":"358","messages":"359","errorCount":0,"warningCount":2,"fixableErrorCount":0,"fixableWarningCount":0,"source":"360","usedDeprecatedRules":"218"},{"filePath":"361","messages":"362","errorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0,"usedDeprecatedRules":"363"},{"filePath":"364","messages":"365","errorCount":0,"warningCount":1,"fixableErrorCount":0,"fixableWarningCount":0,"source":"366","usedDeprecatedRules":"367"},{"filePath":"368","messages":"369","errorCount":0,"warningCount":1,"fixableErrorCount":0,"fixableWarningCount":0,"source":"370","usedDeprecatedRules":"218"},{"filePath":"371","messages":"372","errorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0,"usedDeprecatedRules":"246"},{"filePath":"373","messages":"374","errorCount":0,"warningCount":4,"fixableErrorCount":0,"fixableWarningCount":0,"source":"375","usedDeprecatedRules":"231"},{"filePath":"376","messages":"377","errorCount":0,"warningCount":6,"fixableErrorCount":0,"fixableWarningCount":0,"source":"378","usedDeprecatedRules":"262"},{"filePath":"379","messages":"380","errorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0,"usedDeprecatedRules":"218"},{"filePath":"381","messages":"382","errorCount":0,"warningCount":1,"fixableErrorCount":0,"fixableWarningCount":0,"source":"383","usedDeprecatedRules":"206"},{"filePath":"384","messages":"385","errorCount":0,"warningCount":1,"fixableErrorCount":0,"fixableWarningCount":0,"source":"386","usedDeprecatedRules":"231"},{"filePath":"387","messages":"388","errorCount":0,"warningCount":1,"fixableErrorCount":0,"fixableWarningCount":0,"source":"389","usedDeprecatedRules":"218"},{"filePath":"390","messages":"391","errorCount":0,"warningCount":1,"fixableErrorCount":0,"fixableWarningCount":0,"source":"392","usedDeprecatedRules":"218"},{"filePath":"393","messages":"394","errorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0,"usedDeprecatedRules":"218"},{"filePath":"395","messages":"396","errorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0,"usedDeprecatedRules":"231"},{"filePath":"397","messages":"398","errorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0,"usedDeprecatedRules":"246"},{"filePath":"399","messages":"400","errorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0,"usedDeprecatedRules":"206"},{"filePath":"401","messages":"402","errorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0,"usedDeprecatedRules":"218"},{"filePath":"403","messages":"404","errorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"405","messages":"406","errorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0,"usedDeprecatedRules":"231"},{"filePath":"407","messages":"408","errorCount":0,"warningCount":1,"fixableErrorCount":0,"fixableWarningCount":0,"source":"409","usedDeprecatedRules":"218"},{"filePath":"410","messages":"411","errorCount":0,"warningCount":1,"fixableErrorCount":0,"fixableWarningCount":0,"source":"412","usedDeprecatedRules":"218"},{"filePath":"413","messages":"414","errorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0,"usedDeprecatedRules":"206"},{"filePath":"415","messages":"416","errorCount":0,"warningCount":1,"fixableErrorCount":0,"fixableWarningCount":0,"source":"417","usedDeprecatedRules":"313"},{"filePath":"418","messages":"419","errorCount":0,"warningCount":1,"fixableErrorCount":0,"fixableWarningCount":0,"source":"420","usedDeprecatedRules":"421"},{"filePath":"422","messages":"423","errorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0,"usedDeprecatedRules":"218"},{"filePath":"424","messages":"425","errorCount":0,"warningCount":1,"fixableErrorCount":0,"fixableWarningCount":0,"source":"426","usedDeprecatedRules":"218"},{"filePath":"427","messages":"428","errorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0,"usedDeprecatedRules":"206"},{"filePath":"429","messages":"430","errorCount":0,"warningCount":1,"fixableErrorCount":0,"fixableWarningCount":0,"source":"431","usedDeprecatedRules":"218"},{"filePath":"432","messages":"433","errorCount":0,"warningCount":1,"fixableErrorCount":0,"fixableWarningCount":0,"source":"434","usedDeprecatedRules":"246"},{"filePath":"435","messages":"436","errorCount":0,"warningCount":1,"fixableErrorCount":0,"fixableWarningCount":0,"source":"437","usedDeprecatedRules":"246"},{"filePath":"438","messages":"439","errorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0,"usedDeprecatedRules":"218"},{"filePath":"440","messages":"441","errorCount":0,"warningCount":2,"fixableErrorCount":0,"fixableWarningCount":0,"source":"442","usedDeprecatedRules":"218"},{"filePath":"443","messages":"444","errorCount":0,"warningCount":1,"fixableErrorCount":0,"fixableWarningCount":0,"source":"445","usedDeprecatedRules":"231"},{"filePath":"446","messages":"447","errorCount":0,"warningCount":1,"fixableErrorCount":0,"fixableWarningCount":0,"source":"448","usedDeprecatedRules":"313"},{"filePath":"449","messages":"450","errorCount":0,"warningCount":2,"fixableErrorCount":0,"fixableWarningCount":0,"source":"451","usedDeprecatedRules":"313"},{"filePath":"452","messages":"453","errorCount":0,"warningCount":1,"fixableErrorCount":0,"fixableWarningCount":0,"source":"454","usedDeprecatedRules":"218"},{"filePath":"455","messages":"456","errorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0,"usedDeprecatedRules":"218"},{"filePath":"457","messages":"458","errorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0,"usedDeprecatedRules":"218"},{"filePath":"459","messages":"460","errorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0,"usedDeprecatedRules":"313"},{"filePath":"461","messages":"462","errorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0,"usedDeprecatedRules":"214"},{"filePath":"463","messages":"464","errorCount":0,"warningCount":1,"fixableErrorCount":0,"fixableWarningCount":0,"source":"465","usedDeprecatedRules":"218"},{"filePath":"466","messages":"467","errorCount":0,"warningCount":1,"fixableErrorCount":0,"fixableWarningCount":0,"source":"468","usedDeprecatedRules":"206"},{"filePath":"469","messages":"470","errorCount":0,"warningCount":1,"fixableErrorCount":0,"fixableWarningCount":0,"source":"471","usedDeprecatedRules":"246"},{"filePath":"472","messages":"473","errorCount":0,"warningCount":4,"fixableErrorCount":0,"fixableWarningCount":0,"source":null},{"filePath":"474","messages":"475","errorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0,"usedDeprecatedRules":"246"},{"filePath":"476","messages":"477","errorCount":0,"warningCount":1,"fixableErrorCount":0,"fixableWarningCount":0,"source":null},{"filePath":"478","messages":"479","errorCount":0,"warningCount":3,"fixableErrorCount":0,"fixableWarningCount":0,"source":null},"C:\\projects\\GYM-FRONTEND-ADMIN\\src\\index.js",[],["480","481"],"C:\\projects\\GYM-FRONTEND-ADMIN\\src\\main\\shared\\Root\\Root.js",[],"C:\\projects\\GYM-FRONTEND-ADMIN\\src\\main\\shared\\Header\\Header.js",["482","483","484","485","486","487","488"],"C:\\projects\\GYM-FRONTEND-ADMIN\\src\\modules\\groupeModule\\Groupe\\Groupe.js",["489","490","491"],"import React, { useEffect, useState } from 'react';\r\nimport PropTypes from 'prop-types';\r\nimport './Groupe.css';\r\nimport AddGroupe from './../AddGroupe/AddGroupe';\r\nimport { LoadJS } from './../../../libraries/datatables/datatables';\r\nimport EditGroupe from './../EditGroupe/EditGroupe';\r\nimport HTTPService from '../../../main/services/HTTPService';\r\nimport GroupeTestService from '../../../main/mocks/GroupeTestService';\r\nimport showMessage from '../../../libraries/messages/messages';\r\nimport groupeMessage from '../../../main/messages/groupeMessage';\r\nimport useForceUpdate from 'use-force-update';\r\n\r\n\r\nconst Groupe = () => {\r\n\r\n const [groupes, setGroupes] = useState([]);\r\n const [updatedItem, setUpdatedItem] = useState({});\r\n const forceUpdate = useForceUpdate();\r\n\r\n\r\n useEffect(() => {\r\n LoadJS()\r\n retrieveGroupes()\r\n }, []);\r\n\r\n\r\n const getAll = () => {\r\n HTTPService.getAll()\r\n .then(response => {\r\n setGroupes(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 retrieveGroupes = () => {\r\n var groupes = GroupeTestService.getAll();\r\n setGroupes(groupes);\r\n };\r\n\r\n const resfresh = () => {\r\n retrieveGroupes()\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 showMessage('Confirmation', groupeMessage.delete, 'success')\r\n GroupeTestService.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 return (\r\n
\r\n
\r\n
\r\n
\r\n
\r\n

Groupes

\r\n
\r\n
\r\n
\r\n \r\n \r\n \r\n \r\n \r\n\r\n \r\n \r\n\r\n {groupes.map(item =>\r\n \r\n \r\n \r\n \r\n\r\n \r\n )}\r\n\r\n \r\n \r\n \r\n \r\n \r\n\r\n \r\n
NomNombre de membres Actions
{item.groupe_name}4\r\n \r\n \r\n
NomNombre de membres Actions
\r\n \r\n\r\n\r\n
\r\n
\r\n
\r\n
\r\n
Nouveau
\r\n \r\n
\r\n
\r\n \r\n
\r\n
\r\n \r\n\r\n
\r\n
\r\n
\r\n
\r\n\r\n\r\n\r\n
\r\n
\r\n
\r\n
\r\n
Edit
\r\n \r\n
\r\n
\r\n \r\n
\r\n
\r\n \r\n\r\n
\r\n
\r\n
\r\n
\r\n\r\n
\r\n
\r\n
\r\n
\r\n\r\n
\r\n
\r\n )\r\n};\r\n\r\nGroupe.propTypes = {};\r\n\r\nGroupe.defaultProps = {};\r\n\r\nexport default Groupe;\r\n",["492","493"],"C:\\projects\\GYM-FRONTEND-ADMIN\\src\\modules\\memberModule\\Member\\Member.js",["494","495"],"import React, { useEffect, useState } from 'react';\r\nimport './Member.css';\r\nimport { LoadJS } from '../../../libraries/datatables/datatables';\r\nimport EditMember from '../EditMember/EditMember';\r\nimport AddMember from '../AddMember/AddMember';\r\nimport useForceUpdate from 'use-force-update';\r\nimport showMessage from '../../../libraries/messages/messages';\r\nimport memberMessage from '../../../main/messages/memberMessage';\r\nimport MemberTestService from '../../../main/mocks/MemberTestService';\r\nimport HTTPService from '../../../main/services/HTTPService';\r\n\r\nconst Member = () => {\r\n\r\n const [members, setMembers] = useState([]);\r\n const [updatedItem, setUpdatedItem] = useState({});\r\n const forceUpdate = useForceUpdate();\r\n\r\n\r\n useEffect(() => {\r\n LoadJS()\r\n retrieveMembers()\r\n }, []);\r\n\r\n\r\n const getAll = () => {\r\n HTTPService.getAll()\r\n .then(response => {\r\n setMembers(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 retrieveMembers = () => {\r\n var members = MemberTestService.getAll();\r\n setMembers(members);\r\n };\r\n\r\n const resfresh = () => {\r\n retrieveMembers()\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 showMessage('Confirmation', memberMessage.delete, 'success')\r\n MemberTestService.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 return (\r\n
\r\n
\r\n
\r\n
\r\n
\r\n

Membres

\r\n
\r\n
\r\n
\r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n\r\n\r\n {members.map(item =>\r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n\r\n \r\n )}\r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n
Nom membreDate inscriptionDate expirationType de membreEntreneurActions
{item.first_name}{item.start_date}{item.end_date}{item.type}{item.coach}\r\n \r\n \r\n
Nom membreDate inscriptionDate expirationType de membreStatutActions
\r\n\r\n \r\n\r\n\r\n
\r\n
\r\n
\r\n
\r\n
Nouveau
\r\n \r\n
\r\n
\r\n \r\n
\r\n
\r\n \r\n\r\n
\r\n
\r\n
\r\n
\r\n\r\n\r\n\r\n
\r\n
\r\n
\r\n
\r\n
Edit
\r\n \r\n
\r\n
\r\n \r\n
\r\n
\r\n \r\n\r\n
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n\r\n
\r\n
\r\n )\r\n};\r\n\r\nMember.propTypes = {};\r\n\r\nMember.defaultProps = {};\r\n\r\nexport default Member;\r\n",["496","497"],"C:\\projects\\GYM-FRONTEND-ADMIN\\src\\modules\\productModule\\Product\\Product.js",["498","499"],"\r\nimport React, { useEffect, useState } from 'react';\r\nimport './Product.css';\r\nimport { LoadJS } from '../../../libraries/datatables/datatables';\r\nimport EditProduct from '../EditProduct/EditProduct';\r\nimport AddProduct from '../AddProduct/AddProduct';\r\nimport useForceUpdate from 'use-force-update';\r\nimport showMessage from '../../../libraries/messages/messages';\r\nimport productMessage from '../../../main/messages/productMessage';\r\nimport ProductTestService from '../../../main/mocks/ProductTestService';\r\nimport HTTPService from '../../../main/services/HTTPService';\r\n\r\nconst Product = () => {\r\n\r\n const [products, setProducts] = useState([]);\r\n const [updatedItem, setUpdatedItem] = useState({});\r\n const forceUpdate = useForceUpdate();\r\n\r\n\r\n useEffect(() => {\r\n LoadJS()\r\n retrieveProducts()\r\n }, []);\r\n\r\n\r\n const getAll = () => {\r\n HTTPService.getAll()\r\n .then(response => {\r\n setProducts(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 retrieveProducts = () => {\r\n var products = ProductTestService.getAll();\r\n setProducts(products);\r\n };\r\n\r\n const resfresh = () => {\r\n retrieveProducts()\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 showMessage('Confirmation', productMessage.delete, 'success')\r\n ProductTestService.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 return (\r\n
\r\n
\r\n
\r\n
\r\n
\r\n

Produits

\r\n
\r\n
\r\n
\r\n \r\n \r\n \r\n \r\n \r\n \r\n\r\n\r\n \r\n \r\n\r\n\r\n {products.map(item =>\r\n \r\n \r\n \r\n \r\n \r\n\r\n \r\n )}\r\n\r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n
Nom ProduitQuantitéPrixActions
{item.product_name}{item.quantity} kg{item.price} $\r\n \r\n \r\n
Nom ProduitQuantitéPrixActions
\r\n \r\n\r\n\r\n
\r\n
\r\n
\r\n
\r\n
Nouveau
\r\n \r\n
\r\n
\r\n \r\n
\r\n
\r\n \r\n\r\n
\r\n
\r\n
\r\n
\r\n\r\n\r\n
\r\n
\r\n
\r\n
\r\n
Edit
\r\n \r\n
\r\n
\r\n \r\n
\r\n
\r\n \r\n\r\n
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n\r\n
\r\n
\r\n )\r\n};\r\n\r\nProduct.propTypes = {};\r\n\r\nProduct.defaultProps = {};\r\n\r\nexport default Product;\r\n","C:\\projects\\GYM-FRONTEND-ADMIN\\src\\modules\\ActivityModule\\Activity\\Activity.js",["500","501"],"\r\nimport React, { useEffect, useState } from 'react';\r\nimport './Activity.css';\r\nimport { LoadJS } from '../../../libraries/datatables/datatables';\r\nimport EditActivity from '../EditActivity/EditActivity';\r\nimport AddActivity from '../AddActivity/AddActivity';\r\nimport useForceUpdate from 'use-force-update';\r\nimport showMessage from '../../../libraries/messages/messages';\r\nimport activityMessage from '../../../main/messages/activityMessage';\r\nimport ActivityTestService from '../../../main/mocks/ActivityTestService';\r\nimport HTTPService from '../../../main/services/HTTPService';\r\n\r\n\r\n\r\nconst deleteTask = () => {\r\n return window.confirm(\"Êtes-vous sûr de vouloir supprimer cette tache ?\")\r\n}\r\nconst Activity = () => {\r\n\r\n const [activitys, setActivitys] = useState([]);\r\n const [updatedItem, setUpdatedItem] = useState({});\r\n const forceUpdate = useForceUpdate();\r\n\r\n\r\n useEffect(() => {\r\n LoadJS()\r\n retrieveActivitys()\r\n }, []);\r\n\r\n\r\n const getAll = () => {\r\n HTTPService.getAll()\r\n .then(response => {\r\n setActivitys(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 retrieveActivitys = () => {\r\n var activitys = ActivityTestService.getAll();\r\n setActivitys(activitys);\r\n };\r\n\r\n const resfresh = () => {\r\n retrieveActivitys()\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 showMessage('Confirmation', activityMessage.delete, 'success')\r\n ActivityTestService.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 return (\r\n
\r\n
\r\n
\r\n
\r\n
\r\n

activité

\r\n
\r\n
\r\n
\r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n\r\n {activitys.map(item =>\r\n \r\n \r\n \r\n \r\n \r\n \r\n\r\n )}\r\n\r\n \r\n \r\n \r\n \r\n \r\n \r\n\r\n \r\n \r\n \r\n \r\n \r\n \r\n\r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n
Nom de l'activitéCategorieFormateurActions
{item.title}{item.category}{item.member}\r\n \r\n \r\n
musculationsportAudric Renard\r\n \r\n
dancesportVirginie Brunault\r\n \r\n
Nom de l'activitéCategorieFormateurActions
\r\n \r\n\r\n\r\n
\r\n
\r\n
\r\n
\r\n
Nouveau
\r\n \r\n
\r\n
\r\n \r\n
\r\n
\r\n \r\n\r\n
\r\n
\r\n
\r\n
\r\n\r\n\r\n
\r\n
\r\n
\r\n
\r\n
Edit
\r\n \r\n
\r\n
\r\n \r\n
\r\n
\r\n \r\n\r\n
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n\r\n
\r\n
\r\n )\r\n};\r\n\r\nActivity.propTypes = {};\r\n\r\nActivity.defaultProps = {};\r\n\r\nexport default Activity;\r\n","C:\\projects\\GYM-FRONTEND-ADMIN\\src\\modules\\expenseModule\\Expense\\Expense.js",["502","503","504"],"import React, { useEffect, useState } from 'react';\r\nimport PropTypes from 'prop-types';\r\nimport './Expense.css';\r\nimport AddExpense from './../AddExpense/AddExpense';\r\nimport { LoadJS } from './../../../libraries/datatables/datatables';\r\nimport EditExpense from './../EditExpense/EditExpense';\r\nimport ExpenseTestService from '../../../main/mocks/ExpenseTestService';\r\nimport expenseMessage from '../../../main/messages/expenseMessage';\r\nimport showMessage from '../../../libraries/messages/messages';\r\nimport useForceUpdate from 'use-force-update';\r\nimport HTTPService from '../../../main/services/HTTPService';\r\n\r\nconst Expense = () => {\r\n\r\n\r\n const [expenses, setExpenses] = useState([]);\r\n const [updatedItem, setUpdatedItem] = useState({});\r\n const forceUpdate = useForceUpdate();\r\n\r\n\r\n useEffect(() => {\r\n LoadJS()\r\n retrieveExpenses()\r\n }, []);\r\n\r\n\r\n const getAll = () => {\r\n HTTPService.getAll()\r\n .then(response => {\r\n setExpenses(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 retrieveExpenses = () => {\r\n var expenses = ExpenseTestService.getAll();\r\n setExpenses(expenses);\r\n };\r\n\r\n const resfresh = () => {\r\n retrieveExpenses()\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 showMessage('Confirmation', expenseMessage.delete, 'success')\r\n ExpenseTestService.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 return (\r\n
\r\n
\r\n
\r\n
\r\n
\r\n

Dépenses

\r\n
\r\n
\r\n
\r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n\r\n {expenses.map(item =>\r\n \r\n \r\n \r\n \r\n \r\n )}\r\n\r\n \r\n \r\n \r\n \r\n \r\n \r\n
FounisseurMontantActions
{item.supplier}{item.amount} $\r\n \r\n \r\n
FounisseurMontantActions
\r\n \r\n\r\n\r\n
\r\n
\r\n
\r\n
\r\n
Nouveau
\r\n \r\n
\r\n
\r\n \r\n
\r\n
\r\n \r\n\r\n
\r\n
\r\n
\r\n
\r\n\r\n\r\n\r\n
\r\n
\r\n
\r\n
\r\n
Edit
\r\n \r\n
\r\n
\r\n \r\n
\r\n
\r\n \r\n\r\n
\r\n
\r\n
\r\n
\r\n\r\n\r\n
\r\n
\r\n
\r\n
\r\n\r\n
\r\n
\r\n )\r\n};\r\n\r\nExpense.propTypes = {};\r\n\r\nExpense.defaultProps = {};\r\n\r\nexport default Expense;\r\n","C:\\projects\\GYM-FRONTEND-ADMIN\\src\\modules\\groupeModule\\AddGroupe\\AddGroupe.js",["505"],"\r\nimport React, { useState } from 'react';\r\nimport './AddGroupe.css';\r\nimport { useForm } from 'react-hook-form';\r\nimport showMessage from '../../../libraries/messages/messages'\r\nimport groupeMessage from '../../../main/messages/groupeMessage'\r\nimport groupeValidation from '../../../main/validations/groupeValidation'\r\nimport GroupeTestService from '../../../main/mocks/GroupeTestService';\r\nimport HTTPService from '../../../main/services/HTTPService';\r\n\r\nconst AddGroupe = () => {\r\n const initialState = {\r\n groupe_name: \"\",\r\n\r\n };\r\n\r\n const { register, handleSubmit, errors } = useForm()\r\n const [groupe, setGroupe] = useState(initialState);\r\n\r\n const onSubmit = (data) => {\r\n //saveGroupe(data)\r\n GroupeTestService.create(data)\r\n setGroupe(initialState)\r\n showMessage('Confirmation', groupeMessage.add, 'success')\r\n }\r\n\r\n const saveGroupe = (data) => {\r\n\r\n HTTPService.create(data)\r\n .then(response => {\r\n setGroupe(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 setGroupe({ ...groupe, [name]: value });\r\n };\r\n return (\r\n
\r\n
\r\n\r\n
\r\n \r\n
\r\n \r\n
\r\n {errors.groupe_name && groupeValidation.groupe_name}\r\n
\r\n
\r\n
\r\n\r\n\r\n
\r\n
\r\n \r\n
\r\n
\r\n\r\n
\r\n
\r\n )\r\n};\r\n\r\nAddGroupe.propTypes = {};\r\n\r\nAddGroupe.defaultProps = {};\r\n\r\nexport default AddGroupe;\r\n",["506","507"],"C:\\projects\\GYM-FRONTEND-ADMIN\\src\\main\\messages\\presenceMessage.js",[],"C:\\projects\\GYM-FRONTEND-ADMIN\\src\\modules\\paymentModule\\AddPayment\\AddPayment.js",["508"],"\r\nimport React, { useState } from 'react';\r\nimport './AddPayment.css';\r\nimport { useForm } from 'react-hook-form';\r\nimport showMessage from '../../../libraries/messages/messages'\r\nimport paymentMessage from '../../../main/messages/paymentMessage'\r\nimport paymentValidation from '../../../main/validations/paymentValidation'\r\nimport PaymentTestService from '../../../main/mocks/PaymentTestService';\r\nimport HTTPService from '../../../main/services/HTTPService';\r\n\r\nconst AddPayment = (props) => {\r\n const initialState = {\r\n post: \"\",\r\n description: \"\",\r\n start: \"\",\r\n end: \"\",\r\n location: \"\",\r\n requirement: \"\"\r\n };\r\n\r\n const { register, handleSubmit, errors } = useForm()\r\n const [payment, setPayment] = useState(initialState);\r\n\r\n const onSubmit = (data) => {\r\n //savePayment(data)\r\n PaymentTestService.create(data)\r\n setPayment(initialState)\r\n showMessage('Confirmation', paymentMessage.add, 'success')\r\n }\r\n\r\n const savePayment = (data) => {\r\n\r\n HTTPService.create(data)\r\n .then(response => {\r\n setPayment(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 setPayment({ ...payment, [name]: value });\r\n };\r\n return (\r\n
\r\n
\r\n
\r\n \r\n
\r\n \r\n
\r\n {errors.member && paymentValidation.member}\r\n
\r\n
\r\n
\r\n\r\n\r\n
\r\n \r\n
\r\n \r\n
\r\n {errors.type && paymentValidation.type}\r\n
\r\n
\r\n
\r\n\r\n\r\n
\r\n \r\n
\r\n \r\n
\r\n {errors.amount && paymentValidation.amount}\r\n
\r\n
\r\n
\r\n\r\n\r\n
\r\n \r\n
\r\n \r\n
\r\n {errors.validity && paymentValidation.validity}\r\n
\r\n
\r\n
\r\n\r\n\r\n
\r\n
\r\n \r\n
\r\n
\r\n
\r\n
\r\n )\r\n};\r\n\r\nAddPayment.propTypes = {};\r\n\r\nAddPayment.defaultProps = {};\r\n\r\nexport default AddPayment;\r\n",["509","510"],"C:\\projects\\GYM-FRONTEND-ADMIN\\src\\main\\messages\\eventMessage.js",[],"C:\\projects\\GYM-FRONTEND-ADMIN\\src\\main\\mocks\\PaymentTestService.js",["511"],"const _payment = []\r\n\r\nconst getAll = () => {\r\n return _payment;\r\n};\r\n\r\nconst get = id => {\r\n return _payment.find(item => item.id === id);\r\n};\r\n\r\nconst create = (data) => {\r\n _payment.push(data);\r\n};\r\n\r\nconst update = (old, data) => {\r\n\r\n var foundIndex = _payment.findIndex(item => item === old);\r\n _payment[foundIndex] = data;\r\n};\r\n\r\nconst remove = id => {\r\n _payment.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\\GYM-FRONTEND-ADMIN\\src\\main\\mocks\\BookingTestService.js",["512"],"const _booking = []\r\n\r\nconst getAll = () => {\r\n return _booking;\r\n};\r\n\r\nconst get = id => {\r\n return _booking.find(item => item.id === id);\r\n};\r\n\r\nconst create = (data) => {\r\n _booking.push(data);\r\n};\r\n\r\nconst update = (old, data) => {\r\n\r\n var foundIndex = _booking.findIndex(item => item === old);\r\n _booking[foundIndex] = data;\r\n};\r\n\r\nconst remove = id => {\r\n _booking.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};",["513","514"],"C:\\projects\\GYM-FRONTEND-ADMIN\\src\\modules\\memberModule\\AddMember\\AddMember.js",["515"],"\r\nimport React, { useState } from 'react';\r\nimport './AddMember.css';\r\nimport { useForm } from 'react-hook-form';\r\nimport showMessage from '../../../libraries/messages/messages'\r\nimport memberMessage from '../../../main/messages/memberMessage'\r\nimport memberValidation from '../../../main/validations/memberValidation'\r\nimport MemberTestService from '../../../main/mocks/MemberTestService';\r\nimport HTTPService from '../../../main/services/HTTPService';\r\n\r\nconst AddMember = () => {\r\n const initialState = {\r\n post: \"\",\r\n description: \"\",\r\n start: \"\",\r\n end: \"\",\r\n location: \"\",\r\n requirement: \"\"\r\n };\r\n\r\n const { register, handleSubmit, errors } = useForm()\r\n const [member, setMember] = useState(initialState);\r\n\r\n const onSubmit = (data) => {\r\n //saveMember(data)\r\n MemberTestService.create(data)\r\n setMember(initialState)\r\n showMessage('Confirmation', memberMessage.add, 'success')\r\n }\r\n\r\n const saveMember = (data) => {\r\n\r\n HTTPService.create(data)\r\n .then(response => {\r\n setMember(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 setMember({ ...member, [name]: value });\r\n };\r\n\r\n return (\r\n
\r\n\r\n
\r\n
\r\n \r\n
\r\n \r\n
\r\n {errors.first_name && memberValidation.first_name}\r\n
\r\n
\r\n
\r\n\r\n\r\n
\r\n \r\n
\r\n \r\n
\r\n {errors.last_name && memberValidation.last_name}\r\n
\r\n
\r\n
\r\n\r\n\r\n
\r\n \r\n
\r\n \r\n
\r\n {errors.birth_date && memberValidation.birth_date}\r\n
\r\n
\r\n
\r\n\r\n\r\n
\r\n \r\n
\r\n \r\n
\r\n {errors.groupe && memberValidation.groupe}\r\n
\r\n
\r\n
\r\n\r\n\r\n
\r\n \r\n
\r\n \r\n
\r\n {errors.type && memberValidation.type}\r\n
\r\n
\r\n
\r\n\r\n\r\n\r\n
\r\n \r\n
\r\n \r\n
\r\n {errors.address && memberValidation.address}\r\n
\r\n
\r\n
\r\n\r\n\r\n
\r\n \r\n
\r\n \r\n
\r\n {errors.mobile && memberValidation.mobile}\r\n
\r\n
\r\n
\r\n\r\n\r\n
\r\n \r\n
\r\n \r\n
\r\n {errors.email && memberValidation.email}\r\n
\r\n
\r\n
\r\n\r\n\r\n
\r\n \r\n
\r\n \r\n
\r\n {errors.weight && memberValidation.weight}\r\n
\r\n
\r\n
\r\n\r\n\r\n
\r\n \r\n
\r\n \r\n
\r\n {errors.size && memberValidation.size}\r\n
\r\n
\r\n
\r\n\r\n\r\n
\r\n \r\n
\r\n \r\n
\r\n {errors.chest && memberValidation.chest}\r\n
\r\n
\r\n
\r\n\r\n\r\n
\r\n \r\n
\r\n \r\n
\r\n {errors.foot && memberValidation.foot}\r\n
\r\n
\r\n
\r\n\r\n\r\n
\r\n \r\n
\r\n \r\n
\r\n {errors.hand && memberValidation.hand}\r\n
\r\n
\r\n
\r\n\r\n\r\n
\r\n \r\n
\r\n \r\n
\r\n {errors.fat && memberValidation.fat}\r\n
\r\n
\r\n
\r\n\r\n\r\n
\r\n \r\n
\r\n \r\n
\r\n {errors.start_date && memberValidation.start_date}\r\n
\r\n
\r\n
\r\n\r\n\r\n
\r\n \r\n
\r\n \r\n
\r\n {errors.end_date && memberValidation.end_date}\r\n
\r\n
\r\n
\r\n\r\n\r\n
\r\n \r\n
\r\n \r\n
\r\n {errors.type && memberValidation.type}\r\n
\r\n
\r\n
\r\n\r\n\r\n
\r\n \r\n
\r\n \r\n
\r\n {errors.coach && memberValidation.coach}\r\n
\r\n
\r\n
\r\n\r\n\r\n
\r\n
\r\n \r\n
\r\n
\r\n\r\n\r\n
\r\n
\r\n )\r\n};\r\n\r\nAddMember.propTypes = {};\r\n\r\nAddMember.defaultProps = {};\r\n\r\nexport default AddMember;\r\n","C:\\projects\\GYM-FRONTEND-ADMIN\\src\\modules\\productModule\\EditProduct\\EditProduct.js",["516","517","518"],"import React, { useEffect, useState } from 'react';\r\nimport PropTypes from 'prop-types';\r\nimport './EditProduct.css';\r\nimport { useForm } from 'react-hook-form';\r\nimport showMessage from '../../../libraries/messages/messages'\r\nimport productMessage from '../../../main/messages/productMessage'\r\nimport productValidation from '../../../main/validations/productValidation'\r\nimport ProductTestService from '../../../main/mocks/ProductTestService';\r\nimport HTTPService from '../../../main/services/HTTPService';\r\n\r\nconst EditProduct = (props) => {\r\n\r\n\tconst { register, handleSubmit, errors } = useForm() // initialise the hook\r\n\tconst [product, setProduct] = useState(props.product);\r\n\r\n\tuseEffect(() => {\r\n\t\tsetProduct(props.product)\r\n\t}, [props.product]);\r\n\r\n\r\n\tconst onSubmit = (data) => {\r\n\r\n\t\tProductTestService.update(props.product, data)\r\n\t\tshowMessage('Confirmation', productMessage.edit, 'success')\r\n\t}\r\n\r\n\tconst handleInputChange = event => {\r\n\t\tconst { name, value } = event.target;\r\n\t\tsetProduct({ ...product, [name]: value });\r\n\t};\r\n\r\n\r\n\treturn (\r\n\t\t
\r\n\r\n\t\t\t
\r\n\r\n\r\n\t\t\t\t
\r\n\t\t\t\t\t\r\n\t\t\t\t\t
\r\n\t\t\t\t\t\t\r\n\t\t\t\t\t\t
\r\n\t\t\t\t\t\t\t{errors.product_name && productValidation.product_name}\r\n\t\t\t\t\t\t
\r\n\t\t\t\t\t
\r\n\t\t\t\t
\r\n\r\n\r\n\t\t\t\t
\r\n\t\t\t\t\t\r\n\t\t\t\t\t
\r\n\t\t\t\t\t\t
\r\n\t\t\t\t\t\t\t$\r\n\t\t\t\t\t\t\t\r\n\t\t\t\t\t\t\t
\r\n\t\t\t\t\t\t\t\t{errors.price && productValidation.price}\r\n\t\t\t\t\t\t\t
\r\n\r\n\t\t\t\t\t\t
\r\n\t\t\t\t\t
\r\n\t\t\t\t
\r\n\r\n\r\n\t\t\t\t
\r\n\t\t\t\t\t\r\n\t\t\t\t\t
\r\n\t\t\t\t\t\t\r\n\t\t\t\t\t\t
\r\n\t\t\t\t\t\t\t{errors.quantity && productValidation.quantity}\r\n\t\t\t\t\t\t
\r\n\t\t\t\t\t
\r\n\t\t\t\t
\r\n\r\n\r\n\t\t\t\t
\r\n\t\t\t\t\t\r\n\t\t\t\t
\r\n\t\t\t
\r\n\t\t
\r\n\t)\r\n};\r\n\r\nEditProduct.propTypes = {};\r\n\r\nEditProduct.defaultProps = {};\r\n\r\nexport default EditProduct;\r\n","C:\\projects\\GYM-FRONTEND-ADMIN\\src\\modules\\staffModule\\AddStaff\\AddStaff.js",["519","520"],"\r\nimport React, { useState } from 'react';\r\nimport './AddStaff.css';\r\nimport { useForm } from 'react-hook-form';\r\nimport showMessage from '../../../libraries/messages/messages'\r\nimport staffMessage from '../../../main/messages/staffMessage'\r\nimport staffValidation from '../../../main/validations/staffValidation'\r\nimport StaffTestService from '../../../main/mocks/StaffTestService';\r\nimport HTTPService from '../../../main/services/HTTPService';\r\n\r\nconst AddStaff = () => {\r\n const initialState = {\r\n date: '',\r\n role: '',\r\n address: '',\r\n email: '',\r\n mobile: '',\r\n first_name: '',\r\n last_name: '',\r\n };\r\n\r\n const { register, handleSubmit, errors } = useForm()\r\n const [staff, setStaff] = useState(initialState);\r\n\r\n const onSubmit = (data) => {\r\n //saveStaff(data)\r\n StaffTestService.create(data)\r\n setStaff(initialState)\r\n showMessage('Confirmation', staffMessage.add, 'success')\r\n }\r\n\r\n const saveStaff = (data) => {\r\n\r\n HTTPService.create(data)\r\n .then(response => {\r\n setStaff(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 setStaff({ ...staff, [name]: value });\r\n };\r\n\r\n return (\r\n
\r\n\r\n
\r\n\r\n
\r\n \r\n
\r\n \r\n
\r\n {errors.first_name && staffValidation.first_name}\r\n
\r\n
\r\n\r\n
\r\n\r\n\r\n
\r\n \r\n
\r\n \r\n
\r\n {errors.last_name && staffValidation.last_name}\r\n
\r\n
\r\n\r\n
\r\n\r\n\r\n
\r\n \r\n
\r\n \r\n
\r\n {errors.date && staffValidation.date}\r\n
\r\n
\r\n\r\n
\r\n\r\n\r\n
\r\n \r\n
\r\n \r\n
\r\n {errors.role && staffValidation.role}\r\n
\r\n
\r\n\r\n
\r\n\r\n\r\n
\r\n \r\n
\r\n \r\n
\r\n {errors.address && staffValidation.address}\r\n
\r\n
\r\n\r\n
\r\n\r\n
\r\n \r\n
\r\n \r\n
\r\n {errors.email && staffValidation.email}\r\n
\r\n
\r\n\r\n
\r\n\r\n
\r\n \r\n
\r\n \r\n
\r\n {errors.mobile && staffValidation.mobile}\r\n
\r\n
\r\n\r\n
\r\n\r\n\r\n
\r\n
\r\n \r\n
\r\n
\r\n
\r\n
\r\n )\r\n};\r\n\r\nAddStaff.propTypes = {};\r\n\r\nAddStaff.defaultProps = {};\r\n\r\nexport default AddStaff;\r\n","C:\\projects\\GYM-FRONTEND-ADMIN\\src\\modules\\expenseModule\\EditExpense\\EditExpense.js",["521"],"import React, { useEffect, useState } from 'react';\r\nimport PropTypes from 'prop-types';\r\nimport './EditExpense.css';\r\nimport { useForm } from 'react-hook-form';\r\nimport showMessage from '../../../libraries/messages/messages'\r\nimport expenseMessage from '../../../main/messages/expenseMessage'\r\nimport expenseValidation from '../../../main/validations/expenseValidations'\r\nimport ExpenseTestService from '../../../main/mocks/ExpenseTestService';\r\n\r\n\r\nconst EditExpense = (props) => {\r\n\r\n const { register, handleSubmit, errors } = useForm() // initialise the hook\r\n const [expense, setExpense] = useState(props.expense);\r\n\r\n useEffect(() => {\r\n setExpense(props.expense)\r\n }, [props.expense]);\r\n\r\n\r\n const onSubmit = (data) => {\r\n\r\n ExpenseTestService.update(props.expense, data)\r\n showMessage('Confirmation', expenseMessage.edit, 'success')\r\n }\r\n\r\n const handleInputChange = event => {\r\n const { name, value } = event.target;\r\n setExpense({ ...expense, [name]: value });\r\n };\r\n\r\n\r\n return (\r\n
\r\n
\r\n\r\n
\r\n \r\n
\r\n \r\n
\r\n {errors.supplier && expenseValidation.supplier}\r\n
\r\n
\r\n
\r\n\r\n\r\n
\r\n \r\n
\r\n \r\n
\r\n {errors.amount && expenseValidation.amount}\r\n
\r\n
\r\n
\r\n\r\n\r\n
\r\n \r\n
\r\n \r\n
\r\n {errors.date && expenseValidation.date}\r\n
\r\n
\r\n
\r\n\r\n\r\n
\r\n
\r\n \r\n
\r\n
\r\n\r\n\r\n
\r\n
\r\n )\r\n};\r\n\r\nEditExpense.propTypes = {};\r\n\r\nEditExpense.defaultProps = {};\r\n\r\nexport default EditExpense;\r\n","C:\\projects\\GYM-FRONTEND-ADMIN\\src\\modules\\eventModule\\EditEvent\\EditEvent.js",["522","523"],"import React, { useEffect, useState } from 'react';\r\nimport PropTypes from 'prop-types';\r\nimport './EditEvent.css';\r\nimport { useForm } from 'react-hook-form';\r\nimport showMessage from '../../../libraries/messages/messages'\r\nimport eventMessage from '../../../main/messages/eventMessage'\r\nimport eventValidation from '../../../main/validations/eventValidation'\r\nimport EventTestService from '../../../main/mocks/EventTestService';\r\n\r\n\r\nconst EditEvent = (props) => {\r\n const { register, handleSubmit, errors } = useForm() // initialise the hook\r\n const [event, setEvent] = useState(props.event);\r\n\r\n useEffect(() => {\r\n setEvent(props.event)\r\n }, [props.event]);\r\n\r\n\r\n const onSubmit = (data) => {\r\n\r\n EventTestService.update(props.event, data)\r\n showMessage('Confirmation', eventMessage.edit, 'success')\r\n }\r\n\r\n const handleInputChange = event => {\r\n const { name, value } = event.target;\r\n setEvent({ ...event, [name]: value });\r\n };\r\n\r\n\r\n\r\n return (\r\n
\r\n
\r\n\r\n\r\n\r\n\r\n
\r\n
\r\n
\r\n \r\n
\r\n {errors.event_name && eventValidation.event_name}\r\n
\r\n
\r\n
\r\n
\r\n\r\n\r\n\r\n
\r\n
\r\n
\r\n \r\n
\r\n {errors.event_date && eventValidation.event_date}\r\n
\r\n
\r\n
\r\n
\r\n\r\n\r\n\r\n
\r\n
\r\n \r\n
\r\n {errors.place_id && eventValidation.place_id}\r\n
\r\n
\r\n
\r\n\r\n\r\n\r\n
\r\n
\r\n
\r\n \r\n
\r\n {errors.starttime && eventValidation.starttime}\r\n
\r\n
\r\n
\r\n
\r\n\r\n\r\n
\r\n
\r\n
\r\n \r\n
\r\n {errors.endtime && eventValidation.endtime}\r\n
\r\n
\r\n
\r\n
\r\n\r\n\r\n
\r\n
\r\n
\r\n )\r\n};\r\n\r\nEditEvent.propTypes = {};\r\n\r\nEditEvent.defaultProps = {};\r\n\r\nexport default EditEvent;\r\n",["524","525"],"C:\\projects\\GYM-FRONTEND-ADMIN\\src\\libraries\\datatables\\datatables.js",[],"C:\\projects\\GYM-FRONTEND-ADMIN\\src\\modules\\ActivityModule\\EditActivity\\EditActivity.js",["526"],"import React, { useEffect, useState } from 'react';\r\nimport PropTypes from 'prop-types';\r\nimport './EditActivity.css';\r\nimport { useForm } from 'react-hook-form';\r\nimport showMessage from '../../../libraries/messages/messages'\r\nimport activityMessage from '../../../main/messages/activityMessage'\r\nimport activityValidation from '../../../main/validations/activityValidation'\r\nimport ActivityTestService from '../../../main/mocks/ActivityTestService';\r\n\r\nconst EditActivity = (props) => {\r\n\r\n const { register, handleSubmit, errors } = useForm() // initialise the hook\r\n const [activity, setActivity] = useState(props.activity);\r\n\r\n useEffect(() => {\r\n setActivity(props.activity)\r\n }, [props.activity]);\r\n\r\n\r\n const onSubmit = (data) => {\r\n\r\n ActivityTestService.update(props.activity, data)\r\n showMessage('Confirmation', activityMessage.edit, 'success')\r\n }\r\n\r\n const handleInputChange = event => {\r\n const { name, value } = event.target;\r\n setActivity({ ...activity, [name]: value });\r\n };\r\n\r\n\r\n return (\r\n
\r\n
\r\n\r\n
\r\n \r\n
\r\n \r\n
\r\n {errors.category && activityValidation.category}\r\n
\r\n
\r\n
\r\n\r\n\r\n\r\n
\r\n \r\n
\r\n \r\n
\r\n {errors.title && activityValidation.title}\r\n
\r\n
\r\n
\r\n\r\n\r\n
\r\n \r\n
\r\n \r\n
\r\n {errors.member && activityValidation.member}\r\n
\r\n
\r\n
\r\n\r\n\r\n
\r\n \r\n
\r\n \r\n
\r\n {errors.type && activityValidation.type}\r\n
\r\n
\r\n
\r\n\r\n
\r\n
\r\n \r\n
\r\n
\r\n\r\n\r\n
\r\n
\r\n )\r\n};\r\n\r\nEditActivity.propTypes = {};\r\n\r\nEditActivity.defaultProps = {};\r\n\r\nexport default EditActivity;\r\n","C:\\projects\\GYM-FRONTEND-ADMIN\\src\\main\\messages\\courseMessage.js",[],"C:\\projects\\GYM-FRONTEND-ADMIN\\src\\modules\\exerciceModule\\EditExercice\\EditExercice.js",["527","528","529","530","531","532","533","534","535","536"],"import React, { useEffect, useState } from 'react';\r\nimport PropTypes from 'prop-types';\r\nimport './EditExercice.css';\r\nimport { useForm } from 'react-hook-form';\r\nimport showMessage from '../../../libraries/messages/messages'\r\nimport exerciceMessage from '../../../main/messages/exerciceMessage'\r\nimport ExerciceTestService from '../../../main/mocks/ExerciceTestService';\r\n\r\n\r\nconst EditExercice = (props) => {\r\n const { register, handleSubmit, errors } = useForm() // initialise the hook\r\n const [exercice, setExercice] = useState(props.exercice);\r\n\r\n useEffect(() => {\r\n setExercice(props.exercice)\r\n }, [props.exercice]);\r\n\r\n\r\n const onSubmit = (data) => {\r\n\r\n ExerciceTestService.update(props.exercice, data)\r\n showMessage('Confirmation', exerciceMessage.edit, 'success')\r\n }\r\n\r\n const handleInputChange = event => {\r\n const { name, value } = event.target;\r\n setExercice({ ...exercice, [name]: value });\r\n };\r\n\r\n\r\n return (\r\n
\r\n
\r\n\r\n
\r\n\r\n \r\n
\r\n \r\n\r\n\r\n \r\n
\r\n \r\n
\r\n\r\n\r\n\r\n\r\n
\r\n \r\n \r\n
\r\n\r\n\r\n
\r\n \r\n
\r\n
\r\n \r\n \r\n Sélectionnez la date d'enregistrement pour l'entraînement d'aujourd'hui \r\n \r\n
\r\n
\r\n
\r\n\r\n\r\n
\r\n \r\n \r\n \r\n
\r\n \r\n\r\n\r\n
\r\n
\r\n )\r\n};\r\n\r\nEditExercice.propTypes = {};\r\n\r\nEditExercice.defaultProps = {};\r\n\r\nexport default EditExercice;\r\n","C:\\projects\\GYM-FRONTEND-ADMIN\\src\\main\\messages\\revenueMessage.js",[],"C:\\projects\\GYM-FRONTEND-ADMIN\\src\\main\\mocks\\MemberTestService.js",["537"],"const _member = [{\r\n \"first_name\": \"Marshall Brodeur\", \"start_date\": \"13/01/2020\",\r\n \"end_date\": \"13/06/2021\", \"type\": \"normal\", \"coach\": \"Jack Doe\"\r\n}]\r\n\r\n\r\nconst getAll = () => {\r\n return _member;\r\n};\r\n\r\nconst get = id => {\r\n return _member.find(item => item.id === id);\r\n};\r\n\r\nconst create = (data) => {\r\n _member.push(data);\r\n};\r\n\r\nconst update = (old, data) => {\r\n\r\n var foundIndex = _member.findIndex(item => item === old);\r\n _member[foundIndex] = data;\r\n};\r\n\r\nconst remove = id => {\r\n _member.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\\GYM-FRONTEND-ADMIN\\src\\main\\validations\\expenseValidations.js",[],"C:\\projects\\GYM-FRONTEND-ADMIN\\src\\modules\\presenceModule\\Presence\\Presence.js",["538","539","540","541","542","543","544","545"],"\r\nimport React, { useEffect, useState } from 'react';\r\nimport './Presence.css';\r\nimport { LoadJS } from '../../../libraries/datatables/datatables';\r\nimport EditPresence from '../EditPresence/EditPresence';\r\nimport AddPresence from '../AddPresence/AddPresence';\r\nimport useForceUpdate from 'use-force-update';\r\nimport showMessage from '../../../libraries/messages/messages';\r\nimport presenceMessage from '../../../main/messages/presenceMessage';\r\nimport PresenceTestService from '../../../main/mocks/PresenceTestService';\r\nimport HTTPService from '../../../main/services/HTTPService';\r\n\r\nconst Presence = () => {\r\n\r\n const [presences, setPresences] = useState([]);\r\n const [updatedItem, setUpdatedItem] = useState({});\r\n const forceUpdate = useForceUpdate();\r\n\r\n\r\n useEffect(() => {\r\n LoadJS()\r\n retrievePresences()\r\n }, []);\r\n\r\n\r\n const getAll = () => {\r\n HTTPService.getAll()\r\n .then(response => {\r\n setPresences(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 retrievePresences = () => {\r\n var presences = PresenceTestService.getAll();\r\n setPresences(presences);\r\n };\r\n\r\n const resfresh = () => {\r\n retrievePresences()\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 showMessage('Confirmation', presenceMessage.delete, 'success')\r\n PresenceTestService.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 return (\r\n
\r\n
\r\n
\r\n
\r\n
\r\n

Présenses

\r\n
\r\n
\r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n\r\n \r\n \r\n \r\n \r\n \r\n \r\n\r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n
Nom membreDatejourStatut
Christophe Marceau08/01/2021vendrediabsent
Nom membreDatejourStatut
\r\n\r\n
\r\n
\r\n
\r\n\r\n
\r\n
\r\n )\r\n};\r\n\r\nPresence.propTypes = {};\r\n\r\nPresence.defaultProps = {};\r\n\r\nexport default Presence;\r\n","C:\\projects\\GYM-FRONTEND-ADMIN\\src\\modules\\staffModule\\Staff\\Staff.js",["546","547"],"\r\nimport React, { useEffect, useState } from 'react';\r\nimport './Staff.css';\r\nimport { LoadJS } from '../../../libraries/datatables/datatables';\r\nimport EditStaff from '../EditStaff/EditStaff';\r\nimport AddStaff from '../AddStaff/AddStaff';\r\nimport useForceUpdate from 'use-force-update';\r\nimport showMessage from '../../../libraries/messages/messages';\r\nimport staffMessage from '../../../main/messages/staffMessage';\r\nimport StaffTestService from '../../../main/mocks/StaffTestService';\r\nimport HTTPService from '../../../main/services/HTTPService';\r\n\r\nconst Staff = () => {\r\n\r\n const [staffs, setStaffs] = useState([]);\r\n const [updatedItem, setUpdatedItem] = useState({});\r\n const forceUpdate = useForceUpdate();\r\n\r\n\r\n useEffect(() => {\r\n LoadJS()\r\n retrieveStaffs()\r\n }, []);\r\n\r\n\r\n const getAll = () => {\r\n HTTPService.getAll()\r\n .then(response => {\r\n setStaffs(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 retrieveStaffs = () => {\r\n var staffs = StaffTestService.getAll();\r\n setStaffs(staffs);\r\n };\r\n\r\n const resfresh = () => {\r\n retrieveStaffs()\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 showMessage('Confirmation', staffMessage.delete, 'success')\r\n StaffTestService.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 return (\r\n
\r\n
\r\n
\r\n
\r\n
\r\n

Staff

\r\n
\r\n
\r\n
\r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n\r\n\r\n {staffs.map(item =>\r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n )}\r\n\r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n
NomRoleDate expirationMobileActions
{item.first_name}{item.role}{item.date}{item.mobile}\r\n \r\n \r\n
NomRoleDate expirationMobileStatut
\r\n\r\n \r\n\r\n\r\n
\r\n
\r\n
\r\n
\r\n
Nouveau
\r\n \r\n
\r\n
\r\n \r\n
\r\n
\r\n \r\n\r\n
\r\n
\r\n
\r\n
\r\n\r\n\r\n
\r\n
\r\n
\r\n
\r\n
Edit
\r\n \r\n
\r\n
\r\n \r\n
\r\n
\r\n \r\n\r\n
\r\n
\r\n
\r\n
\r\n\r\n
\r\n
\r\n
\r\n
\r\n\r\n
\r\n
\r\n )\r\n};\r\n\r\nStaff.propTypes = {};\r\n\r\nStaff.defaultProps = {};\r\n\r\nexport default Staff;\r\n","C:\\projects\\GYM-FRONTEND-ADMIN\\src\\main\\shared\\Content\\Content.js",["548","549","550","551","552","553","554","555","556","557","558","559","560","561","562","563","564","565"],"C:\\projects\\GYM-FRONTEND-ADMIN\\src\\main\\shared\\Navigation\\Navigation.js",["566","567"],"C:\\projects\\GYM-FRONTEND-ADMIN\\src\\main\\shared\\Footer\\Footer.js",["568"],"import React from 'react';\r\nimport PropTypes from 'prop-types';\r\nimport './Footer.css';\r\nimport User from '../../config/user';\r\n\r\nconst Footer = (props) => (\r\n\r\n\r\n \r\n);\r\n\r\nFooter.propTypes = {};\r\n\r\nFooter.defaultProps = {};\r\n\r\nexport default Footer;\r\n","C:\\projects\\GYM-FRONTEND-ADMIN\\src\\modules\\shared\\Configuration\\Configuration.js",["569"],"import React from 'react';\r\nimport PropTypes from 'prop-types';\r\nimport './Configuration.css';\r\n\r\nconst Configuration = () => (\r\n
\r\n
\r\n
\r\n
\r\n
\r\n

Paramètres

\r\n
\r\n
\r\n
\r\n
\r\n \r\n \r\n
\r\n\r\n
\r\n \r\n \r\n
\r\n\r\n\r\n
\r\n \r\n \r\n
\r\n\r\n
\r\n
\r\n
\r\n \r\n
\r\n
\r\n\r\n
\r\n
\r\n
\r\n \r\n
\r\n
\r\n\r\n \r\n
\r\n
\r\n
\r\n
\r\n \r\n
\r\n
\r\n);\r\n\r\nConfiguration.propTypes = {};\r\n\r\nConfiguration.defaultProps = {};\r\n\r\nexport default Configuration;\r\n","C:\\projects\\GYM-FRONTEND-ADMIN\\src\\modules\\shared\\DashBoard\\DashBoard.js",["570"],"import React, { useEffect } from 'react';\r\nimport PropTypes from 'prop-types';\r\nimport './DashBoard.css';\r\nimport { drawChart } from './../../../libraries/chart/chart';\r\nimport Member from './../../memberModule/Member/Member';\r\n\r\nconst DashBoard = () => {\r\n\r\n useEffect(() => {\r\n // Runs ONCE after initial rendering\r\n drawChart()\r\n\r\n }, []);\r\n\r\n return (\r\n
\r\n
\r\n
\r\n
\r\n
\r\n

Tableau de bord

\r\n
\r\n
\r\n\r\n
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n \r\n
\r\n
\r\n
\r\n
\r\n

Membres

\r\n

3

\r\n

\r\n
\r\n
\r\n
\r\n\r\n
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n \r\n
\r\n
\r\n
\r\n
\r\n

Résérvations

\r\n

23

\r\n

\r\n
\r\n
\r\n
\r\n\r\n
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n \r\n
\r\n
\r\n
\r\n
\r\n

Exercices

\r\n

23

\r\n

\r\n
\r\n
\r\n
\r\n\r\n
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n \r\n
\r\n
\r\n
\r\n
\r\n

Activités

\r\n

4

\r\n

\r\n
\r\n
\r\n
\r\n\r\n
\r\n
\r\n\r\n\r\n
\r\n
\r\n
\r\n\r\n

Revenus

\r\n \r\n
\r\n
\r\n
\r\n\r\n
\r\n
\r\n
\r\n\r\n

Dépenses

\r\n \r\n
\r\n
\r\n
\r\n\r\n\r\n\r\n
\r\n \r\n
\r\n\r\n\r\n\r\n\r\n\r\n
\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n
\r\n
\r\n
\r\n\r\n
\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\\GYM-FRONTEND-ADMIN\\src\\modules\\paymentModule\\Payment\\Payment.js",["571","572"],"\r\nimport React, { useEffect, useState } from 'react';\r\nimport './Payment.css';\r\nimport { LoadJS } from '../../../libraries/datatables/datatables';\r\nimport EditPayment from '../EditPayment/EditPayment';\r\nimport AddPayment from '../AddPayment/AddPayment';\r\nimport useForceUpdate from 'use-force-update';\r\nimport showMessage from '../../../libraries/messages/messages';\r\nimport paymentMessage from '../../../main/messages/paymentMessage';\r\nimport PaymentTestService from '../../../main/mocks/PaymentTestService';\r\nimport HTTPService from '../../../main/services/HTTPService';\r\n\r\nconst Payment = () => {\r\n\r\n const [payments, setPayments] = useState([]);\r\n const [updatedItem, setUpdatedItem] = useState({});\r\n const forceUpdate = useForceUpdate();\r\n\r\n\r\n useEffect(() => {\r\n LoadJS()\r\n retrievePayments()\r\n }, []);\r\n\r\n\r\n const getAll = () => {\r\n HTTPService.getAll()\r\n .then(response => {\r\n setPayments(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 retrievePayments = () => {\r\n var payments = PaymentTestService.getAll();\r\n setPayments(payments);\r\n };\r\n\r\n const resfresh = () => {\r\n retrievePayments()\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 showMessage('Confirmation', paymentMessage.delete, 'success')\r\n PaymentTestService.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 return (\r\n
\r\n
\r\n
\r\n
\r\n
\r\n

Paiement

\r\n
\r\n
\r\n
\r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n\r\n \r\n \r\n\r\n\r\n {payments.map(item =>\r\n \r\n\r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n )}\r\n\r\n\r\n\r\n\r\n\r\n \r\n\r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n\r\n \r\n
TitreNom de membreMontantMontant payéMontant dudebut ahdesionStatutActions
Cours de dance{item.member}{item.amount} $600$0${item.validity}payé\r\n \r\n \r\n
Cours de danceMusette Gervais600$600$0$05/08/2020payé\r\n \r\n
TitreNom de membreMontantMontant payéMontant dudebut ahdesionStatutActions
\r\n \r\n\r\n\r\n
\r\n
\r\n
\r\n
\r\n
nouveau
\r\n \r\n
\r\n
\r\n \r\n
\r\n
\r\n \r\n\r\n
\r\n
\r\n
\r\n
\r\n\r\n\r\n
\r\n
\r\n
\r\n
\r\n
Edit
\r\n \r\n
\r\n
\r\n \r\n
\r\n
\r\n \r\n\r\n
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n\r\n
\r\n
\r\n )\r\n};\r\n\r\nPayment.propTypes = {};\r\n\r\nPayment.defaultProps = {};\r\n\r\nexport default Payment;\r\n","C:\\projects\\GYM-FRONTEND-ADMIN\\src\\modules\\exerciceModule\\Exercice\\Exercice.js",["573","574","575","576","577"],"\r\nimport React, { useEffect, useState } from 'react';\r\nimport './Exercice.css';\r\nimport { LoadJS } from '../../../libraries/datatables/datatables';\r\nimport EditExercice from '../EditExercice/EditExercice';\r\nimport AddExercice from '../AddExercice/AddExercice';\r\nimport useForceUpdate from 'use-force-update';\r\nimport showMessage from '../../../libraries/messages/messages';\r\nimport exerciceMessage from '../../../main/messages/exerciceMessage';\r\nimport ExerciceTestService from '../../../main/mocks/ExerciceTestService';\r\nimport HTTPService from '../../../main/services/HTTPService';\r\n\r\nconst Exercice = () => {\r\n\r\n const [exercices, setExercices] = useState([]);\r\n const [updatedItem, setUpdatedItem] = useState({});\r\n const forceUpdate = useForceUpdate();\r\n\r\n\r\n useEffect(() => {\r\n LoadJS()\r\n retrieveExercices()\r\n }, []);\r\n\r\n\r\n const getAll = () => {\r\n HTTPService.getAll()\r\n .then(response => {\r\n setExercices(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 retrieveExercices = () => {\r\n var exercices = ExerciceTestService.getAll();\r\n setExercices(exercices);\r\n };\r\n\r\n const resfresh = () => {\r\n retrieveExercices()\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 showMessage('Confirmation', exerciceMessage.delete, 'success')\r\n ExerciceTestService.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 return (\r\n
\r\n
\r\n
\r\n
\r\n
\r\n

Entrainement

\r\n
\r\n
\r\n
\r\n \r\n \r\n \r\n \r\n \r\n \r\n\r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n
Nom de produitPrix de produitQuantitéActions
vitamine666\r\n \r\n
\r\n \r\n\r\n\r\n
\r\n
\r\n
\r\n
\r\n
Nouveau
\r\n \r\n
\r\n
\r\n \r\n
\r\n
\r\n \r\n\r\n
\r\n
\r\n
\r\n
\r\n\r\n\r\n\r\n
\r\n
\r\n
\r\n
\r\n
Edit
\r\n \r\n
\r\n
\r\n \r\n
\r\n
\r\n \r\n\r\n
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n\r\n
\r\n
\r\n )\r\n};\r\n\r\nExercice.propTypes = {};\r\n\r\nExercice.defaultProps = {};\r\n\r\nexport default Exercice;\r\n","C:\\projects\\GYM-FRONTEND-ADMIN\\src\\modules\\BookingModule\\Booking\\Booking.js",["578","579","580","581","582","583","584"],"\r\nimport React, { useEffect, useState } from 'react';\r\nimport './Booking.css';\r\nimport { LoadJS } from '../../../libraries/datatables/datatables';\r\nimport EditBooking from '../EditBooking/EditBooking';\r\nimport AddBooking from '../AddBooking/AddBooking';\r\nimport useForceUpdate from 'use-force-update';\r\nimport showMessage from '../../../libraries/messages/messages';\r\nimport bookingMessage from '../../../main/messages/bookingMessage';\r\nimport BookingTestService from '../../../main/mocks/BookingTestService';\r\nimport HTTPService from '../../../main/services/HTTPService';\r\n\r\nconst Booking = () => {\r\n\r\n const [bookings, setBookings] = useState([]);\r\n const [updatedItem, setUpdatedItem] = useState({});\r\n const forceUpdate = useForceUpdate();\r\n\r\n\r\n useEffect(() => {\r\n LoadJS()\r\n retrieveBookings()\r\n }, []);\r\n\r\n\r\n const getAll = () => {\r\n HTTPService.getAll()\r\n .then(response => {\r\n setBookings(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 retrieveBookings = () => {\r\n var bookings = BookingTestService.getAll();\r\n setBookings(bookings);\r\n };\r\n\r\n const resfresh = () => {\r\n retrieveBookings()\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 showMessage('Confirmation', bookingMessage.delete, 'success')\r\n BookingTestService.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 return (\r\n
\r\n
\r\n
\r\n
\r\n
\r\n

Réservations

\r\n
\r\n
\r\n
\r\n \r\n\r\n
\r\n \r\n\r\n\r\n
\r\n
\r\n
\r\n
\r\n
Nouveau
\r\n \r\n
\r\n
\r\n \r\n
\r\n
\r\n \r\n\r\n
\r\n
\r\n
\r\n
\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n
\r\n
\r\n
\r\n
\r\n\r\n
\r\n
\r\n )\r\n};\r\n\r\nBooking.propTypes = {};\r\n\r\nBooking.defaultProps = {};\r\n\r\nexport default Booking;\r\n","C:\\projects\\GYM-FRONTEND-ADMIN\\src\\modules\\paymentModule\\EditPayment\\EditPayment.js",["585"],"import React, { useEffect, useState } from 'react';\r\nimport PropTypes from 'prop-types';\r\nimport './EditPayment.css';\r\nimport { useForm } from 'react-hook-form';\r\nimport showMessage from '../../../libraries/messages/messages'\r\nimport paymentMessage from '../../../main/messages/paymentMessage'\r\nimport paymentValidation from '../../../main/validations/paymentValidation'\r\nimport PaymentTestService from '../../../main/mocks/PaymentTestService';\r\n\r\nconst EditPayment = (props) => {\r\n const { register, handleSubmit, errors } = useForm() // initialise the hook\r\n const [payment, setPayment] = useState(props.payment);\r\n\r\n useEffect(() => {\r\n setPayment(props.payment)\r\n }, [props.payment]);\r\n\r\n\r\n const onSubmit = (data) => {\r\n\r\n PaymentTestService.update(props.payment, data)\r\n showMessage('Confirmation', paymentMessage.edit, 'success')\r\n }\r\n\r\n const handleInputChange = event => {\r\n const { name, value } = event.target;\r\n setPayment({ ...payment, [name]: value });\r\n };\r\n\r\n\r\n return (\r\n
\r\n
\r\n
\r\n \r\n
\r\n \r\n
\r\n {errors.member && paymentValidation.member}\r\n
\r\n
\r\n
\r\n\r\n\r\n
\r\n \r\n
\r\n \r\n
\r\n {errors.type && paymentValidation.type}\r\n
\r\n
\r\n
\r\n\r\n\r\n
\r\n \r\n
\r\n \r\n
\r\n {errors.amount && paymentValidation.amount}\r\n
\r\n
\r\n
\r\n\r\n\r\n
\r\n \r\n
\r\n \r\n
\r\n {errors.validity && paymentValidation.validity}\r\n
\r\n
\r\n
\r\n\r\n\r\n
\r\n
\r\n \r\n
\r\n
\r\n
\r\n
\r\n )\r\n};\r\n\r\nEditPayment.propTypes = {};\r\n\r\nEditPayment.defaultProps = {};\r\n\r\nexport default EditPayment;\r\n","C:\\projects\\GYM-FRONTEND-ADMIN\\src\\main\\messages\\productMessage.js",[],["586","587"],"C:\\projects\\GYM-FRONTEND-ADMIN\\src\\main\\mocks\\PresenceTestService.js",["588"],"const _presence = []\r\n\r\nconst getAll = () => {\r\n return _presence;\r\n};\r\n\r\nconst get = id => {\r\n return _presence.find(item => item.id === id);\r\n};\r\n\r\nconst create = (data) => {\r\n _presence.push(data);\r\n};\r\n\r\nconst update = (old, data) => {\r\n\r\n var foundIndex = _presence.findIndex(item => item === old);\r\n _presence[foundIndex] = data;\r\n};\r\n\r\nconst remove = id => {\r\n _presence.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\\GYM-FRONTEND-ADMIN\\src\\main\\mocks\\EventTestService.js",["589"],"const _event = [{\r\n \"event_name\": \"Cours de dance\",\r\n \"event_date\": \"15/03/2021\",\r\n \"place_id\": \"93, avenue de Bouvines 89100 SENS\",\r\n \"starttime\": \"09:00\", \"endtime\": \"11:00\"\r\n}]\r\n\r\n\r\nconst getAll = () => {\r\n return _event;\r\n};\r\n\r\nconst get = id => {\r\n return _event.find(item => item.id === id);\r\n};\r\n\r\nconst create = (data) => {\r\n _event.push(data);\r\n};\r\n\r\nconst update = (old, data) => {\r\n\r\n var foundIndex = _event.findIndex(item => item === old);\r\n _event[foundIndex] = data;\r\n};\r\n\r\nconst remove = id => {\r\n _event.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\\GYM-FRONTEND-ADMIN\\src\\main\\services\\HTTPService.js",["590"],"import http from \"../../libraries/axios/axios\";\r\nimport BASE_URL from \"../urls/urls\";\r\n\r\nconst getAll = () => {\r\n return http.get(\"/posts\");\r\n};\r\n\r\nconst get = id => {\r\n return http.get(`${BASE_URL}/tutorials/${id}`);\r\n};\r\n\r\nconst create = data => {\r\n return http.post(`${BASE_URL}/tutorials`, data);\r\n};\r\n\r\nconst update = (id, data) => {\r\n return http.put(`${BASE_URL}/tutorials/${id}`, data);\r\n};\r\n\r\nconst remove = id => {\r\n return http.delete(`${BASE_URL}/tutorials/${id}`);\r\n};\r\n\r\nconst removeAll = () => {\r\n return http.delete(`${BASE_URL}/tutorials`);\r\n};\r\n\r\nconst findByTitle = title => {\r\n return http.get(`${BASE_URL}/tutorials?title=${title}`);\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\\GYM-FRONTEND-ADMIN\\src\\modules\\presenceModule\\EditPresence\\EditPresence.js",["591"],"import React from 'react';\r\nimport PropTypes from 'prop-types';\r\nimport './EditPresence.css';\r\n\r\nconst EditPresence = () => (\r\n
\r\n EditPresence Component\r\n
\r\n);\r\n\r\nEditPresence.propTypes = {};\r\n\r\nEditPresence.defaultProps = {};\r\n\r\nexport default EditPresence;\r\n","C:\\projects\\GYM-FRONTEND-ADMIN\\src\\modules\\presenceModule\\AddPresence\\AddPresence.js",["592"],"import React from 'react';\r\nimport PropTypes from 'prop-types';\r\nimport './AddPresence.css';\r\n\r\nconst AddPresence = () => (\r\n
\r\n AddPresence Component\r\n
\r\n);\r\n\r\nAddPresence.propTypes = {};\r\n\r\nAddPresence.defaultProps = {};\r\n\r\nexport default AddPresence;\r\n","C:\\projects\\GYM-FRONTEND-ADMIN\\src\\modules\\productModule\\AddProduct\\AddProduct.js",["593","594"],"\r\nimport React, { useState } from 'react';\r\nimport './AddProduct.css';\r\nimport { useForm } from 'react-hook-form';\r\nimport showMessage from '../../../libraries/messages/messages'\r\nimport productMessage from '../../../main/messages/productMessage'\r\nimport productValidation from '../../../main/validations/productValidation'\r\nimport ProductTestService from '../../../main/mocks/ProductTestService';\r\nimport HTTPService from '../../../main/services/HTTPService';\r\n\r\nconst AddProduct = () => {\r\n\tconst initialState = {\r\n\t\tpost: \"\",\r\n\t\tdescription: \"\",\r\n\t\tstart: \"\",\r\n\t\tend: \"\",\r\n\t\tlocation: \"\",\r\n\t\trequirement: \"\"\r\n\t};\r\n\r\n\tconst { register, handleSubmit, errors } = useForm()\r\n\tconst [product, setProduct] = useState(initialState);\r\n\r\n\tconst onSubmit = (data) => {\r\n\t\t//saveProduct(data)\r\n\t\tProductTestService.create(data)\r\n\t\tsetProduct(initialState)\r\n\t\tshowMessage('Confirmation', productMessage.add, 'success')\r\n\t}\r\n\r\n\tconst saveProduct = (data) => {\r\n\r\n\t\tHTTPService.create(data)\r\n\t\t\t.then(response => {\r\n\t\t\t\tsetProduct(initialState)\r\n\t\t\t})\r\n\t\t\t.catch(e => {\r\n\t\t\t\tconsole.log(e);\r\n\t\t\t});\r\n\r\n\t};\r\n\r\n\r\n\tconst handleInputChange = event => {\r\n\t\tconst { name, value } = event.target;\r\n\t\tsetProduct({ ...product, [name]: value });\r\n\t};\r\n\r\n\treturn (\r\n\t\t
\r\n\t\t\t
\r\n\r\n\r\n\t\t\t\t
\r\n\t\t\t\t\t\r\n\t\t\t\t\t
\r\n\t\t\t\t\t\t\r\n\t\t\t\t\t\t
\r\n\t\t\t\t\t\t\t{errors.product_name && productValidation.product_name}\r\n\t\t\t\t\t\t
\r\n\t\t\t\t\t
\r\n\t\t\t\t
\r\n\r\n\r\n\t\t\t\t
\r\n\t\t\t\t\t\r\n\t\t\t\t\t
\r\n\t\t\t\t\t\t
\r\n\r\n\t\t\t\t\t\t\t\r\n\t\t\t\t\t\t\t
\r\n\t\t\t\t\t\t\t\t{errors.price && productValidation.price}\r\n\t\t\t\t\t\t\t
\r\n\r\n\t\t\t\t\t\t
\r\n\t\t\t\t\t
\r\n\t\t\t\t
\r\n\r\n\r\n\t\t\t\t
\r\n\t\t\t\t\t\r\n\t\t\t\t\t
\r\n\t\t\t\t\t\t\r\n\t\t\t\t\t\t
\r\n\t\t\t\t\t\t\t{errors.quantity && productValidation.quantity}\r\n\t\t\t\t\t\t
\r\n\t\t\t\t\t
\r\n\t\t\t\t
\r\n\r\n\r\n\t\t\t\t
\r\n\t\t\t\t\t\r\n\t\t\t\t
\r\n\t\t\t
\r\n\t\t
\r\n\t)\r\n};\r\n\r\nAddProduct.propTypes = {};\r\n\r\nAddProduct.defaultProps = {};\r\n\r\nexport default AddProduct;\r\n","C:\\projects\\GYM-FRONTEND-ADMIN\\src\\modules\\courseModule\\AddCourse\\AddCourse.js",["595"],"import React from 'react';\r\nimport PropTypes from 'prop-types';\r\nimport './AddCourse.css';\r\n\r\nconst AddCourse = () => (\r\n
\r\n AddCourse Component\r\n
\r\n);\r\n\r\nAddCourse.propTypes = {};\r\n\r\nAddCourse.defaultProps = {};\r\n\r\nexport default AddCourse;\r\n","C:\\projects\\GYM-FRONTEND-ADMIN\\src\\libraries\\messages\\messages.js",[],"C:\\projects\\GYM-FRONTEND-ADMIN\\src\\main\\messages\\activityMessage.js",[],"C:\\projects\\GYM-FRONTEND-ADMIN\\src\\modules\\expenseModule\\AddExpense\\AddExpense.js",["596"],"\r\nimport React, { useState } from 'react';\r\nimport './AddExpense.css';\r\nimport { useForm } from 'react-hook-form';\r\nimport showMessage from '../../../libraries/messages/messages'\r\nimport expenseMessage from '../../../main/messages/expenseMessage'\r\nimport expenseValidation from '../../../main/validations/expenseValidations'\r\nimport ExpenseTestService from '../../../main/mocks/ExpenseTestService';\r\nimport HTTPService from '../../../main/services/HTTPService';\r\n\r\nconst AddExpense = () => {\r\n const initialState = {\r\n date: '',\r\n supplier: '',\r\n amount: '',\r\n };\r\n\r\n const { register, handleSubmit, errors } = useForm()\r\n const [expense, setExpense] = useState(initialState);\r\n\r\n const onSubmit = (data) => {\r\n //saveExpense(data)\r\n ExpenseTestService.create(data)\r\n setExpense(initialState)\r\n showMessage('Confirmation', expenseMessage.add, 'success')\r\n }\r\n\r\n const saveExpense = (data) => {\r\n\r\n HTTPService.create(data)\r\n .then(response => {\r\n setExpense(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 setExpense({ ...expense, [name]: value });\r\n };\r\n\r\n\r\n return (\r\n\r\n
\r\n
\r\n\r\n
\r\n \r\n
\r\n \r\n
\r\n {errors.supplier && expenseValidation.supplier}\r\n
\r\n
\r\n
\r\n\r\n\r\n
\r\n \r\n
\r\n \r\n
\r\n {errors.amount && expenseValidation.amount}\r\n
\r\n
\r\n
\r\n\r\n\r\n
\r\n \r\n
\r\n \r\n
\r\n {errors.date && expenseValidation.date}\r\n
\r\n
\r\n
\r\n\r\n\r\n
\r\n
\r\n \r\n
\r\n
\r\n\r\n\r\n
\r\n
\r\n )\r\n};\r\n\r\nAddExpense.propTypes = {};\r\n\r\nAddExpense.defaultProps = {};\r\n\r\nexport default AddExpense;\r\n","C:\\projects\\GYM-FRONTEND-ADMIN\\src\\libraries\\axios\\axios.js",[],"C:\\projects\\GYM-FRONTEND-ADMIN\\src\\main\\mocks\\ExpenseTestService.js",["597"],"const _expense = [{ \"supplier\": \"maintenance matériel\", \"amount\": \"6764\" }]\r\n\r\nconst getAll = () => {\r\n return _expense;\r\n};\r\n\r\nconst get = id => {\r\n return _expense.find(item => item.id === id);\r\n};\r\n\r\nconst create = (data) => {\r\n _expense.push(data);\r\n};\r\n\r\nconst update = (old, data) => {\r\n\r\n var foundIndex = _expense.findIndex(item => item === old);\r\n _expense[foundIndex] = data;\r\n};\r\n\r\nconst remove = id => {\r\n _expense.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\\GYM-FRONTEND-ADMIN\\src\\modules\\typesubsModule\\ViewTypeSubs\\TypeSubs\\TypeSubs.js",["598","599"],"\r\nimport React, { useEffect, useState } from 'react';\r\nimport './TypeSubs.css';\r\nimport { LoadJS } from '../../../../libraries/datatables/datatables';\r\n\r\nimport useForceUpdate from 'use-force-update';\r\nimport showMessage from '../../../../libraries/messages/messages';\r\nimport typeSubMessage from '../../../../main/messages/typeSubMessage ';\r\nimport TypeSubTestService from '../../../../main/mocks/TypeSubTestService';\r\nimport HTTPService from '../../../../main/services/HTTPService';\r\nimport AddTypeSubs from '../AddTypeSubs/AddTypeSubs';\r\nimport EditTypeSubs from '../EditTypeSubs/EditTypeSubs';\r\n\r\nconst TypeSubs = () => {\r\n\r\n const [typeSubs, setTypeSubs] = useState([]);\r\n const [updatedItem, setUpdatedItem] = useState({});\r\n const forceUpdate = useForceUpdate();\r\n\r\n\r\n useEffect(() => {\r\n LoadJS()\r\n retrieveTypeSubs()\r\n }, []);\r\n\r\n\r\n const getAll = () => {\r\n HTTPService.getAll()\r\n .then(response => {\r\n setTypeSubs(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 retrieveTypeSubs = () => {\r\n var typeSubs = TypeSubTestService.getAll();\r\n setTypeSubs(typeSubs);\r\n };\r\n\r\n const resfresh = () => {\r\n retrieveTypeSubs()\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 showMessage('Confirmation', typeSubMessage.delete, 'success')\r\n TypeSubTestService.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 return (\r\n
\r\n
\r\n
\r\n
\r\n
\r\n

Type d'adhésion

\r\n
\r\n
\r\n
\r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n\r\n\r\n {typeSubs.map(item =>\r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n )}\r\n\r\n\r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n
Nom du membrePériode Plan de versementFrais d'inscriptionActions
{item.member}{item.period} mois{item.time_payment}{item.amount} $\r\n \r\n \r\n
NomPériode Plan de versementFrais d'inscriptionActions
\r\n\r\n \r\n\r\n\r\n
\r\n
\r\n
\r\n
\r\n
Nouveau
\r\n \r\n
\r\n
\r\n \r\n
\r\n
\r\n \r\n\r\n
\r\n
\r\n
\r\n
\r\n\r\n\r\n\r\n
\r\n
\r\n
\r\n
\r\n
Edit
\r\n \r\n
\r\n
\r\n \r\n
\r\n
\r\n \r\n\r\n
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n\r\n
\r\n
\r\n )\r\n};\r\n\r\nTypeSubs.propTypes = {};\r\n\r\nTypeSubs.defaultProps = {};\r\n\r\nexport default TypeSubs;\r\n","C:\\projects\\GYM-FRONTEND-ADMIN\\src\\modules\\exerciceModule\\AddExercice\\AddExercice.js",["600","601","602","603","604","605","606","607","608","609"],"\r\nimport React, { useState } from 'react';\r\nimport './AddExercice.css';\r\nimport { useForm } from 'react-hook-form';\r\nimport showMessage from '../../../libraries/messages/messages'\r\nimport exerciceMessage from '../../../main/messages/exerciceMessage'\r\nimport ExerciceTestService from '../../../main/mocks/ExerciceTestService';\r\nimport HTTPService from '../../../main/services/HTTPService';\r\n\r\nconst AddExercice = () => {\r\n const initialState = {\r\n post: \"\",\r\n description: \"\",\r\n start: \"\",\r\n end: \"\",\r\n location: \"\",\r\n requirement: \"\"\r\n };\r\n\r\n const { register, handleSubmit, errors } = useForm()\r\n const [exercice, setExercice] = useState(initialState);\r\n\r\n const onSubmit = (data) => {\r\n //saveExercice(data)\r\n ExerciceTestService.create(data)\r\n setExercice(initialState)\r\n showMessage('Confirmation', exerciceMessage.add, 'success')\r\n }\r\n\r\n const saveExercice = (data) => {\r\n\r\n HTTPService.create(data)\r\n .then(response => {\r\n setExercice(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 setExercice({ ...exercice, [name]: value });\r\n };\r\n\r\n return (\r\n\r\n
\r\n
\r\n\r\n
\r\n\r\n \r\n
\r\n \r\n\r\n\r\n \r\n
\r\n \r\n
\r\n\r\n\r\n\r\n\r\n
\r\n \r\n \r\n
\r\n\r\n\r\n
\r\n \r\n
\r\n
\r\n \r\n \r\n Sélectionnez la date d'enregistrement pour l'entraînement d'aujourd'hui \r\n \r\n
\r\n
\r\n
\r\n\r\n\r\n
\r\n \r\n \r\n \r\n
\r\n \r\n\r\n\r\n
\r\n
\r\n )\r\n};\r\n\r\nAddExercice.propTypes = {};\r\n\r\nAddExercice.defaultProps = {};\r\n\r\nexport default AddExercice;\r\n","C:\\projects\\GYM-FRONTEND-ADMIN\\src\\main\\mocks\\ActivityTestService.js",["610"],"const _activity = []\r\n\r\nconst getAll = () => {\r\n return _activity;\r\n};\r\n\r\nconst get = id => {\r\n return _activity.find(item => item.id === id);\r\n};\r\n\r\nconst create = (data) => {\r\n _activity.push(data);\r\n};\r\n\r\nconst update = (old, data) => {\r\n\r\n var foundIndex = _activity.findIndex(item => item === old);\r\n _activity[foundIndex] = data;\r\n};\r\n\r\nconst remove = id => {\r\n _activity.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\\GYM-FRONTEND-ADMIN\\src\\main\\validations\\activityValidation.js",[],"C:\\projects\\GYM-FRONTEND-ADMIN\\src\\modules\\eventModule\\AddEvent\\AddEvent.js",["611","612"],"\r\nimport React, { useState } from 'react';\r\nimport './AddEvent.css';\r\nimport { useForm } from 'react-hook-form';\r\nimport showMessage from '../../../libraries/messages/messages'\r\nimport eventMessage from '../../../main/messages/eventMessage'\r\nimport eventValidation from '../../../main/validations/eventValidation'\r\nimport EventTestService from '../../../main/mocks/EventTestService';\r\nimport HTTPService from '../../../main/services/HTTPService';\r\n\r\nconst AddEvent = () => {\r\n const initialState = {\r\n event_name: \"\",\r\n event_date: \"\",\r\n place_id: \"\",\r\n starttime: \"\",\r\n endtime: \"\",\r\n };\r\n\r\n const { register, handleSubmit, errors } = useForm()\r\n const [event, setEvent] = useState(initialState);\r\n\r\n const onSubmit = (data) => {\r\n //saveEvent(data)\r\n EventTestService.create(data)\r\n setEvent(initialState)\r\n showMessage('Confirmation', eventMessage.add, 'success')\r\n }\r\n\r\n const saveEvent = (data) => {\r\n\r\n HTTPService.create(data)\r\n .then(response => {\r\n setEvent(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 setEvent({ ...event, [name]: value });\r\n };\r\n return (\r\n
\r\n
\r\n\r\n\r\n\r\n\r\n
\r\n
\r\n
\r\n \r\n
\r\n {errors.event_name && eventValidation.event_name}\r\n
\r\n
\r\n
\r\n
\r\n\r\n\r\n\r\n
\r\n
\r\n
\r\n \r\n
\r\n {errors.event_date && eventValidation.event_date}\r\n
\r\n
\r\n
\r\n
\r\n\r\n\r\n\r\n
\r\n
\r\n \r\n
\r\n {errors.place_id && eventValidation.place_id}\r\n
\r\n
\r\n
\r\n\r\n\r\n\r\n
\r\n
\r\n
\r\n \r\n
\r\n {errors.starttime && eventValidation.starttime}\r\n
\r\n
\r\n
\r\n
\r\n\r\n\r\n
\r\n
\r\n
\r\n \r\n
\r\n {errors.endtime && eventValidation.endtime}\r\n
\r\n
\r\n
\r\n
\r\n\r\n\r\n
\r\n
\r\n
\r\n )\r\n};\r\n\r\nAddEvent.propTypes = {};\r\n\r\nAddEvent.defaultProps = {};\r\n\r\nexport default AddEvent;\r\n","C:\\projects\\GYM-FRONTEND-ADMIN\\src\\main\\validations\\groupeValidation.js",[],["613","614"],"C:\\projects\\GYM-FRONTEND-ADMIN\\src\\modules\\typesubsModule\\ViewTypeSubs\\EditTypeSubs\\EditTypeSubs.js",["615"],"import React, { useEffect, useState } from 'react';\r\nimport PropTypes from 'prop-types';\r\nimport './EditTypeSubs.css';\r\nimport typeSubValidation from '../../../../main/validations/typeSubValidation';\r\nimport { useForm } from 'react-hook-form';\r\nimport typeSubMessage from '../../../../main/messages/typeSubMessage ';\r\nimport showMessage from '../../../../libraries/messages/messages';\r\nimport TypeSubTestService from '../../../../main/mocks/TypeSubTestService';\r\n\r\nconst EditTypeSubs = (props) => {\r\n\r\n const { register, handleSubmit, errors } = useForm() // initialise the hook\r\n const [typeSub, setTypeSub] = useState(props.typeSub);\r\n\r\n useEffect(() => {\r\n setTypeSub(props.typeSub)\r\n }, [props.typeSub]);\r\n\r\n\r\n const onSubmit = (data) => {\r\n\r\n TypeSubTestService.update(props.typeSub, data)\r\n showMessage('Confirmation', typeSubMessage.edit, 'success')\r\n }\r\n\r\n const handleInputChange = event => {\r\n const { name, value } = event.target;\r\n setTypeSub({ ...typeSub, [name]: value });\r\n };\r\n\r\n\r\n\r\n return (\r\n
\r\n
\r\n\r\n\r\n\r\n
\r\n \r\n
\r\n \r\n
\r\n {errors.member && typeSubValidation.member}\r\n
\r\n
\r\n
\r\n\r\n\r\n\r\n
\r\n \r\n
\r\n \r\n
\r\n {errors.category && typeSubValidation.category}\r\n
\r\n
\r\n
\r\n\r\n\r\n
\r\n \r\n
\r\n \r\n
\r\n {errors.period && typeSubValidation.period}\r\n
\r\n
\r\n
\r\n\r\n\r\n
\r\n \r\n
\r\n \r\n
\r\n {errors.limit && typeSubValidation.limit}\r\n
\r\n
\r\n
\r\n\r\n\r\n
\r\n \r\n
\r\n \r\n
\r\n {errors.amount && typeSubValidation.amount}\r\n
\r\n
\r\n
\r\n\r\n
\r\n \r\n
\r\n \r\n
\r\n {errors.description && typeSubValidation.description}\r\n
\r\n
\r\n
\r\n\r\n\r\n
\r\n \r\n
\r\n \r\n
\r\n {errors.fee && typeSubValidation.fee}\r\n
\r\n
\r\n
\r\n\r\n\r\n\r\n
\r\n \r\n
\r\n \r\n
\r\n {errors.time_payment && typeSubValidation.time_payment}\r\n
\r\n
\r\n
\r\n\r\n
\r\n
\r\n \r\n
\r\n
\r\n
\r\n
\r\n )\r\n};\r\n\r\nEditTypeSubs.propTypes = {};\r\n\r\nEditTypeSubs.defaultProps = {};\r\n\r\nexport default EditTypeSubs;\r\n",["616","617"],"C:\\projects\\GYM-FRONTEND-ADMIN\\src\\modules\\typesubsModule\\ViewTypeSubs\\AddTypeSubs\\AddTypeSubs.js",["618"],"\r\nimport React, { useState } from 'react';\r\nimport './AddTypeSubs.css';\r\nimport { useForm } from 'react-hook-form';\r\nimport showMessage from '../../../../libraries/messages/messages'\r\nimport typeSubMessage from '../../../../main/messages/typeSubMessage '\r\nimport typeSubValidation from '../../../../main/validations/typeSubValidation'\r\nimport TypeSubTestService from '../../../../main/mocks/TypeSubTestService';\r\nimport HTTPService from '../../../../main/services/HTTPService';\r\n\r\n\r\nconst AddTypeSubs = () => {\r\n const initialState = {\r\n post: \"\",\r\n description: \"\",\r\n start: \"\",\r\n end: \"\",\r\n location: \"\",\r\n requirement: \"\"\r\n };\r\n\r\n const { register, handleSubmit, errors } = useForm()\r\n const [job, setJob] = useState(initialState);\r\n\r\n const onSubmit = (data) => {\r\n //saveJob(data)\r\n TypeSubTestService.create(data)\r\n setJob(initialState)\r\n showMessage('Confirmation', typeSubMessage.add, 'success')\r\n }\r\n\r\n const saveJob = (data) => {\r\n\r\n HTTPService.create(data)\r\n .then(response => {\r\n setJob(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 setJob({ ...job, [name]: value });\r\n };\r\n\r\n\r\n return (\r\n
\r\n
\r\n\r\n\r\n\r\n
\r\n \r\n
\r\n \r\n
\r\n {errors.member && typeSubValidation.member}\r\n
\r\n
\r\n
\r\n\r\n\r\n\r\n
\r\n \r\n
\r\n \r\n
\r\n {errors.category && typeSubValidation.category}\r\n
\r\n
\r\n
\r\n\r\n\r\n
\r\n \r\n
\r\n \r\n
\r\n {errors.period && typeSubValidation.period}\r\n
\r\n
\r\n
\r\n\r\n\r\n
\r\n \r\n
\r\n \r\n
\r\n {errors.limit && typeSubValidation.limit}\r\n
\r\n
\r\n
\r\n\r\n\r\n
\r\n \r\n
\r\n \r\n
\r\n {errors.amount && typeSubValidation.amount}\r\n
\r\n
\r\n
\r\n\r\n
\r\n \r\n
\r\n \r\n
\r\n {errors.description && typeSubValidation.description}\r\n
\r\n
\r\n
\r\n\r\n\r\n
\r\n \r\n
\r\n \r\n
\r\n {errors.fee && typeSubValidation.fee}\r\n
\r\n
\r\n
\r\n\r\n\r\n\r\n
\r\n \r\n
\r\n \r\n
\r\n {errors.time_payment && typeSubValidation.time_payment}\r\n
\r\n
\r\n
\r\n\r\n
\r\n
\r\n \r\n
\r\n
\r\n
\r\n
\r\n )\r\n};\r\n\r\nAddTypeSubs.propTypes = {};\r\n\r\nAddTypeSubs.defaultProps = {};\r\n\r\nexport default AddTypeSubs;\r\n","C:\\projects\\GYM-FRONTEND-ADMIN\\src\\reportWebVitals.js",[],"C:\\projects\\GYM-FRONTEND-ADMIN\\src\\modules\\revenueModule\\Revenue\\Revenue.js",["619","620","621","622"],"import React, { useEffect, useState } from 'react';\r\nimport PropTypes from 'prop-types';\r\nimport './Revenue.css';\r\nimport AddRevenue from './../AddRevenue/AddRevenue';\r\nimport { LoadJS } from './../../../libraries/datatables/datatables';\r\nimport EditPayment from './../../paymentModule/EditPayment/EditPayment';\r\nimport HTTPService from '../../../main/services/HTTPService';\r\nimport RevenueTestService from '../../../main/mocks/RevenueTestService';\r\nimport revenueMessage from '../../../main/messages/revenueMessage';\r\nimport showMessage from '../../../libraries/messages/messages';\r\nimport useForceUpdate from 'use-force-update';\r\nimport EditRevenue from '../EditRevenue/EditRevenue';\r\n\r\nconst Revenue = () => {\r\n\r\n const [revenues, setRevenues] = useState([]);\r\n const [updatedItem, setUpdatedItem] = useState({});\r\n const forceUpdate = useForceUpdate();\r\n\r\n\r\n useEffect(() => {\r\n LoadJS()\r\n retrieveRevenues()\r\n }, []);\r\n\r\n\r\n const getAll = () => {\r\n HTTPService.getAll()\r\n .then(response => {\r\n setRevenues(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 retrieveRevenues = () => {\r\n var revenues = RevenueTestService.getAll();\r\n setRevenues(revenues);\r\n };\r\n\r\n const resfresh = () => {\r\n retrieveRevenues()\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 showMessage('Confirmation', revenueMessage.delete, 'success')\r\n RevenueTestService.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 return (\r\n
\r\n
\r\n
\r\n
\r\n
\r\n

Revenus

\r\n
\r\n
\r\n\r\n\r\n \r\n \r\n \r\n \r\n \r\n\r\n \r\n \r\n\r\n {revenues.map(item =>\r\n \r\n \r\n \r\n \r\n \r\n\r\n )}\r\n\r\n \r\n \r\n \r\n \r\n \r\n\r\n \r\n
NomMontantActions
{item.revenue}{item.amount} $\r\n \r\n \r\n
NomMontantActions
\r\n \r\n\r\n\r\n
\r\n
\r\n
\r\n
\r\n
Nouveau
\r\n \r\n
\r\n
\r\n \r\n
\r\n
\r\n \r\n
\r\n
\r\n
\r\n
\r\n\r\n\r\n
\r\n
\r\n
\r\n
\r\n
Edit
\r\n \r\n
\r\n
\r\n \r\n
\r\n
\r\n \r\n
\r\n
\r\n
\r\n
\r\n\r\n\r\n\r\n\r\n
\r\n
\r\n
\r\n\r\n
\r\n
\r\n )\r\n};\r\n\r\nRevenue.propTypes = {};\r\n\r\nRevenue.defaultProps = {};\r\n\r\nexport default Revenue;\r\n","C:\\projects\\GYM-FRONTEND-ADMIN\\src\\modules\\courseModule\\Course\\Course.js",["623","624","625","626","627","628"],"\r\nimport React, { useEffect, useState } from 'react';\r\nimport './Course.css';\r\nimport { LoadJS } from '../../../libraries/datatables/datatables';\r\nimport EditCourse from '../EditCourse/EditCourse';\r\nimport AddCourse from '../AddCourse/AddCourse';\r\nimport useForceUpdate from 'use-force-update';\r\nimport showMessage from '../../../libraries/messages/messages';\r\nimport courseMessage from '../../../main/messages/courseMessage';\r\nimport CourseTestService from '../../../main/mocks/CourseTestService';\r\nimport HTTPService from '../../../main/services/HTTPService';\r\n\r\nconst Course = () => {\r\n\r\n const [courses, setCourses] = useState([]);\r\n const [updatedItem, setUpdatedItem] = useState({});\r\n const forceUpdate = useForceUpdate();\r\n\r\n\r\n useEffect(() => {\r\n LoadJS()\r\n retrieveCourses()\r\n }, []);\r\n\r\n\r\n const getAll = () => {\r\n HTTPService.getAll()\r\n .then(response => {\r\n setCourses(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 retrieveCourses = () => {\r\n var courses = CourseTestService.getAll();\r\n setCourses(courses);\r\n };\r\n\r\n const resfresh = () => {\r\n retrieveCourses()\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 showMessage('Confirmation', courseMessage.delete, 'success')\r\n CourseTestService.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 return (\r\n\r\n\r\n
\r\n
\r\n
\r\n

Cours

\r\n
\r\n
\r\n
\r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n\r\n \r\n \r\n
Nom MembreNom de personnel Heure départHeure finFrais résérvationActions
AnisAnis14h0016h00234\r\n \r\n
\r\n\r\n\r\n
\r\n
\r\n
\r\n
\r\n
Edit
\r\n \r\n
\r\n
\r\n \r\n
\r\n
\r\n \r\n\r\n
\r\n
\r\n
\r\n
\r\n\r\n
\r\n
\r\n
\r\n
\r\n\r\n\r\n\r\n )\r\n};\r\n\r\nCourse.propTypes = {};\r\n\r\nCourse.defaultProps = {};\r\n\r\nexport default Course;\r\n","C:\\projects\\GYM-FRONTEND-ADMIN\\src\\main\\messages\\typeSubMessage .js",[],"C:\\projects\\GYM-FRONTEND-ADMIN\\src\\main\\mocks\\StaffTestService.js",["629"],"const _staff = [{\r\n \"first_name\": \"Virginie Brunault\", \"role\": \"Professeure de dance\",\r\n \"date\": \"05/09/2022\", \"mobile\": \"423234234\"\r\n}]\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};","C:\\projects\\GYM-FRONTEND-ADMIN\\src\\modules\\revenueModule\\AddRevenue\\AddRevenue.js",["630"],"\r\nimport React, { useState } from 'react';\r\nimport './AddRevenue.css';\r\nimport { useForm } from 'react-hook-form';\r\nimport showMessage from '../../../libraries/messages/messages'\r\nimport revenueMessage from '../../../main/messages/revenueMessage'\r\nimport revenueValidation from '../../../main/validations/revenueValidation'\r\nimport RevenueTestService from '../../../main/mocks/RevenueTestService';\r\nimport HTTPService from '../../../main/services/HTTPService';\r\n\r\nconst AddRevenue = () => {\r\n const initialState = {\r\n post: \"\",\r\n description: \"\",\r\n start: \"\",\r\n end: \"\",\r\n location: \"\",\r\n requirement: \"\"\r\n };\r\n\r\n const { register, handleSubmit, errors } = useForm()\r\n const [revenue, setRevenue] = useState(initialState);\r\n\r\n const onSubmit = (data) => {\r\n //saveRevenue(data)\r\n RevenueTestService.create(data)\r\n setRevenue(initialState)\r\n showMessage('Confirmation', revenueMessage.add, 'success')\r\n }\r\n\r\n const saveRevenue = (data) => {\r\n\r\n HTTPService.create(data)\r\n .then(response => {\r\n setRevenue(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 setRevenue({ ...revenue, [name]: value });\r\n };\r\n\r\n return (\r\n
\r\n
\r\n\r\n
\r\n \r\n
\r\n \r\n
\r\n {errors.revenue && revenueValidation.revenue}\r\n
\r\n
\r\n
\r\n\r\n
\r\n \r\n
\r\n \r\n
\r\n {errors.member && revenueValidation.member}\r\n
\r\n
\r\n
\r\n\r\n
\r\n \r\n
\r\n \r\n
\r\n {errors.amount && revenueValidation.amount}\r\n
\r\n
\r\n
\r\n\r\n\r\n
\r\n \r\n
\r\n \r\n
\r\n {errors.date && revenueValidation.date}\r\n
\r\n
\r\n
\r\n\r\n\r\n
\r\n
\r\n \r\n
\r\n
\r\n\r\n\r\n
\r\n
\r\n )\r\n};\r\n\r\nAddRevenue.propTypes = {};\r\n\r\nAddRevenue.defaultProps = {};\r\n\r\nexport default AddRevenue;\r\n","C:\\projects\\GYM-FRONTEND-ADMIN\\src\\modules\\BookingModule\\EditBooking\\EditBooking.js",["631"],"import React from 'react';\r\nimport PropTypes from 'prop-types';\r\nimport './EditBooking.css';\r\n\r\nconst EditBooking = () => (\r\n
\r\n EditBooking Component\r\n
\r\n);\r\n\r\nEditBooking.propTypes = {};\r\n\r\nEditBooking.defaultProps = {};\r\n\r\nexport default EditBooking;\r\n","C:\\projects\\GYM-FRONTEND-ADMIN\\src\\libraries\\chart\\chart.js",["632"],"import * as Chart from 'chart.js';\r\n\r\nexport function drawChart() {\r\n\r\n let data = [20000, 14000, 12000, 15000, 18000, 19000, 22000];\r\n let data2 = [34000, 54000, 23000, 24000, 65000, 23000, 44000];\r\n let labels = [\"sunday\", \"monday\", \"tuesday\", \"wednesday\", \"thursday\", \"friday\", \"saturday\"];\r\n var ctx1 = document.getElementsByClassName(\"revenue-chart\");\r\n var ctx2 = document.getElementsByClassName(\"expense-chart\");\r\n\r\n renderChart(data, labels, ctx1, 'rgba(53, 253, 13, 1)');\r\n renderChart(data2, labels, ctx2, 'rgba(46, 137, 255, 1)');\r\n\r\n}\r\n\r\n\r\nexport function renderChart(data, labels, ctx, color) {\r\n\r\n\r\n var myChart = new Chart(ctx, {\r\n type: 'line',\r\n data: {\r\n labels: labels,\r\n datasets: [{\r\n label: '',\r\n data: data,\r\n backgroundColor: color,\r\n borderColor: color,\r\n }]\r\n },\r\n })\r\n}","C:\\projects\\GYM-FRONTEND-ADMIN\\src\\main\\messages\\exerciceMessage.js",[],"C:\\projects\\GYM-FRONTEND-ADMIN\\src\\main\\messages\\memberMessage.js",[],"C:\\projects\\GYM-FRONTEND-ADMIN\\src\\main\\validations\\typeSubValidation.js",[],"C:\\projects\\GYM-FRONTEND-ADMIN\\src\\main\\validations\\productValidation.js",[],"C:\\projects\\GYM-FRONTEND-ADMIN\\src\\main\\validations\\eventValidation.js",[],"C:\\projects\\GYM-FRONTEND-ADMIN\\src\\main\\validations\\exerciceValidation.js",[],"C:\\projects\\GYM-FRONTEND-ADMIN\\src\\main\\messages\\expenseMessage.js",[],"C:\\projects\\GYM-FRONTEND-ADMIN\\src\\App.js",["633"],"import logo from './logo.svg';\r\nimport './App.css';\r\nimport Root from './main/shared/Root/Root';\r\n\r\n\r\nfunction App() {\r\n return (\r\n \r\n );\r\n}\r\n\r\nexport default App;\r\n","C:\\projects\\GYM-FRONTEND-ADMIN\\src\\modules\\groupeModule\\EditGroupe\\EditGroupe.js",["634"],"import React, { useEffect, useState } from 'react';\r\nimport PropTypes from 'prop-types';\r\nimport './EditGroupe.css';\r\nimport showMessage from '../../../libraries/messages/messages'\r\nimport groupeMessage from '../../../main/messages/groupeMessage'\r\nimport groupeValidation from '../../../main/validations/groupeValidation'\r\nimport GroupeTestService from '../../../main/mocks/GroupeTestService';\r\nimport { useForm } from 'react-hook-form';\r\n\r\nconst EditGroupe = (props) => {\r\n\r\n const { register, handleSubmit, errors } = useForm() // initialise the hook\r\n const [groupe, setGroupe] = useState(props.groupe);\r\n\r\n useEffect(() => {\r\n setGroupe(props.groupe)\r\n }, [props.groupe]);\r\n\r\n\r\n const onSubmit = (data) => {\r\n\r\n GroupeTestService.update(props.groupe, data)\r\n showMessage('Confirmation', groupeMessage.edit, 'success')\r\n }\r\n\r\n const handleInputChange = event => {\r\n const { name, value } = event.target;\r\n setGroupe({ ...groupe, [name]: value });\r\n };\r\n\r\n\r\n return (\r\n
\r\n
\r\n\r\n
\r\n \r\n
\r\n \r\n
\r\n {errors.groupe_name && groupeValidation.groupe_name}\r\n
\r\n
\r\n
\r\n\r\n\r\n
\r\n
\r\n \r\n
\r\n
\r\n\r\n
\r\n
\r\n )\r\n};\r\n\r\nEditGroupe.propTypes = {};\r\n\r\nEditGroupe.defaultProps = {};\r\n\r\nexport default EditGroupe;\r\n","C:\\projects\\GYM-FRONTEND-ADMIN\\src\\main\\messages\\bookingMessage.js",[],"C:\\projects\\GYM-FRONTEND-ADMIN\\src\\modules\\BookingModule\\AddBooking\\AddBooking.js",["635"],"import React from 'react';\r\nimport PropTypes from 'prop-types';\r\nimport './AddBooking.css';\r\n\r\nconst AddBooking = () => (\r\n
\r\n AddBooking Component\r\n
\r\n);\r\n\r\nAddBooking.propTypes = {};\r\n\r\nAddBooking.defaultProps = {};\r\n\r\nexport default AddBooking;\r\n","C:\\projects\\GYM-FRONTEND-ADMIN\\src\\modules\\courseModule\\EditCourse\\EditCourse.js",["636"],"import React from 'react';\r\nimport PropTypes from 'prop-types';\r\nimport './EditCourse.css';\r\n\r\nconst EditCourse = () => (\r\n
\r\n EditCourse Component\r\n
\r\n);\r\n\r\nEditCourse.propTypes = {};\r\n\r\nEditCourse.defaultProps = {};\r\n\r\nexport default EditCourse;\r\n",["637","638"],"C:\\projects\\GYM-FRONTEND-ADMIN\\src\\main\\messages\\staffMessage.js",[],"C:\\projects\\GYM-FRONTEND-ADMIN\\src\\main\\mocks\\RevenueTestService.js",["639"],"const _revenue = [{ \"revenue\": \"Cours de dance\", \"amount\": \"4432\" }]\r\n\r\nconst getAll = () => {\r\n return _revenue;\r\n};\r\n\r\nconst get = id => {\r\n return _revenue.find(item => item.id === id);\r\n};\r\n\r\nconst create = (data) => {\r\n _revenue.push(data);\r\n};\r\n\r\nconst update = (old, data) => {\r\n\r\n var foundIndex = _revenue.findIndex(item => item === old);\r\n _revenue[foundIndex] = data;\r\n};\r\n\r\nconst remove = id => {\r\n _revenue.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\\GYM-FRONTEND-ADMIN\\src\\main\\validations\\revenueValidation.js",[],"C:\\projects\\GYM-FRONTEND-ADMIN\\src\\main\\mocks\\TypeSubTestService.js",["640"],"const _typeSub = []\r\n\r\nconst getAll = () => {\r\n return _typeSub;\r\n};\r\n\r\nconst get = id => {\r\n return _typeSub.find(item => item.id === id);\r\n};\r\n\r\nconst create = (data) => {\r\n _typeSub.push(data);\r\n};\r\n\r\nconst update = (old, data) => {\r\n\r\n var foundIndex = _typeSub.findIndex(item => item === old);\r\n _typeSub[foundIndex] = data;\r\n};\r\n\r\nconst remove = id => {\r\n _typeSub.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\\GYM-FRONTEND-ADMIN\\src\\modules\\ActivityModule\\AddActivity\\AddActivity.js",["641"],"\r\nimport React, { useState } from 'react';\r\nimport './AddActivity.css';\r\nimport { useForm } from 'react-hook-form';\r\nimport showMessage from '../../../libraries/messages/messages'\r\nimport activityMessage from '../../../main/messages/activityMessage'\r\nimport activityValidation from '../../../main/validations/activityValidation'\r\nimport ActivityTestService from '../../../main/mocks/ActivityTestService';\r\nimport HTTPService from '../../../main/services/HTTPService';\r\n\r\nconst AddActivity = () => {\r\n const initialState = {\r\n category: '',\r\n title: '',\r\n member: '',\r\n type: ''\r\n };\r\n\r\n const { register, handleSubmit, errors } = useForm()\r\n const [activity, setActivity] = useState(initialState);\r\n\r\n const onSubmit = (data) => {\r\n //saveActivity(data)\r\n ActivityTestService.create(data)\r\n setActivity(initialState)\r\n showMessage('Confirmation', activityMessage.add, 'success')\r\n }\r\n\r\n const saveActivity = (data) => {\r\n\r\n HTTPService.create(data)\r\n .then(response => {\r\n setActivity(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 setActivity({ ...activity, [name]: value });\r\n };\r\n\r\n\r\n return (\r\n\r\n
\r\n
\r\n\r\n
\r\n \r\n
\r\n \r\n
\r\n {errors.category && activityValidation.category}\r\n
\r\n
\r\n
\r\n\r\n\r\n\r\n
\r\n \r\n
\r\n \r\n
\r\n {errors.title && activityValidation.title}\r\n
\r\n
\r\n
\r\n\r\n\r\n
\r\n \r\n
\r\n \r\n
\r\n {errors.member && activityValidation.member}\r\n
\r\n
\r\n
\r\n\r\n\r\n
\r\n \r\n
\r\n \r\n
\r\n {errors.type && activityValidation.type}\r\n
\r\n
\r\n
\r\n\r\n
\r\n
\r\n \r\n
\r\n
\r\n\r\n\r\n
\r\n
\r\n\r\n\r\n )\r\n};\r\n\r\nAddActivity.propTypes = {};\r\n\r\nAddActivity.defaultProps = {};\r\n\r\nexport default AddActivity;\r\n","C:\\projects\\GYM-FRONTEND-ADMIN\\src\\main\\validations\\memberValidation.js",["642"],"\r\nconst memberValidation = {\r\n first_name: 'Nom doit etre definie',\r\n last_name: 'Prenom doit etre definie',\r\n birth_date: 'Date de naissance doit etre definie',\r\n groupe: 'Groupe doit etre definie',\r\n type: 'Type doit etre definie',\r\n address: 'Adresse doit etre definie',\r\n mobile: 'Telephone doit etre definie',\r\n email: 'Email doit etre definie',\r\n weight: 'Poids doit etre definie',\r\n size: 'Taille doit etre definie',\r\n chest: 'Poitrine doit etre definie',\r\n foot: 'Cuisse doit etre definie',\r\n hand: 'Bras doit etre definie',\r\n fat: 'Graisse doit etre definie',\r\n start_date: 'Date debut doit etre definie',\r\n end_date: 'Date fin doit etre definie',\r\n type: 'Type doit etre definie',\r\n coach: 'Entreneur doit etre definie',\r\n\r\n\r\n\r\n}\r\nexport default memberValidation;","C:\\projects\\GYM-FRONTEND-ADMIN\\src\\main\\urls\\urls.js",[],"C:\\projects\\GYM-FRONTEND-ADMIN\\src\\modules\\eventModule\\Event\\Event.js",["643","644"],"\r\nimport React, { useEffect, useState } from 'react';\r\nimport './Event.css';\r\nimport { LoadJS } from '../../../libraries/datatables/datatables';\r\nimport EditEvent from '../EditEvent/EditEvent';\r\nimport AddEvent from '../AddEvent/AddEvent';\r\nimport useForceUpdate from 'use-force-update';\r\nimport showMessage from '../../../libraries/messages/messages';\r\nimport eventMessage from '../../../main/messages/eventMessage';\r\nimport EventTestService from '../../../main/mocks/EventTestService';\r\nimport HTTPService from '../../../main/services/HTTPService';\r\n\r\nconst Event = () => {\r\n\r\n const [events, setEvents] = useState([]);\r\n const [updatedItem, setUpdatedItem] = useState({});\r\n const forceUpdate = useForceUpdate();\r\n\r\n\r\n useEffect(() => {\r\n LoadJS()\r\n retrieveEvents()\r\n }, []);\r\n\r\n\r\n const getAll = () => {\r\n HTTPService.getAll()\r\n .then(response => {\r\n setEvents(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 retrieveEvents = () => {\r\n var events = EventTestService.getAll();\r\n setEvents(events);\r\n };\r\n\r\n const resfresh = () => {\r\n retrieveEvents()\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 showMessage('Confirmation', eventMessage.delete, 'success')\r\n EventTestService.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 return (\r\n
\r\n
\r\n
\r\n
\r\n
\r\n

Evenement

\r\n
\r\n
\r\n\r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n\r\n\r\n {events.map(item =>\r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n )}\r\n\r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n
Nom de l'evenementDate evenementEndroitHeure de débutHeure de finActions
{item.event_name}{item.event_date}{item.place_id}{item.starttime}{item.endtime}\r\n \r\n \r\n
Nom de l'evenementDate evenementEndroitHeure de débutHeure de finActions
\r\n \r\n\r\n\r\n
\r\n
\r\n
\r\n
\r\n
Nouveau
\r\n \r\n
\r\n
\r\n \r\n
\r\n
\r\n \r\n\r\n
\r\n
\r\n
\r\n
\r\n\r\n\r\n\r\n
\r\n
\r\n
\r\n
\r\n
Edit
\r\n \r\n
\r\n
\r\n \r\n
\r\n
\r\n \r\n\r\n
\r\n
\r\n
\r\n
\r\n\r\n\r\n
\r\n
\r\n
\r\n\r\n
\r\n
\r\n )\r\n};\r\n\r\nEvent.propTypes = {};\r\n\r\nEvent.defaultProps = {};\r\n\r\nexport default Event;\r\n","C:\\projects\\GYM-FRONTEND-ADMIN\\src\\modules\\memberModule\\EditMember\\EditMember.js",["645"],"import React, { useEffect, useState } from 'react';\r\nimport PropTypes from 'prop-types';\r\nimport './EditMember.css';\r\nimport { useForm } from 'react-hook-form';\r\nimport showMessage from '../../../libraries/messages/messages'\r\nimport memberMessage from '../../../main/messages/memberMessage'\r\nimport memberValidation from '../../../main/validations/memberValidation'\r\nimport MemberTestService from '../../../main/mocks/MemberTestService';\r\nconst EditMember = (props) => {\r\n const { register, handleSubmit, errors } = useForm() // initialise the hook\r\n const [member, setMember] = useState(props.member);\r\n\r\n useEffect(() => {\r\n setMember(props.member)\r\n }, [props.member]);\r\n\r\n\r\n const onSubmit = (data) => {\r\n\r\n MemberTestService.update(props.member, data)\r\n showMessage('Confirmation', memberMessage.edit, 'success')\r\n }\r\n\r\n const handleInputChange = event => {\r\n const { name, value } = event.target;\r\n setMember({ ...member, [name]: value });\r\n };\r\n\r\n\r\n return (\r\n
\r\n
\r\n
\r\n \r\n
\r\n \r\n
\r\n {errors.first_name && memberValidation.first_name}\r\n
\r\n
\r\n
\r\n\r\n\r\n
\r\n \r\n
\r\n \r\n
\r\n {errors.last_name && memberValidation.last_name}\r\n
\r\n
\r\n
\r\n\r\n\r\n
\r\n \r\n
\r\n \r\n
\r\n {errors.birth_date && memberValidation.birth_date}\r\n
\r\n
\r\n
\r\n\r\n\r\n
\r\n \r\n
\r\n \r\n
\r\n {errors.groupe && memberValidation.groupe}\r\n
\r\n
\r\n
\r\n\r\n\r\n
\r\n \r\n
\r\n \r\n
\r\n {errors.type && memberValidation.type}\r\n
\r\n
\r\n
\r\n\r\n\r\n\r\n
\r\n \r\n
\r\n \r\n
\r\n {errors.address && memberValidation.address}\r\n
\r\n
\r\n
\r\n\r\n\r\n
\r\n \r\n
\r\n \r\n
\r\n {errors.mobile && memberValidation.mobile}\r\n
\r\n
\r\n
\r\n\r\n\r\n
\r\n \r\n
\r\n \r\n
\r\n {errors.email && memberValidation.email}\r\n
\r\n
\r\n
\r\n\r\n\r\n
\r\n \r\n
\r\n \r\n
\r\n {errors.weight && memberValidation.weight}\r\n
\r\n
\r\n
\r\n\r\n\r\n
\r\n \r\n
\r\n \r\n
\r\n {errors.size && memberValidation.size}\r\n
\r\n
\r\n
\r\n\r\n\r\n
\r\n \r\n
\r\n \r\n
\r\n {errors.chest && memberValidation.chest}\r\n
\r\n
\r\n
\r\n\r\n\r\n
\r\n \r\n
\r\n \r\n
\r\n {errors.foot && memberValidation.foot}\r\n
\r\n
\r\n
\r\n\r\n\r\n
\r\n \r\n
\r\n \r\n
\r\n {errors.hand && memberValidation.hand}\r\n
\r\n
\r\n
\r\n\r\n\r\n
\r\n \r\n
\r\n \r\n
\r\n {errors.fat && memberValidation.fat}\r\n
\r\n
\r\n
\r\n\r\n\r\n
\r\n \r\n
\r\n \r\n
\r\n {errors.start_date && memberValidation.start_date}\r\n
\r\n
\r\n
\r\n\r\n\r\n
\r\n \r\n
\r\n \r\n
\r\n {errors.end_date && memberValidation.end_date}\r\n
\r\n
\r\n
\r\n\r\n\r\n
\r\n \r\n
\r\n \r\n
\r\n {errors.type && memberValidation.type}\r\n
\r\n
\r\n
\r\n\r\n\r\n
\r\n \r\n
\r\n \r\n
\r\n {errors.coach && memberValidation.coach}\r\n
\r\n
\r\n
\r\n\r\n\r\n
\r\n
\r\n \r\n
\r\n
\r\n\r\n\r\n
\r\n
\r\n )\r\n};\r\n\r\nEditMember.propTypes = {};\r\n\r\nEditMember.defaultProps = {};\r\n\r\nexport default EditMember;\r\n","C:\\projects\\GYM-FRONTEND-ADMIN\\src\\main\\mocks\\CourseTestService.js",["646"],"const _course = []\r\n\r\nconst getAll = () => {\r\n return _course;\r\n};\r\n\r\nconst get = id => {\r\n return _course.find(item => item.id === id);\r\n};\r\n\r\nconst create = (data) => {\r\n _course.push(data);\r\n};\r\n\r\nconst update = (old, data) => {\r\n\r\n var foundIndex = _course.findIndex(item => item === old);\r\n _course[foundIndex] = data;\r\n};\r\n\r\nconst remove = id => {\r\n _course.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\\GYM-FRONTEND-ADMIN\\src\\modules\\staffModule\\EditStaff\\EditStaff.js",["647","648"],"import React, { useEffect, useState } from 'react';\r\nimport PropTypes from 'prop-types';\r\nimport './EditStaff.css';\r\nimport staffValidation from '../../../main/validations/staffValidation';\r\nimport { useForm } from 'react-hook-form';\r\nimport StaffTestService from '../../../main/mocks/StaffTestService';\r\nimport showMessage from '../../../libraries/messages/messages';\r\nimport staffMessage from '../../../main/messages/staffMessage';\r\n\r\nconst EditStaff = (props) => {\r\n const { register, handleSubmit, errors } = useForm() // initialise the hook\r\n const [staff, setStaff] = useState(props.staff);\r\n\r\n useEffect(() => {\r\n setStaff(props.staff)\r\n }, [props.staff]);\r\n\r\n\r\n const onSubmit = (data) => {\r\n\r\n StaffTestService.update(props.staff, data)\r\n showMessage('Confirmation', staffMessage.edit, 'success')\r\n }\r\n\r\n\r\n const handleInputChange = event => {\r\n const { name, value } = event.target;\r\n setStaff({ ...staff, [name]: value });\r\n };\r\n\r\n\r\n return (\r\n
\r\n
\r\n\r\n
\r\n \r\n
\r\n \r\n
\r\n {errors.first_name && staffValidation.first_name}\r\n
\r\n
\r\n\r\n
\r\n\r\n\r\n
\r\n \r\n
\r\n \r\n
\r\n {errors.last_name && staffValidation.last_name}\r\n
\r\n
\r\n\r\n
\r\n\r\n\r\n
\r\n \r\n
\r\n \r\n
\r\n {errors.date && staffValidation.date}\r\n
\r\n
\r\n\r\n
\r\n\r\n\r\n
\r\n \r\n
\r\n \r\n
\r\n {errors.role && staffValidation.role}\r\n
\r\n
\r\n\r\n
\r\n\r\n\r\n
\r\n \r\n
\r\n \r\n
\r\n {errors.address && staffValidation.address}\r\n
\r\n
\r\n\r\n
\r\n\r\n
\r\n \r\n
\r\n \r\n
\r\n {errors.email && staffValidation.email}\r\n
\r\n
\r\n\r\n
\r\n\r\n
\r\n \r\n
\r\n \r\n
\r\n {errors.mobile && staffValidation.mobile}\r\n
\r\n
\r\n\r\n
\r\n\r\n\r\n
\r\n
\r\n \r\n
\r\n
\r\n
\r\n
\r\n )\r\n};\r\n\r\nEditStaff.propTypes = {};\r\n\r\nEditStaff.defaultProps = {};\r\n\r\nexport default EditStaff;\r\n","C:\\projects\\GYM-FRONTEND-ADMIN\\src\\main\\mocks\\ExerciceTestService.js",["649"],"const _exercice = []\r\n\r\nconst getAll = () => {\r\n return _exercice;\r\n};\r\n\r\nconst get = id => {\r\n return _exercice.find(item => item.id === id);\r\n};\r\n\r\nconst create = (data) => {\r\n _exercice.push(data);\r\n};\r\n\r\nconst update = (old, data) => {\r\n\r\n var foundIndex = _exercice.findIndex(item => item === old);\r\n _exercice[foundIndex] = data;\r\n};\r\n\r\nconst remove = id => {\r\n _exercice.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\\GYM-FRONTEND-ADMIN\\src\\main\\messages\\groupeMessage.js",[],"C:\\projects\\GYM-FRONTEND-ADMIN\\src\\main\\validations\\staffValidation.js",[],"C:\\projects\\GYM-FRONTEND-ADMIN\\src\\main\\messages\\paymentMessage.js",[],"C:\\projects\\GYM-FRONTEND-ADMIN\\src\\main\\validations\\paymentValidation.js",[],"C:\\projects\\GYM-FRONTEND-ADMIN\\src\\modules\\revenueModule\\EditRevenue\\EditRevenue.js",["650"],"import React, { useEffect, useState } from 'react';\r\nimport PropTypes from 'prop-types';\r\nimport './EditRevenue.css';\r\nimport { useForm } from 'react-hook-form';\r\nimport showMessage from '../../../libraries/messages/messages'\r\nimport revenueMessage from '../../../main/messages/revenueMessage'\r\nimport revenueValidation from '../../../main/validations/revenueValidation'\r\nimport RevenueTestService from '../../../main/mocks/RevenueTestService';\r\n\r\nconst EditRevenue = (props) => {\r\n const { register, handleSubmit, errors } = useForm() // initialise the hook\r\n const [revenue, setRevenue] = useState(props.revenue);\r\n\r\n useEffect(() => {\r\n setRevenue(props.revenue)\r\n }, [props.revenue]);\r\n\r\n\r\n const onSubmit = (data) => {\r\n\r\n RevenueTestService.update(props.revenue, data)\r\n showMessage('Confirmation', revenueMessage.edit, 'success')\r\n }\r\n\r\n const handleInputChange = event => {\r\n const { name, value } = event.target;\r\n setRevenue({ ...revenue, [name]: value });\r\n };\r\n\r\n\r\n return (\r\n
\r\n
\r\n\r\n
\r\n \r\n
\r\n \r\n
\r\n {errors.revenue && revenueValidation.revenue}\r\n
\r\n
\r\n
\r\n\r\n
\r\n \r\n
\r\n \r\n
\r\n {errors.member && revenueValidation.member}\r\n
\r\n
\r\n
\r\n\r\n
\r\n \r\n
\r\n \r\n
\r\n {errors.amount && revenueValidation.amount}\r\n
\r\n
\r\n
\r\n\r\n\r\n
\r\n \r\n
\r\n \r\n
\r\n {errors.date && revenueValidation.date}\r\n
\r\n
\r\n
\r\n\r\n\r\n
\r\n
\r\n \r\n
\r\n
\r\n\r\n\r\n
\r\n\r\n
\r\n )\r\n};\r\n\r\nEditRevenue.propTypes = {};\r\n\r\nEditRevenue.defaultProps = {};\r\n\r\nexport default EditRevenue;\r\n","C:\\projects\\GYM-FRONTEND-ADMIN\\src\\main\\mocks\\GroupeTestService.js",["651"],"const _groupe = [{ \"groupe_name\": \"Groupe salsa\" }]\r\n\r\nconst getAll = () => {\r\n return _groupe;\r\n};\r\n\r\nconst get = id => {\r\n return _groupe.find(item => item.id === id);\r\n};\r\n\r\nconst create = (data) => {\r\n _groupe.push(data);\r\n};\r\n\r\nconst update = (old, data) => {\r\n\r\n var foundIndex = _groupe.findIndex(item => item === old);\r\n _groupe[foundIndex] = data;\r\n};\r\n\r\nconst remove = id => {\r\n _groupe.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\\GYM-FRONTEND-ADMIN\\src\\main\\mocks\\ProductTestService.js",["652"],"const _product = [{ \"product_name\": \"MuscleBlaze Creatine\", \"quantity\": \"4\", \"price\": \"12\" }]\r\n\r\nconst getAll = () => {\r\n return _product;\r\n};\r\n\r\nconst get = id => {\r\n return _product.find(item => item.id === id);\r\n};\r\n\r\nconst create = (data) => {\r\n _product.push(data);\r\n};\r\n\r\nconst update = (old, data) => {\r\n\r\n var foundIndex = _product.findIndex(item => item === old);\r\n _product[foundIndex] = data;\r\n};\r\n\r\nconst remove = id => {\r\n _product.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\\GYM-FRONTEND-ADMIN\\src\\main\\shared\\Login\\Login.js",["653","654","655","656"],"C:\\projects\\GYM-FRONTEND-ADMIN\\src\\main\\config\\user.js",[],"C:\\projects\\GYM-FRONTEND-ADMIN\\src\\main\\shared\\Routes\\Routes.js",["657"],"C:\\projects\\GYM-FRONTEND-ADMIN\\src\\modules\\shared\\Profile\\Profile.js",["658","659","660"],{"ruleId":"661","replacedBy":"662"},{"ruleId":"663","replacedBy":"664"},{"ruleId":"665","severity":1,"message":"666","line":2,"column":8,"nodeType":"667","messageId":"668","endLine":2,"endColumn":17},{"ruleId":"669","severity":1,"message":"670","line":26,"column":11,"nodeType":"671","endLine":26,"endColumn":59},{"ruleId":"672","severity":1,"message":"673","line":26,"column":11,"nodeType":"671","endLine":26,"endColumn":59},{"ruleId":"674","severity":1,"message":"675","line":26,"column":44,"nodeType":"676","messageId":"677","endLine":26,"endColumn":58},{"ruleId":"678","severity":1,"message":"679","line":47,"column":15,"nodeType":"671","endLine":47,"endColumn":175},{"ruleId":"678","severity":1,"message":"679","line":63,"column":15,"nodeType":"671","endLine":63,"endColumn":175},{"ruleId":"672","severity":1,"message":"673","line":72,"column":17,"nodeType":"671","endLine":72,"endColumn":72},{"ruleId":"665","severity":1,"message":"666","line":2,"column":8,"nodeType":"667","messageId":"668","endLine":2,"endColumn":17},{"ruleId":"665","severity":1,"message":"680","line":27,"column":9,"nodeType":"667","messageId":"668","endLine":27,"endColumn":15},{"ruleId":"665","severity":1,"message":"681","line":37,"column":9,"nodeType":"667","messageId":"668","endLine":37,"endColumn":18},{"ruleId":"661","replacedBy":"682"},{"ruleId":"663","replacedBy":"683"},{"ruleId":"665","severity":1,"message":"680","line":25,"column":9,"nodeType":"667","messageId":"668","endLine":25,"endColumn":15},{"ruleId":"665","severity":1,"message":"681","line":35,"column":9,"nodeType":"667","messageId":"668","endLine":35,"endColumn":18},{"ruleId":"661","replacedBy":"684"},{"ruleId":"663","replacedBy":"685"},{"ruleId":"665","severity":1,"message":"680","line":26,"column":9,"nodeType":"667","messageId":"668","endLine":26,"endColumn":15},{"ruleId":"665","severity":1,"message":"681","line":36,"column":9,"nodeType":"667","messageId":"668","endLine":36,"endColumn":18},{"ruleId":"665","severity":1,"message":"680","line":31,"column":9,"nodeType":"667","messageId":"668","endLine":31,"endColumn":15},{"ruleId":"665","severity":1,"message":"681","line":41,"column":9,"nodeType":"667","messageId":"668","endLine":41,"endColumn":18},{"ruleId":"665","severity":1,"message":"666","line":2,"column":8,"nodeType":"667","messageId":"668","endLine":2,"endColumn":17},{"ruleId":"665","severity":1,"message":"680","line":27,"column":9,"nodeType":"667","messageId":"668","endLine":27,"endColumn":15},{"ruleId":"665","severity":1,"message":"681","line":37,"column":9,"nodeType":"667","messageId":"668","endLine":37,"endColumn":18},{"ruleId":"665","severity":1,"message":"686","line":27,"column":9,"nodeType":"667","messageId":"668","endLine":27,"endColumn":19},{"ruleId":"661","replacedBy":"687"},{"ruleId":"663","replacedBy":"688"},{"ruleId":"665","severity":1,"message":"689","line":31,"column":9,"nodeType":"667","messageId":"668","endLine":31,"endColumn":20},{"ruleId":"661","replacedBy":"690"},{"ruleId":"663","replacedBy":"691"},{"ruleId":"692","severity":1,"message":"693","line":33,"column":1,"nodeType":"694","endLine":41,"endColumn":3},{"ruleId":"692","severity":1,"message":"693","line":33,"column":1,"nodeType":"694","endLine":41,"endColumn":3},{"ruleId":"661","replacedBy":"695"},{"ruleId":"663","replacedBy":"696"},{"ruleId":"665","severity":1,"message":"697","line":31,"column":9,"nodeType":"667","messageId":"668","endLine":31,"endColumn":19},{"ruleId":"665","severity":1,"message":"666","line":2,"column":8,"nodeType":"667","messageId":"668","endLine":2,"endColumn":17},{"ruleId":"665","severity":1,"message":"698","line":9,"column":8,"nodeType":"667","messageId":"668","endLine":9,"endColumn":19},{"ruleId":"699","severity":1,"message":"700","line":36,"column":4,"nodeType":"671","endLine":36,"endColumn":107},{"ruleId":"665","severity":1,"message":"701","line":32,"column":9,"nodeType":"667","messageId":"668","endLine":32,"endColumn":18},{"ruleId":"702","severity":1,"message":"703","line":53,"column":47,"nodeType":"704","endLine":53,"endColumn":80},{"ruleId":"665","severity":1,"message":"666","line":2,"column":8,"nodeType":"667","messageId":"668","endLine":2,"endColumn":17},{"ruleId":"665","severity":1,"message":"666","line":2,"column":8,"nodeType":"667","messageId":"668","endLine":2,"endColumn":17},{"ruleId":"699","severity":1,"message":"700","line":35,"column":7,"nodeType":"671","endLine":36,"endColumn":32},{"ruleId":"661","replacedBy":"705"},{"ruleId":"663","replacedBy":"706"},{"ruleId":"665","severity":1,"message":"666","line":2,"column":8,"nodeType":"667","messageId":"668","endLine":2,"endColumn":17},{"ruleId":"665","severity":1,"message":"666","line":2,"column":8,"nodeType":"667","messageId":"668","endLine":2,"endColumn":17},{"ruleId":"665","severity":1,"message":"707","line":11,"column":11,"nodeType":"667","messageId":"668","endLine":11,"endColumn":19},{"ruleId":"665","severity":1,"message":"708","line":11,"column":35,"nodeType":"667","messageId":"668","endLine":11,"endColumn":41},{"ruleId":"665","severity":1,"message":"709","line":25,"column":9,"nodeType":"667","messageId":"668","endLine":25,"endColumn":26},{"ruleId":"699","severity":1,"message":"700","line":33,"column":7,"nodeType":"671","endLine":34,"endColumn":8},{"ruleId":"672","severity":1,"message":"673","line":48,"column":72,"nodeType":"671","endLine":49,"endColumn":29},{"ruleId":"674","severity":1,"message":"675","line":48,"column":80,"nodeType":"676","messageId":"677","endLine":48,"endColumn":100},{"ruleId":"672","severity":1,"message":"710","line":73,"column":13,"nodeType":"671","endLine":73,"endColumn":49},{"ruleId":"672","severity":1,"message":"673","line":97,"column":19,"nodeType":"671","endLine":97,"endColumn":105},{"ruleId":"672","severity":1,"message":"673","line":105,"column":19,"nodeType":"671","endLine":106,"endColumn":16},{"ruleId":"692","severity":1,"message":"693","line":37,"column":1,"nodeType":"694","endLine":45,"endColumn":3},{"ruleId":"665","severity":1,"message":"711","line":5,"column":8,"nodeType":"667","messageId":"668","endLine":5,"endColumn":20},{"ruleId":"665","severity":1,"message":"712","line":6,"column":8,"nodeType":"667","messageId":"668","endLine":6,"endColumn":19},{"ruleId":"665","severity":1,"message":"713","line":15,"column":10,"nodeType":"667","messageId":"668","endLine":15,"endColumn":19},{"ruleId":"665","severity":1,"message":"714","line":16,"column":10,"nodeType":"667","messageId":"668","endLine":16,"endColumn":21},{"ruleId":"665","severity":1,"message":"680","line":26,"column":9,"nodeType":"667","messageId":"668","endLine":26,"endColumn":15},{"ruleId":"665","severity":1,"message":"681","line":36,"column":9,"nodeType":"667","messageId":"668","endLine":36,"endColumn":18},{"ruleId":"665","severity":1,"message":"715","line":58,"column":9,"nodeType":"667","messageId":"668","endLine":58,"endColumn":15},{"ruleId":"665","severity":1,"message":"716","line":70,"column":9,"nodeType":"667","messageId":"668","endLine":70,"endColumn":15},{"ruleId":"665","severity":1,"message":"680","line":26,"column":9,"nodeType":"667","messageId":"668","endLine":26,"endColumn":15},{"ruleId":"665","severity":1,"message":"681","line":36,"column":9,"nodeType":"667","messageId":"668","endLine":36,"endColumn":18},{"ruleId":"665","severity":1,"message":"666","line":2,"column":8,"nodeType":"667","messageId":"668","endLine":2,"endColumn":17},{"ruleId":"665","severity":1,"message":"717","line":5,"column":35,"nodeType":"667","messageId":"668","endLine":5,"endColumn":40},{"ruleId":"665","severity":1,"message":"718","line":7,"column":8,"nodeType":"667","messageId":"668","endLine":7,"endColumn":21},{"ruleId":"665","severity":1,"message":"719","line":8,"column":8,"nodeType":"667","messageId":"668","endLine":8,"endColumn":16},{"ruleId":"665","severity":1,"message":"720","line":10,"column":8,"nodeType":"667","messageId":"668","endLine":10,"endColumn":14},{"ruleId":"665","severity":1,"message":"721","line":11,"column":8,"nodeType":"667","messageId":"668","endLine":11,"endColumn":14},{"ruleId":"665","severity":1,"message":"722","line":12,"column":8,"nodeType":"667","messageId":"668","endLine":12,"endColumn":15},{"ruleId":"665","severity":1,"message":"723","line":13,"column":8,"nodeType":"667","messageId":"668","endLine":13,"endColumn":16},{"ruleId":"665","severity":1,"message":"724","line":14,"column":8,"nodeType":"667","messageId":"668","endLine":14,"endColumn":15},{"ruleId":"665","severity":1,"message":"725","line":15,"column":8,"nodeType":"667","messageId":"668","endLine":15,"endColumn":15},{"ruleId":"665","severity":1,"message":"726","line":16,"column":8,"nodeType":"667","messageId":"668","endLine":16,"endColumn":13},{"ruleId":"665","severity":1,"message":"727","line":17,"column":8,"nodeType":"667","messageId":"668","endLine":17,"endColumn":15},{"ruleId":"665","severity":1,"message":"728","line":18,"column":8,"nodeType":"667","messageId":"668","endLine":18,"endColumn":16},{"ruleId":"665","severity":1,"message":"729","line":19,"column":8,"nodeType":"667","messageId":"668","endLine":19,"endColumn":14},{"ruleId":"665","severity":1,"message":"730","line":21,"column":8,"nodeType":"667","messageId":"668","endLine":21,"endColumn":13},{"ruleId":"665","severity":1,"message":"731","line":22,"column":8,"nodeType":"667","messageId":"668","endLine":22,"endColumn":16},{"ruleId":"665","severity":1,"message":"732","line":25,"column":8,"nodeType":"667","messageId":"668","endLine":25,"endColumn":16},{"ruleId":"665","severity":1,"message":"733","line":26,"column":8,"nodeType":"667","messageId":"668","endLine":26,"endColumn":15},{"ruleId":"665","severity":1,"message":"734","line":2,"column":8,"nodeType":"667","messageId":"668","endLine":2,"endColumn":14},{"ruleId":"735","severity":1,"message":"736","line":15,"column":11,"nodeType":"671","endLine":15,"endColumn":44},{"ruleId":"665","severity":1,"message":"666","line":2,"column":8,"nodeType":"667","messageId":"668","endLine":2,"endColumn":17},{"ruleId":"665","severity":1,"message":"666","line":2,"column":8,"nodeType":"667","messageId":"668","endLine":2,"endColumn":17},{"ruleId":"665","severity":1,"message":"666","line":2,"column":8,"nodeType":"667","messageId":"668","endLine":2,"endColumn":17},{"ruleId":"665","severity":1,"message":"680","line":26,"column":9,"nodeType":"667","messageId":"668","endLine":26,"endColumn":15},{"ruleId":"665","severity":1,"message":"681","line":36,"column":9,"nodeType":"667","messageId":"668","endLine":36,"endColumn":18},{"ruleId":"665","severity":1,"message":"737","line":15,"column":10,"nodeType":"667","messageId":"668","endLine":15,"endColumn":19},{"ruleId":"665","severity":1,"message":"680","line":26,"column":9,"nodeType":"667","messageId":"668","endLine":26,"endColumn":15},{"ruleId":"665","severity":1,"message":"681","line":36,"column":9,"nodeType":"667","messageId":"668","endLine":36,"endColumn":18},{"ruleId":"665","severity":1,"message":"715","line":58,"column":9,"nodeType":"667","messageId":"668","endLine":58,"endColumn":15},{"ruleId":"665","severity":1,"message":"716","line":70,"column":9,"nodeType":"667","messageId":"668","endLine":70,"endColumn":15},{"ruleId":"665","severity":1,"message":"738","line":5,"column":8,"nodeType":"667","messageId":"668","endLine":5,"endColumn":19},{"ruleId":"665","severity":1,"message":"739","line":15,"column":10,"nodeType":"667","messageId":"668","endLine":15,"endColumn":18},{"ruleId":"665","severity":1,"message":"714","line":16,"column":10,"nodeType":"667","messageId":"668","endLine":16,"endColumn":21},{"ruleId":"665","severity":1,"message":"680","line":26,"column":9,"nodeType":"667","messageId":"668","endLine":26,"endColumn":15},{"ruleId":"665","severity":1,"message":"681","line":36,"column":9,"nodeType":"667","messageId":"668","endLine":36,"endColumn":18},{"ruleId":"665","severity":1,"message":"715","line":58,"column":9,"nodeType":"667","messageId":"668","endLine":58,"endColumn":15},{"ruleId":"665","severity":1,"message":"716","line":70,"column":9,"nodeType":"667","messageId":"668","endLine":70,"endColumn":15},{"ruleId":"665","severity":1,"message":"666","line":2,"column":8,"nodeType":"667","messageId":"668","endLine":2,"endColumn":17},{"ruleId":"661","replacedBy":"740"},{"ruleId":"663","replacedBy":"741"},{"ruleId":"692","severity":1,"message":"693","line":33,"column":1,"nodeType":"694","endLine":41,"endColumn":3},{"ruleId":"692","severity":1,"message":"693","line":39,"column":1,"nodeType":"694","endLine":47,"endColumn":3},{"ruleId":"692","severity":1,"message":"693","line":32,"column":1,"nodeType":"694","endLine":40,"endColumn":3},{"ruleId":"665","severity":1,"message":"666","line":2,"column":8,"nodeType":"667","messageId":"668","endLine":2,"endColumn":17},{"ruleId":"665","severity":1,"message":"666","line":2,"column":8,"nodeType":"667","messageId":"668","endLine":2,"endColumn":17},{"ruleId":"665","severity":1,"message":"742","line":31,"column":8,"nodeType":"667","messageId":"668","endLine":31,"endColumn":19},{"ruleId":"699","severity":1,"message":"700","line":51,"column":4,"nodeType":"671","endLine":51,"endColumn":107},{"ruleId":"665","severity":1,"message":"666","line":2,"column":8,"nodeType":"667","messageId":"668","endLine":2,"endColumn":17},{"ruleId":"665","severity":1,"message":"743","line":28,"column":9,"nodeType":"667","messageId":"668","endLine":28,"endColumn":20},{"ruleId":"692","severity":1,"message":"693","line":33,"column":1,"nodeType":"694","endLine":41,"endColumn":3},{"ruleId":"665","severity":1,"message":"680","line":27,"column":9,"nodeType":"667","messageId":"668","endLine":27,"endColumn":15},{"ruleId":"665","severity":1,"message":"681","line":37,"column":9,"nodeType":"667","messageId":"668","endLine":37,"endColumn":18},{"ruleId":"665","severity":1,"message":"707","line":20,"column":11,"nodeType":"667","messageId":"668","endLine":20,"endColumn":19},{"ruleId":"665","severity":1,"message":"708","line":20,"column":35,"nodeType":"667","messageId":"668","endLine":20,"endColumn":41},{"ruleId":"665","severity":1,"message":"744","line":30,"column":9,"nodeType":"667","messageId":"668","endLine":30,"endColumn":21},{"ruleId":"665","severity":1,"message":"709","line":43,"column":9,"nodeType":"667","messageId":"668","endLine":43,"endColumn":26},{"ruleId":"699","severity":1,"message":"700","line":51,"column":7,"nodeType":"671","endLine":52,"endColumn":8},{"ruleId":"672","severity":1,"message":"673","line":66,"column":72,"nodeType":"671","endLine":67,"endColumn":29},{"ruleId":"674","severity":1,"message":"675","line":66,"column":80,"nodeType":"676","messageId":"677","endLine":66,"endColumn":100},{"ruleId":"672","severity":1,"message":"710","line":91,"column":13,"nodeType":"671","endLine":91,"endColumn":49},{"ruleId":"672","severity":1,"message":"673","line":115,"column":19,"nodeType":"671","endLine":115,"endColumn":105},{"ruleId":"672","severity":1,"message":"673","line":123,"column":19,"nodeType":"671","endLine":124,"endColumn":16},{"ruleId":"692","severity":1,"message":"693","line":33,"column":1,"nodeType":"694","endLine":41,"endColumn":3},{"ruleId":"665","severity":1,"message":"745","line":30,"column":9,"nodeType":"667","messageId":"668","endLine":30,"endColumn":18},{"ruleId":"699","severity":1,"message":"700","line":49,"column":7,"nodeType":"671","endLine":50,"endColumn":32},{"ruleId":"661","replacedBy":"746"},{"ruleId":"663","replacedBy":"747"},{"ruleId":"665","severity":1,"message":"666","line":2,"column":8,"nodeType":"667","messageId":"668","endLine":2,"endColumn":17},{"ruleId":"661","replacedBy":"748"},{"ruleId":"663","replacedBy":"749"},{"ruleId":"665","severity":1,"message":"750","line":32,"column":9,"nodeType":"667","messageId":"668","endLine":32,"endColumn":16},{"ruleId":"665","severity":1,"message":"666","line":2,"column":8,"nodeType":"667","messageId":"668","endLine":2,"endColumn":17},{"ruleId":"665","severity":1,"message":"751","line":6,"column":8,"nodeType":"667","messageId":"668","endLine":6,"endColumn":19},{"ruleId":"665","severity":1,"message":"680","line":27,"column":9,"nodeType":"667","messageId":"668","endLine":27,"endColumn":15},{"ruleId":"665","severity":1,"message":"681","line":37,"column":9,"nodeType":"667","messageId":"668","endLine":37,"endColumn":18},{"ruleId":"665","severity":1,"message":"752","line":6,"column":8,"nodeType":"667","messageId":"668","endLine":6,"endColumn":17},{"ruleId":"665","severity":1,"message":"753","line":15,"column":10,"nodeType":"667","messageId":"668","endLine":15,"endColumn":17},{"ruleId":"665","severity":1,"message":"680","line":26,"column":9,"nodeType":"667","messageId":"668","endLine":26,"endColumn":15},{"ruleId":"665","severity":1,"message":"681","line":36,"column":9,"nodeType":"667","messageId":"668","endLine":36,"endColumn":18},{"ruleId":"665","severity":1,"message":"715","line":58,"column":9,"nodeType":"667","messageId":"668","endLine":58,"endColumn":15},{"ruleId":"665","severity":1,"message":"716","line":70,"column":9,"nodeType":"667","messageId":"668","endLine":70,"endColumn":15},{"ruleId":"692","severity":1,"message":"693","line":37,"column":1,"nodeType":"694","endLine":45,"endColumn":3},{"ruleId":"665","severity":1,"message":"754","line":31,"column":9,"nodeType":"667","messageId":"668","endLine":31,"endColumn":20},{"ruleId":"665","severity":1,"message":"666","line":2,"column":8,"nodeType":"667","messageId":"668","endLine":2,"endColumn":17},{"ruleId":"665","severity":1,"message":"755","line":20,"column":9,"nodeType":"667","messageId":"668","endLine":20,"endColumn":16},{"ruleId":"665","severity":1,"message":"756","line":1,"column":8,"nodeType":"667","messageId":"668","endLine":1,"endColumn":12},{"ruleId":"665","severity":1,"message":"666","line":2,"column":8,"nodeType":"667","messageId":"668","endLine":2,"endColumn":17},{"ruleId":"665","severity":1,"message":"666","line":2,"column":8,"nodeType":"667","messageId":"668","endLine":2,"endColumn":17},{"ruleId":"665","severity":1,"message":"666","line":2,"column":8,"nodeType":"667","messageId":"668","endLine":2,"endColumn":17},{"ruleId":"661","replacedBy":"757"},{"ruleId":"663","replacedBy":"758"},{"ruleId":"692","severity":1,"message":"693","line":33,"column":1,"nodeType":"694","endLine":41,"endColumn":3},{"ruleId":"692","severity":1,"message":"693","line":33,"column":1,"nodeType":"694","endLine":41,"endColumn":3},{"ruleId":"665","severity":1,"message":"759","line":29,"column":9,"nodeType":"667","messageId":"668","endLine":29,"endColumn":21},{"ruleId":"760","severity":1,"message":"761","line":19,"column":5,"nodeType":"762","messageId":"763","endLine":19,"endColumn":9},{"ruleId":"665","severity":1,"message":"680","line":26,"column":9,"nodeType":"667","messageId":"668","endLine":26,"endColumn":15},{"ruleId":"665","severity":1,"message":"681","line":36,"column":9,"nodeType":"667","messageId":"668","endLine":36,"endColumn":18},{"ruleId":"665","severity":1,"message":"666","line":2,"column":8,"nodeType":"667","messageId":"668","endLine":2,"endColumn":17},{"ruleId":"692","severity":1,"message":"693","line":33,"column":1,"nodeType":"694","endLine":41,"endColumn":3},{"ruleId":"665","severity":1,"message":"666","line":2,"column":8,"nodeType":"667","messageId":"668","endLine":2,"endColumn":17},{"ruleId":"702","severity":1,"message":"703","line":34,"column":47,"nodeType":"704","endLine":34,"endColumn":80},{"ruleId":"692","severity":1,"message":"693","line":33,"column":1,"nodeType":"694","endLine":41,"endColumn":3},{"ruleId":"665","severity":1,"message":"666","line":2,"column":8,"nodeType":"667","messageId":"668","endLine":2,"endColumn":17},{"ruleId":"692","severity":1,"message":"693","line":33,"column":1,"nodeType":"694","endLine":41,"endColumn":3},{"ruleId":"692","severity":1,"message":"693","line":33,"column":1,"nodeType":"694","endLine":41,"endColumn":3},{"ruleId":"665","severity":1,"message":"666","line":2,"column":8,"nodeType":"667","messageId":"668","endLine":2,"endColumn":17},{"ruleId":"665","severity":1,"message":"707","line":10,"column":11,"nodeType":"667","messageId":"668","endLine":10,"endColumn":19},{"ruleId":"665","severity":1,"message":"708","line":10,"column":35,"nodeType":"667","messageId":"668","endLine":10,"endColumn":41},{"ruleId":"735","severity":1,"message":"736","line":25,"column":15,"nodeType":"671","endLine":25,"endColumn":48},{"ruleId":"665","severity":1,"message":"666","line":2,"column":8,"nodeType":"667","messageId":"668","endLine":2,"endColumn":17},{"ruleId":"665","severity":1,"message":"666","line":2,"column":8,"nodeType":"667","messageId":"668","endLine":2,"endColumn":17},{"ruleId":"764","severity":1,"message":"765","line":16,"column":15,"nodeType":"671","endLine":16,"endColumn":170},{"ruleId":"764","severity":1,"message":"765","line":19,"column":15,"nodeType":"671","endLine":19,"endColumn":81},"no-native-reassign",["766"],"no-negated-in-lhs",["767"],"no-unused-vars","'PropTypes' is defined but never used.","Identifier","unusedVar","jsx-a11y/anchor-has-content","Anchors must have content and the content must be accessible by a screen reader.","JSXOpeningElement","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","no-script-url","Script URL is a form of eval.","Literal","unexpectedScriptURL","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.","'getAll' is assigned a value but never used.","'removeOne' is assigned a value but never used.",["766"],["767"],["766"],["767"],"'saveGroupe' is assigned a value but never used.",["766"],["767"],"'savePayment' is assigned a value but never used.",["766"],["767"],"import/no-anonymous-default-export","Assign object to a variable before exporting as module default","ExportDefaultDeclaration",["766"],["767"],"'saveMember' is assigned a value but never used.","'HTTPService' is defined but never used.","jsx-a11y/no-redundant-roles","The element form has an implicit role of form. Defining this explicitly is redundant and should be avoided.","'saveStaff' is assigned a value but never used.","react/jsx-no-duplicate-props","No duplicate props allowed","JSXAttribute",["766"],["767"],"'register' is assigned a value but never used.","'errors' is assigned a value but never used.","'handleInputChange' is assigned a value but never used.","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","'EditPresence' is defined but never used.","'AddPresence' is defined but never used.","'presences' is assigned a value but never used.","'updatedItem' is assigned a value but never used.","'remove' is assigned a value but never used.","'update' is assigned a value but never used.","'Route' is defined but never used.","'Configuration' is defined but never used.","'Dashbord' is defined but never used.","'Groupe' is defined but never used.","'Member' is defined but never used.","'Payment' is defined but never used.","'Presence' is defined but never used.","'Product' is defined but never used.","'Revenue' is defined but never used.","'Staff' is defined but never used.","'Expense' is defined but never used.","'Exercice' is defined but never used.","'Course' is defined but never used.","'Event' is defined but never used.","'TypeSubs' is defined but never used.","'Activity' is defined but never used.","'Booking' is defined but never used.","'Header' is defined but never used.","jsx-a11y/alt-text","img elements must have an alt prop, either with meaningful text, or an empty string for decorative images.","'exercices' is assigned a value but never used.","'EditBooking' is defined but never used.","'bookings' is assigned a value but never used.",["766"],["767"],"'saveProduct' is assigned a value but never used.","'saveExpense' is assigned a value but never used.","'saveExercice' is assigned a value but never used.","'saveEvent' is assigned a value but never used.",["766"],["767"],["766"],["767"],"'saveJob' is assigned a value but never used.","'EditPayment' is defined but never used.","'AddCourse' is defined but never used.","'courses' is assigned a value but never used.","'saveRevenue' is assigned a value but never used.","'myChart' is assigned a value but never used.","'logo' is defined but never used.",["766"],["767"],"'saveActivity' is assigned a value but never used.","no-dupe-keys","Duplicate key 'type'.","ObjectExpression","unexpected","jsx-a11y/img-redundant-alt","Redundant alt attribute. Screen-readers already announce `img` tags as an image. You don’t need to use the words `image`, `photo,` or `picture` (or any specified custom words) in the alt prop.","no-global-assign","no-unsafe-negation"] \ No newline at end of file +[{"C:\\projects\\GYM-FRONTEND-ADMIN\\src\\index.js":"1","C:\\projects\\GYM-FRONTEND-ADMIN\\src\\main\\shared\\Root\\Root.js":"2","C:\\projects\\GYM-FRONTEND-ADMIN\\src\\main\\shared\\Header\\Header.js":"3","C:\\projects\\GYM-FRONTEND-ADMIN\\src\\modules\\groupeModule\\Groupe\\Groupe.js":"4","C:\\projects\\GYM-FRONTEND-ADMIN\\src\\modules\\memberModule\\Member\\Member.js":"5","C:\\projects\\GYM-FRONTEND-ADMIN\\src\\modules\\productModule\\Product\\Product.js":"6","C:\\projects\\GYM-FRONTEND-ADMIN\\src\\modules\\ActivityModule\\Activity\\Activity.js":"7","C:\\projects\\GYM-FRONTEND-ADMIN\\src\\modules\\expenseModule\\Expense\\Expense.js":"8","C:\\projects\\GYM-FRONTEND-ADMIN\\src\\modules\\groupeModule\\AddGroupe\\AddGroupe.js":"9","C:\\projects\\GYM-FRONTEND-ADMIN\\src\\main\\messages\\presenceMessage.js":"10","C:\\projects\\GYM-FRONTEND-ADMIN\\src\\modules\\paymentModule\\AddPayment\\AddPayment.js":"11","C:\\projects\\GYM-FRONTEND-ADMIN\\src\\main\\messages\\eventMessage.js":"12","C:\\projects\\GYM-FRONTEND-ADMIN\\src\\main\\mocks\\PaymentTestService.js":"13","C:\\projects\\GYM-FRONTEND-ADMIN\\src\\main\\mocks\\BookingTestService.js":"14","C:\\projects\\GYM-FRONTEND-ADMIN\\src\\modules\\memberModule\\AddMember\\AddMember.js":"15","C:\\projects\\GYM-FRONTEND-ADMIN\\src\\modules\\productModule\\EditProduct\\EditProduct.js":"16","C:\\projects\\GYM-FRONTEND-ADMIN\\src\\modules\\staffModule\\AddStaff\\AddStaff.js":"17","C:\\projects\\GYM-FRONTEND-ADMIN\\src\\modules\\expenseModule\\EditExpense\\EditExpense.js":"18","C:\\projects\\GYM-FRONTEND-ADMIN\\src\\modules\\eventModule\\EditEvent\\EditEvent.js":"19","C:\\projects\\GYM-FRONTEND-ADMIN\\src\\libraries\\datatables\\datatables.js":"20","C:\\projects\\GYM-FRONTEND-ADMIN\\src\\modules\\ActivityModule\\EditActivity\\EditActivity.js":"21","C:\\projects\\GYM-FRONTEND-ADMIN\\src\\main\\messages\\courseMessage.js":"22","C:\\projects\\GYM-FRONTEND-ADMIN\\src\\modules\\exerciceModule\\EditExercice\\EditExercice.js":"23","C:\\projects\\GYM-FRONTEND-ADMIN\\src\\main\\messages\\revenueMessage.js":"24","C:\\projects\\GYM-FRONTEND-ADMIN\\src\\main\\mocks\\MemberTestService.js":"25","C:\\projects\\GYM-FRONTEND-ADMIN\\src\\main\\validations\\expenseValidations.js":"26","C:\\projects\\GYM-FRONTEND-ADMIN\\src\\modules\\presenceModule\\Presence\\Presence.js":"27","C:\\projects\\GYM-FRONTEND-ADMIN\\src\\modules\\staffModule\\Staff\\Staff.js":"28","C:\\projects\\GYM-FRONTEND-ADMIN\\src\\main\\shared\\Content\\Content.js":"29","C:\\projects\\GYM-FRONTEND-ADMIN\\src\\main\\shared\\Navigation\\Navigation.js":"30","C:\\projects\\GYM-FRONTEND-ADMIN\\src\\main\\shared\\Footer\\Footer.js":"31","C:\\projects\\GYM-FRONTEND-ADMIN\\src\\modules\\shared\\Configuration\\Configuration.js":"32","C:\\projects\\GYM-FRONTEND-ADMIN\\src\\modules\\shared\\DashBoard\\DashBoard.js":"33","C:\\projects\\GYM-FRONTEND-ADMIN\\src\\modules\\paymentModule\\Payment\\Payment.js":"34","C:\\projects\\GYM-FRONTEND-ADMIN\\src\\modules\\exerciceModule\\Exercice\\Exercice.js":"35","C:\\projects\\GYM-FRONTEND-ADMIN\\src\\modules\\BookingModule\\Booking\\Booking.js":"36","C:\\projects\\GYM-FRONTEND-ADMIN\\src\\modules\\paymentModule\\EditPayment\\EditPayment.js":"37","C:\\projects\\GYM-FRONTEND-ADMIN\\src\\main\\messages\\productMessage.js":"38","C:\\projects\\GYM-FRONTEND-ADMIN\\src\\main\\mocks\\PresenceTestService.js":"39","C:\\projects\\GYM-FRONTEND-ADMIN\\src\\main\\mocks\\EventTestService.js":"40","C:\\projects\\GYM-FRONTEND-ADMIN\\src\\main\\services\\HTTPService.js":"41","C:\\projects\\GYM-FRONTEND-ADMIN\\src\\modules\\presenceModule\\EditPresence\\EditPresence.js":"42","C:\\projects\\GYM-FRONTEND-ADMIN\\src\\modules\\presenceModule\\AddPresence\\AddPresence.js":"43","C:\\projects\\GYM-FRONTEND-ADMIN\\src\\modules\\productModule\\AddProduct\\AddProduct.js":"44","C:\\projects\\GYM-FRONTEND-ADMIN\\src\\modules\\courseModule\\AddCourse\\AddCourse.js":"45","C:\\projects\\GYM-FRONTEND-ADMIN\\src\\libraries\\messages\\messages.js":"46","C:\\projects\\GYM-FRONTEND-ADMIN\\src\\main\\messages\\activityMessage.js":"47","C:\\projects\\GYM-FRONTEND-ADMIN\\src\\modules\\expenseModule\\AddExpense\\AddExpense.js":"48","C:\\projects\\GYM-FRONTEND-ADMIN\\src\\libraries\\axios\\axios.js":"49","C:\\projects\\GYM-FRONTEND-ADMIN\\src\\main\\mocks\\ExpenseTestService.js":"50","C:\\projects\\GYM-FRONTEND-ADMIN\\src\\modules\\typesubsModule\\ViewTypeSubs\\TypeSubs\\TypeSubs.js":"51","C:\\projects\\GYM-FRONTEND-ADMIN\\src\\modules\\exerciceModule\\AddExercice\\AddExercice.js":"52","C:\\projects\\GYM-FRONTEND-ADMIN\\src\\main\\mocks\\ActivityTestService.js":"53","C:\\projects\\GYM-FRONTEND-ADMIN\\src\\main\\validations\\activityValidation.js":"54","C:\\projects\\GYM-FRONTEND-ADMIN\\src\\modules\\eventModule\\AddEvent\\AddEvent.js":"55","C:\\projects\\GYM-FRONTEND-ADMIN\\src\\main\\validations\\groupeValidation.js":"56","C:\\projects\\GYM-FRONTEND-ADMIN\\src\\modules\\typesubsModule\\ViewTypeSubs\\EditTypeSubs\\EditTypeSubs.js":"57","C:\\projects\\GYM-FRONTEND-ADMIN\\src\\modules\\typesubsModule\\ViewTypeSubs\\AddTypeSubs\\AddTypeSubs.js":"58","C:\\projects\\GYM-FRONTEND-ADMIN\\src\\reportWebVitals.js":"59","C:\\projects\\GYM-FRONTEND-ADMIN\\src\\modules\\revenueModule\\Revenue\\Revenue.js":"60","C:\\projects\\GYM-FRONTEND-ADMIN\\src\\modules\\courseModule\\Course\\Course.js":"61","C:\\projects\\GYM-FRONTEND-ADMIN\\src\\main\\messages\\typeSubMessage .js":"62","C:\\projects\\GYM-FRONTEND-ADMIN\\src\\main\\mocks\\StaffTestService.js":"63","C:\\projects\\GYM-FRONTEND-ADMIN\\src\\modules\\revenueModule\\AddRevenue\\AddRevenue.js":"64","C:\\projects\\GYM-FRONTEND-ADMIN\\src\\modules\\BookingModule\\EditBooking\\EditBooking.js":"65","C:\\projects\\GYM-FRONTEND-ADMIN\\src\\libraries\\chart\\chart.js":"66","C:\\projects\\GYM-FRONTEND-ADMIN\\src\\main\\messages\\exerciceMessage.js":"67","C:\\projects\\GYM-FRONTEND-ADMIN\\src\\main\\messages\\memberMessage.js":"68","C:\\projects\\GYM-FRONTEND-ADMIN\\src\\main\\validations\\typeSubValidation.js":"69","C:\\projects\\GYM-FRONTEND-ADMIN\\src\\main\\validations\\productValidation.js":"70","C:\\projects\\GYM-FRONTEND-ADMIN\\src\\main\\validations\\eventValidation.js":"71","C:\\projects\\GYM-FRONTEND-ADMIN\\src\\main\\validations\\exerciceValidation.js":"72","C:\\projects\\GYM-FRONTEND-ADMIN\\src\\main\\messages\\expenseMessage.js":"73","C:\\projects\\GYM-FRONTEND-ADMIN\\src\\App.js":"74","C:\\projects\\GYM-FRONTEND-ADMIN\\src\\modules\\groupeModule\\EditGroupe\\EditGroupe.js":"75","C:\\projects\\GYM-FRONTEND-ADMIN\\src\\main\\messages\\bookingMessage.js":"76","C:\\projects\\GYM-FRONTEND-ADMIN\\src\\modules\\BookingModule\\AddBooking\\AddBooking.js":"77","C:\\projects\\GYM-FRONTEND-ADMIN\\src\\modules\\courseModule\\EditCourse\\EditCourse.js":"78","C:\\projects\\GYM-FRONTEND-ADMIN\\src\\main\\messages\\staffMessage.js":"79","C:\\projects\\GYM-FRONTEND-ADMIN\\src\\main\\mocks\\RevenueTestService.js":"80","C:\\projects\\GYM-FRONTEND-ADMIN\\src\\main\\validations\\revenueValidation.js":"81","C:\\projects\\GYM-FRONTEND-ADMIN\\src\\main\\mocks\\TypeSubTestService.js":"82","C:\\projects\\GYM-FRONTEND-ADMIN\\src\\modules\\ActivityModule\\AddActivity\\AddActivity.js":"83","C:\\projects\\GYM-FRONTEND-ADMIN\\src\\main\\validations\\memberValidation.js":"84","C:\\projects\\GYM-FRONTEND-ADMIN\\src\\main\\urls\\urls.js":"85","C:\\projects\\GYM-FRONTEND-ADMIN\\src\\modules\\eventModule\\Event\\Event.js":"86","C:\\projects\\GYM-FRONTEND-ADMIN\\src\\modules\\memberModule\\EditMember\\EditMember.js":"87","C:\\projects\\GYM-FRONTEND-ADMIN\\src\\main\\mocks\\CourseTestService.js":"88","C:\\projects\\GYM-FRONTEND-ADMIN\\src\\modules\\staffModule\\EditStaff\\EditStaff.js":"89","C:\\projects\\GYM-FRONTEND-ADMIN\\src\\main\\mocks\\ExerciceTestService.js":"90","C:\\projects\\GYM-FRONTEND-ADMIN\\src\\main\\messages\\groupeMessage.js":"91","C:\\projects\\GYM-FRONTEND-ADMIN\\src\\main\\validations\\staffValidation.js":"92","C:\\projects\\GYM-FRONTEND-ADMIN\\src\\main\\messages\\paymentMessage.js":"93","C:\\projects\\GYM-FRONTEND-ADMIN\\src\\main\\validations\\paymentValidation.js":"94","C:\\projects\\GYM-FRONTEND-ADMIN\\src\\modules\\revenueModule\\EditRevenue\\EditRevenue.js":"95","C:\\projects\\GYM-FRONTEND-ADMIN\\src\\main\\mocks\\GroupeTestService.js":"96","C:\\projects\\GYM-FRONTEND-ADMIN\\src\\main\\mocks\\ProductTestService.js":"97","C:\\projects\\GYM-FRONTEND-ADMIN\\src\\main\\shared\\Login\\Login.js":"98","C:\\projects\\GYM-FRONTEND-ADMIN\\src\\main\\config\\user.js":"99","C:\\projects\\GYM-FRONTEND-ADMIN\\src\\main\\shared\\Routes\\Routes.js":"100","C:\\projects\\GYM-FRONTEND-ADMIN\\src\\modules\\shared\\Profile\\Profile.js":"101","C:\\projects\\GYM-FRONTEND-ADMIN\\src\\modules\\shared\\ConfigurationContent\\ConfigurationContent.js":"102"},{"size":517,"mtime":1613156226837,"results":"103","hashOfConfig":"104"},{"size":393,"mtime":1617692000689,"results":"105","hashOfConfig":"104"},{"size":4067,"mtime":1617815900293,"results":"106","hashOfConfig":"104"},{"size":5934,"mtime":1617694919492,"results":"107","hashOfConfig":"104"},{"size":6329,"mtime":1617696426160,"results":"108","hashOfConfig":"104"},{"size":6026,"mtime":1617716517508,"results":"109","hashOfConfig":"104"},{"size":7318,"mtime":1613754059465,"results":"110","hashOfConfig":"104"},{"size":5921,"mtime":1617689956425,"results":"111","hashOfConfig":"104"},{"size":2157,"mtime":1613720887677,"results":"112","hashOfConfig":"104"},{"size":249,"mtime":1613228625853,"results":"113","hashOfConfig":"104"},{"size":4109,"mtime":1613722587155,"results":"114","hashOfConfig":"104"},{"size":222,"mtime":1613752701257,"results":"115","hashOfConfig":"104"},{"size":601,"mtime":1613230010688,"results":"116","hashOfConfig":"104"},{"size":601,"mtime":1613230010763,"results":"117","hashOfConfig":"104"},{"size":11217,"mtime":1613634102236,"results":"118","hashOfConfig":"104"},{"size":3459,"mtime":1613752881315,"results":"119","hashOfConfig":"104"},{"size":5321,"mtime":1617694259638,"results":"120","hashOfConfig":"104"},{"size":2958,"mtime":1613722967695,"results":"121","hashOfConfig":"104"},{"size":4765,"mtime":1613722967771,"results":"122","hashOfConfig":"104"},{"size":1312,"mtime":1613147732470,"results":"123","hashOfConfig":"104"},{"size":3921,"mtime":1613752840136,"results":"124","hashOfConfig":"104"},{"size":215,"mtime":1613752701257,"results":"125","hashOfConfig":"104"},{"size":4838,"mtime":1613722879756,"results":"126","hashOfConfig":"104"},{"size":223,"mtime":1613752701262,"results":"127","hashOfConfig":"104"},{"size":736,"mtime":1617696390739,"results":"128","hashOfConfig":"104"},{"size":196,"mtime":1613752701262,"results":"129","hashOfConfig":"104"},{"size":3130,"mtime":1617693507217,"results":"130","hashOfConfig":"104"},{"size":6236,"mtime":1617694168570,"results":"131","hashOfConfig":"104"},{"size":2297,"mtime":1617815912464,"results":"132","hashOfConfig":"104"},{"size":3374,"mtime":1617814649730,"results":"133","hashOfConfig":"104"},{"size":732,"mtime":1617788478658,"results":"134","hashOfConfig":"104"},{"size":2723,"mtime":1613156226886,"results":"135","hashOfConfig":"104"},{"size":5562,"mtime":1613156226886,"results":"136","hashOfConfig":"104"},{"size":7251,"mtime":1613754059964,"results":"137","hashOfConfig":"104"},{"size":5556,"mtime":1613754059599,"results":"138","hashOfConfig":"104"},{"size":3681,"mtime":1613754060365,"results":"139","hashOfConfig":"104"},{"size":3821,"mtime":1613722594923,"results":"140","hashOfConfig":"104"},{"size":223,"mtime":1613752701262,"results":"141","hashOfConfig":"104"},{"size":608,"mtime":1613230010688,"results":"142","hashOfConfig":"104"},{"size":763,"mtime":1617692670668,"results":"143","hashOfConfig":"104"},{"size":798,"mtime":1613147732478,"results":"144","hashOfConfig":"104"},{"size":302,"mtime":1613156226877,"results":"145","hashOfConfig":"104"},{"size":295,"mtime":1613156226876,"results":"146","hashOfConfig":"104"},{"size":3560,"mtime":1613753165553,"results":"147","hashOfConfig":"104"},{"size":281,"mtime":1613156226852,"results":"148","hashOfConfig":"104"},{"size":360,"mtime":1613147732471,"results":"149","hashOfConfig":"104"},{"size":228,"mtime":1613752506217,"results":"150","hashOfConfig":"104"},{"size":3189,"mtime":1617690419991,"results":"151","hashOfConfig":"104"},{"size":198,"mtime":1613147732470,"results":"152","hashOfConfig":"104"},{"size":658,"mtime":1617689937645,"results":"153","hashOfConfig":"104"},{"size":6352,"mtime":1617695492461,"results":"154","hashOfConfig":"104"},{"size":5122,"mtime":1613634156410,"results":"155","hashOfConfig":"104"},{"size":608,"mtime":1613625358097,"results":"156","hashOfConfig":"104"},{"size":230,"mtime":1613751708285,"results":"157","hashOfConfig":"104"},{"size":5043,"mtime":1617692893968,"results":"158","hashOfConfig":"104"},{"size":113,"mtime":1613751852896,"results":"159","hashOfConfig":"104"},{"size":5842,"mtime":1613721895467,"results":"160","hashOfConfig":"104"},{"size":6057,"mtime":1617695381558,"results":"161","hashOfConfig":"104"},{"size":375,"mtime":1613156226896,"results":"162","hashOfConfig":"104"},{"size":5791,"mtime":1617689588937,"results":"163","hashOfConfig":"104"},{"size":4104,"mtime":1613719600640,"results":"164","hashOfConfig":"104"},{"size":253,"mtime":1613752701262,"results":"165","hashOfConfig":"104"},{"size":714,"mtime":1617694142129,"results":"166","hashOfConfig":"104"},{"size":3886,"mtime":1617689703227,"results":"167","hashOfConfig":"104"},{"size":295,"mtime":1613156226849,"results":"168","hashOfConfig":"104"},{"size":937,"mtime":1613634512778,"results":"169","hashOfConfig":"104"},{"size":228,"mtime":1613752701257,"results":"170","hashOfConfig":"104"},{"size":215,"mtime":1613752701184,"results":"171","hashOfConfig":"104"},{"size":425,"mtime":1613752424255,"results":"172","hashOfConfig":"104"},{"size":208,"mtime":1613752169388,"results":"173","hashOfConfig":"104"},{"size":304,"mtime":1613751776125,"results":"174","hashOfConfig":"104"},{"size":163,"mtime":1613244854422,"results":"175","hashOfConfig":"104"},{"size":223,"mtime":1613752701253,"results":"176","hashOfConfig":"104"},{"size":178,"mtime":1617691985104,"results":"177","hashOfConfig":"104"},{"size":1958,"mtime":1613722967692,"results":"178","hashOfConfig":"104"},{"size":235,"mtime":1613752701257,"results":"179","hashOfConfig":"104"},{"size":288,"mtime":1613156226847,"results":"180","hashOfConfig":"104"},{"size":288,"mtime":1613156226854,"results":"181","hashOfConfig":"104"},{"size":237,"mtime":1613752701262,"results":"182","hashOfConfig":"104"},{"size":650,"mtime":1617689099437,"results":"183","hashOfConfig":"104"},{"size":267,"mtime":1613752701261,"results":"184","hashOfConfig":"104"},{"size":601,"mtime":1613230010573,"results":"185","hashOfConfig":"104"},{"size":4155,"mtime":1613753062007,"results":"186","hashOfConfig":"104"},{"size":828,"mtime":1613752112063,"results":"187","hashOfConfig":"104"},{"size":83,"mtime":1613147732484,"results":"188","hashOfConfig":"104"},{"size":6032,"mtime":1617692920221,"results":"189","hashOfConfig":"104"},{"size":10927,"mtime":1613723000640,"results":"190","hashOfConfig":"104"},{"size":594,"mtime":1613230010762,"results":"191","hashOfConfig":"104"},{"size":5019,"mtime":1613722251791,"results":"192","hashOfConfig":"104"},{"size":608,"mtime":1613230010743,"results":"193","hashOfConfig":"104"},{"size":217,"mtime":1613752701185,"results":"194","hashOfConfig":"104"},{"size":355,"mtime":1613752469835,"results":"195","hashOfConfig":"104"},{"size":226,"mtime":1613752701184,"results":"196","hashOfConfig":"104"},{"size":234,"mtime":1613752145288,"results":"197","hashOfConfig":"104"},{"size":3631,"mtime":1613722360933,"results":"198","hashOfConfig":"104"},{"size":627,"mtime":1617694786708,"results":"199","hashOfConfig":"104"},{"size":675,"mtime":1617697094861,"results":"200","hashOfConfig":"104"},{"size":1511,"mtime":1617814365887,"results":"201","hashOfConfig":"104"},{"size":97,"mtime":1617788246476,"results":"202","hashOfConfig":"104"},{"size":3369,"mtime":1617813767370,"results":"203","hashOfConfig":"104"},{"size":1278,"mtime":1617816665808,"results":"204","hashOfConfig":"104"},{"size":4939,"mtime":1618325129760,"results":"205","hashOfConfig":"104"},{"filePath":"206","messages":"207","errorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0,"usedDeprecatedRules":"208"},"ywa3wd",{"filePath":"209","messages":"210","errorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0,"usedDeprecatedRules":"208"},{"filePath":"211","messages":"212","errorCount":0,"warningCount":7,"fixableErrorCount":0,"fixableWarningCount":0,"source":"213","usedDeprecatedRules":"214"},{"filePath":"215","messages":"216","errorCount":0,"warningCount":3,"fixableErrorCount":0,"fixableWarningCount":0,"source":"217","usedDeprecatedRules":"214"},{"filePath":"218","messages":"219","errorCount":0,"warningCount":2,"fixableErrorCount":0,"fixableWarningCount":0,"source":"220","usedDeprecatedRules":"221"},{"filePath":"222","messages":"223","errorCount":0,"warningCount":2,"fixableErrorCount":0,"fixableWarningCount":0,"source":"224","usedDeprecatedRules":"221"},{"filePath":"225","messages":"226","errorCount":0,"warningCount":2,"fixableErrorCount":0,"fixableWarningCount":0,"source":"227","usedDeprecatedRules":"214"},{"filePath":"228","messages":"229","errorCount":0,"warningCount":3,"fixableErrorCount":0,"fixableWarningCount":0,"source":"230","usedDeprecatedRules":"221"},{"filePath":"231","messages":"232","errorCount":0,"warningCount":1,"fixableErrorCount":0,"fixableWarningCount":0,"source":"233","usedDeprecatedRules":"234"},{"filePath":"235","messages":"236","errorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0,"usedDeprecatedRules":"214"},{"filePath":"237","messages":"238","errorCount":0,"warningCount":1,"fixableErrorCount":0,"fixableWarningCount":0,"source":"239","usedDeprecatedRules":"240"},{"filePath":"241","messages":"242","errorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0,"usedDeprecatedRules":"234"},{"filePath":"243","messages":"244","errorCount":0,"warningCount":1,"fixableErrorCount":0,"fixableWarningCount":0,"source":"245","usedDeprecatedRules":"221"},{"filePath":"246","messages":"247","errorCount":0,"warningCount":1,"fixableErrorCount":0,"fixableWarningCount":0,"source":"248","usedDeprecatedRules":"249"},{"filePath":"250","messages":"251","errorCount":0,"warningCount":1,"fixableErrorCount":0,"fixableWarningCount":0,"source":"252","usedDeprecatedRules":"234"},{"filePath":"253","messages":"254","errorCount":0,"warningCount":3,"fixableErrorCount":0,"fixableWarningCount":0,"source":"255","usedDeprecatedRules":"208"},{"filePath":"256","messages":"257","errorCount":0,"warningCount":2,"fixableErrorCount":0,"fixableWarningCount":0,"source":"258","usedDeprecatedRules":"214"},{"filePath":"259","messages":"260","errorCount":0,"warningCount":1,"fixableErrorCount":0,"fixableWarningCount":0,"source":"261","usedDeprecatedRules":"214"},{"filePath":"262","messages":"263","errorCount":0,"warningCount":2,"fixableErrorCount":0,"fixableWarningCount":0,"source":"264","usedDeprecatedRules":"214"},{"filePath":"265","messages":"266","errorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0,"usedDeprecatedRules":"214"},{"filePath":"267","messages":"268","errorCount":0,"warningCount":1,"fixableErrorCount":0,"fixableWarningCount":0,"source":"269","usedDeprecatedRules":"214"},{"filePath":"270","messages":"271","errorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0,"usedDeprecatedRules":"249"},{"filePath":"272","messages":"273","errorCount":0,"warningCount":10,"fixableErrorCount":0,"fixableWarningCount":0,"source":"274","usedDeprecatedRules":"221"},{"filePath":"275","messages":"276","errorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0,"usedDeprecatedRules":"234"},{"filePath":"277","messages":"278","errorCount":0,"warningCount":1,"fixableErrorCount":0,"fixableWarningCount":0,"source":"279","usedDeprecatedRules":"249"},{"filePath":"280","messages":"281","errorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"282","messages":"283","errorCount":0,"warningCount":8,"fixableErrorCount":0,"fixableWarningCount":0,"source":"284","usedDeprecatedRules":"208"},{"filePath":"285","messages":"286","errorCount":0,"warningCount":2,"fixableErrorCount":0,"fixableWarningCount":0,"source":"287","usedDeprecatedRules":"214"},{"filePath":"288","messages":"289","errorCount":0,"warningCount":18,"fixableErrorCount":0,"fixableWarningCount":0,"source":null},{"filePath":"290","messages":"291","errorCount":0,"warningCount":2,"fixableErrorCount":0,"fixableWarningCount":0,"source":null},{"filePath":"292","messages":"293","errorCount":0,"warningCount":1,"fixableErrorCount":0,"fixableWarningCount":0,"source":"294","usedDeprecatedRules":"208"},{"filePath":"295","messages":"296","errorCount":0,"warningCount":1,"fixableErrorCount":0,"fixableWarningCount":0,"source":"297","usedDeprecatedRules":"214"},{"filePath":"298","messages":"299","errorCount":0,"warningCount":1,"fixableErrorCount":0,"fixableWarningCount":0,"source":"300","usedDeprecatedRules":"221"},{"filePath":"301","messages":"302","errorCount":0,"warningCount":2,"fixableErrorCount":0,"fixableWarningCount":0,"source":"303","usedDeprecatedRules":"249"},{"filePath":"304","messages":"305","errorCount":0,"warningCount":5,"fixableErrorCount":0,"fixableWarningCount":0,"source":"306","usedDeprecatedRules":"249"},{"filePath":"307","messages":"308","errorCount":0,"warningCount":7,"fixableErrorCount":0,"fixableWarningCount":0,"source":"309","usedDeprecatedRules":"249"},{"filePath":"310","messages":"311","errorCount":0,"warningCount":1,"fixableErrorCount":0,"fixableWarningCount":0,"source":"312","usedDeprecatedRules":"249"},{"filePath":"313","messages":"314","errorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0,"usedDeprecatedRules":"315"},{"filePath":"316","messages":"317","errorCount":0,"warningCount":1,"fixableErrorCount":0,"fixableWarningCount":0,"source":"318","usedDeprecatedRules":"221"},{"filePath":"319","messages":"320","errorCount":0,"warningCount":1,"fixableErrorCount":0,"fixableWarningCount":0,"source":"321","usedDeprecatedRules":"221"},{"filePath":"322","messages":"323","errorCount":0,"warningCount":1,"fixableErrorCount":0,"fixableWarningCount":0,"source":"324","usedDeprecatedRules":"214"},{"filePath":"325","messages":"326","errorCount":0,"warningCount":1,"fixableErrorCount":0,"fixableWarningCount":0,"source":"327","usedDeprecatedRules":"221"},{"filePath":"328","messages":"329","errorCount":0,"warningCount":1,"fixableErrorCount":0,"fixableWarningCount":0,"source":"330","usedDeprecatedRules":"221"},{"filePath":"331","messages":"332","errorCount":0,"warningCount":2,"fixableErrorCount":0,"fixableWarningCount":0,"source":"333","usedDeprecatedRules":"221"},{"filePath":"334","messages":"335","errorCount":0,"warningCount":1,"fixableErrorCount":0,"fixableWarningCount":0,"source":"336","usedDeprecatedRules":"214"},{"filePath":"337","messages":"338","errorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0,"usedDeprecatedRules":"221"},{"filePath":"339","messages":"340","errorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0,"usedDeprecatedRules":"214"},{"filePath":"341","messages":"342","errorCount":0,"warningCount":1,"fixableErrorCount":0,"fixableWarningCount":0,"source":"343","usedDeprecatedRules":"249"},{"filePath":"344","messages":"345","errorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0,"usedDeprecatedRules":"346"},{"filePath":"347","messages":"348","errorCount":0,"warningCount":1,"fixableErrorCount":0,"fixableWarningCount":0,"source":"349","usedDeprecatedRules":"346"},{"filePath":"350","messages":"351","errorCount":0,"warningCount":2,"fixableErrorCount":0,"fixableWarningCount":0,"source":"352","usedDeprecatedRules":"221"},{"filePath":"353","messages":"354","errorCount":0,"warningCount":10,"fixableErrorCount":0,"fixableWarningCount":0,"source":"355","usedDeprecatedRules":"214"},{"filePath":"356","messages":"357","errorCount":0,"warningCount":1,"fixableErrorCount":0,"fixableWarningCount":0,"source":"358","usedDeprecatedRules":"214"},{"filePath":"359","messages":"360","errorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0,"usedDeprecatedRules":"249"},{"filePath":"361","messages":"362","errorCount":0,"warningCount":2,"fixableErrorCount":0,"fixableWarningCount":0,"source":"363","usedDeprecatedRules":"221"},{"filePath":"364","messages":"365","errorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0,"usedDeprecatedRules":"366"},{"filePath":"367","messages":"368","errorCount":0,"warningCount":1,"fixableErrorCount":0,"fixableWarningCount":0,"source":"369","usedDeprecatedRules":"370"},{"filePath":"371","messages":"372","errorCount":0,"warningCount":1,"fixableErrorCount":0,"fixableWarningCount":0,"source":"373","usedDeprecatedRules":"221"},{"filePath":"374","messages":"375","errorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0,"usedDeprecatedRules":"214"},{"filePath":"376","messages":"377","errorCount":0,"warningCount":4,"fixableErrorCount":0,"fixableWarningCount":0,"source":"378","usedDeprecatedRules":"214"},{"filePath":"379","messages":"380","errorCount":0,"warningCount":6,"fixableErrorCount":0,"fixableWarningCount":0,"source":"381","usedDeprecatedRules":"346"},{"filePath":"382","messages":"383","errorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0,"usedDeprecatedRules":"221"},{"filePath":"384","messages":"385","errorCount":0,"warningCount":1,"fixableErrorCount":0,"fixableWarningCount":0,"source":"386","usedDeprecatedRules":"214"},{"filePath":"387","messages":"388","errorCount":0,"warningCount":1,"fixableErrorCount":0,"fixableWarningCount":0,"source":"389","usedDeprecatedRules":"234"},{"filePath":"390","messages":"391","errorCount":0,"warningCount":1,"fixableErrorCount":0,"fixableWarningCount":0,"source":"392","usedDeprecatedRules":"221"},{"filePath":"393","messages":"394","errorCount":0,"warningCount":1,"fixableErrorCount":0,"fixableWarningCount":0,"source":"395","usedDeprecatedRules":"221"},{"filePath":"396","messages":"397","errorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0,"usedDeprecatedRules":"221"},{"filePath":"398","messages":"399","errorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0,"usedDeprecatedRules":"214"},{"filePath":"400","messages":"401","errorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0,"usedDeprecatedRules":"249"},{"filePath":"402","messages":"403","errorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0,"usedDeprecatedRules":"214"},{"filePath":"404","messages":"405","errorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0,"usedDeprecatedRules":"221"},{"filePath":"406","messages":"407","errorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"408","messages":"409","errorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0,"usedDeprecatedRules":"214"},{"filePath":"410","messages":"411","errorCount":0,"warningCount":1,"fixableErrorCount":0,"fixableWarningCount":0,"source":"412","usedDeprecatedRules":"221"},{"filePath":"413","messages":"414","errorCount":0,"warningCount":1,"fixableErrorCount":0,"fixableWarningCount":0,"source":"415","usedDeprecatedRules":"214"},{"filePath":"416","messages":"417","errorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0,"usedDeprecatedRules":"214"},{"filePath":"418","messages":"419","errorCount":0,"warningCount":1,"fixableErrorCount":0,"fixableWarningCount":0,"source":"420","usedDeprecatedRules":"214"},{"filePath":"421","messages":"422","errorCount":0,"warningCount":1,"fixableErrorCount":0,"fixableWarningCount":0,"source":"423","usedDeprecatedRules":"424"},{"filePath":"425","messages":"426","errorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0,"usedDeprecatedRules":"221"},{"filePath":"427","messages":"428","errorCount":0,"warningCount":1,"fixableErrorCount":0,"fixableWarningCount":0,"source":"429","usedDeprecatedRules":"214"},{"filePath":"430","messages":"431","errorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0,"usedDeprecatedRules":"208"},{"filePath":"432","messages":"433","errorCount":0,"warningCount":1,"fixableErrorCount":0,"fixableWarningCount":0,"source":"434","usedDeprecatedRules":"214"},{"filePath":"435","messages":"436","errorCount":0,"warningCount":1,"fixableErrorCount":0,"fixableWarningCount":0,"source":"437","usedDeprecatedRules":"249"},{"filePath":"438","messages":"439","errorCount":0,"warningCount":1,"fixableErrorCount":0,"fixableWarningCount":0,"source":"440","usedDeprecatedRules":"249"},{"filePath":"441","messages":"442","errorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0,"usedDeprecatedRules":"221"},{"filePath":"443","messages":"444","errorCount":0,"warningCount":2,"fixableErrorCount":0,"fixableWarningCount":0,"source":"445","usedDeprecatedRules":"214"},{"filePath":"446","messages":"447","errorCount":0,"warningCount":1,"fixableErrorCount":0,"fixableWarningCount":0,"source":"448","usedDeprecatedRules":"234"},{"filePath":"449","messages":"450","errorCount":0,"warningCount":1,"fixableErrorCount":0,"fixableWarningCount":0,"source":"451","usedDeprecatedRules":"315"},{"filePath":"452","messages":"453","errorCount":0,"warningCount":2,"fixableErrorCount":0,"fixableWarningCount":0,"source":"454","usedDeprecatedRules":"315"},{"filePath":"455","messages":"456","errorCount":0,"warningCount":1,"fixableErrorCount":0,"fixableWarningCount":0,"source":"457","usedDeprecatedRules":"221"},{"filePath":"458","messages":"459","errorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0,"usedDeprecatedRules":"221"},{"filePath":"460","messages":"461","errorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0,"usedDeprecatedRules":"214"},{"filePath":"462","messages":"463","errorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0,"usedDeprecatedRules":"315"},{"filePath":"464","messages":"465","errorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0,"usedDeprecatedRules":"214"},{"filePath":"466","messages":"467","errorCount":0,"warningCount":1,"fixableErrorCount":0,"fixableWarningCount":0,"source":"468","usedDeprecatedRules":"214"},{"filePath":"469","messages":"470","errorCount":0,"warningCount":1,"fixableErrorCount":0,"fixableWarningCount":0,"source":"471","usedDeprecatedRules":"208"},{"filePath":"472","messages":"473","errorCount":0,"warningCount":1,"fixableErrorCount":0,"fixableWarningCount":0,"source":"474","usedDeprecatedRules":"249"},{"filePath":"475","messages":"476","errorCount":0,"warningCount":4,"fixableErrorCount":0,"fixableWarningCount":0,"source":null},{"filePath":"477","messages":"478","errorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0,"usedDeprecatedRules":"249"},{"filePath":"479","messages":"480","errorCount":0,"warningCount":1,"fixableErrorCount":0,"fixableWarningCount":0,"source":null},{"filePath":"481","messages":"482","errorCount":0,"warningCount":3,"fixableErrorCount":0,"fixableWarningCount":0,"source":"483","usedDeprecatedRules":"214"},{"filePath":"484","messages":"485","errorCount":0,"warningCount":1,"fixableErrorCount":0,"fixableWarningCount":0,"source":null},"C:\\projects\\GYM-FRONTEND-ADMIN\\src\\index.js",[],["486","487"],"C:\\projects\\GYM-FRONTEND-ADMIN\\src\\main\\shared\\Root\\Root.js",[],"C:\\projects\\GYM-FRONTEND-ADMIN\\src\\main\\shared\\Header\\Header.js",["488","489","490","491","492","493","494"],"import React from 'react';\r\nimport PropTypes from 'prop-types';\r\nimport './Header.css';\r\nimport User from '../../config/user';\r\nimport { NavLink, useHistory } from 'react-router-dom';\r\n\r\nconst Header = (props) => {\r\n let history = useHistory()\r\n\r\n const logout = () => {\r\n props.rerender();\r\n User.CONNECTED_USER = false\r\n history.push(\"/login\")\r\n }\r\n return (\r\n \r\n )\r\n};\r\n\r\nHeader.propTypes = {};\r\n\r\nHeader.defaultProps = {};\r\n\r\nexport default Header;\r\n",["495","496"],"C:\\projects\\GYM-FRONTEND-ADMIN\\src\\modules\\groupeModule\\Groupe\\Groupe.js",["497","498","499"],"import React, { useEffect, useState } from 'react';\r\nimport PropTypes from 'prop-types';\r\nimport './Groupe.css';\r\nimport AddGroupe from './../AddGroupe/AddGroupe';\r\nimport { LoadJS } from './../../../libraries/datatables/datatables';\r\nimport EditGroupe from './../EditGroupe/EditGroupe';\r\nimport HTTPService from '../../../main/services/HTTPService';\r\nimport GroupeTestService from '../../../main/mocks/GroupeTestService';\r\nimport showMessage from '../../../libraries/messages/messages';\r\nimport groupeMessage from '../../../main/messages/groupeMessage';\r\nimport useForceUpdate from 'use-force-update';\r\n\r\n\r\nconst Groupe = () => {\r\n\r\n const [groupes, setGroupes] = useState([]);\r\n const [updatedItem, setUpdatedItem] = useState({});\r\n const forceUpdate = useForceUpdate();\r\n\r\n\r\n useEffect(() => {\r\n LoadJS()\r\n retrieveGroupes()\r\n }, []);\r\n\r\n\r\n const getAll = () => {\r\n HTTPService.getAll()\r\n .then(response => {\r\n setGroupes(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 retrieveGroupes = () => {\r\n var groupes = GroupeTestService.getAll();\r\n setGroupes(groupes);\r\n };\r\n\r\n const resfresh = () => {\r\n retrieveGroupes()\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 showMessage('Confirmation', groupeMessage.delete, 'success')\r\n GroupeTestService.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 return (\r\n
\r\n
\r\n
\r\n
\r\n
\r\n

Groupes

\r\n
\r\n
\r\n
\r\n \r\n \r\n \r\n \r\n \r\n\r\n \r\n \r\n\r\n {groupes.map(item =>\r\n \r\n \r\n \r\n \r\n\r\n \r\n )}\r\n\r\n \r\n \r\n \r\n \r\n \r\n\r\n \r\n
NomNombre de membres Actions
{item.groupe_name}4\r\n \r\n \r\n
NomNombre de membres Actions
\r\n \r\n\r\n\r\n
\r\n
\r\n
\r\n
\r\n
Nouveau
\r\n \r\n
\r\n
\r\n \r\n
\r\n
\r\n \r\n\r\n
\r\n
\r\n
\r\n
\r\n\r\n\r\n\r\n
\r\n
\r\n
\r\n
\r\n
Edit
\r\n \r\n
\r\n
\r\n \r\n
\r\n
\r\n \r\n\r\n
\r\n
\r\n
\r\n
\r\n\r\n
\r\n
\r\n
\r\n
\r\n\r\n
\r\n
\r\n )\r\n};\r\n\r\nGroupe.propTypes = {};\r\n\r\nGroupe.defaultProps = {};\r\n\r\nexport default Groupe;\r\n","C:\\projects\\GYM-FRONTEND-ADMIN\\src\\modules\\memberModule\\Member\\Member.js",["500","501"],"import React, { useEffect, useState } from 'react';\r\nimport './Member.css';\r\nimport { LoadJS } from '../../../libraries/datatables/datatables';\r\nimport EditMember from '../EditMember/EditMember';\r\nimport AddMember from '../AddMember/AddMember';\r\nimport useForceUpdate from 'use-force-update';\r\nimport showMessage from '../../../libraries/messages/messages';\r\nimport memberMessage from '../../../main/messages/memberMessage';\r\nimport MemberTestService from '../../../main/mocks/MemberTestService';\r\nimport HTTPService from '../../../main/services/HTTPService';\r\n\r\nconst Member = () => {\r\n\r\n const [members, setMembers] = useState([]);\r\n const [updatedItem, setUpdatedItem] = useState({});\r\n const forceUpdate = useForceUpdate();\r\n\r\n\r\n useEffect(() => {\r\n LoadJS()\r\n retrieveMembers()\r\n }, []);\r\n\r\n\r\n const getAll = () => {\r\n HTTPService.getAll()\r\n .then(response => {\r\n setMembers(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 retrieveMembers = () => {\r\n var members = MemberTestService.getAll();\r\n setMembers(members);\r\n };\r\n\r\n const resfresh = () => {\r\n retrieveMembers()\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 showMessage('Confirmation', memberMessage.delete, 'success')\r\n MemberTestService.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 return (\r\n
\r\n
\r\n
\r\n
\r\n
\r\n

Membres

\r\n
\r\n
\r\n
\r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n\r\n\r\n {members.map(item =>\r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n\r\n \r\n )}\r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n
Nom membreDate inscriptionDate expirationType de membreEntreneurActions
{item.first_name}{item.start_date}{item.end_date}{item.type}{item.coach}\r\n \r\n \r\n
Nom membreDate inscriptionDate expirationType de membreStatutActions
\r\n\r\n \r\n\r\n\r\n
\r\n
\r\n
\r\n
\r\n
Nouveau
\r\n \r\n
\r\n
\r\n \r\n
\r\n
\r\n \r\n\r\n
\r\n
\r\n
\r\n
\r\n\r\n\r\n\r\n
\r\n
\r\n
\r\n
\r\n
Edit
\r\n \r\n
\r\n
\r\n \r\n
\r\n
\r\n \r\n\r\n
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n\r\n
\r\n
\r\n )\r\n};\r\n\r\nMember.propTypes = {};\r\n\r\nMember.defaultProps = {};\r\n\r\nexport default Member;\r\n",["502","503"],"C:\\projects\\GYM-FRONTEND-ADMIN\\src\\modules\\productModule\\Product\\Product.js",["504","505"],"\r\nimport React, { useEffect, useState } from 'react';\r\nimport './Product.css';\r\nimport { LoadJS } from '../../../libraries/datatables/datatables';\r\nimport EditProduct from '../EditProduct/EditProduct';\r\nimport AddProduct from '../AddProduct/AddProduct';\r\nimport useForceUpdate from 'use-force-update';\r\nimport showMessage from '../../../libraries/messages/messages';\r\nimport productMessage from '../../../main/messages/productMessage';\r\nimport ProductTestService from '../../../main/mocks/ProductTestService';\r\nimport HTTPService from '../../../main/services/HTTPService';\r\n\r\nconst Product = () => {\r\n\r\n const [products, setProducts] = useState([]);\r\n const [updatedItem, setUpdatedItem] = useState({});\r\n const forceUpdate = useForceUpdate();\r\n\r\n\r\n useEffect(() => {\r\n LoadJS()\r\n retrieveProducts()\r\n }, []);\r\n\r\n\r\n const getAll = () => {\r\n HTTPService.getAll()\r\n .then(response => {\r\n setProducts(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 retrieveProducts = () => {\r\n var products = ProductTestService.getAll();\r\n setProducts(products);\r\n };\r\n\r\n const resfresh = () => {\r\n retrieveProducts()\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 showMessage('Confirmation', productMessage.delete, 'success')\r\n ProductTestService.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 return (\r\n
\r\n
\r\n
\r\n
\r\n
\r\n

Produits

\r\n
\r\n
\r\n
\r\n \r\n \r\n \r\n \r\n \r\n \r\n\r\n\r\n \r\n \r\n\r\n\r\n {products.map(item =>\r\n \r\n \r\n \r\n \r\n \r\n\r\n \r\n )}\r\n\r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n
Nom ProduitQuantitéPrixActions
{item.product_name}{item.quantity} kg{item.price} $\r\n \r\n \r\n
Nom ProduitQuantitéPrixActions
\r\n \r\n\r\n\r\n
\r\n
\r\n
\r\n
\r\n
Nouveau
\r\n \r\n
\r\n
\r\n \r\n
\r\n
\r\n \r\n\r\n
\r\n
\r\n
\r\n
\r\n\r\n\r\n
\r\n
\r\n
\r\n
\r\n
Edit
\r\n \r\n
\r\n
\r\n \r\n
\r\n
\r\n \r\n\r\n
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n\r\n
\r\n
\r\n )\r\n};\r\n\r\nProduct.propTypes = {};\r\n\r\nProduct.defaultProps = {};\r\n\r\nexport default Product;\r\n","C:\\projects\\GYM-FRONTEND-ADMIN\\src\\modules\\ActivityModule\\Activity\\Activity.js",["506","507"],"\r\nimport React, { useEffect, useState } from 'react';\r\nimport './Activity.css';\r\nimport { LoadJS } from '../../../libraries/datatables/datatables';\r\nimport EditActivity from '../EditActivity/EditActivity';\r\nimport AddActivity from '../AddActivity/AddActivity';\r\nimport useForceUpdate from 'use-force-update';\r\nimport showMessage from '../../../libraries/messages/messages';\r\nimport activityMessage from '../../../main/messages/activityMessage';\r\nimport ActivityTestService from '../../../main/mocks/ActivityTestService';\r\nimport HTTPService from '../../../main/services/HTTPService';\r\n\r\n\r\n\r\nconst deleteTask = () => {\r\n return window.confirm(\"Êtes-vous sûr de vouloir supprimer cette tache ?\")\r\n}\r\nconst Activity = () => {\r\n\r\n const [activitys, setActivitys] = useState([]);\r\n const [updatedItem, setUpdatedItem] = useState({});\r\n const forceUpdate = useForceUpdate();\r\n\r\n\r\n useEffect(() => {\r\n LoadJS()\r\n retrieveActivitys()\r\n }, []);\r\n\r\n\r\n const getAll = () => {\r\n HTTPService.getAll()\r\n .then(response => {\r\n setActivitys(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 retrieveActivitys = () => {\r\n var activitys = ActivityTestService.getAll();\r\n setActivitys(activitys);\r\n };\r\n\r\n const resfresh = () => {\r\n retrieveActivitys()\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 showMessage('Confirmation', activityMessage.delete, 'success')\r\n ActivityTestService.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 return (\r\n
\r\n
\r\n
\r\n
\r\n
\r\n

activité

\r\n
\r\n
\r\n
\r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n\r\n {activitys.map(item =>\r\n \r\n \r\n \r\n \r\n \r\n \r\n\r\n )}\r\n\r\n \r\n \r\n \r\n \r\n \r\n \r\n\r\n \r\n \r\n \r\n \r\n \r\n \r\n\r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n
Nom de l'activitéCategorieFormateurActions
{item.title}{item.category}{item.member}\r\n \r\n \r\n
musculationsportAudric Renard\r\n \r\n
dancesportVirginie Brunault\r\n \r\n
Nom de l'activitéCategorieFormateurActions
\r\n \r\n\r\n\r\n
\r\n
\r\n
\r\n
\r\n
Nouveau
\r\n \r\n
\r\n
\r\n \r\n
\r\n
\r\n \r\n\r\n
\r\n
\r\n
\r\n
\r\n\r\n\r\n
\r\n
\r\n
\r\n
\r\n
Edit
\r\n \r\n
\r\n
\r\n \r\n
\r\n
\r\n \r\n\r\n
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n\r\n
\r\n
\r\n )\r\n};\r\n\r\nActivity.propTypes = {};\r\n\r\nActivity.defaultProps = {};\r\n\r\nexport default Activity;\r\n","C:\\projects\\GYM-FRONTEND-ADMIN\\src\\modules\\expenseModule\\Expense\\Expense.js",["508","509","510"],"import React, { useEffect, useState } from 'react';\r\nimport PropTypes from 'prop-types';\r\nimport './Expense.css';\r\nimport AddExpense from './../AddExpense/AddExpense';\r\nimport { LoadJS } from './../../../libraries/datatables/datatables';\r\nimport EditExpense from './../EditExpense/EditExpense';\r\nimport ExpenseTestService from '../../../main/mocks/ExpenseTestService';\r\nimport expenseMessage from '../../../main/messages/expenseMessage';\r\nimport showMessage from '../../../libraries/messages/messages';\r\nimport useForceUpdate from 'use-force-update';\r\nimport HTTPService from '../../../main/services/HTTPService';\r\n\r\nconst Expense = () => {\r\n\r\n\r\n const [expenses, setExpenses] = useState([]);\r\n const [updatedItem, setUpdatedItem] = useState({});\r\n const forceUpdate = useForceUpdate();\r\n\r\n\r\n useEffect(() => {\r\n LoadJS()\r\n retrieveExpenses()\r\n }, []);\r\n\r\n\r\n const getAll = () => {\r\n HTTPService.getAll()\r\n .then(response => {\r\n setExpenses(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 retrieveExpenses = () => {\r\n var expenses = ExpenseTestService.getAll();\r\n setExpenses(expenses);\r\n };\r\n\r\n const resfresh = () => {\r\n retrieveExpenses()\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 showMessage('Confirmation', expenseMessage.delete, 'success')\r\n ExpenseTestService.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 return (\r\n
\r\n
\r\n
\r\n
\r\n
\r\n

Dépenses

\r\n
\r\n
\r\n
\r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n\r\n {expenses.map(item =>\r\n \r\n \r\n \r\n \r\n \r\n )}\r\n\r\n \r\n \r\n \r\n \r\n \r\n \r\n
FounisseurMontantActions
{item.supplier}{item.amount} $\r\n \r\n \r\n
FounisseurMontantActions
\r\n \r\n\r\n\r\n
\r\n
\r\n
\r\n
\r\n
Nouveau
\r\n \r\n
\r\n
\r\n \r\n
\r\n
\r\n \r\n\r\n
\r\n
\r\n
\r\n
\r\n\r\n\r\n\r\n
\r\n
\r\n
\r\n
\r\n
Edit
\r\n \r\n
\r\n
\r\n \r\n
\r\n
\r\n \r\n\r\n
\r\n
\r\n
\r\n
\r\n\r\n\r\n
\r\n
\r\n
\r\n
\r\n\r\n
\r\n
\r\n )\r\n};\r\n\r\nExpense.propTypes = {};\r\n\r\nExpense.defaultProps = {};\r\n\r\nexport default Expense;\r\n","C:\\projects\\GYM-FRONTEND-ADMIN\\src\\modules\\groupeModule\\AddGroupe\\AddGroupe.js",["511"],"\r\nimport React, { useState } from 'react';\r\nimport './AddGroupe.css';\r\nimport { useForm } from 'react-hook-form';\r\nimport showMessage from '../../../libraries/messages/messages'\r\nimport groupeMessage from '../../../main/messages/groupeMessage'\r\nimport groupeValidation from '../../../main/validations/groupeValidation'\r\nimport GroupeTestService from '../../../main/mocks/GroupeTestService';\r\nimport HTTPService from '../../../main/services/HTTPService';\r\n\r\nconst AddGroupe = () => {\r\n const initialState = {\r\n groupe_name: \"\",\r\n\r\n };\r\n\r\n const { register, handleSubmit, errors } = useForm()\r\n const [groupe, setGroupe] = useState(initialState);\r\n\r\n const onSubmit = (data) => {\r\n //saveGroupe(data)\r\n GroupeTestService.create(data)\r\n setGroupe(initialState)\r\n showMessage('Confirmation', groupeMessage.add, 'success')\r\n }\r\n\r\n const saveGroupe = (data) => {\r\n\r\n HTTPService.create(data)\r\n .then(response => {\r\n setGroupe(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 setGroupe({ ...groupe, [name]: value });\r\n };\r\n return (\r\n
\r\n
\r\n\r\n
\r\n \r\n
\r\n \r\n
\r\n {errors.groupe_name && groupeValidation.groupe_name}\r\n
\r\n
\r\n
\r\n\r\n\r\n
\r\n
\r\n \r\n
\r\n
\r\n\r\n
\r\n
\r\n )\r\n};\r\n\r\nAddGroupe.propTypes = {};\r\n\r\nAddGroupe.defaultProps = {};\r\n\r\nexport default AddGroupe;\r\n",["512","513"],"C:\\projects\\GYM-FRONTEND-ADMIN\\src\\main\\messages\\presenceMessage.js",[],"C:\\projects\\GYM-FRONTEND-ADMIN\\src\\modules\\paymentModule\\AddPayment\\AddPayment.js",["514"],"\r\nimport React, { useState } from 'react';\r\nimport './AddPayment.css';\r\nimport { useForm } from 'react-hook-form';\r\nimport showMessage from '../../../libraries/messages/messages'\r\nimport paymentMessage from '../../../main/messages/paymentMessage'\r\nimport paymentValidation from '../../../main/validations/paymentValidation'\r\nimport PaymentTestService from '../../../main/mocks/PaymentTestService';\r\nimport HTTPService from '../../../main/services/HTTPService';\r\n\r\nconst AddPayment = (props) => {\r\n const initialState = {\r\n post: \"\",\r\n description: \"\",\r\n start: \"\",\r\n end: \"\",\r\n location: \"\",\r\n requirement: \"\"\r\n };\r\n\r\n const { register, handleSubmit, errors } = useForm()\r\n const [payment, setPayment] = useState(initialState);\r\n\r\n const onSubmit = (data) => {\r\n //savePayment(data)\r\n PaymentTestService.create(data)\r\n setPayment(initialState)\r\n showMessage('Confirmation', paymentMessage.add, 'success')\r\n }\r\n\r\n const savePayment = (data) => {\r\n\r\n HTTPService.create(data)\r\n .then(response => {\r\n setPayment(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 setPayment({ ...payment, [name]: value });\r\n };\r\n return (\r\n
\r\n
\r\n
\r\n \r\n
\r\n \r\n
\r\n {errors.member && paymentValidation.member}\r\n
\r\n
\r\n
\r\n\r\n\r\n
\r\n \r\n
\r\n \r\n
\r\n {errors.type && paymentValidation.type}\r\n
\r\n
\r\n
\r\n\r\n\r\n
\r\n \r\n
\r\n \r\n
\r\n {errors.amount && paymentValidation.amount}\r\n
\r\n
\r\n
\r\n\r\n\r\n
\r\n \r\n
\r\n \r\n
\r\n {errors.validity && paymentValidation.validity}\r\n
\r\n
\r\n
\r\n\r\n\r\n
\r\n
\r\n \r\n
\r\n
\r\n
\r\n
\r\n )\r\n};\r\n\r\nAddPayment.propTypes = {};\r\n\r\nAddPayment.defaultProps = {};\r\n\r\nexport default AddPayment;\r\n",["515","516"],"C:\\projects\\GYM-FRONTEND-ADMIN\\src\\main\\messages\\eventMessage.js",[],"C:\\projects\\GYM-FRONTEND-ADMIN\\src\\main\\mocks\\PaymentTestService.js",["517"],"const _payment = []\r\n\r\nconst getAll = () => {\r\n return _payment;\r\n};\r\n\r\nconst get = id => {\r\n return _payment.find(item => item.id === id);\r\n};\r\n\r\nconst create = (data) => {\r\n _payment.push(data);\r\n};\r\n\r\nconst update = (old, data) => {\r\n\r\n var foundIndex = _payment.findIndex(item => item === old);\r\n _payment[foundIndex] = data;\r\n};\r\n\r\nconst remove = id => {\r\n _payment.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\\GYM-FRONTEND-ADMIN\\src\\main\\mocks\\BookingTestService.js",["518"],"const _booking = []\r\n\r\nconst getAll = () => {\r\n return _booking;\r\n};\r\n\r\nconst get = id => {\r\n return _booking.find(item => item.id === id);\r\n};\r\n\r\nconst create = (data) => {\r\n _booking.push(data);\r\n};\r\n\r\nconst update = (old, data) => {\r\n\r\n var foundIndex = _booking.findIndex(item => item === old);\r\n _booking[foundIndex] = data;\r\n};\r\n\r\nconst remove = id => {\r\n _booking.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};",["519","520"],"C:\\projects\\GYM-FRONTEND-ADMIN\\src\\modules\\memberModule\\AddMember\\AddMember.js",["521"],"\r\nimport React, { useState } from 'react';\r\nimport './AddMember.css';\r\nimport { useForm } from 'react-hook-form';\r\nimport showMessage from '../../../libraries/messages/messages'\r\nimport memberMessage from '../../../main/messages/memberMessage'\r\nimport memberValidation from '../../../main/validations/memberValidation'\r\nimport MemberTestService from '../../../main/mocks/MemberTestService';\r\nimport HTTPService from '../../../main/services/HTTPService';\r\n\r\nconst AddMember = () => {\r\n const initialState = {\r\n post: \"\",\r\n description: \"\",\r\n start: \"\",\r\n end: \"\",\r\n location: \"\",\r\n requirement: \"\"\r\n };\r\n\r\n const { register, handleSubmit, errors } = useForm()\r\n const [member, setMember] = useState(initialState);\r\n\r\n const onSubmit = (data) => {\r\n //saveMember(data)\r\n MemberTestService.create(data)\r\n setMember(initialState)\r\n showMessage('Confirmation', memberMessage.add, 'success')\r\n }\r\n\r\n const saveMember = (data) => {\r\n\r\n HTTPService.create(data)\r\n .then(response => {\r\n setMember(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 setMember({ ...member, [name]: value });\r\n };\r\n\r\n return (\r\n
\r\n\r\n
\r\n
\r\n \r\n
\r\n \r\n
\r\n {errors.first_name && memberValidation.first_name}\r\n
\r\n
\r\n
\r\n\r\n\r\n
\r\n \r\n
\r\n \r\n
\r\n {errors.last_name && memberValidation.last_name}\r\n
\r\n
\r\n
\r\n\r\n\r\n
\r\n \r\n
\r\n \r\n
\r\n {errors.birth_date && memberValidation.birth_date}\r\n
\r\n
\r\n
\r\n\r\n\r\n
\r\n \r\n
\r\n \r\n
\r\n {errors.groupe && memberValidation.groupe}\r\n
\r\n
\r\n
\r\n\r\n\r\n
\r\n \r\n
\r\n \r\n
\r\n {errors.type && memberValidation.type}\r\n
\r\n
\r\n
\r\n\r\n\r\n\r\n
\r\n \r\n
\r\n \r\n
\r\n {errors.address && memberValidation.address}\r\n
\r\n
\r\n
\r\n\r\n\r\n
\r\n \r\n
\r\n \r\n
\r\n {errors.mobile && memberValidation.mobile}\r\n
\r\n
\r\n
\r\n\r\n\r\n
\r\n \r\n
\r\n \r\n
\r\n {errors.email && memberValidation.email}\r\n
\r\n
\r\n
\r\n\r\n\r\n
\r\n \r\n
\r\n \r\n
\r\n {errors.weight && memberValidation.weight}\r\n
\r\n
\r\n
\r\n\r\n\r\n
\r\n \r\n
\r\n \r\n
\r\n {errors.size && memberValidation.size}\r\n
\r\n
\r\n
\r\n\r\n\r\n
\r\n \r\n
\r\n \r\n
\r\n {errors.chest && memberValidation.chest}\r\n
\r\n
\r\n
\r\n\r\n\r\n
\r\n \r\n
\r\n \r\n
\r\n {errors.foot && memberValidation.foot}\r\n
\r\n
\r\n
\r\n\r\n\r\n
\r\n \r\n
\r\n \r\n
\r\n {errors.hand && memberValidation.hand}\r\n
\r\n
\r\n
\r\n\r\n\r\n
\r\n \r\n
\r\n \r\n
\r\n {errors.fat && memberValidation.fat}\r\n
\r\n
\r\n
\r\n\r\n\r\n
\r\n \r\n
\r\n \r\n
\r\n {errors.start_date && memberValidation.start_date}\r\n
\r\n
\r\n
\r\n\r\n\r\n
\r\n \r\n
\r\n \r\n
\r\n {errors.end_date && memberValidation.end_date}\r\n
\r\n
\r\n
\r\n\r\n\r\n
\r\n \r\n
\r\n \r\n
\r\n {errors.type && memberValidation.type}\r\n
\r\n
\r\n
\r\n\r\n\r\n
\r\n \r\n
\r\n \r\n
\r\n {errors.coach && memberValidation.coach}\r\n
\r\n
\r\n
\r\n\r\n\r\n
\r\n
\r\n \r\n
\r\n
\r\n\r\n\r\n
\r\n
\r\n )\r\n};\r\n\r\nAddMember.propTypes = {};\r\n\r\nAddMember.defaultProps = {};\r\n\r\nexport default AddMember;\r\n","C:\\projects\\GYM-FRONTEND-ADMIN\\src\\modules\\productModule\\EditProduct\\EditProduct.js",["522","523","524"],"import React, { useEffect, useState } from 'react';\r\nimport PropTypes from 'prop-types';\r\nimport './EditProduct.css';\r\nimport { useForm } from 'react-hook-form';\r\nimport showMessage from '../../../libraries/messages/messages'\r\nimport productMessage from '../../../main/messages/productMessage'\r\nimport productValidation from '../../../main/validations/productValidation'\r\nimport ProductTestService from '../../../main/mocks/ProductTestService';\r\nimport HTTPService from '../../../main/services/HTTPService';\r\n\r\nconst EditProduct = (props) => {\r\n\r\n\tconst { register, handleSubmit, errors } = useForm() // initialise the hook\r\n\tconst [product, setProduct] = useState(props.product);\r\n\r\n\tuseEffect(() => {\r\n\t\tsetProduct(props.product)\r\n\t}, [props.product]);\r\n\r\n\r\n\tconst onSubmit = (data) => {\r\n\r\n\t\tProductTestService.update(props.product, data)\r\n\t\tshowMessage('Confirmation', productMessage.edit, 'success')\r\n\t}\r\n\r\n\tconst handleInputChange = event => {\r\n\t\tconst { name, value } = event.target;\r\n\t\tsetProduct({ ...product, [name]: value });\r\n\t};\r\n\r\n\r\n\treturn (\r\n\t\t
\r\n\r\n\t\t\t
\r\n\r\n\r\n\t\t\t\t
\r\n\t\t\t\t\t\r\n\t\t\t\t\t
\r\n\t\t\t\t\t\t\r\n\t\t\t\t\t\t
\r\n\t\t\t\t\t\t\t{errors.product_name && productValidation.product_name}\r\n\t\t\t\t\t\t
\r\n\t\t\t\t\t
\r\n\t\t\t\t
\r\n\r\n\r\n\t\t\t\t
\r\n\t\t\t\t\t\r\n\t\t\t\t\t
\r\n\t\t\t\t\t\t
\r\n\t\t\t\t\t\t\t$\r\n\t\t\t\t\t\t\t\r\n\t\t\t\t\t\t\t
\r\n\t\t\t\t\t\t\t\t{errors.price && productValidation.price}\r\n\t\t\t\t\t\t\t
\r\n\r\n\t\t\t\t\t\t
\r\n\t\t\t\t\t
\r\n\t\t\t\t
\r\n\r\n\r\n\t\t\t\t
\r\n\t\t\t\t\t\r\n\t\t\t\t\t
\r\n\t\t\t\t\t\t\r\n\t\t\t\t\t\t
\r\n\t\t\t\t\t\t\t{errors.quantity && productValidation.quantity}\r\n\t\t\t\t\t\t
\r\n\t\t\t\t\t
\r\n\t\t\t\t
\r\n\r\n\r\n\t\t\t\t
\r\n\t\t\t\t\t\r\n\t\t\t\t
\r\n\t\t\t
\r\n\t\t
\r\n\t)\r\n};\r\n\r\nEditProduct.propTypes = {};\r\n\r\nEditProduct.defaultProps = {};\r\n\r\nexport default EditProduct;\r\n","C:\\projects\\GYM-FRONTEND-ADMIN\\src\\modules\\staffModule\\AddStaff\\AddStaff.js",["525","526"],"\r\nimport React, { useState } from 'react';\r\nimport './AddStaff.css';\r\nimport { useForm } from 'react-hook-form';\r\nimport showMessage from '../../../libraries/messages/messages'\r\nimport staffMessage from '../../../main/messages/staffMessage'\r\nimport staffValidation from '../../../main/validations/staffValidation'\r\nimport StaffTestService from '../../../main/mocks/StaffTestService';\r\nimport HTTPService from '../../../main/services/HTTPService';\r\n\r\nconst AddStaff = () => {\r\n const initialState = {\r\n date: '',\r\n role: '',\r\n address: '',\r\n email: '',\r\n mobile: '',\r\n first_name: '',\r\n last_name: '',\r\n };\r\n\r\n const { register, handleSubmit, errors } = useForm()\r\n const [staff, setStaff] = useState(initialState);\r\n\r\n const onSubmit = (data) => {\r\n //saveStaff(data)\r\n StaffTestService.create(data)\r\n setStaff(initialState)\r\n showMessage('Confirmation', staffMessage.add, 'success')\r\n }\r\n\r\n const saveStaff = (data) => {\r\n\r\n HTTPService.create(data)\r\n .then(response => {\r\n setStaff(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 setStaff({ ...staff, [name]: value });\r\n };\r\n\r\n return (\r\n
\r\n\r\n
\r\n\r\n
\r\n \r\n
\r\n \r\n
\r\n {errors.first_name && staffValidation.first_name}\r\n
\r\n
\r\n\r\n
\r\n\r\n\r\n
\r\n \r\n
\r\n \r\n
\r\n {errors.last_name && staffValidation.last_name}\r\n
\r\n
\r\n\r\n
\r\n\r\n\r\n
\r\n \r\n
\r\n \r\n
\r\n {errors.date && staffValidation.date}\r\n
\r\n
\r\n\r\n
\r\n\r\n\r\n
\r\n \r\n
\r\n \r\n
\r\n {errors.role && staffValidation.role}\r\n
\r\n
\r\n\r\n
\r\n\r\n\r\n
\r\n \r\n
\r\n \r\n
\r\n {errors.address && staffValidation.address}\r\n
\r\n
\r\n\r\n
\r\n\r\n
\r\n \r\n
\r\n \r\n
\r\n {errors.email && staffValidation.email}\r\n
\r\n
\r\n\r\n
\r\n\r\n
\r\n \r\n
\r\n \r\n
\r\n {errors.mobile && staffValidation.mobile}\r\n
\r\n
\r\n\r\n
\r\n\r\n\r\n
\r\n
\r\n \r\n
\r\n
\r\n
\r\n
\r\n )\r\n};\r\n\r\nAddStaff.propTypes = {};\r\n\r\nAddStaff.defaultProps = {};\r\n\r\nexport default AddStaff;\r\n","C:\\projects\\GYM-FRONTEND-ADMIN\\src\\modules\\expenseModule\\EditExpense\\EditExpense.js",["527"],"import React, { useEffect, useState } from 'react';\r\nimport PropTypes from 'prop-types';\r\nimport './EditExpense.css';\r\nimport { useForm } from 'react-hook-form';\r\nimport showMessage from '../../../libraries/messages/messages'\r\nimport expenseMessage from '../../../main/messages/expenseMessage'\r\nimport expenseValidation from '../../../main/validations/expenseValidations'\r\nimport ExpenseTestService from '../../../main/mocks/ExpenseTestService';\r\n\r\n\r\nconst EditExpense = (props) => {\r\n\r\n const { register, handleSubmit, errors } = useForm() // initialise the hook\r\n const [expense, setExpense] = useState(props.expense);\r\n\r\n useEffect(() => {\r\n setExpense(props.expense)\r\n }, [props.expense]);\r\n\r\n\r\n const onSubmit = (data) => {\r\n\r\n ExpenseTestService.update(props.expense, data)\r\n showMessage('Confirmation', expenseMessage.edit, 'success')\r\n }\r\n\r\n const handleInputChange = event => {\r\n const { name, value } = event.target;\r\n setExpense({ ...expense, [name]: value });\r\n };\r\n\r\n\r\n return (\r\n
\r\n
\r\n\r\n
\r\n \r\n
\r\n \r\n
\r\n {errors.supplier && expenseValidation.supplier}\r\n
\r\n
\r\n
\r\n\r\n\r\n
\r\n \r\n
\r\n \r\n
\r\n {errors.amount && expenseValidation.amount}\r\n
\r\n
\r\n
\r\n\r\n\r\n
\r\n \r\n
\r\n \r\n
\r\n {errors.date && expenseValidation.date}\r\n
\r\n
\r\n
\r\n\r\n\r\n
\r\n
\r\n \r\n
\r\n
\r\n\r\n\r\n
\r\n
\r\n )\r\n};\r\n\r\nEditExpense.propTypes = {};\r\n\r\nEditExpense.defaultProps = {};\r\n\r\nexport default EditExpense;\r\n","C:\\projects\\GYM-FRONTEND-ADMIN\\src\\modules\\eventModule\\EditEvent\\EditEvent.js",["528","529"],"import React, { useEffect, useState } from 'react';\r\nimport PropTypes from 'prop-types';\r\nimport './EditEvent.css';\r\nimport { useForm } from 'react-hook-form';\r\nimport showMessage from '../../../libraries/messages/messages'\r\nimport eventMessage from '../../../main/messages/eventMessage'\r\nimport eventValidation from '../../../main/validations/eventValidation'\r\nimport EventTestService from '../../../main/mocks/EventTestService';\r\n\r\n\r\nconst EditEvent = (props) => {\r\n const { register, handleSubmit, errors } = useForm() // initialise the hook\r\n const [event, setEvent] = useState(props.event);\r\n\r\n useEffect(() => {\r\n setEvent(props.event)\r\n }, [props.event]);\r\n\r\n\r\n const onSubmit = (data) => {\r\n\r\n EventTestService.update(props.event, data)\r\n showMessage('Confirmation', eventMessage.edit, 'success')\r\n }\r\n\r\n const handleInputChange = event => {\r\n const { name, value } = event.target;\r\n setEvent({ ...event, [name]: value });\r\n };\r\n\r\n\r\n\r\n return (\r\n
\r\n
\r\n\r\n\r\n\r\n\r\n
\r\n
\r\n
\r\n \r\n
\r\n {errors.event_name && eventValidation.event_name}\r\n
\r\n
\r\n
\r\n
\r\n\r\n\r\n\r\n
\r\n
\r\n
\r\n \r\n
\r\n {errors.event_date && eventValidation.event_date}\r\n
\r\n
\r\n
\r\n
\r\n\r\n\r\n\r\n
\r\n
\r\n \r\n
\r\n {errors.place_id && eventValidation.place_id}\r\n
\r\n
\r\n
\r\n\r\n\r\n\r\n
\r\n
\r\n
\r\n \r\n
\r\n {errors.starttime && eventValidation.starttime}\r\n
\r\n
\r\n
\r\n
\r\n\r\n\r\n
\r\n
\r\n
\r\n \r\n
\r\n {errors.endtime && eventValidation.endtime}\r\n
\r\n
\r\n
\r\n
\r\n\r\n\r\n
\r\n
\r\n
\r\n )\r\n};\r\n\r\nEditEvent.propTypes = {};\r\n\r\nEditEvent.defaultProps = {};\r\n\r\nexport default EditEvent;\r\n","C:\\projects\\GYM-FRONTEND-ADMIN\\src\\libraries\\datatables\\datatables.js",[],"C:\\projects\\GYM-FRONTEND-ADMIN\\src\\modules\\ActivityModule\\EditActivity\\EditActivity.js",["530"],"import React, { useEffect, useState } from 'react';\r\nimport PropTypes from 'prop-types';\r\nimport './EditActivity.css';\r\nimport { useForm } from 'react-hook-form';\r\nimport showMessage from '../../../libraries/messages/messages'\r\nimport activityMessage from '../../../main/messages/activityMessage'\r\nimport activityValidation from '../../../main/validations/activityValidation'\r\nimport ActivityTestService from '../../../main/mocks/ActivityTestService';\r\n\r\nconst EditActivity = (props) => {\r\n\r\n const { register, handleSubmit, errors } = useForm() // initialise the hook\r\n const [activity, setActivity] = useState(props.activity);\r\n\r\n useEffect(() => {\r\n setActivity(props.activity)\r\n }, [props.activity]);\r\n\r\n\r\n const onSubmit = (data) => {\r\n\r\n ActivityTestService.update(props.activity, data)\r\n showMessage('Confirmation', activityMessage.edit, 'success')\r\n }\r\n\r\n const handleInputChange = event => {\r\n const { name, value } = event.target;\r\n setActivity({ ...activity, [name]: value });\r\n };\r\n\r\n\r\n return (\r\n
\r\n
\r\n\r\n
\r\n \r\n
\r\n \r\n
\r\n {errors.category && activityValidation.category}\r\n
\r\n
\r\n
\r\n\r\n\r\n\r\n
\r\n \r\n
\r\n \r\n
\r\n {errors.title && activityValidation.title}\r\n
\r\n
\r\n
\r\n\r\n\r\n
\r\n \r\n
\r\n \r\n
\r\n {errors.member && activityValidation.member}\r\n
\r\n
\r\n
\r\n\r\n\r\n
\r\n \r\n
\r\n \r\n
\r\n {errors.type && activityValidation.type}\r\n
\r\n
\r\n
\r\n\r\n
\r\n
\r\n \r\n
\r\n
\r\n\r\n\r\n
\r\n
\r\n )\r\n};\r\n\r\nEditActivity.propTypes = {};\r\n\r\nEditActivity.defaultProps = {};\r\n\r\nexport default EditActivity;\r\n","C:\\projects\\GYM-FRONTEND-ADMIN\\src\\main\\messages\\courseMessage.js",[],"C:\\projects\\GYM-FRONTEND-ADMIN\\src\\modules\\exerciceModule\\EditExercice\\EditExercice.js",["531","532","533","534","535","536","537","538","539","540"],"import React, { useEffect, useState } from 'react';\r\nimport PropTypes from 'prop-types';\r\nimport './EditExercice.css';\r\nimport { useForm } from 'react-hook-form';\r\nimport showMessage from '../../../libraries/messages/messages'\r\nimport exerciceMessage from '../../../main/messages/exerciceMessage'\r\nimport ExerciceTestService from '../../../main/mocks/ExerciceTestService';\r\n\r\n\r\nconst EditExercice = (props) => {\r\n const { register, handleSubmit, errors } = useForm() // initialise the hook\r\n const [exercice, setExercice] = useState(props.exercice);\r\n\r\n useEffect(() => {\r\n setExercice(props.exercice)\r\n }, [props.exercice]);\r\n\r\n\r\n const onSubmit = (data) => {\r\n\r\n ExerciceTestService.update(props.exercice, data)\r\n showMessage('Confirmation', exerciceMessage.edit, 'success')\r\n }\r\n\r\n const handleInputChange = event => {\r\n const { name, value } = event.target;\r\n setExercice({ ...exercice, [name]: value });\r\n };\r\n\r\n\r\n return (\r\n
\r\n
\r\n\r\n
\r\n\r\n \r\n
\r\n \r\n\r\n\r\n \r\n
\r\n \r\n
\r\n\r\n\r\n\r\n\r\n
\r\n \r\n \r\n
\r\n\r\n\r\n
\r\n \r\n
\r\n
\r\n \r\n \r\n Sélectionnez la date d'enregistrement pour l'entraînement d'aujourd'hui \r\n \r\n
\r\n
\r\n
\r\n\r\n\r\n
\r\n \r\n \r\n \r\n
\r\n \r\n\r\n\r\n
\r\n
\r\n )\r\n};\r\n\r\nEditExercice.propTypes = {};\r\n\r\nEditExercice.defaultProps = {};\r\n\r\nexport default EditExercice;\r\n","C:\\projects\\GYM-FRONTEND-ADMIN\\src\\main\\messages\\revenueMessage.js",[],"C:\\projects\\GYM-FRONTEND-ADMIN\\src\\main\\mocks\\MemberTestService.js",["541"],"const _member = [{\r\n \"first_name\": \"Marshall Brodeur\", \"start_date\": \"13/01/2020\",\r\n \"end_date\": \"13/06/2021\", \"type\": \"normal\", \"coach\": \"Jack Doe\"\r\n}]\r\n\r\n\r\nconst getAll = () => {\r\n return _member;\r\n};\r\n\r\nconst get = id => {\r\n return _member.find(item => item.id === id);\r\n};\r\n\r\nconst create = (data) => {\r\n _member.push(data);\r\n};\r\n\r\nconst update = (old, data) => {\r\n\r\n var foundIndex = _member.findIndex(item => item === old);\r\n _member[foundIndex] = data;\r\n};\r\n\r\nconst remove = id => {\r\n _member.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\\GYM-FRONTEND-ADMIN\\src\\main\\validations\\expenseValidations.js",[],"C:\\projects\\GYM-FRONTEND-ADMIN\\src\\modules\\presenceModule\\Presence\\Presence.js",["542","543","544","545","546","547","548","549"],"\r\nimport React, { useEffect, useState } from 'react';\r\nimport './Presence.css';\r\nimport { LoadJS } from '../../../libraries/datatables/datatables';\r\nimport EditPresence from '../EditPresence/EditPresence';\r\nimport AddPresence from '../AddPresence/AddPresence';\r\nimport useForceUpdate from 'use-force-update';\r\nimport showMessage from '../../../libraries/messages/messages';\r\nimport presenceMessage from '../../../main/messages/presenceMessage';\r\nimport PresenceTestService from '../../../main/mocks/PresenceTestService';\r\nimport HTTPService from '../../../main/services/HTTPService';\r\n\r\nconst Presence = () => {\r\n\r\n const [presences, setPresences] = useState([]);\r\n const [updatedItem, setUpdatedItem] = useState({});\r\n const forceUpdate = useForceUpdate();\r\n\r\n\r\n useEffect(() => {\r\n LoadJS()\r\n retrievePresences()\r\n }, []);\r\n\r\n\r\n const getAll = () => {\r\n HTTPService.getAll()\r\n .then(response => {\r\n setPresences(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 retrievePresences = () => {\r\n var presences = PresenceTestService.getAll();\r\n setPresences(presences);\r\n };\r\n\r\n const resfresh = () => {\r\n retrievePresences()\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 showMessage('Confirmation', presenceMessage.delete, 'success')\r\n PresenceTestService.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 return (\r\n
\r\n
\r\n
\r\n
\r\n
\r\n

Présenses

\r\n
\r\n
\r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n\r\n \r\n \r\n \r\n \r\n \r\n \r\n\r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n
Nom membreDatejourStatut
Christophe Marceau08/01/2021vendrediabsent
Nom membreDatejourStatut
\r\n\r\n
\r\n
\r\n
\r\n\r\n
\r\n
\r\n )\r\n};\r\n\r\nPresence.propTypes = {};\r\n\r\nPresence.defaultProps = {};\r\n\r\nexport default Presence;\r\n","C:\\projects\\GYM-FRONTEND-ADMIN\\src\\modules\\staffModule\\Staff\\Staff.js",["550","551"],"\r\nimport React, { useEffect, useState } from 'react';\r\nimport './Staff.css';\r\nimport { LoadJS } from '../../../libraries/datatables/datatables';\r\nimport EditStaff from '../EditStaff/EditStaff';\r\nimport AddStaff from '../AddStaff/AddStaff';\r\nimport useForceUpdate from 'use-force-update';\r\nimport showMessage from '../../../libraries/messages/messages';\r\nimport staffMessage from '../../../main/messages/staffMessage';\r\nimport StaffTestService from '../../../main/mocks/StaffTestService';\r\nimport HTTPService from '../../../main/services/HTTPService';\r\n\r\nconst Staff = () => {\r\n\r\n const [staffs, setStaffs] = useState([]);\r\n const [updatedItem, setUpdatedItem] = useState({});\r\n const forceUpdate = useForceUpdate();\r\n\r\n\r\n useEffect(() => {\r\n LoadJS()\r\n retrieveStaffs()\r\n }, []);\r\n\r\n\r\n const getAll = () => {\r\n HTTPService.getAll()\r\n .then(response => {\r\n setStaffs(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 retrieveStaffs = () => {\r\n var staffs = StaffTestService.getAll();\r\n setStaffs(staffs);\r\n };\r\n\r\n const resfresh = () => {\r\n retrieveStaffs()\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 showMessage('Confirmation', staffMessage.delete, 'success')\r\n StaffTestService.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 return (\r\n
\r\n
\r\n
\r\n
\r\n
\r\n

Staff

\r\n
\r\n
\r\n
\r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n\r\n\r\n {staffs.map(item =>\r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n )}\r\n\r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n
NomRoleDate expirationMobileActions
{item.first_name}{item.role}{item.date}{item.mobile}\r\n \r\n \r\n
NomRoleDate expirationMobileStatut
\r\n\r\n \r\n\r\n\r\n
\r\n
\r\n
\r\n
\r\n
Nouveau
\r\n \r\n
\r\n
\r\n \r\n
\r\n
\r\n \r\n\r\n
\r\n
\r\n
\r\n
\r\n\r\n\r\n
\r\n
\r\n
\r\n
\r\n
Edit
\r\n \r\n
\r\n
\r\n \r\n
\r\n
\r\n \r\n\r\n
\r\n
\r\n
\r\n
\r\n\r\n
\r\n
\r\n
\r\n
\r\n\r\n
\r\n
\r\n )\r\n};\r\n\r\nStaff.propTypes = {};\r\n\r\nStaff.defaultProps = {};\r\n\r\nexport default Staff;\r\n","C:\\projects\\GYM-FRONTEND-ADMIN\\src\\main\\shared\\Content\\Content.js",["552","553","554","555","556","557","558","559","560","561","562","563","564","565","566","567","568","569"],"C:\\projects\\GYM-FRONTEND-ADMIN\\src\\main\\shared\\Navigation\\Navigation.js",["570","571"],"C:\\projects\\GYM-FRONTEND-ADMIN\\src\\main\\shared\\Footer\\Footer.js",["572"],"import React from 'react';\r\nimport PropTypes from 'prop-types';\r\nimport './Footer.css';\r\nimport User from '../../config/user';\r\n\r\nconst Footer = (props) => (\r\n\r\n\r\n \r\n);\r\n\r\nFooter.propTypes = {};\r\n\r\nFooter.defaultProps = {};\r\n\r\nexport default Footer;\r\n","C:\\projects\\GYM-FRONTEND-ADMIN\\src\\modules\\shared\\Configuration\\Configuration.js",["573"],"import React from 'react';\r\nimport PropTypes from 'prop-types';\r\nimport './Configuration.css';\r\n\r\nconst Configuration = () => (\r\n
\r\n
\r\n
\r\n
\r\n
\r\n

Paramètres

\r\n
\r\n
\r\n
\r\n
\r\n \r\n \r\n
\r\n\r\n
\r\n \r\n \r\n
\r\n\r\n\r\n
\r\n \r\n \r\n
\r\n\r\n
\r\n
\r\n
\r\n \r\n
\r\n
\r\n\r\n
\r\n
\r\n
\r\n \r\n
\r\n
\r\n\r\n \r\n
\r\n
\r\n
\r\n
\r\n \r\n
\r\n
\r\n);\r\n\r\nConfiguration.propTypes = {};\r\n\r\nConfiguration.defaultProps = {};\r\n\r\nexport default Configuration;\r\n","C:\\projects\\GYM-FRONTEND-ADMIN\\src\\modules\\shared\\DashBoard\\DashBoard.js",["574"],"import React, { useEffect } from 'react';\r\nimport PropTypes from 'prop-types';\r\nimport './DashBoard.css';\r\nimport { drawChart } from './../../../libraries/chart/chart';\r\nimport Member from './../../memberModule/Member/Member';\r\n\r\nconst DashBoard = () => {\r\n\r\n useEffect(() => {\r\n // Runs ONCE after initial rendering\r\n drawChart()\r\n\r\n }, []);\r\n\r\n return (\r\n
\r\n
\r\n
\r\n
\r\n
\r\n

Tableau de bord

\r\n
\r\n
\r\n\r\n
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n \r\n
\r\n
\r\n
\r\n
\r\n

Membres

\r\n

3

\r\n

\r\n
\r\n
\r\n
\r\n\r\n
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n \r\n
\r\n
\r\n
\r\n
\r\n

Résérvations

\r\n

23

\r\n

\r\n
\r\n
\r\n
\r\n\r\n
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n \r\n
\r\n
\r\n
\r\n
\r\n

Exercices

\r\n

23

\r\n

\r\n
\r\n
\r\n
\r\n\r\n
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n \r\n
\r\n
\r\n
\r\n
\r\n

Activités

\r\n

4

\r\n

\r\n
\r\n
\r\n
\r\n\r\n
\r\n
\r\n\r\n\r\n
\r\n
\r\n
\r\n\r\n

Revenus

\r\n \r\n
\r\n
\r\n
\r\n\r\n
\r\n
\r\n
\r\n\r\n

Dépenses

\r\n \r\n
\r\n
\r\n
\r\n\r\n\r\n\r\n
\r\n \r\n
\r\n\r\n\r\n\r\n\r\n\r\n
\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n
\r\n
\r\n
\r\n\r\n
\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\\GYM-FRONTEND-ADMIN\\src\\modules\\paymentModule\\Payment\\Payment.js",["575","576"],"\r\nimport React, { useEffect, useState } from 'react';\r\nimport './Payment.css';\r\nimport { LoadJS } from '../../../libraries/datatables/datatables';\r\nimport EditPayment from '../EditPayment/EditPayment';\r\nimport AddPayment from '../AddPayment/AddPayment';\r\nimport useForceUpdate from 'use-force-update';\r\nimport showMessage from '../../../libraries/messages/messages';\r\nimport paymentMessage from '../../../main/messages/paymentMessage';\r\nimport PaymentTestService from '../../../main/mocks/PaymentTestService';\r\nimport HTTPService from '../../../main/services/HTTPService';\r\n\r\nconst Payment = () => {\r\n\r\n const [payments, setPayments] = useState([]);\r\n const [updatedItem, setUpdatedItem] = useState({});\r\n const forceUpdate = useForceUpdate();\r\n\r\n\r\n useEffect(() => {\r\n LoadJS()\r\n retrievePayments()\r\n }, []);\r\n\r\n\r\n const getAll = () => {\r\n HTTPService.getAll()\r\n .then(response => {\r\n setPayments(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 retrievePayments = () => {\r\n var payments = PaymentTestService.getAll();\r\n setPayments(payments);\r\n };\r\n\r\n const resfresh = () => {\r\n retrievePayments()\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 showMessage('Confirmation', paymentMessage.delete, 'success')\r\n PaymentTestService.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 return (\r\n
\r\n
\r\n
\r\n
\r\n
\r\n

Paiement

\r\n
\r\n
\r\n
\r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n\r\n \r\n \r\n\r\n\r\n {payments.map(item =>\r\n \r\n\r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n )}\r\n\r\n\r\n\r\n\r\n\r\n \r\n\r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n\r\n \r\n
TitreNom de membreMontantMontant payéMontant dudebut ahdesionStatutActions
Cours de dance{item.member}{item.amount} $600$0${item.validity}payé\r\n \r\n \r\n
Cours de danceMusette Gervais600$600$0$05/08/2020payé\r\n \r\n
TitreNom de membreMontantMontant payéMontant dudebut ahdesionStatutActions
\r\n \r\n\r\n\r\n
\r\n
\r\n
\r\n
\r\n
nouveau
\r\n \r\n
\r\n
\r\n \r\n
\r\n
\r\n \r\n\r\n
\r\n
\r\n
\r\n
\r\n\r\n\r\n
\r\n
\r\n
\r\n
\r\n
Edit
\r\n \r\n
\r\n
\r\n \r\n
\r\n
\r\n \r\n\r\n
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n\r\n
\r\n
\r\n )\r\n};\r\n\r\nPayment.propTypes = {};\r\n\r\nPayment.defaultProps = {};\r\n\r\nexport default Payment;\r\n","C:\\projects\\GYM-FRONTEND-ADMIN\\src\\modules\\exerciceModule\\Exercice\\Exercice.js",["577","578","579","580","581"],"\r\nimport React, { useEffect, useState } from 'react';\r\nimport './Exercice.css';\r\nimport { LoadJS } from '../../../libraries/datatables/datatables';\r\nimport EditExercice from '../EditExercice/EditExercice';\r\nimport AddExercice from '../AddExercice/AddExercice';\r\nimport useForceUpdate from 'use-force-update';\r\nimport showMessage from '../../../libraries/messages/messages';\r\nimport exerciceMessage from '../../../main/messages/exerciceMessage';\r\nimport ExerciceTestService from '../../../main/mocks/ExerciceTestService';\r\nimport HTTPService from '../../../main/services/HTTPService';\r\n\r\nconst Exercice = () => {\r\n\r\n const [exercices, setExercices] = useState([]);\r\n const [updatedItem, setUpdatedItem] = useState({});\r\n const forceUpdate = useForceUpdate();\r\n\r\n\r\n useEffect(() => {\r\n LoadJS()\r\n retrieveExercices()\r\n }, []);\r\n\r\n\r\n const getAll = () => {\r\n HTTPService.getAll()\r\n .then(response => {\r\n setExercices(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 retrieveExercices = () => {\r\n var exercices = ExerciceTestService.getAll();\r\n setExercices(exercices);\r\n };\r\n\r\n const resfresh = () => {\r\n retrieveExercices()\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 showMessage('Confirmation', exerciceMessage.delete, 'success')\r\n ExerciceTestService.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 return (\r\n
\r\n
\r\n
\r\n
\r\n
\r\n

Entrainement

\r\n
\r\n
\r\n
\r\n \r\n \r\n \r\n \r\n \r\n \r\n\r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n
Nom de produitPrix de produitQuantitéActions
vitamine666\r\n \r\n
\r\n \r\n\r\n\r\n
\r\n
\r\n
\r\n
\r\n
Nouveau
\r\n \r\n
\r\n
\r\n \r\n
\r\n
\r\n \r\n\r\n
\r\n
\r\n
\r\n
\r\n\r\n\r\n\r\n
\r\n
\r\n
\r\n
\r\n
Edit
\r\n \r\n
\r\n
\r\n \r\n
\r\n
\r\n \r\n\r\n
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n\r\n
\r\n
\r\n )\r\n};\r\n\r\nExercice.propTypes = {};\r\n\r\nExercice.defaultProps = {};\r\n\r\nexport default Exercice;\r\n","C:\\projects\\GYM-FRONTEND-ADMIN\\src\\modules\\BookingModule\\Booking\\Booking.js",["582","583","584","585","586","587","588"],"\r\nimport React, { useEffect, useState } from 'react';\r\nimport './Booking.css';\r\nimport { LoadJS } from '../../../libraries/datatables/datatables';\r\nimport EditBooking from '../EditBooking/EditBooking';\r\nimport AddBooking from '../AddBooking/AddBooking';\r\nimport useForceUpdate from 'use-force-update';\r\nimport showMessage from '../../../libraries/messages/messages';\r\nimport bookingMessage from '../../../main/messages/bookingMessage';\r\nimport BookingTestService from '../../../main/mocks/BookingTestService';\r\nimport HTTPService from '../../../main/services/HTTPService';\r\n\r\nconst Booking = () => {\r\n\r\n const [bookings, setBookings] = useState([]);\r\n const [updatedItem, setUpdatedItem] = useState({});\r\n const forceUpdate = useForceUpdate();\r\n\r\n\r\n useEffect(() => {\r\n LoadJS()\r\n retrieveBookings()\r\n }, []);\r\n\r\n\r\n const getAll = () => {\r\n HTTPService.getAll()\r\n .then(response => {\r\n setBookings(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 retrieveBookings = () => {\r\n var bookings = BookingTestService.getAll();\r\n setBookings(bookings);\r\n };\r\n\r\n const resfresh = () => {\r\n retrieveBookings()\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 showMessage('Confirmation', bookingMessage.delete, 'success')\r\n BookingTestService.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 return (\r\n
\r\n
\r\n
\r\n
\r\n
\r\n

Réservations

\r\n
\r\n
\r\n
\r\n \r\n\r\n
\r\n \r\n\r\n\r\n
\r\n
\r\n
\r\n
\r\n
Nouveau
\r\n \r\n
\r\n
\r\n \r\n
\r\n
\r\n \r\n\r\n
\r\n
\r\n
\r\n
\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n
\r\n
\r\n
\r\n
\r\n\r\n
\r\n
\r\n )\r\n};\r\n\r\nBooking.propTypes = {};\r\n\r\nBooking.defaultProps = {};\r\n\r\nexport default Booking;\r\n","C:\\projects\\GYM-FRONTEND-ADMIN\\src\\modules\\paymentModule\\EditPayment\\EditPayment.js",["589"],"import React, { useEffect, useState } from 'react';\r\nimport PropTypes from 'prop-types';\r\nimport './EditPayment.css';\r\nimport { useForm } from 'react-hook-form';\r\nimport showMessage from '../../../libraries/messages/messages'\r\nimport paymentMessage from '../../../main/messages/paymentMessage'\r\nimport paymentValidation from '../../../main/validations/paymentValidation'\r\nimport PaymentTestService from '../../../main/mocks/PaymentTestService';\r\n\r\nconst EditPayment = (props) => {\r\n const { register, handleSubmit, errors } = useForm() // initialise the hook\r\n const [payment, setPayment] = useState(props.payment);\r\n\r\n useEffect(() => {\r\n setPayment(props.payment)\r\n }, [props.payment]);\r\n\r\n\r\n const onSubmit = (data) => {\r\n\r\n PaymentTestService.update(props.payment, data)\r\n showMessage('Confirmation', paymentMessage.edit, 'success')\r\n }\r\n\r\n const handleInputChange = event => {\r\n const { name, value } = event.target;\r\n setPayment({ ...payment, [name]: value });\r\n };\r\n\r\n\r\n return (\r\n
\r\n
\r\n
\r\n \r\n
\r\n \r\n
\r\n {errors.member && paymentValidation.member}\r\n
\r\n
\r\n
\r\n\r\n\r\n
\r\n \r\n
\r\n \r\n
\r\n {errors.type && paymentValidation.type}\r\n
\r\n
\r\n
\r\n\r\n\r\n
\r\n \r\n
\r\n \r\n
\r\n {errors.amount && paymentValidation.amount}\r\n
\r\n
\r\n
\r\n\r\n\r\n
\r\n \r\n
\r\n \r\n
\r\n {errors.validity && paymentValidation.validity}\r\n
\r\n
\r\n
\r\n\r\n\r\n
\r\n
\r\n \r\n
\r\n
\r\n
\r\n
\r\n )\r\n};\r\n\r\nEditPayment.propTypes = {};\r\n\r\nEditPayment.defaultProps = {};\r\n\r\nexport default EditPayment;\r\n","C:\\projects\\GYM-FRONTEND-ADMIN\\src\\main\\messages\\productMessage.js",[],["590","591"],"C:\\projects\\GYM-FRONTEND-ADMIN\\src\\main\\mocks\\PresenceTestService.js",["592"],"const _presence = []\r\n\r\nconst getAll = () => {\r\n return _presence;\r\n};\r\n\r\nconst get = id => {\r\n return _presence.find(item => item.id === id);\r\n};\r\n\r\nconst create = (data) => {\r\n _presence.push(data);\r\n};\r\n\r\nconst update = (old, data) => {\r\n\r\n var foundIndex = _presence.findIndex(item => item === old);\r\n _presence[foundIndex] = data;\r\n};\r\n\r\nconst remove = id => {\r\n _presence.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\\GYM-FRONTEND-ADMIN\\src\\main\\mocks\\EventTestService.js",["593"],"const _event = [{\r\n \"event_name\": \"Cours de dance\",\r\n \"event_date\": \"15/03/2021\",\r\n \"place_id\": \"93, avenue de Bouvines 89100 SENS\",\r\n \"starttime\": \"09:00\", \"endtime\": \"11:00\"\r\n}]\r\n\r\n\r\nconst getAll = () => {\r\n return _event;\r\n};\r\n\r\nconst get = id => {\r\n return _event.find(item => item.id === id);\r\n};\r\n\r\nconst create = (data) => {\r\n _event.push(data);\r\n};\r\n\r\nconst update = (old, data) => {\r\n\r\n var foundIndex = _event.findIndex(item => item === old);\r\n _event[foundIndex] = data;\r\n};\r\n\r\nconst remove = id => {\r\n _event.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\\GYM-FRONTEND-ADMIN\\src\\main\\services\\HTTPService.js",["594"],"import http from \"../../libraries/axios/axios\";\r\nimport BASE_URL from \"../urls/urls\";\r\n\r\nconst getAll = () => {\r\n return http.get(\"/posts\");\r\n};\r\n\r\nconst get = id => {\r\n return http.get(`${BASE_URL}/tutorials/${id}`);\r\n};\r\n\r\nconst create = data => {\r\n return http.post(`${BASE_URL}/tutorials`, data);\r\n};\r\n\r\nconst update = (id, data) => {\r\n return http.put(`${BASE_URL}/tutorials/${id}`, data);\r\n};\r\n\r\nconst remove = id => {\r\n return http.delete(`${BASE_URL}/tutorials/${id}`);\r\n};\r\n\r\nconst removeAll = () => {\r\n return http.delete(`${BASE_URL}/tutorials`);\r\n};\r\n\r\nconst findByTitle = title => {\r\n return http.get(`${BASE_URL}/tutorials?title=${title}`);\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\\GYM-FRONTEND-ADMIN\\src\\modules\\presenceModule\\EditPresence\\EditPresence.js",["595"],"import React from 'react';\r\nimport PropTypes from 'prop-types';\r\nimport './EditPresence.css';\r\n\r\nconst EditPresence = () => (\r\n
\r\n EditPresence Component\r\n
\r\n);\r\n\r\nEditPresence.propTypes = {};\r\n\r\nEditPresence.defaultProps = {};\r\n\r\nexport default EditPresence;\r\n","C:\\projects\\GYM-FRONTEND-ADMIN\\src\\modules\\presenceModule\\AddPresence\\AddPresence.js",["596"],"import React from 'react';\r\nimport PropTypes from 'prop-types';\r\nimport './AddPresence.css';\r\n\r\nconst AddPresence = () => (\r\n
\r\n AddPresence Component\r\n
\r\n);\r\n\r\nAddPresence.propTypes = {};\r\n\r\nAddPresence.defaultProps = {};\r\n\r\nexport default AddPresence;\r\n","C:\\projects\\GYM-FRONTEND-ADMIN\\src\\modules\\productModule\\AddProduct\\AddProduct.js",["597","598"],"\r\nimport React, { useState } from 'react';\r\nimport './AddProduct.css';\r\nimport { useForm } from 'react-hook-form';\r\nimport showMessage from '../../../libraries/messages/messages'\r\nimport productMessage from '../../../main/messages/productMessage'\r\nimport productValidation from '../../../main/validations/productValidation'\r\nimport ProductTestService from '../../../main/mocks/ProductTestService';\r\nimport HTTPService from '../../../main/services/HTTPService';\r\n\r\nconst AddProduct = () => {\r\n\tconst initialState = {\r\n\t\tpost: \"\",\r\n\t\tdescription: \"\",\r\n\t\tstart: \"\",\r\n\t\tend: \"\",\r\n\t\tlocation: \"\",\r\n\t\trequirement: \"\"\r\n\t};\r\n\r\n\tconst { register, handleSubmit, errors } = useForm()\r\n\tconst [product, setProduct] = useState(initialState);\r\n\r\n\tconst onSubmit = (data) => {\r\n\t\t//saveProduct(data)\r\n\t\tProductTestService.create(data)\r\n\t\tsetProduct(initialState)\r\n\t\tshowMessage('Confirmation', productMessage.add, 'success')\r\n\t}\r\n\r\n\tconst saveProduct = (data) => {\r\n\r\n\t\tHTTPService.create(data)\r\n\t\t\t.then(response => {\r\n\t\t\t\tsetProduct(initialState)\r\n\t\t\t})\r\n\t\t\t.catch(e => {\r\n\t\t\t\tconsole.log(e);\r\n\t\t\t});\r\n\r\n\t};\r\n\r\n\r\n\tconst handleInputChange = event => {\r\n\t\tconst { name, value } = event.target;\r\n\t\tsetProduct({ ...product, [name]: value });\r\n\t};\r\n\r\n\treturn (\r\n\t\t
\r\n\t\t\t
\r\n\r\n\r\n\t\t\t\t
\r\n\t\t\t\t\t\r\n\t\t\t\t\t
\r\n\t\t\t\t\t\t\r\n\t\t\t\t\t\t
\r\n\t\t\t\t\t\t\t{errors.product_name && productValidation.product_name}\r\n\t\t\t\t\t\t
\r\n\t\t\t\t\t
\r\n\t\t\t\t
\r\n\r\n\r\n\t\t\t\t
\r\n\t\t\t\t\t\r\n\t\t\t\t\t
\r\n\t\t\t\t\t\t
\r\n\r\n\t\t\t\t\t\t\t\r\n\t\t\t\t\t\t\t
\r\n\t\t\t\t\t\t\t\t{errors.price && productValidation.price}\r\n\t\t\t\t\t\t\t
\r\n\r\n\t\t\t\t\t\t
\r\n\t\t\t\t\t
\r\n\t\t\t\t
\r\n\r\n\r\n\t\t\t\t
\r\n\t\t\t\t\t\r\n\t\t\t\t\t
\r\n\t\t\t\t\t\t\r\n\t\t\t\t\t\t
\r\n\t\t\t\t\t\t\t{errors.quantity && productValidation.quantity}\r\n\t\t\t\t\t\t
\r\n\t\t\t\t\t
\r\n\t\t\t\t
\r\n\r\n\r\n\t\t\t\t
\r\n\t\t\t\t\t\r\n\t\t\t\t
\r\n\t\t\t
\r\n\t\t
\r\n\t)\r\n};\r\n\r\nAddProduct.propTypes = {};\r\n\r\nAddProduct.defaultProps = {};\r\n\r\nexport default AddProduct;\r\n","C:\\projects\\GYM-FRONTEND-ADMIN\\src\\modules\\courseModule\\AddCourse\\AddCourse.js",["599"],"import React from 'react';\r\nimport PropTypes from 'prop-types';\r\nimport './AddCourse.css';\r\n\r\nconst AddCourse = () => (\r\n
\r\n AddCourse Component\r\n
\r\n);\r\n\r\nAddCourse.propTypes = {};\r\n\r\nAddCourse.defaultProps = {};\r\n\r\nexport default AddCourse;\r\n","C:\\projects\\GYM-FRONTEND-ADMIN\\src\\libraries\\messages\\messages.js",[],"C:\\projects\\GYM-FRONTEND-ADMIN\\src\\main\\messages\\activityMessage.js",[],"C:\\projects\\GYM-FRONTEND-ADMIN\\src\\modules\\expenseModule\\AddExpense\\AddExpense.js",["600"],"\r\nimport React, { useState } from 'react';\r\nimport './AddExpense.css';\r\nimport { useForm } from 'react-hook-form';\r\nimport showMessage from '../../../libraries/messages/messages'\r\nimport expenseMessage from '../../../main/messages/expenseMessage'\r\nimport expenseValidation from '../../../main/validations/expenseValidations'\r\nimport ExpenseTestService from '../../../main/mocks/ExpenseTestService';\r\nimport HTTPService from '../../../main/services/HTTPService';\r\n\r\nconst AddExpense = () => {\r\n const initialState = {\r\n date: '',\r\n supplier: '',\r\n amount: '',\r\n };\r\n\r\n const { register, handleSubmit, errors } = useForm()\r\n const [expense, setExpense] = useState(initialState);\r\n\r\n const onSubmit = (data) => {\r\n //saveExpense(data)\r\n ExpenseTestService.create(data)\r\n setExpense(initialState)\r\n showMessage('Confirmation', expenseMessage.add, 'success')\r\n }\r\n\r\n const saveExpense = (data) => {\r\n\r\n HTTPService.create(data)\r\n .then(response => {\r\n setExpense(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 setExpense({ ...expense, [name]: value });\r\n };\r\n\r\n\r\n return (\r\n\r\n
\r\n
\r\n\r\n
\r\n \r\n
\r\n \r\n
\r\n {errors.supplier && expenseValidation.supplier}\r\n
\r\n
\r\n
\r\n\r\n\r\n
\r\n \r\n
\r\n \r\n
\r\n {errors.amount && expenseValidation.amount}\r\n
\r\n
\r\n
\r\n\r\n\r\n
\r\n \r\n
\r\n \r\n
\r\n {errors.date && expenseValidation.date}\r\n
\r\n
\r\n
\r\n\r\n\r\n
\r\n
\r\n \r\n
\r\n
\r\n\r\n\r\n
\r\n
\r\n )\r\n};\r\n\r\nAddExpense.propTypes = {};\r\n\r\nAddExpense.defaultProps = {};\r\n\r\nexport default AddExpense;\r\n","C:\\projects\\GYM-FRONTEND-ADMIN\\src\\libraries\\axios\\axios.js",[],["601","602"],"C:\\projects\\GYM-FRONTEND-ADMIN\\src\\main\\mocks\\ExpenseTestService.js",["603"],"const _expense = [{ \"supplier\": \"maintenance matériel\", \"amount\": \"6764\" }]\r\n\r\nconst getAll = () => {\r\n return _expense;\r\n};\r\n\r\nconst get = id => {\r\n return _expense.find(item => item.id === id);\r\n};\r\n\r\nconst create = (data) => {\r\n _expense.push(data);\r\n};\r\n\r\nconst update = (old, data) => {\r\n\r\n var foundIndex = _expense.findIndex(item => item === old);\r\n _expense[foundIndex] = data;\r\n};\r\n\r\nconst remove = id => {\r\n _expense.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\\GYM-FRONTEND-ADMIN\\src\\modules\\typesubsModule\\ViewTypeSubs\\TypeSubs\\TypeSubs.js",["604","605"],"\r\nimport React, { useEffect, useState } from 'react';\r\nimport './TypeSubs.css';\r\nimport { LoadJS } from '../../../../libraries/datatables/datatables';\r\n\r\nimport useForceUpdate from 'use-force-update';\r\nimport showMessage from '../../../../libraries/messages/messages';\r\nimport typeSubMessage from '../../../../main/messages/typeSubMessage ';\r\nimport TypeSubTestService from '../../../../main/mocks/TypeSubTestService';\r\nimport HTTPService from '../../../../main/services/HTTPService';\r\nimport AddTypeSubs from '../AddTypeSubs/AddTypeSubs';\r\nimport EditTypeSubs from '../EditTypeSubs/EditTypeSubs';\r\n\r\nconst TypeSubs = () => {\r\n\r\n const [typeSubs, setTypeSubs] = useState([]);\r\n const [updatedItem, setUpdatedItem] = useState({});\r\n const forceUpdate = useForceUpdate();\r\n\r\n\r\n useEffect(() => {\r\n LoadJS()\r\n retrieveTypeSubs()\r\n }, []);\r\n\r\n\r\n const getAll = () => {\r\n HTTPService.getAll()\r\n .then(response => {\r\n setTypeSubs(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 retrieveTypeSubs = () => {\r\n var typeSubs = TypeSubTestService.getAll();\r\n setTypeSubs(typeSubs);\r\n };\r\n\r\n const resfresh = () => {\r\n retrieveTypeSubs()\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 showMessage('Confirmation', typeSubMessage.delete, 'success')\r\n TypeSubTestService.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 return (\r\n
\r\n
\r\n
\r\n
\r\n
\r\n

Type d'adhésion

\r\n
\r\n
\r\n
\r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n\r\n\r\n {typeSubs.map(item =>\r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n )}\r\n\r\n\r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n
Nom du membrePériode Plan de versementFrais d'inscriptionActions
{item.member}{item.period} mois{item.time_payment}{item.amount} $\r\n \r\n \r\n
NomPériode Plan de versementFrais d'inscriptionActions
\r\n\r\n \r\n\r\n\r\n
\r\n
\r\n
\r\n
\r\n
Nouveau
\r\n \r\n
\r\n
\r\n \r\n
\r\n
\r\n \r\n\r\n
\r\n
\r\n
\r\n
\r\n\r\n\r\n\r\n
\r\n
\r\n
\r\n
\r\n
Edit
\r\n \r\n
\r\n
\r\n \r\n
\r\n
\r\n \r\n\r\n
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n\r\n
\r\n
\r\n )\r\n};\r\n\r\nTypeSubs.propTypes = {};\r\n\r\nTypeSubs.defaultProps = {};\r\n\r\nexport default TypeSubs;\r\n","C:\\projects\\GYM-FRONTEND-ADMIN\\src\\modules\\exerciceModule\\AddExercice\\AddExercice.js",["606","607","608","609","610","611","612","613","614","615"],"\r\nimport React, { useState } from 'react';\r\nimport './AddExercice.css';\r\nimport { useForm } from 'react-hook-form';\r\nimport showMessage from '../../../libraries/messages/messages'\r\nimport exerciceMessage from '../../../main/messages/exerciceMessage'\r\nimport ExerciceTestService from '../../../main/mocks/ExerciceTestService';\r\nimport HTTPService from '../../../main/services/HTTPService';\r\n\r\nconst AddExercice = () => {\r\n const initialState = {\r\n post: \"\",\r\n description: \"\",\r\n start: \"\",\r\n end: \"\",\r\n location: \"\",\r\n requirement: \"\"\r\n };\r\n\r\n const { register, handleSubmit, errors } = useForm()\r\n const [exercice, setExercice] = useState(initialState);\r\n\r\n const onSubmit = (data) => {\r\n //saveExercice(data)\r\n ExerciceTestService.create(data)\r\n setExercice(initialState)\r\n showMessage('Confirmation', exerciceMessage.add, 'success')\r\n }\r\n\r\n const saveExercice = (data) => {\r\n\r\n HTTPService.create(data)\r\n .then(response => {\r\n setExercice(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 setExercice({ ...exercice, [name]: value });\r\n };\r\n\r\n return (\r\n\r\n
\r\n
\r\n\r\n
\r\n\r\n \r\n
\r\n \r\n\r\n\r\n \r\n
\r\n \r\n
\r\n\r\n\r\n\r\n\r\n
\r\n \r\n \r\n
\r\n\r\n\r\n
\r\n \r\n
\r\n
\r\n \r\n \r\n Sélectionnez la date d'enregistrement pour l'entraînement d'aujourd'hui \r\n \r\n
\r\n
\r\n
\r\n\r\n\r\n
\r\n \r\n \r\n \r\n
\r\n \r\n\r\n\r\n
\r\n
\r\n )\r\n};\r\n\r\nAddExercice.propTypes = {};\r\n\r\nAddExercice.defaultProps = {};\r\n\r\nexport default AddExercice;\r\n","C:\\projects\\GYM-FRONTEND-ADMIN\\src\\main\\mocks\\ActivityTestService.js",["616"],"const _activity = []\r\n\r\nconst getAll = () => {\r\n return _activity;\r\n};\r\n\r\nconst get = id => {\r\n return _activity.find(item => item.id === id);\r\n};\r\n\r\nconst create = (data) => {\r\n _activity.push(data);\r\n};\r\n\r\nconst update = (old, data) => {\r\n\r\n var foundIndex = _activity.findIndex(item => item === old);\r\n _activity[foundIndex] = data;\r\n};\r\n\r\nconst remove = id => {\r\n _activity.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\\GYM-FRONTEND-ADMIN\\src\\main\\validations\\activityValidation.js",[],"C:\\projects\\GYM-FRONTEND-ADMIN\\src\\modules\\eventModule\\AddEvent\\AddEvent.js",["617","618"],"\r\nimport React, { useState } from 'react';\r\nimport './AddEvent.css';\r\nimport { useForm } from 'react-hook-form';\r\nimport showMessage from '../../../libraries/messages/messages'\r\nimport eventMessage from '../../../main/messages/eventMessage'\r\nimport eventValidation from '../../../main/validations/eventValidation'\r\nimport EventTestService from '../../../main/mocks/EventTestService';\r\nimport HTTPService from '../../../main/services/HTTPService';\r\n\r\nconst AddEvent = () => {\r\n const initialState = {\r\n event_name: \"\",\r\n event_date: \"\",\r\n place_id: \"\",\r\n starttime: \"\",\r\n endtime: \"\",\r\n };\r\n\r\n const { register, handleSubmit, errors } = useForm()\r\n const [event, setEvent] = useState(initialState);\r\n\r\n const onSubmit = (data) => {\r\n //saveEvent(data)\r\n EventTestService.create(data)\r\n setEvent(initialState)\r\n showMessage('Confirmation', eventMessage.add, 'success')\r\n }\r\n\r\n const saveEvent = (data) => {\r\n\r\n HTTPService.create(data)\r\n .then(response => {\r\n setEvent(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 setEvent({ ...event, [name]: value });\r\n };\r\n return (\r\n
\r\n
\r\n\r\n\r\n\r\n\r\n
\r\n
\r\n
\r\n \r\n
\r\n {errors.event_name && eventValidation.event_name}\r\n
\r\n
\r\n
\r\n
\r\n\r\n\r\n\r\n
\r\n
\r\n
\r\n \r\n
\r\n {errors.event_date && eventValidation.event_date}\r\n
\r\n
\r\n
\r\n
\r\n\r\n\r\n\r\n
\r\n
\r\n \r\n
\r\n {errors.place_id && eventValidation.place_id}\r\n
\r\n
\r\n
\r\n\r\n\r\n\r\n
\r\n
\r\n
\r\n \r\n
\r\n {errors.starttime && eventValidation.starttime}\r\n
\r\n
\r\n
\r\n
\r\n\r\n\r\n
\r\n
\r\n
\r\n \r\n
\r\n {errors.endtime && eventValidation.endtime}\r\n
\r\n
\r\n
\r\n
\r\n\r\n\r\n
\r\n
\r\n
\r\n )\r\n};\r\n\r\nAddEvent.propTypes = {};\r\n\r\nAddEvent.defaultProps = {};\r\n\r\nexport default AddEvent;\r\n","C:\\projects\\GYM-FRONTEND-ADMIN\\src\\main\\validations\\groupeValidation.js",[],["619","620"],"C:\\projects\\GYM-FRONTEND-ADMIN\\src\\modules\\typesubsModule\\ViewTypeSubs\\EditTypeSubs\\EditTypeSubs.js",["621"],"import React, { useEffect, useState } from 'react';\r\nimport PropTypes from 'prop-types';\r\nimport './EditTypeSubs.css';\r\nimport typeSubValidation from '../../../../main/validations/typeSubValidation';\r\nimport { useForm } from 'react-hook-form';\r\nimport typeSubMessage from '../../../../main/messages/typeSubMessage ';\r\nimport showMessage from '../../../../libraries/messages/messages';\r\nimport TypeSubTestService from '../../../../main/mocks/TypeSubTestService';\r\n\r\nconst EditTypeSubs = (props) => {\r\n\r\n const { register, handleSubmit, errors } = useForm() // initialise the hook\r\n const [typeSub, setTypeSub] = useState(props.typeSub);\r\n\r\n useEffect(() => {\r\n setTypeSub(props.typeSub)\r\n }, [props.typeSub]);\r\n\r\n\r\n const onSubmit = (data) => {\r\n\r\n TypeSubTestService.update(props.typeSub, data)\r\n showMessage('Confirmation', typeSubMessage.edit, 'success')\r\n }\r\n\r\n const handleInputChange = event => {\r\n const { name, value } = event.target;\r\n setTypeSub({ ...typeSub, [name]: value });\r\n };\r\n\r\n\r\n\r\n return (\r\n
\r\n
\r\n\r\n\r\n\r\n
\r\n \r\n
\r\n \r\n
\r\n {errors.member && typeSubValidation.member}\r\n
\r\n
\r\n
\r\n\r\n\r\n\r\n
\r\n \r\n
\r\n \r\n
\r\n {errors.category && typeSubValidation.category}\r\n
\r\n
\r\n
\r\n\r\n\r\n
\r\n \r\n
\r\n \r\n
\r\n {errors.period && typeSubValidation.period}\r\n
\r\n
\r\n
\r\n\r\n\r\n
\r\n \r\n
\r\n \r\n
\r\n {errors.limit && typeSubValidation.limit}\r\n
\r\n
\r\n
\r\n\r\n\r\n
\r\n \r\n
\r\n \r\n
\r\n {errors.amount && typeSubValidation.amount}\r\n
\r\n
\r\n
\r\n\r\n
\r\n \r\n
\r\n \r\n
\r\n {errors.description && typeSubValidation.description}\r\n
\r\n
\r\n
\r\n\r\n\r\n
\r\n \r\n
\r\n \r\n
\r\n {errors.fee && typeSubValidation.fee}\r\n
\r\n
\r\n
\r\n\r\n\r\n\r\n
\r\n \r\n
\r\n \r\n
\r\n {errors.time_payment && typeSubValidation.time_payment}\r\n
\r\n
\r\n
\r\n\r\n
\r\n
\r\n \r\n
\r\n
\r\n
\r\n
\r\n )\r\n};\r\n\r\nEditTypeSubs.propTypes = {};\r\n\r\nEditTypeSubs.defaultProps = {};\r\n\r\nexport default EditTypeSubs;\r\n",["622","623"],"C:\\projects\\GYM-FRONTEND-ADMIN\\src\\modules\\typesubsModule\\ViewTypeSubs\\AddTypeSubs\\AddTypeSubs.js",["624"],"\r\nimport React, { useState } from 'react';\r\nimport './AddTypeSubs.css';\r\nimport { useForm } from 'react-hook-form';\r\nimport showMessage from '../../../../libraries/messages/messages'\r\nimport typeSubMessage from '../../../../main/messages/typeSubMessage '\r\nimport typeSubValidation from '../../../../main/validations/typeSubValidation'\r\nimport TypeSubTestService from '../../../../main/mocks/TypeSubTestService';\r\nimport HTTPService from '../../../../main/services/HTTPService';\r\n\r\n\r\nconst AddTypeSubs = () => {\r\n const initialState = {\r\n post: \"\",\r\n description: \"\",\r\n start: \"\",\r\n end: \"\",\r\n location: \"\",\r\n requirement: \"\"\r\n };\r\n\r\n const { register, handleSubmit, errors } = useForm()\r\n const [job, setJob] = useState(initialState);\r\n\r\n const onSubmit = (data) => {\r\n //saveJob(data)\r\n TypeSubTestService.create(data)\r\n setJob(initialState)\r\n showMessage('Confirmation', typeSubMessage.add, 'success')\r\n }\r\n\r\n const saveJob = (data) => {\r\n\r\n HTTPService.create(data)\r\n .then(response => {\r\n setJob(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 setJob({ ...job, [name]: value });\r\n };\r\n\r\n\r\n return (\r\n
\r\n
\r\n\r\n\r\n\r\n
\r\n \r\n
\r\n \r\n
\r\n {errors.member && typeSubValidation.member}\r\n
\r\n
\r\n
\r\n\r\n\r\n\r\n
\r\n \r\n
\r\n \r\n
\r\n {errors.category && typeSubValidation.category}\r\n
\r\n
\r\n
\r\n\r\n\r\n
\r\n \r\n
\r\n \r\n
\r\n {errors.period && typeSubValidation.period}\r\n
\r\n
\r\n
\r\n\r\n\r\n
\r\n \r\n
\r\n \r\n
\r\n {errors.limit && typeSubValidation.limit}\r\n
\r\n
\r\n
\r\n\r\n\r\n
\r\n \r\n
\r\n \r\n
\r\n {errors.amount && typeSubValidation.amount}\r\n
\r\n
\r\n
\r\n\r\n
\r\n \r\n
\r\n \r\n
\r\n {errors.description && typeSubValidation.description}\r\n
\r\n
\r\n
\r\n\r\n\r\n
\r\n \r\n
\r\n \r\n
\r\n {errors.fee && typeSubValidation.fee}\r\n
\r\n
\r\n
\r\n\r\n\r\n\r\n
\r\n \r\n
\r\n \r\n
\r\n {errors.time_payment && typeSubValidation.time_payment}\r\n
\r\n
\r\n
\r\n\r\n
\r\n
\r\n \r\n
\r\n
\r\n
\r\n
\r\n )\r\n};\r\n\r\nAddTypeSubs.propTypes = {};\r\n\r\nAddTypeSubs.defaultProps = {};\r\n\r\nexport default AddTypeSubs;\r\n","C:\\projects\\GYM-FRONTEND-ADMIN\\src\\reportWebVitals.js",[],"C:\\projects\\GYM-FRONTEND-ADMIN\\src\\modules\\revenueModule\\Revenue\\Revenue.js",["625","626","627","628"],"import React, { useEffect, useState } from 'react';\r\nimport PropTypes from 'prop-types';\r\nimport './Revenue.css';\r\nimport AddRevenue from './../AddRevenue/AddRevenue';\r\nimport { LoadJS } from './../../../libraries/datatables/datatables';\r\nimport EditPayment from './../../paymentModule/EditPayment/EditPayment';\r\nimport HTTPService from '../../../main/services/HTTPService';\r\nimport RevenueTestService from '../../../main/mocks/RevenueTestService';\r\nimport revenueMessage from '../../../main/messages/revenueMessage';\r\nimport showMessage from '../../../libraries/messages/messages';\r\nimport useForceUpdate from 'use-force-update';\r\nimport EditRevenue from '../EditRevenue/EditRevenue';\r\n\r\nconst Revenue = () => {\r\n\r\n const [revenues, setRevenues] = useState([]);\r\n const [updatedItem, setUpdatedItem] = useState({});\r\n const forceUpdate = useForceUpdate();\r\n\r\n\r\n useEffect(() => {\r\n LoadJS()\r\n retrieveRevenues()\r\n }, []);\r\n\r\n\r\n const getAll = () => {\r\n HTTPService.getAll()\r\n .then(response => {\r\n setRevenues(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 retrieveRevenues = () => {\r\n var revenues = RevenueTestService.getAll();\r\n setRevenues(revenues);\r\n };\r\n\r\n const resfresh = () => {\r\n retrieveRevenues()\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 showMessage('Confirmation', revenueMessage.delete, 'success')\r\n RevenueTestService.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 return (\r\n
\r\n
\r\n
\r\n
\r\n
\r\n

Revenus

\r\n
\r\n
\r\n\r\n\r\n \r\n \r\n \r\n \r\n \r\n\r\n \r\n \r\n\r\n {revenues.map(item =>\r\n \r\n \r\n \r\n \r\n \r\n\r\n )}\r\n\r\n \r\n \r\n \r\n \r\n \r\n\r\n \r\n
NomMontantActions
{item.revenue}{item.amount} $\r\n \r\n \r\n
NomMontantActions
\r\n \r\n\r\n\r\n
\r\n
\r\n
\r\n
\r\n
Nouveau
\r\n \r\n
\r\n
\r\n \r\n
\r\n
\r\n \r\n
\r\n
\r\n
\r\n
\r\n\r\n\r\n
\r\n
\r\n
\r\n
\r\n
Edit
\r\n \r\n
\r\n
\r\n \r\n
\r\n
\r\n \r\n
\r\n
\r\n
\r\n
\r\n\r\n\r\n\r\n\r\n
\r\n
\r\n
\r\n\r\n
\r\n
\r\n )\r\n};\r\n\r\nRevenue.propTypes = {};\r\n\r\nRevenue.defaultProps = {};\r\n\r\nexport default Revenue;\r\n","C:\\projects\\GYM-FRONTEND-ADMIN\\src\\modules\\courseModule\\Course\\Course.js",["629","630","631","632","633","634"],"\r\nimport React, { useEffect, useState } from 'react';\r\nimport './Course.css';\r\nimport { LoadJS } from '../../../libraries/datatables/datatables';\r\nimport EditCourse from '../EditCourse/EditCourse';\r\nimport AddCourse from '../AddCourse/AddCourse';\r\nimport useForceUpdate from 'use-force-update';\r\nimport showMessage from '../../../libraries/messages/messages';\r\nimport courseMessage from '../../../main/messages/courseMessage';\r\nimport CourseTestService from '../../../main/mocks/CourseTestService';\r\nimport HTTPService from '../../../main/services/HTTPService';\r\n\r\nconst Course = () => {\r\n\r\n const [courses, setCourses] = useState([]);\r\n const [updatedItem, setUpdatedItem] = useState({});\r\n const forceUpdate = useForceUpdate();\r\n\r\n\r\n useEffect(() => {\r\n LoadJS()\r\n retrieveCourses()\r\n }, []);\r\n\r\n\r\n const getAll = () => {\r\n HTTPService.getAll()\r\n .then(response => {\r\n setCourses(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 retrieveCourses = () => {\r\n var courses = CourseTestService.getAll();\r\n setCourses(courses);\r\n };\r\n\r\n const resfresh = () => {\r\n retrieveCourses()\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 showMessage('Confirmation', courseMessage.delete, 'success')\r\n CourseTestService.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 return (\r\n\r\n\r\n
\r\n
\r\n
\r\n

Cours

\r\n
\r\n
\r\n
\r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n\r\n \r\n \r\n
Nom MembreNom de personnel Heure départHeure finFrais résérvationActions
AnisAnis14h0016h00234\r\n \r\n
\r\n\r\n\r\n
\r\n
\r\n
\r\n
\r\n
Edit
\r\n \r\n
\r\n
\r\n \r\n
\r\n
\r\n \r\n\r\n
\r\n
\r\n
\r\n
\r\n\r\n
\r\n
\r\n
\r\n
\r\n\r\n\r\n\r\n )\r\n};\r\n\r\nCourse.propTypes = {};\r\n\r\nCourse.defaultProps = {};\r\n\r\nexport default Course;\r\n","C:\\projects\\GYM-FRONTEND-ADMIN\\src\\main\\messages\\typeSubMessage .js",[],"C:\\projects\\GYM-FRONTEND-ADMIN\\src\\main\\mocks\\StaffTestService.js",["635"],"const _staff = [{\r\n \"first_name\": \"Virginie Brunault\", \"role\": \"Professeure de dance\",\r\n \"date\": \"05/09/2022\", \"mobile\": \"423234234\"\r\n}]\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};","C:\\projects\\GYM-FRONTEND-ADMIN\\src\\modules\\revenueModule\\AddRevenue\\AddRevenue.js",["636"],"\r\nimport React, { useState } from 'react';\r\nimport './AddRevenue.css';\r\nimport { useForm } from 'react-hook-form';\r\nimport showMessage from '../../../libraries/messages/messages'\r\nimport revenueMessage from '../../../main/messages/revenueMessage'\r\nimport revenueValidation from '../../../main/validations/revenueValidation'\r\nimport RevenueTestService from '../../../main/mocks/RevenueTestService';\r\nimport HTTPService from '../../../main/services/HTTPService';\r\n\r\nconst AddRevenue = () => {\r\n const initialState = {\r\n post: \"\",\r\n description: \"\",\r\n start: \"\",\r\n end: \"\",\r\n location: \"\",\r\n requirement: \"\"\r\n };\r\n\r\n const { register, handleSubmit, errors } = useForm()\r\n const [revenue, setRevenue] = useState(initialState);\r\n\r\n const onSubmit = (data) => {\r\n //saveRevenue(data)\r\n RevenueTestService.create(data)\r\n setRevenue(initialState)\r\n showMessage('Confirmation', revenueMessage.add, 'success')\r\n }\r\n\r\n const saveRevenue = (data) => {\r\n\r\n HTTPService.create(data)\r\n .then(response => {\r\n setRevenue(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 setRevenue({ ...revenue, [name]: value });\r\n };\r\n\r\n return (\r\n
\r\n
\r\n\r\n
\r\n \r\n
\r\n \r\n
\r\n {errors.revenue && revenueValidation.revenue}\r\n
\r\n
\r\n
\r\n\r\n
\r\n \r\n
\r\n \r\n
\r\n {errors.member && revenueValidation.member}\r\n
\r\n
\r\n
\r\n\r\n
\r\n \r\n
\r\n \r\n
\r\n {errors.amount && revenueValidation.amount}\r\n
\r\n
\r\n
\r\n\r\n\r\n
\r\n \r\n
\r\n \r\n
\r\n {errors.date && revenueValidation.date}\r\n
\r\n
\r\n
\r\n\r\n\r\n
\r\n
\r\n \r\n
\r\n
\r\n\r\n\r\n
\r\n
\r\n )\r\n};\r\n\r\nAddRevenue.propTypes = {};\r\n\r\nAddRevenue.defaultProps = {};\r\n\r\nexport default AddRevenue;\r\n","C:\\projects\\GYM-FRONTEND-ADMIN\\src\\modules\\BookingModule\\EditBooking\\EditBooking.js",["637"],"import React from 'react';\r\nimport PropTypes from 'prop-types';\r\nimport './EditBooking.css';\r\n\r\nconst EditBooking = () => (\r\n
\r\n EditBooking Component\r\n
\r\n);\r\n\r\nEditBooking.propTypes = {};\r\n\r\nEditBooking.defaultProps = {};\r\n\r\nexport default EditBooking;\r\n","C:\\projects\\GYM-FRONTEND-ADMIN\\src\\libraries\\chart\\chart.js",["638"],"import * as Chart from 'chart.js';\r\n\r\nexport function drawChart() {\r\n\r\n let data = [20000, 14000, 12000, 15000, 18000, 19000, 22000];\r\n let data2 = [34000, 54000, 23000, 24000, 65000, 23000, 44000];\r\n let labels = [\"sunday\", \"monday\", \"tuesday\", \"wednesday\", \"thursday\", \"friday\", \"saturday\"];\r\n var ctx1 = document.getElementsByClassName(\"revenue-chart\");\r\n var ctx2 = document.getElementsByClassName(\"expense-chart\");\r\n\r\n renderChart(data, labels, ctx1, 'rgba(53, 253, 13, 1)');\r\n renderChart(data2, labels, ctx2, 'rgba(46, 137, 255, 1)');\r\n\r\n}\r\n\r\n\r\nexport function renderChart(data, labels, ctx, color) {\r\n\r\n\r\n var myChart = new Chart(ctx, {\r\n type: 'line',\r\n data: {\r\n labels: labels,\r\n datasets: [{\r\n label: '',\r\n data: data,\r\n backgroundColor: color,\r\n borderColor: color,\r\n }]\r\n },\r\n })\r\n}","C:\\projects\\GYM-FRONTEND-ADMIN\\src\\main\\messages\\exerciceMessage.js",[],"C:\\projects\\GYM-FRONTEND-ADMIN\\src\\main\\messages\\memberMessage.js",[],"C:\\projects\\GYM-FRONTEND-ADMIN\\src\\main\\validations\\typeSubValidation.js",[],"C:\\projects\\GYM-FRONTEND-ADMIN\\src\\main\\validations\\productValidation.js",[],"C:\\projects\\GYM-FRONTEND-ADMIN\\src\\main\\validations\\eventValidation.js",[],"C:\\projects\\GYM-FRONTEND-ADMIN\\src\\main\\validations\\exerciceValidation.js",[],"C:\\projects\\GYM-FRONTEND-ADMIN\\src\\main\\messages\\expenseMessage.js",[],"C:\\projects\\GYM-FRONTEND-ADMIN\\src\\App.js",["639"],"import logo from './logo.svg';\r\nimport './App.css';\r\nimport Root from './main/shared/Root/Root';\r\n\r\n\r\nfunction App() {\r\n return (\r\n \r\n );\r\n}\r\n\r\nexport default App;\r\n","C:\\projects\\GYM-FRONTEND-ADMIN\\src\\modules\\groupeModule\\EditGroupe\\EditGroupe.js",["640"],"import React, { useEffect, useState } from 'react';\r\nimport PropTypes from 'prop-types';\r\nimport './EditGroupe.css';\r\nimport showMessage from '../../../libraries/messages/messages'\r\nimport groupeMessage from '../../../main/messages/groupeMessage'\r\nimport groupeValidation from '../../../main/validations/groupeValidation'\r\nimport GroupeTestService from '../../../main/mocks/GroupeTestService';\r\nimport { useForm } from 'react-hook-form';\r\n\r\nconst EditGroupe = (props) => {\r\n\r\n const { register, handleSubmit, errors } = useForm() // initialise the hook\r\n const [groupe, setGroupe] = useState(props.groupe);\r\n\r\n useEffect(() => {\r\n setGroupe(props.groupe)\r\n }, [props.groupe]);\r\n\r\n\r\n const onSubmit = (data) => {\r\n\r\n GroupeTestService.update(props.groupe, data)\r\n showMessage('Confirmation', groupeMessage.edit, 'success')\r\n }\r\n\r\n const handleInputChange = event => {\r\n const { name, value } = event.target;\r\n setGroupe({ ...groupe, [name]: value });\r\n };\r\n\r\n\r\n return (\r\n
\r\n
\r\n\r\n
\r\n \r\n
\r\n \r\n
\r\n {errors.groupe_name && groupeValidation.groupe_name}\r\n
\r\n
\r\n
\r\n\r\n\r\n
\r\n
\r\n \r\n
\r\n
\r\n\r\n
\r\n
\r\n )\r\n};\r\n\r\nEditGroupe.propTypes = {};\r\n\r\nEditGroupe.defaultProps = {};\r\n\r\nexport default EditGroupe;\r\n","C:\\projects\\GYM-FRONTEND-ADMIN\\src\\main\\messages\\bookingMessage.js",[],"C:\\projects\\GYM-FRONTEND-ADMIN\\src\\modules\\BookingModule\\AddBooking\\AddBooking.js",["641"],"import React from 'react';\r\nimport PropTypes from 'prop-types';\r\nimport './AddBooking.css';\r\n\r\nconst AddBooking = () => (\r\n
\r\n AddBooking Component\r\n
\r\n);\r\n\r\nAddBooking.propTypes = {};\r\n\r\nAddBooking.defaultProps = {};\r\n\r\nexport default AddBooking;\r\n","C:\\projects\\GYM-FRONTEND-ADMIN\\src\\modules\\courseModule\\EditCourse\\EditCourse.js",["642"],"import React from 'react';\r\nimport PropTypes from 'prop-types';\r\nimport './EditCourse.css';\r\n\r\nconst EditCourse = () => (\r\n
\r\n EditCourse Component\r\n
\r\n);\r\n\r\nEditCourse.propTypes = {};\r\n\r\nEditCourse.defaultProps = {};\r\n\r\nexport default EditCourse;\r\n",["643","644"],"C:\\projects\\GYM-FRONTEND-ADMIN\\src\\main\\messages\\staffMessage.js",[],"C:\\projects\\GYM-FRONTEND-ADMIN\\src\\main\\mocks\\RevenueTestService.js",["645"],"const _revenue = [{ \"revenue\": \"Cours de dance\", \"amount\": \"4432\" }]\r\n\r\nconst getAll = () => {\r\n return _revenue;\r\n};\r\n\r\nconst get = id => {\r\n return _revenue.find(item => item.id === id);\r\n};\r\n\r\nconst create = (data) => {\r\n _revenue.push(data);\r\n};\r\n\r\nconst update = (old, data) => {\r\n\r\n var foundIndex = _revenue.findIndex(item => item === old);\r\n _revenue[foundIndex] = data;\r\n};\r\n\r\nconst remove = id => {\r\n _revenue.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\\GYM-FRONTEND-ADMIN\\src\\main\\validations\\revenueValidation.js",[],"C:\\projects\\GYM-FRONTEND-ADMIN\\src\\main\\mocks\\TypeSubTestService.js",["646"],"const _typeSub = []\r\n\r\nconst getAll = () => {\r\n return _typeSub;\r\n};\r\n\r\nconst get = id => {\r\n return _typeSub.find(item => item.id === id);\r\n};\r\n\r\nconst create = (data) => {\r\n _typeSub.push(data);\r\n};\r\n\r\nconst update = (old, data) => {\r\n\r\n var foundIndex = _typeSub.findIndex(item => item === old);\r\n _typeSub[foundIndex] = data;\r\n};\r\n\r\nconst remove = id => {\r\n _typeSub.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\\GYM-FRONTEND-ADMIN\\src\\modules\\ActivityModule\\AddActivity\\AddActivity.js",["647"],"\r\nimport React, { useState } from 'react';\r\nimport './AddActivity.css';\r\nimport { useForm } from 'react-hook-form';\r\nimport showMessage from '../../../libraries/messages/messages'\r\nimport activityMessage from '../../../main/messages/activityMessage'\r\nimport activityValidation from '../../../main/validations/activityValidation'\r\nimport ActivityTestService from '../../../main/mocks/ActivityTestService';\r\nimport HTTPService from '../../../main/services/HTTPService';\r\n\r\nconst AddActivity = () => {\r\n const initialState = {\r\n category: '',\r\n title: '',\r\n member: '',\r\n type: ''\r\n };\r\n\r\n const { register, handleSubmit, errors } = useForm()\r\n const [activity, setActivity] = useState(initialState);\r\n\r\n const onSubmit = (data) => {\r\n //saveActivity(data)\r\n ActivityTestService.create(data)\r\n setActivity(initialState)\r\n showMessage('Confirmation', activityMessage.add, 'success')\r\n }\r\n\r\n const saveActivity = (data) => {\r\n\r\n HTTPService.create(data)\r\n .then(response => {\r\n setActivity(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 setActivity({ ...activity, [name]: value });\r\n };\r\n\r\n\r\n return (\r\n\r\n
\r\n
\r\n\r\n
\r\n \r\n
\r\n \r\n
\r\n {errors.category && activityValidation.category}\r\n
\r\n
\r\n
\r\n\r\n\r\n\r\n
\r\n \r\n
\r\n \r\n
\r\n {errors.title && activityValidation.title}\r\n
\r\n
\r\n
\r\n\r\n\r\n
\r\n \r\n
\r\n \r\n
\r\n {errors.member && activityValidation.member}\r\n
\r\n
\r\n
\r\n\r\n\r\n
\r\n \r\n
\r\n \r\n
\r\n {errors.type && activityValidation.type}\r\n
\r\n
\r\n
\r\n\r\n
\r\n
\r\n \r\n
\r\n
\r\n\r\n\r\n
\r\n
\r\n\r\n\r\n )\r\n};\r\n\r\nAddActivity.propTypes = {};\r\n\r\nAddActivity.defaultProps = {};\r\n\r\nexport default AddActivity;\r\n","C:\\projects\\GYM-FRONTEND-ADMIN\\src\\main\\validations\\memberValidation.js",["648"],"\r\nconst memberValidation = {\r\n first_name: 'Nom doit etre definie',\r\n last_name: 'Prenom doit etre definie',\r\n birth_date: 'Date de naissance doit etre definie',\r\n groupe: 'Groupe doit etre definie',\r\n type: 'Type doit etre definie',\r\n address: 'Adresse doit etre definie',\r\n mobile: 'Telephone doit etre definie',\r\n email: 'Email doit etre definie',\r\n weight: 'Poids doit etre definie',\r\n size: 'Taille doit etre definie',\r\n chest: 'Poitrine doit etre definie',\r\n foot: 'Cuisse doit etre definie',\r\n hand: 'Bras doit etre definie',\r\n fat: 'Graisse doit etre definie',\r\n start_date: 'Date debut doit etre definie',\r\n end_date: 'Date fin doit etre definie',\r\n type: 'Type doit etre definie',\r\n coach: 'Entreneur doit etre definie',\r\n\r\n\r\n\r\n}\r\nexport default memberValidation;","C:\\projects\\GYM-FRONTEND-ADMIN\\src\\main\\urls\\urls.js",[],"C:\\projects\\GYM-FRONTEND-ADMIN\\src\\modules\\eventModule\\Event\\Event.js",["649","650"],"\r\nimport React, { useEffect, useState } from 'react';\r\nimport './Event.css';\r\nimport { LoadJS } from '../../../libraries/datatables/datatables';\r\nimport EditEvent from '../EditEvent/EditEvent';\r\nimport AddEvent from '../AddEvent/AddEvent';\r\nimport useForceUpdate from 'use-force-update';\r\nimport showMessage from '../../../libraries/messages/messages';\r\nimport eventMessage from '../../../main/messages/eventMessage';\r\nimport EventTestService from '../../../main/mocks/EventTestService';\r\nimport HTTPService from '../../../main/services/HTTPService';\r\n\r\nconst Event = () => {\r\n\r\n const [events, setEvents] = useState([]);\r\n const [updatedItem, setUpdatedItem] = useState({});\r\n const forceUpdate = useForceUpdate();\r\n\r\n\r\n useEffect(() => {\r\n LoadJS()\r\n retrieveEvents()\r\n }, []);\r\n\r\n\r\n const getAll = () => {\r\n HTTPService.getAll()\r\n .then(response => {\r\n setEvents(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 retrieveEvents = () => {\r\n var events = EventTestService.getAll();\r\n setEvents(events);\r\n };\r\n\r\n const resfresh = () => {\r\n retrieveEvents()\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 showMessage('Confirmation', eventMessage.delete, 'success')\r\n EventTestService.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 return (\r\n
\r\n
\r\n
\r\n
\r\n
\r\n

Evenement

\r\n
\r\n
\r\n\r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n\r\n\r\n {events.map(item =>\r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n )}\r\n\r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n
Nom de l'evenementDate evenementEndroitHeure de débutHeure de finActions
{item.event_name}{item.event_date}{item.place_id}{item.starttime}{item.endtime}\r\n \r\n \r\n
Nom de l'evenementDate evenementEndroitHeure de débutHeure de finActions
\r\n \r\n\r\n\r\n
\r\n
\r\n
\r\n
\r\n
Nouveau
\r\n \r\n
\r\n
\r\n \r\n
\r\n
\r\n \r\n\r\n
\r\n
\r\n
\r\n
\r\n\r\n\r\n\r\n
\r\n
\r\n
\r\n
\r\n
Edit
\r\n \r\n
\r\n
\r\n \r\n
\r\n
\r\n \r\n\r\n
\r\n
\r\n
\r\n
\r\n\r\n\r\n
\r\n
\r\n
\r\n\r\n
\r\n
\r\n )\r\n};\r\n\r\nEvent.propTypes = {};\r\n\r\nEvent.defaultProps = {};\r\n\r\nexport default Event;\r\n","C:\\projects\\GYM-FRONTEND-ADMIN\\src\\modules\\memberModule\\EditMember\\EditMember.js",["651"],"import React, { useEffect, useState } from 'react';\r\nimport PropTypes from 'prop-types';\r\nimport './EditMember.css';\r\nimport { useForm } from 'react-hook-form';\r\nimport showMessage from '../../../libraries/messages/messages'\r\nimport memberMessage from '../../../main/messages/memberMessage'\r\nimport memberValidation from '../../../main/validations/memberValidation'\r\nimport MemberTestService from '../../../main/mocks/MemberTestService';\r\nconst EditMember = (props) => {\r\n const { register, handleSubmit, errors } = useForm() // initialise the hook\r\n const [member, setMember] = useState(props.member);\r\n\r\n useEffect(() => {\r\n setMember(props.member)\r\n }, [props.member]);\r\n\r\n\r\n const onSubmit = (data) => {\r\n\r\n MemberTestService.update(props.member, data)\r\n showMessage('Confirmation', memberMessage.edit, 'success')\r\n }\r\n\r\n const handleInputChange = event => {\r\n const { name, value } = event.target;\r\n setMember({ ...member, [name]: value });\r\n };\r\n\r\n\r\n return (\r\n
\r\n
\r\n
\r\n \r\n
\r\n \r\n
\r\n {errors.first_name && memberValidation.first_name}\r\n
\r\n
\r\n
\r\n\r\n\r\n
\r\n \r\n
\r\n \r\n
\r\n {errors.last_name && memberValidation.last_name}\r\n
\r\n
\r\n
\r\n\r\n\r\n
\r\n \r\n
\r\n \r\n
\r\n {errors.birth_date && memberValidation.birth_date}\r\n
\r\n
\r\n
\r\n\r\n\r\n
\r\n \r\n
\r\n \r\n
\r\n {errors.groupe && memberValidation.groupe}\r\n
\r\n
\r\n
\r\n\r\n\r\n
\r\n \r\n
\r\n \r\n
\r\n {errors.type && memberValidation.type}\r\n
\r\n
\r\n
\r\n\r\n\r\n\r\n
\r\n \r\n
\r\n \r\n
\r\n {errors.address && memberValidation.address}\r\n
\r\n
\r\n
\r\n\r\n\r\n
\r\n \r\n
\r\n \r\n
\r\n {errors.mobile && memberValidation.mobile}\r\n
\r\n
\r\n
\r\n\r\n\r\n
\r\n \r\n
\r\n \r\n
\r\n {errors.email && memberValidation.email}\r\n
\r\n
\r\n
\r\n\r\n\r\n
\r\n \r\n
\r\n \r\n
\r\n {errors.weight && memberValidation.weight}\r\n
\r\n
\r\n
\r\n\r\n\r\n
\r\n \r\n
\r\n \r\n
\r\n {errors.size && memberValidation.size}\r\n
\r\n
\r\n
\r\n\r\n\r\n
\r\n \r\n
\r\n \r\n
\r\n {errors.chest && memberValidation.chest}\r\n
\r\n
\r\n
\r\n\r\n\r\n
\r\n \r\n
\r\n \r\n
\r\n {errors.foot && memberValidation.foot}\r\n
\r\n
\r\n
\r\n\r\n\r\n
\r\n \r\n
\r\n \r\n
\r\n {errors.hand && memberValidation.hand}\r\n
\r\n
\r\n
\r\n\r\n\r\n
\r\n \r\n
\r\n \r\n
\r\n {errors.fat && memberValidation.fat}\r\n
\r\n
\r\n
\r\n\r\n\r\n
\r\n \r\n
\r\n \r\n
\r\n {errors.start_date && memberValidation.start_date}\r\n
\r\n
\r\n
\r\n\r\n\r\n
\r\n \r\n
\r\n \r\n
\r\n {errors.end_date && memberValidation.end_date}\r\n
\r\n
\r\n
\r\n\r\n\r\n
\r\n \r\n
\r\n \r\n
\r\n {errors.type && memberValidation.type}\r\n
\r\n
\r\n
\r\n\r\n\r\n
\r\n \r\n
\r\n \r\n
\r\n {errors.coach && memberValidation.coach}\r\n
\r\n
\r\n
\r\n\r\n\r\n
\r\n
\r\n \r\n
\r\n
\r\n\r\n\r\n
\r\n
\r\n )\r\n};\r\n\r\nEditMember.propTypes = {};\r\n\r\nEditMember.defaultProps = {};\r\n\r\nexport default EditMember;\r\n","C:\\projects\\GYM-FRONTEND-ADMIN\\src\\main\\mocks\\CourseTestService.js",["652"],"const _course = []\r\n\r\nconst getAll = () => {\r\n return _course;\r\n};\r\n\r\nconst get = id => {\r\n return _course.find(item => item.id === id);\r\n};\r\n\r\nconst create = (data) => {\r\n _course.push(data);\r\n};\r\n\r\nconst update = (old, data) => {\r\n\r\n var foundIndex = _course.findIndex(item => item === old);\r\n _course[foundIndex] = data;\r\n};\r\n\r\nconst remove = id => {\r\n _course.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\\GYM-FRONTEND-ADMIN\\src\\modules\\staffModule\\EditStaff\\EditStaff.js",["653","654"],"import React, { useEffect, useState } from 'react';\r\nimport PropTypes from 'prop-types';\r\nimport './EditStaff.css';\r\nimport staffValidation from '../../../main/validations/staffValidation';\r\nimport { useForm } from 'react-hook-form';\r\nimport StaffTestService from '../../../main/mocks/StaffTestService';\r\nimport showMessage from '../../../libraries/messages/messages';\r\nimport staffMessage from '../../../main/messages/staffMessage';\r\n\r\nconst EditStaff = (props) => {\r\n const { register, handleSubmit, errors } = useForm() // initialise the hook\r\n const [staff, setStaff] = useState(props.staff);\r\n\r\n useEffect(() => {\r\n setStaff(props.staff)\r\n }, [props.staff]);\r\n\r\n\r\n const onSubmit = (data) => {\r\n\r\n StaffTestService.update(props.staff, data)\r\n showMessage('Confirmation', staffMessage.edit, 'success')\r\n }\r\n\r\n\r\n const handleInputChange = event => {\r\n const { name, value } = event.target;\r\n setStaff({ ...staff, [name]: value });\r\n };\r\n\r\n\r\n return (\r\n
\r\n
\r\n\r\n
\r\n \r\n
\r\n \r\n
\r\n {errors.first_name && staffValidation.first_name}\r\n
\r\n
\r\n\r\n
\r\n\r\n\r\n
\r\n \r\n
\r\n \r\n
\r\n {errors.last_name && staffValidation.last_name}\r\n
\r\n
\r\n\r\n
\r\n\r\n\r\n
\r\n \r\n
\r\n \r\n
\r\n {errors.date && staffValidation.date}\r\n
\r\n
\r\n\r\n
\r\n\r\n\r\n
\r\n \r\n
\r\n \r\n
\r\n {errors.role && staffValidation.role}\r\n
\r\n
\r\n\r\n
\r\n\r\n\r\n
\r\n \r\n
\r\n \r\n
\r\n {errors.address && staffValidation.address}\r\n
\r\n
\r\n\r\n
\r\n\r\n
\r\n \r\n
\r\n \r\n
\r\n {errors.email && staffValidation.email}\r\n
\r\n
\r\n\r\n
\r\n\r\n
\r\n \r\n
\r\n \r\n
\r\n {errors.mobile && staffValidation.mobile}\r\n
\r\n
\r\n\r\n
\r\n\r\n\r\n
\r\n
\r\n \r\n
\r\n
\r\n
\r\n
\r\n )\r\n};\r\n\r\nEditStaff.propTypes = {};\r\n\r\nEditStaff.defaultProps = {};\r\n\r\nexport default EditStaff;\r\n","C:\\projects\\GYM-FRONTEND-ADMIN\\src\\main\\mocks\\ExerciceTestService.js",["655"],"const _exercice = []\r\n\r\nconst getAll = () => {\r\n return _exercice;\r\n};\r\n\r\nconst get = id => {\r\n return _exercice.find(item => item.id === id);\r\n};\r\n\r\nconst create = (data) => {\r\n _exercice.push(data);\r\n};\r\n\r\nconst update = (old, data) => {\r\n\r\n var foundIndex = _exercice.findIndex(item => item === old);\r\n _exercice[foundIndex] = data;\r\n};\r\n\r\nconst remove = id => {\r\n _exercice.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\\GYM-FRONTEND-ADMIN\\src\\main\\messages\\groupeMessage.js",[],"C:\\projects\\GYM-FRONTEND-ADMIN\\src\\main\\validations\\staffValidation.js",[],"C:\\projects\\GYM-FRONTEND-ADMIN\\src\\main\\messages\\paymentMessage.js",[],"C:\\projects\\GYM-FRONTEND-ADMIN\\src\\main\\validations\\paymentValidation.js",[],"C:\\projects\\GYM-FRONTEND-ADMIN\\src\\modules\\revenueModule\\EditRevenue\\EditRevenue.js",["656"],"import React, { useEffect, useState } from 'react';\r\nimport PropTypes from 'prop-types';\r\nimport './EditRevenue.css';\r\nimport { useForm } from 'react-hook-form';\r\nimport showMessage from '../../../libraries/messages/messages'\r\nimport revenueMessage from '../../../main/messages/revenueMessage'\r\nimport revenueValidation from '../../../main/validations/revenueValidation'\r\nimport RevenueTestService from '../../../main/mocks/RevenueTestService';\r\n\r\nconst EditRevenue = (props) => {\r\n const { register, handleSubmit, errors } = useForm() // initialise the hook\r\n const [revenue, setRevenue] = useState(props.revenue);\r\n\r\n useEffect(() => {\r\n setRevenue(props.revenue)\r\n }, [props.revenue]);\r\n\r\n\r\n const onSubmit = (data) => {\r\n\r\n RevenueTestService.update(props.revenue, data)\r\n showMessage('Confirmation', revenueMessage.edit, 'success')\r\n }\r\n\r\n const handleInputChange = event => {\r\n const { name, value } = event.target;\r\n setRevenue({ ...revenue, [name]: value });\r\n };\r\n\r\n\r\n return (\r\n
\r\n
\r\n\r\n
\r\n \r\n
\r\n \r\n
\r\n {errors.revenue && revenueValidation.revenue}\r\n
\r\n
\r\n
\r\n\r\n
\r\n \r\n
\r\n \r\n
\r\n {errors.member && revenueValidation.member}\r\n
\r\n
\r\n
\r\n\r\n
\r\n \r\n
\r\n \r\n
\r\n {errors.amount && revenueValidation.amount}\r\n
\r\n
\r\n
\r\n\r\n\r\n
\r\n \r\n
\r\n \r\n
\r\n {errors.date && revenueValidation.date}\r\n
\r\n
\r\n
\r\n\r\n\r\n
\r\n
\r\n \r\n
\r\n
\r\n\r\n\r\n
\r\n\r\n
\r\n )\r\n};\r\n\r\nEditRevenue.propTypes = {};\r\n\r\nEditRevenue.defaultProps = {};\r\n\r\nexport default EditRevenue;\r\n","C:\\projects\\GYM-FRONTEND-ADMIN\\src\\main\\mocks\\GroupeTestService.js",["657"],"const _groupe = [{ \"groupe_name\": \"Groupe salsa\" }]\r\n\r\nconst getAll = () => {\r\n return _groupe;\r\n};\r\n\r\nconst get = id => {\r\n return _groupe.find(item => item.id === id);\r\n};\r\n\r\nconst create = (data) => {\r\n _groupe.push(data);\r\n};\r\n\r\nconst update = (old, data) => {\r\n\r\n var foundIndex = _groupe.findIndex(item => item === old);\r\n _groupe[foundIndex] = data;\r\n};\r\n\r\nconst remove = id => {\r\n _groupe.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\\GYM-FRONTEND-ADMIN\\src\\main\\mocks\\ProductTestService.js",["658"],"const _product = [{ \"product_name\": \"MuscleBlaze Creatine\", \"quantity\": \"4\", \"price\": \"12\" }]\r\n\r\nconst getAll = () => {\r\n return _product;\r\n};\r\n\r\nconst get = id => {\r\n return _product.find(item => item.id === id);\r\n};\r\n\r\nconst create = (data) => {\r\n _product.push(data);\r\n};\r\n\r\nconst update = (old, data) => {\r\n\r\n var foundIndex = _product.findIndex(item => item === old);\r\n _product[foundIndex] = data;\r\n};\r\n\r\nconst remove = id => {\r\n _product.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\\GYM-FRONTEND-ADMIN\\src\\main\\shared\\Login\\Login.js",["659","660","661","662"],"C:\\projects\\GYM-FRONTEND-ADMIN\\src\\main\\config\\user.js",[],"C:\\projects\\GYM-FRONTEND-ADMIN\\src\\main\\shared\\Routes\\Routes.js",["663"],"C:\\projects\\GYM-FRONTEND-ADMIN\\src\\modules\\shared\\Profile\\Profile.js",["664","665","666"],"import React from 'react';\nimport PropTypes from 'prop-types';\nimport './Profile.css';\n\nconst Profile = () => (\n
\n
\n
\n

Mon profile

\n
\n
\n
\n\n
\n
\n \"Card\n
\n
\n \"profile-image\"\n
Landon Hunt
\n

Some quick example text to build on the card title and make up the bulk of the card's content.

\n
\n \n\n
\n
\n
\n\n
\n
\n
\n
\n);\n\nProfile.propTypes = {};\n\nProfile.defaultProps = {};\n\nexport default Profile;\n","C:\\projects\\GYM-FRONTEND-ADMIN\\src\\modules\\shared\\ConfigurationContent\\ConfigurationContent.js",["667"],{"ruleId":"668","replacedBy":"669"},{"ruleId":"670","replacedBy":"671"},{"ruleId":"672","severity":1,"message":"673","line":2,"column":8,"nodeType":"674","messageId":"675","endLine":2,"endColumn":17},{"ruleId":"676","severity":1,"message":"677","line":26,"column":11,"nodeType":"678","endLine":26,"endColumn":59},{"ruleId":"679","severity":1,"message":"680","line":26,"column":11,"nodeType":"678","endLine":26,"endColumn":59},{"ruleId":"681","severity":1,"message":"682","line":26,"column":44,"nodeType":"683","messageId":"684","endLine":26,"endColumn":58},{"ruleId":"685","severity":1,"message":"686","line":47,"column":15,"nodeType":"678","endLine":47,"endColumn":175},{"ruleId":"685","severity":1,"message":"686","line":63,"column":15,"nodeType":"678","endLine":63,"endColumn":175},{"ruleId":"679","severity":1,"message":"680","line":72,"column":17,"nodeType":"678","endLine":72,"endColumn":72},{"ruleId":"668","replacedBy":"687"},{"ruleId":"670","replacedBy":"688"},{"ruleId":"672","severity":1,"message":"673","line":2,"column":8,"nodeType":"674","messageId":"675","endLine":2,"endColumn":17},{"ruleId":"672","severity":1,"message":"689","line":27,"column":9,"nodeType":"674","messageId":"675","endLine":27,"endColumn":15},{"ruleId":"672","severity":1,"message":"690","line":37,"column":9,"nodeType":"674","messageId":"675","endLine":37,"endColumn":18},{"ruleId":"672","severity":1,"message":"689","line":25,"column":9,"nodeType":"674","messageId":"675","endLine":25,"endColumn":15},{"ruleId":"672","severity":1,"message":"690","line":35,"column":9,"nodeType":"674","messageId":"675","endLine":35,"endColumn":18},{"ruleId":"668","replacedBy":"691"},{"ruleId":"670","replacedBy":"692"},{"ruleId":"672","severity":1,"message":"689","line":26,"column":9,"nodeType":"674","messageId":"675","endLine":26,"endColumn":15},{"ruleId":"672","severity":1,"message":"690","line":36,"column":9,"nodeType":"674","messageId":"675","endLine":36,"endColumn":18},{"ruleId":"672","severity":1,"message":"689","line":31,"column":9,"nodeType":"674","messageId":"675","endLine":31,"endColumn":15},{"ruleId":"672","severity":1,"message":"690","line":41,"column":9,"nodeType":"674","messageId":"675","endLine":41,"endColumn":18},{"ruleId":"672","severity":1,"message":"673","line":2,"column":8,"nodeType":"674","messageId":"675","endLine":2,"endColumn":17},{"ruleId":"672","severity":1,"message":"689","line":27,"column":9,"nodeType":"674","messageId":"675","endLine":27,"endColumn":15},{"ruleId":"672","severity":1,"message":"690","line":37,"column":9,"nodeType":"674","messageId":"675","endLine":37,"endColumn":18},{"ruleId":"672","severity":1,"message":"693","line":27,"column":9,"nodeType":"674","messageId":"675","endLine":27,"endColumn":19},{"ruleId":"668","replacedBy":"694"},{"ruleId":"670","replacedBy":"695"},{"ruleId":"672","severity":1,"message":"696","line":31,"column":9,"nodeType":"674","messageId":"675","endLine":31,"endColumn":20},{"ruleId":"668","replacedBy":"697"},{"ruleId":"670","replacedBy":"698"},{"ruleId":"699","severity":1,"message":"700","line":33,"column":1,"nodeType":"701","endLine":41,"endColumn":3},{"ruleId":"699","severity":1,"message":"700","line":33,"column":1,"nodeType":"701","endLine":41,"endColumn":3},{"ruleId":"668","replacedBy":"702"},{"ruleId":"670","replacedBy":"703"},{"ruleId":"672","severity":1,"message":"704","line":31,"column":9,"nodeType":"674","messageId":"675","endLine":31,"endColumn":19},{"ruleId":"672","severity":1,"message":"673","line":2,"column":8,"nodeType":"674","messageId":"675","endLine":2,"endColumn":17},{"ruleId":"672","severity":1,"message":"705","line":9,"column":8,"nodeType":"674","messageId":"675","endLine":9,"endColumn":19},{"ruleId":"706","severity":1,"message":"707","line":36,"column":4,"nodeType":"678","endLine":36,"endColumn":107},{"ruleId":"672","severity":1,"message":"708","line":32,"column":9,"nodeType":"674","messageId":"675","endLine":32,"endColumn":18},{"ruleId":"709","severity":1,"message":"710","line":53,"column":47,"nodeType":"711","endLine":53,"endColumn":80},{"ruleId":"672","severity":1,"message":"673","line":2,"column":8,"nodeType":"674","messageId":"675","endLine":2,"endColumn":17},{"ruleId":"672","severity":1,"message":"673","line":2,"column":8,"nodeType":"674","messageId":"675","endLine":2,"endColumn":17},{"ruleId":"706","severity":1,"message":"707","line":35,"column":7,"nodeType":"678","endLine":36,"endColumn":32},{"ruleId":"672","severity":1,"message":"673","line":2,"column":8,"nodeType":"674","messageId":"675","endLine":2,"endColumn":17},{"ruleId":"672","severity":1,"message":"673","line":2,"column":8,"nodeType":"674","messageId":"675","endLine":2,"endColumn":17},{"ruleId":"672","severity":1,"message":"712","line":11,"column":11,"nodeType":"674","messageId":"675","endLine":11,"endColumn":19},{"ruleId":"672","severity":1,"message":"713","line":11,"column":35,"nodeType":"674","messageId":"675","endLine":11,"endColumn":41},{"ruleId":"672","severity":1,"message":"714","line":25,"column":9,"nodeType":"674","messageId":"675","endLine":25,"endColumn":26},{"ruleId":"706","severity":1,"message":"707","line":33,"column":7,"nodeType":"678","endLine":34,"endColumn":8},{"ruleId":"679","severity":1,"message":"680","line":48,"column":72,"nodeType":"678","endLine":49,"endColumn":29},{"ruleId":"681","severity":1,"message":"682","line":48,"column":80,"nodeType":"683","messageId":"684","endLine":48,"endColumn":100},{"ruleId":"679","severity":1,"message":"715","line":73,"column":13,"nodeType":"678","endLine":73,"endColumn":49},{"ruleId":"679","severity":1,"message":"680","line":97,"column":19,"nodeType":"678","endLine":97,"endColumn":105},{"ruleId":"679","severity":1,"message":"680","line":105,"column":19,"nodeType":"678","endLine":106,"endColumn":16},{"ruleId":"699","severity":1,"message":"700","line":37,"column":1,"nodeType":"701","endLine":45,"endColumn":3},{"ruleId":"672","severity":1,"message":"716","line":5,"column":8,"nodeType":"674","messageId":"675","endLine":5,"endColumn":20},{"ruleId":"672","severity":1,"message":"717","line":6,"column":8,"nodeType":"674","messageId":"675","endLine":6,"endColumn":19},{"ruleId":"672","severity":1,"message":"718","line":15,"column":10,"nodeType":"674","messageId":"675","endLine":15,"endColumn":19},{"ruleId":"672","severity":1,"message":"719","line":16,"column":10,"nodeType":"674","messageId":"675","endLine":16,"endColumn":21},{"ruleId":"672","severity":1,"message":"689","line":26,"column":9,"nodeType":"674","messageId":"675","endLine":26,"endColumn":15},{"ruleId":"672","severity":1,"message":"690","line":36,"column":9,"nodeType":"674","messageId":"675","endLine":36,"endColumn":18},{"ruleId":"672","severity":1,"message":"720","line":58,"column":9,"nodeType":"674","messageId":"675","endLine":58,"endColumn":15},{"ruleId":"672","severity":1,"message":"721","line":70,"column":9,"nodeType":"674","messageId":"675","endLine":70,"endColumn":15},{"ruleId":"672","severity":1,"message":"689","line":26,"column":9,"nodeType":"674","messageId":"675","endLine":26,"endColumn":15},{"ruleId":"672","severity":1,"message":"690","line":36,"column":9,"nodeType":"674","messageId":"675","endLine":36,"endColumn":18},{"ruleId":"672","severity":1,"message":"673","line":2,"column":8,"nodeType":"674","messageId":"675","endLine":2,"endColumn":17},{"ruleId":"672","severity":1,"message":"722","line":5,"column":35,"nodeType":"674","messageId":"675","endLine":5,"endColumn":40},{"ruleId":"672","severity":1,"message":"723","line":7,"column":8,"nodeType":"674","messageId":"675","endLine":7,"endColumn":21},{"ruleId":"672","severity":1,"message":"724","line":8,"column":8,"nodeType":"674","messageId":"675","endLine":8,"endColumn":16},{"ruleId":"672","severity":1,"message":"725","line":10,"column":8,"nodeType":"674","messageId":"675","endLine":10,"endColumn":14},{"ruleId":"672","severity":1,"message":"726","line":11,"column":8,"nodeType":"674","messageId":"675","endLine":11,"endColumn":14},{"ruleId":"672","severity":1,"message":"727","line":12,"column":8,"nodeType":"674","messageId":"675","endLine":12,"endColumn":15},{"ruleId":"672","severity":1,"message":"728","line":13,"column":8,"nodeType":"674","messageId":"675","endLine":13,"endColumn":16},{"ruleId":"672","severity":1,"message":"729","line":14,"column":8,"nodeType":"674","messageId":"675","endLine":14,"endColumn":15},{"ruleId":"672","severity":1,"message":"730","line":15,"column":8,"nodeType":"674","messageId":"675","endLine":15,"endColumn":15},{"ruleId":"672","severity":1,"message":"731","line":16,"column":8,"nodeType":"674","messageId":"675","endLine":16,"endColumn":13},{"ruleId":"672","severity":1,"message":"732","line":17,"column":8,"nodeType":"674","messageId":"675","endLine":17,"endColumn":15},{"ruleId":"672","severity":1,"message":"733","line":18,"column":8,"nodeType":"674","messageId":"675","endLine":18,"endColumn":16},{"ruleId":"672","severity":1,"message":"734","line":19,"column":8,"nodeType":"674","messageId":"675","endLine":19,"endColumn":14},{"ruleId":"672","severity":1,"message":"735","line":21,"column":8,"nodeType":"674","messageId":"675","endLine":21,"endColumn":13},{"ruleId":"672","severity":1,"message":"736","line":22,"column":8,"nodeType":"674","messageId":"675","endLine":22,"endColumn":16},{"ruleId":"672","severity":1,"message":"737","line":25,"column":8,"nodeType":"674","messageId":"675","endLine":25,"endColumn":16},{"ruleId":"672","severity":1,"message":"738","line":26,"column":8,"nodeType":"674","messageId":"675","endLine":26,"endColumn":15},{"ruleId":"672","severity":1,"message":"739","line":2,"column":8,"nodeType":"674","messageId":"675","endLine":2,"endColumn":14},{"ruleId":"740","severity":1,"message":"741","line":15,"column":11,"nodeType":"678","endLine":15,"endColumn":44},{"ruleId":"672","severity":1,"message":"673","line":2,"column":8,"nodeType":"674","messageId":"675","endLine":2,"endColumn":17},{"ruleId":"672","severity":1,"message":"673","line":2,"column":8,"nodeType":"674","messageId":"675","endLine":2,"endColumn":17},{"ruleId":"672","severity":1,"message":"673","line":2,"column":8,"nodeType":"674","messageId":"675","endLine":2,"endColumn":17},{"ruleId":"672","severity":1,"message":"689","line":26,"column":9,"nodeType":"674","messageId":"675","endLine":26,"endColumn":15},{"ruleId":"672","severity":1,"message":"690","line":36,"column":9,"nodeType":"674","messageId":"675","endLine":36,"endColumn":18},{"ruleId":"672","severity":1,"message":"742","line":15,"column":10,"nodeType":"674","messageId":"675","endLine":15,"endColumn":19},{"ruleId":"672","severity":1,"message":"689","line":26,"column":9,"nodeType":"674","messageId":"675","endLine":26,"endColumn":15},{"ruleId":"672","severity":1,"message":"690","line":36,"column":9,"nodeType":"674","messageId":"675","endLine":36,"endColumn":18},{"ruleId":"672","severity":1,"message":"720","line":58,"column":9,"nodeType":"674","messageId":"675","endLine":58,"endColumn":15},{"ruleId":"672","severity":1,"message":"721","line":70,"column":9,"nodeType":"674","messageId":"675","endLine":70,"endColumn":15},{"ruleId":"672","severity":1,"message":"743","line":5,"column":8,"nodeType":"674","messageId":"675","endLine":5,"endColumn":19},{"ruleId":"672","severity":1,"message":"744","line":15,"column":10,"nodeType":"674","messageId":"675","endLine":15,"endColumn":18},{"ruleId":"672","severity":1,"message":"719","line":16,"column":10,"nodeType":"674","messageId":"675","endLine":16,"endColumn":21},{"ruleId":"672","severity":1,"message":"689","line":26,"column":9,"nodeType":"674","messageId":"675","endLine":26,"endColumn":15},{"ruleId":"672","severity":1,"message":"690","line":36,"column":9,"nodeType":"674","messageId":"675","endLine":36,"endColumn":18},{"ruleId":"672","severity":1,"message":"720","line":58,"column":9,"nodeType":"674","messageId":"675","endLine":58,"endColumn":15},{"ruleId":"672","severity":1,"message":"721","line":70,"column":9,"nodeType":"674","messageId":"675","endLine":70,"endColumn":15},{"ruleId":"672","severity":1,"message":"673","line":2,"column":8,"nodeType":"674","messageId":"675","endLine":2,"endColumn":17},{"ruleId":"668","replacedBy":"745"},{"ruleId":"670","replacedBy":"746"},{"ruleId":"699","severity":1,"message":"700","line":33,"column":1,"nodeType":"701","endLine":41,"endColumn":3},{"ruleId":"699","severity":1,"message":"700","line":39,"column":1,"nodeType":"701","endLine":47,"endColumn":3},{"ruleId":"699","severity":1,"message":"700","line":32,"column":1,"nodeType":"701","endLine":40,"endColumn":3},{"ruleId":"672","severity":1,"message":"673","line":2,"column":8,"nodeType":"674","messageId":"675","endLine":2,"endColumn":17},{"ruleId":"672","severity":1,"message":"673","line":2,"column":8,"nodeType":"674","messageId":"675","endLine":2,"endColumn":17},{"ruleId":"672","severity":1,"message":"747","line":31,"column":8,"nodeType":"674","messageId":"675","endLine":31,"endColumn":19},{"ruleId":"706","severity":1,"message":"707","line":51,"column":4,"nodeType":"678","endLine":51,"endColumn":107},{"ruleId":"672","severity":1,"message":"673","line":2,"column":8,"nodeType":"674","messageId":"675","endLine":2,"endColumn":17},{"ruleId":"672","severity":1,"message":"748","line":28,"column":9,"nodeType":"674","messageId":"675","endLine":28,"endColumn":20},{"ruleId":"668","replacedBy":"749"},{"ruleId":"670","replacedBy":"750"},{"ruleId":"699","severity":1,"message":"700","line":33,"column":1,"nodeType":"701","endLine":41,"endColumn":3},{"ruleId":"672","severity":1,"message":"689","line":27,"column":9,"nodeType":"674","messageId":"675","endLine":27,"endColumn":15},{"ruleId":"672","severity":1,"message":"690","line":37,"column":9,"nodeType":"674","messageId":"675","endLine":37,"endColumn":18},{"ruleId":"672","severity":1,"message":"712","line":20,"column":11,"nodeType":"674","messageId":"675","endLine":20,"endColumn":19},{"ruleId":"672","severity":1,"message":"713","line":20,"column":35,"nodeType":"674","messageId":"675","endLine":20,"endColumn":41},{"ruleId":"672","severity":1,"message":"751","line":30,"column":9,"nodeType":"674","messageId":"675","endLine":30,"endColumn":21},{"ruleId":"672","severity":1,"message":"714","line":43,"column":9,"nodeType":"674","messageId":"675","endLine":43,"endColumn":26},{"ruleId":"706","severity":1,"message":"707","line":51,"column":7,"nodeType":"678","endLine":52,"endColumn":8},{"ruleId":"679","severity":1,"message":"680","line":66,"column":72,"nodeType":"678","endLine":67,"endColumn":29},{"ruleId":"681","severity":1,"message":"682","line":66,"column":80,"nodeType":"683","messageId":"684","endLine":66,"endColumn":100},{"ruleId":"679","severity":1,"message":"715","line":91,"column":13,"nodeType":"678","endLine":91,"endColumn":49},{"ruleId":"679","severity":1,"message":"680","line":115,"column":19,"nodeType":"678","endLine":115,"endColumn":105},{"ruleId":"679","severity":1,"message":"680","line":123,"column":19,"nodeType":"678","endLine":124,"endColumn":16},{"ruleId":"699","severity":1,"message":"700","line":33,"column":1,"nodeType":"701","endLine":41,"endColumn":3},{"ruleId":"672","severity":1,"message":"752","line":30,"column":9,"nodeType":"674","messageId":"675","endLine":30,"endColumn":18},{"ruleId":"706","severity":1,"message":"707","line":49,"column":7,"nodeType":"678","endLine":50,"endColumn":32},{"ruleId":"668","replacedBy":"753"},{"ruleId":"670","replacedBy":"754"},{"ruleId":"672","severity":1,"message":"673","line":2,"column":8,"nodeType":"674","messageId":"675","endLine":2,"endColumn":17},{"ruleId":"668","replacedBy":"755"},{"ruleId":"670","replacedBy":"756"},{"ruleId":"672","severity":1,"message":"757","line":32,"column":9,"nodeType":"674","messageId":"675","endLine":32,"endColumn":16},{"ruleId":"672","severity":1,"message":"673","line":2,"column":8,"nodeType":"674","messageId":"675","endLine":2,"endColumn":17},{"ruleId":"672","severity":1,"message":"758","line":6,"column":8,"nodeType":"674","messageId":"675","endLine":6,"endColumn":19},{"ruleId":"672","severity":1,"message":"689","line":27,"column":9,"nodeType":"674","messageId":"675","endLine":27,"endColumn":15},{"ruleId":"672","severity":1,"message":"690","line":37,"column":9,"nodeType":"674","messageId":"675","endLine":37,"endColumn":18},{"ruleId":"672","severity":1,"message":"759","line":6,"column":8,"nodeType":"674","messageId":"675","endLine":6,"endColumn":17},{"ruleId":"672","severity":1,"message":"760","line":15,"column":10,"nodeType":"674","messageId":"675","endLine":15,"endColumn":17},{"ruleId":"672","severity":1,"message":"689","line":26,"column":9,"nodeType":"674","messageId":"675","endLine":26,"endColumn":15},{"ruleId":"672","severity":1,"message":"690","line":36,"column":9,"nodeType":"674","messageId":"675","endLine":36,"endColumn":18},{"ruleId":"672","severity":1,"message":"720","line":58,"column":9,"nodeType":"674","messageId":"675","endLine":58,"endColumn":15},{"ruleId":"672","severity":1,"message":"721","line":70,"column":9,"nodeType":"674","messageId":"675","endLine":70,"endColumn":15},{"ruleId":"699","severity":1,"message":"700","line":37,"column":1,"nodeType":"701","endLine":45,"endColumn":3},{"ruleId":"672","severity":1,"message":"761","line":31,"column":9,"nodeType":"674","messageId":"675","endLine":31,"endColumn":20},{"ruleId":"672","severity":1,"message":"673","line":2,"column":8,"nodeType":"674","messageId":"675","endLine":2,"endColumn":17},{"ruleId":"672","severity":1,"message":"762","line":20,"column":9,"nodeType":"674","messageId":"675","endLine":20,"endColumn":16},{"ruleId":"672","severity":1,"message":"763","line":1,"column":8,"nodeType":"674","messageId":"675","endLine":1,"endColumn":12},{"ruleId":"672","severity":1,"message":"673","line":2,"column":8,"nodeType":"674","messageId":"675","endLine":2,"endColumn":17},{"ruleId":"672","severity":1,"message":"673","line":2,"column":8,"nodeType":"674","messageId":"675","endLine":2,"endColumn":17},{"ruleId":"672","severity":1,"message":"673","line":2,"column":8,"nodeType":"674","messageId":"675","endLine":2,"endColumn":17},{"ruleId":"668","replacedBy":"764"},{"ruleId":"670","replacedBy":"765"},{"ruleId":"699","severity":1,"message":"700","line":33,"column":1,"nodeType":"701","endLine":41,"endColumn":3},{"ruleId":"699","severity":1,"message":"700","line":33,"column":1,"nodeType":"701","endLine":41,"endColumn":3},{"ruleId":"672","severity":1,"message":"766","line":29,"column":9,"nodeType":"674","messageId":"675","endLine":29,"endColumn":21},{"ruleId":"767","severity":1,"message":"768","line":19,"column":5,"nodeType":"769","messageId":"770","endLine":19,"endColumn":9},{"ruleId":"672","severity":1,"message":"689","line":26,"column":9,"nodeType":"674","messageId":"675","endLine":26,"endColumn":15},{"ruleId":"672","severity":1,"message":"690","line":36,"column":9,"nodeType":"674","messageId":"675","endLine":36,"endColumn":18},{"ruleId":"672","severity":1,"message":"673","line":2,"column":8,"nodeType":"674","messageId":"675","endLine":2,"endColumn":17},{"ruleId":"699","severity":1,"message":"700","line":33,"column":1,"nodeType":"701","endLine":41,"endColumn":3},{"ruleId":"672","severity":1,"message":"673","line":2,"column":8,"nodeType":"674","messageId":"675","endLine":2,"endColumn":17},{"ruleId":"709","severity":1,"message":"710","line":34,"column":47,"nodeType":"711","endLine":34,"endColumn":80},{"ruleId":"699","severity":1,"message":"700","line":33,"column":1,"nodeType":"701","endLine":41,"endColumn":3},{"ruleId":"672","severity":1,"message":"673","line":2,"column":8,"nodeType":"674","messageId":"675","endLine":2,"endColumn":17},{"ruleId":"699","severity":1,"message":"700","line":33,"column":1,"nodeType":"701","endLine":41,"endColumn":3},{"ruleId":"699","severity":1,"message":"700","line":33,"column":1,"nodeType":"701","endLine":41,"endColumn":3},{"ruleId":"672","severity":1,"message":"673","line":2,"column":8,"nodeType":"674","messageId":"675","endLine":2,"endColumn":17},{"ruleId":"672","severity":1,"message":"712","line":10,"column":11,"nodeType":"674","messageId":"675","endLine":10,"endColumn":19},{"ruleId":"672","severity":1,"message":"713","line":10,"column":35,"nodeType":"674","messageId":"675","endLine":10,"endColumn":41},{"ruleId":"740","severity":1,"message":"741","line":25,"column":15,"nodeType":"678","endLine":25,"endColumn":48},{"ruleId":"672","severity":1,"message":"673","line":2,"column":8,"nodeType":"674","messageId":"675","endLine":2,"endColumn":17},{"ruleId":"672","severity":1,"message":"673","line":2,"column":8,"nodeType":"674","messageId":"675","endLine":2,"endColumn":17},{"ruleId":"771","severity":1,"message":"772","line":16,"column":15,"nodeType":"678","endLine":16,"endColumn":170},{"ruleId":"771","severity":1,"message":"772","line":19,"column":15,"nodeType":"678","endLine":19,"endColumn":81},{"ruleId":"672","severity":1,"message":"673","line":2,"column":8,"nodeType":"674","messageId":"675","endLine":2,"endColumn":17},"no-native-reassign",["773"],"no-negated-in-lhs",["774"],"no-unused-vars","'PropTypes' is defined but never used.","Identifier","unusedVar","jsx-a11y/anchor-has-content","Anchors must have content and the content must be accessible by a screen reader.","JSXOpeningElement","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","no-script-url","Script URL is a form of eval.","Literal","unexpectedScriptURL","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.",["773"],["774"],"'getAll' is assigned a value but never used.","'removeOne' is assigned a value but never used.",["773"],["774"],"'saveGroupe' is assigned a value but never used.",["773"],["774"],"'savePayment' is assigned a value but never used.",["773"],["774"],"import/no-anonymous-default-export","Assign object to a variable before exporting as module default","ExportDefaultDeclaration",["773"],["774"],"'saveMember' is assigned a value but never used.","'HTTPService' is defined but never used.","jsx-a11y/no-redundant-roles","The element form has an implicit role of form. Defining this explicitly is redundant and should be avoided.","'saveStaff' is assigned a value but never used.","react/jsx-no-duplicate-props","No duplicate props allowed","JSXAttribute","'register' is assigned a value but never used.","'errors' is assigned a value but never used.","'handleInputChange' is assigned a value but never used.","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","'EditPresence' is defined but never used.","'AddPresence' is defined but never used.","'presences' is assigned a value but never used.","'updatedItem' is assigned a value but never used.","'remove' is assigned a value but never used.","'update' is assigned a value but never used.","'Route' is defined but never used.","'Configuration' is defined but never used.","'Dashbord' is defined but never used.","'Groupe' is defined but never used.","'Member' is defined but never used.","'Payment' is defined but never used.","'Presence' is defined but never used.","'Product' is defined but never used.","'Revenue' is defined but never used.","'Staff' is defined but never used.","'Expense' is defined but never used.","'Exercice' is defined but never used.","'Course' is defined but never used.","'Event' is defined but never used.","'TypeSubs' is defined but never used.","'Activity' is defined but never used.","'Booking' is defined but never used.","'Header' is defined but never used.","jsx-a11y/alt-text","img elements must have an alt prop, either with meaningful text, or an empty string for decorative images.","'exercices' is assigned a value but never used.","'EditBooking' is defined but never used.","'bookings' is assigned a value but never used.",["773"],["774"],"'saveProduct' is assigned a value but never used.","'saveExpense' is assigned a value but never used.",["773"],["774"],"'saveExercice' is assigned a value but never used.","'saveEvent' is assigned a value but never used.",["773"],["774"],["773"],["774"],"'saveJob' is assigned a value but never used.","'EditPayment' is defined but never used.","'AddCourse' is defined but never used.","'courses' is assigned a value but never used.","'saveRevenue' is assigned a value but never used.","'myChart' is assigned a value but never used.","'logo' is defined but never used.",["773"],["774"],"'saveActivity' is assigned a value but never used.","no-dupe-keys","Duplicate key 'type'.","ObjectExpression","unexpected","jsx-a11y/img-redundant-alt","Redundant alt attribute. Screen-readers already announce `img` tags as an image. You don’t need to use the words `image`, `photo,` or `picture` (or any specified custom words) in the alt prop.","no-global-assign","no-unsafe-negation"] \ No newline at end of file diff --git a/src/modules/shared/Configuration/Configuration.js b/src/modules/shared/Configuration/Configuration.js index def0151..7c5a553 100644 --- a/src/modules/shared/Configuration/Configuration.js +++ b/src/modules/shared/Configuration/Configuration.js @@ -1,69 +1,24 @@ import React from 'react'; import PropTypes from 'prop-types'; import './Configuration.css'; +import ConfigurationContent from '../ConfigurationContent/ConfigurationContent'; const Configuration = () => (
-
-
-
-
-

Paramètres

-
-
-
-
- - -
- -
- - -
- - -
- - -
- -
-
-
- -
-
- -
-
-
- -
-
- - +
+
+
+
+

Paramètres

+
+
+
+
-
-
); Configuration.propTypes = {}; diff --git a/src/modules/shared/ConfigurationContent/ConfigurationContent.css b/src/modules/shared/ConfigurationContent/ConfigurationContent.css new file mode 100644 index 0000000..af6853d --- /dev/null +++ b/src/modules/shared/ConfigurationContent/ConfigurationContent.css @@ -0,0 +1,125 @@ +.ConfigurationContent {} + +.padding { + padding: 3rem !important +} + +.user-card-full { + overflow: hidden +} + +.card { + + border: none; + margin-bottom: 30px +} + +.m-r-0 { + margin-right: 0px +} + +.m-l-0 { + margin-left: 0px +} + + + +.bg-c-lite-green { + + background: linear-gradient(to right, #ee5a6f, #f29263) +} + +.user-profile { + padding: 20px 0 +} + +.card-block { + padding: 1.25rem +} + +.m-b-25 { + margin-bottom: 25px +} + +.img-radius { + border-radius: 5px +} + +h6 { + font-size: 14px +} + +.card .card-block p { + line-height: 25px +} + +@media only screen and (min-width: 1400px) { + p { + font-size: 14px + } +} + +.card-block { + padding: 1.25rem +} + +.b-b-default { + border-bottom: 1px solid #e0e0e0 +} + +.m-b-20 { + margin-bottom: 20px +} + +.p-b-5 { + padding-bottom: 5px !important +} + +.card .card-block p { + line-height: 25px +} + + + +.text-muted { + color: #919aa3 !important +} + +.b-b-default { + border-bottom: 1px solid #e0e0e0 +} + +.f-w-600 { + font-weight: 600 +} + +.m-b-20 { + margin-bottom: 20px +} + +.m-t-40 { + margin-top: 20px +} + +.p-b-5 { + padding-bottom: 5px !important +} + +.m-b-10 { + margin-bottom: 10px; + margin-top: 25px;; +} + +.m-t-40 { + margin-top: 20px +} + +.user-card-full .social-link li { + display: inline-block +} + +.user-card-full .social-link li a { + font-size: 20px; + margin: 0 10px 0 0; + transition: all 0.3s ease-in-out +} \ No newline at end of file diff --git a/src/modules/shared/ConfigurationContent/ConfigurationContent.js b/src/modules/shared/ConfigurationContent/ConfigurationContent.js new file mode 100644 index 0000000..ed2986e --- /dev/null +++ b/src/modules/shared/ConfigurationContent/ConfigurationContent.js @@ -0,0 +1,124 @@ +import React from 'react'; +import PropTypes from 'prop-types'; +import './ConfigurationContent.css'; + +const ConfigurationContent = () => ( +
+ +
+
+
+
+
+
+
+
+
Système
+
+
+

Devise

+
USD
+
+ +
+

Langue

+
Francais
+
+ +
+

Footer

+
98979989898
+
+ +
+

Backend URL

+
http//localhost
+
+ +
+

Backend port

+
80
+
+
+

Backend technologie

+
Nodejs
+
+
+

Footer

+
Developed by Anis KCHAOU
+
+
+
Entreprise
+
+ + +
+

Nom Entreprise

+
FastBus
+
+
+

Time zone

+
UTC +1
+
+
+

Date format

+
dd-MM-yyyy
+
+
+ + +
Email
+
+
+

Mail Driver

+
gmail.google.com
+
+
+

mail Host

+
gmail
+
+
+

Mail username

+
dd-MM-yyyy
+
+ +
+

Mail password

+
**************
+
+ +
+

Mail encryption

+
SSL
+
+ +
+

Mail From

+
contact@fastbus.com
+
+ +
+

Mail From Name

+
Admin
+
+ + +
+ +
+
+
+
+
+
+
+
+ +
+); + +ConfigurationContent.propTypes = {}; + +ConfigurationContent.defaultProps = {}; + +export default ConfigurationContent;