From 4cbf901eddc24015826cc014e2b43ac1e23881ef Mon Sep 17 00:00:00 2001 From: JUNG YI DAM Date: Sat, 27 Aug 2022 06:29:39 +0000 Subject: [PATCH] =?UTF-8?q?=EB=A0=88=EB=B2=A8=EC=84=A4=EC=A0=95=20?= =?UTF-8?q?=EB=B2=84=ED=8A=BC?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../partner/components/list.component.html | 29 +++++++++++++++++-- .../partner/components/list.component.ts | 9 ++++++ .../user/components/list.component.html | 26 ++++++++++++++++- .../member/user/components/list.component.ts | 9 ++++++ 4 files changed, 69 insertions(+), 4 deletions(-) diff --git a/src/app/modules/admin/member/partner/components/list.component.html b/src/app/modules/admin/member/partner/components/list.component.html index e6b4068..7a12c52 100644 --- a/src/app/modules/admin/member/partner/components/list.component.html +++ b/src/app/modules/admin/member/partner/components/list.component.html @@ -10,8 +10,13 @@ -
{{ title }}
- +
+ {{ title }} + +
@@ -53,13 +58,31 @@ -

+
+
+ + + + +
+
; + __isLevelOpened = false; isLoading = false; searchInputControl = new FormControl(); selectedPartner?: Partner; @@ -294,6 +295,14 @@ export class ListComponent implements OnInit, AfterViewInit, OnDestroy { */ __toggleDetails(productId: string): void {} + /** + * toggle the search + * Used in 'bar' + */ + __onClickLevel(): void { + this.__isLevelOpened = !this.__isLevelOpened; + } + /** * Track by function for ngFor loops * diff --git a/src/app/modules/admin/member/user/components/list.component.html b/src/app/modules/admin/member/user/components/list.component.html index 2460aca..46bdd9b 100644 --- a/src/app/modules/admin/member/user/components/list.component.html +++ b/src/app/modules/admin/member/user/components/list.component.html @@ -19,7 +19,12 @@ + + +
@@ -202,6 +207,25 @@
+
+
+ + + + +
+
diff --git a/src/app/modules/admin/member/user/components/list.component.ts b/src/app/modules/admin/member/user/components/list.component.ts index e445088..e638ef7 100644 --- a/src/app/modules/admin/member/user/components/list.component.ts +++ b/src/app/modules/admin/member/user/components/list.component.ts @@ -91,6 +91,7 @@ export class ListComponent implements OnInit, AfterViewInit, OnDestroy { listMemberLevels$!: Observable; __isSearchOpened = false; + __isLevelOpened = false; isLoading = false; searchInputControl = new FormControl(); selectedUser?: User; @@ -247,6 +248,14 @@ export class ListComponent implements OnInit, AfterViewInit, OnDestroy { this.__isSearchOpened = !this.__isSearchOpened; } + /** + * toggle the search + * Used in 'bar' + */ + __onClickLevel(): void { + this.__isLevelOpened = !this.__isLevelOpened; + } + /** * Track by function for ngFor loops *