@djb25/digit-ui-module-ekyc 1.0.59 → 1.0.60
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.js +92 -100
- package/dist/index.js.map +1 -1
- package/dist/index.modern.js +92 -100
- package/dist/index.modern.js.map +1 -1
- package/package.json +1 -1
package/dist/index.modern.js
CHANGED
|
@@ -2516,9 +2516,7 @@ const VendorDetailsCard = () => {
|
|
|
2516
2516
|
}, /*#__PURE__*/React.createElement("div", {
|
|
2517
2517
|
className: "ekyc-details-wrapper"
|
|
2518
2518
|
}, /*#__PURE__*/React.createElement("div", {
|
|
2519
|
-
className: "details-
|
|
2520
|
-
}, /*#__PURE__*/React.createElement("div", {
|
|
2521
|
-
className: "details-grid"
|
|
2519
|
+
className: "details-top-row"
|
|
2522
2520
|
}, /*#__PURE__*/React.createElement("div", {
|
|
2523
2521
|
className: "detail-item"
|
|
2524
2522
|
}, /*#__PURE__*/React.createElement("span", {
|
|
@@ -2532,28 +2530,8 @@ const VendorDetailsCard = () => {
|
|
|
2532
2530
|
}, t("EMAIL")), /*#__PURE__*/React.createElement("span", {
|
|
2533
2531
|
className: "value"
|
|
2534
2532
|
}, email)), /*#__PURE__*/React.createElement("div", {
|
|
2535
|
-
className: "detail-item",
|
|
2536
|
-
style: {
|
|
2537
|
-
gridColumn: "1 / -1"
|
|
2538
|
-
}
|
|
2539
|
-
}, /*#__PURE__*/React.createElement("span", {
|
|
2540
|
-
className: "label"
|
|
2541
|
-
}, t("ASSIGNED_ZONES") || "Assigned Zones"), /*#__PURE__*/React.createElement("span", {
|
|
2542
|
-
className: "value"
|
|
2543
|
-
}, zoneIds.length > 0 ? /*#__PURE__*/React.createElement("div", {
|
|
2544
|
-
className: "selected-zones",
|
|
2545
|
-
style: {
|
|
2546
|
-
marginTop: "4px",
|
|
2547
|
-
width: "100%"
|
|
2548
|
-
}
|
|
2549
|
-
}, zoneIds.map(zone => /*#__PURE__*/React.createElement("span", {
|
|
2550
|
-
key: zone,
|
|
2551
|
-
className: "selected-zone-chip"
|
|
2552
|
-
}, t(zone) || zone))) : "N/A")))), /*#__PURE__*/React.createElement("div", {
|
|
2553
|
-
className: "details-right"
|
|
2554
|
-
}, /*#__PURE__*/React.createElement("div", {
|
|
2555
2533
|
className: "download-card"
|
|
2556
|
-
}, /*#__PURE__*/React.createElement("h4", null, t("DOWNLOAD_EKYC_DATA") || "Download eKYC Data"), /*#__PURE__*/React.createElement("p", null, t("DOWNLOAD_EKYC_DATA_DESC") || "Export the complete eKYC verification records for your assigned jurisdiction into Excel format."), /*#__PURE__*/React.createElement("div", {
|
|
2534
|
+
}, /*#__PURE__*/React.createElement("div", null, /*#__PURE__*/React.createElement("h4", null, t("DOWNLOAD_EKYC_DATA") || "Download eKYC Data"), /*#__PURE__*/React.createElement("p", null, t("DOWNLOAD_EKYC_DATA_DESC") || "Export the complete eKYC verification records for your assigned jurisdiction into Excel format.")), /*#__PURE__*/React.createElement("div", {
|
|
2557
2535
|
className: "report-download",
|
|
2558
2536
|
ref: reportMenuRef
|
|
2559
2537
|
}, /*#__PURE__*/React.createElement("button", {
|
|
@@ -2637,12 +2615,31 @@ const VendorDetailsCard = () => {
|
|
|
2637
2615
|
}, t("CANCEL") || "Cancel"), /*#__PURE__*/React.createElement("button", {
|
|
2638
2616
|
className: "picker-apply-btn",
|
|
2639
2617
|
onClick: handleCustomDownload
|
|
2640
|
-
}, t("APPLY") || "Apply")))))))
|
|
2618
|
+
}, t("APPLY") || "Apply"))))))), /*#__PURE__*/React.createElement("div", {
|
|
2619
|
+
className: "full-width-item"
|
|
2620
|
+
}, /*#__PURE__*/React.createElement("span", {
|
|
2621
|
+
className: "label"
|
|
2622
|
+
}, t("ASSIGNED_ZONES") || "Assigned Zones"), /*#__PURE__*/React.createElement("span", {
|
|
2623
|
+
className: "value"
|
|
2624
|
+
}, zoneIds.length > 0 ? /*#__PURE__*/React.createElement("div", {
|
|
2625
|
+
className: "selected-zones",
|
|
2626
|
+
style: {
|
|
2627
|
+
marginTop: "4px",
|
|
2628
|
+
width: "100%",
|
|
2629
|
+
display: "flex",
|
|
2630
|
+
flexWrap: "wrap",
|
|
2631
|
+
gap: "8px"
|
|
2632
|
+
}
|
|
2633
|
+
}, zoneIds.map(zone => /*#__PURE__*/React.createElement("span", {
|
|
2634
|
+
key: zone,
|
|
2635
|
+
className: "selected-zone-chip"
|
|
2636
|
+
}, t(zone) || zone))) : "N/A")))), /*#__PURE__*/React.createElement(Card, {
|
|
2641
2637
|
className: "dashboard-card"
|
|
2642
2638
|
}, /*#__PURE__*/React.createElement(Table, {
|
|
2643
2639
|
t: t,
|
|
2644
2640
|
tableTitle: t("CONNECTED_SUPERVISORS") || "Connected Supervisors",
|
|
2645
2641
|
tableClass: "ekycTable",
|
|
2642
|
+
isTableScrollable: true,
|
|
2646
2643
|
data: paginatedSupervisors,
|
|
2647
2644
|
columns: supervisorColumns,
|
|
2648
2645
|
isLoading: isPageLoading,
|
|
@@ -2660,12 +2657,8 @@ const VendorDetailsCard = () => {
|
|
|
2660
2657
|
setCurrentPage(prev => prev - 1);
|
|
2661
2658
|
}
|
|
2662
2659
|
},
|
|
2663
|
-
onFirstPage: () =>
|
|
2664
|
-
|
|
2665
|
-
},
|
|
2666
|
-
onLastPage: () => {
|
|
2667
|
-
setCurrentPage(Math.max(Math.ceil(vendorSupervisors.length / pageSize) - 1, 0));
|
|
2668
|
-
},
|
|
2660
|
+
onFirstPage: () => setCurrentPage(0),
|
|
2661
|
+
onLastPage: () => setCurrentPage(Math.max(Math.ceil(vendorSupervisors.length / pageSize) - 1, 0)),
|
|
2669
2662
|
onPageSizeChange: e => {
|
|
2670
2663
|
setPageSize(Number(e.target.value));
|
|
2671
2664
|
setCurrentPage(0);
|
|
@@ -6196,9 +6189,7 @@ const SupervisorDetailsCard = () => {
|
|
|
6196
6189
|
}, /*#__PURE__*/React.createElement("div", {
|
|
6197
6190
|
className: "ekyc-details-wrapper"
|
|
6198
6191
|
}, /*#__PURE__*/React.createElement("div", {
|
|
6199
|
-
className: "details-
|
|
6200
|
-
}, /*#__PURE__*/React.createElement("div", {
|
|
6201
|
-
className: "details-grid"
|
|
6192
|
+
className: "details-top-row"
|
|
6202
6193
|
}, /*#__PURE__*/React.createElement("div", {
|
|
6203
6194
|
className: "detail-item"
|
|
6204
6195
|
}, /*#__PURE__*/React.createElement("span", {
|
|
@@ -6212,41 +6203,8 @@ const SupervisorDetailsCard = () => {
|
|
|
6212
6203
|
}, t("EMAIL")), /*#__PURE__*/React.createElement("span", {
|
|
6213
6204
|
className: "value"
|
|
6214
6205
|
}, email)), /*#__PURE__*/React.createElement("div", {
|
|
6215
|
-
className: "detail-item"
|
|
6216
|
-
}, /*#__PURE__*/React.createElement("span", {
|
|
6217
|
-
className: "label"
|
|
6218
|
-
}, t("GENDER")), /*#__PURE__*/React.createElement("span", {
|
|
6219
|
-
className: "value"
|
|
6220
|
-
}, gender)), /*#__PURE__*/React.createElement("div", {
|
|
6221
|
-
className: "detail-item"
|
|
6222
|
-
}, /*#__PURE__*/React.createElement("span", {
|
|
6223
|
-
className: "label"
|
|
6224
|
-
}, t("STATUS")), /*#__PURE__*/React.createElement("span", {
|
|
6225
|
-
className: "value"
|
|
6226
|
-
}, status)), /*#__PURE__*/React.createElement("div", {
|
|
6227
|
-
className: "detail-item"
|
|
6228
|
-
}, /*#__PURE__*/React.createElement("span", {
|
|
6229
|
-
className: "label"
|
|
6230
|
-
}, t("ASSIGNED_ZONE") || "Assigned Zone"), /*#__PURE__*/React.createElement("span", {
|
|
6231
|
-
className: "value"
|
|
6232
|
-
}, assignedZone && assignedZone !== "N/A" ? /*#__PURE__*/React.createElement("div", {
|
|
6233
|
-
className: "selected-zones",
|
|
6234
|
-
style: {
|
|
6235
|
-
marginTop: "4px"
|
|
6236
|
-
}
|
|
6237
|
-
}, /*#__PURE__*/React.createElement("span", {
|
|
6238
|
-
className: "selected-zone-chip"
|
|
6239
|
-
}, t(assignedZone.trim().toUpperCase()) || assignedZone)) : assignedZone)), /*#__PURE__*/React.createElement("div", {
|
|
6240
|
-
className: "detail-item"
|
|
6241
|
-
}, /*#__PURE__*/React.createElement("span", {
|
|
6242
|
-
className: "label"
|
|
6243
|
-
}, t("VENDOR_NAME") || "Vendor Name"), /*#__PURE__*/React.createElement("span", {
|
|
6244
|
-
className: "value"
|
|
6245
|
-
}, vendorName)))), /*#__PURE__*/React.createElement("div", {
|
|
6246
|
-
className: "details-right"
|
|
6247
|
-
}, /*#__PURE__*/React.createElement("div", {
|
|
6248
6206
|
className: "download-card"
|
|
6249
|
-
}, /*#__PURE__*/React.createElement("h4", null, t("DOWNLOAD_EKYC_DATA") || "Download eKYC Data"), /*#__PURE__*/React.createElement("p", null, t("DOWNLOAD_EKYC_DATA_DESC") || "Export the complete eKYC verification records for your assigned jurisdiction into Excel format."), /*#__PURE__*/React.createElement("div", {
|
|
6207
|
+
}, /*#__PURE__*/React.createElement("div", null, /*#__PURE__*/React.createElement("h4", null, t("DOWNLOAD_EKYC_DATA") || "Download eKYC Data"), /*#__PURE__*/React.createElement("p", null, t("DOWNLOAD_EKYC_DATA_DESC") || "Export the complete eKYC verification records for your assigned jurisdiction into Excel format.")), /*#__PURE__*/React.createElement("div", {
|
|
6250
6208
|
className: "report-download",
|
|
6251
6209
|
ref: reportMenuRef
|
|
6252
6210
|
}, /*#__PURE__*/React.createElement("button", {
|
|
@@ -6330,12 +6288,46 @@ const SupervisorDetailsCard = () => {
|
|
|
6330
6288
|
}, t("CANCEL") || "Cancel"), /*#__PURE__*/React.createElement("button", {
|
|
6331
6289
|
className: "picker-apply-btn",
|
|
6332
6290
|
onClick: handleCustomDownload
|
|
6333
|
-
}, t("APPLY") || "Apply")))))))
|
|
6291
|
+
}, t("APPLY") || "Apply"))))))), /*#__PURE__*/React.createElement("div", {
|
|
6292
|
+
className: "details-grid-row"
|
|
6293
|
+
}, /*#__PURE__*/React.createElement("div", {
|
|
6294
|
+
className: "detail-item"
|
|
6295
|
+
}, /*#__PURE__*/React.createElement("span", {
|
|
6296
|
+
className: "label"
|
|
6297
|
+
}, t("GENDER")), /*#__PURE__*/React.createElement("span", {
|
|
6298
|
+
className: "value"
|
|
6299
|
+
}, gender)), /*#__PURE__*/React.createElement("div", {
|
|
6300
|
+
className: "detail-item"
|
|
6301
|
+
}, /*#__PURE__*/React.createElement("span", {
|
|
6302
|
+
className: "label"
|
|
6303
|
+
}, t("STATUS")), /*#__PURE__*/React.createElement("span", {
|
|
6304
|
+
className: "value"
|
|
6305
|
+
}, status)), /*#__PURE__*/React.createElement("div", {
|
|
6306
|
+
className: "detail-item"
|
|
6307
|
+
}, /*#__PURE__*/React.createElement("span", {
|
|
6308
|
+
className: "label"
|
|
6309
|
+
}, t("ASSIGNED_ZONE") || "Assigned Zone"), /*#__PURE__*/React.createElement("span", {
|
|
6310
|
+
className: "value"
|
|
6311
|
+
}, assignedZone && assignedZone !== "N/A" ? /*#__PURE__*/React.createElement("div", {
|
|
6312
|
+
className: "selected-zones",
|
|
6313
|
+
style: {
|
|
6314
|
+
marginTop: "4px"
|
|
6315
|
+
}
|
|
6316
|
+
}, /*#__PURE__*/React.createElement("span", {
|
|
6317
|
+
className: "selected-zone-chip"
|
|
6318
|
+
}, t(assignedZone.trim().toUpperCase()) || assignedZone)) : assignedZone)), /*#__PURE__*/React.createElement("div", {
|
|
6319
|
+
className: "detail-item"
|
|
6320
|
+
}, /*#__PURE__*/React.createElement("span", {
|
|
6321
|
+
className: "label"
|
|
6322
|
+
}, t("VENDOR_NAME") || "Vendor Name"), /*#__PURE__*/React.createElement("span", {
|
|
6323
|
+
className: "value"
|
|
6324
|
+
}, vendorName))))), /*#__PURE__*/React.createElement(Card, {
|
|
6334
6325
|
className: "dashboard-card"
|
|
6335
6326
|
}, /*#__PURE__*/React.createElement(Table, {
|
|
6336
6327
|
t: t,
|
|
6337
6328
|
tableTitle: t("CONNECTED_SURVEYORS") || "Connected Surveyors",
|
|
6338
6329
|
tableClass: "ekycTable",
|
|
6330
|
+
isTableScrollable: true,
|
|
6339
6331
|
data: paginatedSurveyors,
|
|
6340
6332
|
columns: surveyorColumns,
|
|
6341
6333
|
isLoading: isProgressLoading,
|
|
@@ -6796,6 +6788,7 @@ const AssignEkycModal = _ref => {
|
|
|
6796
6788
|
}, t("EKYC_CLEAR_SELECTION") || "Clear Selected")), /*#__PURE__*/React.createElement(Table, {
|
|
6797
6789
|
tableTitle: "eKYC Applications",
|
|
6798
6790
|
tableClass: "ekycTable",
|
|
6791
|
+
isTableScrollable: true,
|
|
6799
6792
|
data: paginatedData,
|
|
6800
6793
|
columns: columns,
|
|
6801
6794
|
isLoading: isLoading,
|
|
@@ -7380,9 +7373,7 @@ const SurveyorDetailsDashboard = () => {
|
|
|
7380
7373
|
}, /*#__PURE__*/React.createElement("div", {
|
|
7381
7374
|
className: "ekyc-details-wrapper"
|
|
7382
7375
|
}, /*#__PURE__*/React.createElement("div", {
|
|
7383
|
-
className: "details-
|
|
7384
|
-
}, /*#__PURE__*/React.createElement("div", {
|
|
7385
|
-
className: "details-grid"
|
|
7376
|
+
className: "details-top-row"
|
|
7386
7377
|
}, /*#__PURE__*/React.createElement("div", {
|
|
7387
7378
|
className: "detail-item"
|
|
7388
7379
|
}, /*#__PURE__*/React.createElement("span", {
|
|
@@ -7396,34 +7387,8 @@ const SurveyorDetailsDashboard = () => {
|
|
|
7396
7387
|
}, t("EMAIL")), /*#__PURE__*/React.createElement("span", {
|
|
7397
7388
|
className: "value"
|
|
7398
7389
|
}, (surveyor === null || surveyor === void 0 ? void 0 : (_surveyor$owner8 = surveyor.owner) === null || _surveyor$owner8 === void 0 ? void 0 : _surveyor$owner8.emailId) || "N/A")), /*#__PURE__*/React.createElement("div", {
|
|
7399
|
-
className: "detail-item"
|
|
7400
|
-
}, /*#__PURE__*/React.createElement("span", {
|
|
7401
|
-
className: "label"
|
|
7402
|
-
}, t("GENDER")), /*#__PURE__*/React.createElement("span", {
|
|
7403
|
-
className: "value"
|
|
7404
|
-
}, (surveyor === null || surveyor === void 0 ? void 0 : (_surveyor$owner9 = surveyor.owner) === null || _surveyor$owner9 === void 0 ? void 0 : _surveyor$owner9.gender) || "N/A")), /*#__PURE__*/React.createElement("div", {
|
|
7405
|
-
className: "detail-item"
|
|
7406
|
-
}, /*#__PURE__*/React.createElement("span", {
|
|
7407
|
-
className: "label"
|
|
7408
|
-
}, t("STATUS")), /*#__PURE__*/React.createElement("span", {
|
|
7409
|
-
className: "value"
|
|
7410
|
-
}, (surveyor === null || surveyor === void 0 ? void 0 : surveyor.status) || "N/A")), /*#__PURE__*/React.createElement("div", {
|
|
7411
|
-
className: "detail-item"
|
|
7412
|
-
}, /*#__PURE__*/React.createElement("span", {
|
|
7413
|
-
className: "label"
|
|
7414
|
-
}, t("VENDOR_NAME") || "Vendor Name"), /*#__PURE__*/React.createElement("span", {
|
|
7415
|
-
className: "value"
|
|
7416
|
-
}, vendorName)), /*#__PURE__*/React.createElement("div", {
|
|
7417
|
-
className: "detail-item"
|
|
7418
|
-
}, /*#__PURE__*/React.createElement("span", {
|
|
7419
|
-
className: "label"
|
|
7420
|
-
}, t("SUPERVISOR_NAME") || "Supervisor Name"), /*#__PURE__*/React.createElement("span", {
|
|
7421
|
-
className: "value"
|
|
7422
|
-
}, supervisorName)))), /*#__PURE__*/React.createElement("div", {
|
|
7423
|
-
className: "details-right"
|
|
7424
|
-
}, /*#__PURE__*/React.createElement("div", {
|
|
7425
7390
|
className: "download-card"
|
|
7426
|
-
}, /*#__PURE__*/React.createElement("h4", null, t("DOWNLOAD_EKYC_DATA") || "Download eKYC Data"), /*#__PURE__*/React.createElement("p", null, t("DOWNLOAD_EKYC_DATA_DESC") || "Export the complete eKYC verification records for your assigned jurisdiction into Excel format."), /*#__PURE__*/React.createElement("div", {
|
|
7391
|
+
}, /*#__PURE__*/React.createElement("div", null, /*#__PURE__*/React.createElement("h4", null, t("DOWNLOAD_EKYC_DATA") || "Download eKYC Data"), /*#__PURE__*/React.createElement("p", null, t("DOWNLOAD_EKYC_DATA_DESC") || "Export the complete eKYC verification records for your assigned jurisdiction into Excel format.")), /*#__PURE__*/React.createElement("div", {
|
|
7427
7392
|
className: "report-download",
|
|
7428
7393
|
ref: reportMenuRef
|
|
7429
7394
|
}, /*#__PURE__*/React.createElement("button", {
|
|
@@ -7507,12 +7472,39 @@ const SurveyorDetailsDashboard = () => {
|
|
|
7507
7472
|
}, t("CANCEL") || "Cancel"), /*#__PURE__*/React.createElement("button", {
|
|
7508
7473
|
className: "picker-apply-btn",
|
|
7509
7474
|
onClick: handleCustomDownload
|
|
7510
|
-
}, t("APPLY") || "Apply")))))))
|
|
7475
|
+
}, t("APPLY") || "Apply"))))))), /*#__PURE__*/React.createElement("div", {
|
|
7476
|
+
className: "details-grid-row"
|
|
7477
|
+
}, /*#__PURE__*/React.createElement("div", {
|
|
7478
|
+
className: "detail-item"
|
|
7479
|
+
}, /*#__PURE__*/React.createElement("span", {
|
|
7480
|
+
className: "label"
|
|
7481
|
+
}, t("GENDER")), /*#__PURE__*/React.createElement("span", {
|
|
7482
|
+
className: "value"
|
|
7483
|
+
}, (surveyor === null || surveyor === void 0 ? void 0 : (_surveyor$owner9 = surveyor.owner) === null || _surveyor$owner9 === void 0 ? void 0 : _surveyor$owner9.gender) || "N/A")), /*#__PURE__*/React.createElement("div", {
|
|
7484
|
+
className: "detail-item"
|
|
7485
|
+
}, /*#__PURE__*/React.createElement("span", {
|
|
7486
|
+
className: "label"
|
|
7487
|
+
}, t("STATUS")), /*#__PURE__*/React.createElement("span", {
|
|
7488
|
+
className: "value"
|
|
7489
|
+
}, (surveyor === null || surveyor === void 0 ? void 0 : surveyor.status) || "N/A")), /*#__PURE__*/React.createElement("div", {
|
|
7490
|
+
className: "detail-item"
|
|
7491
|
+
}, /*#__PURE__*/React.createElement("span", {
|
|
7492
|
+
className: "label"
|
|
7493
|
+
}, t("VENDOR_NAME") || "Vendor Name"), /*#__PURE__*/React.createElement("span", {
|
|
7494
|
+
className: "value"
|
|
7495
|
+
}, vendorName)), /*#__PURE__*/React.createElement("div", {
|
|
7496
|
+
className: "detail-item"
|
|
7497
|
+
}, /*#__PURE__*/React.createElement("span", {
|
|
7498
|
+
className: "label"
|
|
7499
|
+
}, t("SUPERVISOR_NAME") || "Supervisor Name"), /*#__PURE__*/React.createElement("span", {
|
|
7500
|
+
className: "value"
|
|
7501
|
+
}, supervisorName))))), /*#__PURE__*/React.createElement(Card, {
|
|
7511
7502
|
className: "dashboard-card"
|
|
7512
7503
|
}, /*#__PURE__*/React.createElement(Table, {
|
|
7513
7504
|
t: t,
|
|
7514
7505
|
tableTitle: t("ASSIGNED_KNOS"),
|
|
7515
7506
|
tableClass: "ekycTable",
|
|
7507
|
+
isTableScrollable: true,
|
|
7516
7508
|
data: (dashboardData === null || dashboardData === void 0 ? void 0 : (_dashboardData$dashbo5 = dashboardData.dashboardInfo) === null || _dashboardData$dashbo5 === void 0 ? void 0 : _dashboardData$dashbo5.consumerList) || [],
|
|
7517
7509
|
columns: knoColumns,
|
|
7518
7510
|
isLoading: isDashboardLoading,
|