common-header-lib 0.20.6 → 0.20.8

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/index.d.ts CHANGED
@@ -158,6 +158,7 @@ declare class AppPanelComponent {
158
158
  private readonly destroyRef;
159
159
  private readonly cdRef;
160
160
  private readonly document;
161
+ private readonly injector;
161
162
  private readonly popoverRef;
162
163
  private readonly popoverContentRef;
163
164
  /** The 9-dots trigger button, captured on open so focus can return to it on close. */
@@ -173,7 +174,13 @@ declare class AppPanelComponent {
173
174
  toggle(event: Event): void;
174
175
  /** Moves focus to the first app tile. Called on popover open, and again once
175
176
  * the app list finishes loading if the popover was opened while it was
176
- * still showing the skeleton (which has no focusable tiles yet). */
177
+ * still showing the skeleton (which has no focusable tiles yet).
178
+ * Uses afterNextRender rather than setTimeout: a setTimeout(0) can fire
179
+ * before Angular has actually re-rendered the tiles (only guaranteed to
180
+ * run after the current task, not after the next change-detection pass),
181
+ * which made the focus call intermittently land on nothing — the
182
+ * "sometimes no focus shown" symptom. afterNextRender only fires once
183
+ * the DOM genuinely reflects the latest state. */
177
184
  onPopoverShow(): void;
178
185
  /** Returns focus to the 9-dots trigger button on most close paths (Escape,
179
186
  * outside click, or selecting an app). Skipped for a forward Tab-out —
@@ -377,6 +384,7 @@ declare class CommonHeaderLibComponent implements OnInit {
377
384
  EnableLOB: _angular_core.InputSignal<boolean>;
378
385
  showAllLOB: _angular_core.InputSignal<boolean>;
379
386
  lobReadOnly: _angular_core.InputSignal<boolean>;
387
+ showLobChangeConfirmation: _angular_core.InputSignal<boolean>;
380
388
  EnableMail: _angular_core.InputSignal<boolean>;
381
389
  EnableNotifications: _angular_core.InputSignal<boolean>;
382
390
  EnableMoreApps: _angular_core.InputSignal<boolean>;
@@ -412,7 +420,8 @@ declare class CommonHeaderLibComponent implements OnInit {
412
420
  OpenNotificationModal(): void;
413
421
  closeModal(): void;
414
422
  /** Called when the user picks a different LOB from the dropdown.
415
- * Stores the new value and opens the confirmation dialog before committing.
423
+ * Stores the new value, then either opens the confirmation dialog or
424
+ * commits immediately, per showLobChangeConfirmation.
416
425
  * When lobReadOnly is true: PrimeNG's [(ngModel)] has already written
417
426
  * event.value into selectedLOBId by the time this handler runs (ngModel
418
427
  * writeback happens before (onChange) fires), so a bare early return would
@@ -450,7 +459,7 @@ declare class CommonHeaderLibComponent implements OnInit {
450
459
  * re-emitting lobSelected by itself. */
451
460
  private getListofLOB;
452
461
  static ɵfac: _angular_core.ɵɵFactoryDeclaration<CommonHeaderLibComponent, never>;
453
- static ɵcmp: _angular_core.ɵɵComponentDeclaration<CommonHeaderLibComponent, "lib-app-header", never, { "EnableLogo": { "alias": "EnableLogo"; "required": false; "isSignal": true; }; "moduleName": { "alias": "moduleName"; "required": false; "isSignal": true; }; "EnableTimeZone": { "alias": "EnableTimeZone"; "required": false; "isSignal": true; }; "EnableLOB": { "alias": "EnableLOB"; "required": false; "isSignal": true; }; "showAllLOB": { "alias": "showAllLOB"; "required": false; "isSignal": true; }; "lobReadOnly": { "alias": "lobReadOnly"; "required": false; "isSignal": true; }; "EnableMail": { "alias": "EnableMail"; "required": false; "isSignal": true; }; "EnableNotifications": { "alias": "EnableNotifications"; "required": false; "isSignal": true; }; "EnableMoreApps": { "alias": "EnableMoreApps"; "required": false; "isSignal": true; }; "EnableProfile": { "alias": "EnableProfile"; "required": false; "isSignal": true; }; "EnableLearningCenter": { "alias": "EnableLearningCenter"; "required": false; "isSignal": true; }; "EnableGeneralConfiguration": { "alias": "EnableGeneralConfiguration"; "required": false; "isSignal": true; }; "languages": { "alias": "languages"; "required": false; "isSignal": true; }; }, { "timezoneDetails": "timezoneDetails"; "lobSelected": "lobSelected"; "getBgImage": "getBgImage"; "langChange": "langChange"; "overlayStateChange": "overlayStateChange"; }, never, never, true, never>;
462
+ static ɵcmp: _angular_core.ɵɵComponentDeclaration<CommonHeaderLibComponent, "lib-app-header", never, { "EnableLogo": { "alias": "EnableLogo"; "required": false; "isSignal": true; }; "moduleName": { "alias": "moduleName"; "required": false; "isSignal": true; }; "EnableTimeZone": { "alias": "EnableTimeZone"; "required": false; "isSignal": true; }; "EnableLOB": { "alias": "EnableLOB"; "required": false; "isSignal": true; }; "showAllLOB": { "alias": "showAllLOB"; "required": false; "isSignal": true; }; "lobReadOnly": { "alias": "lobReadOnly"; "required": false; "isSignal": true; }; "showLobChangeConfirmation": { "alias": "showLobChangeConfirmation"; "required": false; "isSignal": true; }; "EnableMail": { "alias": "EnableMail"; "required": false; "isSignal": true; }; "EnableNotifications": { "alias": "EnableNotifications"; "required": false; "isSignal": true; }; "EnableMoreApps": { "alias": "EnableMoreApps"; "required": false; "isSignal": true; }; "EnableProfile": { "alias": "EnableProfile"; "required": false; "isSignal": true; }; "EnableLearningCenter": { "alias": "EnableLearningCenter"; "required": false; "isSignal": true; }; "EnableGeneralConfiguration": { "alias": "EnableGeneralConfiguration"; "required": false; "isSignal": true; }; "languages": { "alias": "languages"; "required": false; "isSignal": true; }; }, { "timezoneDetails": "timezoneDetails"; "lobSelected": "lobSelected"; "getBgImage": "getBgImage"; "langChange": "langChange"; "overlayStateChange": "overlayStateChange"; }, never, never, true, never>;
454
463
  }
455
464
 
456
465
  declare class SliceToTwoPipe implements PipeTransform {
@@ -483,6 +492,7 @@ declare class ViewpasswordPopupComponent implements OnInit, AfterViewInit {
483
492
  private readonly destroyRef;
484
493
  private readonly cdr;
485
494
  readonly dialogService: DynamicDialogConfig<any, any>;
495
+ private readonly dialogRef;
486
496
  private readonly msgService;
487
497
  private readonly _eventService;
488
498
  private readonly translateService;
@@ -492,6 +502,7 @@ declare class ViewpasswordPopupComponent implements OnInit, AfterViewInit {
492
502
  private SSHFileName;
493
503
  isSSHKey: boolean;
494
504
  isPasswordVisible: boolean;
505
+ isVaulted: boolean;
495
506
  private PasswordViewSuccessMsg;
496
507
  private SSHPasswordViewSuccessMsg;
497
508
  private SSHPasswordViewErrorMsg;
@@ -502,6 +513,8 @@ declare class ViewpasswordPopupComponent implements OnInit, AfterViewInit {
502
513
  private getSelectedGridData;
503
514
  private getTranslateContent;
504
515
  getAccessServicePassword(): void;
516
+ /** Closes the dialog for a vaulted credential — no password is shown, just an acknowledgement. */
517
+ acknowledgeVaulted(): void;
505
518
  getHideServicePassword(): void;
506
519
  private getCurrentEmailsCount;
507
520
  getGenerateFile(): void;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "common-header-lib",
3
- "version": "0.20.6",
3
+ "version": "0.20.8",
4
4
  "peerDependencies": {
5
5
  "@angular/cdk": "^20.2.0",
6
6
  "@angular/common": "^20.3.0",
@@ -104,6 +104,13 @@
104
104
  "PasswordViewSuccessMsg": "تم نسخ كلمة المرور إلى الحافظة",
105
105
  "SSHPasswordViewSuccessMsg": "تم إنشاء ملف كلمة المرور وتنزيله",
106
106
  "SSHPasswordViewErrorMsg": "فشل في إنشاء وتنزيل ملف كلمة المرور",
107
- "SessionTokenError": "خطأ في رمز الجلسة!"
107
+ "SessionTokenError": "خطأ في رمز الجلسة!",
108
+ "New": "جديد",
109
+ "EventRequests": "طلبات الحدث",
110
+ "NoPendingEventRequests": "لا توجد طلبات أحداث معلقة بانتظار موافقتك.",
111
+ "NotificationRedirectHint": "ملاحظة: اختر حدثًا لمراجعة طلباته المعلقة في Identity Hub (يُفتح في علامة تبويب جديدة).",
112
+ "Ok": "موافق",
113
+ "Acknowledge": "إقرار",
114
+ "NoMatchingMails": "لا توجد رسائل تطابق عوامل التصفية المطبقة."
108
115
  }
109
116
  }
@@ -104,6 +104,13 @@
104
104
  "PasswordViewSuccessMsg": "Passwort in die Zwischenablage kopiert",
105
105
  "SSHPasswordViewSuccessMsg": "Passwortdatei wurde erstellt und heruntergeladen",
106
106
  "SSHPasswordViewErrorMsg": "Fehler beim Erstellen und Herunterladen der Passwortdatei",
107
- "SessionTokenError": "Sitzungstoken-Fehler!"
107
+ "SessionTokenError": "Sitzungstoken-Fehler!",
108
+ "New": "Neu",
109
+ "EventRequests": "Ereignisanfragen",
110
+ "NoPendingEventRequests": "Es gibt keine ausstehenden Ereignisanfragen, die auf Ihre Genehmigung warten.",
111
+ "NotificationRedirectHint": "Hinweis: Wählen Sie ein Ereignis aus, um die ausstehenden Anfragen im Identity Hub zu überprüfen (öffnet in einem neuen Tab).",
112
+ "Ok": "OK",
113
+ "Acknowledge": "Bestätigen",
114
+ "NoMatchingMails": "Keine E-Mails entsprechen den angewendeten Filtern."
108
115
  }
109
116
  }
@@ -104,6 +104,13 @@
104
104
  "PasswordViewSuccessMsg": "Password Copied to Clipboard",
105
105
  "SSHPasswordViewSuccessMsg": "Password file generated and downloaded.",
106
106
  "SSHPasswordViewErrorMsg": "Failed to generate and download the password file.",
107
- "SessionTokenError": "Session Token Error!"
107
+ "SessionTokenError": "Session Token Error!",
108
+ "New": "New",
109
+ "EventRequests": "Event requests",
110
+ "NoPendingEventRequests": "There are no pending event requests awaiting your approval.",
111
+ "NotificationRedirectHint": "Note : Select an event to review its pending requests in Identity Hub (opens in a new tab).",
112
+ "Ok": "OK",
113
+ "Acknowledge": "Acknowledge",
114
+ "NoMatchingMails": "No mails match the applied filters."
108
115
  }
109
116
  }
