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/README.md +19 -1
- package/assets/i18n/ar.json +8 -1
- package/assets/i18n/de.json +8 -1
- package/assets/i18n/en.json +8 -1
- package/assets/i18n/es.json +8 -1
- package/assets/i18n/fr.json +8 -1
- package/assets/i18n/hi.json +8 -1
- package/assets/i18n/ja.json +8 -1
- package/assets/i18n/ko.json +8 -1
- package/fesm2022/common-header-lib.mjs +171 -47
- package/fesm2022/common-header-lib.mjs.map +1 -1
- package/index.d.ts +16 -3
- package/package.json +1 -1
- package/src/assets/i18n/ar.json +8 -1
- package/src/assets/i18n/de.json +8 -1
- package/src/assets/i18n/en.json +8 -1
- package/src/assets/i18n/es.json +8 -1
- package/src/assets/i18n/fr.json +8 -1
- package/src/assets/i18n/hi.json +8 -1
- package/src/assets/i18n/ja.json +8 -1
- package/src/assets/i18n/ko.json +8 -1
package/README.md
CHANGED
|
@@ -2,12 +2,30 @@
|
|
|
2
2
|
|
|
3
3
|
Angular 20 shared header library for the Arcon platform. Provides the application header bar, LOB selector, user sidebar, notification panel, mailbox panel, waffle (9-dots) app panel, general configuration drawer, and all supporting services.
|
|
4
4
|
|
|
5
|
-
Current published version: **0.20.
|
|
5
|
+
Current published version: **0.20.8**
|
|
6
6
|
|
|
7
7
|
---
|
|
8
8
|
|
|
9
9
|
## What's New
|
|
10
10
|
|
|
11
|
+
### 0.20.8
|
|
12
|
+
|
|
13
|
+
- **`showLobChangeConfirmation` input** (default `false`) — gates whether picking a new LOB from the dropdown shows a confirmation dialog. Previously this was always shown; now it's opt-in via `[showLobChangeConfirmation]="true"`. Default behavior commits the LOB change immediately on selection. `setCustomLobId()` is unaffected — it never showed a dialog regardless of this input.
|
|
14
|
+
- **Badges clickable** — the mailbox and notification unread-count badges now open the same panel as their icon buttons.
|
|
15
|
+
- **Notification redirect (CI-24494)** — each notification row opens that event's pending approvals in Identity Hub in a new tab (`{baseURL}/xaccess/api/WorkspaceGeneric/workflownotify?eventName=…`). Rows are keyboard-operable (Enter/Space) with a translated `aria-label`. Only events with `PendingCount > 0` are listed; a hint line sits above the list and an empty-state message shows when nothing is pending.
|
|
16
|
+
- **Vaulted View Password (CI-24670)** — if the `OpenServicePwd` response carries `isVaulted: true`, the dialog shows the backend's message (from `sshKeyPassPhrase`), an "Acknowledge" header and a single OK button instead of the password, Copy and Vault controls. A missing/false `isVaulted` keeps the previous behavior.
|
|
17
|
+
- **Mailbox Asset/DI details (CI-26604)** — the Subject column splits at `(UTC)` into a bold title line and a secondary asset/DI line. The table also gets a sticky header, resizable columns, and a server-side Subject "contains" filter (sent as `filters: [{ field: 'subject', operator: 'contains', value }]` in the `MailBox` request body, only when a value is entered).
|
|
18
|
+
- **Mail UI accent** — the mail table and its filter popover use `#0073EA` (resize handle hover, filter states, Apply button, focus borders, 3px read-row bar) via local SCSS variables. `--primary-color` is not changed, so the rest of the header and host apps are unaffected. The filter popover is appended to `<body>` by PrimeNG and is scoped with its own `lib-ui mail-filter-overlay` class (PrimeNG `pt` API), so its styles never reach host-app tables.
|
|
19
|
+
- **Fixes** — a failed `MailBox` request now shows the "something went wrong" page instead of a misleading "No mails match the applied filters"; the filter icon no longer gets clipped at the column edge; View Password button is re-checked in code so removing `disabled` in dev tools can't open it; eye icon no longer overlaps the password or Copy button; certificate Download button always visible; 9-dots focus race fixed.
|
|
20
|
+
- **i18n** — 7 new `Generic_lib` keys (`New`, `EventRequests`, `NoPendingEventRequests`, `NotificationRedirectHint`, `Ok`, `Acknowledge`, `NoMatchingMails`) in all 8 languages. de/es/fr/hi/ja/ko text should get native-speaker review.
|
|
21
|
+
|
|
22
|
+
### 0.20.7
|
|
23
|
+
|
|
24
|
+
- **LOB dropdown truncation**: long LOB names now truncate with an ellipsis instead of overflowing the 140px trigger untruncated. Also fixes a vertical-centering regression the ellipsis fix introduced (PrimeNG's own un-overridden `.p-select-label` padding was fighting the new `line-height`-based centering) and adds `margin-left: 8px` for spacing.
|
|
25
|
+
- **Mail pagination dropdown regression fixed**: the rows-per-page dropdown inside the mailbox's paginator was falling back to raw, unstyled PrimeNG defaults instead of this library's theme. Root cause: `UserMailboxComponent`'s `.mail-content` wrapper never received the `lib-ui` marker class added by the 0.20.4 dialog-scoping pass — a gap in that original commit, not a new leak.
|
|
26
|
+
- **Comprehensive Jasmine/Karma test suite** added across the library and the test app (previously the Karma harness didn't execute any tests at all — a test-infrastructure-only fix, no production code affected). Found and fixed 4 real defects along the way: `LandingpgConfigComponent.ngOnInit()` ordering, a missing null-guard in `ViewPasswordPopupComponent` that could throw if dialog data was malformed, a leaked polling interval in `EventService.checkMFA()`, and a no-op call in `DateDiffPipe`. Removed one confirmed-dead method (`LoggedInUserInfo.setPrivateKeyFromBigInts`).
|
|
27
|
+
- **`library-integration-guide.md`**: documented a known issue where the Workspace API's `/workflow/api/Workflow/Workflow/` endpoint returns 503, with an interceptor workaround to prevent it from being misclassified as a session/auth error.
|
|
28
|
+
|
|
11
29
|
### 0.20.6
|
|
12
30
|
|
|
13
31
|
- **9-dots app panel keyboard navigation**: full WAI-ARIA APG roving-focus grid — Arrow keys + Home/End move between app tiles, `aria-haspopup="dialog"` on the trigger. Tab past the last tile continues the user's forward tab traversal to the next page element instead of looping back onto the trigger; Shift+Tab out the front still returns to the trigger.
|
package/assets/i18n/ar.json
CHANGED
|
@@ -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
|
}
|
package/assets/i18n/de.json
CHANGED
|
@@ -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
|
}
|
package/assets/i18n/en.json
CHANGED
|
@@ -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
|
}
|
package/assets/i18n/es.json
CHANGED
|
@@ -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
|
}
|
package/assets/i18n/fr.json
CHANGED
|
@@ -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
|
}
|
package/assets/i18n/hi.json
CHANGED
|
@@ -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
|
}
|
package/assets/i18n/ja.json
CHANGED
|
@@ -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
|
}
|
package/assets/i18n/ko.json
CHANGED
|
@@ -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
|
}
|