@djb25/digit-ui-module-ekyc 1.0.69 → 1.0.71

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.
@@ -143,6 +143,167 @@ function _finallyRethrows(body, finalizer) {
143
143
  return finalizer(false, result);
144
144
  }
145
145
 
146
+ const excludedKeys = ["status", "source", "assignedAt", "connectionType", "approvedAt", "alternateMobileNo", "city", "state", "addressType", "addressProofType", "mrcode", "areacode", "verificationStatus", "surveyorId", "supervisorId", "vendorId", "assignmentType", "assignmentValue", "assignedTime", "isSelfAssigned", "userType", "tenantName", "tenantMobile", "doorPhotoFilestoreId", "panFilestoreId", "documentProofFilestoreId", "buildingImageFileStoreId", "propertyDocumentFileStoreId", "meterPhotoFileStoreId", "modifiedBy", "zoneCode", "propertyType", "subPropertyCategory"];
147
+ const createHeaderMapping = t => ({
148
+ kno: t("KNO"),
149
+ firstName: t("FIRST_NAME"),
150
+ middleName: t("MIDDLE_NAME"),
151
+ lastName: t("LAST_NAME"),
152
+ status: t("STATUS"),
153
+ ekycStatus: t("EKYC_STATUS"),
154
+ zoneName: t("ZONE"),
155
+ zoneCode: t("ZONE_CODE"),
156
+ assembly: t("EKYC_ASSEMBLY"),
157
+ ward: t("WARD"),
158
+ pincode: t("EKYC_PINCODE"),
159
+ addressRaw: t("ADDRESS_RAW"),
160
+ locality: t("EKYC_LOCALITY"),
161
+ subLocality: t("SUB_LOCALITY"),
162
+ flatHouseNumber: t("FLAT_HOUSE_NUMBER"),
163
+ streetName: t("STREET_NAME"),
164
+ landmark: t("EKYC_LANDMARK"),
165
+ city: t("CITY"),
166
+ state: t("STATE"),
167
+ addressType: t("ADDRESS_TYPE"),
168
+ addressProofType: t("ADDRESS_PROOF_TYPE"),
169
+ mobileNo: t("MOBILE_NUMBER"),
170
+ alternateMobileNo: t("ALTERNATE_MOBILE_NUMBER"),
171
+ whatsappNo: t("WHATSAPP_NO"),
172
+ email: t("EMAIL"),
173
+ landlineNo: t("LANDLINE_NO"),
174
+ mrkey: t("MR_KEY"),
175
+ mrcode: t("MR_CODE"),
176
+ areacode: t("AREA_CODE"),
177
+ source: t("SOURCE"),
178
+ submittedAt: t("SUBMITTED_AT"),
179
+ assignedAt: t("ASSIGNED_AT"),
180
+ connectionType: t("CONNECTION_TYPE"),
181
+ Type: t("CONSUMER_TYPE"),
182
+ occupantType: t("OCCUPANT_TYPE"),
183
+ knoCategory: t("KNO_CATEGORY"),
184
+ approvedAt: t("APPROVED_AT"),
185
+ gender: t("GENDER"),
186
+ parentSpouse: t("PARENT_SPOUSE"),
187
+ fatherOrHusbandName: t("FATHER_HUSBUND_NAME"),
188
+ relationship: t("RELATIONSHIP"),
189
+ informantName: t("INFORMANT_NAME"),
190
+ informantRelation: t("INFORMANT_RELATION"),
191
+ informantIs: t("INFORMANT_IS"),
192
+ contactPerson: t("CONTACT_PERSON"),
193
+ relation: t("RELATION"),
194
+ entityName: t("ENTITY_NAME"),
195
+ designation: t("DESIGNATION"),
196
+ department: t("DEPARTMENT"),
197
+ employeeId: t("EMPLOYEE_ID"),
198
+ ownerMobile: t("OWNER_MOBILE"),
199
+ ownerVerificationDone: t("OWNER_VERIFICATION_DONE"),
200
+ consentGiven: t("CONSENT_GIVEN"),
201
+ proofOfIdentityType: t("PROOF_OF_IDENTITY_TYPE"),
202
+ documentNumber: t("DOCUMENT_NUMBER"),
203
+ noOfPerson: t("NUMBER_OF_PERSON"),
204
+ latitude: t("LATITUDE"),
205
+ longitude: t("LONGITUDE"),
206
+ gpsValid: t("GPS_VALID"),
207
+ meterNumber: t("METER_NUMBER"),
208
+ meterMake: t("METER_MAKE"),
209
+ meterStatus: t("METER_STATUS"),
210
+ meterCondition: t("METER_CONDITION"),
211
+ meterLocation: t("METER_LOCATION"),
212
+ meterLocationAddress: t("METER_LOCATION_ADDRESS"),
213
+ workingStatus: t("WORKING_STATUS"),
214
+ sewerConnection: t("SEWER_CONNECTION"),
215
+ septicTank: t("SEPTIC_TANK"),
216
+ lastBillRaised: t("LAST_BILL_RAISED"),
217
+ lastBillReceivedDate: t("LAST_BILL_RECEIVED_DATE"),
218
+ accessToMeter: t("ACCESS_TO_METER"),
219
+ systemMeterId: t("SYSTEM_METER_ID"),
220
+ lastBillNotRaisedReason: t("LAST_BILL_NOT_RAISED_REASON"),
221
+ waterConnectionYears: t("WATER_CONNECTION_YEARS"),
222
+ sewerConnectionYears: t("SEWER_CONNECTION_YEARS"),
223
+ pidNumber: t("PID_NUMBER"),
224
+ propertyType: t("PROPERTY_TYPE"),
225
+ subPropertyCategory: t("SUB_PROPERTY_CATEGORY"),
226
+ noOfFloor: t("NO_OF_FLOOR"),
227
+ noOfRooms: t("NO_OF_ROOMS"),
228
+ noOfBeds: t("NO_OF_BEDS"),
229
+ numberOfDwellingUnits: t("NUMBER_OF_DWELLING_UNITS"),
230
+ floorNo: t("FLOOR_NO"),
231
+ userType: t("USER_TYPE"),
232
+ tenantName: t("TENANT_NAME"),
233
+ tenantMobile: t("TENANT_MOBILE"),
234
+ verificationStatus: t("VERIFICATION_STATUS"),
235
+ houseBuiltDuration: t("HOUSE_BUILT_DURATION"),
236
+ surveyorId: t("SURVEYOR_ID"),
237
+ supervisorId: t("SUPERVISOR_ID"),
238
+ vendorId: t("VENDOR_ID"),
239
+ assignmentType: t("ASSIGNMENT_TYPE"),
240
+ assignmentValue: t("ASSIGNMENT_VALUE"),
241
+ assignedTime: t("ASSIGNED_TIME"),
242
+ isSelfAssigned: t("IS_SELF_ASSIGNED"),
243
+ doorPhotoFilestoreId: t("DOOR_PHOTO_FILESTORE_ID"),
244
+ panFilestoreId: t("PAN_FILESTORE_ID"),
245
+ documentProofFilestoreId: t("DOCUMENT_PROOF_FILESTORE_ID"),
246
+ buildingImageFileStoreId: t("BUILDING_IMAGE_FILESTORE_ID"),
247
+ propertyDocumentFileStoreId: t("PROPERTY_DOCUMENT_FILESTORE_ID"),
248
+ meterPhotoFileStoreId: t("METER_PHOTO_FILESTORE_ID"),
249
+ modifiedBy: t("MODIFIED_BY"),
250
+ emailId: t("EMAIL_ID"),
251
+ dob: t("DOB"),
252
+ consumerType: t("CONSUMER_TYPE"),
253
+ createdTime: t("CREATED_TIME"),
254
+ lastModifiedTime: t("LAST_MODIFIED_TIME"),
255
+ meterLatitude: t("EKYC_METER_LATITUDE1"),
256
+ meterLongitude: t("EKYC_METER_LONGITUDE1")
257
+ });
258
+ const toTitleCase = str => {
259
+ if (!str) return "";
260
+ let cleanStr = String(str);
261
+ if (cleanStr.includes(".") && !cleanStr.includes("@") && isNaN(Number(cleanStr))) {
262
+ cleanStr = cleanStr.split(".").pop();
263
+ }
264
+ return cleanStr.toLowerCase().replace(/_/g, " ").replace(/\b\w/g, c => c.toUpperCase());
265
+ };
266
+ const skipTitleCase = ["kno", "mobileNumber", "emailId", "email", "pincode", "mrkey", "dob", "createdTime", "lastModifiedTime", "meterLatitude", "meterLongitude"];
267
+ const translatedFields = ["meterMake", "meterLocation"];
268
+ const getEkycExcelData = function (consumerList, t) {
269
+ if (consumerList === void 0) {
270
+ consumerList = [];
271
+ }
272
+ if (t === void 0) {
273
+ t = k => k;
274
+ }
275
+ const headerMapping = createHeaderMapping(t);
276
+ const excelData = consumerList.map(item => {
277
+ const cleanObj = {};
278
+ const fullName = [item.firstName, item.middleName, item.lastName].filter(Boolean).join(" ");
279
+ if (fullName) {
280
+ cleanObj[t("CONSUMER_NAME") || "Consumer Name"] = toTitleCase(fullName);
281
+ }
282
+ Object.keys(item).forEach(key => {
283
+ if (excludedKeys.includes(key)) return;
284
+ let val = item[key];
285
+ if (typeof val === "object" && val !== null) {
286
+ return;
287
+ }
288
+ if (String(val).toLowerCase() === "true") {
289
+ val = t("CS_YES");
290
+ } else if (String(val).toLowerCase() === "false") {
291
+ val = t("CS_NO");
292
+ }
293
+ const friendlyHeader = headerMapping[key] || t(key.toUpperCase()) || key;
294
+ if (typeof val === "string" && translatedFields.includes(key)) {
295
+ cleanObj[friendlyHeader] = t(val);
296
+ } else if (typeof val === "string" && !skipTitleCase.includes(key)) {
297
+ cleanObj[friendlyHeader] = toTitleCase(val);
298
+ } else {
299
+ cleanObj[friendlyHeader] = val;
300
+ }
301
+ });
302
+ return cleanObj;
303
+ });
304
+ return excelData;
305
+ };
306
+
146
307
  const getChartConstructor = () => {
147
308
  const C = Chart || Chartjs__default || Chartjs;
148
309
  return C;
@@ -204,163 +365,7 @@ const StatusCards = _ref => {
204
365
  alert(t("NO_DATA_FOUND") || "No data found for download.");
205
366
  return;
206
367
  }
207
- const excludedKeys = ["status", "source", "assignedAt", "connectionType", "approvedAt", "alternateMobileNo", "city", "state", "addressType", "addressProofType", "mrcode", "areacode", "verificationStatus", "surveyorId", "supervisorId", "vendorId", "assignmentType", "assignmentValue", "assignedTime", "isSelfAssigned", "userType", "tenantName", "tenantMobile", "doorPhotoFilestoreId", "panFilestoreId", "documentProofFilestoreId", "buildingImageFileStoreId", "propertyDocumentFileStoreId", "meterPhotoFileStoreId", "modifiedBy", "zoneCode", "propertyType", "subPropertyCategory"];
208
- const headerMapping = {
209
- kno: t("KNO"),
210
- firstName: t("FIRST_NAME"),
211
- middleName: t("MIDDLE_NAME"),
212
- lastName: t("LAST_NAME"),
213
- status: t("STATUS"),
214
- ekycStatus: t("EKYC_STATUS"),
215
- zoneName: t("ZONE"),
216
- zoneCode: t("ZONE_CODE"),
217
- assembly: t("EKYC_ASSEMBLY"),
218
- ward: t("WARD"),
219
- pincode: t("EKYC_PINCODE"),
220
- addressRaw: t("ADDRESS_RAW"),
221
- locality: t("EKYC_LOCALITY"),
222
- subLocality: t("SUB_LOCALITY"),
223
- flatHouseNumber: t("FLAT_HOUSE_NUMBER"),
224
- streetName: t("STREET_NAME"),
225
- landmark: t("EKYC_LANDMARK"),
226
- city: t("CITY"),
227
- state: t("STATE"),
228
- addressType: t("ADDRESS_TYPE"),
229
- addressProofType: t("ADDRESS_PROOF_TYPE"),
230
- mobileNo: t("MOBILE_NUMBER"),
231
- alternateMobileNo: t("ALTERNATE_MOBILE_NUMBER"),
232
- whatsappNo: t("WHATSAPP_NO"),
233
- email: t("EMAIL"),
234
- landlineNo: t("LANDLINE_NO"),
235
- mrkey: t("MR_KEY"),
236
- mrcode: t("MR_CODE"),
237
- areacode: t("AREA_CODE"),
238
- source: t("SOURCE"),
239
- submittedAt: t("SUBMITTED_AT"),
240
- assignedAt: t("ASSIGNED_AT"),
241
- connectionType: t("CONNECTION_TYPE"),
242
- Type: t("CONSUMER_TYPE"),
243
- occupantType: t("OCCUPANT_TYPE"),
244
- knoCategory: t("KNO_CATEGORY"),
245
- approvedAt: t("APPROVED_AT"),
246
- gender: t("GENDER"),
247
- parentSpouse: t("PARENT_SPOUSE"),
248
- fatherOrHusbandName: t("FATHER_HUSBUND_NAME"),
249
- relationship: t("RELATIONSHIP"),
250
- informantName: t("INFORMANT_NAME"),
251
- informantRelation: t("INFORMANT_RELATION"),
252
- informantIs: t("INFORMANT_IS"),
253
- contactPerson: t("CONTACT_PERSON"),
254
- relation: t("RELATION"),
255
- entityName: t("ENTITY_NAME"),
256
- designation: t("DESIGNATION"),
257
- department: t("DEPARTMENT"),
258
- employeeId: t("EMPLOYEE_ID"),
259
- ownerMobile: t("OWNER_MOBILE"),
260
- ownerVerificationDone: t("OWNER_VERIFICATION_DONE"),
261
- consentGiven: t("CONSENT_GIVEN"),
262
- proofOfIdentityType: t("PROOF_OF_IDENTITY_TYPE"),
263
- documentNumber: t("DOCUMENT_NUMBER"),
264
- noOfPerson: t("NUMBER_OF_PERSON"),
265
- latitude: t("LATITUDE"),
266
- longitude: t("LONGITUDE"),
267
- gpsValid: t("GPS_VALID"),
268
- meterNumber: t("METER_NUMBER"),
269
- meterMake: t("METER_MAKE"),
270
- meterStatus: t("METER_STATUS"),
271
- meterCondition: t("METER_CONDITION"),
272
- meterLocation: t("METER_LOCATION"),
273
- meterLocationAddress: t("METER_LOCATION_ADDRESS"),
274
- workingStatus: t("WORKING_STATUS"),
275
- sewerConnection: t("SEWER_CONNECTION"),
276
- septicTank: t("SEPTIC_TANK"),
277
- lastBillRaised: t("LAST_BILL_RAISED"),
278
- lastBillReceivedDate: t("LAST_BILL_RECEIVED_DATE"),
279
- accessToMeter: t("ACCESS_TO_METER"),
280
- systemMeterId: t("SYSTEM_METER_ID"),
281
- lastBillNotRaisedReason: t("LAST_BILL_NOT_RAISED_REASON"),
282
- waterConnectionYears: t("WATER_CONNECTION_YEARS"),
283
- sewerConnectionYears: t("SEWER_CONNECTION_YEARS"),
284
- pidNumber: t("PID_NUMBER"),
285
- propertyType: t("PROPERTY_TYPE"),
286
- subPropertyCategory: t("SUB_PROPERTY_CATEGORY"),
287
- noOfFloor: t("NO_OF_FLOOR"),
288
- noOfRooms: t("NO_OF_ROOMS"),
289
- noOfBeds: t("NO_OF_BEDS"),
290
- numberOfDwellingUnits: t("NUMBER_OF_DWELLING_UNITS"),
291
- floorNo: t("FLOOR_NO"),
292
- userType: t("USER_TYPE"),
293
- tenantName: t("TENANT_NAME"),
294
- tenantMobile: t("TENANT_MOBILE"),
295
- verificationStatus: t("VERIFICATION_STATUS"),
296
- houseBuiltDuration: t("HOUSE_BUILT_DURATION"),
297
- surveyorId: t("SURVEYOR_ID"),
298
- supervisorId: t("SUPERVISOR_ID"),
299
- vendorId: t("VENDOR_ID"),
300
- assignmentType: t("ASSIGNMENT_TYPE"),
301
- assignmentValue: t("ASSIGNMENT_VALUE"),
302
- assignedTime: t("ASSIGNED_TIME"),
303
- isSelfAssigned: t("IS_SELF_ASSIGNED"),
304
- doorPhotoFilestoreId: t("DOOR_PHOTO_FILESTORE_ID"),
305
- panFilestoreId: t("PAN_FILESTORE_ID"),
306
- documentProofFilestoreId: t("DOCUMENT_PROOF_FILESTORE_ID"),
307
- buildingImageFileStoreId: t("BUILDING_IMAGE_FILESTORE_ID"),
308
- propertyDocumentFileStoreId: t("PROPERTY_DOCUMENT_FILESTORE_ID"),
309
- meterPhotoFileStoreId: t("METER_PHOTO_FILESTORE_ID"),
310
- modifiedBy: t("MODIFIED_BY"),
311
- emailId: t("EMAIL_ID"),
312
- dob: t("DOB"),
313
- consumerType: t("CONSUMER_TYPE"),
314
- createdTime: t("CREATED_TIME"),
315
- lastModifiedTime: t("LAST_MODIFIED_TIME"),
316
- meterLatitude: t("EKYC_METER_LATITUDE1"),
317
- meterLongitude: t("EKYC_METER_LONGITUDE1")
318
- };
319
- const toTitleCase = str => {
320
- if (!str) return "";
321
- let cleanStr = String(str);
322
- if (cleanStr.includes(".") && !cleanStr.includes("@") && isNaN(Number(cleanStr))) {
323
- cleanStr = cleanStr.split(".").pop();
324
- }
325
- return cleanStr.toLowerCase().replace(/_/g, " ").replace(/\b\w/g, c => c.toUpperCase());
326
- };
327
- const skipTitleCase = ["kno", "mobileNumber", "emailId", "email", "pincode", "mrkey", "dob", "createdTime", "lastModifiedTime", "meterLatitude", "meterLongitude"];
328
- const translatedFields = ["meterMake", "meterLocation"];
329
- const excelData = consumerList.map(item => {
330
- const cleanObj = {};
331
- const name = [item.firstName, item.middleName, item.lastName].filter(Boolean).join(" ");
332
- if (name) {
333
- cleanObj[t("CONSUMER_NAME") || "Consumer Name"] = toTitleCase(name);
334
- }
335
- const keys = Object.keys(item);
336
- const orderedKeys = [...keys.filter(key => key !== "submittedAt"), ...(keys.includes("submittedAt") ? ["submittedAt"] : [])];
337
- orderedKeys.forEach(key => {
338
- if (excludedKeys.includes(key)) return;
339
- let val = item[key];
340
- if (key === "submittedAt" && val) {
341
- const date = new Date(Number(val));
342
- const pad = n => String(n).padStart(2, "0");
343
- val = pad(date.getDate()) + "/" + pad(date.getMonth() + 1) + "/" + date.getFullYear() + " " + pad(date.getHours()) + ":" + pad(date.getMinutes()) + ":" + pad(date.getSeconds());
344
- }
345
- if (typeof val === "object" && val !== null) {
346
- return;
347
- }
348
- if (String(val).toLowerCase() === "true") {
349
- val = t("CS_YES");
350
- } else if (String(val).toLowerCase() === "false") {
351
- val = t("CS_NO");
352
- }
353
- const friendlyHeader = headerMapping[key] || t(key.toUpperCase()) || key;
354
- if (typeof val === "string" && translatedFields.includes(key)) {
355
- cleanObj[friendlyHeader] = t(val);
356
- } else if (typeof val === "string" && !skipTitleCase.includes(key)) {
357
- cleanObj[friendlyHeader] = toTitleCase(val);
358
- } else {
359
- cleanObj[friendlyHeader] = val;
360
- }
361
- });
362
- return cleanObj;
363
- });
368
+ const excelData = getEkycExcelData(consumerList, t);
364
369
  const cleanFileName = "eKYC_All_Data_Admin_" + fullName.replace(/[^a-zA-Z0-9]/g, "_");
365
370
  Digit.Download.Excel(excelData, cleanFileName);
366
371
  });