@@ -104,6 +104,13 @@
104
104
  "PasswordViewSuccessMsg": "Contraseña copiada al portapapeles",
105
105
  "SSHPasswordViewSuccessMsg": "El archivo de contraseña se generó y descargó",
106
106
  "SSHPasswordViewErrorMsg": "Error al generar y descargar el archivo de contraseña",
107
- "SessionTokenError": "¡Error de token de sesión!"
107
+ "SessionTokenError": "¡Error de token de sesión!",
108
+ "New": "Nuevo",
109
+ "EventRequests": "Solicitudes de evento",
110
+ "NoPendingEventRequests": "No hay solicitudes de eventos pendientes de su aprobación.",
111
+ "NotificationRedirectHint": "Nota: Seleccione un evento para revisar sus solicitudes pendientes en Identity Hub (se abre en una pestaña nueva).",
112
+ "Ok": "Aceptar",
113
+ "Acknowledge": "Confirmar",
114
+ "NoMatchingMails": "Ningún correo coincide con los filtros aplicados."
108
115
  }
109
116
  }
@@ -104,6 +104,13 @@
104
104
  "PasswordViewSuccessMsg": "Mot de passe copié dans le presse-papiers",
105
105
  "SSHPasswordViewSuccessMsg": "Le fichier de mot de passe a été généré et téléchargé",
