@djb25/digit-ui-module-ekyc 1.0.66 → 1.0.68

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.
@@ -4,12 +4,15 @@ import { useHistory, Link, useParams, useLocation, useRouteMatch, Switch, Route,
4
4
  import { PersonIcon, EmployeeModuleCard, FaChartBar, MdDownloadIcon, Loader, InboxLinks, Card, Table, HomeIcon, TextInput, Header, SubmitBar, DetailsCard, FilterForm, FilterFormField, Dropdown, FaDatabase, FaFileAlt, Label, CustomTooltip, CardLabelError, SearchField, RadioButtons, InboxComposer, CardSubHeader, StatusTable, Row, GenericFileIcon, CheckBox, ActionBar, Menu, LinkButton, Toast, EditIcon, UploadFile, FormComposer, VerticalTimeline, Modal, Close, CollapsibleCardPage, DatePicker, AppContainer, ModuleHeader, ArrowLeft, PrivateRoute, LayoutWrapper, CardHeader, CardText, CitizenHomeCard, DocumentIcon } from '@djb25/digit-ui-react-components';
5
5
  import * as Chartjs from 'chart.js/auto';
6
6
  import Chartjs__default, { Chart } from 'chart.js/auto';
7
- import { FaCheckCircle, FaBuilding, FaUser, FaClock, FaChartLine, FaUsers } from 'react-icons/fa';
7
+ import { FaBuilding, FaUser, FaClock, FaChartLine, FaUsers, FaCheckCircle } from 'react-icons/fa';
8
8
 
9
9
  const EKYCCard = () => {
10
10
  var _Digit$SessionStorage, _Digit$SessionStorage2;
11
11
  const _useTranslation = useTranslation(),
12
12
  t = _useTranslation.t;
13
+ if (!Digit.Utils.ekycAccess()) {
14
+ return null;
15
+ }
13
16
  const tenantId = Digit.ULBService.getCurrentTenantId();
14
17
  const citizenInfo = (_Digit$SessionStorage = Digit.SessionStorage.get("User")) === null || _Digit$SessionStorage === void 0 ? void 0 : (_Digit$SessionStorage2 = _Digit$SessionStorage.info) === null || _Digit$SessionStorage2 === void 0 ? void 0 : _Digit$SessionStorage2.roles;
15
18
  const roles = Array.isArray(citizenInfo) ? citizenInfo.map(ele => ele.code || ele) : [];
@@ -471,17 +474,13 @@ const StatusCards = _ref => {
471
474
  label: t("EKYC_TOTAL"),
472
475
  value: (countData === null || countData === void 0 ? void 0 : countData.total) || 0
473
476
  }, {
474
- color: "#4C8BF5",
475
- label: t("EKYC_ASSIGNED"),
476
- value: (countData === null || countData === void 0 ? void 0 : countData.totalAssignments) || 0
477
+ color: "#0c2a52",
478
+ label: t("EKYC_PENDING"),
479
+ value: (countData === null || countData === void 0 ? void 0 : countData.pending) || 0
477
480
  }, {
478
481
  color: "#2E8B57",
479
482
  label: t("EKYC_COMPLETED"),
480
483
  value: (countData === null || countData === void 0 ? void 0 : countData.completed) || 0
481
- }, {
482
- color: "#0c2a52",
483
- label: t("EKYC_PENDING"),
484
- value: (countData === null || countData === void 0 ? void 0 : countData.pending) || 0
485
484
  }, {
486
485
  color: "#8B5CF6",
487
486
  label: t("EKYC_SUBMITTED_BY_VENDORS"),
@@ -635,8 +634,8 @@ const Dashboard = () => {
635
634
  const countData = useMemo(() => {
636
635
  return {
637
636
  total: (progressData === null || progressData === void 0 ? void 0 : progressData.totalKnosInSystem) || 0,
638
- completed: (progressData === null || progressData === void 0 ? void 0 : progressData.submittedKnos) + (progressData === null || progressData === void 0 ? void 0 : progressData.selfEkycCount) || 0,
639
- pending: (progressData === null || progressData === void 0 ? void 0 : progressData.pendingKnos) || 0,
637
+ completed: (progressData === null || progressData === void 0 ? void 0 : progressData.completedKnosInZones) || 0,
638
+ pending: (progressData === null || progressData === void 0 ? void 0 : progressData.pendingKnosInZones) || 0,
640
639
  rejected: (progressData === null || progressData === void 0 ? void 0 : progressData.rejectedKnos) || 0,
641
640
  totalAssignments: (progressData === null || progressData === void 0 ? void 0 : progressData.totalAssignments) || 0,
642
641
  submittedCount: (progressData === null || progressData === void 0 ? void 0 : progressData.submittedKnos) || 0,
@@ -1216,7 +1215,6 @@ const downloadSupervisorPDF = function (_ref2) {
1216
1215
  mobileNo: row.status || "N/A",
1217
1216
  zoneName: String(row.total || 0),
1218
1217
  ekycStatus: (row.completed || 0) + " / " + (row.pending || 0),
1219
- submittedAt: 1717171717171,
1220
1218
  progress: row.progress || "0%"
1221
1219
  };
1222
1220
  });
@@ -1314,7 +1312,7 @@ const downloadVendorPDF = function (_ref3) {
1314
1312
  title: t("TOTAL_ASSIGNED") || "Total Assigned",
1315
1313
  value: (dashboardInfo === null || dashboardInfo === void 0 ? void 0 : dashboardInfo.total) || 0
1316
1314
  }, {
1317
- title: t("COMPLETED") || "Completed",
1315
+ title: t("TOTAL_EKYC_APPLICATIONS") || "Completed",
1318
1316
  value: (dashboardInfo === null || dashboardInfo === void 0 ? void 0 : dashboardInfo.completed) || 0
1319
1317
  }, {
1320
1318
  title: t("PENDING") || "Pending",
@@ -1331,7 +1329,6 @@ const downloadVendorPDF = function (_ref3) {
1331
1329
  mobileNo: row.status || "N/A",
1332
1330
  zoneName: String(row.total || 0),
1333
1331
  ekycStatus: (row.completed || 0) + " / " + (row.pending || 0),
1334
- submittedAt: 1717171717171,
1335
1332
  progress: row.progress || "0%"
1336
1333
  }));
1337
1334
  const originalToLocaleDateString = Date.prototype.toLocaleDateString;
@@ -1350,7 +1347,6 @@ const downloadVendorPDF = function (_ref3) {
1350
1347
  if (key === "CONSUMER") return t("MOBILE_NUMBER") || "Mobile Number";
1351
1348
  if (key === "MOBILE") return t("STATUS") || "Status";
1352
1349
  if (key === "ZONE") return t("TOTAL_EKYC_APPLICATIONS") || "Total eKYC Applications";
1353
- if (key === "EKYC_STATUS") return t("COMPLETED_PENDING") || "Completed / Pending";
1354
1350
  if (key === "SUBMITTED_DATE") return t("OVERALL_PROGRESS") || "Overall Progress";
1355
1351
  if (key === "CONSUMER_LIST") return t("CONNECTED_SUPERVISORS") || "Connected Supervisors";
1356
1352
  return t(key);
@@ -1384,7 +1380,7 @@ const downloadVendorPDF = function (_ref3) {
1384
1380
  };
1385
1381
 
1386
1382
  const VendorDetailsCard = () => {
1387
- var _vendor$owner, _vendor$owner2, _vendorName$charAt;
1383
+ var _vendor$owner, _vendor$owner2, _vendorName$charAt, _progressData$supervi;
1388
1384
  const _useTranslation = useTranslation(),
1389
1385
  t = _useTranslation.t;
1390
1386
  const history = useHistory();
@@ -1408,14 +1404,6 @@ const VendorDetailsCard = () => {
1408
1404
  _Digit$Hooks$fsm$useV5 = _Digit$Hooks$fsm$useV4 === void 0 ? [] : _Digit$Hooks$fsm$useV4,
1409
1405
  vendor = _Digit$Hooks$fsm$useV5[0],
1410
1406
  isVendorSearchLoading = _Digit$Hooks$fsm$useV.isLoading;
1411
- const _Digit$Hooks$fsm$useS = Digit.Hooks.fsm.useSupervisorSearch(tenantId, {
1412
- status: "ACTIVE"
1413
- }, {
1414
- enabled: !!tenantId,
1415
- staleTime: 300000
1416
- }),
1417
- supervisorSearchResponse = _Digit$Hooks$fsm$useS.data,
1418
- isSupervisorSearchLoading = _Digit$Hooks$fsm$useS.isLoading;
1419
1407
  const targetVendorId = vendorId || (vendor === null || vendor === void 0 ? void 0 : vendor.id) || (vendor === null || vendor === void 0 ? void 0 : vendor.vendorId);
1420
1408
  const _Digit$Hooks$ekyc$use = Digit.Hooks.ekyc.useEkycAssignmentProgress(targetVendorId ? {
1421
1409
  vendorId: targetVendorId
@@ -1425,50 +1413,6 @@ const VendorDetailsCard = () => {
1425
1413
  }),
1426
1414
  isProgressLoading = _Digit$Hooks$ekyc$use.isLoading,
1427
1415
  progressData = _Digit$Hooks$ekyc$use.data;
1428
- const createDummySupervisors = vendor => {
1429
- const count = Number(vendor === null || vendor === void 0 ? void 0 : vendor.supervisors) || 5;
1430
- return Array.from({
1431
- length: count
1432
- }, (_, i) => ({
1433
- id: "SUP_V_" + ((vendor === null || vendor === void 0 ? void 0 : vendor.id) || "DEFAULT") + "_" + (i + 1),
1434
- name: "Supervisor " + (i + 1),
1435
- mobileNo: "99999120" + i,
1436
- status: "ACTIVE",
1437
- totalKnos: 0,
1438
- submittedKnos: 0,
1439
- pendingKnos: 0,
1440
- progressPercent: 0,
1441
- isDummy: true
1442
- }));
1443
- };
1444
- const vendorSupervisors = useMemo(() => {
1445
- const currentVendorId = (vendor === null || vendor === void 0 ? void 0 : vendor.id) || (vendor === null || vendor === void 0 ? void 0 : vendor.vendorId) || vendorId;
1446
- if (!Array.isArray(supervisorSearchResponse === null || supervisorSearchResponse === void 0 ? void 0 : supervisorSearchResponse.supervisors)) {
1447
- return vendor ? createDummySupervisors(vendor) : [];
1448
- }
1449
- const matchedSups = supervisorSearchResponse.supervisors.filter(s => s.vendorId === currentVendorId || s.vendorId === (vendor === null || vendor === void 0 ? void 0 : vendor.id) || s.vendorId === (vendor === null || vendor === void 0 ? void 0 : vendor.vendorId));
1450
- if (matchedSups.length === 0) {
1451
- return [];
1452
- }
1453
- return matchedSups.map(sup => {
1454
- var _progressData$supervi, _sup$owner2, _sup$owner3, _sup$owner4;
1455
- const report = progressData === null || progressData === void 0 ? void 0 : (_progressData$supervi = progressData.supervisorReport) === null || _progressData$supervi === void 0 ? void 0 : _progressData$supervi.find(r => {
1456
- var _sup$owner;
1457
- return r.supervisorId === sup.id || r.supervisorId === ((_sup$owner = sup.owner) === null || _sup$owner === void 0 ? void 0 : _sup$owner.uuid);
1458
- });
1459
- return {
1460
- id: sup.id || ((_sup$owner2 = sup.owner) === null || _sup$owner2 === void 0 ? void 0 : _sup$owner2.uuid),
1461
- name: sup.name || ((_sup$owner3 = sup.owner) === null || _sup$owner3 === void 0 ? void 0 : _sup$owner3.name) || "N/A",
1462
- mobileNo: ((_sup$owner4 = sup.owner) === null || _sup$owner4 === void 0 ? void 0 : _sup$owner4.mobileNumber) || sup.mobileNo || "N/A",
1463
- status: sup.status || "ACTIVE",
1464
- totalKnos: (report === null || report === void 0 ? void 0 : report.totalKnos) || 0,
1465
- submittedKnos: (report === null || report === void 0 ? void 0 : report.submittedKnos) || 0,
1466
- pendingKnos: (report === null || report === void 0 ? void 0 : report.pendingKnos) || 0,
1467
- progressPercent: (report === null || report === void 0 ? void 0 : report.progressPercent) || 0,
1468
- isDummy: false
1469
- };
1470
- });
1471
- }, [supervisorSearchResponse, vendor, progressData, vendorId]);
1472
1416
  const vendorName = (vendor === null || vendor === void 0 ? void 0 : vendor.name) || "N/A";
1473
1417
  const mobileNumber = (vendor === null || vendor === void 0 ? void 0 : vendor.mobileNumber) || (vendor === null || vendor === void 0 ? void 0 : (_vendor$owner = vendor.owner) === null || _vendor$owner === void 0 ? void 0 : _vendor$owner.mobileNumber) || "N/A";
1474
1418
  const email = (vendor === null || vendor === void 0 ? void 0 : (_vendor$owner2 = vendor.owner) === null || _vendor$owner2 === void 0 ? void 0 : _vendor$owner2.emailId) || "N/A";
@@ -1479,10 +1423,9 @@ const VendorDetailsCard = () => {
1479
1423
  const cards = useMemo(() => {
1480
1424
  const totalKnos = (progressData === null || progressData === void 0 ? void 0 : progressData.totalKnosInZones) || 0;
1481
1425
  const totalAssignments = (progressData === null || progressData === void 0 ? void 0 : progressData.totalKnos) || 0;
1482
- const completedKnos = (progressData === null || progressData === void 0 ? void 0 : progressData.submittedKnos) || 0;
1483
1426
  const selfEkycCount = (progressData === null || progressData === void 0 ? void 0 : progressData.selfEkycCountInZones) || 0;
1484
1427
  const submittedKnos = (progressData === null || progressData === void 0 ? void 0 : progressData.submittedKnosInZones) || 0;
1485
- const pendingKnos = (progressData === null || progressData === void 0 ? void 0 : progressData.pendingKnos) || 0;
1428
+ const pendingKnos = (progressData === null || progressData === void 0 ? void 0 : progressData.pendingKnosInZones) || 0;
1486
1429
  const progressPercent = (progressData === null || progressData === void 0 ? void 0 : progressData.overallProgressPercent) || 0;
1487
1430
  return [{
1488
1431
  label: "TOTAL_KNOS",
@@ -1496,12 +1439,6 @@ const VendorDetailsCard = () => {
1496
1439
  color: "#0B2559",
1497
1440
  type: "today",
1498
1441
  icon: /*#__PURE__*/React.createElement(FaFileAlt, null)
1499
- }, {
1500
- label: "EKYC_COMPLETED",
1501
- count: completedKnos,
1502
- color: "#10B981",
1503
- type: "month",
1504
- icon: /*#__PURE__*/React.createElement(FaCheckCircle, null)
1505
1442
  }, {
1506
1443
  label: "EKYC_SUBMITTED_BY_VENDORS",
1507
1444
  count: submittedKnos,
@@ -1527,7 +1464,7 @@ const VendorDetailsCard = () => {
1527
1464
  type: "progress",
1528
1465
  icon: /*#__PURE__*/React.createElement(FaChartLine, null)
1529
1466
  }];
1530
- }, [vendorSupervisors, vendor, progressData]);
1467
+ }, [vendor, progressData]);
1531
1468
  const _useState = useState(0),
1532
1469
  currentPage = _useState[0],
1533
1470
  setCurrentPage = _useState[1];
@@ -1752,19 +1689,17 @@ const VendorDetailsCard = () => {
1752
1689
  }
1753
1690
  return null;
1754
1691
  };
1755
- const paginatedSupervisors = useMemo(() => {
1756
- const start = currentPage * pageSize;
1757
- const end = start + pageSize;
1758
- return vendorSupervisors.slice(start, end);
1759
- }, [vendorSupervisors, currentPage, pageSize]);
1760
1692
  const supervisorColumns = useMemo(() => [{
1761
1693
  Header: t("SUPERVISOR_NAME") || "Supervisor Name",
1762
- accessor: row => (row === null || row === void 0 ? void 0 : row.name) || "N/A",
1694
+ accessor: row => {
1695
+ var _row$original;
1696
+ return (row === null || row === void 0 ? void 0 : (_row$original = row.original) === null || _row$original === void 0 ? void 0 : _row$original.supervisorName) || "N/A";
1697
+ },
1763
1698
  Cell: _ref => {
1764
- var _Digit$SessionStorage, _Digit$SessionStorage2, _Digit$SessionStorage3, _row$original;
1699
+ var _Digit$SessionStorage, _Digit$SessionStorage2, _Digit$SessionStorage3, _row$original2, _row$original3;
1765
1700
  let row = _ref.row;
1766
1701
  const userType = ((_Digit$SessionStorage = Digit.SessionStorage.get("User")) === null || _Digit$SessionStorage === void 0 ? void 0 : (_Digit$SessionStorage2 = _Digit$SessionStorage.info) === null || _Digit$SessionStorage2 === void 0 ? void 0 : (_Digit$SessionStorage3 = _Digit$SessionStorage2.type) === null || _Digit$SessionStorage3 === void 0 ? void 0 : _Digit$SessionStorage3.toLowerCase()) || "citizen";
1767
- const targetPath = "/digit-ui/" + userType + "/ekyc/supervisor-dashboard/" + row.original.id;
1702
+ const targetPath = "/digit-ui/" + userType + "/ekyc/supervisor-dashboard/" + (row === null || row === void 0 ? void 0 : (_row$original2 = row.original) === null || _row$original2 === void 0 ? void 0 : _row$original2.supervisorId);
1768
1703
  return /*#__PURE__*/React.createElement("a", {
1769
1704
  href: targetPath,
1770
1705
  style: {
@@ -1776,12 +1711,12 @@ const VendorDetailsCard = () => {
1776
1711
  e.preventDefault();
1777
1712
  history.push(targetPath);
1778
1713
  }
1779
- }, ((_row$original = row.original) === null || _row$original === void 0 ? void 0 : _row$original.name) || "N/A");
1714
+ }, (row === null || row === void 0 ? void 0 : (_row$original3 = row.original) === null || _row$original3 === void 0 ? void 0 : _row$original3.supervisorName) || "N/A");
1780
1715
  }
1781
1716
  }, {
1782
1717
  Header: t("MOBILE_NUMBER") || "Mobile Number",
1783
1718
  accessor: row => (row === null || row === void 0 ? void 0 : row.mobileNo) || "N/A",
1784
- id: "mobileNumber"
1719
+ id: "mobileNo"
1785
1720
  }, {
1786
1721
  Header: t("STATUS") || "Status",
1787
1722
  accessor: row => (row === null || row === void 0 ? void 0 : row.status) || "ACTIVE",
@@ -1806,7 +1741,7 @@ const VendorDetailsCard = () => {
1806
1741
  id: "pendingApplications"
1807
1742
  }, {
1808
1743
  Header: t("OVERALL_PROGRESS") || "Overall Progress",
1809
- accessor: row => (row !== null && row !== void 0 && row.progressPercent || (row === null || row === void 0 ? void 0 : row.progressPercent) === 0 ? row.progressPercent : row.progress) + "%",
1744
+ accessor: row => ((row === null || row === void 0 ? void 0 : row.progressPercent) || 0) + "%",
1810
1745
  id: "overallProgress"
1811
1746
  }], [t, history]);
1812
1747
  const _useState4 = useState(false),
@@ -1838,27 +1773,24 @@ const VendorDetailsCard = () => {
1838
1773
  const handleDownload = () => {
1839
1774
  setReportLoading(true);
1840
1775
  try {
1841
- const rowsWithStats = vendorSupervisors.map(s => ({
1842
- name: s.name,
1776
+ const rowsWithStats = progressData === null || progressData === void 0 ? void 0 : progressData.supervisorReport.map(s => ({
1777
+ name: s.supervisorName,
1843
1778
  mobileNo: s.mobileNo,
1844
- status: s.status,
1845
1779
  total: s.totalKnos,
1846
1780
  completed: s.submittedKnos,
1847
1781
  pending: s.pendingKnos,
1848
- progress: s.progressPercent + "%"
1782
+ progress: (s.progressPercent || 0) + "%"
1849
1783
  }));
1850
- const totalKnos = vendorSupervisors.reduce((acc, s) => acc + (s.totalKnos || 0), 0) || (vendor === null || vendor === void 0 ? void 0 : vendor.assignedConnections) || 0;
1851
- const completedKnos = vendorSupervisors.reduce((acc, s) => acc + (s.submittedKnos || 0), 0) || (vendor === null || vendor === void 0 ? void 0 : vendor.completedEkyc) || 0;
1852
1784
  downloadVendorPDF({
1853
1785
  rows: rowsWithStats,
1854
1786
  vendorName,
1855
1787
  mobileNumber,
1856
1788
  email,
1857
1789
  dashboardInfo: {
1858
- total: totalKnos,
1859
- completed: completedKnos,
1860
- pending: totalKnos - completedKnos,
1861
- submittedCount: completedKnos
1790
+ total: progressData === null || progressData === void 0 ? void 0 : progressData.totalKnosInZones,
1791
+ completed: (progressData === null || progressData === void 0 ? void 0 : progressData.submittedKnosInZones) + (progressData === null || progressData === void 0 ? void 0 : progressData.selfEkycCountInZones),
1792
+ pending: progressData === null || progressData === void 0 ? void 0 : progressData.pendingKnosInZones,
1793
+ submittedCount: progressData === null || progressData === void 0 ? void 0 : progressData.submittedKnosInZones
1862
1794
  },
1863
1795
  t
1864
1796
  });
@@ -1916,7 +1848,7 @@ const VendorDetailsCard = () => {
1916
1848
  className: "stat-icon"
1917
1849
  }, icon)));
1918
1850
  };
1919
- const isPageLoading = isProgressLoading || isVendorSearchLoading || isSupervisorSearchLoading;
1851
+ const isPageLoading = isProgressLoading || isVendorSearchLoading;
1920
1852
  if (isPageLoading && !vendor) {
1921
1853
  return /*#__PURE__*/React.createElement(Loader, null);
1922
1854
  }
@@ -2067,15 +1999,16 @@ const VendorDetailsCard = () => {
2067
1999
  tableTitle: t("CONNECTED_SUPERVISORS") || "Connected Supervisors",
2068
2000
  tableClass: "ekycTable",
2069
2001
  isTableScrollable: true,
2070
- data: paginatedSupervisors,
2002
+ data: progressData === null || progressData === void 0 ? void 0 : progressData.supervisorReport,
2071
2003
  columns: supervisorColumns,
2072
- isLoading: isPageLoading,
2073
- totalRecords: vendorSupervisors.length,
2004
+ isLoading: isProgressLoading,
2005
+ totalRecords: progressData === null || progressData === void 0 ? void 0 : (_progressData$supervi = progressData.supervisorReport) === null || _progressData$supervi === void 0 ? void 0 : _progressData$supervi.length,
2074
2006
  currentPage: currentPage,
2075
2007
  pageSizeLimit: pageSize,
2076
2008
  isPaginationRequired: true,
2077
2009
  onNextPage: () => {
2078
- if (currentPage < Math.ceil(vendorSupervisors.length / pageSize) - 1) {
2010
+ var _progressData$supervi2;
2011
+ if (currentPage < Math.ceil((progressData === null || progressData === void 0 ? void 0 : (_progressData$supervi2 = progressData.supervisorReport) === null || _progressData$supervi2 === void 0 ? void 0 : _progressData$supervi2.length) / pageSize) - 1) {
2079
2012
  setCurrentPage(prev => prev + 1);
2080
2013
  }
2081
2014
  },
@@ -2085,7 +2018,10 @@ const VendorDetailsCard = () => {
2085
2018
  }
2086
2019
  },
2087
2020
  onFirstPage: () => setCurrentPage(0),
2088
- onLastPage: () => setCurrentPage(Math.max(Math.ceil(vendorSupervisors.length / pageSize) - 1, 0)),
2021
+ onLastPage: () => {
2022
+ var _progressData$supervi3;
2023
+ return setCurrentPage(Math.max(Math.ceil((progressData === null || progressData === void 0 ? void 0 : (_progressData$supervi3 = progressData.supervisorReport) === null || _progressData$supervi3 === void 0 ? void 0 : _progressData$supervi3.length) / pageSize) - 1, 0));
2024
+ },
2089
2025
  onPageSizeChange: e => {
2090
2026
  setPageSize(Number(e.target.value));
2091
2027
  setCurrentPage(0);
@@ -4877,21 +4813,21 @@ const AdminDashboard = () => {
4877
4813
  className: "stat-value"
4878
4814
  }, vendor.totalKnos), /*#__PURE__*/React.createElement("span", {
4879
4815
  className: "stat-label"
4880
- }, t("TOTAL_KNOS") || "Total KNOs"))), /*#__PURE__*/React.createElement("div", {
4816
+ }, t("TOTAL_EKYC_APPLICATIONS") || "Total KNOs"))), /*#__PURE__*/React.createElement("div", {
4881
4817
  className: "knos-summary"
4882
4818
  }, /*#__PURE__*/React.createElement("div", {
4883
4819
  className: "kno-stat"
4884
4820
  }, /*#__PURE__*/React.createElement("span", {
4885
4821
  className: "kno-label"
4886
- }, t("SUBMITTED") || "Submitted"), /*#__PURE__*/React.createElement("strong", null, vendor.submittedKnos)), /*#__PURE__*/React.createElement("div", {
4822
+ }, t("SUBMITTED") || "Submitted"), /*#__PURE__*/React.createElement("strong", null, vendor.submittedKnosInZones)), /*#__PURE__*/React.createElement("div", {
4887
4823
  className: "kno-stat pending"
4888
4824
  }, /*#__PURE__*/React.createElement("span", {
4889
4825
  className: "kno-label"
4890
- }, t("PENDING") || "Pending"), /*#__PURE__*/React.createElement("strong", null, vendor.pendingKnos)), /*#__PURE__*/React.createElement("div", {
4826
+ }, t("PENDING") || "Pending"), /*#__PURE__*/React.createElement("strong", null, vendor.pendingKnosInZones)), /*#__PURE__*/React.createElement("div", {
4891
4827
  className: "kno-stat rejected"
4892
4828
  }, /*#__PURE__*/React.createElement("span", {
4893
4829
  className: "kno-label"
4894
- }, t("REJECTED") || "Rejected"), /*#__PURE__*/React.createElement("strong", null, vendor.rejectedKnos))));
4830
+ }, t("EKYC_SUBMITTED_BY_CITIZEN") || "SUBMITTED BY CITIZEN"), /*#__PURE__*/React.createElement("strong", null, vendor.selfEkycCountInZones))));
4895
4831
  })))));
4896
4832
  };
4897
4833