@@ -620,33 +625,59 @@ const StatusCards = _ref => {
620
625
  }, formatNumber(item.value))))))));
621
626
  };
622
627
 
623
- const Dashboard = () => {
624
- const tenantId = Digit.ULBService.getCurrentTenantId();
625
- const _Digit$Hooks$ekyc$use = Digit.Hooks.ekyc.useEkycAssignmentProgress({
626
- tenantId,
627
- allVendorsDetailed: true
628
- }, {
629
- enabled: true,
630
- keepPreviousData: true
631
- }),
632
- progressData = _Digit$Hooks$ekyc$use.data,
633
- isProgressLoading = _Digit$Hooks$ekyc$use.isLoading;
634
- const countData = useMemo(() => {
635
- return {
636
- total: (progressData === null || progressData === void 0 ? void 0 : progressData.totalKnosInSystem) || 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,
639
- rejected: (progressData === null || progressData === void 0 ? void 0 : progressData.rejectedKnos) || 0,
640
- totalAssignments: (progressData === null || progressData === void 0 ? void 0 : progressData.totalAssignments) || 0,
641
- submittedCount: (progressData === null || progressData === void 0 ? void 0 : progressData.submittedKnos) || 0,
642
- selfEkycCount: (progressData === null || progressData === void 0 ? void 0 : progressData.selfEkycCount) || 0,
643
- overallProgressPercent: (progressData === null || progressData === void 0 ? void 0 : progressData.overallProgressPercent) || 0
644
- };
645
- }, [progressData]);
646
- return isProgressLoading ? /*#__PURE__*/React.createElement(Loader, null) : /*#__PURE__*/React.createElement(StatusCards, {
628
+ const Dashboard = _ref => {
629
+ let progressData = _ref.progressData,
630
+ isProgressLoading = _ref.isProgressLoading;
631
+ const countData = {
632
+ total: (progressData === null || progressData === void 0 ? void 0 : progressData.totalKnosInSystem) || 0,
633
+ completed: (progressData === null || progressData === void 0 ? void 0 : progressData.completedKnosInZones) || 0,
634
+ pending: (progressData === null || progressData === void 0 ? void 0 : progressData.pendingKnosInZones) || 0,
635
+ rejected: (progressData === null || progressData === void 0 ? void 0 : progressData.rejectedKnos) || 0,
636
+ totalAssignments: (progressData === null || progressData === void 0 ? void 0 : progressData.totalAssignments) || 0,
637
+ submittedCount: (progressData === null || progressData === void 0 ? void 0 : progressData.submittedKnos) || 0,
638
+ selfEkycCount: (progressData === null || progressData === void 0 ? void 0 : progressData.selfEkycCount) || 0,
639
+ overallProgressPercent: (progressData === null || progressData === void 0 ? void 0 : progressData.overallProgressPercent) || 0
640
+ };
641
+ return isProgressLoading ? /*#__PURE__*/React.createElement(EkycDashboardSkeleton, null) : /*#__PURE__*/React.createElement(StatusCards, {
647
642
  countData: countData
648
643
  });
649
644
  };
645
+ const EkycDashboardSkeleton = () => {
646
+ return /*#__PURE__*/React.createElement("div", {
647
+ className: "ekyc-employee-container"
648
+ }, /*#__PURE__*/React.createElement("div", {
649
+ className: "status-panel ekyc-skel-panel"
650
+ }, /*#__PURE__*/React.createElement("div", {
651
+ className: "status-cards-header"
652
+ }, /*#__PURE__*/React.createElement("div", {
653
+ className: "status-card-title"
654
+ }, /*#__PURE__*/React.createElement("div", {
655
+ className: "ekyc-skel ekyc-skel-icon"
656
+ }), /*#__PURE__*/React.createElement("div", {
657
+ className: "ekyc-skel ekyc-skel-title"
658
+ })), /*#__PURE__*/React.createElement("div", {
659
+ className: "ekyc-skel ekyc-skel-download-btn"
660
+ })), /*#__PURE__*/React.createElement("div", {
661
+ className: "status-breakdown-content"
662
+ }, /*#__PURE__*/React.createElement("div", {
663
+ className: "chart-wrapper"
664
+ }, /*#__PURE__*/React.createElement("div", {
665
+ className: "ekyc-skel ekyc-skel-donut"
666
+ })), /*#__PURE__*/React.createElement("div", {
667
+ className: "status-boxes"
668
+ }, [1, 2, 3, 4].map(item => /*#__PURE__*/React.createElement("div", {
669
+ className: "status-box",
670
+ key: item
671
+ }, /*#__PURE__*/React.createElement("div", {
672
+ className: "status-box-top"
673
+ }, /*#__PURE__*/React.createElement("div", {
674
+ className: "ekyc-skel ekyc-skel-dot"
675
+ }), /*#__PURE__*/React.createElement("div", {
676
+ className: "ekyc-skel ekyc-skel-name"
677
+ })), /*#__PURE__*/React.createElement("div", {
678
+ className: "ekyc-skel ekyc-skel-value"
679
+ })))))));
680
+ };
650
681
 
651
682
  const _excluded = ["tableConfig", "filterComponent"];
652
683
  const DesktopInbox = _ref => {
@@ -1072,11 +1103,6 @@ const downloadSurveyorPDF = function (_ref) {
1072
1103
  t = _ref.t;
1073
1104
  try {
1074
1105
  const tenantId = Digit.ULBService.getCurrentTenantId();
1075
- const initData = Digit.SessionStorage.get("initData");
1076
- const tenants = (initData === null || initData === void 0 ? void 0 : initData.tenants) || [];
1077
- const tenantInfo = tenants.find(tenant => tenant.code === tenantId);
1078
- const capitalize = text => text && text.substr(0, 1).toUpperCase() + text.substr(1);
1079
- const ulbCamel = ulb => ulb && ulb.toLowerCase().split(" ").map(capitalize).join(" ");
1080
1106
  const name = "Delhi Jal Board";
1081
1107
  const email = "contact@delhijalboard.nic.in";
1082
1108
  const phoneNumber = "+91-11-23538416";
@@ -1215,20 +1241,10 @@ const downloadSupervisorPDF = function (_ref2) {
1215
1241
  mobileNo: row.status || "N/A",
1216
1242
  zoneName: String(row.total || 0),
1217
1243
  ekycStatus: (row.completed || 0) + " / " + (row.pending || 0),
1218
- progress: row.progress || "0%"
1244
+ progress: row.progress || "0%",
1245
+ submittedAt: null
1219
1246
  };
1220
1247
  });
1221
- const originalToLocaleDateString = Date.prototype.toLocaleDateString;
1222
- let progressIndex = 0;
1223
- Date.prototype.toLocaleDateString = function () {
1224
- if (progressIndex < mappedRows.length) {
1225
- return mappedRows[progressIndex++].progress || "0%";
1226
- }
1227
- for (var _len = arguments.length, args = new Array(_len), _key = 0; _key < _len; _key++) {
1228
- args[_key] = arguments[_key];
1229
- }
1230
- return originalToLocaleDateString.apply(this, args);
1231
- };
1232
1248
  const customT = key => {
1233
1249
  if (key === "KNO") return t("SURVEYOR_NAME") || "Surveyor Name";
1234
1250
  if (key === "CONSUMER") return t("MOBILE_NUMBER") || "Mobile Number";
@@ -1258,9 +1274,7 @@ const downloadSupervisorPDF = function (_ref2) {
1258
1274
  } else {
1259
1275
  console.error("Digit.Utils.pdf.generateSurveyorReport is not available");
1260
1276
  }
1261
- } finally {
1262
- Date.prototype.toLocaleDateString = originalToLocaleDateString;
1263
- }
1277
+ } catch (_unused) {}
1264
1278
  return Promise.resolve();
1265
1279
  } catch (e) {
1266
1280
  return Promise.reject(e);
@@ -1331,17 +1345,6 @@ const downloadVendorPDF = function (_ref3) {
1331
1345
  ekycStatus: (row.completed || 0) + " / " + (row.pending || 0),
1332
1346
  progress: row.progress || "0%"
1333
1347
  }));
1334
- const originalToLocaleDateString = Date.prototype.toLocaleDateString;
1335
- let progressIndex = 0;
1336
- Date.prototype.toLocaleDateString = function () {
1337
- if (progressIndex < mappedRows.length) {
1338
- return mappedRows[progressIndex++].progress || "0%";
1339
- }
1340
- for (var _len2 = arguments.length, args = new Array(_len2), _key2 = 0; _key2 < _len2; _key2++) {
1341
- args[_key2] = arguments[_key2];
1342
- }
1343
- return originalToLocaleDateString.apply(this, args);
1344
- };
1345
1348
  const customT = key => {
1346
1349
  if (key === "KNO") return t("SUPERVISOR_NAME") || "Supervisor Name";
1347
1350
  if (key === "CONSUMER") return t("MOBILE_NUMBER") || "Mobile Number";
@@ -1370,9 +1373,7 @@ const downloadVendorPDF = function (_ref3) {
1370
1373
  } else {
1371
1374
  console.error("Digit.Utils.pdf.generateSurveyorReport is not available");
1372
1375
  }
1373
- } finally {
1374
- Date.prototype.toLocaleDateString = originalToLocaleDateString;
1375
- }
1376
+ } catch (_unused2) {}
1376
1377
  return Promise.resolve();
