@egovernments/digit-ui-libraries 1.5.0-beta.11 → 1.5.0-beta.25
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/README.md +32 -32
- package/dist/index.js +31 -19
- package/dist/index.js.map +1 -1
- package/dist/index.modern.js +31 -19
- package/dist/index.modern.js.map +1 -1
- package/package.json +43 -43
package/dist/index.modern.js
CHANGED
|
@@ -42591,7 +42591,7 @@ var TLSearch = {
|
|
|
42591
42591
|
value: response !== null && response !== void 0 && (_response$tradeLicens2 = response.tradeLicenseDetail) !== null && _response$tradeLicens2 !== void 0 && _response$tradeLicens2.structureType ? "COMMON_MASTERS_STRUCTURETYPE_" + (response === null || response === void 0 ? void 0 : (_response$tradeLicens3 = response.tradeLicenseDetail) === null || _response$tradeLicens3 === void 0 ? void 0 : (_response$tradeLicens4 = _response$tradeLicens3.structureType) === null || _response$tradeLicens4 === void 0 ? void 0 : _response$tradeLicens4.split(".")[0]) : "NA"
|
|
42592
42592
|
}, {
|
|
42593
42593
|
title: "TL_NEW_TRADE_DETAILS_STRUCT_SUB_TYPE_LABEL",
|
|
42594
|
-
value: response !== null && response !== void 0 && (_response$tradeLicens5 = response.tradeLicenseDetail) !== null && _response$tradeLicens5 !== void 0 && _response$tradeLicens5.structureType ? "
|
|
42594
|
+
value: response !== null && response !== void 0 && (_response$tradeLicens5 = response.tradeLicenseDetail) !== null && _response$tradeLicens5 !== void 0 && _response$tradeLicens5.structureType ? "TL_" + (response === null || response === void 0 ? void 0 : (_response$tradeLicens6 = response.tradeLicenseDetail) === null || _response$tradeLicens6 === void 0 ? void 0 : _response$tradeLicens6.tradeType) : "NA"
|
|
42595
42595
|
}, {
|
|
42596
42596
|
title: "TL_NEW_TRADE_DETAILS_TRADE_COMM_DATE_LABEL",
|
|
42597
42597
|
value: response !== null && response !== void 0 && response.commencementDate ? convertEpochToDate(response === null || response === void 0 ? void 0 : response.commencementDate) : "NA"
|
|
@@ -44045,14 +44045,7 @@ var OBPSService = {
|
|
|
44045
44045
|
edcrNumber: bpaResponse !== null && bpaResponse !== void 0 && (_bpaResponse$BPA2 = bpaResponse.BPA) !== null && _bpaResponse$BPA2 !== void 0 && (_bpaResponse$BPA2$ = _bpaResponse$BPA2[0]) !== null && _bpaResponse$BPA2$ !== void 0 && _bpaResponse$BPA2$.edcrNumber.includes("OCDCR") ? BPA === null || BPA === void 0 ? void 0 : BPA.edcrNumber : bpaResponse === null || bpaResponse === void 0 ? void 0 : (_bpaResponse$BPA3 = bpaResponse.BPA) === null || _bpaResponse$BPA3 === void 0 ? void 0 : (_bpaResponse$BPA3$ = _bpaResponse$BPA3[0]) === null || _bpaResponse$BPA3$ === void 0 ? void 0 : _bpaResponse$BPA3$.edcrNumber
|
|
44046
44046
|
};
|
|
44047
44047
|
return Promise.resolve(OBPSService.comparisionReport(BPA === null || BPA === void 0 ? void 0 : BPA.tenantId, _extends({}, comparisionRep))).then(function (comparisionReport) {
|
|
44048
|
-
|
|
44049
|
-
var _nocDetails$documents;
|
|
44050
|
-
|
|
44051
|
-
nocDetails === null || nocDetails === void 0 ? void 0 : (_nocDetails$documents = nocDetails.documents) === null || _nocDetails$documents === void 0 ? void 0 : _nocDetails$documents.map(function (nocDoc) {
|
|
44052
|
-
appDocumentFileStoreIds.push(nocDoc === null || nocDoc === void 0 ? void 0 : nocDoc.fileStoreId);
|
|
44053
|
-
});
|
|
44054
|
-
});
|
|
44055
|
-
return Promise.resolve(UploadServices.Filefetch(appDocumentFileStoreIds, Digit.ULBService.getStateId())).then(function (fileDetails) {
|
|
44048
|
+
function _temp2() {
|
|
44056
44049
|
var _BPA$additionalDetail, _BPA$additionalDetail2, _BPA$additionalDetail3, _BPA$additionalDetail4, _BPA$additionalDetail5, _BPA$additionalDetail6, _BPA$additionalDetail7, _permitcondn, _permitcondn2, _BPA$auditDetails, _BPA$auditDetails2, _edcr$planDetail3, _edcr$planDetail3$pla, _edcr$planDetail4, _edcr$planDetail4$pla, _edcr$planDetail5, _edcr$planDetail5$pla, _edcr$planDetail6, _edcr$planDetail6$pla, _edcr$planDetail7, _edcr$planDetail7$pla, _BPA$additionalDetail11, _BPA$additionalDetail12, _edcr$planDetail8, _edcr$planDetail8$blo, _edcr$planDetail8$blo2, _edcr$planDetail8$blo3, _edcr$planDetail9, _edcr$planDetail9$blo, _edcr$planDetail9$blo2, _edcr$planDetail9$blo3, _edcr$planDetail10, _edcr$planDetail10$bl, _edcr$planDetail10$bl2, _edcr$planDetail10$bl3, _edcr$planDetail11, _edcr$planDetail11$pl, _BPA$landInfo, _BPA$landInfo$address, _BPA$landInfo2, _BPA$landInfo2$addres, _BPA$landInfo3, _BPA$landInfo3$addres, _BPA$landInfo3$addres2, _BPA$landInfo4, _BPA$landInfo4$addres, _BPA$landInfo5, _BPA$landInfo5$addres, _BPA$landInfo6, _BPA$landInfo6$owners, _BPA$landInfo7, _BPA$landInfo7$owners, _BPA$landInfo9, _BPA$landInfo9$owners, _BPA$documents, _BPA$additionalDetail13, _BPA$additionalDetail14, _BPA$additionalDetail15, _BPA$additionalDetail16, _BPA$additionalDetail17, _BPA$additionalDetail18, _BPA$additionalDetail19, _details;
|
|
44057
44050
|
|
|
44058
44051
|
function ConvertEpochToValidityDate(dateEpoch) {
|
|
@@ -44073,13 +44066,13 @@ var OBPSService = {
|
|
|
44073
44066
|
var _fiData$docs2;
|
|
44074
44067
|
|
|
44075
44068
|
fiData === null || fiData === void 0 ? void 0 : (_fiData$docs2 = fiData.docs) === null || _fiData$docs2 === void 0 ? void 0 : _fiData$docs2.forEach(function (fiDoc) {
|
|
44076
|
-
var _fileDetails$data$
|
|
44069
|
+
var _fileDetails, _fileDetails2, _fileDetails2$data$fi;
|
|
44077
44070
|
|
|
44078
|
-
if (fileDetails !== null &&
|
|
44071
|
+
if ((_fileDetails = fileDetails) !== null && _fileDetails !== void 0 && _fileDetails.data[fiDoc === null || fiDoc === void 0 ? void 0 : fiDoc.fileStoreId]) fiDoc.url = (_fileDetails2 = fileDetails) === null || _fileDetails2 === void 0 ? void 0 : (_fileDetails2$data$fi = _fileDetails2.data[fiDoc === null || fiDoc === void 0 ? void 0 : fiDoc.fileStoreId]) === null || _fileDetails2$data$fi === void 0 ? void 0 : _fileDetails2$data$fi.split(',')[0];
|
|
44079
44072
|
});
|
|
44080
44073
|
});
|
|
44081
44074
|
var nocDetails = noc === null || noc === void 0 ? void 0 : noc.map(function (nocDetails, index) {
|
|
44082
|
-
var _nocDetails$additiona, _nocDetails$additiona2, _nocDetails$additiona3, _nocDetails$auditDeta, _nocDetails$
|
|
44075
|
+
var _nocDetails$additiona, _nocDetails$additiona2, _nocDetails$additiona3, _nocDetails$auditDeta, _nocDetails$documents;
|
|
44083
44076
|
|
|
44084
44077
|
return {
|
|
44085
44078
|
title: index === 0 ? "BPA_NOC_DETAILS_SUMMARY" : "",
|
|
@@ -44108,8 +44101,8 @@ var OBPSService = {
|
|
|
44108
44101
|
data: nocDetails,
|
|
44109
44102
|
noc: [{
|
|
44110
44103
|
title: "BPA_DOCUMENT_DETAILS_LABEL",
|
|
44111
|
-
values: nocDetails === null || nocDetails === void 0 ? void 0 : (_nocDetails$
|
|
44112
|
-
var _doc$documentType2,
|
|
44104
|
+
values: nocDetails === null || nocDetails === void 0 ? void 0 : (_nocDetails$documents = nocDetails.documents) === null || _nocDetails$documents === void 0 ? void 0 : _nocDetails$documents.map(function (doc) {
|
|
44105
|
+
var _doc$documentType2, _fileDetails3, _fileDetails3$data, _fileDetails4, _fileDetails4$data, _fileDetails4$data$do;
|
|
44113
44106
|
|
|
44114
44107
|
return {
|
|
44115
44108
|
title: doc === null || doc === void 0 ? void 0 : (_doc$documentType2 = doc.documentType) === null || _doc$documentType2 === void 0 ? void 0 : _doc$documentType2.replaceAll('.', '_'),
|
|
@@ -44117,7 +44110,7 @@ var OBPSService = {
|
|
|
44117
44110
|
documentUid: doc === null || doc === void 0 ? void 0 : doc.documentUid,
|
|
44118
44111
|
fileStoreId: doc === null || doc === void 0 ? void 0 : doc.fileStoreId,
|
|
44119
44112
|
id: doc === null || doc === void 0 ? void 0 : doc.id,
|
|
44120
|
-
url: fileDetails !== null &&
|
|
44113
|
+
url: (_fileDetails3 = fileDetails) !== null && _fileDetails3 !== void 0 && (_fileDetails3$data = _fileDetails3.data) !== null && _fileDetails3$data !== void 0 && _fileDetails3$data[doc === null || doc === void 0 ? void 0 : doc.fileStoreId] ? (_fileDetails4 = fileDetails) === null || _fileDetails4 === void 0 ? void 0 : (_fileDetails4$data = _fileDetails4.data) === null || _fileDetails4$data === void 0 ? void 0 : (_fileDetails4$data$do = _fileDetails4$data[doc === null || doc === void 0 ? void 0 : doc.fileStoreId]) === null || _fileDetails4$data$do === void 0 ? void 0 : _fileDetails4$data$do.split(',')[0] : ""
|
|
44121
44114
|
};
|
|
44122
44115
|
})
|
|
44123
44116
|
}]
|
|
@@ -44165,7 +44158,7 @@ var OBPSService = {
|
|
|
44165
44158
|
obpsDocuments: [{
|
|
44166
44159
|
title: "",
|
|
44167
44160
|
values: ob === null || ob === void 0 ? void 0 : (_ob$docs = ob.docs) === null || _ob$docs === void 0 ? void 0 : _ob$docs.map(function (doc) {
|
|
44168
|
-
var _doc$documentType3,
|
|
44161
|
+
var _doc$documentType3, _fileDetails5, _fileDetails5$data, _fileDetails6, _fileDetails6$data, _fileDetails6$data$do;
|
|
44169
44162
|
|
|
44170
44163
|
return {
|
|
44171
44164
|
title: doc === null || doc === void 0 ? void 0 : (_doc$documentType3 = doc.documentType) === null || _doc$documentType3 === void 0 ? void 0 : _doc$documentType3.replaceAll('.', '_'),
|
|
@@ -44173,7 +44166,7 @@ var OBPSService = {
|
|
|
44173
44166
|
documentUid: doc === null || doc === void 0 ? void 0 : doc.fileStore,
|
|
44174
44167
|
fileStoreId: doc === null || doc === void 0 ? void 0 : doc.fileStoreId,
|
|
44175
44168
|
id: doc === null || doc === void 0 ? void 0 : doc.id,
|
|
44176
|
-
url: fileDetails !== null &&
|
|
44169
|
+
url: (_fileDetails5 = fileDetails) !== null && _fileDetails5 !== void 0 && (_fileDetails5$data = _fileDetails5.data) !== null && _fileDetails5$data !== void 0 && _fileDetails5$data[doc === null || doc === void 0 ? void 0 : doc.fileStoreId] ? (_fileDetails6 = fileDetails) === null || _fileDetails6 === void 0 ? void 0 : (_fileDetails6$data = _fileDetails6.data) === null || _fileDetails6$data === void 0 ? void 0 : (_fileDetails6$data$do = _fileDetails6$data[doc === null || doc === void 0 ? void 0 : doc.fileStoreId]) === null || _fileDetails6$data$do === void 0 ? void 0 : _fileDetails6$data$do.split(',')[0] : ""
|
|
44177
44170
|
};
|
|
44178
44171
|
})
|
|
44179
44172
|
}]
|
|
@@ -44438,7 +44431,7 @@ var OBPSService = {
|
|
|
44438
44431
|
obpsDocuments: [{
|
|
44439
44432
|
title: "",
|
|
44440
44433
|
values: BPA === null || BPA === void 0 ? void 0 : (_BPA$documents = BPA.documents) === null || _BPA$documents === void 0 ? void 0 : _BPA$documents.map(function (doc) {
|
|
44441
|
-
var _doc$documentType4,
|
|
44434
|
+
var _doc$documentType4, _fileDetails7, _fileDetails7$data, _fileDetails8, _fileDetails8$data, _fileDetails8$data$do;
|
|
44442
44435
|
|
|
44443
44436
|
return {
|
|
44444
44437
|
title: doc === null || doc === void 0 ? void 0 : (_doc$documentType4 = doc.documentType) === null || _doc$documentType4 === void 0 ? void 0 : _doc$documentType4.replaceAll('.', '_'),
|
|
@@ -44446,7 +44439,7 @@ var OBPSService = {
|
|
|
44446
44439
|
documentUid: doc === null || doc === void 0 ? void 0 : doc.documentUid,
|
|
44447
44440
|
fileStoreId: doc === null || doc === void 0 ? void 0 : doc.fileStoreId,
|
|
44448
44441
|
id: doc === null || doc === void 0 ? void 0 : doc.id,
|
|
44449
|
-
url: fileDetails !== null &&
|
|
44442
|
+
url: (_fileDetails7 = fileDetails) !== null && _fileDetails7 !== void 0 && (_fileDetails7$data = _fileDetails7.data) !== null && _fileDetails7$data !== void 0 && _fileDetails7$data[doc === null || doc === void 0 ? void 0 : doc.fileStoreId] ? (_fileDetails8 = fileDetails) === null || _fileDetails8 === void 0 ? void 0 : (_fileDetails8$data = _fileDetails8.data) === null || _fileDetails8$data === void 0 ? void 0 : (_fileDetails8$data$do = _fileDetails8$data[doc === null || doc === void 0 ? void 0 : doc.fileStoreId]) === null || _fileDetails8$data$do === void 0 ? void 0 : _fileDetails8$data$do.split(',')[0] : ""
|
|
44450
44443
|
};
|
|
44451
44444
|
})
|
|
44452
44445
|
}]
|
|
@@ -44548,7 +44541,26 @@ var OBPSService = {
|
|
|
44548
44541
|
applicationNo: BPA === null || BPA === void 0 ? void 0 : BPA.applicationNo,
|
|
44549
44542
|
applicationStatus: BPA === null || BPA === void 0 ? void 0 : BPA.status
|
|
44550
44543
|
};
|
|
44544
|
+
}
|
|
44545
|
+
|
|
44546
|
+
noc === null || noc === void 0 ? void 0 : noc.map(function (nocDetails) {
|
|
44547
|
+
var _nocDetails$documents2;
|
|
44548
|
+
|
|
44549
|
+
nocDetails === null || nocDetails === void 0 ? void 0 : (_nocDetails$documents2 = nocDetails.documents) === null || _nocDetails$documents2 === void 0 ? void 0 : _nocDetails$documents2.map(function (nocDoc) {
|
|
44550
|
+
appDocumentFileStoreIds.push(nocDoc === null || nocDoc === void 0 ? void 0 : nocDoc.fileStoreId);
|
|
44551
|
+
});
|
|
44551
44552
|
});
|
|
44553
|
+
var fileDetails = {};
|
|
44554
|
+
|
|
44555
|
+
var _temp = function () {
|
|
44556
|
+
if ((appDocumentFileStoreIds === null || appDocumentFileStoreIds === void 0 ? void 0 : appDocumentFileStoreIds.length) > 0) {
|
|
44557
|
+
return Promise.resolve(UploadServices.Filefetch(appDocumentFileStoreIds, Digit.ULBService.getStateId())).then(function (_UploadServices$Filef) {
|
|
44558
|
+
fileDetails = _UploadServices$Filef;
|
|
44559
|
+
});
|
|
44560
|
+
}
|
|
44561
|
+
}();
|
|
44562
|
+
|
|
44563
|
+
return _temp && _temp.then ? _temp.then(_temp2) : _temp2(_temp);
|
|
44552
44564
|
});
|
|
44553
44565
|
});
|
|
44554
44566
|
});
|