106
106
  "SSHPasswordViewErrorMsg": "Échec de la génération et du téléchargement du fichier de mot de passe",
107
- "SessionTokenError": "Erreur de jeton de session !"
107
+ "SessionTokenError": "Erreur de jeton de session !",
108
+ "New": "Nouveau",
109
+ "EventRequests": "Demandes d'événement",
110
+ "NoPendingEventRequests": "Aucune demande d'événement en attente de votre approbation.",
111
+ "NotificationRedirectHint": "Remarque : Sélectionnez un événement pour examiner ses demandes en attente dans Identity Hub (s'ouvre dans un nouvel onglet).",
112
+ "Ok": "OK",
113
+ "Acknowledge": "Confirmer",
114
+ "NoMatchingMails": "Aucun e-mail ne correspond aux filtres appliqués."
108
115
  }
109
116
  }
@@ -104,6 +104,13 @@
104
104
  "PasswordViewSuccessMsg": "पासवर्ड क्लिपबोर्ड पर कॉपी किया गया।",
105
105
  "SSHPasswordViewSuccessMsg": "पासवर्ड फ़ाइल बनाई गई और डाउनलोड की गई।",
106
106
  "SSHPasswordViewErrorMsg": "पासवर्ड फ़ाइल बनाने और डाउनलोड करने में विफल।",
