@djb25/digit-ui-module-ekyc 1.0.30 → 1.0.32

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.
Files changed (63) hide show
  1. package/dist/index.js +8911 -1
  2. package/dist/index.js.map +1 -1
  3. package/dist/index.modern.js +3295 -2039
  4. package/dist/index.modern.js.map +1 -1
  5. package/package.json +4 -1
  6. package/dist/index.css +0 -54
  7. package/src/Module.js +0 -78
  8. package/src/components/AadhaarVerification.js +0 -315
  9. package/src/components/AssignEkyc.js +0 -236
  10. package/src/components/AssignEkycModal.js +0 -446
  11. package/src/components/CeoDashboard.js +0 -264
  12. package/src/components/CeoDashboard.jsx +0 -334
  13. package/src/components/ConnectionDetailsView.js +0 -241
  14. package/src/components/Dashboard.js +0 -43
  15. package/src/components/DesktopInbox.js +0 -176
  16. package/src/components/EKYCCard.js +0 -53
  17. package/src/components/Filter.js +0 -55
  18. package/src/components/MeterDetails.js +0 -336
  19. package/src/components/MobileInbox.js +0 -73
  20. package/src/components/PropertyInfo.js +0 -264
  21. package/src/components/Review.js +0 -696
  22. package/src/components/SearchConsumer.js +0 -142
  23. package/src/components/SearchFormFieldsComponent.js +0 -67
  24. package/src/components/SelectEkycZones.js +0 -71
  25. package/src/components/StatusCards.js +0 -148
  26. package/src/components/SurveyorDetailsCard.js +0 -512
  27. package/src/components/VendorDetails.jsx +0 -230
  28. package/src/components/analytics/charts/ClusterHeatmap.js +0 -88
  29. package/src/components/analytics/charts/ExecutiveBarChart.jsx +0 -30
  30. package/src/components/analytics/charts/ExecutiveLineChart.jsx +0 -159
  31. package/src/components/analytics/charts/ExecutivePieChart.jsx +0 -24
  32. package/src/components/analytics/charts/TaskStatusChart.js +0 -90
  33. package/src/components/analytics/components/AnalyticsTable.js +0 -106
  34. package/src/components/analytics/components/DashboardLayout.js +0 -52
  35. package/src/components/analytics/components/EmptyState.js +0 -27
  36. package/src/components/analytics/components/ErrorBoundary.js +0 -27
  37. package/src/components/analytics/components/FilterBar.js +0 -73
  38. package/src/components/analytics/components/NotificationPanel.js +0 -77
  39. package/src/components/analytics/components/SLAWidget.js +0 -56
  40. package/src/components/analytics/components/SkeletonLoader.js +0 -53
  41. package/src/components/analytics/components/SummaryCard.js +0 -74
  42. package/src/components/analytics/components/WorkflowTimeline.js +0 -55
  43. package/src/components/analytics/utils/exportUtils.js +0 -64
  44. package/src/components/analytics/utils/filterSerializer.js +0 -50
  45. package/src/components/mockData.js +0 -772
  46. package/src/config/AadhaarVerificationConfig.js +0 -367
  47. package/src/config/MeterDetailsConfig.js +0 -297
  48. package/src/config/PropertyInfoConfig.js +0 -145
  49. package/src/config/config.js +0 -70
  50. package/src/hook/SupervisorInboxTableConfig.js +0 -80
  51. package/src/hook/useInboxTableConfig.js +0 -131
  52. package/src/pages/citizen/Home.js +0 -54
  53. package/src/pages/citizen/Inbox.js +0 -265
  54. package/src/pages/citizen/index.js +0 -199
  55. package/src/pages/employee/ConsumerDetails.js +0 -299
  56. package/src/pages/employee/Create.js +0 -94
  57. package/src/pages/employee/EKYCForm.js +0 -118
  58. package/src/pages/employee/Inbox.js +0 -266
  59. package/src/pages/employee/Mapping.js +0 -358
  60. package/src/pages/employee/Update.js +0 -9
  61. package/src/pages/employee/index.js +0 -184
  62. package/src/utils/index.js +0 -46
  63. package/src/utils/reportDownloader.js +0 -90