1377
1378
  } catch (e) {
1378
1379
  return Promise.reject(e);
@@ -1430,37 +1431,37 @@ const VendorDetailsCard = () => {
1430
1431
  return [{
1431
1432
  label: "TOTAL_KNOS",
1432
1433
  count: totalKnos,
1433
- color: "#0B2559",
1434
+ color: "#2563EB",
1434
1435
  type: "today",
1435
1436
  icon: /*#__PURE__*/React.createElement(FaDatabase, null)
1436
1437
  }, {
1437
1438
  label: "TOTAL_EKYC_APPLICATIONS",
1438
1439
  count: totalAssignments,
1439
- color: "#0B2559",
1440
+ color: "#0891B2",
1440
1441
  type: "today",
1441
1442
  icon: /*#__PURE__*/React.createElement(FaFileAlt, null)
1442
1443
  }, {
1443
1444
  label: "EKYC_SUBMITTED_BY_VENDORS",
1444
1445
  count: submittedKnos,
1445
- color: "#10B981",
1446
+ color: "#0D9488",
1446
1447
  type: "month",
1447
1448
  icon: /*#__PURE__*/React.createElement(FaBuilding, null)
1448
1449
  }, {
1449
1450
  label: "EKYC_SUBMITTED_BY_CITIZEN",
1450
1451
  count: selfEkycCount,
1451
- color: "#10B981",
1452
+ color: "#7C3AED",
1452
1453
  type: "month",
1453
1454
  icon: /*#__PURE__*/React.createElement(FaUser, null)
1454
1455
  }, {
1455
1456
  label: "PENDING_APPLICATIONS",
1456
1457
  count: pendingKnos,
1457
- color: "#F59E0B",
1458
+ color: "#EA580C",
1458
1459
  type: "pending",
1459
1460
  icon: /*#__PURE__*/React.createElement(FaClock, null)
1460
1461
  }, {
1461
1462
  label: "OVERALL_PROGRESS",
1462
1463
  count: progressPercent + "%",
1463
- color: "#A855F7",
1464
+ color: "#DB2777",
1464
1465
  type: "progress",
1465
1466
  icon: /*#__PURE__*/React.createElement(FaChartLine, null)
1466
1467
  }];
@@ -1495,156 +1496,7 @@ const VendorDetailsCard = () => {
1495
1496
  alert(t("NO_EKYC_DATA_FOUND") || "No eKYC data found to download.");
1496
1497
  return;
1497
1498
  }
1498
- const excludedKeys = ["status", "source", "assignedAt", "connectionType", "approvedAt", "alternateMobileNo", "city", "state", "addressType", "addressProofType", "mrcode", "areacode", "verificationStatus", "surveyorId", "supervisorId", "vendorId", "assignmentType", "assignmentValue", "assignedTime", "isSelfAssigned", "userType", "tenantName", "tenantMobile", "doorPhotoFilestoreId", "panFilestoreId", "documentProofFilestoreId", "buildingImageFileStoreId", "propertyDocumentFileStoreId", "meterPhotoFileStoreId", "modifiedBy", "zoneCode", "propertyType", "subPropertyCategory"];
1499
- const headerMapping = {
1500
- kno: t("KNO"),
1501
- firstName: t("FIRST_NAME"),
1502
- middleName: t("MIDDLE_NAME"),
1503
- lastName: t("LAST_NAME"),
1504
- status: t("STATUS"),
1505
- ekycStatus: t("EKYC_STATUS"),
1506
- zoneName: t("ZONE"),
1507
- zoneCode: t("ZONE_CODE"),
1508
- assembly: t("EKYC_ASSEMBLY"),
1509
- ward: t("WARD"),
1510
- pincode: t("EKYC_PINCODE"),
1511
- addressRaw: t("ADDRESS_RAW"),
1512
- locality: t("EKYC_LOCALITY"),
1513
- subLocality: t("SUB_LOCALITY"),
1514
- flatHouseNumber: t("FLAT_HOUSE_NUMBER"),
1515
- streetName: t("STREET_NAME"),
1516
- landmark: t("EKYC_LANDMARK"),
1517
- city: t("CITY"),
1518
- state: t("STATE"),
1519
- addressType: t("ADDRESS_TYPE"),
1520
- addressProofType: t("ADDRESS_PROOF_TYPE"),
1521
- mobileNo: t("MOBILE_NUMBER"),
1522
- alternateMobileNo: t("ALTERNATE_MOBILE_NUMBER"),
1523
- whatsappNo: t("WHATSAPP_NO"),
1524
- email: t("EMAIL"),
1525
- landlineNo: t("LANDLINE_NO"),
1526
- mrkey: t("MR_KEY"),
1527
- mrcode: t("MR_CODE"),
1528
- areacode: t("AREA_CODE"),
1529
- source: t("SOURCE"),
1530
- submittedAt: t("SUBMITTED_AT"),
1531
- assignedAt: t("ASSIGNED_AT"),
1532
- connectionType: t("CONNECTION_TYPE"),
1533
- Type: t("CONSUMER_TYPE"),
1534
- occupantType: t("OCCUPANT_TYPE"),
1535
- knoCategory: t("KNO_CATEGORY"),
1536
- approvedAt: t("APPROVED_AT"),
1537
- gender: t("GENDER"),
1538
- parentSpouse: t("PARENT_SPOUSE"),
1539
- fatherOrHusbandName: t("FATHER_HUSBUND_NAME"),
1540
- relationship: t("RELATIONSHIP"),
1541
- informantName: t("INFORMANT_NAME"),
1542
- informantRelation: t("INFORMANT_RELATION"),
1543
- informantIs: t("INFORMANT_IS"),
1544
- contactPerson: t("CONTACT_PERSON"),
1545
- relation: t("RELATION"),
1546
- entityName: t("ENTITY_NAME"),
1547
- designation: t("DESIGNATION"),
1548
- department: t("DEPARTMENT"),
1549
- employeeId: t("EMPLOYEE_ID"),
1550
- ownerMobile: t("OWNER_MOBILE"),
1551
- ownerVerificationDone: t("OWNER_VERIFICATION_DONE"),
1552
- consentGiven: t("CONSENT_GIVEN"),
1553
- proofOfIdentityType: t("PROOF_OF_IDENTITY_TYPE"),
1554
- documentNumber: t("DOCUMENT_NUMBER"),
1555
- noOfPerson: t("NUMBER_OF_PERSON"),
1556
- latitude: t("LATITUDE"),
1557
- longitude: t("LONGITUDE"),
1558
- gpsValid: t("GPS_VALID"),
1559
- meterNumber: t("METER_NUMBER"),
1560
- meterMake: t("METER_MAKE"),
1561
- meterStatus: t("METER_STATUS"),
1562
- meterCondition: t("METER_CONDITION"),
1563
- meterLocation: t("METER_LOCATION"),
1564
- meterLocationAddress: t("METER_LOCATION_ADDRESS"),
1565
- workingStatus: t("WORKING_STATUS"),
1566
- sewerConnection: t("SEWER_CONNECTION"),
1567
- septicTank: t("SEPTIC_TANK"),
1568
- lastBillRaised: t("LAST_BILL_RAISED"),
1569
- lastBillReceivedDate: t("LAST_BILL_RECEIVED_DATE"),
1570
- accessToMeter: t("ACCESS_TO_METER"),
1571
- systemMeterId: t("SYSTEM_METER_ID"),
1572
- lastBillNotRaisedReason: t("LAST_BILL_NOT_RAISED_REASON"),
1573
- waterConnectionYears: t("WATER_CONNECTION_YEARS"),
1574
- sewerConnectionYears: t("SEWER_CONNECTION_YEARS"),
1575
- pidNumber: t("PID_NUMBER"),
1576
- propertyType: t("PROPERTY_TYPE"),
1577
- subPropertyCategory: t("SUB_PROPERTY_CATEGORY"),
1578
- noOfFloor: t("NO_OF_FLOOR"),
1579
- noOfRooms: t("NO_OF_ROOMS"),
1580
- noOfBeds: t("NO_OF_BEDS"),
1581
- numberOfDwellingUnits: t("NUMBER_OF_DWELLING_UNITS"),
1582
- floorNo: t("FLOOR_NO"),
1583
- userType: t("USER_TYPE"),
1584
- tenantName: t("TENANT_NAME"),
1585
- tenantMobile: t("TENANT_MOBILE"),
1586
- verificationStatus: t("VERIFICATION_STATUS"),
1587
- houseBuiltDuration: t("HOUSE_BUILT_DURATION"),
1588
- surveyorId: t("SURVEYOR_ID"),
1589
- supervisorId: t("SUPERVISOR_ID"),
1590
- vendorId: t("VENDOR_ID"),
1591
- assignmentType: t("ASSIGNMENT_TYPE"),
1592
- assignmentValue: t("ASSIGNMENT_VALUE"),
1593
- assignedTime: t("ASSIGNED_TIME"),
1594
- isSelfAssigned: t("IS_SELF_ASSIGNED"),
1595
- doorPhotoFilestoreId: t("DOOR_PHOTO_FILESTORE_ID"),
1596
- panFilestoreId: t("PAN_FILESTORE_ID"),
1597
- documentProofFilestoreId: t("DOCUMENT_PROOF_FILESTORE_ID"),
1598
- buildingImageFileStoreId: t("BUILDING_IMAGE_FILESTORE_ID"),
1599
- propertyDocumentFileStoreId: t("PROPERTY_DOCUMENT_FILESTORE_ID"),
1600
- meterPhotoFileStoreId: t("METER_PHOTO_FILESTORE_ID"),
1601
- modifiedBy: t("MODIFIED_BY"),
1602
- emailId: t("EMAIL_ID"),
1603
- dob: t("DOB"),
1604
- consumerType: t("CONSUMER_TYPE"),
1605
- createdTime: t("CREATED_TIME"),
1606
- lastModifiedTime: t("LAST_MODIFIED_TIME"),
1607
- meterLatitude: t("EKYC_METER_LATITUDE1"),
1608
- meterLongitude: t("EKYC_METER_LONGITUDE1")
1609
- };
1610
- const toTitleCase = str => {
1611
- if (!str) return "";
1612
- let cleanStr = String(str);
1613
- if (cleanStr.includes(".") && !cleanStr.includes("@") && isNaN(Number(cleanStr))) {
1614
- cleanStr = cleanStr.split(".").pop();
1615
- }
1616
- return cleanStr.toLowerCase().replace(/_/g, " ").replace(/\b\w/g, c => c.toUpperCase());
1617
- };
1618
- const skipTitleCase = ["kno", "mobileNumber", "emailId", "email", "pincode", "mrkey", "dob", "createdTime", "lastModifiedTime", "meterLatitude", "meterLongitude"];
1619
- const translatedFields = ["meterMake", "meterLocation"];
1620
- const excelData = consumerList.map(item => {
1621
- const cleanObj = {};
1622
- const fullName = [item.firstName, item.middleName, item.lastName].filter(Boolean).join(" ");
1623
- if (fullName) {
1624
- cleanObj[t("CONSUMER_NAME") || "Consumer Name"] = toTitleCase(fullName);
1625
- }
1626
- Object.keys(item).forEach(key => {
1627
- if (excludedKeys.includes(key)) return;
1628
- let val = item[key];
1629
- if (typeof val === "object" && val !== null) {
1630
- return;
1631
- }
1632
- if (String(val).toLowerCase() === "true") {
1633
- val = t("CS_YES");
1634
- } else if (String(val).toLowerCase() === "false") {
1635
- val = t("CS_NO");
1636
- }
1637
- const friendlyHeader = headerMapping[key] || t(key.toUpperCase()) || key;
1638
- if (typeof val === "string" && translatedFields.includes(key)) {
1639
- cleanObj[friendlyHeader] = t(val);
1640
- } else if (typeof val === "string" && !skipTitleCase.includes(key)) {
1641
- cleanObj[friendlyHeader] = toTitleCase(val);
1642
- } else {
1643
- cleanObj[friendlyHeader] = val;
1644
- }
1645
- });
1646
- return cleanObj;
1647
- });
1499
+ const excelData = getEkycExcelData(consumerList, t);
1648
1500
  const cleanFileName = "eKYC_Data_" + vendorName.replace(/[^a-zA-Z0-9]/g, "_");
1649
1501
  Digit.Download.Excel(excelData, cleanFileName);
1650
1502
  });