107
- "SessionTokenError": "सत्र टोकन त्रुटि!"
107
+ "SessionTokenError": "सत्र टोकन त्रुटि!",
108
+ "New": "नया",
109
+ "EventRequests": "इवेंट अनुरोध",
110
+ "NoPendingEventRequests": "आपकी स्वीकृति हेतु कोई लंबित इवेंट अनुरोध नहीं है।",
111
+ "NotificationRedirectHint": "नोट: Identity Hub में लंबित अनुरोध देखने के लिए किसी इवेंट का चयन करें (एक नए टैब में खुलेगा)।",
112
+ "Ok": "ठीक है",
113
+ "Acknowledge": "स्वीकार करें",
114
+ "NoMatchingMails": "लागू फ़िल्टर से मेल खाने वाला कोई मेल नहीं है।"
108
115
  }
109
116
  }
@@ -104,6 +104,13 @@
104
104
  "PasswordViewSuccessMsg": "パスワードがクリップボードにコピーされました",
105
105
  "SSHPasswordViewSuccessMsg": "パスワードファイルが生成され、ダウンロードされました",
106
106
  "SSHPasswordViewErrorMsg": "パスワードファイルの生成とダウンロードに失敗しました",
107
- "SessionTokenError": "セッショントークンエラー!"
107
+ "SessionTokenError": "セッショントークンエラー!",
108
+ "New": "新規",
109
+ "EventRequests": "イベントリクエスト",
110
+ "NoPendingEventRequests": "承認待ちの保留中のイベントリクエストはありません。",
111
+ "NotificationRedirectHint": "注: イベントを選択すると、Identity Hub で保留中のリクエストを確認できます(新しいタブで開きます)。",
112
+ "Ok": "OK",
113
+ "Acknowledge": "確認",
114
+ "NoMatchingMails": "適用されたフィルターに一致するメールはありません。"
108
115
  }
109
116
  }
@@ -104,6 +104,13 @@
104
104
  "PasswordViewSuccessMsg": "비밀번호가 클립보드에 복사되었습니다",
105
105
  "SSHPasswordViewSuccessMsg": "비밀번호 파일이 생성되고 다운로드되었습니다",
106
106
  "SSHPasswordViewErrorMsg": "비밀번호 파일 생성 및 다운로드에 실패했습니다",
107
- "SessionTokenError": "세션 토큰 오류!"
107
+ "SessionTokenError": "세션 토큰 오류!",
108
+ "New": "신규",
109
+ "EventRequests": "이벤트 요청",
110
+ "NoPendingEventRequests": "승인 대기 중인 이벤트 요청이 없습니다.",
111
+ "NotificationRedirectHint": "참고: 이벤트를 선택하면 Identity Hub에서 보류 중인 요청을 검토할 수 있습니다(새 탭에서 열림).",
112
+ "Ok": "확인",
113
+ "Acknowledge": "확인",
114
+ "NoMatchingMails": "적용된 필터와 일치하는 메일이 없습니다."
108
115
  }
109
116
  }