From bc2191ff05761ebfa4adc11e8f0ce6c8c7ea8d2d Mon Sep 17 00:00:00 2001 From: JUNG YI DAM Date: Wed, 20 Jul 2022 07:38:58 +0000 Subject: [PATCH] =?UTF-8?q?=EA=B8=88=EC=9D=BC=EB=B0=B0=ED=8C=85=EC=9E=90?= =?UTF-8?q?=EB=AA=A9=EB=A1=9D=EB=A6=AC=EC=8A=A4=ED=8A=B8=20page=20?= =?UTF-8?q?=EC=88=98=EC=A0=95?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/app/mock-api/apps/report/today-bet/api.ts | 54 +- .../mock-api/apps/report/today-bet/data.ts | 540 +++++++++++++++- .../today-bet/components/list.component.html | 578 +++++++----------- .../today-bet/components/list.component.ts | 116 ++-- .../today-bet/resolvers/today-bet.resolver.ts | 1 - .../today-bet/services/today-bet.service.ts | 15 +- .../report/today-bet/today-bet.module.ts | 2 + 7 files changed, 813 insertions(+), 493 deletions(-) diff --git a/src/app/mock-api/apps/report/today-bet/api.ts b/src/app/mock-api/apps/report/today-bet/api.ts index 3217c89..583a03f 100644 --- a/src/app/mock-api/apps/report/today-bet/api.ts +++ b/src/app/mock-api/apps/report/today-bet/api.ts @@ -2,6 +2,7 @@ import { Injectable } from '@angular/core'; import { assign, cloneDeep } from 'lodash-es'; import { FuseMockApiService, FuseMockApiUtils } from '@fuse/lib/mock-api'; import { todayBets as todayBetsData } from './data'; +import { contacts } from '../../chat/data'; @Injectable({ providedIn: 'root', @@ -35,27 +36,10 @@ export class ReportTodayBetMockApi { const search = request.params.get('search'); const sort = request.params.get('sort') || 'name'; const order = request.params.get('order') || 'asc'; - const page = parseInt(request.params.get('page') ?? '1', 10); - const size = parseInt(request.params.get('size') ?? '10', 10); // Clone the todayBets let todayBets: any[] | null = cloneDeep(this._todayBets); - // Sort the todayBets - if (sort === 'sku' || sort === 'name' || sort === 'active') { - todayBets.sort((a, b) => { - const fieldA = a[sort].toString().toUpperCase(); - const fieldB = b[sort].toString().toUpperCase(); - return order === 'asc' - ? fieldA.localeCompare(fieldB) - : fieldB.localeCompare(fieldA); - }); - } else { - todayBets.sort((a, b) => - order === 'asc' ? a[sort] - b[sort] : b[sort] - a[sort] - ); - } - // If search exists... if (search) { // Filter the todayBets @@ -66,47 +50,11 @@ export class ReportTodayBetMockApi { ); } - // Paginate - Start - const todayBetsLength = todayBets.length; - - // Calculate pagination details - const begin = page * size; - const end = Math.min(size * (page + 1), todayBetsLength); - const lastPage = Math.max(Math.ceil(todayBetsLength / size), 1); - - // Prepare the pagination object - let pagination = {}; - - // If the requested page number is bigger than - // the last possible page number, return null for - // todayBets but also send the last possible page so - // the app can navigate to there - if (page > lastPage) { - todayBets = null; - pagination = { - lastPage, - }; - } else { - // Paginate the results by size - todayBets = todayBets.slice(begin, end); - - // Prepare the pagination mock-api - pagination = { - length: todayBetsLength, - size: size, - page: page, - lastPage: lastPage, - startIndex: begin, - endIndex: end - 1, - }; - } - // Return the response return [ 200, { todayBets, - pagination, }, ]; }); diff --git a/src/app/mock-api/apps/report/today-bet/data.ts b/src/app/mock-api/apps/report/today-bet/data.ts index 5a838b8..d998fcd 100644 --- a/src/app/mock-api/apps/report/today-bet/data.ts +++ b/src/app/mock-api/apps/report/today-bet/data.ts @@ -2,32 +2,518 @@ export const todayBets = [ { - id: 'on00', - totalPartnerCount: '5', - totalHoldingMoney: 303675, - totalComp: 108933, - total: 412608, - branchCount: 1, - divisionCount: 1, - officeCount: 1, - storeCount: 1, - memberCount: 1, - nickname: 'on00', - accountHolder: '11', - phoneNumber: '010-1111-1111', - calculateType: '롤링', - ownCash: 50000, - ownComp: 1711, - ownCoupon: 50000, - gameMoney: 0, - todayComp: 0, - totalDeposit: 0, - totalWithdraw: 0, - balance: 0, - registDate: '2022-06-12 15:38', - finalSigninDate: '', - ip: '', - state: '정상', - note: '', + user: { + id: '1', + signinId: 'kgon1', + type: '본사', + parentId: 0, + rank: '회원', + level: '4', + nickname: 'aa100', + }, + bank: { + users: { + deposit: '0', + withdraw: '0', + netProfit: 0, + }, + parthners: { + deposit: '0', + withdraw: '0', + netProfit: '0', + }, + totalNetProfit: '0', + passiveMoney: '0', + passiveComp: '0', + casino: { + betting: '382,000', + bettingTie: '33,000', + bettingCancel: '0', + bettingValid: '351,000', + bettingWin: '357,050', + winLoss: '26,950', + commission: { + total: '7,020', + partner: '5,265', + me: '1,755', + }, + betWinSettle: '19,930', + }, + slot: { + betting: '382,000', + bettingCancel: '0', + bettingValid: '351,000', + bettingWin: '357,050', + winLoss: '26,950', + commission: { + total: '7,020', + partner: '5,265', + me: '1,755', + }, + betWinSettle: '19,930', + }, + powerball: { + betting: '0', + bettingCancel: '0', + bettingValid: '0', + bettingWin: '0', + winLoss: '0', + commission: { + total: '0', + partner: '0', + me: '0', + }, + betWinSettle: '19,930', + }, + }, + totalBetSettle: '119,400', + }, + { + user: { + id: '2', + signinId: 'kgon2', + type: '대본', + parentId: 1, + }, + bank: { + users: { + deposit: '0', + withdraw: '0', + netProfit: 0, + }, + parthners: { + deposit: '0', + withdraw: '0', + netProfit: '0', + }, + totalNetProfit: '0', + passiveMoney: '0', + passiveComp: '0', + casino: { + betting: '382,000', + bettingTie: '33,000', + bettingCancel: '0', + bettingValid: '351,000', + bettingWin: '357,050', + winLoss: '26,950', + commission: { + total: '7,020', + partner: '5,265', + me: '1,755', + }, + betWinSettle: '19,930', + }, + slot: { + betting: '382,000', + bettingCancel: '0', + bettingValid: '351,000', + bettingWin: '357,050', + winLoss: '26,950', + commission: { + total: '7,020', + partner: '5,265', + me: '1,755', + }, + betWinSettle: '19,930', + }, + powerball: { + betting: '0', + bettingCancel: '0', + bettingValid: '0', + bettingWin: '0', + winLoss: '0', + commission: { + total: '0', + partner: '0', + me: '0', + }, + betWinSettle: '19,930', + }, + }, + totalBetSettle: '119,400', + }, + { + user: { + id: '3', + signinId: 'kgon1', + type: '본사', + parentId: 2, + }, + bank: { + users: { + deposit: '0', + withdraw: '0', + netProfit: 0, + }, + parthners: { + deposit: '0', + withdraw: '0', + netProfit: '0', + }, + totalNetProfit: '0', + passiveMoney: '0', + passiveComp: '0', + casino: { + betting: '382,000', + bettingTie: '33,000', + bettingCancel: '0', + bettingValid: '351,000', + bettingWin: '357,050', + winLoss: '26,950', + commission: { + total: '7,020', + partner: '5,265', + me: '1,755', + }, + betWinSettle: '19,930', + }, + slot: { + betting: '382,000', + bettingCancel: '0', + bettingValid: '351,000', + bettingWin: '357,050', + winLoss: '26,950', + commission: { + total: '7,020', + partner: '5,265', + me: '1,755', + }, + betWinSettle: '19,930', + }, + powerball: { + betting: '0', + bettingCancel: '0', + bettingValid: '0', + bettingWin: '0', + winLoss: '0', + commission: { + total: '0', + partner: '0', + me: '0', + }, + betWinSettle: '19,930', + }, + }, + totalBetSettle: '119,400', + }, + { + user: { + id: '4', + signinId: 'kgon1', + type: '부본', + parentId: 3, + }, + bank: { + users: { + deposit: '0', + withdraw: '0', + netProfit: 0, + }, + parthners: { + deposit: '0', + withdraw: '0', + netProfit: '0', + }, + totalNetProfit: '0', + passiveMoney: '0', + passiveComp: '0', + casino: { + betting: '382,000', + bettingTie: '33,000', + bettingCancel: '0', + bettingValid: '351,000', + bettingWin: '357,050', + winLoss: '26,950', + commission: { + total: '7,020', + partner: '5,265', + me: '1,755', + }, + betWinSettle: '19,930', + }, + slot: { + betting: '382,000', + bettingCancel: '0', + bettingValid: '351,000', + bettingWin: '357,050', + winLoss: '26,950', + commission: { + total: '7,020', + partner: '5,265', + me: '1,755', + }, + betWinSettle: '19,930', + }, + powerball: { + betting: '0', + bettingCancel: '0', + bettingValid: '0', + bettingWin: '0', + winLoss: '0', + commission: { + total: '0', + partner: '0', + me: '0', + }, + betWinSettle: '19,930', + }, + }, + totalBetSettle: '119,400', + }, + { + user: { + id: '5', + signinId: 'kgon1', + type: '본사', + parentId: 0, + }, + bank: { + users: { + deposit: '0', + withdraw: '0', + netProfit: 0, + }, + parthners: { + deposit: '0', + withdraw: '0', + netProfit: '0', + }, + totalNetProfit: '0', + passiveMoney: '0', + passiveComp: '0', + casino: { + betting: '382,000', + bettingTie: '33,000', + bettingCancel: '0', + bettingValid: '351,000', + bettingWin: '357,050', + winLoss: '26,950', + commission: { + total: '7,020', + partner: '5,265', + me: '1,755', + }, + betWinSettle: '19,930', + }, + slot: { + betting: '382,000', + bettingCancel: '0', + bettingValid: '351,000', + bettingWin: '357,050', + winLoss: '26,950', + commission: { + total: '7,020', + partner: '5,265', + me: '1,755', + }, + betWinSettle: '19,930', + }, + powerball: { + betting: '0', + bettingCancel: '0', + bettingValid: '0', + bettingWin: '0', + winLoss: '0', + commission: { + total: '0', + partner: '0', + me: '0', + }, + betWinSettle: '19,930', + }, + }, + totalBetSettle: '119,400', + }, + { + user: { + id: '6', + signinId: 'kgon1', + type: '본사', + parentId: 0, + }, + bank: { + users: { + deposit: '0', + withdraw: '0', + netProfit: 0, + }, + parthners: { + deposit: '0', + withdraw: '0', + netProfit: '0', + }, + totalNetProfit: '0', + passiveMoney: '0', + passiveComp: '0', + casino: { + betting: '382,000', + bettingTie: '33,000', + bettingCancel: '0', + bettingValid: '351,000', + bettingWin: '357,050', + winLoss: '26,950', + commission: { + total: '7,020', + partner: '5,265', + me: '1,755', + }, + betWinSettle: '19,930', + }, + slot: { + betting: '382,000', + bettingCancel: '0', + bettingValid: '351,000', + bettingWin: '357,050', + winLoss: '26,950', + commission: { + total: '7,020', + partner: '5,265', + me: '1,755', + }, + betWinSettle: '19,930', + }, + powerball: { + betting: '0', + bettingCancel: '0', + bettingValid: '0', + bettingWin: '0', + winLoss: '0', + commission: { + total: '0', + partner: '0', + me: '0', + }, + betWinSettle: '19,930', + }, + }, + totalBetSettle: '119,400', + }, + { + user: { + id: '7', + signinId: 'kgon1', + type: '본사', + parentId: 0, + }, + bank: { + users: { + deposit: '0', + withdraw: '0', + netProfit: 0, + }, + parthners: { + deposit: '0', + withdraw: '0', + netProfit: '0', + }, + totalNetProfit: '0', + passiveMoney: '0', + passiveComp: '0', + casino: { + betting: '382,000', + bettingTie: '33,000', + bettingCancel: '0', + bettingValid: '351,000', + bettingWin: '357,050', + winLoss: '26,950', + commission: { + total: '7,020', + partner: '5,265', + me: '1,755', + }, + betWinSettle: '19,930', + }, + slot: { + betting: '382,000', + bettingCancel: '0', + bettingValid: '351,000', + bettingWin: '357,050', + winLoss: '26,950', + commission: { + total: '7,020', + partner: '5,265', + me: '1,755', + }, + betWinSettle: '19,930', + }, + powerball: { + betting: '0', + bettingCancel: '0', + bettingValid: '0', + bettingWin: '0', + winLoss: '0', + commission: { + total: '0', + partner: '0', + me: '0', + }, + betWinSettle: '19,930', + }, + }, + totalBetSettle: '119,400', + }, + { + user: { + id: '8', + signinId: 'kgon1', + type: '본사', + parentId: 0, + }, + bank: { + users: { + deposit: '0', + withdraw: '0', + netProfit: 0, + }, + parthners: { + deposit: '0', + withdraw: '0', + netProfit: '0', + }, + totalNetProfit: '0', + passiveMoney: '0', + passiveComp: '0', + casino: { + betting: '382,000', + bettingTie: '33,000', + bettingCancel: '0', + bettingValid: '351,000', + bettingWin: '357,050', + winLoss: '26,950', + commission: { + total: '7,020', + partner: '5,265', + me: '1,755', + }, + betWinSettle: '19,930', + }, + slot: { + betting: '382,000', + bettingCancel: '0', + bettingValid: '351,000', + bettingWin: '357,050', + winLoss: '26,950', + commission: { + total: '7,020', + partner: '5,265', + me: '1,755', + }, + betWinSettle: '19,930', + }, + powerball: { + betting: '0', + bettingCancel: '0', + bettingValid: '0', + bettingWin: '0', + winLoss: '0', + commission: { + total: '0', + partner: '0', + me: '0', + }, + betWinSettle: '19,930', + }, + }, + totalBetSettle: '119,400', }, ]; diff --git a/src/app/modules/admin/report/today-bet/components/list.component.html b/src/app/modules/admin/report/today-bet/components/list.component.html index fd7e2ff..def13ca 100644 --- a/src/app/modules/admin/report/today-bet/components/list.component.html +++ b/src/app/modules/admin/report/today-bet/components/list.component.html @@ -1,355 +1,235 @@ -
- -
- -
- -
- -
금일배팅자목록
- -
- - - - - - - 40 - 60 - 80 - 100 - - - - - LV.1 - LV.2 - LV.3 - LV.4 - - - - - 정상 - 대기 - 탈퇴 - 휴면 - 블랙 - 정지 - - - - - 카지노제한 - 슬롯제한 - - - - - 계좌입금 - - - - - 카지노콤프 - 슬롯콤프 - 배팅콤프 - 첫충콤프 - - - - - - - - - - - - -
-
- - -
- -
- - -
- -
- - - - - - - - - - - - - - - - - - - - -
- - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
-
-
-
- - -
-
- - +
+
+
+
+
- There are no today Bets! +
+ 금일배팅자목록 +
+
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
등급 + + {{ info?.user.rank }} + + 레벨 + + {{ info?.user.level }} + + 아이디 + + {{ info?.user.signinId }} + + 닉네임 + + {{ info?.user.nickname }} + + 회원입출 + {{ info?.bank.users.deposit }} + {{ info?.bank.users.withdraw }} + {{ info?.bank.users.netProfit }} + 파트너입출 + {{ info?.bank.parthners.deposit }} + {{ info?.bank.parthners.withdraw }} + {{ info?.bank.parthners.netProfit }} + 총손익 + {{ info?.bank.totalNetProfit }} + 수동머니 + {{ info?.bank.passiveMoney }} + 수동콤프 + {{ info?.bank.passiveComp }} + 배팅 + {{ info?.bank.casino.betting }} + 당첨 + {{ info?.bank.casino.bettingWin }} + 윈로스(A) + {{ info?.bank.casino.winLoss }} + 수수료(B) + {{ info?.bank.casino.commission.total }} + 벳윈정산(A-B) + {{ info?.bank.casino.betWinSettle }} + 배팅 + {{ info?.bank.slot.betting }} + 당첨 + {{ info?.bank.slot.bettingWin }} + 윈로스(D) + {{ info?.bank.slot.winLoss }} + 수수료(E) + {{ info?.bank.slot.commission.total }} + 벳윈정산(A-B) + {{ info?.bank.slot.commission.betWinSettle }} + 배팅 + {{ info?.bank.powerball.betting }} + 당첨 + {{ info?.bank.powerball.bettingWin }} + 윈로스(G) + {{ info?.bank.powerball.winLoss }} + 수수료(H) + {{ info?.bank.powerball.commission.total }} + 벳윈정산(G-H) + {{ info?.bank.powerball.commission.betWinSettle }} + 총벳윈정산 + {{ info?.totalBetSettle }} + + Second group +
+
+
- +
diff --git a/src/app/modules/admin/report/today-bet/components/list.component.ts b/src/app/modules/admin/report/today-bet/components/list.component.ts index 2dd9573..c8dd7fa 100644 --- a/src/app/modules/admin/report/today-bet/components/list.component.ts +++ b/src/app/modules/admin/report/today-bet/components/list.component.ts @@ -34,6 +34,7 @@ import { TodayBet } from '../models/today-bet'; import { TodayBetPagination } from '../models/today-bet-pagination'; import { TodayBetService } from '../services/today-bet.service'; import { Router } from '@angular/router'; +import { MatTableDataSource } from '@angular/material/table'; @Component({ selector: 'today-bet-list', @@ -63,19 +64,47 @@ import { Router } from '@angular/router'; animations: fuseAnimations, }) export class ListComponent implements OnInit, AfterViewInit, OnDestroy { - @ViewChild(MatPaginator) private _paginator!: MatPaginator; - @ViewChild(MatSort) private _sort!: MatSort; - todayBets$!: Observable; users$!: Observable; isLoading = false; searchInputControl = new FormControl(); selectedTodayBet?: TodayBet; - pagination?: TodayBetPagination; + todayBetForm!: FormGroup; + + todayBetDataSource: MatTableDataSource = new MatTableDataSource(); + todayBetTableColumns: string[] = [ + 'rank', + 'level', + 'signinId', + 'nickname', + 'depositDetails', + 'depositPartnerDetails', + 'totalProfit', + 'passiveMoney', + 'passiveComp', + 'casinoBetDetails', + 'casinoWinningDetails', + 'casinoWinLoss', + 'casinoCommission', + 'casinoSettle', + 'slotBetDetails', + 'slotWinningDetails', + 'slotWinLoss', + 'slotCommission', + 'slotSettle', + 'powerballBetDetails', + 'powerballWinningDetails', + 'powerballWinLoss', + 'powerballCommission', + 'powerballSettle', + 'totalBetWinSettle', + ]; private _unsubscribeAll: Subject = new Subject(); + roles: any[]; + /** * Constructor */ @@ -85,7 +114,26 @@ export class ListComponent implements OnInit, AfterViewInit, OnDestroy { private _formBuilder: FormBuilder, private _todayBetService: TodayBetService, private router: Router - ) {} + ) { + this.roles = [ + { + label: '전체', + value: '전체', + }, + { + label: '파워볼', + value: '파워볼', + }, + { + label: '카지노', + value: '카지노', + }, + { + label: '슬롯', + value: '슬롯', + }, + ]; + } // ----------------------------------------------------------------------------------------------------- // @ Lifecycle hooks @@ -95,14 +143,19 @@ export class ListComponent implements OnInit, AfterViewInit, OnDestroy { * On init */ ngOnInit(): void { + this.todayBetForm = this._formBuilder.group({ + bankName: [''], + accountNumber: [''], + accountHolder: [''], + }); // Get the pagination - this._todayBetService.pagination$ + this._todayBetService + .getTodayBets() .pipe(takeUntil(this._unsubscribeAll)) - .subscribe((pagination: TodayBetPagination | undefined) => { - // Update the pagination - this.pagination = pagination; - + .subscribe((todayBets: any) => { // Mark for check + this.todayBetDataSource = todayBets.todayBets; + console.log(todayBets); this._changeDetectorRef.markForCheck(); }); @@ -113,45 +166,7 @@ export class ListComponent implements OnInit, AfterViewInit, OnDestroy { /** * After view init */ - ngAfterViewInit(): void { - if (this._sort && this._paginator) { - // Set the initial sort - this._sort.sort({ - id: 'name', - start: 'asc', - disableClear: true, - }); - - // Mark for check - this._changeDetectorRef.markForCheck(); - - // If the todayBet changes the sort order... - this._sort.sortChange - .pipe(takeUntil(this._unsubscribeAll)) - .subscribe(() => { - // Reset back to the first page - this._paginator.pageIndex = 0; - }); - - // Get products if sort or page changes - merge(this._sort.sortChange, this._paginator.page) - .pipe( - switchMap(() => { - this.isLoading = true; - return this._todayBetService.getTodayBets( - this._paginator.pageIndex, - this._paginator.pageSize, - this._sort.active, - this._sort.direction - ); - }), - map(() => { - this.isLoading = false; - }) - ) - .subscribe(); - } - } + ngAfterViewInit(): void {} /** * On destroy @@ -195,4 +210,7 @@ export class ListComponent implements OnInit, AfterViewInit, OnDestroy { __trackByFn(index: number, item: any): any { return item.id || index; } + __testData(info: any): any { + console.log(info); + } } diff --git a/src/app/modules/admin/report/today-bet/resolvers/today-bet.resolver.ts b/src/app/modules/admin/report/today-bet/resolvers/today-bet.resolver.ts index f94e888..02aa82d 100644 --- a/src/app/modules/admin/report/today-bet/resolvers/today-bet.resolver.ts +++ b/src/app/modules/admin/report/today-bet/resolvers/today-bet.resolver.ts @@ -79,7 +79,6 @@ export class TodayBetsResolver implements Resolve { route: ActivatedRouteSnapshot, state: RouterStateSnapshot ): Observable<{ - pagination: TodayBetPagination; todayBets: TodayBet[]; }> { return this._todayBetService.getTodayBets(); diff --git a/src/app/modules/admin/report/today-bet/services/today-bet.service.ts b/src/app/modules/admin/report/today-bet/services/today-bet.service.ts index 72b6ba6..513819a 100644 --- a/src/app/modules/admin/report/today-bet/services/today-bet.service.ts +++ b/src/app/modules/admin/report/today-bet/services/today-bet.service.ts @@ -70,32 +70,19 @@ export class TodayBetService { * @param order * @param search */ - getTodayBets( - page: number = 0, - size: number = 10, - sort: string = 'name', - order: 'asc' | 'desc' | '' = 'asc', - search: string = '' - ): Observable<{ - pagination: TodayBetPagination; + getTodayBets(search: string = ''): Observable<{ todayBets: TodayBet[]; }> { return this._httpClient .get<{ - pagination: TodayBetPagination; todayBets: TodayBet[]; }>('api/apps/report/today-bet/today-bets', { params: { - page: '' + page, - size: '' + size, - sort, - order, search, }, }) .pipe( tap((response) => { - this.__pagination.next(response.pagination); this.__todayBets.next(response.todayBets); }) ); diff --git a/src/app/modules/admin/report/today-bet/today-bet.module.ts b/src/app/modules/admin/report/today-bet/today-bet.module.ts index 4370e7c..7c0f7b1 100644 --- a/src/app/modules/admin/report/today-bet/today-bet.module.ts +++ b/src/app/modules/admin/report/today-bet/today-bet.module.ts @@ -15,6 +15,7 @@ import { MatGridListModule } from '@angular/material/grid-list'; import { MatSlideToggleModule } from '@angular/material/slide-toggle'; import { MatRadioModule } from '@angular/material/radio'; import { MatCheckboxModule } from '@angular/material/checkbox'; +import { MatTableModule } from '@angular/material/table'; import { TranslocoModule } from '@ngneat/transloco'; @@ -45,6 +46,7 @@ import { todayBetRoutes } from './today-bet.routing'; MatSlideToggleModule, MatRadioModule, MatCheckboxModule, + MatTableModule, ], }) export class TodayBetModule {}