@@ -1732,7 +1584,7 @@ const VendorDetailsCard = () => {
1732
1584
  accessor: row => (row === null || row === void 0 ? void 0 : row.totalKnos) || 0,
1733
1585
  id: "totalEkycApplications"
1734
1586
  }, {
1735
- Header: t("EKYC_COMPLETED") || "eKYC Completed",
1587
+ Header: t("EKYC_SUBMITTED") || "eKYC Completed",
1736
1588
  accessor: row => (row === null || row === void 0 ? void 0 : row.submittedKnos) || 0,
1737
1589
  id: "ekycCompleted"
1738
1590
  }, {
@@ -2731,7 +2583,7 @@ const Inbox = _ref2 => {
2731
2583
  type: "today",
2732
2584
  icon: /*#__PURE__*/React.createElement(FaUsers, null)
2733
2585
  }, {
2734
- label: t("EKYC_COMPLETED"),
2586
+ label: t("EKYC_SUBMITTED_TITLE"),
2735
2587
  count: (progressMetrics === null || progressMetrics === void 0 ? void 0 : progressMetrics.submittedKnos) || 0,
2736
2588
  color: "#10B981",
2737
2589
  type: "month",
@@ -4721,44 +4573,83 @@ const EKYCForm = _ref => {
4721
4573
  }))))));
