diff --git a/src/app/modules/admin/member/user/components/deposit-history.component.html b/src/app/modules/admin/member/user/components/deposit-history.component.html new file mode 100644 index 0000000..b9a42bc --- /dev/null +++ b/src/app/modules/admin/member/user/components/deposit-history.component.html @@ -0,0 +1,19 @@ +
+
+
+
+ +
+
+ 검색 +
+
+ 입금정보 테이블 +
+
+
+
+
+
diff --git a/src/app/modules/admin/member/user/components/deposit-history.component.ts b/src/app/modules/admin/member/user/components/deposit-history.component.ts new file mode 100644 index 0000000..447fe3d --- /dev/null +++ b/src/app/modules/admin/member/user/components/deposit-history.component.ts @@ -0,0 +1,106 @@ +import { + AfterViewInit, + ChangeDetectionStrategy, + ChangeDetectorRef, + Component, + OnDestroy, + OnInit, + ViewChild, + ViewEncapsulation, +} from '@angular/core'; +import { MatPaginator } from '@angular/material/paginator'; +import { fuseAnimations } from '@fuse/animations'; +import { Subject } from 'rxjs'; + +@Component({ + selector: 'deposit-history', + templateUrl: './deposit-history.component.html', + styles: [ + /* language=SCSS */ + ` + .deposit-history-grid { + grid-template-columns: 60px auto 40px; + + @screen sm { + grid-template-columns: 100px auto 60px 60px; + } + + @screen md { + grid-template-columns: 100px 100px auto 60px 60px; + } + + @screen lg { + grid-template-columns: 100px 100px 100px 60px 60px; + } + } + `, + ], + encapsulation: ViewEncapsulation.None, + changeDetection: ChangeDetectionStrategy.OnPush, + animations: fuseAnimations, +}) +export class DepositHistoryComponent + implements OnInit, AfterViewInit, OnDestroy +{ + @ViewChild(MatPaginator) private _paginator!: MatPaginator; + + private _unsubscribeAll: Subject = new Subject(); + + /** + * Constructor + */ + constructor(private _changeDetectorRef: ChangeDetectorRef) {} + + // ----------------------------------------------------------------------------------------------------- + // @ Lifecycle hooks + // ----------------------------------------------------------------------------------------------------- + + /** + * On init + */ + ngOnInit(): void {} + + /** + * After view init + */ + ngAfterViewInit(): void {} + + /** + * On destroy + */ + ngOnDestroy(): void { + // Unsubscribe from all subscriptions + this._unsubscribeAll.next(null); + this._unsubscribeAll.complete(); + } + + // ----------------------------------------------------------------------------------------------------- + // @ Public methods + // ----------------------------------------------------------------------------------------------------- + + // ----------------------------------------------------------------------------------------------------- + // @ Private methods + // ----------------------------------------------------------------------------------------------------- + + /** + * Create product + */ + __createProduct(): void {} + + /** + * Toggle product details + * + * @param productId + */ + __toggleDetails(productId: string): void {} + + /** + * Track by function for ngFor loops + * + * @param index + * @param item + */ + __trackByFn(index: number, item: any): any { + return item.id || index; + } +} diff --git a/src/app/modules/admin/member/user/components/index.ts b/src/app/modules/admin/member/user/components/index.ts index 4e9e32b..277abd2 100644 --- a/src/app/modules/admin/member/user/components/index.ts +++ b/src/app/modules/admin/member/user/components/index.ts @@ -1,4 +1,15 @@ +import { DepositHistoryComponent } from './deposit-history.component'; import { ListComponent } from './list.component'; +import { PartnerSignInHistoryComponent } from './partner-sign-in-history.component'; import { ViewComponent } from './view.component'; +import { WebSignInHistoryComponent } from './web-sign-in-history.component'; +import { WithdrawHistoryComponent } from './withdraw-history.component'; -export const COMPONENTS = [ListComponent, ViewComponent]; +export const COMPONENTS = [ + ListComponent, + ViewComponent, + DepositHistoryComponent, + WithdrawHistoryComponent, + WebSignInHistoryComponent, + PartnerSignInHistoryComponent, +]; diff --git a/src/app/modules/admin/member/user/components/partner-sign-in-history.component.html b/src/app/modules/admin/member/user/components/partner-sign-in-history.component.html new file mode 100644 index 0000000..c75a8e9 --- /dev/null +++ b/src/app/modules/admin/member/user/components/partner-sign-in-history.component.html @@ -0,0 +1,19 @@ +
+
+
+
+ +
+
+ 검색 +
+
+ 파트너로그인내역 테이블 +
+
+
+
+
+
diff --git a/src/app/modules/admin/member/user/components/partner-sign-in-history.component.ts b/src/app/modules/admin/member/user/components/partner-sign-in-history.component.ts new file mode 100644 index 0000000..14a4dcd --- /dev/null +++ b/src/app/modules/admin/member/user/components/partner-sign-in-history.component.ts @@ -0,0 +1,106 @@ +import { + AfterViewInit, + ChangeDetectionStrategy, + ChangeDetectorRef, + Component, + OnDestroy, + OnInit, + ViewChild, + ViewEncapsulation, +} from '@angular/core'; +import { MatPaginator } from '@angular/material/paginator'; +import { fuseAnimations } from '@fuse/animations'; +import { Subject } from 'rxjs'; + +@Component({ + selector: 'partner-sign-in-history', + templateUrl: './partner-sign-in-history.component.html', + styles: [ + /* language=SCSS */ + ` + .partner-sign-in-history-grid { + grid-template-columns: 60px auto 40px; + + @screen sm { + grid-template-columns: 100px auto 60px 60px; + } + + @screen md { + grid-template-columns: 100px 100px auto 60px 60px; + } + + @screen lg { + grid-template-columns: 100px 100px 100px 60px 60px; + } + } + `, + ], + encapsulation: ViewEncapsulation.None, + changeDetection: ChangeDetectionStrategy.OnPush, + animations: fuseAnimations, +}) +export class PartnerSignInHistoryComponent + implements OnInit, AfterViewInit, OnDestroy +{ + @ViewChild(MatPaginator) private _paginator!: MatPaginator; + + private _unsubscribeAll: Subject = new Subject(); + + /** + * Constructor + */ + constructor(private _changeDetectorRef: ChangeDetectorRef) {} + + // ----------------------------------------------------------------------------------------------------- + // @ Lifecycle hooks + // ----------------------------------------------------------------------------------------------------- + + /** + * On init + */ + ngOnInit(): void {} + + /** + * After view init + */ + ngAfterViewInit(): void {} + + /** + * On destroy + */ + ngOnDestroy(): void { + // Unsubscribe from all subscriptions + this._unsubscribeAll.next(null); + this._unsubscribeAll.complete(); + } + + // ----------------------------------------------------------------------------------------------------- + // @ Public methods + // ----------------------------------------------------------------------------------------------------- + + // ----------------------------------------------------------------------------------------------------- + // @ Private methods + // ----------------------------------------------------------------------------------------------------- + + /** + * Create product + */ + __createProduct(): void {} + + /** + * Toggle product details + * + * @param productId + */ + __toggleDetails(productId: string): void {} + + /** + * Track by function for ngFor loops + * + * @param index + * @param item + */ + __trackByFn(index: number, item: any): any { + return item.id || index; + } +} diff --git a/src/app/modules/admin/member/user/components/view.component.html b/src/app/modules/admin/member/user/components/view.component.html index 9ea1113..3d6655f 100644 --- a/src/app/modules/admin/member/user/components/view.component.html +++ b/src/app/modules/admin/member/user/components/view.component.html @@ -604,8 +604,45 @@ -
내역
+ +
+
+
+
+ +
+ + + + + + + + + + + + + + + + + + + + + + + +
+
+
+
+
diff --git a/src/app/modules/admin/member/user/components/web-sign-in-history.component.html b/src/app/modules/admin/member/user/components/web-sign-in-history.component.html new file mode 100644 index 0000000..4ebe771 --- /dev/null +++ b/src/app/modules/admin/member/user/components/web-sign-in-history.component.html @@ -0,0 +1,19 @@ +
+
+
+
+ +
+
+ 검색 +
+
+ 웹로그인내역 테이블 +
+
+
+
+
+
diff --git a/src/app/modules/admin/member/user/components/web-sign-in-history.component.ts b/src/app/modules/admin/member/user/components/web-sign-in-history.component.ts new file mode 100644 index 0000000..f740eed --- /dev/null +++ b/src/app/modules/admin/member/user/components/web-sign-in-history.component.ts @@ -0,0 +1,106 @@ +import { + AfterViewInit, + ChangeDetectionStrategy, + ChangeDetectorRef, + Component, + OnDestroy, + OnInit, + ViewChild, + ViewEncapsulation, +} from '@angular/core'; +import { MatPaginator } from '@angular/material/paginator'; +import { fuseAnimations } from '@fuse/animations'; +import { Subject } from 'rxjs'; + +@Component({ + selector: 'web-sign-in-history', + templateUrl: './web-sign-in-history.component.html', + styles: [ + /* language=SCSS */ + ` + .web-sign-in-history-grid { + grid-template-columns: 60px auto 40px; + + @screen sm { + grid-template-columns: 100px auto 60px 60px; + } + + @screen md { + grid-template-columns: 100px 100px auto 60px 60px; + } + + @screen lg { + grid-template-columns: 100px 100px 100px 60px 60px; + } + } + `, + ], + encapsulation: ViewEncapsulation.None, + changeDetection: ChangeDetectionStrategy.OnPush, + animations: fuseAnimations, +}) +export class WebSignInHistoryComponent + implements OnInit, AfterViewInit, OnDestroy +{ + @ViewChild(MatPaginator) private _paginator!: MatPaginator; + + private _unsubscribeAll: Subject = new Subject(); + + /** + * Constructor + */ + constructor(private _changeDetectorRef: ChangeDetectorRef) {} + + // ----------------------------------------------------------------------------------------------------- + // @ Lifecycle hooks + // ----------------------------------------------------------------------------------------------------- + + /** + * On init + */ + ngOnInit(): void {} + + /** + * After view init + */ + ngAfterViewInit(): void {} + + /** + * On destroy + */ + ngOnDestroy(): void { + // Unsubscribe from all subscriptions + this._unsubscribeAll.next(null); + this._unsubscribeAll.complete(); + } + + // ----------------------------------------------------------------------------------------------------- + // @ Public methods + // ----------------------------------------------------------------------------------------------------- + + // ----------------------------------------------------------------------------------------------------- + // @ Private methods + // ----------------------------------------------------------------------------------------------------- + + /** + * Create product + */ + __createProduct(): void {} + + /** + * Toggle product details + * + * @param productId + */ + __toggleDetails(productId: string): void {} + + /** + * Track by function for ngFor loops + * + * @param index + * @param item + */ + __trackByFn(index: number, item: any): any { + return item.id || index; + } +} diff --git a/src/app/modules/admin/member/user/components/withdraw-history.component.html b/src/app/modules/admin/member/user/components/withdraw-history.component.html new file mode 100644 index 0000000..1867d17 --- /dev/null +++ b/src/app/modules/admin/member/user/components/withdraw-history.component.html @@ -0,0 +1,19 @@ +
+
+
+
+ +
+
+ 검색 +
+
+ 출금내역 테이블 +
+
+
+
+
+
diff --git a/src/app/modules/admin/member/user/components/withdraw-history.component.ts b/src/app/modules/admin/member/user/components/withdraw-history.component.ts new file mode 100644 index 0000000..b57844c --- /dev/null +++ b/src/app/modules/admin/member/user/components/withdraw-history.component.ts @@ -0,0 +1,106 @@ +import { + AfterViewInit, + ChangeDetectionStrategy, + ChangeDetectorRef, + Component, + OnDestroy, + OnInit, + ViewChild, + ViewEncapsulation, +} from '@angular/core'; +import { MatPaginator } from '@angular/material/paginator'; +import { fuseAnimations } from '@fuse/animations'; +import { Subject } from 'rxjs'; + +@Component({ + selector: 'withdraw-history', + templateUrl: './withdraw-history.component.html', + styles: [ + /* language=SCSS */ + ` + .withdraw-history-grid { + grid-template-columns: 60px auto 40px; + + @screen sm { + grid-template-columns: 100px auto 60px 60px; + } + + @screen md { + grid-template-columns: 100px 100px auto 60px 60px; + } + + @screen lg { + grid-template-columns: 100px 100px 100px 60px 60px; + } + } + `, + ], + encapsulation: ViewEncapsulation.None, + changeDetection: ChangeDetectionStrategy.OnPush, + animations: fuseAnimations, +}) +export class WithdrawHistoryComponent + implements OnInit, AfterViewInit, OnDestroy +{ + @ViewChild(MatPaginator) private _paginator!: MatPaginator; + + private _unsubscribeAll: Subject = new Subject(); + + /** + * Constructor + */ + constructor(private _changeDetectorRef: ChangeDetectorRef) {} + + // ----------------------------------------------------------------------------------------------------- + // @ Lifecycle hooks + // ----------------------------------------------------------------------------------------------------- + + /** + * On init + */ + ngOnInit(): void {} + + /** + * After view init + */ + ngAfterViewInit(): void {} + + /** + * On destroy + */ + ngOnDestroy(): void { + // Unsubscribe from all subscriptions + this._unsubscribeAll.next(null); + this._unsubscribeAll.complete(); + } + + // ----------------------------------------------------------------------------------------------------- + // @ Public methods + // ----------------------------------------------------------------------------------------------------- + + // ----------------------------------------------------------------------------------------------------- + // @ Private methods + // ----------------------------------------------------------------------------------------------------- + + /** + * Create product + */ + __createProduct(): void {} + + /** + * Toggle product details + * + * @param productId + */ + __toggleDetails(productId: string): void {} + + /** + * Track by function for ngFor loops + * + * @param index + * @param item + */ + __trackByFn(index: number, item: any): any { + return item.id || index; + } +}