diff --git a/src/app/user-management/change-password/change-password.component.html b/src/app/user-management/change-password/change-password.component.html index d4c2b34..e576a59 100644 --- a/src/app/user-management/change-password/change-password.component.html +++ b/src/app/user-management/change-password/change-password.component.html @@ -26,16 +26,16 @@
-
-
@@ -47,18 +47,18 @@
-
- @@ -71,25 +71,21 @@
-
- - - + maxlength="500" + placeholder="{{ 'confirmPassword' | translate }}" appNoWhitespaces + rows="3" /> + + +
diff --git a/src/app/user-management/reset-password/reset-password.component.html b/src/app/user-management/reset-password/reset-password.component.html index 3897e4c..077c8bc 100644 --- a/src/app/user-management/reset-password/reset-password.component.html +++ b/src/app/user-management/reset-password/reset-password.component.html @@ -19,23 +19,23 @@
- {{'ResetPassword' | translate}} + {{'resetPassword' | translate}}
-
- @@ -48,19 +48,19 @@
-
- @@ -73,16 +73,16 @@
-
- + placeholder="{{ 'confirmPassword' | translate }}" appNoWhitespaces/> +
+
+
+
+
+ +
+ + + + + +
+
+
+ +
+
+
+
+ +
+ + + +
+
+
+
+ +
+
+
+
+ + + +
+
+ + + +
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ {{'SetupUserDetails' | translate}} +
+ + + + + +
+
+
+
+ + + + + + + + + + + + + + + + + + +
{{'userID' | translate}}{{'Name' | translate}}{{'phoneNumber' | translate}}{{'action' | translate}}
+
+ + + + + + + +
+
+
+
+ + +
+ +
+ {{ 'page' | translate }} {{ 'of' | translate }} ({{ 'totalItems' | translate }}) +
+ +
+ + +
+
+ +
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file diff --git a/src/app/user-management/setup-user/setup-user.component.ts b/src/app/user-management/setup-user/setup-user.component.ts index d837b06..bb4f335 100644 --- a/src/app/user-management/setup-user/setup-user.component.ts +++ b/src/app/user-management/setup-user/setup-user.component.ts @@ -1,11 +1,44 @@ +import { CommonModule } from '@angular/common'; import { Component } from '@angular/core'; +import { FormGroup, FormsModule, ReactiveFormsModule } from '@angular/forms'; +import { NgSelectModule } from '@ng-select/ng-select'; +import { TranslateModule } from '@ngx-translate/core'; +import { pageSizeOptions } from '../../utils/app.constants'; @Component({ selector: 'app-setup-user', - imports: [], + standalone: true, + imports: [TranslateModule, ReactiveFormsModule, FormsModule, CommonModule, NgSelectModule], templateUrl: './setup-user.component.html', styleUrl: './setup-user.component.scss' }) export class SetupUserComponent { + allItems: any[] = []; + currentPage: number = 1; + pageSizeOptions = pageSizeOptions + itemsPerPage: number = 5; + searchText: any; + createUserForm!: FormGroup; + + nextPage() { + throw new Error('Method not implemented.'); + } + + previousPage() { + throw new Error('Method not implemented.'); + } + + totalPages() { + return 1; + } + + toggleCard(arg0: string) { + throw new Error('Method not implemented.'); + } + + onSubmit() { + throw new Error('Method not implemented.'); + } + } 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 f3036ce..4b58e35 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 @@ -95,7 +95,7 @@
diff --git a/src/assets/i18n/Arabic.json b/src/assets/i18n/Arabic.json index 4b3ac72..aa451e9 100644 --- a/src/assets/i18n/Arabic.json +++ b/src/assets/i18n/Arabic.json @@ -72,11 +72,11 @@ "smsStatus":"حالة", "viewThirdPartyAccounts":"عرض الحسابات", "ThirdPartyID":"معرف الحفلة الثالثة", - "Name":"اسم", + "name":"اسم", "EnterThirdPartyName":"أدخل اسم الطرف الثالث", "Email":"البريد الإلكتروني", "Address":"تبوك", - "PhoneNumber":"رقم الهاتف", + "phoneNumber":"رقم الهاتف", "PhoneNumberPlaceHolder":"أدخل رقم الهاتف", "NewNoOfAccounts":"عدد جديد من الحسابات", "EnterNewNumberOfAccounts":"أدخل عددًا جديدًا من الحسابات", @@ -89,16 +89,15 @@ "gridNum25":"خمسة وعشرون", "gridNum50":"خمسون", "gridNum100":"مائة", - "UserID":"معرف المستخدم", - "UserContactNumber":"أدخل رقم اتصال المستخدم", + "userID":"معرف المستخدم", + "userContactNumber":"أدخل رقم اتصال المستخدم", "SelectHomeBranch":"حدد الفرع الرئيسي", "SelectRole":"حدد الدور", "HomeBranch":"فرع المنزل", "Role":"دور", "ResetPassword":"إعادة تعيين كلمة المرور", - "EnterNewPassword":"أدخل كلمة مرور جديدة", - "ConfirmPassword":"تأكيد كلمة المرور", - "OldPassword":"كلمة المرور القديمة", + "enterNewPassword":"أدخل كلمة مرور جديدة", + "oldPassword":"كلمة المرور القديمة", "newPasswordStatic":"كلمة السر الجديدة", "savePassword":"يحفظ", "passwordPattern":"يجب أن تكون كلمة المرور أكثر من 8 أحرف وتتضمن حرفًا كبيرًا وحرفًا صغيرًا ورقمًا وحرفًا خاصًا", @@ -141,7 +140,6 @@ "poc": "POC", "nicop": "S / NICOP", "passport": "جواز السفر", - "Previous": "السابق", "Next": "التالي", "ERR_APP_B_0001": "خطأ خادم داخلي", "ERR_APP_B_0002": "خطأ اتصال محتمل مع الوحدة النمطية {{value1}}", @@ -191,6 +189,7 @@ "update": "تحديث", "cancel": "يلغي", "thirdPartyRegistrationDetails": "تفاصيل تسجيل الطرف الثالث", + "SetupUserDetails": "إعداد تفاصيل المستخدم", "search": "يبحث", "thirdPartyNamePlaceholder": "أدخل اسم الطرف الثالث", "phoneNumberPlaceholder": "أدخل رقم الهاتف", diff --git a/src/assets/i18n/English.json b/src/assets/i18n/English.json index a1b5baf..48c0429 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", @@ -74,11 +74,11 @@ "smsStatus":"Status", "viewThirdPartyAccounts":"View Accounts", "ThirdPartyID":"Third Party ID", - "Name":"Name", + "name":"Name", "EnterThirdPartyName":"Enter Third Party Name", "Email":"Email", "Address":"Address", - "PhoneNumber":"Phone Number", + "phoneNumber":"Phone Number", "PhoneNumberPlaceHolder":"Enter Phone Number", "NewNoOfAccounts":"New No of Accounts", "EnterNewNumberOfAccounts":"Enter New Number of Accounts", @@ -91,16 +91,15 @@ "gridNum25":"25", "gridNum50":"50", "gridNum100":"100", - "UserID":"User ID", - "UserContactNumber":"Enter User Contact Number", + "userID":"User ID", + "userContactNumber":"Enter User Contact Number", "SelectHomeBranch":"Select Home Branch", "SelectRole":"Select Role", "HomeBranch":"Home Branch", "Role":"Role", "ResetPassword":"Reset Password", - "EnterNewPassword":"Enter New Password", - "ConfirmPassword":"Confirm Password", - "OldPassword":"Old Password", + "enterNewPassword":"Enter New Password", + "oldPassword":"Old Password", "newPasswordStatic":"New Password", "savePassword":"Save", "passwordPattern":"Password must be over 8 characters and include an uppercase letter, a lower case letter, a number and a special character", @@ -145,7 +144,6 @@ "passport": "PASSPORT", "senderNamePlaceHolder":"Enter Sender Name", "senderName":"Sender Name", - "Previous": "Previous", "Next": "Next", "ERR_APP_B_0001":"Internal Server Error", "ERR_APP_B_0002":"Possible connection error with {{value1}} module", @@ -166,7 +164,6 @@ "emailRequiredError": "Email is required.", "invalidEmailFormatError": "Invalid email format.", "passNotMatch": "Password does not match", - "POR_ORGACODE": "Organization ID", "purposeSetup": "Configure Transaction Purpose", "purpcodeLabel": "Purpose Code", @@ -194,6 +191,7 @@ "update": "Update", "cancel": "Cancel", "thirdPartyRegistrationDetails": "Third Party Registration Details", + "SetupUserDetails":"Setup User Details", "search": "Search", "thirdPartyNamePlaceholder": "Enter Third Party Name", "phoneNumberPlaceholder": "Enter Phone Number",