4722
4574
  };
4723
4575
 
4576
+ const VendorCardSkeleton = () => {
4577
+ return /*#__PURE__*/React.createElement("div", {
4578
+ className: "vendor-perf-card vendor-perf-card-skeleton"
4579
+ }, /*#__PURE__*/React.createElement("div", {
4580
+ className: "vendor-card-header"
4581
+ }, /*#__PURE__*/React.createElement("div", {
4582
+ className: "vendor-title"
4583
+ }, /*#__PURE__*/React.createElement("div", {
4584
+ className: "skeleton skeleton-icon"
4585
+ }), /*#__PURE__*/React.createElement("div", {
4586
+ className: "skeleton-title-wrapper"
4587
+ }, /*#__PURE__*/React.createElement("div", {
4588
+ className: "skeleton skeleton-title"
4589
+ }), /*#__PURE__*/React.createElement("div", {
4590
+ className: "skeleton skeleton-subtitle"
4591
+ }))), /*#__PURE__*/React.createElement("div", {
4592
+ className: "skeleton skeleton-kno-badge"
4593
+ })), /*#__PURE__*/React.createElement("div", {
4594
+ className: "progress-section"
4595
+ }, /*#__PURE__*/React.createElement("div", {
4596
+ className: "skeleton skeleton-progress-bar"
4597
+ }), /*#__PURE__*/React.createElement("div", {
4598
+ className: "progress-label"
4599
+ }, /*#__PURE__*/React.createElement("div", {
4600
+ className: "skeleton skeleton-progress-label"
4601
+ }), /*#__PURE__*/React.createElement("div", {
4602
+ className: "skeleton skeleton-progress-value"
4603
+ }))), /*#__PURE__*/React.createElement("div", {
4604
+ className: "stats-grid"
4605
+ }, [1, 2, 3].map(item => /*#__PURE__*/React.createElement("div", {
4606
+ className: "stat-item",
4607
+ key: item
4608
+ }, /*#__PURE__*/React.createElement("div", {
4609
+ className: "skeleton skeleton-stat-value"
4610
+ }), /*#__PURE__*/React.createElement("div", {
4611
+ className: "skeleton skeleton-stat-label"
4612
+ })))), /*#__PURE__*/React.createElement("div", {
4613
+ className: "knos-summary"
4614
+ }, [1, 2, 3].map(item => /*#__PURE__*/React.createElement("div", {
4615
+ className: "kno-stat",
4616
+ key: item
4617
+ }, /*#__PURE__*/React.createElement("div", {
4618
+ className: "skeleton skeleton-status-label"
4619
+ }), /*#__PURE__*/React.createElement("div", {
4620
+ className: "skeleton skeleton-status-value"
4621
+ })))));
4622
+ };
4623
+ const VendorPerformanceSkeleton = () => {
4624
+ return /*#__PURE__*/React.createElement("div", {
4625
+ className: "vendors-grid"
4626
+ }, [1, 2, 3].map(item => /*#__PURE__*/React.createElement(VendorCardSkeleton, {
4627
+ key: item
4628
+ })));
4629
+ };
4724
4630
  const AdminDashboard = () => {
4725
4631
  const _useTranslation = useTranslation(),
4726
4632
  t = _useTranslation.t;
4727
4633
  const history = useHistory();
4728
- let tenantId = Digit.ULBService.getCurrentTenantId();
4729
- if (!tenantId || tenantId === "dl") {
4730
- tenantId = "dl.djb";
4731
- }
4732
- const _Digit$Hooks$fsm$useD = Digit.Hooks.fsm.useDsoSearch(tenantId, {
4733
- status: "ACTIVE"
4734
- }, {
4735
- enabled: !!tenantId
4736
- }),
4737
- vendorSearchResponse = _Digit$Hooks$fsm$useD.data,
4738
- isVendorSearchLoading = _Digit$Hooks$fsm$useD.isLoading;
4739
- const allVendorIds = useMemo(() => {
4740
- if (!vendorSearchResponse) return [];
4741
- return vendorSearchResponse.map(v => {
4742
- const dso = v.dsoDetails || v;
4743
- return dso.id || dso.vendorId || v.id || v.vendorId;
4744
- }).filter(Boolean);
4745
- }, [vendorSearchResponse]);
4746
4634
  const _Digit$Hooks$ekyc$use = Digit.Hooks.ekyc.useEkycAssignmentProgress({
4747
- tenantId,
4635
+ tenantId: "dl.djb",
4748
4636
  allVendorsDetailed: true
4749
4637
  }, {
4750
- enabled: !!tenantId && allVendorIds.length > 0,
4638
+ enabled: true,
4751
4639
  keepPreviousData: true
4752
4640
  }),
4753
4641
  progressData = _Digit$Hooks$ekyc$use.data,
4754
4642
  isProgressLoading = _Digit$Hooks$ekyc$use.isLoading;
4755
4643
  return /*#__PURE__*/React.createElement(Card, {
4756
4644
  className: "surveyor-dashboard"
4757
- }, /*#__PURE__*/React.createElement(Dashboard, null), /*#__PURE__*/React.createElement("div", {
4645
+ }, /*#__PURE__*/React.createElement(Dashboard, {
4646
+ isProgressLoading: isProgressLoading,
4647
+ progressData: progressData
4648
+ }), /*#__PURE__*/React.createElement("div", {
4758
4649
  className: "admin-performance-section"
4759
4650
  }, /*#__PURE__*/React.createElement("h3", {
4760
4651
  className: "section-title"
4761
- }, t("EKYC_VENDORS_PERFORMANCE") || "eKYC Vendors Performance"), isVendorSearchLoading || isProgressLoading ? /*#__PURE__*/React.createElement(Loader, null) : /*#__PURE__*/React.createElement("div", {
4652
+ }, t("EKYC_VENDORS_PERFORMANCE") || "eKYC Vendors Performance"), isProgressLoading ? /*#__PURE__*/React.createElement(VendorPerformanceSkeleton, null) : /*#__PURE__*/React.createElement("div", {
4762
4653
  className: "vendors-grid"
4763
4654
  }, Array.isArray(progressData === null || progressData === void 0 ? void 0 : progressData.vendorReports) && (progressData === null || progressData === void 0 ? void 0 : progressData.vendorReports.length) && (progressData === null || progressData === void 0 ? void 0 : progressData.vendorReports.map(vendor => {
4764
4655
  var _vendor$vendorName, _vendor$vendorName$;
@@ -4825,7 +4716,7 @@ const AdminDashboard = () => {
4825
4716
  className: "kno-stat rejected"
4826
4717
  }, /*#__PURE__*/React.createElement("span", {
4827
4718
  className: "kno-label"
4828
- }, t("EKYC_SUBMITTED_BY_CITIZEN") || "SUBMITTED BY CITIZEN"), /*#__PURE__*/React.createElement("strong", null, vendor.selfEkycCountInZones))));
4719
+ }, t("EKYC_SUBMITTED_BY_CITIZENS").toLowerCase() || "Submitted by citizen"), /*#__PURE__*/React.createElement("strong", null, vendor.selfEkycCountInZones))));
4829
4720
  })))));