@@ -1,772 +0,0 @@
1
- export const ekycMockData = {
2
- topKpis: {
3
- totalWaterConnections: 2990996,
4
- totalEkycCompleted: 2460810,
5
- totalPending: 530186,
6
- totalRejected: 224324,
7
- agencyEkycCompleted: 2352069,
8
- citizenSelfEkycCompleted: 638927,
9
- todaysEkyc: 54684,
10
- successRate: 82,
11
- rejectionPercentage: 7,
12
- },
13
-
14
- executiveMetrics: {
15
- totalSurveyors: 186,
16
- totalSupervisors: 56,
17
- activeJurisdictions: 27,
18
- todaysGrowth: 2.8,
19
- selfEkycAdoption: 38,
20
- avgApprovalTime: "2.3 Days",
21
- riskZones: 7,
22
- escalationsOpen: 18,
23
- },
24
-
25
- alerts: [
26
- {
27
- title: "North East District pending increased",
28
- priority: "high",
29
- change: "+22%",
30
- district: "North East District",
31
- },
32
- {
33
- title: "Agency 2 self eKYC adoption low",
34
- priority: "medium",
35
- change: "-12%",
36
- district: "West District",
37
- },
38
- {
39
- title: "Escalation raised in NWS Bhera Enclave",
40
- priority: "high",
41
- change: "+18",
42
- district: "Outer North",
43
- },
44
- {
45
- title: "Approval rate improved in East District",
46
- priority: "low",
47
- change: "+9%",
48
- district: "East District",
49
- },
50
- ],
51
-
52
- heatmapData: [
53
- {
54
- district: "Outer North",
55
- intensity: 82,
56
- },
57
- {
58
- district: "East District",
59
- intensity: 48,
60
- },
61
- {
62
- district: "South District",
63
- intensity: 67,
64
- },
65
- {
66
- district: "North East District",
67
- intensity: 74,
68
- },
69
- ],
70
-
71
- dailyTrend: [
72
- {
73
- label: "Mon",
74
- completed: 270689,
75
- pending: 491305,
76
- rejected: 145810,
77
- },
78
- {
79
- label: "Tue",
80
- completed: 442945,
81
- pending: 466563,
82
- rejected: 157026,
83
- },
84
- {
85
- label: "Wed",
86
- completed: 615202,
87
- pending: 441821,
88
- rejected: 168243,
89
- },
90
- {
91
- label: "Thu",
92
- completed: 812067,
93
- pending: 413545,
94
- rejected: 179459,
95
- },
96
- {
97
- label: "Fri",
98
- completed: 1033540,
99
- pending: 381733,
100
- rejected: 190675,
101
- },
102
- {
103
- label: "Sat",
104
- completed: 1279621,
105
- pending: 346388,
106
- rejected: 201891,
107
- },
108
- {
109
- label: "Sun",
110
- completed: 1574918,
111
- pending: 303973,
112
- rejected: 213107,
113
- },
114
- ],
115
-
116
- selfVsAgency: [
117
- {
118
- label: "Agency1",
119
- agency: 201457,
120
- citizen: 758414,
121
- },
122
- {
123
- label: "Agency 2",
124
- agency: 164302,
125
- citizen: 919322,
126
- },
127
- {
128
- label: "Agency 3",
129
- agency: 328451,
130
- citizen: 541772,
131
- },
132
- ],
133
-
134
- pendingVsCompleted: [
135
- {
136
- label: "Agency1",
137
- completed: 201457,
138
- pending: 201457,
139
- },
140
- {
141
- label: "Agency 2",
142
- completed: 164302,
143
- pending: 164302,
144
- },
145
- {
146
- label: "Agency 3",
147
- completed: 328451,
148
- pending: 77278,
149
- },
150
- ],
151
-
152
- rejectionAnalysis: [
153
- {
154
- label: "Agency1",
155
- rejected: 71990,
156
- success: 72,
157
- },
158
- {
159
- label: "Agency 2",
160
- rejected: 81271,
161
- success: 77,
162
- },
163
- {
164
- label: "Agency 3",
165
- rejected: 71063,
166
- success: 86,
167
- },
168
- ],
169
-
170
- vendors: [
171
- {
172
- id: 1,
173
- name: "Agency1",
174
-
175
- assignedConnections: 959871,
176
-
177
- completedEkyc: 201457,
178
-
179
- selfEkyc: 758414,
180
-
181
- pending: 201457,
182
-
183
- rejected: 71990,
184
-
185
- inactiveDemand: 1161328,
186
-
187
- successRate: 72,
188
-
189
- progress: 21,
190
-
191
- supervisors: 23,
192
-
193
- activeSurveyors: 64,
194
-
195
- jurisdictions: ["Outer North", "North West District", "Model Town AC 18", "Cluster 2", "North District"],
196
-
197
- dailyPerformance: [
198
- {
199
- day: "Mon",
200
- completed: 16116,
201
- pending: 196084,
202
- rejected: 53272,
203
- },
204
- {
205
- day: "Tue",
206
- completed: 26189,
207
- pending: 192727,
208
- rejected: 55072,
209
- },
210
- {
211
- day: "Wed",
212
- completed: 38276,
213
- pending: 188698,
214
- rejected: 57232,
215
- },
216
- {
217
- day: "Thu",
218
- completed: 52378,
219
- pending: 183997,
220
- rejected: 59751,
221
- },
222
- {
223
- day: "Fri",
224
- completed: 68495,
225
- pending: 178625,
226
- rejected: 62631,
227
- },
228
- {
229
- day: "Sat",
230
- completed: 84611,
231
- pending: 173253,
232
- rejected: 65510,
233
- },
234
- {
235
- day: "Sun",
236
- completed: 100728,
237
- pending: 167880,
238
- rejected: 68390,
239
- },
240
- ],
241
-
242
- zones: [
243
- {
244
- agency: "Agency1",
245
- district: "Outer North",
246
- cluster: "NWS Bhera Enclave",
247
-
248
- assignedConnections: 102669,
249
-
250
- location: "102669",
251
-
252
- zroOffice: "NWS Bhera Enclave",
253
-
254
- assemblyConstituency: "Part of Mundka AC 08",
255
-
256
- gpsLocation: null,
257
-
258
- distanceFromFarthestPoint: null,
259
-
260
- activeDemand: 202197,
261
-
262
- pppZones: 15800,
263
-
264
- inactiveDemand: 35265,
265
-
266
- districtwiseInactiveTotal: 237462,
267
- },
268
-
269
- {
270
- agency: "Agency1",
271
- district: "Outer North",
272
-
273
- cluster: "Narela",
274
-
275
- assignedConnections: 99528,
276
-
277
- location: "99528",
278
-
279
- zroOffice: "Narela",
280
-
281
- assemblyConstituency: "Narela AC 01",
282
-
283
- activeDemand: 99528,
284
-
285
- pppZones: 19465,
286
-
287
- inactiveDemand: 35265,
288
- },
289
-
290
- {
291
- agency: "Agency1",
292
-
293
- district: "North West District",
294
-
295
- cluster: "Rohini AC 13",
296
-
297
- assignedConnections: 71041,
298
-
299
- location: "71041",
300
-
301
- zroOffice: "Rohini",
302
-
303
- assemblyConstituency: "Rithala AC 06",
304
-
305
- activeDemand: 247949,
306
-
307
- pppZones: 28975,
308
-
309
- inactiveDemand: 49494,
310
- },
311
-
312
- {
313
- agency: "Agency1",
314
-
315
- district: "Mangol Puri AC 12",
316
-
317
- cluster: "Model Town AC 18",
318
-
319
- assignedConnections: 68957,
320
-
321
- location: "68957",
322
-
323
- zroOffice: "Central North District",
324
-
325
- assemblyConstituency: "Ashok Vihar",
326
-
327
- activeDemand: 231216,
328
-
329
- pppZones: 16627,
330
-
331
- inactiveDemand: 36915,
332
- },
333
-
334
- {
335
- agency: "Agency1",
336
-
337
- district: "Timarpur AC 03",
338
-
339
- cluster: "Cluster 2",
340
-
341
- assignedConnections: 34862,
342
-
343
- location: "34862",
344
-
345
- zroOffice: "Old Delhi District",
346
-
347
- assemblyConstituency: "Pratap Nagar",
348
-
349
- activeDemand: 99694,
350
-
351
- pppZones: 20011,
352
-
353
- inactiveDemand: 48011,
354
- },
355
-
356
- {
357
- agency: "Agency1",
358
-
359
- district: "Bali Maran AC 22",
360
-
361
- cluster: "North District",
362
-
363
- assignedConnections: 110507,
364
-
365
- location: "110507",
366
-
367
- zroOffice: "Burari",
368
-
369
- assemblyConstituency: "Burari AC 2",
370
-
371
- activeDemand: 178815,
372
-
373
- pppZones: 14700,
374
-
375
- inactiveDemand: 31772,
376
- },
377
- ],
378
- },
379
-
380
- {
381
- id: 2,
382
-
383
- name: "Agency 2",
384
-
385
- assignedConnections: 1083624,
386
-
387
- completedEkyc: 164302,
388
-
389
- selfEkyc: 919322,
390
-
391
- pending: 164302,
392
-
393
- rejected: 81271,
394
-
395
- inactiveDemand: 1247926,
396
-
397
- successRate: 77,
398
-
399
- progress: 15,
400
-
401
- supervisors: 14,
402
-
403
- activeSurveyors: 64,
404
-
405
- jurisdictions: ["West District", "Janak Puri", "South District"],
406
-
407
- dailyPerformance: [
408
- {
409
- day: "Mon",
410
- completed: 13144,
411
- pending: 159920,
412
- rejected: 60140,
413
- },
414
- {
415
- day: "Tue",
416
- completed: 21359,
417
- pending: 157182,
418
- rejected: 62172,
419
- },
420
- {
421
- day: "Wed",
422
- completed: 31217,
423
- pending: 153896,
424
- rejected: 64610,
425
- },
426
- {
427
- day: "Thu",
428
- completed: 42718,
429
- pending: 150062,
430
- rejected: 67454,
431
- },
432
- {
433
- day: "Fri",
434
- completed: 55862,
435
- pending: 145681,
436
- rejected: 70705,
437
- },
438
- {
439
- day: "Sat",
440
- completed: 69006,
441
- pending: 141299,
442
- rejected: 73956,
443
- },
444
- {
445
- day: "Sun",
446
- completed: 82151,
447
- pending: 136918,
448
- rejected: 77207,
449
- },
450
- ],
451
-
452
- zones: [
453
- {
454
- agency: "Agency 2",
455
-
456
- district: "West District",
457
-
458
- cluster: "Rajouri Garden AC 27",
459
-
460
- assignedConnections: 84506,
461
-
462
- location: "84506",
463
-
464
- zroOffice: "Rajouri Garden AC 27",
465
-
466
- assemblyConstituency: "Punjabi Bagh",
467
-
468
- activeDemand: 470766,
469
-
470
- pppZones: 13269,
471
-
472
- inactiveDemand: 64564,
473
- },
474
-
475
- {
476
- agency: "Agency 2",
477
-
478
- district: "West District",
479
-
480
- cluster: "Tilak Nagar AC 29",
481
-
482
- assignedConnections: 51428,
483
-
484
- location: "51428",
485
-
486
- zroOffice: "Tilak Nagar AC 29",
487
-
488
- assemblyConstituency: "Paschim Vihar",
489
-
490
- activeDemand: 470766,
491
-
492
- pppZones: 6298,
493
-
494
- inactiveDemand: 64564,
495
- },
496
-
497
- {
498
- agency: "Agency 2",
499
-
500
- district: "Part of Uttam Nagar & Vikas puri",
501
-
502
- cluster: "Janak Puri",
503
-
504
- assignedConnections: 163041,
505
-
506
- location: "163041",
507
-
508
- zroOffice: "Janakpuri",
509
-
510
- assemblyConstituency: "Janakpuri AC 30",
511
-
512
- activeDemand: 369772,
513
-
514
- pppZones: 25729,
515
-
516
- inactiveDemand: 60534,
517
- },
518
-
519
- {
520
- agency: "Agency 2",
521
-
522
- district: "South District",
523
-
524
- cluster: "South District",
525
-
526
- assignedConnections: 52803,
527
-
528
- location: "52803",
529
-
530
- zroOffice: "R K Puram",
531
-
532
- assemblyConstituency: "Malviya Nagar AC 43",
533
-
534
- activeDemand: 243086,
535
-
536
- pppZones: 9678,
537
-
538
- inactiveDemand: 39204,
539
- },
540
-
541
- {
542
- agency: "Agency 2",
543
-
544
- district: "South District",
545
-
546
- cluster: "Vasant Kunz",
547
-
548
- assignedConnections: 58997,
549
-
550
- location: "58997",
551
-
552
- zroOffice: "Vasant Kunj",
553
-
554
- assemblyConstituency: "Vasant Kunj",
555
-
556
- activeDemand: 243086,
557
-
558
- pppZones: 6691,
559
-
560
- inactiveDemand: 39204,
561
- },
562
- ],
563
- },
564
-
565
- {
566
- id: 3,
567
-
568
- name: "Agency 3",
569
-
570
- assignedConnections: 947501,
571
-
572
- completedEkyc: 328451,
573
-
574
- selfEkyc: 541772,
575
-
576
- pending: 77278,
577
-
578
- rejected: 71063,
579
-
580
- inactiveDemand: 1016841,
581
-
582
- successRate: 86,
583
-
584
- progress: 78,
585
-
586
- supervisors: 19,
587
-
588
- activeSurveyors: 58,
589
-
590
- jurisdictions: ["East District", "North East District", "South East District", "MNWS"],
591
-
592
- dailyPerformance: [
593
- {
594
- day: "Mon",
595
- completed: 44120,
596
- pending: 130002,
597
- rejected: 5711,
598
- },
599
- {
600
- day: "Tue",
601
- completed: 58221,
602
- pending: 121998,
603
- rejected: 7104,
604
- },
605
- {
606
- day: "Wed",
607
- completed: 70218,
608
- pending: 113201,
609
- rejected: 8842,
610
- },
611
- {
612
- day: "Thu",
613
- completed: 85124,
614
- pending: 104006,
615
- rejected: 9911,
616
- },
617
- {
618
- day: "Fri",
619
- completed: 102315,
620
- pending: 94441,
621
- rejected: 11214,
622
- },
623
- {
624
- day: "Sat",
625
- completed: 121009,
626
- pending: 85218,
627
- rejected: 12902,
628
- },
629
- {
630
- day: "Sun",
631
- completed: 142118,
632
- pending: 77278,
633
- rejected: 14101,
634
- },
635
- ],
636
-
637
- zones: [
638
- {
639
- agency: "Agency 3",
640
-
641
- district: "East District",
642
-
643
- cluster: "Mayur Vihar",
644
-
645
- assignedConnections: 72326,
646
-
647
- location: "72326",
648
-
649
- zroOffice: "Mayur Vihar",
650
-
651
- assemblyConstituency: "Trilokpuri AC 55",
652
-
653
- activeDemand: 328564,
654
-
655
- pppZones: 9691,
656
-
657
- inactiveDemand: 52477,
658
- },
659
-
660
- {
661
- agency: "Agency 3",
662
-
663
- district: "East District",
664
-
665
- cluster: "Yojna Vihar",
666
-
667
- assignedConnections: 40651,
668
-
669
- location: "40651",
670
-
671
- zroOffice: "Yojna Vihar",
672
-
673
- assemblyConstituency: "Vishwas Nagar AC 59",
674
-
675
- activeDemand: 328564,
676
-
677
- pppZones: 10097,
678
-
679
- inactiveDemand: 52477,
680
- },
681
-
682
- {
683
- agency: "Agency 3",
684
-
685
- district: "North East District",
686
-
687
- cluster: "GTB Enclave",
688
-
689
- assignedConnections: 80453,
690
-
691
- location: "80453",
692
-
693
- zroOffice: "GTB Enclave",
694
-
695
- assemblyConstituency: "Seemapuri AC 63",
696
-
697
- activeDemand: 323753,
698
-
699
- pppZones: 10671,
700
-
701
- inactiveDemand: 50575,
702
- },
703
-
704
- {
705
- agency: "Agency 3",
706
-
707
- district: "North East District",
708
-
709
- cluster: "Yamuna Vihar",
710
-
711
- assignedConnections: 90599,
712
-
713
- location: "90599",
714
-
715
- zroOffice: "Yamuna Vihar",
716
-
717
- assemblyConstituency: "Mustafabad AC 69",
718
-
719
- activeDemand: 323753,
720
-
721
- pppZones: 18185,
722
-
723
- inactiveDemand: 50575,
724
- },
725
-
726
- {
727
- agency: "Agency 3",
728
-
729
- district: "South East District",
730
-
731
- cluster: "Kalkaji AC 51",
732
-
733
- assignedConnections: 29188,
734
-
735
- location: "29188",
736
-
737
- zroOffice: "Kalkaji AC 51",
738
-
739
- assemblyConstituency: "Saket",
740
-
741
- activeDemand: 136102,
742
-
743
- pppZones: 3675,
744
-
745
- inactiveDemand: 23977,
746
- },
747
-
748
- {
749
- agency: "Agency 3",
750
-
751
- district: "South East District",
752
-
753
- cluster: "Okhla",
754
-
755
- assignedConnections: 18473,
756
-
757
- location: "18473",
758
-
759
- zroOffice: "Sarita Vihar/Okhla",
760
-
761
- assemblyConstituency: "Okhla AC 54",
762
-
763
- activeDemand: 136102,
764
-
765
- pppZones: 3703,
766
-
767
- inactiveDemand: 23977,
768
- },
769
- ],
770
- },
771
- ],
772
- };