feat: Client & CKYC UI improvements — filters, KYC management, image crop+merge

- Clients list: CKYC icon, CKYC Number column, status/legal form/CKYC filters
- CKYC: SFTP upload logs, date formatting, modal z-index fix, non-dismissible dialogs
- KYC Management: new standalone module with alert dashboard, notification scheduler, audit inventory, account status
- Image cropper: ngx-image-cropper integration for front+back document merge into single PNG
- Sidebar: KYC Management menu entry after CKYC

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
This commit is contained in:
Aditya
2026-04-16 13:51:11 +05:30
co-authored by Claude Opus 4.6
parent 79e455c4ed
commit d72e969dc3
210 changed files with 14273 additions and 1139 deletions
@@ -562,6 +562,7 @@ $slr-b: #bae6fd;
.ft-demand { border-color: $demand-b; background: $demand-bg; .formula-term-label, .formula-term-val { color: $demand; } }
.ft-time { border-color: $time-b; background: $time-bg; .formula-term-label, .formula-term-val { color: $time; } }
.ft-asset { border-color: $asset-b; background: $asset-bg; .formula-term-label, .formula-term-val { color: $asset; } }
.ft-ndtl {
border-color: #a78bfa;
background: linear-gradient(135deg, #f5f3ff, #f0fdfa);
@@ -201,20 +201,45 @@
</div>
</div>
<!-- Decay & TSWM -->
<div class="dash-card">
<!-- Credit Information Companies — DQR -->
<div class="dash-card cic-card">
<div class="card-top">
<div class="card-icon-wrap purple"><fa-icon icon="chart-bar"></fa-icon></div>
<div class="card-label">Portfolio Quality</div>
<div class="card-icon-wrap purple"><fa-icon icon="file-alt"></fa-icon></div>
<div class="card-label">Credit Information Companies</div>
</div>
<div class="cic-subtitle">Data Quality Report (DQR) — as per RBI Guidelines</div>
<div class="quality-grid">
<div class="quality-item">
<div class="quality-label">Decay Analysis</div>
<div class="quality-badge moderate">Moderate</div>
<img src="assets/images/cic-cibil.svg" alt="CIBIL" class="cic-logo" />
<div class="quality-label">
<span class="cic-name">TransUnion CIBIL</span>
<span class="cic-full">Credit Information Bureau India Limited</span>
</div>
<div class="dqr-percent good">98.2%</div>
</div>
<div class="quality-item">
<div class="quality-label">TSWM</div>
<div class="quality-badge active">Active</div>
<img src="assets/images/cic-experian.svg" alt="Experian" class="cic-logo" />
<div class="quality-label">
<span class="cic-name">Experian</span>
<span class="cic-full">Experian Credit Information Company of India</span>
</div>
<div class="dqr-percent good">97.5%</div>
</div>
<div class="quality-item">
<img src="assets/images/cic-equifax.svg" alt="Equifax" class="cic-logo" />
<div class="quality-label">
<span class="cic-name">Equifax</span>
<span class="cic-full">Equifax Credit Information Services Pvt. Ltd.</span>
</div>
<div class="dqr-percent moderate">94.8%</div>
</div>
<div class="quality-item">
<img src="assets/images/cic-crif.svg" alt="CRIF High Mark" class="cic-logo" />
<div class="quality-label">
<span class="cic-name">CRIF High Mark</span>
<span class="cic-full">CRIF High Mark Credit Information Services</span>
</div>
<div class="dqr-percent good">96.1%</div>
</div>
</div>
</div>
+104 -13
View File
@@ -45,6 +45,7 @@ $purple: #7c3aed;
.search-row {
width: 100%;
margin: 0;
mat-card-content {
width: 100%;
}
@@ -63,7 +64,7 @@ $purple: #7c3aed;
display: flex;
align-items: center;
gap: 8px;
margin: 6px 0 6px;
margin: 6px 0;
padding: 5px 12px;
border-radius: 6px;
font-size: 14px;
@@ -78,18 +79,22 @@ $purple: #7c3aed;
background: #e3f2fd;
color: #0d47a1;
}
&.financial {
background: #e8f5e9;
color: #1b5e20;
}
&.deposits {
background: #f3e5f5;
color: #6a1b9a;
}
&.risk {
background: #fce4ec;
color: #b71c1c;
}
&.alerts {
background: #fff3e0;
color: #e65100;
@@ -105,12 +110,15 @@ $purple: #7c3aed;
.four-col {
grid-template-columns: repeat(4, 1fr);
}
.five-col {
grid-template-columns: repeat(5, 1fr);
}
.three-col {
grid-template-columns: repeat(3, 1fr);
}
.two-col {
grid-template-columns: repeat(2, 1fr);
}
@@ -153,15 +161,19 @@ $purple: #7c3aed;
&.blue {
background: $blue;
}
&.green {
background: $green;
}
&.orange {
background: $orange;
}
&.red {
background: $red;
}
&.purple {
background: $purple;
}
@@ -194,10 +206,12 @@ $purple: #7c3aed;
background: #ecfdf5;
color: #065f46;
}
&.warning {
background: #fffbeb;
color: #92400e;
}
&.info {
background: #eff6ff;
color: #1e40af;
@@ -268,6 +282,7 @@ $purple: #7c3aed;
font-size: 12px;
color: #94a3b8;
}
.metric-value {
font-size: 14px;
font-weight: 700;
@@ -339,6 +354,7 @@ $purple: #7c3aed;
background: #ecfdf5;
color: #065f46;
}
&.exceed {
background: #fef2f2;
color: #991b1b;
@@ -365,15 +381,19 @@ $purple: #7c3aed;
&.blue {
background: $blue;
}
&.green {
background: $green;
}
&.purple {
background: $purple;
}
&.orange {
background: $orange;
}
&.red {
background: $red;
}
@@ -441,9 +461,11 @@ $purple: #7c3aed;
.compact-icon {
font-size: 14px;
&.purple-text {
color: $purple;
}
&.orange-text {
color: $orange;
}
@@ -469,13 +491,16 @@ $purple: #7c3aed;
color: #64748b;
margin-bottom: 2px;
}
.da-value {
font-size: 20px;
font-weight: 800;
margin-bottom: 6px;
&.deposit {
color: $blue;
}
&.advance {
color: $purple;
}
@@ -497,6 +522,7 @@ $purple: #7c3aed;
&.deposit-fill {
background: linear-gradient(90deg, $blue, #42a5f5);
}
&.advance-fill {
background: linear-gradient(90deg, $purple, #a78bfa);
}
@@ -532,9 +558,11 @@ $purple: #7c3aed;
.psl-bar {
height: 100%;
border-radius: 5px;
&.weaker {
background: $orange;
}
&.msme {
background: $green;
}
@@ -548,38 +576,94 @@ $purple: #7c3aed;
text-align: right;
}
/* ─── Portfolio Quality ─── */
/* ─── Credit Information Companies — DQR ─── */
.cic-card {
.card-top {
margin-bottom: 0;
}
}
.cic-subtitle {
font-size: 11px;
font-weight: 600;
color: #94a3b8;
letter-spacing: 0.3px;
margin: 2px 0 10px;
}
.quality-grid {
display: flex;
flex-direction: column;
gap: 14px;
margin-top: 8px;
gap: 0;
margin-top: 0;
}
.quality-item {
display: flex;
justify-content: space-between;
align-items: center;
gap: 10px;
padding: 10px 0;
border-bottom: 1px solid #f1f5f9;
.quality-label {
flex: 1;
min-width: 0;
}
&:last-child {
border-bottom: none;
padding-bottom: 0;
}
}
.cic-logo {
width: 34px;
height: 34px;
border-radius: 7px;
flex-shrink: 0;
object-fit: contain;
}
.quality-label {
font-size: 13px;
color: #475569;
display: flex;
flex-direction: column;
gap: 1px;
}
.quality-badge {
font-size: 12px;
font-weight: 700;
.cic-name {
font-size: 13px;
font-weight: 600;
color: #1e293b;
}
.cic-full {
font-size: 10px;
color: #94a3b8;
line-height: 1.3;
}
.dqr-percent {
font-size: 14px;
font-weight: 800;
padding: 4px 12px;
border-radius: 20px;
flex-shrink: 0;
font-family: 'JetBrains Mono', 'Fira Code', monospace;
letter-spacing: 0.3px;
&.good {
background: #ecfdf5;
color: #065f46;
}
&.moderate {
background: #fffbeb;
color: #92400e;
}
&.active {
background: #ecfdf5;
color: #065f46;
&.low {
background: #fef2f2;
color: #991b1b;
}
}
@@ -629,10 +713,12 @@ $purple: #7c3aed;
&.success {
color: #065f46;
}
&.warning {
color: #b45309;
}
}
.npa-note {
font-size: 11px;
color: #94a3b8;
@@ -664,9 +750,11 @@ $purple: #7c3aed;
&.green {
background: $green;
}
&.yellow {
background: $orange;
}
&.red {
background: $red;
}
@@ -715,9 +803,11 @@ $purple: #7c3aed;
.four-col {
grid-template-columns: repeat(2, 1fr);
}
.five-col {
grid-template-columns: repeat(3, 1fr);
}
.three-col {
grid-template-columns: repeat(2, 1fr);
}
@@ -733,6 +823,7 @@ $purple: #7c3aed;
.card-big-value {
font-size: 26px;
}
.mini-value {
font-size: 18px;
}
+21 -21
View File
@@ -31,7 +31,7 @@ $accent: #0ea5e9;
&::after {
content: '';
position: absolute;
top: 0; left: 0; right: 0; bottom: 0;
inset: 0;
background: repeating-linear-gradient(108deg, transparent 0, transparent 80px, rgb(255 255 255 / 2.5%) 80px, rgb(255 255 255 / 2.5%) 160px);
pointer-events: none;
}
@@ -47,7 +47,7 @@ $accent: #0ea5e9;
margin: 0;
font-size: 20px;
font-weight: 400;
color: rgba(255, 255, 255, 0.9);
color: rgb(255 255 255 / 90%);
strong {
font-weight: 700;
@@ -59,7 +59,7 @@ $accent: #0ea5e9;
.welcome-sub {
margin: 4px 0 0;
font-size: 12px;
color: rgba(255, 255, 255, 0.5);
color: rgb(255 255 255 / 50%);
}
.welcome-right {
@@ -72,21 +72,21 @@ $accent: #0ea5e9;
display: flex;
align-items: center;
gap: 8px;
background: rgba(255, 255, 255, 0.1);
border: 1px solid rgba(255, 255, 255, 0.15);
background: rgb(255 255 255 / 10%);
border: 1px solid rgb(255 255 255 / 15%);
border-radius: 6px;
padding: 6px 14px;
min-width: 280px;
transition: background 0.15s;
&:focus-within {
background: rgba(255, 255, 255, 0.18);
border-color: rgba(255, 255, 255, 0.3);
background: rgb(255 255 255 / 18%);
border-color: rgb(255 255 255 / 30%);
}
}
.search-icon {
color: rgba(255, 255, 255, 0.5);
color: rgb(255 255 255 / 50%);
font-size: 13px;
}
@@ -99,7 +99,7 @@ $accent: #0ea5e9;
width: 100%;
&::placeholder {
color: rgba(255, 255, 255, 0.45);
color: rgb(255 255 255 / 45%);
}
}
@@ -115,16 +115,16 @@ $accent: #0ea5e9;
display: flex;
align-items: center;
gap: 10px;
padding: 14px 14px;
padding: 14px;
background: #fff;
border: 1px solid rgba(0, 0, 0, 0.06);
border: 1px solid rgb(0 0 0 / 6%);
border-radius: 8px;
text-decoration: none;
transition: box-shadow 0.15s, transform 0.15s;
cursor: pointer;
&:hover {
box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
box-shadow: 0 4px 16px rgb(0 0 0 / 8%);
transform: translateY(-1px);
}
}
@@ -175,7 +175,7 @@ $accent: #0ea5e9;
.info-card {
background: #fff;
border: 1px solid rgba(0, 0, 0, 0.06);
border: 1px solid rgb(0 0 0 / 6%);
border-radius: 8px;
overflow: hidden;
}
@@ -186,7 +186,7 @@ $accent: #0ea5e9;
gap: 8px;
padding: 10px 16px;
background: #fafafa;
border-bottom: 1px solid rgba(0, 0, 0, 0.04);
border-bottom: 1px solid rgb(0 0 0 / 4%);
font-size: 13px;
font-weight: 600;
color: #333;
@@ -208,7 +208,7 @@ $accent: #0ea5e9;
display: flex;
flex-direction: column;
padding: 8px 16px;
border-bottom: 1px solid rgba(0, 0, 0, 0.03);
border-bottom: 1px solid rgb(0 0 0 / 3%);
&:nth-last-child(-n+2) {
border-bottom: none;
@@ -239,7 +239,7 @@ $accent: #0ea5e9;
text-decoration: none;
padding: 7px 16px;
transition: background 0.1s;
border-bottom: 1px solid rgba(0, 0, 0, 0.03);
border-bottom: 1px solid rgb(0 0 0 / 3%);
&:hover {
background: #f0f9ff;
@@ -256,7 +256,7 @@ $accent: #0ea5e9;
:host-context(.dark-theme) {
.qa-card, .info-card {
background: #1e1e2e;
border-color: rgba(255, 255, 255, 0.06);
border-color: rgb(255 255 255 / 6%);
}
.qa-title { color: #e0e0e0; }
@@ -267,7 +267,7 @@ $accent: #0ea5e9;
.quick-links a {
color: #7dd3fc;
&:hover { background: rgba(255, 255, 255, 0.04); }
&:hover { background: rgb(255 255 255 / 4%); }
}
.search-input {
@@ -276,13 +276,13 @@ $accent: #0ea5e9;
}
/* ── Responsive ── */
@media (max-width: 1024px) {
@media (width <= 1024px) {
.quick-actions {
grid-template-columns: repeat(3, 1fr);
}
}
@media (max-width: 768px) {
@media (width <= 768px) {
.welcome-banner {
flex-direction: column;
align-items: stretch;
@@ -302,7 +302,7 @@ $accent: #0ea5e9;
}
}
@media (max-width: 480px) {
@media (width <= 480px) {
.quick-actions {
grid-template-columns: 1fr;
}