4830
4721
  };
4831
4722
 
@@ -5039,7 +4930,7 @@ const SupervisorDetailsCard = () => {
5039
4930
  type: "today",
5040
4931
  icon: /*#__PURE__*/React.createElement(FaUsers, null)
5041
4932
  }, {
5042
- label: "EKYC_COMPLETED",
4933
+ label: "EKYC_SUBMITTED_TITLE",
5043
4934
  count: (supervisor === null || supervisor === void 0 ? void 0 : supervisor.submittedKnos) || 0,
5044
4935
  color: "#10B981",
5045
4936
  type: "month",
@@ -5108,7 +4999,7 @@ const SupervisorDetailsCard = () => {
5108
4999
  accessor: row => (row === null || row === void 0 ? void 0 : row.totalKnos) || 0,
5109
5000
  id: "totalEkycApplications"
5110
5001
  }, {
5111
- Header: t("EKYC_COMPLETED") || "eKYC Completed",
5002
+ Header: t("EKYC_SUBMITTED") || "eKYC Completed",
5112
5003
  accessor: row => (row === null || row === void 0 ? void 0 : row.submittedKnos) || 0,
5113
5004
  id: "ekycCompleted"
5114
5005
  }, {
@@ -5233,156 +5124,7 @@ const SupervisorDetailsCard = () => {
5233
5124
  alert(t("NO_DATA_FOUND") || "No data found for download.");
5234
5125
  return;
5235
5126
  }
5236
- const excludedKeys = ["status", "source", "assignedAt", "connectionType", "approvedAt", "alternateMobileNo", "city", "state", "addressType", "addressProofType", "mrcode", "areacode", "verificationStatus", "surveyorId", "supervisorId", "vendorId", "assignmentType", "assignmentValue", "assignedTime", "isSelfAssigned", "userType", "tenantName", "tenantMobile", "doorPhotoFilestoreId", "panFilestoreId", "documentProofFilestoreId", "buildingImageFileStoreId", "propertyDocumentFileStoreId", "meterPhotoFileStoreId", "modifiedBy", "zoneCode", "propertyType", "subPropertyCategory"];
5237
- const headerMapping = {
5238
- kno: t("KNO"),
5239
- firstName: t("FIRST_NAME"),
5240
- middleName: t("MIDDLE_NAME"),
5241
- lastName: t("LAST_NAME"),
5242
- status: t("STATUS"),
5243
- ekycStatus: t("EKYC_STATUS"),
5244
- zoneName: t("ZONE"),
5245
- zoneCode: t("ZONE_CODE"),
5246
- assembly: t("EKYC_ASSEMBLY"),
5247
- ward: t("WARD"),
5248
- pincode: t("EKYC_PINCODE"),
5249
- addressRaw: t("ADDRESS_RAW"),
5250
- locality: t("EKYC_LOCALITY"),
5251
- subLocality: t("SUB_LOCALITY"),
5252
- flatHouseNumber: t("FLAT_HOUSE_NUMBER"),
5253
- streetName: t("STREET_NAME"),
5254
- landmark: t("EKYC_LANDMARK"),
5255
- city: t("CITY"),
5256
- state: t("STATE"),
5257
- addressType: t("ADDRESS_TYPE"),
5258
- addressProofType: t("ADDRESS_PROOF_TYPE"),
5259
- mobileNo: t("MOBILE_NUMBER"),
5260
- alternateMobileNo: t("ALTERNATE_MOBILE_NUMBER"),
5261
- whatsappNo: t("WHATSAPP_NO"),
5262
- email: t("EMAIL"),
5263
- landlineNo: t("LANDLINE_NO"),
5264
- mrkey: t("MR_KEY"),
5265
- mrcode: t("MR_CODE"),
5266
- areacode: t("AREA_CODE"),
5267
- source: t("SOURCE"),
5268
- submittedAt: t("SUBMITTED_AT"),
5269
- assignedAt: t("ASSIGNED_AT"),
5270
- connectionType: t("CONNECTION_TYPE"),
5271
- Type: t("CONSUMER_TYPE"),
5272
- occupantType: t("OCCUPANT_TYPE"),
5273
- knoCategory: t("KNO_CATEGORY"),
5274
- approvedAt: t("APPROVED_AT"),
5275
- gender: t("GENDER"),
5276
- parentSpouse: t("PARENT_SPOUSE"),
5277
- fatherOrHusbandName: t("FATHER_HUSBUND_NAME"),
5278
- relationship: t("RELATIONSHIP"),
5279
- informantName: t("INFORMANT_NAME"),
5280
- informantRelation: t("INFORMANT_RELATION"),
5281
- informantIs: t("INFORMANT_IS"),
5282
- contactPerson: t("CONTACT_PERSON"),
5283
- relation: t("RELATION"),
5284
- entityName: t("ENTITY_NAME"),
5285
- designation: t("DESIGNATION"),
5286
- department: t("DEPARTMENT"),
5287
- employeeId: t("EMPLOYEE_ID"),
5288
- ownerMobile: t("OWNER_MOBILE"),
5289
- ownerVerificationDone: t("OWNER_VERIFICATION_DONE"),
5290
- consentGiven: t("CONSENT_GIVEN"),
5291
- proofOfIdentityType: t("PROOF_OF_IDENTITY_TYPE"),
5292
- documentNumber: t("DOCUMENT_NUMBER"),
5293
- noOfPerson: t("NUMBER_OF_PERSON"),
5294
- latitude: t("LATITUDE"),
5295
- longitude: t("LONGITUDE"),
5296
- gpsValid: t("GPS_VALID"),
5297
- meterNumber: t("METER_NUMBER"),
5298
- meterMake: t("METER_MAKE"),
5299
- meterStatus: t("METER_STATUS"),
5300
- meterCondition: t("METER_CONDITION"),
5301
- meterLocation: t("METER_LOCATION"),
5302
- meterLocationAddress: t("METER_LOCATION_ADDRESS"),
5303
- workingStatus: t("WORKING_STATUS"),
5304
- sewerConnection: t("SEWER_CONNECTION"),
5305
- septicTank: t("SEPTIC_TANK"),
5306
- lastBillRaised: t("LAST_BILL_RAISED"),
5307
- lastBillReceivedDate: t("LAST_BILL_RECEIVED_DATE"),
5308
- accessToMeter: t("ACCESS_TO_METER"),
5309
- systemMeterId: t("SYSTEM_METER_ID"),
5310
- lastBillNotRaisedReason: t("LAST_BILL_NOT_RAISED_REASON"),
5311
- waterConnectionYears: t("WATER_CONNECTION_YEARS"),
5312
- sewerConnectionYears: t("SEWER_CONNECTION_YEARS"),
5313
- pidNumber: t("PID_NUMBER"),
5314
- propertyType: t("PROPERTY_TYPE"),
5315
- subPropertyCategory: t("SUB_PROPERTY_CATEGORY"),
5316
- noOfFloor: t("NO_OF_FLOOR"),
5317
- noOfRooms: t("NO_OF_ROOMS"),
5318
- noOfBeds: t("NO_OF_BEDS"),
5319
- numberOfDwellingUnits: t("NUMBER_OF_DWELLING_UNITS"),
5320
- floorNo: t("FLOOR_NO"),
5321
- userType: t("USER_TYPE"),
5322
- tenantName: t("TENANT_NAME"),
5323
- tenantMobile: t("TENANT_MOBILE"),
5324
- verificationStatus: t("VERIFICATION_STATUS"),
5325
- houseBuiltDuration: t("HOUSE_BUILT_DURATION"),
5326
- surveyorId: t("SURVEYOR_ID"),
5327
- supervisorId: t("SUPERVISOR_ID"),
5328
- vendorId: t("VENDOR_ID"),
5329
- assignmentType: t("ASSIGNMENT_TYPE"),
5330
- assignmentValue: t("ASSIGNMENT_VALUE"),
5331
- assignedTime: t("ASSIGNED_TIME"),
5332
- isSelfAssigned: t("IS_SELF_ASSIGNED"),
5333
- doorPhotoFilestoreId: t("DOOR_PHOTO_FILESTORE_ID"),
5334
- panFilestoreId: t("PAN_FILESTORE_ID"),
5335
- documentProofFilestoreId: t("DOCUMENT_PROOF_FILESTORE_ID"),
5336
- buildingImageFileStoreId: t("BUILDING_IMAGE_FILESTORE_ID"),
5337
- propertyDocumentFileStoreId: t("PROPERTY_DOCUMENT_FILESTORE_ID"),
5338
- meterPhotoFileStoreId: t("METER_PHOTO_FILESTORE_ID"),
5339
- modifiedBy: t("MODIFIED_BY"),
5340
- emailId: t("EMAIL_ID"),
5341
- dob: t("DOB"),
5342
- consumerType: t("CONSUMER_TYPE"),
5343
- createdTime: t("CREATED_TIME"),
5344
- lastModifiedTime: t("LAST_MODIFIED_TIME"),
5345
- meterLatitude: t("EKYC_METER_LATITUDE1"),
5346
- meterLongitude: t("EKYC_METER_LONGITUDE1")
5347
- };
5348
- const toTitleCase = str => {
5349
- if (!str) return "";
5350
- let cleanStr = String(str);
5351
- if (cleanStr.includes(".") && !cleanStr.includes("@") && isNaN(Number(cleanStr))) {
5352
- cleanStr = cleanStr.split(".").pop();
5353
- }
5354
- return cleanStr.toLowerCase().replace(/_/g, " ").replace(/\b\w/g, c => c.toUpperCase());
5355
- };
5356
- const skipTitleCase = ["kno", "mobileNumber", "emailId", "email", "pincode", "mrkey", "dob", "createdTime", "lastModifiedTime", "meterLatitude", "meterLongitude"];
5357
- const translatedFields = ["meterMake", "meterLocation"];
5358
- const excelData = consumerList.map(item => {
5359
- const cleanObj = {};
5360
- const fullName = [item.firstName, item.middleName, item.lastName].filter(Boolean).join(" ");
5361
- if (fullName) {
5362
- cleanObj[t("CONSUMER_NAME") || "Consumer Name"] = toTitleCase(fullName);
5363
- }
5364
- Object.keys(item).forEach(key => {
5365
- if (excludedKeys.includes(key)) return;
5366
- let val = item[key];
5367
- if (typeof val === "object" && val !== null) {
5368
- return;
5369
- }
5370
- if (String(val).toLowerCase() === "true") {
5371
- val = t("CS_YES");
5372
- } else if (String(val).toLowerCase() === "false") {
5373
- val = t("CS_NO");
5374
- }
5375
- const friendlyHeader = headerMapping[key] || t(key.toUpperCase()) || key;
5376
- if (typeof val === "string" && translatedFields.includes(key)) {
5377
- cleanObj[friendlyHeader] = t(val);
5378
- } else if (typeof val === "string" && !skipTitleCase.includes(key)) {
5379
- cleanObj[friendlyHeader] = toTitleCase(val);
5380
- } else {
5381
- cleanObj[friendlyHeader] = val;
5382
- }
5383
- });
5384
- return cleanObj;
5385
- });
5127
+ const excelData = getEkycExcelData(consumerList, t);
5386
5128
  const cleanFileName = "eKYC_Data_Supervisor_" + fullName.replace(/[^a-zA-Z0-9]/g, "_");
5387
5129
  Digit.Download.Excel(excelData, cleanFileName);
5388
5130
  });
