From bf3fe98e6397edb454cd1a0f880ab2cc1685839c Mon Sep 17 00:00:00 2001 From: Mazdak Gibran <141390141+mazdakgibran@users.noreply.github.com> Date: Tue, 16 Dec 2025 10:28:33 +0500 Subject: [PATCH] UnBlock IB User screen design implementation of UnBlock IB User --- .../ib-unblock-user/ib-unblock-user.component.ts | 15 ++++++++++++++- .../setup-user/setup-user.component.html | 2 +- .../third-party-registration.component.html | 8 ++++---- src/assets/i18n/Arabic.json | 10 ++++++---- src/assets/i18n/English.json | 12 +++++++----- 5 files changed, 32 insertions(+), 15 deletions(-) diff --git a/src/app/ib-support/ib-unblock-user/ib-unblock-user.component.ts b/src/app/ib-support/ib-unblock-user/ib-unblock-user.component.ts index 7f45d89..3520c8f 100644 --- a/src/app/ib-support/ib-unblock-user/ib-unblock-user.component.ts +++ b/src/app/ib-support/ib-unblock-user/ib-unblock-user.component.ts @@ -1,11 +1,24 @@ import { Component } from '@angular/core'; +import { FormsModule, ReactiveFormsModule } from '@angular/forms'; +import { NgSelectModule } from '@ng-select/ng-select'; +import { TranslateModule } from '@ngx-translate/core'; +import { pageSizeOptions } from '../../utils/app.constants'; +import { CommonModule } from '@angular/common'; @Component({ selector: 'app-ib-unblock-user', - imports: [], + imports: [TranslateModule, FormsModule, NgSelectModule, CommonModule, ReactiveFormsModule], templateUrl: './ib-unblock-user.component.html', styleUrl: './ib-unblock-user.component.scss' }) export class IbUnblockUserComponent { + renewalDataExpanded: boolean = true + itemsPerPage: number = 5; + pageSizeOptions = pageSizeOptions + optionValue: any; + +itemsPerPageChanged() { +throw new Error('Method not implemented.'); +} } diff --git a/src/app/user-management/setup-user/setup-user.component.html b/src/app/user-management/setup-user/setup-user.component.html index ff2aafe..988ee25 100644 --- a/src/app/user-management/setup-user/setup-user.component.html +++ b/src/app/user-management/setup-user/setup-user.component.html @@ -58,7 +58,7 @@ class="form-control" maxlength="500" - placeholder="{{ 'username' | translate }}" appNoWhitespaces + placeholder="{{ 'userName' | translate }}" appNoWhitespaces rows="3" /> diff --git a/src/app/user-management/third-party-registration/third-party-registration.component.html b/src/app/user-management/third-party-registration/third-party-registration.component.html index 4b58e35..9737b09 100644 --- a/src/app/user-management/third-party-registration/third-party-registration.component.html +++ b/src/app/user-management/third-party-registration/third-party-registration.component.html @@ -45,7 +45,7 @@
@@ -138,7 +138,7 @@ + placeholder="{{ 'password' | translate }}"> {{'ThirdPartyID' | translate}} - {{'Name' | translate}} + {{'name' | translate}} {{'Email' | translate}} {{'Address' | translate}} - {{'PhoneNumber' | translate}} + {{'phoneNumber' | translate}} {{'TotalNoOfAccounts' | translate}} {{'action' | translate}} diff --git a/src/assets/i18n/Arabic.json b/src/assets/i18n/Arabic.json index a4ed1e2..8779e15 100644 --- a/src/assets/i18n/Arabic.json +++ b/src/assets/i18n/Arabic.json @@ -45,11 +45,12 @@ "toDate":"حتي اليوم", "findLogs":"البحث عن السجلات", "unBlockCustomer":"إلغاء حظر العميل", + "unblockUserDetails": "إلغاء حظر تفاصيل المستخدم", "loggerManagerDetails": "تفاصيل مدير السجلات", - "fatchCustomer": "ابحث عن العملاء", + "fetchCustomer": "ابحث عن العملاء", "loggingID":"معرف", - "cmpFirstname":"الاسم الأول", - "cmpLastname": "اسم العائلة", + "firstName":"الاسم الأول", + "lastName": "اسم العائلة", "cmpCuststatus":"حالة العميل", "cmpCustlastlogin": "آخر تسجيل دخول للعميل", "accountNonLocked":"الحساب مغلق", @@ -59,6 +60,7 @@ "loggingRequestUri":"طلب Uri", "loggingResponseCode":"رمز الاستجابة", "loggingRemoteIP":"بعيد IP", + "enterIdentityValue": "أدخل قيمة الهوية", "loggingTimeTaken":"الوقت المستغرق", "loggingDate":"تاريخ", "loggingDateTime": "التاريخ والوقت", @@ -105,7 +107,7 @@ "savePassword":"يحفظ", "passwordPattern":"يجب أن تكون كلمة المرور أكثر من 8 أحرف وتتضمن حرفًا كبيرًا وحرفًا صغيرًا ورقمًا وحرفًا خاصًا", "SMSGatewaySelect":"اختر صنف", - "SelectIdentValueType": "حدد نوع قيمة الهوية", + "selectIdentValueType": "حدد نوع قيمة الهوية", "selectIdentityValue" : "رقم الهوية مطلوب", "IdTypeSelect":"حدد تحديد النوع", "SMSGatewaySyriatel":"سيريتل", diff --git a/src/assets/i18n/English.json b/src/assets/i18n/English.json index b64b7da..a1f51e0 100644 --- a/src/assets/i18n/English.json +++ b/src/assets/i18n/English.json @@ -1,7 +1,7 @@ { "logintoAccount":"Login to your account", - "username":"Username", + "userName":"Username", "userNamePlaceHolder":"Enter Username", "password":"Password", "passwordPlaceHolder":"Enter Password", @@ -40,6 +40,7 @@ "SelectAUser":"Select a User", "loggingTitle":"Logging", "IBChildTitle":"UnBlock User", + "unblockUserDetails": "Unblock User Details", "IBTitle":"Internet Banking Support", "loggingChildTitle":"Logger Manager", "fromDate":"From Date", @@ -47,10 +48,10 @@ "toDate":"To Date", "findLogs":"Find Logs", "unBlockCustomer":"UnBlock Customer", - "fatchCustomer":"Find customer", + "fetchCustomer":"Find Customer", "loggingID":"Id", - "cmpFirstname":"First Name", - "cmpLastname": "Last name", + "firstName":"First Name", + "lastName": "Last Name", "cmpCuststatus":"Customer Status", "cmpCustlastlogin": "Last Login", "accountNonLocked":"Account Locked", @@ -106,7 +107,7 @@ "savePassword":"Save", "passwordPattern":"Password must be over 8 characters and include an uppercase letter, a lower case letter, a number and a special character", "SMSGatewaySelect":"Select Gateway", - "SelectIdentValueType": "Select Type", + "selectIdentValueType": "Select Type", "IdTypeSelect":"Select Select Type", "SMSGatewaySyriatel":"Syriatel", "SMSGatewayTwillio":"Twilio", @@ -145,6 +146,7 @@ "nicop": "S/NICOP", "passport": "PASSPORT", "senderNamePlaceHolder":"Enter Sender Name", + "enterIdentityValue":"Enter Identity Value", "senderName":"Sender Name", "Next": "Next", "ERR_APP_B_0001":"Internal Server Error",