@djb25/digit-ui-module-ekyc 1.0.3 → 1.0.5
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 +1 -1
- package/dist/index.js.map +1 -1
- package/dist/index.modern.js +2164 -1535
- package/dist/index.modern.js.map +1 -1
- package/package.json +1 -1
- package/src/components/ConnectionDetailsView.js +8 -8
- package/src/components/DesktopInbox.js +5 -5
- package/src/components/SearchConsumer.js +11 -2
- package/src/pages/employee/AadhaarVerification.js +367 -251
- package/src/pages/employee/AddressDetails.js +530 -373
- package/src/pages/employee/Create.js +5 -19
- package/src/pages/employee/Inbox.js +40 -34
- package/src/pages/employee/PropertyInfo.js +409 -316
- package/src/pages/employee/Review.js +290 -89
package/package.json
CHANGED
|
@@ -49,15 +49,15 @@ const ConnectionDetailsView = ({ kNumber, kName, connectionDetails, isLoading })
|
|
|
49
49
|
</StatusTable>
|
|
50
50
|
|
|
51
51
|
<CardHeader style={{ marginTop: "24px" }}>{t("EKYC_CONNECTION_DETAILS")}</CardHeader>
|
|
52
|
-
{connectionDetails?.
|
|
52
|
+
{connectionDetails?.connectionDetails ? (
|
|
53
53
|
<StatusTable>
|
|
54
|
-
<Row label={t("EKYC_CONSUMER_NAME")} text={connectionDetails.
|
|
55
|
-
<Row label={t("EKYC_ADDRESS")} text={connectionDetails.
|
|
56
|
-
<Row label={t("EKYC_CONNECTION_TYPE")} text={connectionDetails.
|
|
57
|
-
<Row label={t("EKYC_METER_NO")} text={connectionDetails.
|
|
58
|
-
<Row label={t("EKYC_PHONE_NO")} text={connectionDetails.
|
|
59
|
-
<Row label={t("EKYC_EMAIL")} text={connectionDetails.
|
|
60
|
-
<Row label={t("EKYC_STATUS")} text={connectionDetails.
|
|
54
|
+
<Row label={t("EKYC_CONSUMER_NAME")} text={connectionDetails.connectionDetails.consumerName || t("CS_NA")} />
|
|
55
|
+
<Row label={t("EKYC_ADDRESS")} text={connectionDetails.connectionDetails.address || t("CS_NA")} />
|
|
56
|
+
<Row label={t("EKYC_CONNECTION_TYPE")} text={connectionDetails.connectionDetails.connectionType || t("CS_NA")} />
|
|
57
|
+
<Row label={t("EKYC_METER_NO")} text={connectionDetails.connectionDetails.meterNumber || t("CS_NA")} />
|
|
58
|
+
<Row label={t("EKYC_PHONE_NO")} text={connectionDetails.connectionDetails.phoneNumber || t("CS_NA")} />
|
|
59
|
+
<Row label={t("EKYC_EMAIL")} text={connectionDetails.connectionDetails.email || t("CS_NA")} />
|
|
60
|
+
<Row label={t("EKYC_STATUS")} text={connectionDetails.connectionDetails.statusflag || t("CS_NA")} />
|
|
61
61
|
</StatusTable>
|
|
62
62
|
) : (
|
|
63
63
|
<CardLabel>{t("EKYC_NO_CONNECTION_DETAILS_FOUND")}</CardLabel>
|
|
@@ -44,11 +44,11 @@ const DesktopInbox = ({ tableConfig, filterComponent, ...props }) => {
|
|
|
44
44
|
accessor: "citizenName",
|
|
45
45
|
Cell: ({ row }) => <span>{row.original?.citizenName || "NA"}</span>,
|
|
46
46
|
},
|
|
47
|
-
{
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
},
|
|
47
|
+
// {
|
|
48
|
+
// Header: t("EKYC_MOBILE_NO"),
|
|
49
|
+
// accessor: "mobileNumber",
|
|
50
|
+
// Cell: ({ row }) => <span>{row.original?.mobileNumber || "NA"}</span>,
|
|
51
|
+
// },
|
|
52
52
|
{
|
|
53
53
|
Header: t("EKYC_STATUS"),
|
|
54
54
|
accessor: "status",
|
|
@@ -88,7 +88,8 @@ const SearchConsumer = ({ onSearch, searchParams, FilterComponent, children, ...
|
|
|
88
88
|
/>
|
|
89
89
|
</div>
|
|
90
90
|
</div>
|
|
91
|
-
|
|
91
|
+
</div>
|
|
92
|
+
<div style={{ display: "flex", justifyContent: "flex-end", marginTop: "20px" }}>
|
|
92
93
|
<div style={{ display: "flex", gap: "12px", alignItems: "center" }}>
|
|
93
94
|
<button
|
|
94
95
|
type="button"
|
|
@@ -105,10 +106,18 @@ const SearchConsumer = ({ onSearch, searchParams, FilterComponent, children, ...
|
|
|
105
106
|
>
|
|
106
107
|
{t("ES_COMMON_CLEAR")}
|
|
107
108
|
</button>
|
|
109
|
+
|
|
108
110
|
<SubmitBar
|
|
109
111
|
label={t("ES_COMMON_SEARCH")}
|
|
110
112
|
onSubmit={onSubmit}
|
|
111
|
-
style={{
|
|
113
|
+
style={{
|
|
114
|
+
margin: 0,
|
|
115
|
+
borderRadius: "8px",
|
|
116
|
+
height: "44px",
|
|
117
|
+
padding: "0 32px",
|
|
118
|
+
// ❌ remove this (it breaks alignment)
|
|
119
|
+
// marginTop: "-55px"
|
|
120
|
+
}}
|
|
112
121
|
/>
|
|
113
122
|
</div>
|
|
114
123
|
</div>
|