@mseva/digit-ui-module-noc 1.0.79-dev.18 → 1.0.79-dev.19
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 +41 -38
- package/dist/index.modern.js.map +1 -1
- package/package.json +1 -1
package/dist/index.modern.js
CHANGED
|
@@ -305,7 +305,7 @@ const downloadPdfFromURL = async receiptUrl => {
|
|
|
305
305
|
window.open(downloadUrl, "_blank");
|
|
306
306
|
}
|
|
307
307
|
};
|
|
308
|
-
const encodeURIComponentCustom = text => {
|
|
308
|
+
const encodeURIComponentCustom$1 = text => {
|
|
309
309
|
const SECRET_KEY = localStorage.getItem("token");
|
|
310
310
|
if (!SECRET_KEY) {
|
|
311
311
|
console.error("SECRET_KEY (token) not found in localStorage");
|
|
@@ -8348,13 +8348,6 @@ const configBPAApproverApplication = ({
|
|
|
8348
8348
|
selected: selectedBlockReason,
|
|
8349
8349
|
isMandatory: true
|
|
8350
8350
|
}) : null
|
|
8351
|
-
}, {
|
|
8352
|
-
label: t("WF_COMMON_COMMENTS"),
|
|
8353
|
-
type: "textarea",
|
|
8354
|
-
isMandatory: true,
|
|
8355
|
-
populators: {
|
|
8356
|
-
name: "comments"
|
|
8357
|
-
}
|
|
8358
8351
|
}, ...(isCondittionalComentsRequired ? [{
|
|
8359
8352
|
label: t("WF_CONDITIONAL_COMMENTS_LABEL"),
|
|
8360
8353
|
type: "textarea",
|
|
@@ -8362,6 +8355,13 @@ const configBPAApproverApplication = ({
|
|
|
8362
8355
|
name: "conditionalComments"
|
|
8363
8356
|
}
|
|
8364
8357
|
}] : []), {
|
|
8358
|
+
label: t("WF_COMMON_COMMENTS"),
|
|
8359
|
+
type: "textarea",
|
|
8360
|
+
isMandatory: true,
|
|
8361
|
+
populators: {
|
|
8362
|
+
name: "comments"
|
|
8363
|
+
}
|
|
8364
|
+
}, {
|
|
8365
8365
|
label: `${t("WF_APPROVAL_UPLOAD_HEAD")}`,
|
|
8366
8366
|
populators: /*#__PURE__*/React.createElement(UploadFile, {
|
|
8367
8367
|
id: "workflow-doc",
|
|
@@ -14145,7 +14145,7 @@ function NewApplicationTimeline({
|
|
|
14145
14145
|
}))), /*#__PURE__*/React.createElement("div", {
|
|
14146
14146
|
className: "custom-timeline-entries"
|
|
14147
14147
|
}, sortedData === null || sortedData === void 0 ? void 0 : sortedData.map((item, index) => {
|
|
14148
|
-
var _item$auditDetails, _item$auditDetails2, _item$assigner2, _item$assigner3, _item$assigner4, _item$wfComment, _item$wfComment2, _item$wfComment3, _item$assignes, _item$assignes$, _item$assignes$2, _item$assignes$3, _item$wfDocuments, _item$wfDocuments2;
|
|
14148
|
+
var _item$auditDetails, _item$auditDetails2, _item$assigner2, _item$assigner3, _item$assigner4, _item$assigner5, _item$assigner6, _item$wfComment, _item$wfComment2, _item$wfComment3, _item$assignes, _item$assignes$, _item$assignes$2, _item$assignes$3, _item$wfDocuments, _item$wfDocuments2;
|
|
14149
14149
|
return /*#__PURE__*/React.createElement("div", {
|
|
14150
14150
|
key: index,
|
|
14151
14151
|
className: "custom-timeline-entry"
|
|
@@ -14182,9 +14182,13 @@ function NewApplicationTimeline({
|
|
|
14182
14182
|
className: "custom-officer-info"
|
|
14183
14183
|
}, /*#__PURE__*/React.createElement("div", {
|
|
14184
14184
|
className: "custom-officer-name"
|
|
14185
|
-
}, (item === null || item === void 0 ? void 0 : (_item$assigner2 = item.assigner) === null || _item$assigner2 === void 0 ? void 0 : _item$assigner2.name) || t("CS_COMMON_NA")
|
|
14185
|
+
}, (item === null || item === void 0 ? void 0 : (_item$assigner2 = item.assigner) === null || _item$assigner2 === void 0 ? void 0 : _item$assigner2.name) || t("CS_COMMON_NA"), deptMap[item === null || item === void 0 ? void 0 : (_item$assigner3 = item.assigner) === null || _item$assigner3 === void 0 ? void 0 : _item$assigner3.userName] && /*#__PURE__*/React.createElement("span", {
|
|
14186
14186
|
className: "custom-officer-name"
|
|
14187
|
-
}, t(deptMap[item === null || item === void 0 ? void 0 : (_item$assigner4 = item.assigner) === null || _item$assigner4 === void 0 ? void 0 : _item$assigner4.userName])))
|
|
14187
|
+
}, "- ", t(deptMap[item === null || item === void 0 ? void 0 : (_item$assigner4 = item.assigner) === null || _item$assigner4 === void 0 ? void 0 : _item$assigner4.userName]))), (item === null || item === void 0 ? void 0 : (_item$assigner5 = item.assigner) === null || _item$assigner5 === void 0 ? void 0 : _item$assigner5.emailId) && /*#__PURE__*/React.createElement("div", {
|
|
14188
|
+
className: "custom-officer-email"
|
|
14189
|
+
}, /*#__PURE__*/React.createElement("span", {
|
|
14190
|
+
className: "custom-email-label"
|
|
14191
|
+
}, t("Email")), " ", item === null || item === void 0 ? void 0 : (_item$assigner6 = item.assigner) === null || _item$assigner6 === void 0 ? void 0 : _item$assigner6.emailId))), /*#__PURE__*/React.createElement("div", {
|
|
14188
14192
|
className: "custom-card-column custom-card-column-mid"
|
|
14189
14193
|
}, (item === null || item === void 0 ? void 0 : item.sla) && /*#__PURE__*/React.createElement(React.Fragment, null, /*#__PURE__*/React.createElement("h3", {
|
|
14190
14194
|
className: "custom-action-title"
|
|
@@ -16585,7 +16589,7 @@ const NOCFeeTable = ({
|
|
|
16585
16589
|
window.addEventListener("resize", checkMobile);
|
|
16586
16590
|
return () => window.removeEventListener("resize", checkMobile);
|
|
16587
16591
|
}, []);
|
|
16588
|
-
console.log(
|
|
16592
|
+
console.log("feeHistory", feeHistory);
|
|
16589
16593
|
const columns = [{
|
|
16590
16594
|
key: "title",
|
|
16591
16595
|
label: "BPA_TAXHEAD_CODE",
|
|
@@ -16597,6 +16601,7 @@ const NOCFeeTable = ({
|
|
|
16597
16601
|
headerLabel: "BPA_AMOUNT",
|
|
16598
16602
|
type: "custom",
|
|
16599
16603
|
render: (row, rowIndex, t) => {
|
|
16604
|
+
var _feeData$row$index, _feeData$row$index2;
|
|
16600
16605
|
if (row.taxHeadCode === "NOC_TOTAL") {
|
|
16601
16606
|
return /*#__PURE__*/React.createElement("div", null, /*#__PURE__*/React.createElement("strong", {
|
|
16602
16607
|
style: {
|
|
@@ -16615,7 +16620,7 @@ const NOCFeeTable = ({
|
|
|
16615
16620
|
t: t,
|
|
16616
16621
|
type: "number",
|
|
16617
16622
|
isMandatory: false,
|
|
16618
|
-
value: feeData[row.index]
|
|
16623
|
+
value: ((_feeData$row$index = feeData[row.index]) === null || _feeData$row$index === void 0 ? void 0 : _feeData$row$index.adjustedAmount) === 0 ? "" : ((_feeData$row$index2 = feeData[row.index]) === null || _feeData$row$index2 === void 0 ? void 0 : _feeData$row$index2.adjustedAmount) || row.amount || "",
|
|
16619
16624
|
onChange: e => {
|
|
16620
16625
|
let val = e.target.value;
|
|
16621
16626
|
if (val.length > 1 && val.startsWith("0")) {
|
|
@@ -16634,20 +16639,20 @@ const NOCFeeTable = ({
|
|
|
16634
16639
|
headerLabel: "BPA_REMARKS",
|
|
16635
16640
|
type: "custom",
|
|
16636
16641
|
render: (row, rowIndex, t) => {
|
|
16637
|
-
var _feeData$row$
|
|
16642
|
+
var _feeData$row$index4;
|
|
16638
16643
|
if (row.taxHeadCode === "NOC_TOTAL") {
|
|
16639
16644
|
return " ";
|
|
16640
16645
|
}
|
|
16641
16646
|
if (disable) {
|
|
16642
|
-
var _feeData$row$
|
|
16643
|
-
return /*#__PURE__*/React.createElement("div", null, ((_feeData$row$
|
|
16647
|
+
var _feeData$row$index3;
|
|
16648
|
+
return /*#__PURE__*/React.createElement("div", null, ((_feeData$row$index3 = feeData[row.index]) === null || _feeData$row$index3 === void 0 ? void 0 : _feeData$row$index3.remark) || /*#__PURE__*/React.createElement(TextArea, {
|
|
16644
16649
|
placeholder: "Enter remarks",
|
|
16645
16650
|
disabled: true,
|
|
16646
16651
|
className: "custom-fee-table-textarea"
|
|
16647
16652
|
}));
|
|
16648
16653
|
}
|
|
16649
16654
|
return /*#__PURE__*/React.createElement(TextArea, {
|
|
16650
|
-
value: ((_feeData$row$
|
|
16655
|
+
value: ((_feeData$row$index4 = feeData[row.index]) === null || _feeData$row$index4 === void 0 ? void 0 : _feeData$row$index4.remark) || "",
|
|
16651
16656
|
onChange: e => handleRemarkChange(row.index, e.target.value, row.amount),
|
|
16652
16657
|
disabled: false,
|
|
16653
16658
|
className: "custom-fee-table-textarea",
|
|
@@ -16715,7 +16720,7 @@ const NOCFeeTable = ({
|
|
|
16715
16720
|
return /*#__PURE__*/React.createElement(React.Fragment, null, /*#__PURE__*/React.createElement("div", {
|
|
16716
16721
|
className: "custom-fee-mobile-cards"
|
|
16717
16722
|
}, feeDataWithTotal.map((row, i) => {
|
|
16718
|
-
var _feeData$row$
|
|
16723
|
+
var _feeData$row$index5, _feeData$row$index6, _feeData$row$index7;
|
|
16719
16724
|
return /*#__PURE__*/React.createElement("div", {
|
|
16720
16725
|
key: row.index || i,
|
|
16721
16726
|
className: `custom-fee-card ${(row === null || row === void 0 ? void 0 : row.taxHeadCode) === "NOC_TOTAL" ? "custom-fee-card-total-row" : ""}`
|
|
@@ -16735,7 +16740,7 @@ const NOCFeeTable = ({
|
|
|
16735
16740
|
t: t,
|
|
16736
16741
|
type: "text",
|
|
16737
16742
|
isMandatory: false,
|
|
16738
|
-
value: feeData[row.index]
|
|
16743
|
+
value: ((_feeData$row$index5 = feeData[row.index]) === null || _feeData$row$index5 === void 0 ? void 0 : _feeData$row$index5.adjustedAmount) === 0 ? "" : ((_feeData$row$index6 = feeData[row.index]) === null || _feeData$row$index6 === void 0 ? void 0 : _feeData$row$index6.adjustedAmount) || row.amount || "",
|
|
16739
16744
|
onChange: e => {
|
|
16740
16745
|
let val = e.target.value;
|
|
16741
16746
|
if (/^\d*\.?\d*$/.test(val)) {
|
|
@@ -16762,7 +16767,7 @@ const NOCFeeTable = ({
|
|
|
16762
16767
|
}, /*#__PURE__*/React.createElement("label", {
|
|
16763
16768
|
className: "custom-fee-card-label"
|
|
16764
16769
|
}, t("BPA_REMARKS")), /*#__PURE__*/React.createElement(TextArea, {
|
|
16765
|
-
value: ((_feeData$row$
|
|
16770
|
+
value: ((_feeData$row$index7 = feeData[row.index]) === null || _feeData$row$index7 === void 0 ? void 0 : _feeData$row$index7.remark) || "",
|
|
16766
16771
|
onChange: e => handleRemarkChange(row.index, e.target.value, row.amount),
|
|
16767
16772
|
disabled: disable,
|
|
16768
16773
|
className: "custom-fee-table-textarea",
|
|
@@ -18520,7 +18525,6 @@ const InspectionReport$1 = ({
|
|
|
18520
18525
|
sessionStorage.setItem("INSPECTION_DATA", JSON.stringify(data));
|
|
18521
18526
|
}, [FieldReports]);
|
|
18522
18527
|
useEffect$1(() => {
|
|
18523
|
-
console.log("useffect 2INSPECTION_REPORT_PENDING");
|
|
18524
18528
|
let ques = [];
|
|
18525
18529
|
let documentlist = [];
|
|
18526
18530
|
bpaDocs && bpaDocs.BPA.CheckList.map(ob => {
|
|
@@ -18995,15 +18999,15 @@ const getSiteDetails = (appData, t) => {
|
|
|
18995
18999
|
}, {
|
|
18996
19000
|
title: t("NOC_ROAD_TYPE_LABEL"),
|
|
18997
19001
|
value: (appData === null || appData === void 0 ? void 0 : (_appData$nocDetails16 = appData.nocDetails) === null || _appData$nocDetails16 === void 0 ? void 0 : (_appData$nocDetails17 = _appData$nocDetails16.additionalDetails) === null || _appData$nocDetails17 === void 0 ? void 0 : (_appData$nocDetails18 = _appData$nocDetails17.siteDetails) === null || _appData$nocDetails18 === void 0 ? void 0 : (_appData$nocDetails19 = _appData$nocDetails18.roadType) === null || _appData$nocDetails19 === void 0 ? void 0 : _appData$nocDetails19.name) || (appData === null || appData === void 0 ? void 0 : (_appData$nocDetails20 = appData.nocDetails) === null || _appData$nocDetails20 === void 0 ? void 0 : (_appData$nocDetails21 = _appData$nocDetails20.additionalDetails) === null || _appData$nocDetails21 === void 0 ? void 0 : (_appData$nocDetails22 = _appData$nocDetails21.siteDetails) === null || _appData$nocDetails22 === void 0 ? void 0 : _appData$nocDetails22.roadType) || "N/A"
|
|
18998
|
-
}, {
|
|
18999
|
-
title: t("NOC_NET_TOTAL_AREA_LABEL"),
|
|
19000
|
-
value: (appData === null || appData === void 0 ? void 0 : (_appData$nocDetails23 = appData.nocDetails) === null || _appData$nocDetails23 === void 0 ? void 0 : (_appData$nocDetails24 = _appData$nocDetails23.additionalDetails) === null || _appData$nocDetails24 === void 0 ? void 0 : (_appData$nocDetails25 = _appData$nocDetails24.siteDetails) === null || _appData$nocDetails25 === void 0 ? void 0 : _appData$nocDetails25.netTotalArea) || "N/A"
|
|
19001
19002
|
}, {
|
|
19002
19003
|
title: t("NOC_AREA_LEFT_FOR_ROAD_WIDENING_LABEL"),
|
|
19003
|
-
value: (appData === null || appData === void 0 ? void 0 : (_appData$
|
|
19004
|
+
value: (appData === null || appData === void 0 ? void 0 : (_appData$nocDetails23 = appData.nocDetails) === null || _appData$nocDetails23 === void 0 ? void 0 : (_appData$nocDetails24 = _appData$nocDetails23.additionalDetails) === null || _appData$nocDetails24 === void 0 ? void 0 : (_appData$nocDetails25 = _appData$nocDetails24.siteDetails) === null || _appData$nocDetails25 === void 0 ? void 0 : _appData$nocDetails25.areaLeftForRoadWidening) || "N/A"
|
|
19004
19005
|
}, {
|
|
19005
19006
|
title: t("NOC_NET_PLOT_AREA_AFTER_WIDENING_LABEL"),
|
|
19006
|
-
value: (appData === null || appData === void 0 ? void 0 : (_appData$
|
|
19007
|
+
value: (appData === null || appData === void 0 ? void 0 : (_appData$nocDetails26 = appData.nocDetails) === null || _appData$nocDetails26 === void 0 ? void 0 : (_appData$nocDetails27 = _appData$nocDetails26.additionalDetails) === null || _appData$nocDetails27 === void 0 ? void 0 : (_appData$nocDetails28 = _appData$nocDetails27.siteDetails) === null || _appData$nocDetails28 === void 0 ? void 0 : _appData$nocDetails28.netPlotAreaAfterWidening) || "N/A"
|
|
19008
|
+
}, {
|
|
19009
|
+
title: t("NOC_NET_TOTAL_AREA_LABEL"),
|
|
19010
|
+
value: (appData === null || appData === void 0 ? void 0 : (_appData$nocDetails29 = appData.nocDetails) === null || _appData$nocDetails29 === void 0 ? void 0 : (_appData$nocDetails30 = _appData$nocDetails29.additionalDetails) === null || _appData$nocDetails30 === void 0 ? void 0 : (_appData$nocDetails31 = _appData$nocDetails30.siteDetails) === null || _appData$nocDetails31 === void 0 ? void 0 : _appData$nocDetails31.netTotalArea) || "N/A"
|
|
19007
19011
|
}, {
|
|
19008
19012
|
title: t("NOC_ROAD_WIDTH_AT_SITE_LABEL"),
|
|
19009
19013
|
value: (appData === null || appData === void 0 ? void 0 : (_appData$nocDetails32 = appData.nocDetails) === null || _appData$nocDetails32 === void 0 ? void 0 : (_appData$nocDetails33 = _appData$nocDetails32.additionalDetails) === null || _appData$nocDetails33 === void 0 ? void 0 : (_appData$nocDetails34 = _appData$nocDetails33.siteDetails) === null || _appData$nocDetails34 === void 0 ? void 0 : _appData$nocDetails34.roadWidthAtSite) || "N/A"
|
|
@@ -19231,7 +19235,6 @@ const getJESiteImages = async (appData, t, stateCode) => {
|
|
|
19231
19235
|
const documentLink = pdfDownloadLink(res === null || res === void 0 ? void 0 : res.data, img === null || img === void 0 ? void 0 : img.filestoreId);
|
|
19232
19236
|
const exiflink = `${window.origin}/filestore/v1/files/id?fileStoreId=${img === null || img === void 0 ? void 0 : img.filestoreId}&tenantId=${stateCode}`;
|
|
19233
19237
|
const exifData = await getExifDataFromUrl(exiflink);
|
|
19234
|
-
console.log("exifData in siteImages", exifData);
|
|
19235
19238
|
if ([3, 6, 8].includes(exifData === null || exifData === void 0 ? void 0 : exifData.Orientation)) {
|
|
19236
19239
|
exifData.Orientation = 1;
|
|
19237
19240
|
}
|
|
@@ -22492,7 +22495,7 @@ const useInboxTableConfig = ({
|
|
|
22492
22495
|
var _row$original;
|
|
22493
22496
|
console.log('row in inbox', row);
|
|
22494
22497
|
return /*#__PURE__*/React.createElement("div", null, /*#__PURE__*/React.createElement(Link, {
|
|
22495
|
-
to: tenantId === "pb.punjab" ? `${parentRoute}/inbox/application-overview/${encodeURIComponentCustom(row.original["applicationId"])}/${row === null || row === void 0 ? void 0 : (_row$original = row.original) === null || _row$original === void 0 ? void 0 : _row$original.tenantId}` : `${parentRoute}/inbox/application-overview/${encodeURIComponentCustom(row.original["applicationId"])}`
|
|
22498
|
+
to: tenantId === "pb.punjab" ? `${parentRoute}/inbox/application-overview/${encodeURIComponentCustom$1(row.original["applicationId"])}/${row === null || row === void 0 ? void 0 : (_row$original = row.original) === null || _row$original === void 0 ? void 0 : _row$original.tenantId}` : `${parentRoute}/inbox/application-overview/${encodeURIComponentCustom$1(row.original["applicationId"])}`
|
|
22496
22499
|
}, /*#__PURE__*/React.createElement("span", {
|
|
22497
22500
|
className: "link"
|
|
22498
22501
|
}, row.original["applicationId"])));
|
|
@@ -22603,7 +22606,7 @@ const useInboxMobileCardsData = ({
|
|
|
22603
22606
|
[t("NOC_PRIMARY_OWNER_NAME_LABEL")]: t(owner),
|
|
22604
22607
|
[t("PT_COMMON_TABLE_COL_STATUS_LABEL")]: t(status),
|
|
22605
22608
|
"Vehicle Log": {
|
|
22606
|
-
id: encodeURIComponentCustom(applicationId),
|
|
22609
|
+
id: encodeURIComponentCustom$1(applicationId),
|
|
22607
22610
|
hidden: true
|
|
22608
22611
|
}
|
|
22609
22612
|
}));
|
|
@@ -23315,7 +23318,8 @@ const NOCEsignResponse = () => {
|
|
|
23315
23318
|
setCountdown(prev => prev - 1);
|
|
23316
23319
|
}, 1000);
|
|
23317
23320
|
const timeout = setTimeout(() => {
|
|
23318
|
-
|
|
23321
|
+
const encryptedID = encodeURIComponentCustom(applicationNo);
|
|
23322
|
+
history.push(`/digit-ui/employee/noc/inbox/application-overview/${encryptedID}`);
|
|
23319
23323
|
}, 10000);
|
|
23320
23324
|
return () => {
|
|
23321
23325
|
clearInterval(interval);
|
|
@@ -23330,7 +23334,8 @@ const NOCEsignResponse = () => {
|
|
|
23330
23334
|
});
|
|
23331
23335
|
setTimeout(() => setShowToast(null), 3000);
|
|
23332
23336
|
const timeout = setTimeout(() => {
|
|
23333
|
-
|
|
23337
|
+
const encryptedID = encodeURIComponentCustom(applicationNo);
|
|
23338
|
+
history.push(`/digit-ui/employee/noc/inbox/application-overview/${encryptedID}`);
|
|
23334
23339
|
}, 10000);
|
|
23335
23340
|
return () => clearTimeout(timeout);
|
|
23336
23341
|
});
|
|
@@ -28056,8 +28061,6 @@ function NOCSummary({
|
|
|
28056
28061
|
const propertyId = formData === null || formData === void 0 ? void 0 : (_formData$application3 = formData.applicationDetails) === null || _formData$application3 === void 0 ? void 0 : (_formData$application4 = _formData$application3.owners) === null || _formData$application4 === void 0 ? void 0 : (_formData$application5 = _formData$application4[0]) === null || _formData$application5 === void 0 ? void 0 : _formData$application5.propertyId;
|
|
28057
28062
|
const applicationNo = formData === null || formData === void 0 ? void 0 : (_formData$apiData = formData.apiData) === null || _formData$apiData === void 0 ? void 0 : (_formData$apiData$Noc = _formData$apiData.Noc) === null || _formData$apiData$Noc === void 0 ? void 0 : (_formData$apiData$Noc2 = _formData$apiData$Noc[0]) === null || _formData$apiData$Noc2 === void 0 ? void 0 : _formData$apiData$Noc2.applicationNo;
|
|
28058
28063
|
const submittedOn = (formData === null || formData === void 0 ? void 0 : (_formData$apiData2 = formData.apiData) === null || _formData$apiData2 === void 0 ? void 0 : (_formData$apiData2$No = _formData$apiData2.Noc) === null || _formData$apiData2$No === void 0 ? void 0 : (_formData$apiData2$No2 = _formData$apiData2$No[0]) === null || _formData$apiData2$No2 === void 0 ? void 0 : (_formData$apiData2$No3 = _formData$apiData2$No2.nocDetails) === null || _formData$apiData2$No3 === void 0 ? void 0 : (_formData$apiData2$No4 = _formData$apiData2$No3.additionalDetails) === null || _formData$apiData2$No4 === void 0 ? void 0 : _formData$apiData2$No4.SubmittedOn) || Date.now();
|
|
28059
|
-
console.log('applicationNo, submittedOn', applicationNo, submittedOn);
|
|
28060
|
-
console.log("primaryOwner and propertyId here in summary", primaryOwner, propertyId);
|
|
28061
28064
|
return /*#__PURE__*/React.createElement("div", {
|
|
28062
28065
|
className: "employee-main-application-details"
|
|
28063
28066
|
}, /*#__PURE__*/React.createElement("style", null, ` .data-table .row {border: 2px solid lightgrey;}`), /*#__PURE__*/React.createElement(StatusTable, {
|
|
@@ -29754,7 +29757,7 @@ const MyApplications = ({
|
|
|
29754
29757
|
}) => {
|
|
29755
29758
|
var _row$original, _row$original$Applica, _row$original2, _row$original2$Applic;
|
|
29756
29759
|
return /*#__PURE__*/React.createElement(Link, {
|
|
29757
|
-
to: `/digit-ui/citizen/noc/search/application-overview/${encodeURIComponentCustom((_row$original = row.original) === null || _row$original === void 0 ? void 0 : (_row$original$Applica = _row$original.Applications) === null || _row$original$Applica === void 0 ? void 0 : _row$original$Applica.applicationNo)}`
|
|
29760
|
+
to: `/digit-ui/citizen/noc/search/application-overview/${encodeURIComponentCustom$1((_row$original = row.original) === null || _row$original === void 0 ? void 0 : (_row$original$Applica = _row$original.Applications) === null || _row$original$Applica === void 0 ? void 0 : _row$original$Applica.applicationNo)}`
|
|
29758
29761
|
}, /*#__PURE__*/React.createElement("b", null, GetCell((_row$original2 = row.original) === null || _row$original2 === void 0 ? void 0 : (_row$original2$Applic = _row$original2.Applications) === null || _row$original2$Applic === void 0 ? void 0 : _row$original2$Applic.applicationNo)));
|
|
29759
29762
|
}
|
|
29760
29763
|
}, {
|
|
@@ -29837,7 +29840,7 @@ const MyApplications = ({
|
|
|
29837
29840
|
label: t("TL_VIEW_DETAILS"),
|
|
29838
29841
|
onSubmit: () => {
|
|
29839
29842
|
var _application$Applicat0;
|
|
29840
|
-
return history.push(`/digit-ui/citizen/noc/search/application-overview/${encodeURIComponentCustom(application === null || application === void 0 ? void 0 : (_application$Applicat0 = application.Applications) === null || _application$Applicat0 === void 0 ? void 0 : _application$Applicat0.applicationNo)}`);
|
|
29843
|
+
return history.push(`/digit-ui/citizen/noc/search/application-overview/${encodeURIComponentCustom$1(application === null || application === void 0 ? void 0 : (_application$Applicat0 = application.Applications) === null || _application$Applicat0 === void 0 ? void 0 : _application$Applicat0.applicationNo)}`);
|
|
29841
29844
|
}
|
|
29842
29845
|
}));
|
|
29843
29846
|
})) : /*#__PURE__*/React.createElement("div", {
|
|
@@ -30282,7 +30285,7 @@ const CitizenApplicationOverview = () => {
|
|
|
30282
30285
|
Licenses: [action]
|
|
30283
30286
|
};
|
|
30284
30287
|
if ((action === null || action === void 0 ? void 0 : action.action) == "EDIT") {
|
|
30285
|
-
const encyptedID = encodeURIComponentCustom(appNo);
|
|
30288
|
+
const encyptedID = encodeURIComponentCustom$1(appNo);
|
|
30286
30289
|
history.push(`/digit-ui/citizen/noc/edit-application/${encyptedID}`);
|
|
30287
30290
|
} else if ((action === null || action === void 0 ? void 0 : action.action) == "DRAFT") {
|
|
30288
30291
|
setShowToast({
|
|
@@ -30770,7 +30773,7 @@ const useSearchApplicationTableConfig$1 = () => {
|
|
|
30770
30773
|
return /*#__PURE__*/React.createElement("div", null, /*#__PURE__*/React.createElement("span", {
|
|
30771
30774
|
className: "link"
|
|
30772
30775
|
}, /*#__PURE__*/React.createElement(Link, {
|
|
30773
|
-
to: `/digit-ui/citizen/noc/search/application-overview/${encodeURIComponentCustom(row.original["applicationNo"])}`
|
|
30776
|
+
to: `/digit-ui/citizen/noc/search/application-overview/${encodeURIComponentCustom$1(row.original["applicationNo"])}`
|
|
30774
30777
|
}, row.original["applicationNo"])));
|
|
30775
30778
|
}
|
|
30776
30779
|
}, {
|
|
@@ -31018,7 +31021,7 @@ const SearchApplication$1 = ({
|
|
|
31018
31021
|
[t("NOC_APPLICATION_NUMBER")]: (data === null || data === void 0 ? void 0 : data.applicationNo) || "-",
|
|
31019
31022
|
[t("TL_COMMON_TABLE_COL_APP_DATE")]: (data === null || data === void 0 ? void 0 : data.date) || "-",
|
|
31020
31023
|
[t("PT_COMMON_TABLE_COL_STATUS_LABEL")]: data !== null && data !== void 0 && data.applicationStatus ? t(`${data.applicationStatus}`) : "-",
|
|
31021
|
-
"Generated ID": encodeURIComponentCustom(data === null || data === void 0 ? void 0 : data.applicationNo)
|
|
31024
|
+
"Generated ID": encodeURIComponentCustom$1(data === null || data === void 0 ? void 0 : data.applicationNo)
|
|
31022
31025
|
})), [data]);
|
|
31023
31026
|
if (isMobile) return /*#__PURE__*/React.createElement(FormProvider, methods, /*#__PURE__*/React.createElement(SearchApplicationMobileView$1, {
|
|
31024
31027
|
SearchFormFieldsComponent: SearchFormFieldsComponent$1,
|