@@ -6424,148 +6166,7 @@ const SurveyorDetailsDashboard = () => {
6424
6166
  alert(t("NO_DATA_FOUND") || "No data found for download.");
6425
6167
  return;
6426
6168
  }
6427
- const excludedKeys = ["status", "source", "assignedAt", "connectionType", "approvedAt", "alternateMobileNo", "city", "state", "addressType", "addressProofType", "mrcode", "areacode", "verificationStatus", "surveyorId", "supervisorId", "vendorId", "assignmentType", "assignmentValue", "assignedTime", "isSelfAssigned", "userType", "tenantName", "tenantMobile", "doorPhotoFilestoreId", "panFilestoreId", "documentProofFilestoreId", "buildingImageFileStoreId", "propertyDocumentFileStoreId", "meterPhotoFileStoreId", "modifiedBy", "zoneCode", "propertyType", "subPropertyCategory"];
6428
- const headerMapping = {
6429
- kno: t("KNO"),
6430
- firstName: t("FIRST_NAME"),
6431
- middleName: t("MIDDLE_NAME"),
6432
- lastName: t("LAST_NAME"),
6433
- status: t("STATUS"),
6434
- ekycStatus: t("EKYC_STATUS"),
6435
- zoneName: t("ZONE"),
6436
- zoneCode: t("ZONE_CODE"),
6437
- assembly: t("EKYC_ASSEMBLY"),
6438
- ward: t("WARD"),
6439
- pincode: t("EKYC_PINCODE"),
6440
- addressRaw: t("ADDRESS_RAW"),
6441
- locality: t("EKYC_LOCALITY"),
6442
- subLocality: t("SUB_LOCALITY"),
6443
- flatHouseNumber: t("FLAT_HOUSE_NUMBER"),
6444
- streetName: t("STREET_NAME"),
6445
- landmark: t("EKYC_LANDMARK"),
6446
- city: t("CITY"),
6447
- state: t("STATE"),
6448
- addressType: t("ADDRESS_TYPE"),
6449
- addressProofType: t("ADDRESS_PROOF_TYPE"),
6450
- mobileNo: t("MOBILE_NUMBER"),
6451
- alternateMobileNo: t("ALTERNATE_MOBILE_NUMBER"),
6452
- whatsappNo: t("WHATSAPP_NO"),
6453
- email: t("EMAIL"),
6454
- landlineNo: t("LANDLINE_NO"),
6455
- mrkey: t("MR_KEY"),
6456
- mrcode: t("MR_CODE"),
6457
- areacode: t("AREA_CODE"),
6458
- source: t("SOURCE"),
6459
- submittedAt: t("SUBMITTED_AT"),
6460
- assignedAt: t("ASSIGNED_AT"),
6461
- connectionType: t("CONNECTION_TYPE"),
6462
- Type: t("CONSUMER_TYPE"),
6463
- occupantType: t("OCCUPANT_TYPE"),
6464
- knoCategory: t("KNO_CATEGORY"),
6465
- approvedAt: t("APPROVED_AT"),
6466
- gender: t("GENDER"),
6467
- parentSpouse: t("PARENT_SPOUSE"),
6468
- fatherOrHusbandName: t("FATHER_HUSBUND_NAME"),
6469
- relationship: t("RELATIONSHIP"),
6470
- informantName: t("INFORMANT_NAME"),
6471
- informantRelation: t("INFORMANT_RELATION"),
6472
- informantIs: t("INFORMANT_IS"),
6473
- contactPerson: t("CONTACT_PERSON"),
6474
- relation: t("RELATION"),
6475
- entityName: t("ENTITY_NAME"),
6476
- designation: t("DESIGNATION"),
6477
- department: t("DEPARTMENT"),
6478
- employeeId: t("EMPLOYEE_ID"),
6479
- ownerMobile: t("OWNER_MOBILE"),
6480
- ownerVerificationDone: t("OWNER_VERIFICATION_DONE"),
6481
- consentGiven: t("CONSENT_GIVEN"),
6482
- proofOfIdentityType: t("PROOF_OF_IDENTITY_TYPE"),
6483
- documentNumber: t("DOCUMENT_NUMBER"),
6484
- noOfPerson: t("NUMBER_OF_PERSON"),
6485
- latitude: t("LATITUDE"),
6486
- longitude: t("LONGITUDE"),
6487
- gpsValid: t("GPS_VALID"),
6488
- meterNumber: t("METER_NUMBER"),
6489
- meterMake: t("METER_MAKE"),
6490
- meterStatus: t("METER_STATUS"),
6491
- meterCondition: t("METER_CONDITION"),
6492
- meterLocation: t("METER_LOCATION"),
6493
- meterLocationAddress: t("METER_LOCATION_ADDRESS"),
6494
- workingStatus: t("WORKING_STATUS"),
6495
- sewerConnection: t("SEWER_CONNECTION"),
6496
- septicTank: t("SEPTIC_TANK"),
6497
- lastBillRaised: t("LAST_BILL_RAISED"),
6498
- lastBillReceivedDate: t("LAST_BILL_RECEIVED_DATE"),
6499
- accessToMeter: t("ACCESS_TO_METER"),
6500
- systemMeterId: t("SYSTEM_METER_ID"),
6501
- lastBillNotRaisedReason: t("LAST_BILL_NOT_RAISED_REASON"),
6502
- waterConnectionYears: t("WATER_CONNECTION_YEARS"),
6503
- sewerConnectionYears: t("SEWER_CONNECTION_YEARS"),
6504
- pidNumber: t("PID_NUMBER"),
6505
- propertyType: t("PROPERTY_TYPE"),
6506
- subPropertyCategory: t("SUB_PROPERTY_CATEGORY"),
6507
- noOfFloor: t("NO_OF_FLOOR"),
6508
- noOfRooms: t("NO_OF_ROOMS"),
6509
- noOfBeds: t("NO_OF_BEDS"),
6510
- numberOfDwellingUnits: t("NUMBER_OF_DWELLING_UNITS"),
6511
- floorNo: t("FLOOR_NO"),
6512
- userType: t("USER_TYPE"),
6513
- tenantName: t("TENANT_NAME"),
6514
- tenantMobile: t("TENANT_MOBILE"),
6515
- verificationStatus: t("VERIFICATION_STATUS"),
6516
- houseBuiltDuration: t("HOUSE_BUILT_DURATION"),
6517
- surveyorId: t("SURVEYOR_ID"),
6518
- supervisorId: t("SUPERVISOR_ID"),
6519
- vendorId: t("VENDOR_ID"),
6520
- assignmentType: t("ASSIGNMENT_TYPE"),
6521
- assignmentValue: t("ASSIGNMENT_VALUE"),
6522
- assignedTime: t("ASSIGNED_TIME"),
6523
- isSelfAssigned: t("IS_SELF_ASSIGNED"),
6524
- doorPhotoFilestoreId: t("DOOR_PHOTO_FILESTORE_ID"),
6525
- panFilestoreId: t("PAN_FILESTORE_ID"),
6526
- documentProofFilestoreId: t("DOCUMENT_PROOF_FILESTORE_ID"),
6527
- buildingImageFileStoreId: t("BUILDING_IMAGE_FILESTORE_ID"),
6528
- propertyDocumentFileStoreId: t("PROPERTY_DOCUMENT_FILESTORE_ID"),
6529
- meterPhotoFileStoreId: t("METER_PHOTO_FILESTORE_ID"),
6530
- modifiedBy: t("MODIFIED_BY"),
6531
- emailId: t("EMAIL_ID"),
6532
- dob: t("DOB"),
6533
- consumerType: t("CONSUMER_TYPE"),
6534
- createdTime: t("CREATED_TIME"),
6535
- lastModifiedTime: t("LAST_MODIFIED_TIME"),
6536
- meterLatitude: t("EKYC_METER_LATITUDE1"),
6537
- meterLongitude: t("EKYC_METER_LONGITUDE1")
6538
- };
6539
- const skipTitleCase = ["kno", "mobileNumber", "emailId", "email", "pincode", "mrkey", "dob", "createdTime", "lastModifiedTime", "meterLatitude", "meterLongitude"];
6540
- const translatedFields = ["meterMake", "meterLocation"];
6541
- const excelData = consumerList.map(item => {
6542
- const cleanObj = {};
6543
- const fullName = [item.firstName, item.middleName, item.lastName].filter(Boolean).join(" ");
6544
- if (fullName) {
6545
- cleanObj[t("CONSUMER_NAME") || "Consumer Name"] = toTitleCase(fullName);
6546
- }
6547
- Object.keys(item).forEach(key => {
6548
- if (excludedKeys.includes(key)) return;
6549
- let val = item[key];
6550
- if (typeof val === "object" && val !== null) {
6551
- return;
6552
- }
6553
- if (String(val).toLowerCase() === "true") {
6554
- val = t("CS_YES");
6555
- } else if (String(val).toLowerCase() === "false") {
6556
- val = t("CS_NO");
6557
- }
6558
- const friendlyHeader = headerMapping[key] || t(key.toUpperCase()) || key;
6559
- if (typeof val === "string" && translatedFields.includes(key)) {
6560
- cleanObj[friendlyHeader] = t(val);
6561
- } else if (typeof val === "string" && !skipTitleCase.includes(key)) {
6562
- cleanObj[friendlyHeader] = toTitleCase(val);
6563
- } else {
6564
- cleanObj[friendlyHeader] = val;
6565
- }
6566
- });
6567
- return cleanObj;
6568
- });
6169
+ const excelData = getEkycExcelData(consumerList, t);
6569
6170
  const cleanFileName = "eKYC_Data_" + fullName.replace(/[^a-zA-Z0-9]/g, "_");
6570
6171
  Digit.Download.Excel(excelData, cleanFileName);
6571
6172
  });
@@ -7170,10 +6771,6 @@ const SupervisorInboxTableConfig = _ref => {
7170
6771
 
7171
6772
  const AssignEkyc = () => {
7172
6773
  var _formState$tableForm, _formState$tableForm2, _formState$tableForm3, _formState$tableForm4, _formState$searchForm, _dashboardData$dashbo;
7173
- let tenantId = Digit.ULBService.getCurrentTenantId();
7174
- if (!tenantId || tenantId === "dl") {
7175
- tenantId = "dl.djb";
7176
- }
7177
6774
  const _useReducer = useReducer(formReducer, formInitValue),
7178
6775
  formState = _useReducer[0],
7179
6776
  dispatch = _useReducer[1];
@@ -7191,17 +6788,12 @@ const AssignEkyc = () => {
7191
6788
  if (isSearchActive) {
7192
6789
  filters.mobileNumber = mobileNumber;
7193
6790
  }
7194
- const _Digit$Hooks$fsm$useS = Digit.Hooks.fsm.useSurveyorSearch(tenantId, filters, {
7195
- enabled: !!tenantId,
6791
+ const _Digit$Hooks$fsm$useS = Digit.Hooks.fsm.useSurveyorSearch("dl.djb", filters, {
6792
+ enabled: true,
7196
6793
  keepPreviousData: true
7197
6794
  }),
7198
6795
  dashboardData = _Digit$Hooks$fsm$useS.data,
7199
6796
  isLoading = _Digit$Hooks$fsm$useS.isLoading;
7200
- const _Digit$Hooks$ekyc$use = Digit.Hooks.ekyc.useEkycAssignmentProgress({
7201
- enabled: !!tenantId,
7202
- keepPreviousData: true
7203
- }),
7204
- isDataSearchLoading = _Digit$Hooks$ekyc$use.isLoading;
7205
6797
  const sourceData = useMemo(() => {
7206
6798
  return (dashboardData === null || dashboardData === void 0 ? void 0 : dashboardData.surveyors) || [];
7207
6799
  }, [dashboardData]);
@@ -7315,7 +6907,7 @@ const AssignEkyc = () => {
7315
6907
  table: filteredData,
7316
6908
  dispatch,
7317
6909
  onSortingByData,
7318
- tenantId,
6910
+ tenantId: "dl.djb",
7319
6911
  inboxStyles: {
7320
6912
  overflowX: "scroll",
7321
6913
  overflowY: "hidden"
@@ -7359,7 +6951,7 @@ const AssignEkyc = () => {
7359
6951
  propsForInboxMobileCards,
7360
6952
  formState,
7361
6953
  countData: dashboardData === null || dashboardData === void 0 ? void 0 : dashboardData.dashboardInfo,
7362
- isCardLoading: isDataSearchLoading,
6954
+ isCardLoading: false,
7363
6955
  showSearchOnMobile: true,
7364
6956
  forceTable: true
7365
6957
  })));
@@ -9256,12 +8848,7 @@ const CitizenApp = () => {
9256
8848
  }), /*#__PURE__*/React.createElement(PrivateRoute, {
9257
8849
  path: path + "/surveyor-dashboard/:id",
9258
8850
  component: () => /*#__PURE__*/React.createElement(LayoutWrapper, {
9259
- layoutClass: "normal"
9260
- }, /*#__PURE__*/React.createElement(SurveyorDetailsDashboard, null))
9261
- }), /*#__PURE__*/React.createElement(PrivateRoute, {
9262
- path: path + "/surveyor-dashboard",
9263
- component: () => /*#__PURE__*/React.createElement(LayoutWrapper, {
9264
- layoutClass: "normal"
8851
+ layoutClass: "action"
9265
8852
  }, /*#__PURE__*/React.createElement(SurveyorDetailsDashboard, null))
9266
8853
  }), /*#__PURE__*/React.createElement(PrivateRoute, {
9267
8854
  path: path + "/status/:applicationId",