@djb25/digit-ui-module-ws 1.0.59 → 1.0.61
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 +610 -108
- package/dist/index.js.map +1 -1
- package/dist/index.modern.js +610 -108
- package/dist/index.modern.js.map +1 -1
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -9722,8 +9722,9 @@ const WSCalculation = _ref => {
|
|
|
9722
9722
|
const isHospitalProperty = (watchPropertyType === null || watchPropertyType === void 0 ? void 0 : watchPropertyType.code) === "HOSPITAL_NURSING_HOME" || (watchPropertyType === null || watchPropertyType === void 0 ? void 0 : watchPropertyType.code) === "DharamshalasOrHostels" || (watchPropertyType === null || watchPropertyType === void 0 ? void 0 : watchPropertyType.code) === "HospitalNursingHome";
|
|
9723
9723
|
const isHotelRestaurantProperty = (watchPropertyType === null || watchPropertyType === void 0 ? void 0 : watchPropertyType.code) === "HOTEL_OR_RESTAURANT" || (watchPropertyType === null || watchPropertyType === void 0 ? void 0 : watchPropertyType.code) === "HotelOrRestaurant";
|
|
9724
9724
|
const isSchoolCollegeProperty = (watchPropertyType === null || watchPropertyType === void 0 ? void 0 : watchPropertyType.code) === "School" || (watchPropertyType === null || watchPropertyType === void 0 ? void 0 : watchPropertyType.code) === "College";
|
|
9725
|
-
const
|
|
9726
|
-
const
|
|
9725
|
+
const dwellingPropertyTypes = ["Apartment", "DDAFlats", "GovtFlats", "Bungalows", "FlatOrApartment", "GroupHousingSociety", "JJSLUMS", "IndividualHouse"];
|
|
9726
|
+
const isDwellingUnit = dwellingPropertyTypes.includes(watchPropertyType === null || watchPropertyType === void 0 ? void 0 : watchPropertyType.code);
|
|
9727
|
+
const isServentHouse = dwellingPropertyTypes.includes(watchPropertyType === null || watchPropertyType === void 0 ? void 0 : watchPropertyType.code);
|
|
9727
9728
|
const categoryOptions = React.useMemo(() => {
|
|
9728
9729
|
var _ptServicesMastersDat, _ptServicesMastersDat2;
|
|
9729
9730
|
if (!(watchCategoryType !== null && watchCategoryType !== void 0 && watchCategoryType.code)) return [];
|
|
@@ -10100,13 +10101,13 @@ const WSCalculation = _ref => {
|
|
|
10100
10101
|
className: "ws-calc-row-label"
|
|
10101
10102
|
}, t("WS_COLONY_REBATE"), " (", infraDetail.rebatePercentage || 0, "%)"), /*#__PURE__*/React__default.createElement("span", {
|
|
10102
10103
|
className: "ws-calc-row-value-red"
|
|
10103
|
-
}, "
|
|
10104
|
+
}, "\u20B9 ", ((_infraDetail$rebateAm = infraDetail.rebateAmount) === null || _infraDetail$rebateAm === void 0 ? void 0 : _infraDetail$rebateAm.toLocaleString("en-IN")) || 0)), infraDetail.institutionalRebateApplied && /*#__PURE__*/React__default.createElement(React__default.Fragment, null, /*#__PURE__*/React__default.createElement("div", {
|
|
10104
10105
|
className: "ws-calc-row"
|
|
10105
10106
|
}, /*#__PURE__*/React__default.createElement("span", {
|
|
10106
10107
|
className: "ws-calc-row-label"
|
|
10107
10108
|
}, t("WS_INSTITUTIONAL_REBATE"), " (", infraDetail.institutionalRebatePercentage || 0, "%)"), /*#__PURE__*/React__default.createElement("span", {
|
|
10108
10109
|
className: "ws-calc-row-value-red"
|
|
10109
|
-
}, "
|
|
10110
|
+
}, "\u20B9 ", ((_infraDetail$institut = infraDetail.institutionalRebateAmount) === null || _infraDetail$institut === void 0 ? void 0 : _infraDetail$institut.toLocaleString("en-IN")) || 0)), /*#__PURE__*/React__default.createElement("div", {
|
|
10110
10111
|
className: "ws-calc-row"
|
|
10111
10112
|
}, /*#__PURE__*/React__default.createElement("span", {
|
|
10112
10113
|
className: "ws-calc-row-label"
|
|
@@ -10118,7 +10119,7 @@ const WSCalculation = _ref => {
|
|
|
10118
10119
|
className: "ws-calc-row-label"
|
|
10119
10120
|
}, t("WS_DWELLING_REBATE"), " (", infraDetail.dwellingRebatePercentage || 0, "%)"), /*#__PURE__*/React__default.createElement("span", {
|
|
10120
10121
|
className: "ws-calc-row-value-red"
|
|
10121
|
-
}, "
|
|
10122
|
+
}, "\u20B9 ", ((_infraDetail$dwelling = infraDetail.dwellingRebateAmount) === null || _infraDetail$dwelling === void 0 ? void 0 : _infraDetail$dwelling.toLocaleString("en-IN")) || 0)), /*#__PURE__*/React__default.createElement("div", {
|
|
10122
10123
|
className: "ws-calc-row"
|
|
10123
10124
|
}, /*#__PURE__*/React__default.createElement("span", {
|
|
10124
10125
|
className: "ws-calc-row-label"
|
|
@@ -15861,7 +15862,7 @@ const WSActivationPageDetails = _ref => {
|
|
|
15861
15862
|
filters
|
|
15862
15863
|
};
|
|
15863
15864
|
return /*#__PURE__*/React__default.createElement(React__default.Fragment, null, activationDetails.map((activationDetail, index) => /*#__PURE__*/React__default.createElement(ConnectionDetails$3, _extends({
|
|
15864
|
-
key: activationDetail.key,
|
|
15865
|
+
key: (activationDetail === null || activationDetail === void 0 ? void 0 : activationDetail.key) || index,
|
|
15865
15866
|
index: index,
|
|
15866
15867
|
activationDetail: activationDetail
|
|
15867
15868
|
}, commonProps))));
|
|
@@ -21392,8 +21393,9 @@ const PropertyWaterConnection = _ref => {
|
|
|
21392
21393
|
const isHospitalProperty = (watchPropertyType === null || watchPropertyType === void 0 ? void 0 : watchPropertyType.code) === "HOSPITAL_NURSING_HOME" || (watchPropertyType === null || watchPropertyType === void 0 ? void 0 : watchPropertyType.code) === "DharamshalasOrHostels" || (watchPropertyType === null || watchPropertyType === void 0 ? void 0 : watchPropertyType.code) === "HospitalNursingHome";
|
|
21393
21394
|
const isHotelRestaurantProperty = (watchPropertyType === null || watchPropertyType === void 0 ? void 0 : watchPropertyType.code) === "HOTEL_OR_RESTAURANT" || (watchPropertyType === null || watchPropertyType === void 0 ? void 0 : watchPropertyType.code) === "HotelOrRestaurant";
|
|
21394
21395
|
const isSchoolCollegeProperty = (watchPropertyType === null || watchPropertyType === void 0 ? void 0 : watchPropertyType.code) === "School" || (watchPropertyType === null || watchPropertyType === void 0 ? void 0 : watchPropertyType.code) === "College";
|
|
21395
|
-
const
|
|
21396
|
-
const
|
|
21396
|
+
const dwellingPropertyTypes = ["Apartment", "DDAFlats", "GovtFlats", "Bungalows", "FlatOrApartment", "GroupHousingSociety", "JJSLUMS", "IndividualHouse"];
|
|
21397
|
+
const isDwellingUnit = dwellingPropertyTypes.includes(watchPropertyType === null || watchPropertyType === void 0 ? void 0 : watchPropertyType.code);
|
|
21398
|
+
const isServentHouse = dwellingPropertyTypes.includes(watchPropertyType === null || watchPropertyType === void 0 ? void 0 : watchPropertyType.code);
|
|
21397
21399
|
const yearOptions = React.useMemo(() => {
|
|
21398
21400
|
const currentYear = new Date().getFullYear();
|
|
21399
21401
|
const years = [];
|
|
@@ -30029,7 +30031,7 @@ const ViewBreakup = _ref => {
|
|
|
30029
30031
|
label: "Sewer Infra Charges",
|
|
30030
30032
|
value: infrastructureChargeDetail.sewerComponentIFC,
|
|
30031
30033
|
currency: true
|
|
30032
|
-
}, {
|
|
30034
|
+
}, ...(infrastructureChargeDetail.rebateAmount > 0 ? [{
|
|
30033
30035
|
label: "Rebate",
|
|
30034
30036
|
value: infrastructureChargeDetail.rebatePercentage,
|
|
30035
30037
|
unit: "%"
|
|
@@ -30037,7 +30039,31 @@ const ViewBreakup = _ref => {
|
|
|
30037
30039
|
label: "Rebate amount",
|
|
30038
30040
|
value: infrastructureChargeDetail.rebateAmount,
|
|
30039
30041
|
currency: true
|
|
30042
|
+
}] : []), ...(infrastructureChargeDetail.institutionalRebateApplied ? [{
|
|
30043
|
+
label: "Institutional rebate",
|
|
30044
|
+
value: infrastructureChargeDetail.institutionalRebatePercentage,
|
|
30045
|
+
unit: "%"
|
|
30046
|
+
}, {
|
|
30047
|
+
label: "Institutional rebate amount",
|
|
30048
|
+
value: infrastructureChargeDetail.institutionalRebateAmount,
|
|
30049
|
+
currency: true
|
|
30050
|
+
}, {
|
|
30051
|
+
label: "Institutional rebate reason",
|
|
30052
|
+
value: t(infrastructureChargeDetail.institutionalRebateReason),
|
|
30053
|
+
isText: true
|
|
30054
|
+
}] : []), ...(infrastructureChargeDetail.dwellingRebateApplied ? [{
|
|
30055
|
+
label: "Dwelling rebate",
|
|
30056
|
+
value: infrastructureChargeDetail.dwellingRebatePercentage,
|
|
30057
|
+
unit: "%"
|
|
30058
|
+
}, {
|
|
30059
|
+
label: "Dwelling rebate amount",
|
|
30060
|
+
value: infrastructureChargeDetail.dwellingRebateAmount,
|
|
30061
|
+
currency: true
|
|
30040
30062
|
}, {
|
|
30063
|
+
label: "Dwelling rebate reason",
|
|
30064
|
+
value: t(infrastructureChargeDetail.dwellingRebateReason),
|
|
30065
|
+
isText: true
|
|
30066
|
+
}] : []), {
|
|
30041
30067
|
label: "Net IFC",
|
|
30042
30068
|
value: infrastructureChargeDetail.netIFC,
|
|
30043
30069
|
currency: true
|
|
@@ -31381,7 +31407,7 @@ const getConnectionDetailsPDF = function (application, property, tenantInfo, t)
|
|
|
31381
31407
|
};
|
|
31382
31408
|
|
|
31383
31409
|
const ConnectionDetails$5 = () => {
|
|
31384
|
-
var _Digit$SessionStorage, _user$info, _data$SewerageConnect, _data$SewerageConnect2, _data$WaterConnection, _data$WaterConnection2, _Object$keys, _connectionData$Water, _connectionData$Sewer, _data$WaterConnection3, _data$WaterConnection4, _data$WaterConnection5, _data$WaterConnection6, _data$WaterConnection7, _data$WaterConnection8, _data$WaterConnection9, _data$WaterConnection0, _data$SewerageConnect3, _data$SewerageConnect4, _data$SewerageConnect5, _data$SewerageConnect6, _state, _state$applicationNo, _state2, _state3, _state4, _state4$applicationTy, _state5, _state6, _state7, _state8, _state8$applicationTy, _state9, _state0, _state1, _state10, _state10$applicationT, _state11, _state12, _state13, _state14, _state15, _state15$applicationT, _state16, _state16$waterSource, _state16$waterSource$, _state17, _state18, _state18$waterSource, _state18$waterSource$, _state19, _state20, _state21, _state22, _state22$additionalDe, _state23, _state24, _state25, _state26, _state26$property,
|
|
31410
|
+
var _Digit$SessionStorage, _user$info, _data$SewerageConnect, _data$SewerageConnect2, _data$WaterConnection, _data$WaterConnection2, _Object$keys, _connectionData$Water, _connectionData$Sewer, _data$WaterConnection3, _data$WaterConnection4, _data$WaterConnection5, _data$WaterConnection6, _data$WaterConnection7, _data$WaterConnection8, _data$WaterConnection9, _data$WaterConnection0, _data$SewerageConnect3, _data$SewerageConnect4, _data$SewerageConnect5, _data$SewerageConnect6, _state, _state$applicationNo, _state2, _state3, _state4, _state4$applicationTy, _state5, _state6, _state7, _state8, _state8$applicationTy, _state9, _state0, _state1, _state10, _state10$applicationT, _state11, _state12, _state13, _state14, _state15, _state15$applicationT, _state16, _state16$waterSource, _state16$waterSource$, _state17, _state18, _state18$waterSource, _state18$waterSource$, _state19, _state20, _state21, _state22, _state22$additionalDe, _state23, _state23$applicationT, _state24, _state24$additionalDe, _state24$additionalDe2, _state25, _state25$additionalDe, _state25$additionalDe2, _state26, _state26$additionalDe, _state27, _state27$additionalDe, _state28, _state28$additionalDe, _state28$additionalDe2, _state29, _state29$additionalDe, _state30, _state31, _state32, _state33, _state33$property, _state33$property$own, _PTData$Properties2, _PTData$Properties2$, _PTData$Properties3, _PTData$Properties3$, _PTData$Properties3$$, _PTData$Properties3$$2, _PTData$Properties4, _PTData$Properties4$, _user$info2, _user$info2$userName, _user$info3, _user$info4, _state34, _state34$additionalDe, _state34$additionalDe2, _state35, _state35$additionalDe, _state35$additionalDe2, _state36, _state36$additionalDe, _state37, _state37$additionalDe, _state38, _state38$additionalDe, _state39, _state39$additionalDe, _state40, _state40$additionalDe, _state41, _state42, _state43, _state44, _state44$connectionHo, _state44$connectionHo2, _data$WaterConnection16, _data$WaterConnection17, _data$WaterConnection18, _data$WaterConnection19, _data$SewerageConnect0, _data$SewerageConnect1, _data$SewerageConnect10, _data$SewerageConnect11, _data$WaterConnection20, _data$WaterConnection21, _data$WaterConnection22, _data$WaterConnection23, _data$SewerageConnect12, _data$SewerageConnect13, _data$SewerageConnect14, _data$SewerageConnect15, _data$WaterConnection24, _data$WaterConnection25, _data$WaterConnection26, _data$WaterConnection27, _data$SewerageConnect16, _data$SewerageConnect17, _data$SewerageConnect18, _data$SewerageConnect19, _data$WaterConnection28, _data$WaterConnection29, _data$WaterConnection30, _data$WaterConnection31, _data$SewerageConnect20, _data$SewerageConnect21, _data$SewerageConnect22, _data$SewerageConnect23, _data$WaterConnection32, _data$WaterConnection33, _data$WaterConnection34, _data$WaterConnection35, _data$SewerageConnect24, _data$SewerageConnect25, _data$SewerageConnect26, _data$SewerageConnect27, _data$WaterConnection36, _data$WaterConnection37, _data$WaterConnection38, _data$WaterConnection39, _data$SewerageConnect28, _data$SewerageConnect29, _data$SewerageConnect30, _data$SewerageConnect31, _data$WaterConnection40, _data$WaterConnection41, _data$WaterConnection42, _data$WaterConnection43, _data$SewerageConnect32, _data$SewerageConnect33, _data$SewerageConnect34, _data$SewerageConnect35, _data$WaterConnection44, _data$WaterConnection45, _data$WaterConnection46, _data$WaterConnection47, _data$SewerageConnect36, _data$SewerageConnect37, _data$SewerageConnect38, _data$SewerageConnect39, _data$WaterConnection48, _data$WaterConnection49, _data$WaterConnection50, _data$WaterConnection51, _data$SewerageConnect40, _data$SewerageConnect41, _data$SewerageConnect42, _data$SewerageConnect43, _data$WaterConnection52, _data$WaterConnection53, _data$WaterConnection54, _data$WaterConnection55, _data$SewerageConnect44, _data$SewerageConnect45, _data$SewerageConnect46, _data$SewerageConnect47, _state45, _state45$additionalDe, _state46, _state46$additionalDe, _state47, _state47$additionalDe, _state48, _state48$additionalDe, _state49, _state49$additionalDe, _state50, _state51, _state54, _state55, _state56, _state57, _state58, _state59, _paymentDetails$data17, _paymentDetails$data18;
|
|
31385
31411
|
const _useTranslation = reactI18next.useTranslation(),
|
|
31386
31412
|
t = _useTranslation.t;
|
|
31387
31413
|
const menuRef = React.useRef();
|
|
@@ -31659,7 +31685,7 @@ const ConnectionDetails$5 = () => {
|
|
|
31659
31685
|
marginRight: "auto",
|
|
31660
31686
|
maxWidth: "960px"
|
|
31661
31687
|
}
|
|
31662
|
-
},
|
|
31688
|
+
}, downloadOptions && downloadOptions.length > 0 && /*#__PURE__*/React__default.createElement("div", {
|
|
31663
31689
|
ref: menuRef
|
|
31664
31690
|
}, /*#__PURE__*/React__default.createElement(digitUiReactComponents.MultiLink, {
|
|
31665
31691
|
className: "multilinkWrapper",
|
|
@@ -31667,7 +31693,7 @@ const ConnectionDetails$5 = () => {
|
|
|
31667
31693
|
displayOptions: showOptions,
|
|
31668
31694
|
options: downloadOptions,
|
|
31669
31695
|
optionsStyle: {
|
|
31670
|
-
margin:
|
|
31696
|
+
margin: "0px"
|
|
31671
31697
|
}
|
|
31672
31698
|
}))), checkifPrivacyenabled && /*#__PURE__*/React__default.createElement(WSInfoLabel, {
|
|
31673
31699
|
t: t
|
|
@@ -31779,8 +31805,43 @@ const ConnectionDetails$5 = () => {
|
|
|
31779
31805
|
textStyle: {
|
|
31780
31806
|
whiteSpace: "pre"
|
|
31781
31807
|
}
|
|
31782
|
-
})), ((_state23 = state) === null || _state23 === void 0 ? void 0 : _state23.
|
|
31783
|
-
|
|
31808
|
+
})), ((_state23 = state) === null || _state23 === void 0 ? void 0 : (_state23$applicationT = _state23.applicationType) === null || _state23$applicationT === void 0 ? void 0 : _state23$applicationT.includes("WATER")) && /*#__PURE__*/React__default.createElement("div", null, /*#__PURE__*/React__default.createElement(digitUiReactComponents.Row, {
|
|
31809
|
+
className: "border-none",
|
|
31810
|
+
label: t("WS_WATER_DEMAND_TYPE"),
|
|
31811
|
+
text: (_state24 = state) !== null && _state24 !== void 0 && (_state24$additionalDe = _state24.additionalDetails) !== null && _state24$additionalDe !== void 0 && (_state24$additionalDe2 = _state24$additionalDe.waterDemandType) !== null && _state24$additionalDe2 !== void 0 && _state24$additionalDe2.i18nKey ? t((_state25 = state) === null || _state25 === void 0 ? void 0 : (_state25$additionalDe = _state25.additionalDetails) === null || _state25$additionalDe === void 0 ? void 0 : (_state25$additionalDe2 = _state25$additionalDe.waterDemandType) === null || _state25$additionalDe2 === void 0 ? void 0 : _state25$additionalDe2.i18nKey) : "NA",
|
|
31812
|
+
textStyle: {
|
|
31813
|
+
whiteSpace: "pre"
|
|
31814
|
+
}
|
|
31815
|
+
}), /*#__PURE__*/React__default.createElement(digitUiReactComponents.Row, {
|
|
31816
|
+
className: "border-none",
|
|
31817
|
+
label: t("WS_CATEGORY_TYPE"),
|
|
31818
|
+
text: ((_state26 = state) === null || _state26 === void 0 ? void 0 : (_state26$additionalDe = _state26.additionalDetails) === null || _state26$additionalDe === void 0 ? void 0 : _state26$additionalDe.categoryType) || "NA",
|
|
31819
|
+
textStyle: {
|
|
31820
|
+
whiteSpace: "pre"
|
|
31821
|
+
}
|
|
31822
|
+
}), /*#__PURE__*/React__default.createElement(digitUiReactComponents.Row, {
|
|
31823
|
+
className: "border-none",
|
|
31824
|
+
label: t("WS_ZRO_NAME"),
|
|
31825
|
+
text: ((_state27 = state) === null || _state27 === void 0 ? void 0 : (_state27$additionalDe = _state27.additionalDetails) === null || _state27$additionalDe === void 0 ? void 0 : _state27$additionalDe.zro) || "NA",
|
|
31826
|
+
textStyle: {
|
|
31827
|
+
whiteSpace: "pre"
|
|
31828
|
+
}
|
|
31829
|
+
}), /*#__PURE__*/React__default.createElement(digitUiReactComponents.Row, {
|
|
31830
|
+
className: "border-none",
|
|
31831
|
+
label: t("WS_CONNECTION_USAGE_TYPE"),
|
|
31832
|
+
text: ((_state28 = state) === null || _state28 === void 0 ? void 0 : (_state28$additionalDe = _state28.additionalDetails) === null || _state28$additionalDe === void 0 ? void 0 : (_state28$additionalDe2 = _state28$additionalDe.WaterConnectionUsageType) === null || _state28$additionalDe2 === void 0 ? void 0 : _state28$additionalDe2.name) || "NA",
|
|
31833
|
+
textStyle: {
|
|
31834
|
+
whiteSpace: "pre"
|
|
31835
|
+
}
|
|
31836
|
+
}), /*#__PURE__*/React__default.createElement(digitUiReactComponents.Row, {
|
|
31837
|
+
className: "border-none",
|
|
31838
|
+
label: t("WS_TEMPORARY_CONNECTION"),
|
|
31839
|
+
text: ((_state29 = state) === null || _state29 === void 0 ? void 0 : (_state29$additionalDe = _state29.additionalDetails) === null || _state29$additionalDe === void 0 ? void 0 : _state29$additionalDe.temporaryConnection) || "NA",
|
|
31840
|
+
textStyle: {
|
|
31841
|
+
whiteSpace: "pre"
|
|
31842
|
+
}
|
|
31843
|
+
})), ((_state30 = state) === null || _state30 === void 0 ? void 0 : _state30.connectionType) === "Metered" && /*#__PURE__*/React__default.createElement(reactRouterDom.Link, {
|
|
31844
|
+
to: "/digit-ui/citizen/ws/consumption/details?applicationNo=" + ((_state31 = state) === null || _state31 === void 0 ? void 0 : _state31.connectionNo)
|
|
31784
31845
|
}, /*#__PURE__*/React__default.createElement(digitUiReactComponents.LinkButton, {
|
|
31785
31846
|
style: {
|
|
31786
31847
|
textAlign: "left",
|
|
@@ -31795,11 +31856,11 @@ const ConnectionDetails$5 = () => {
|
|
|
31795
31856
|
}, t("WS_COMMON_PROPERTY_DETAILS")), /*#__PURE__*/React__default.createElement(digitUiReactComponents.StatusTable, null, /*#__PURE__*/React__default.createElement(digitUiReactComponents.Row, {
|
|
31796
31857
|
className: "border-none",
|
|
31797
31858
|
label: t("WS_PROPERTY_ID_LABEL"),
|
|
31798
|
-
text: (
|
|
31859
|
+
text: (_state32 = state) === null || _state32 === void 0 ? void 0 : _state32.propertyId
|
|
31799
31860
|
}), /*#__PURE__*/React__default.createElement(digitUiReactComponents.Row, {
|
|
31800
31861
|
className: "border-none",
|
|
31801
31862
|
label: t("WS_OWN_DETAIL_OWN_NAME_LABEL"),
|
|
31802
|
-
text: (
|
|
31863
|
+
text: (_state33 = state) === null || _state33 === void 0 ? void 0 : (_state33$property = _state33.property) === null || _state33$property === void 0 ? void 0 : (_state33$property$own = _state33$property.owners) === null || _state33$property$own === void 0 ? void 0 : _state33$property$own.map(owner => owner.name).join(","),
|
|
31803
31864
|
textStyle: {
|
|
31804
31865
|
whiteSpace: "pre"
|
|
31805
31866
|
}
|
|
@@ -31831,8 +31892,36 @@ const ConnectionDetails$5 = () => {
|
|
|
31831
31892
|
}
|
|
31832
31893
|
}
|
|
31833
31894
|
}
|
|
31895
|
+
}), /*#__PURE__*/React__default.createElement(digitUiReactComponents.Row, {
|
|
31896
|
+
className: "border-none",
|
|
31897
|
+
label: t("WS_PROPERTY_TYPE"),
|
|
31898
|
+
text: ((_state34 = state) === null || _state34 === void 0 ? void 0 : (_state34$additionalDe = _state34.additionalDetails) === null || _state34$additionalDe === void 0 ? void 0 : (_state34$additionalDe2 = _state34$additionalDe.propertyType) === null || _state34$additionalDe2 === void 0 ? void 0 : _state34$additionalDe2.name) || "NA"
|
|
31899
|
+
}), /*#__PURE__*/React__default.createElement(digitUiReactComponents.Row, {
|
|
31900
|
+
className: "border-none",
|
|
31901
|
+
label: t("WS_PROPERTY_CATEGORY"),
|
|
31902
|
+
text: ((_state35 = state) === null || _state35 === void 0 ? void 0 : (_state35$additionalDe = _state35.additionalDetails) === null || _state35$additionalDe === void 0 ? void 0 : (_state35$additionalDe2 = _state35$additionalDe.propertyCategory) === null || _state35$additionalDe2 === void 0 ? void 0 : _state35$additionalDe2.name) || "NA"
|
|
31903
|
+
}), /*#__PURE__*/React__default.createElement(digitUiReactComponents.Row, {
|
|
31904
|
+
className: "border-none",
|
|
31905
|
+
label: t("WS_PLOT_AREA"),
|
|
31906
|
+
text: ((_state36 = state) === null || _state36 === void 0 ? void 0 : (_state36$additionalDe = _state36.additionalDetails) === null || _state36$additionalDe === void 0 ? void 0 : _state36$additionalDe.plotArea) || "NA"
|
|
31907
|
+
}), /*#__PURE__*/React__default.createElement(digitUiReactComponents.Row, {
|
|
31908
|
+
className: "border-none",
|
|
31909
|
+
label: t("WS_BUILT_UP_AREA"),
|
|
31910
|
+
text: ((_state37 = state) === null || _state37 === void 0 ? void 0 : (_state37$additionalDe = _state37.additionalDetails) === null || _state37$additionalDe === void 0 ? void 0 : _state37$additionalDe.builtUpArea) || "NA"
|
|
31911
|
+
}), /*#__PURE__*/React__default.createElement(digitUiReactComponents.Row, {
|
|
31912
|
+
className: "border-none",
|
|
31913
|
+
label: t("WS_NO_OF_FLOORS"),
|
|
31914
|
+
text: ((_state38 = state) === null || _state38 === void 0 ? void 0 : (_state38$additionalDe = _state38.additionalDetails) === null || _state38$additionalDe === void 0 ? void 0 : _state38$additionalDe.noOfFloors) || "NA"
|
|
31915
|
+
}), /*#__PURE__*/React__default.createElement(digitUiReactComponents.Row, {
|
|
31916
|
+
className: "border-none",
|
|
31917
|
+
label: t("WS_NO_OF_DWELLING_UNITS"),
|
|
31918
|
+
text: ((_state39 = state) === null || _state39 === void 0 ? void 0 : (_state39$additionalDe = _state39.additionalDetails) === null || _state39$additionalDe === void 0 ? void 0 : _state39$additionalDe.NumberofDwellingUnits) || "NA"
|
|
31919
|
+
}), /*#__PURE__*/React__default.createElement(digitUiReactComponents.Row, {
|
|
31920
|
+
className: "border-none",
|
|
31921
|
+
label: t("WS_LOCALITY"),
|
|
31922
|
+
text: ((_state40 = state) === null || _state40 === void 0 ? void 0 : (_state40$additionalDe = _state40.additionalDetails) === null || _state40$additionalDe === void 0 ? void 0 : _state40$additionalDe.locality) || "NA"
|
|
31834
31923
|
}), /*#__PURE__*/React__default.createElement(reactRouterDom.Link, {
|
|
31835
|
-
to: "/digit-ui/citizen/commonpt/view-property?propertyId=" + ((
|
|
31924
|
+
to: "/digit-ui/citizen/commonpt/view-property?propertyId=" + ((_state41 = state) === null || _state41 === void 0 ? void 0 : _state41.propertyId) + "&tenantId=" + ((_state42 = state) === null || _state42 === void 0 ? void 0 : _state42.tenantId)
|
|
31836
31925
|
}, /*#__PURE__*/React__default.createElement(digitUiReactComponents.LinkButton, {
|
|
31837
31926
|
style: {
|
|
31838
31927
|
textAlign: "left",
|
|
@@ -31844,10 +31933,10 @@ const ConnectionDetails$5 = () => {
|
|
|
31844
31933
|
styles: {
|
|
31845
31934
|
fontSize: "28px"
|
|
31846
31935
|
}
|
|
31847
|
-
}, t("WS_COMMON_CONNECTION_HOLDER_DETAILS_HEADER")), (
|
|
31936
|
+
}, t("WS_COMMON_CONNECTION_HOLDER_DETAILS_HEADER")), (_state43 = state) !== null && _state43 !== void 0 && _state43.connectionHolders ? /*#__PURE__*/React__default.createElement("div", null, /*#__PURE__*/React__default.createElement(digitUiReactComponents.StatusTable, null, /*#__PURE__*/React__default.createElement(digitUiReactComponents.Row, {
|
|
31848
31937
|
className: "border-none",
|
|
31849
31938
|
label: t("WS_OWN_DETAIL_OWN_NAME_LABEL"),
|
|
31850
|
-
text: (
|
|
31939
|
+
text: (_state44 = state) === null || _state44 === void 0 ? void 0 : (_state44$connectionHo = _state44.connectionHolders) === null || _state44$connectionHo === void 0 ? void 0 : (_state44$connectionHo2 = _state44$connectionHo[0]) === null || _state44$connectionHo2 === void 0 ? void 0 : _state44$connectionHo2.name,
|
|
31851
31940
|
textStyle: {
|
|
31852
31941
|
whiteSpace: "pre"
|
|
31853
31942
|
}
|
|
@@ -31943,65 +32032,15 @@ const ConnectionDetails$5 = () => {
|
|
|
31943
32032
|
isArray: false
|
|
31944
32033
|
}
|
|
31945
32034
|
}
|
|
31946
|
-
}), /*#__PURE__*/React__default.createElement(digitUiReactComponents.Row, {
|
|
31947
|
-
className: "border-none",
|
|
31948
|
-
label: t("WS_OWN_DETAIL_CROSADD"),
|
|
31949
|
-
text: applicationNobyData !== null && applicationNobyData !== void 0 && applicationNobyData.includes("WS") ? data === null || data === void 0 ? void 0 : (_data$WaterConnection48 = data.WaterConnection) === null || _data$WaterConnection48 === void 0 ? void 0 : (_data$WaterConnection49 = _data$WaterConnection48[0]) === null || _data$WaterConnection49 === void 0 ? void 0 : (_data$WaterConnection50 = _data$WaterConnection49.connectionHolders) === null || _data$WaterConnection50 === void 0 ? void 0 : (_data$WaterConnection51 = _data$WaterConnection50[0]) === null || _data$WaterConnection51 === void 0 ? void 0 : _data$WaterConnection51.correspondenceAddress : data === null || data === void 0 ? void 0 : (_data$SewerageConnect40 = data.SewerageConnections) === null || _data$SewerageConnect40 === void 0 ? void 0 : (_data$SewerageConnect41 = _data$SewerageConnect40[0]) === null || _data$SewerageConnect41 === void 0 ? void 0 : (_data$SewerageConnect42 = _data$SewerageConnect41.connectionHolders) === null || _data$SewerageConnect42 === void 0 ? void 0 : (_data$SewerageConnect43 = _data$SewerageConnect42[0]) === null || _data$SewerageConnect43 === void 0 ? void 0 : _data$SewerageConnect43.correspondenceAddress,
|
|
31950
|
-
privacy: {
|
|
31951
|
-
uuid: applicationNobyData !== null && applicationNobyData !== void 0 && applicationNobyData.includes("WS") ? data === null || data === void 0 ? void 0 : (_data$WaterConnection52 = data.WaterConnection) === null || _data$WaterConnection52 === void 0 ? void 0 : (_data$WaterConnection53 = _data$WaterConnection52[0]) === null || _data$WaterConnection53 === void 0 ? void 0 : (_data$WaterConnection54 = _data$WaterConnection53.connectionHolders) === null || _data$WaterConnection54 === void 0 ? void 0 : (_data$WaterConnection55 = _data$WaterConnection54[0]) === null || _data$WaterConnection55 === void 0 ? void 0 : _data$WaterConnection55.uuid : data === null || data === void 0 ? void 0 : (_data$SewerageConnect44 = data.SewerageConnections) === null || _data$SewerageConnect44 === void 0 ? void 0 : (_data$SewerageConnect45 = _data$SewerageConnect44[0]) === null || _data$SewerageConnect45 === void 0 ? void 0 : (_data$SewerageConnect46 = _data$SewerageConnect45.connectionHolders) === null || _data$SewerageConnect46 === void 0 ? void 0 : (_data$SewerageConnect47 = _data$SewerageConnect46[0]) === null || _data$SewerageConnect47 === void 0 ? void 0 : _data$SewerageConnect47.uuid,
|
|
31952
|
-
fieldName: "correspondenceAddress",
|
|
31953
|
-
model: "WnSConnectionOwner",
|
|
31954
|
-
hide: !((_state31 = state) !== null && _state31 !== void 0 && _state31.connectionHolders),
|
|
31955
|
-
showValue: false,
|
|
31956
|
-
loadData: {
|
|
31957
|
-
serviceName: serviceType === "WATER" ? "/ws-services/wc/_search" : "/sw-services/swc/_search",
|
|
31958
|
-
requestBody: {},
|
|
31959
|
-
requestParam: {
|
|
31960
|
-
tenantId,
|
|
31961
|
-
applicationNumber: applicationNobyData
|
|
31962
|
-
},
|
|
31963
|
-
jsonPath: serviceType === "WATER" ? "WaterConnection[0].connectionHolders[0].correspondenceAddress" : "SewerageConnections[0].connectionHolders[0].correspondenceAddress",
|
|
31964
|
-
isArray: false
|
|
31965
|
-
}
|
|
31966
|
-
}
|
|
31967
|
-
}), /*#__PURE__*/React__default.createElement(digitUiReactComponents.Row, {
|
|
31968
|
-
className: "border-none",
|
|
31969
|
-
label: t("WS_OWN_DETAIL_SPECIAL_APPLICANT_LABEL"),
|
|
31970
|
-
text: (applicationNobyData !== null && applicationNobyData !== void 0 && applicationNobyData.includes("WS") ? !(data !== null && data !== void 0 && (_data$WaterConnection56 = data.WaterConnection) !== null && _data$WaterConnection56 !== void 0 && (_data$WaterConnection57 = _data$WaterConnection56[0]) !== null && _data$WaterConnection57 !== void 0 && (_data$WaterConnection58 = _data$WaterConnection57.connectionHolders) !== null && _data$WaterConnection58 !== void 0 && (_data$WaterConnection59 = _data$WaterConnection58[0]) !== null && _data$WaterConnection59 !== void 0 && (_data$WaterConnection60 = _data$WaterConnection59.ownerType) !== null && _data$WaterConnection60 !== void 0 && _data$WaterConnection60.includes("*")) : !(data !== null && data !== void 0 && (_data$SewerageConnect48 = data.SewerageConnections) !== null && _data$SewerageConnect48 !== void 0 && (_data$SewerageConnect49 = _data$SewerageConnect48[0]) !== null && _data$SewerageConnect49 !== void 0 && (_data$SewerageConnect50 = _data$SewerageConnect49.connectionHolders) !== null && _data$SewerageConnect50 !== void 0 && (_data$SewerageConnect51 = _data$SewerageConnect50[0]) !== null && _data$SewerageConnect51 !== void 0 && (_data$SewerageConnect52 = _data$SewerageConnect51.ownerType) !== null && _data$SewerageConnect52 !== void 0 && _data$SewerageConnect52.includes("*"))) ? t("COMMON_MASTERS_OWNERTYPE_" + (applicationNobyData !== null && applicationNobyData !== void 0 && applicationNobyData.includes("WS") ? data === null || data === void 0 ? void 0 : (_data$WaterConnection61 = data.WaterConnection) === null || _data$WaterConnection61 === void 0 ? void 0 : (_data$WaterConnection62 = _data$WaterConnection61[0]) === null || _data$WaterConnection62 === void 0 ? void 0 : (_data$WaterConnection63 = _data$WaterConnection62.connectionHolders) === null || _data$WaterConnection63 === void 0 ? void 0 : (_data$WaterConnection64 = _data$WaterConnection63[0]) === null || _data$WaterConnection64 === void 0 ? void 0 : _data$WaterConnection64.ownerType : data === null || data === void 0 ? void 0 : (_data$SewerageConnect53 = data.SewerageConnections) === null || _data$SewerageConnect53 === void 0 ? void 0 : (_data$SewerageConnect54 = _data$SewerageConnect53[0]) === null || _data$SewerageConnect54 === void 0 ? void 0 : (_data$SewerageConnect55 = _data$SewerageConnect54.connectionHolders) === null || _data$SewerageConnect55 === void 0 ? void 0 : (_data$SewerageConnect56 = _data$SewerageConnect55[0]) === null || _data$SewerageConnect56 === void 0 ? void 0 : _data$SewerageConnect56.ownerType)) : applicationNobyData !== null && applicationNobyData !== void 0 && applicationNobyData.includes("WS") ? data === null || data === void 0 ? void 0 : (_data$WaterConnection65 = data.WaterConnection) === null || _data$WaterConnection65 === void 0 ? void 0 : (_data$WaterConnection66 = _data$WaterConnection65[0]) === null || _data$WaterConnection66 === void 0 ? void 0 : (_data$WaterConnection67 = _data$WaterConnection66.connectionHolders) === null || _data$WaterConnection67 === void 0 ? void 0 : (_data$WaterConnection68 = _data$WaterConnection67[0]) === null || _data$WaterConnection68 === void 0 ? void 0 : _data$WaterConnection68.ownerType : data === null || data === void 0 ? void 0 : (_data$SewerageConnect57 = data.SewerageConnections) === null || _data$SewerageConnect57 === void 0 ? void 0 : (_data$SewerageConnect58 = _data$SewerageConnect57[0]) === null || _data$SewerageConnect58 === void 0 ? void 0 : (_data$SewerageConnect59 = _data$SewerageConnect58.connectionHolders) === null || _data$SewerageConnect59 === void 0 ? void 0 : (_data$SewerageConnect60 = _data$SewerageConnect59[0]) === null || _data$SewerageConnect60 === void 0 ? void 0 : _data$SewerageConnect60.ownerType,
|
|
31971
|
-
textStyle: {
|
|
31972
|
-
whiteSpace: "pre"
|
|
31973
|
-
},
|
|
31974
|
-
privacy: {
|
|
31975
|
-
uuid: applicationNobyData !== null && applicationNobyData !== void 0 && applicationNobyData.includes("WS") ? data === null || data === void 0 ? void 0 : (_data$WaterConnection69 = data.WaterConnection) === null || _data$WaterConnection69 === void 0 ? void 0 : (_data$WaterConnection70 = _data$WaterConnection69[0]) === null || _data$WaterConnection70 === void 0 ? void 0 : (_data$WaterConnection71 = _data$WaterConnection70.connectionHolders) === null || _data$WaterConnection71 === void 0 ? void 0 : (_data$WaterConnection72 = _data$WaterConnection71[0]) === null || _data$WaterConnection72 === void 0 ? void 0 : _data$WaterConnection72.uuid : data === null || data === void 0 ? void 0 : (_data$SewerageConnect61 = data.SewerageConnections) === null || _data$SewerageConnect61 === void 0 ? void 0 : (_data$SewerageConnect62 = _data$SewerageConnect61[0]) === null || _data$SewerageConnect62 === void 0 ? void 0 : (_data$SewerageConnect63 = _data$SewerageConnect62.connectionHolders) === null || _data$SewerageConnect63 === void 0 ? void 0 : (_data$SewerageConnect64 = _data$SewerageConnect63[0]) === null || _data$SewerageConnect64 === void 0 ? void 0 : _data$SewerageConnect64.uuid,
|
|
31976
|
-
fieldName: "ownerType",
|
|
31977
|
-
model: "WnSConnection",
|
|
31978
|
-
hide: !((_state32 = state) !== null && _state32 !== void 0 && (_state32$connectionHo = _state32.connectionHolders) !== null && _state32$connectionHo !== void 0 && (_state32$connectionHo2 = _state32$connectionHo[0]) !== null && _state32$connectionHo2 !== void 0 && _state32$connectionHo2.ownerType),
|
|
31979
|
-
showValue: false,
|
|
31980
|
-
loadData: {
|
|
31981
|
-
serviceName: serviceType === "WATER" ? "/ws-services/wc/_search" : "/sw-services/swc/_search",
|
|
31982
|
-
requestBody: {},
|
|
31983
|
-
requestParam: {
|
|
31984
|
-
tenantId,
|
|
31985
|
-
applicationNumber: applicationNobyData
|
|
31986
|
-
},
|
|
31987
|
-
jsonPath: serviceType === "WATER" ? "WaterConnection[0].connectionHolders[0].ownerType" : "SewerageConnections[0].connectionHolders[0].ownerType",
|
|
31988
|
-
isArray: false,
|
|
31989
|
-
d: res => {
|
|
31990
|
-
var _res$WaterConnection, _res$WaterConnection2, _res$WaterConnection3, _res$WaterConnection4, _res$WaterConnection5, _res$WaterConnection6, _res$SewerageConnecti, _res$SewerageConnecti2, _res$SewerageConnecti3, _res$SewerageConnecti4, _res$SewerageConnecti5;
|
|
31991
|
-
let resultString = res !== null && res !== void 0 && (_res$WaterConnection = res.WaterConnection) !== null && _res$WaterConnection !== void 0 && _res$WaterConnection[0] ? t("PROPERTYTAX_OWNERTYPE_" + (res === null || res === void 0 ? void 0 : (_res$WaterConnection2 = res.WaterConnection) === null || _res$WaterConnection2 === void 0 ? void 0 : (_res$WaterConnection3 = _res$WaterConnection2[0]) === null || _res$WaterConnection3 === void 0 ? void 0 : (_res$WaterConnection4 = _res$WaterConnection3.connectionHolders) === null || _res$WaterConnection4 === void 0 ? void 0 : (_res$WaterConnection5 = _res$WaterConnection4[0]) === null || _res$WaterConnection5 === void 0 ? void 0 : (_res$WaterConnection6 = _res$WaterConnection5.ownerType) === null || _res$WaterConnection6 === void 0 ? void 0 : _res$WaterConnection6.toUpperCase())) : t("PROPERTYTAX_OWNERTYPE_" + (res === null || res === void 0 ? void 0 : (_res$SewerageConnecti = res.SewerageConnections) === null || _res$SewerageConnecti === void 0 ? void 0 : (_res$SewerageConnecti2 = _res$SewerageConnecti[0]) === null || _res$SewerageConnecti2 === void 0 ? void 0 : (_res$SewerageConnecti3 = _res$SewerageConnecti2.connectionHolders) === null || _res$SewerageConnecti3 === void 0 ? void 0 : (_res$SewerageConnecti4 = _res$SewerageConnecti3[0]) === null || _res$SewerageConnecti4 === void 0 ? void 0 : (_res$SewerageConnecti5 = _res$SewerageConnecti4.ownerType) === null || _res$SewerageConnecti5 === void 0 ? void 0 : _res$SewerageConnecti5.toUpperCase()));
|
|
31992
|
-
return resultString;
|
|
31993
|
-
}
|
|
31994
|
-
}
|
|
31995
|
-
}
|
|
31996
32035
|
}), /*#__PURE__*/React__default.createElement(digitUiReactComponents.Row, {
|
|
31997
32036
|
className: "border-none",
|
|
31998
32037
|
label: t("WS_OWN_EMAIL_IDNO_LABEL"),
|
|
31999
|
-
text: applicationNobyData !== null && applicationNobyData !== void 0 && applicationNobyData.includes("WS") ? data === null || data === void 0 ? void 0 : (_data$
|
|
32038
|
+
text: applicationNobyData !== null && applicationNobyData !== void 0 && applicationNobyData.includes("WS") ? data === null || data === void 0 ? void 0 : (_data$WaterConnection48 = data.WaterConnection) === null || _data$WaterConnection48 === void 0 ? void 0 : (_data$WaterConnection49 = _data$WaterConnection48[0]) === null || _data$WaterConnection49 === void 0 ? void 0 : (_data$WaterConnection50 = _data$WaterConnection49.connectionHolders) === null || _data$WaterConnection50 === void 0 ? void 0 : (_data$WaterConnection51 = _data$WaterConnection50[0]) === null || _data$WaterConnection51 === void 0 ? void 0 : _data$WaterConnection51.emailId : data === null || data === void 0 ? void 0 : (_data$SewerageConnect40 = data.SewerageConnections) === null || _data$SewerageConnect40 === void 0 ? void 0 : (_data$SewerageConnect41 = _data$SewerageConnect40[0]) === null || _data$SewerageConnect41 === void 0 ? void 0 : (_data$SewerageConnect42 = _data$SewerageConnect41.connectionHolders) === null || _data$SewerageConnect42 === void 0 ? void 0 : (_data$SewerageConnect43 = _data$SewerageConnect42[0]) === null || _data$SewerageConnect43 === void 0 ? void 0 : _data$SewerageConnect43.emailId,
|
|
32000
32039
|
textStyle: {
|
|
32001
32040
|
whiteSpace: "pre"
|
|
32002
32041
|
},
|
|
32003
32042
|
privacy: {
|
|
32004
|
-
uuid: applicationNobyData !== null && applicationNobyData !== void 0 && applicationNobyData.includes("WS") ? data === null || data === void 0 ? void 0 : (_data$
|
|
32043
|
+
uuid: applicationNobyData !== null && applicationNobyData !== void 0 && applicationNobyData.includes("WS") ? data === null || data === void 0 ? void 0 : (_data$WaterConnection52 = data.WaterConnection) === null || _data$WaterConnection52 === void 0 ? void 0 : (_data$WaterConnection53 = _data$WaterConnection52[0]) === null || _data$WaterConnection53 === void 0 ? void 0 : (_data$WaterConnection54 = _data$WaterConnection53.connectionHolders) === null || _data$WaterConnection54 === void 0 ? void 0 : (_data$WaterConnection55 = _data$WaterConnection54[0]) === null || _data$WaterConnection55 === void 0 ? void 0 : _data$WaterConnection55.uuid : data === null || data === void 0 ? void 0 : (_data$SewerageConnect44 = data.SewerageConnections) === null || _data$SewerageConnect44 === void 0 ? void 0 : (_data$SewerageConnect45 = _data$SewerageConnect44[0]) === null || _data$SewerageConnect45 === void 0 ? void 0 : (_data$SewerageConnect46 = _data$SewerageConnect45.connectionHolders) === null || _data$SewerageConnect46 === void 0 ? void 0 : (_data$SewerageConnect47 = _data$SewerageConnect46[0]) === null || _data$SewerageConnect47 === void 0 ? void 0 : _data$SewerageConnect47.uuid,
|
|
32005
32044
|
fieldName: "connectionHoldersEmailId",
|
|
32006
32045
|
model: "WnSConnectionOwner",
|
|
32007
32046
|
showValue: false,
|
|
@@ -32016,7 +32055,48 @@ const ConnectionDetails$5 = () => {
|
|
|
32016
32055
|
isArray: false
|
|
32017
32056
|
}
|
|
32018
32057
|
}
|
|
32019
|
-
}))) : /*#__PURE__*/React__default.createElement(digitUiReactComponents.CardText, null, t("WS_PROPERTY_OWNER_SAME_AS_CONN_HOLDERS")),
|
|
32058
|
+
}))) : /*#__PURE__*/React__default.createElement(digitUiReactComponents.CardText, null, t("WS_PROPERTY_OWNER_SAME_AS_CONN_HOLDERS")), /*#__PURE__*/React__default.createElement(digitUiReactComponents.CardHeader, {
|
|
32059
|
+
styles: {
|
|
32060
|
+
fontSize: "28px"
|
|
32061
|
+
}
|
|
32062
|
+
}, t("WS_COMMON_BANK_DETAILS")), /*#__PURE__*/React__default.createElement(digitUiReactComponents.StatusTable, null, /*#__PURE__*/React__default.createElement(digitUiReactComponents.Row, {
|
|
32063
|
+
className: "border-none",
|
|
32064
|
+
label: t("WS_BANK_NAME"),
|
|
32065
|
+
text: ((_state45 = state) === null || _state45 === void 0 ? void 0 : (_state45$additionalDe = _state45.additionalDetails) === null || _state45$additionalDe === void 0 ? void 0 : _state45$additionalDe.bankName) || "NA"
|
|
32066
|
+
}), /*#__PURE__*/React__default.createElement(digitUiReactComponents.Row, {
|
|
32067
|
+
className: "border-none",
|
|
32068
|
+
label: t("WS_BANK_BRANCH_NAME"),
|
|
32069
|
+
text: ((_state46 = state) === null || _state46 === void 0 ? void 0 : (_state46$additionalDe = _state46.additionalDetails) === null || _state46$additionalDe === void 0 ? void 0 : _state46$additionalDe.bankBranchName) || "NA"
|
|
32070
|
+
}), /*#__PURE__*/React__default.createElement(digitUiReactComponents.Row, {
|
|
32071
|
+
className: "border-none",
|
|
32072
|
+
label: t("WS_BANK_ACCOUNT_NUMBER"),
|
|
32073
|
+
text: ((_state47 = state) === null || _state47 === void 0 ? void 0 : (_state47$additionalDe = _state47.additionalDetails) === null || _state47$additionalDe === void 0 ? void 0 : _state47$additionalDe.accountNumber) || ((_state48 = state) === null || _state48 === void 0 ? void 0 : (_state48$additionalDe = _state48.additionalDetails) === null || _state48$additionalDe === void 0 ? void 0 : _state48$additionalDe.bankAccountNumber) || "NA"
|
|
32074
|
+
}), /*#__PURE__*/React__default.createElement(digitUiReactComponents.Row, {
|
|
32075
|
+
className: "border-none",
|
|
32076
|
+
label: t("WS_BANK_IFSC_CODE"),
|
|
32077
|
+
text: ((_state49 = state) === null || _state49 === void 0 ? void 0 : (_state49$additionalDe = _state49.additionalDetails) === null || _state49$additionalDe === void 0 ? void 0 : _state49$additionalDe.ifscCode) || "NA"
|
|
32078
|
+
})), /*#__PURE__*/React__default.createElement(digitUiReactComponents.CardHeader, {
|
|
32079
|
+
styles: {
|
|
32080
|
+
fontSize: "28px"
|
|
32081
|
+
}
|
|
32082
|
+
}, t("WS_COMMON_BANK_DETAILS")), ((_state50 = state) === null || _state50 === void 0 ? void 0 : _state50.documents) && ((_state51 = state) === null || _state51 === void 0 ? void 0 : _state51.documents.map((doc, index) => {
|
|
32083
|
+
var _doc$documentType, _state52, _state53;
|
|
32084
|
+
return /*#__PURE__*/React__default.createElement("div", {
|
|
32085
|
+
key: "doc-" + index
|
|
32086
|
+
}, /*#__PURE__*/React__default.createElement("div", null, /*#__PURE__*/React__default.createElement(digitUiReactComponents.CardSectionHeader, null, t(doc === null || doc === void 0 ? void 0 : (_doc$documentType = doc.documentType) === null || _doc$documentType === void 0 ? void 0 : _doc$documentType.split(".").slice(0, 2).join("_"))), /*#__PURE__*/React__default.createElement(digitUiReactComponents.StatusTable, null, /*#__PURE__*/React__default.createElement(WSDocument, {
|
|
32087
|
+
value: (_state52 = state) === null || _state52 === void 0 ? void 0 : _state52.documents,
|
|
32088
|
+
Code: doc === null || doc === void 0 ? void 0 : doc.documentType,
|
|
32089
|
+
index: index
|
|
32090
|
+
}), ((_state53 = state) === null || _state53 === void 0 ? void 0 : _state53.documents.length) != index + 1 ? /*#__PURE__*/React__default.createElement("hr", {
|
|
32091
|
+
style: {
|
|
32092
|
+
color: "#cccccc",
|
|
32093
|
+
backgroundColor: "#cccccc",
|
|
32094
|
+
height: "2px",
|
|
32095
|
+
marginTop: "20px",
|
|
32096
|
+
marginBottom: "20px"
|
|
32097
|
+
}
|
|
32098
|
+
}) : null)));
|
|
32099
|
+
})), (((_state54 = state) === null || _state54 === void 0 ? void 0 : _state54.status) !== "inactive" || ((_state55 = state) === null || _state55 === void 0 ? void 0 : _state55.applicationStatus) !== "Inactive" || ((_state56 = state) === null || _state56 === void 0 ? void 0 : _state56.applicationStatus) !== "INACTIVE") && !isDisconnectionDone ? /*#__PURE__*/React__default.createElement(digitUiReactComponents.ActionBar, {
|
|
32020
32100
|
style: {
|
|
32021
32101
|
position: "relative",
|
|
32022
32102
|
boxShadow: "none",
|
|
@@ -32035,7 +32115,7 @@ const ConnectionDetails$5 = () => {
|
|
|
32035
32115
|
},
|
|
32036
32116
|
label: t("WS_DISCONNECTION_BUTTON"),
|
|
32037
32117
|
onSubmit: onActionSelect
|
|
32038
|
-
}))) : ((
|
|
32118
|
+
}))) : ((_state57 = state) === null || _state57 === void 0 ? void 0 : _state57.applicationStatus) == "DISCONNECTION_EXECUTED" && ((_state58 = state) === null || _state58 === void 0 ? void 0 : _state58.status) == "Inactive" && ((_state59 = state) === null || _state59 === void 0 ? void 0 : _state59.isDisconnectionTemporary) && /*#__PURE__*/React__default.createElement(digitUiReactComponents.ActionBar, {
|
|
32039
32119
|
style: {
|
|
32040
32120
|
position: "relative",
|
|
32041
32121
|
boxShadow: "none",
|
|
@@ -32067,8 +32147,8 @@ const ConnectionDetails$5 = () => {
|
|
|
32067
32147
|
actionSingleLabel: t("COMMON_MAKE_PAYMENT"),
|
|
32068
32148
|
hideSubmit: true,
|
|
32069
32149
|
actionSingleSubmit: () => {
|
|
32070
|
-
var
|
|
32071
|
-
history.push("/digit-ui/citizen/payment/collect/" + (isSW ? "SW" : "WS") + "/" + encodeURIComponent((
|
|
32150
|
+
var _state60, _state61;
|
|
32151
|
+
history.push("/digit-ui/citizen/payment/collect/" + (isSW ? "SW" : "WS") + "/" + encodeURIComponent((_state60 = state) === null || _state60 === void 0 ? void 0 : _state60.connectionNo) + "/" + tenantId + "?consumerCode=" + ((_state61 = state) === null || _state61 === void 0 ? void 0 : _state61.connectionNo) + "&&tenantId=" + tenantId + "&&workflow=WNS");
|
|
32072
32152
|
setshowModal(false);
|
|
32073
32153
|
},
|
|
32074
32154
|
popupStyles: mobileView ? {
|
|
@@ -48582,8 +48662,367 @@ const EditModifyApplication = () => {
|
|
|
48582
48662
|
}));
|
|
48583
48663
|
};
|
|
48584
48664
|
|
|
48665
|
+
const WSMutationApplicantDetails = _ref => {
|
|
48666
|
+
var _formData$config$key, _errors$proposedNewCo, _errors$newOwnerMobil, _errors$newOwnerEmail, _errors$relationshipW, _errors$reasonForName;
|
|
48667
|
+
let t = _ref.t,
|
|
48668
|
+
config = _ref.config,
|
|
48669
|
+
onSelect = _ref.onSelect,
|
|
48670
|
+
formData = _ref.formData,
|
|
48671
|
+
clearErrors = _ref.clearErrors;
|
|
48672
|
+
const _useForm = reactHookForm.useForm({
|
|
48673
|
+
defaultValues: (formData === null || formData === void 0 ? void 0 : formData[config.key]) || {}
|
|
48674
|
+
}),
|
|
48675
|
+
control = _useForm.control,
|
|
48676
|
+
watch = _useForm.watch,
|
|
48677
|
+
localFormState = _useForm.formState;
|
|
48678
|
+
const formValue = watch();
|
|
48679
|
+
const errors = localFormState.errors;
|
|
48680
|
+
const reasonOptions = [{
|
|
48681
|
+
code: "SALE_PURCHASE",
|
|
48682
|
+
i18nKey: "Sale / Purchase of Property"
|
|
48683
|
+
}, {
|
|
48684
|
+
code: "DEVOLUTION_INHERITANCE",
|
|
48685
|
+
i18nKey: "Devolution/Inheritance"
|
|
48686
|
+
}, {
|
|
48687
|
+
code: "OTHER",
|
|
48688
|
+
i18nKey: "Other Reason(Gift, Lease, etc)"
|
|
48689
|
+
}];
|
|
48690
|
+
const relationshipOptions = [{
|
|
48691
|
+
code: "MOTHER",
|
|
48692
|
+
i18nKey: "Mother"
|
|
48693
|
+
}, {
|
|
48694
|
+
code: "FATHER",
|
|
48695
|
+
i18nKey: "Father"
|
|
48696
|
+
}, {
|
|
48697
|
+
code: "SIBLING",
|
|
48698
|
+
i18nKey: "Sibling"
|
|
48699
|
+
}, {
|
|
48700
|
+
code: "SPOUSE",
|
|
48701
|
+
i18nKey: "Spouse"
|
|
48702
|
+
}, {
|
|
48703
|
+
code: "SON",
|
|
48704
|
+
i18nKey: "Son"
|
|
48705
|
+
}, {
|
|
48706
|
+
code: "DAUGHTER",
|
|
48707
|
+
i18nKey: "Daughter"
|
|
48708
|
+
}, {
|
|
48709
|
+
code: "LEGAL_HEIR",
|
|
48710
|
+
i18nKey: "Legal heir"
|
|
48711
|
+
}, {
|
|
48712
|
+
code: "OTHER",
|
|
48713
|
+
i18nKey: "Other"
|
|
48714
|
+
}];
|
|
48715
|
+
const _useState = React.useState((formData === null || formData === void 0 ? void 0 : (_formData$config$key = formData[config.key]) === null || _formData$config$key === void 0 ? void 0 : _formData$config$key.saleDeedDocumentId) || null),
|
|
48716
|
+
uploadedFile = _useState[0],
|
|
48717
|
+
setUploadedFile = _useState[1];
|
|
48718
|
+
const _useState2 = React.useState(null),
|
|
48719
|
+
file = _useState2[0],
|
|
48720
|
+
setFile = _useState2[1];
|
|
48721
|
+
const _useState3 = React.useState(false),
|
|
48722
|
+
isUploading = _useState3[0],
|
|
48723
|
+
setIsUploading = _useState3[1];
|
|
48724
|
+
React.useEffect(() => {
|
|
48725
|
+
const currentState = _extends({}, formValue, {
|
|
48726
|
+
saleDeedDocumentId: uploadedFile
|
|
48727
|
+
});
|
|
48728
|
+
if (!lodash.isEqual(formData === null || formData === void 0 ? void 0 : formData[config.key], currentState)) {
|
|
48729
|
+
onSelect(config.key, currentState);
|
|
48730
|
+
}
|
|
48731
|
+
}, [formValue, uploadedFile]);
|
|
48732
|
+
React.useEffect(() => {
|
|
48733
|
+
(function () {
|
|
48734
|
+
try {
|
|
48735
|
+
const _temp2 = function () {
|
|
48736
|
+
if (file) {
|
|
48737
|
+
const _temp = _finallyRethrows(function () {
|
|
48738
|
+
return _catch(function () {
|
|
48739
|
+
setIsUploading(true);
|
|
48740
|
+
return Promise.resolve(window.Digit.UploadServices.Filestorage("WS", file, window.Digit.ULBService.getStateId())).then(function (response) {
|
|
48741
|
+
var _response$data, _response$data$files;
|
|
48742
|
+
if ((response === null || response === void 0 ? void 0 : (_response$data = response.data) === null || _response$data === void 0 ? void 0 : (_response$data$files = _response$data.files) === null || _response$data$files === void 0 ? void 0 : _response$data$files.length) > 0) {
|
|
48743
|
+
setUploadedFile(response.data.files[0].fileStoreId);
|
|
48744
|
+
clearErrors && clearErrors(config.key);
|
|
48745
|
+
}
|
|
48746
|
+
});
|
|
48747
|
+
}, function (err) {
|
|
48748
|
+
console.error("File upload error", err);
|
|
48749
|
+
});
|
|
48750
|
+
}, function (_wasThrown, _result) {
|
|
48751
|
+
setIsUploading(false);
|
|
48752
|
+
if (_wasThrown) throw _result;
|
|
48753
|
+
return _result;
|
|
48754
|
+
});
|
|
48755
|
+
if (_temp && _temp.then) return _temp.then(function () {});
|
|
48756
|
+
}
|
|
48757
|
+
}();
|
|
48758
|
+
return _temp2 && _temp2.then ? _temp2.then(function () {}) : void 0;
|
|
48759
|
+
} catch (e) {
|
|
48760
|
+
Promise.reject(e);
|
|
48761
|
+
}
|
|
48762
|
+
})();
|
|
48763
|
+
}, [file]);
|
|
48764
|
+
const errorStyle = {
|
|
48765
|
+
width: "100%",
|
|
48766
|
+
marginLeft: "0px",
|
|
48767
|
+
fontSize: "12px",
|
|
48768
|
+
marginTop: "4px"
|
|
48769
|
+
};
|
|
48770
|
+
return /*#__PURE__*/React__default.createElement("div", {
|
|
48771
|
+
className: "formcomposer-section-grid",
|
|
48772
|
+
style: {
|
|
48773
|
+
gridTemplateColumns: "1fr 1fr",
|
|
48774
|
+
gap: "20px",
|
|
48775
|
+
display: "grid"
|
|
48776
|
+
}
|
|
48777
|
+
}, /*#__PURE__*/React__default.createElement("div", {
|
|
48778
|
+
style: {
|
|
48779
|
+
display: "flex",
|
|
48780
|
+
flexDirection: "column",
|
|
48781
|
+
gap: "20px"
|
|
48782
|
+
}
|
|
48783
|
+
}, /*#__PURE__*/React__default.createElement("div", null, /*#__PURE__*/React__default.createElement(digitUiReactComponents.LabelFieldPair, {
|
|
48784
|
+
style: {
|
|
48785
|
+
display: "flex",
|
|
48786
|
+
flexDirection: "column",
|
|
48787
|
+
alignItems: "flex-start",
|
|
48788
|
+
gap: "4px"
|
|
48789
|
+
}
|
|
48790
|
+
}, /*#__PURE__*/React__default.createElement(digitUiReactComponents.CardLabel, {
|
|
48791
|
+
style: {
|
|
48792
|
+
margin: 0,
|
|
48793
|
+
fontWeight: "bold"
|
|
48794
|
+
}
|
|
48795
|
+
}, "PROPOSED NEW CONSUMER NAME*"), /*#__PURE__*/React__default.createElement("div", {
|
|
48796
|
+
className: "field",
|
|
48797
|
+
style: {
|
|
48798
|
+
width: "100%"
|
|
48799
|
+
}
|
|
48800
|
+
}, /*#__PURE__*/React__default.createElement(reactHookForm.Controller, {
|
|
48801
|
+
control: control,
|
|
48802
|
+
name: "proposedNewConsumerName",
|
|
48803
|
+
rules: {
|
|
48804
|
+
required: "Required field"
|
|
48805
|
+
},
|
|
48806
|
+
render: props => /*#__PURE__*/React__default.createElement(digitUiReactComponents.TextInput, {
|
|
48807
|
+
value: props.value,
|
|
48808
|
+
onChange: e => {
|
|
48809
|
+
props.onChange(e.target.value);
|
|
48810
|
+
},
|
|
48811
|
+
placeholder: "Enter full legal name of new owner",
|
|
48812
|
+
onBlur: props.onBlur
|
|
48813
|
+
})
|
|
48814
|
+
}))), (errors === null || errors === void 0 ? void 0 : errors.proposedNewConsumerName) && /*#__PURE__*/React__default.createElement(digitUiReactComponents.CardLabelError, {
|
|
48815
|
+
style: errorStyle
|
|
48816
|
+
}, errors === null || errors === void 0 ? void 0 : (_errors$proposedNewCo = errors.proposedNewConsumerName) === null || _errors$proposedNewCo === void 0 ? void 0 : _errors$proposedNewCo.message)), /*#__PURE__*/React__default.createElement("div", null, /*#__PURE__*/React__default.createElement(digitUiReactComponents.LabelFieldPair, {
|
|
48817
|
+
style: {
|
|
48818
|
+
display: "flex",
|
|
48819
|
+
flexDirection: "column",
|
|
48820
|
+
alignItems: "flex-start",
|
|
48821
|
+
gap: "4px"
|
|
48822
|
+
}
|
|
48823
|
+
}, /*#__PURE__*/React__default.createElement(digitUiReactComponents.CardLabel, {
|
|
48824
|
+
style: {
|
|
48825
|
+
margin: 0,
|
|
48826
|
+
fontWeight: "bold"
|
|
48827
|
+
}
|
|
48828
|
+
}, "NEW OWNER MOBILE NUMBER*"), /*#__PURE__*/React__default.createElement("div", {
|
|
48829
|
+
className: "field",
|
|
48830
|
+
style: {
|
|
48831
|
+
width: "100%"
|
|
48832
|
+
}
|
|
48833
|
+
}, /*#__PURE__*/React__default.createElement(reactHookForm.Controller, {
|
|
48834
|
+
control: control,
|
|
48835
|
+
name: "newOwnerMobileNumber",
|
|
48836
|
+
rules: {
|
|
48837
|
+
required: "Required field",
|
|
48838
|
+
pattern: {
|
|
48839
|
+
value: /^[6-9]\d{9}$/,
|
|
48840
|
+
message: "Invalid mobile number"
|
|
48841
|
+
}
|
|
48842
|
+
},
|
|
48843
|
+
render: props => /*#__PURE__*/React__default.createElement(digitUiReactComponents.MobileNumber, {
|
|
48844
|
+
value: props.value || "",
|
|
48845
|
+
onChange: val => {
|
|
48846
|
+
props.onChange(val);
|
|
48847
|
+
},
|
|
48848
|
+
placeholder: "Enter mobile number",
|
|
48849
|
+
onBlur: props.onBlur
|
|
48850
|
+
})
|
|
48851
|
+
}))), (errors === null || errors === void 0 ? void 0 : errors.newOwnerMobileNumber) && /*#__PURE__*/React__default.createElement(digitUiReactComponents.CardLabelError, {
|
|
48852
|
+
style: errorStyle
|
|
48853
|
+
}, errors === null || errors === void 0 ? void 0 : (_errors$newOwnerMobil = errors.newOwnerMobileNumber) === null || _errors$newOwnerMobil === void 0 ? void 0 : _errors$newOwnerMobil.message)), /*#__PURE__*/React__default.createElement("div", null, /*#__PURE__*/React__default.createElement(digitUiReactComponents.LabelFieldPair, {
|
|
48854
|
+
style: {
|
|
48855
|
+
display: "flex",
|
|
48856
|
+
flexDirection: "column",
|
|
48857
|
+
alignItems: "flex-start",
|
|
48858
|
+
gap: "4px"
|
|
48859
|
+
}
|
|
48860
|
+
}, /*#__PURE__*/React__default.createElement(digitUiReactComponents.CardLabel, {
|
|
48861
|
+
style: {
|
|
48862
|
+
margin: 0,
|
|
48863
|
+
fontWeight: "bold"
|
|
48864
|
+
}
|
|
48865
|
+
}, "NEW OWNER EMAIL ADDRESS"), /*#__PURE__*/React__default.createElement("div", {
|
|
48866
|
+
className: "field",
|
|
48867
|
+
style: {
|
|
48868
|
+
width: "100%"
|
|
48869
|
+
}
|
|
48870
|
+
}, /*#__PURE__*/React__default.createElement(reactHookForm.Controller, {
|
|
48871
|
+
control: control,
|
|
48872
|
+
name: "newOwnerEmailAddress",
|
|
48873
|
+
rules: {
|
|
48874
|
+
pattern: {
|
|
48875
|
+
value: /^[^\s@]+@[^\s@]+\.[^\s@]+$/,
|
|
48876
|
+
message: "Invalid email address"
|
|
48877
|
+
}
|
|
48878
|
+
},
|
|
48879
|
+
render: props => /*#__PURE__*/React__default.createElement(digitUiReactComponents.TextInput, {
|
|
48880
|
+
value: props.value,
|
|
48881
|
+
onChange: e => {
|
|
48882
|
+
props.onChange(e.target.value);
|
|
48883
|
+
},
|
|
48884
|
+
placeholder: "Enter email address",
|
|
48885
|
+
onBlur: props.onBlur
|
|
48886
|
+
})
|
|
48887
|
+
}))), (errors === null || errors === void 0 ? void 0 : errors.newOwnerEmailAddress) && /*#__PURE__*/React__default.createElement(digitUiReactComponents.CardLabelError, {
|
|
48888
|
+
style: errorStyle
|
|
48889
|
+
}, errors === null || errors === void 0 ? void 0 : (_errors$newOwnerEmail = errors.newOwnerEmailAddress) === null || _errors$newOwnerEmail === void 0 ? void 0 : _errors$newOwnerEmail.message)), /*#__PURE__*/React__default.createElement("div", null, /*#__PURE__*/React__default.createElement(digitUiReactComponents.LabelFieldPair, {
|
|
48890
|
+
style: {
|
|
48891
|
+
display: "flex",
|
|
48892
|
+
flexDirection: "column",
|
|
48893
|
+
alignItems: "flex-start",
|
|
48894
|
+
gap: "4px"
|
|
48895
|
+
}
|
|
48896
|
+
}, /*#__PURE__*/React__default.createElement(digitUiReactComponents.CardLabel, {
|
|
48897
|
+
style: {
|
|
48898
|
+
margin: 0,
|
|
48899
|
+
fontWeight: "bold"
|
|
48900
|
+
}
|
|
48901
|
+
}, "RELATIONSHIP WITH EXISTING CONSUMER*"), /*#__PURE__*/React__default.createElement("div", {
|
|
48902
|
+
className: "field",
|
|
48903
|
+
style: {
|
|
48904
|
+
width: "100%"
|
|
48905
|
+
}
|
|
48906
|
+
}, /*#__PURE__*/React__default.createElement(reactHookForm.Controller, {
|
|
48907
|
+
control: control,
|
|
48908
|
+
name: "relationshipWithExistingConsumer",
|
|
48909
|
+
rules: {
|
|
48910
|
+
required: "Required field"
|
|
48911
|
+
},
|
|
48912
|
+
render: props => /*#__PURE__*/React__default.createElement(digitUiReactComponents.Dropdown, {
|
|
48913
|
+
selected: props.value,
|
|
48914
|
+
option: relationshipOptions,
|
|
48915
|
+
select: e => {
|
|
48916
|
+
props.onChange(e);
|
|
48917
|
+
},
|
|
48918
|
+
optionKey: "i18nKey",
|
|
48919
|
+
t: t,
|
|
48920
|
+
placeholder: "Select relationship"
|
|
48921
|
+
})
|
|
48922
|
+
}))), (errors === null || errors === void 0 ? void 0 : errors.relationshipWithExistingConsumer) && /*#__PURE__*/React__default.createElement(digitUiReactComponents.CardLabelError, {
|
|
48923
|
+
style: errorStyle
|
|
48924
|
+
}, errors === null || errors === void 0 ? void 0 : (_errors$relationshipW = errors.relationshipWithExistingConsumer) === null || _errors$relationshipW === void 0 ? void 0 : _errors$relationshipW.message))), /*#__PURE__*/React__default.createElement("div", {
|
|
48925
|
+
style: {
|
|
48926
|
+
display: "flex",
|
|
48927
|
+
flexDirection: "column",
|
|
48928
|
+
gap: "20px"
|
|
48929
|
+
}
|
|
48930
|
+
}, /*#__PURE__*/React__default.createElement("div", null, /*#__PURE__*/React__default.createElement(digitUiReactComponents.LabelFieldPair, {
|
|
48931
|
+
style: {
|
|
48932
|
+
display: "flex",
|
|
48933
|
+
flexDirection: "column",
|
|
48934
|
+
alignItems: "flex-start",
|
|
48935
|
+
gap: "4px"
|
|
48936
|
+
}
|
|
48937
|
+
}, /*#__PURE__*/React__default.createElement(digitUiReactComponents.CardLabel, {
|
|
48938
|
+
style: {
|
|
48939
|
+
margin: 0,
|
|
48940
|
+
fontWeight: "bold"
|
|
48941
|
+
}
|
|
48942
|
+
}, "REASON FOR NAME CHANGE*"), /*#__PURE__*/React__default.createElement("div", {
|
|
48943
|
+
className: "field",
|
|
48944
|
+
style: {
|
|
48945
|
+
width: "100%"
|
|
48946
|
+
}
|
|
48947
|
+
}, /*#__PURE__*/React__default.createElement(reactHookForm.Controller, {
|
|
48948
|
+
control: control,
|
|
48949
|
+
name: "reasonForNameChange",
|
|
48950
|
+
rules: {
|
|
48951
|
+
required: "Required field"
|
|
48952
|
+
},
|
|
48953
|
+
render: props => /*#__PURE__*/React__default.createElement(digitUiReactComponents.Dropdown, {
|
|
48954
|
+
selected: props.value,
|
|
48955
|
+
option: reasonOptions,
|
|
48956
|
+
select: e => {
|
|
48957
|
+
props.onChange(e);
|
|
48958
|
+
},
|
|
48959
|
+
optionKey: "i18nKey",
|
|
48960
|
+
t: t,
|
|
48961
|
+
placeholder: "Select reason"
|
|
48962
|
+
})
|
|
48963
|
+
}))), (errors === null || errors === void 0 ? void 0 : errors.reasonForNameChange) && /*#__PURE__*/React__default.createElement(digitUiReactComponents.CardLabelError, {
|
|
48964
|
+
style: errorStyle
|
|
48965
|
+
}, errors === null || errors === void 0 ? void 0 : (_errors$reasonForName = errors.reasonForNameChange) === null || _errors$reasonForName === void 0 ? void 0 : _errors$reasonForName.message)), /*#__PURE__*/React__default.createElement("div", {
|
|
48966
|
+
style: {
|
|
48967
|
+
marginTop: "10px",
|
|
48968
|
+
padding: "20px",
|
|
48969
|
+
border: "1px dashed #ccc",
|
|
48970
|
+
borderRadius: "8px",
|
|
48971
|
+
backgroundColor: "#fafafa"
|
|
48972
|
+
}
|
|
48973
|
+
}, /*#__PURE__*/React__default.createElement(digitUiReactComponents.LabelFieldPair, {
|
|
48974
|
+
style: {
|
|
48975
|
+
display: "flex",
|
|
48976
|
+
flexDirection: "column",
|
|
48977
|
+
alignItems: "flex-start",
|
|
48978
|
+
gap: "4px"
|
|
48979
|
+
}
|
|
48980
|
+
}, /*#__PURE__*/React__default.createElement(digitUiReactComponents.CardLabel, {
|
|
48981
|
+
style: {
|
|
48982
|
+
margin: 0,
|
|
48983
|
+
fontWeight: "bold"
|
|
48984
|
+
}
|
|
48985
|
+
}, "UPLOAD REGISTERED SALE DEED*"), /*#__PURE__*/React__default.createElement("p", {
|
|
48986
|
+
style: {
|
|
48987
|
+
color: "#666",
|
|
48988
|
+
fontSize: "12px",
|
|
48989
|
+
marginBottom: "15px",
|
|
48990
|
+
marginTop: "5px"
|
|
48991
|
+
}
|
|
48992
|
+
}, "Submit a clear scan of the stamp duty Registered Sale Deed."), /*#__PURE__*/React__default.createElement("div", {
|
|
48993
|
+
className: "field",
|
|
48994
|
+
style: {
|
|
48995
|
+
width: "100%"
|
|
48996
|
+
}
|
|
48997
|
+
}, /*#__PURE__*/React__default.createElement(digitUiReactComponents.UploadFile, {
|
|
48998
|
+
id: "sale-deed-upload",
|
|
48999
|
+
onUpload: e => {
|
|
49000
|
+
setFile(e.target.files[0]);
|
|
49001
|
+
},
|
|
49002
|
+
onDelete: () => {
|
|
49003
|
+
setUploadedFile(null);
|
|
49004
|
+
setFile(null);
|
|
49005
|
+
},
|
|
49006
|
+
message: uploadedFile ? "1 File Uploaded" : "Click to upload document",
|
|
49007
|
+
accept: "image/*, .pdf, .png, .jpeg, .jpg",
|
|
49008
|
+
uploadedFiles: uploadedFile && !file ? [["Document", {
|
|
49009
|
+
fileStoreId: uploadedFile
|
|
49010
|
+
}]] : undefined,
|
|
49011
|
+
removeTargetedFile: () => {
|
|
49012
|
+
setUploadedFile(null);
|
|
49013
|
+
setFile(null);
|
|
49014
|
+
}
|
|
49015
|
+
}))), isUploading && /*#__PURE__*/React__default.createElement("span", {
|
|
49016
|
+
style: {
|
|
49017
|
+
color: "#00497e",
|
|
49018
|
+
fontWeight: "bold",
|
|
49019
|
+
fontSize: "12px"
|
|
49020
|
+
}
|
|
49021
|
+
}, "Uploading..."))));
|
|
49022
|
+
};
|
|
49023
|
+
|
|
48585
49024
|
const MutationApplication = () => {
|
|
48586
|
-
var _state, _details, _details2, _details2$application;
|
|
49025
|
+
var _state, _details, _details2, _details2$application, _applicationDetails$a, _applicationDetails$a2, _applicationDetails$a3, _applicationDetails$a4, _applicationDetails$a5, _applicationDetails$a6, _applicationDetails$a7;
|
|
48587
49026
|
const _useTranslation = reactI18next.useTranslation(),
|
|
48588
49027
|
t = _useTranslation.t;
|
|
48589
49028
|
let _useLocation = reactRouterDom.useLocation(),
|
|
@@ -48615,15 +49054,14 @@ const MutationApplication = () => {
|
|
|
48615
49054
|
isEnableLoader = _useState7[0],
|
|
48616
49055
|
setIsEnableLoader = _useState7[1];
|
|
48617
49056
|
let tenantId = Digit.ULBService.getCurrentTenantId();
|
|
49057
|
+
const applicationNumber = filters === null || filters === void 0 ? void 0 : filters.applicationNumber;
|
|
48618
49058
|
const serviceType = filters === null || filters === void 0 ? void 0 : filters.service;
|
|
48619
49059
|
const stateId = Digit.ULBService.getStateId();
|
|
48620
49060
|
let _Digit$Hooks$ws$useWS = Digit.Hooks.ws.useWSConfigMDMS.WSCreateConfig(stateId, {}),
|
|
48621
49061
|
newConfig = _Digit$Hooks$ws$useWS.data,
|
|
48622
49062
|
isConfigLoading = _Digit$Hooks$ws$useWS.isLoading;
|
|
48623
49063
|
let details = cloneDeep_1((_state = state) === null || _state === void 0 ? void 0 : _state.data);
|
|
48624
|
-
let _Digit$Hooks$ws$useWS2 = Digit.Hooks.ws.useWSDetailsPage(t, tenantId, (_details = details) === null || _details === void 0 ? void 0 : _details.applicationNo, (_details2 = details) === null || _details2 === void 0 ? void 0 : (_details2$application = _details2.applicationData) === null || _details2$application === void 0 ? void 0 : _details2$application.serviceType,
|
|
48625
|
-
privacy: Digit.Utils.getPrivacyObject()
|
|
48626
|
-
}),
|
|
49064
|
+
let _Digit$Hooks$ws$useWS2 = Digit.Hooks.ws.useWSDetailsPage(t, tenantId, ((_details = details) === null || _details === void 0 ? void 0 : _details.applicationNo) || applicationNumber, (serviceType === null || serviceType === void 0 ? void 0 : serviceType.toUpperCase()) || ((_details2 = details) === null || _details2 === void 0 ? void 0 : (_details2$application = _details2.applicationData) === null || _details2$application === void 0 ? void 0 : _details2$application.serviceType)),
|
|
48627
49065
|
applicationDetails = _Digit$Hooks$ws$useWS2.data;
|
|
48628
49066
|
details = applicationDetails;
|
|
48629
49067
|
const _useState8 = React.useState(new URLSearchParams(reactRouterDom.useLocation().search).get("propertyId")),
|
|
@@ -48643,13 +49081,12 @@ const MutationApplication = () => {
|
|
|
48643
49081
|
propertyIds: propertyId
|
|
48644
49082
|
},
|
|
48645
49083
|
tenantId: tenantId,
|
|
48646
|
-
enabled: propertyId && propertyId != "" ? true : false
|
|
48647
|
-
privacy: Digit.Utils.getPrivacyObject()
|
|
49084
|
+
enabled: propertyId && propertyId != "" ? true : false
|
|
48648
49085
|
}),
|
|
48649
49086
|
propertyDetails = _Digit$Hooks$pt$usePr.data;
|
|
48650
49087
|
React.useEffect(() => {
|
|
48651
49088
|
if (!isConfigLoading && newConfig && Array.isArray(newConfig)) {
|
|
48652
|
-
const config = newConfig.find(conf => conf.hideInCitizen && conf.isModify);
|
|
49089
|
+
const config = cloneDeep_1(newConfig.find(conf => conf.hideInCitizen && conf.isModify));
|
|
48653
49090
|
if (config) {
|
|
48654
49091
|
var _config$body;
|
|
48655
49092
|
config.head = "WS_WATER_AND_SEWERAGE_MUTATION_CONNECTION_LABEL";
|
|
@@ -48658,7 +49095,21 @@ const MutationApplication = () => {
|
|
|
48658
49095
|
if (data !== null && data !== void 0 && data.isModifyConnection) bodyDetails.push(data);
|
|
48659
49096
|
});
|
|
48660
49097
|
bodyDetails.forEach(bdyData => {
|
|
48661
|
-
if ((bdyData === null || bdyData === void 0 ? void 0 : bdyData.head)
|
|
49098
|
+
if ((bdyData === null || bdyData === void 0 ? void 0 : bdyData.head) === "WS_COMMON_PROPERTY_DETAILS") {
|
|
49099
|
+
bdyData.head = "";
|
|
49100
|
+
bdyData.className = "mutation-disabled-section";
|
|
49101
|
+
} else if ((bdyData === null || bdyData === void 0 ? void 0 : bdyData.head) === "WS_COMMON_CONNECTION_HOLDER_DETAILS_HEADER") {
|
|
49102
|
+
bdyData.head = "Specify ownership updates and transfer reason:";
|
|
49103
|
+
bdyData.body = [{
|
|
49104
|
+
type: "component",
|
|
49105
|
+
key: "MutationApplicantDetails",
|
|
49106
|
+
component: WSMutationApplicantDetails,
|
|
49107
|
+
withoutLabel: true
|
|
49108
|
+
}];
|
|
49109
|
+
} else {
|
|
49110
|
+
bdyData.head = "";
|
|
49111
|
+
bdyData.className = "mutation-hidden-section";
|
|
49112
|
+
}
|
|
48662
49113
|
});
|
|
48663
49114
|
config.body = bodyDetails;
|
|
48664
49115
|
setConfig(config);
|
|
@@ -48674,9 +49125,10 @@ const MutationApplication = () => {
|
|
|
48674
49125
|
const IsDetailsExists = sessionStorage.getItem("IsDetailsExists") ? JSON.parse(sessionStorage.getItem("IsDetailsExists")) : false;
|
|
48675
49126
|
const _temp = function (_details3, _details3$application) {
|
|
48676
49127
|
if ((_details3 = details) !== null && _details3 !== void 0 && (_details3$application = _details3.applicationData) !== null && _details3$application !== void 0 && _details3$application.id) {
|
|
48677
|
-
|
|
48678
|
-
|
|
48679
|
-
|
|
49128
|
+
var _details4, _details4$application;
|
|
49129
|
+
return Promise.resolve(convertApplicationData(details, (serviceType === null || serviceType === void 0 ? void 0 : serviceType.toUpperCase()) || ((_details4 = details) === null || _details4 === void 0 ? void 0 : (_details4$application = _details4.applicationData) === null || _details4$application === void 0 ? void 0 : _details4$application.serviceType), true, undefined, t)).then(function (convertAppData) {
|
|
49130
|
+
setSessionFormData(prev => _extends({}, prev, convertAppData));
|
|
49131
|
+
setAppData(prev => _extends({}, prev, convertAppData));
|
|
48680
49132
|
sessionStorage.setItem("IsDetailsExists", JSON.stringify(true));
|
|
48681
49133
|
});
|
|
48682
49134
|
}
|
|
@@ -48688,11 +49140,16 @@ const MutationApplication = () => {
|
|
|
48688
49140
|
}, [details, applicationDetails]);
|
|
48689
49141
|
React.useEffect(() => {
|
|
48690
49142
|
var _propertyDetails$Prop;
|
|
48691
|
-
|
|
48692
|
-
|
|
48693
|
-
|
|
48694
|
-
|
|
48695
|
-
|
|
49143
|
+
if (propertyDetails !== null && propertyDetails !== void 0 && (_propertyDetails$Prop = propertyDetails.Properties) !== null && _propertyDetails$Prop !== void 0 && _propertyDetails$Prop[0]) {
|
|
49144
|
+
setSessionFormData(prev => {
|
|
49145
|
+
var _propertyDetails$Prop2;
|
|
49146
|
+
return _extends({}, prev, {
|
|
49147
|
+
cpt: {
|
|
49148
|
+
details: propertyDetails === null || propertyDetails === void 0 ? void 0 : (_propertyDetails$Prop2 = propertyDetails.Properties) === null || _propertyDetails$Prop2 === void 0 ? void 0 : _propertyDetails$Prop2[0]
|
|
49149
|
+
}
|
|
49150
|
+
});
|
|
49151
|
+
});
|
|
49152
|
+
}
|
|
48696
49153
|
}, [propertyDetails]);
|
|
48697
49154
|
React.useEffect(() => {
|
|
48698
49155
|
var _sessionFormData$Conn, _sessionFormData$Conn2;
|
|
@@ -48715,17 +49172,19 @@ const MutationApplication = () => {
|
|
|
48715
49172
|
const _Digit$Hooks$ws$useWS4 = Digit.Hooks.ws.useWSApplicationActions("SEWERAGE");
|
|
48716
49173
|
const onFormValueChange = (setValue, formData, formState) => {
|
|
48717
49174
|
var _formData$cpt, _formData$cpt$details;
|
|
48718
|
-
|
|
48719
|
-
|
|
49175
|
+
const updatedData = _extends({}, sessionFormData, formData);
|
|
49176
|
+
if (!lodash.isEqual(sessionFormData, updatedData)) {
|
|
49177
|
+
setSessionFormData(updatedData);
|
|
48720
49178
|
}
|
|
48721
49179
|
if (Object.keys(formState.errors).length > 0 && Object.keys(formState.errors).length == 1 && formState.errors["owners"] && Object.values(formState.errors["owners"].type).filter(ob => ob.type === "required").length == 0 && !(formData !== null && formData !== void 0 && (_formData$cpt = formData.cpt) !== null && _formData$cpt !== void 0 && (_formData$cpt$details = _formData$cpt.details) !== null && _formData$cpt$details !== void 0 && _formData$cpt$details.propertyId)) setSubmitValve(true);else setSubmitValve(!Object.keys(formState.errors).length);
|
|
48722
49180
|
};
|
|
48723
49181
|
const onSubmit = function (data) {
|
|
48724
49182
|
try {
|
|
48725
|
-
var
|
|
48726
|
-
|
|
48727
|
-
|
|
48728
|
-
|
|
49183
|
+
var _finalData$cpt, _propertyDetails$Prop3;
|
|
49184
|
+
let finalData = _extends({}, sessionFormData, data);
|
|
49185
|
+
if (!(finalData !== null && finalData !== void 0 && (_finalData$cpt = finalData.cpt) !== null && _finalData$cpt !== void 0 && _finalData$cpt.id) && !(propertyDetails !== null && propertyDetails !== void 0 && (_propertyDetails$Prop3 = propertyDetails.Properties) !== null && _propertyDetails$Prop3 !== void 0 && _propertyDetails$Prop3[0])) {
|
|
49186
|
+
var _finalData$cpt2;
|
|
49187
|
+
if (!(finalData !== null && finalData !== void 0 && (_finalData$cpt2 = finalData.cpt) !== null && _finalData$cpt2 !== void 0 && _finalData$cpt2.details) || !propertyDetails) {
|
|
48729
49188
|
setShowToast({
|
|
48730
49189
|
key: "error",
|
|
48731
49190
|
message: "ERR_INVALID_PROPERTY_ID"
|
|
@@ -48743,15 +49202,26 @@ const MutationApplication = () => {
|
|
|
48743
49202
|
setShowToast(false);
|
|
48744
49203
|
}, 3000);
|
|
48745
49204
|
} else {
|
|
48746
|
-
var
|
|
48747
|
-
if (!(
|
|
48748
|
-
var _propertyDetails$
|
|
48749
|
-
|
|
48750
|
-
details: propertyDetails === null || propertyDetails === void 0 ? void 0 : (_propertyDetails$
|
|
49205
|
+
var _finalData$cpt3;
|
|
49206
|
+
if (!(finalData !== null && finalData !== void 0 && (_finalData$cpt3 = finalData.cpt) !== null && _finalData$cpt3 !== void 0 && _finalData$cpt3.details)) {
|
|
49207
|
+
var _propertyDetails$Prop4;
|
|
49208
|
+
finalData.cpt = {
|
|
49209
|
+
details: propertyDetails === null || propertyDetails === void 0 ? void 0 : (_propertyDetails$Prop4 = propertyDetails.Properties) === null || _propertyDetails$Prop4 === void 0 ? void 0 : _propertyDetails$Prop4[0]
|
|
48751
49210
|
};
|
|
48752
49211
|
}
|
|
49212
|
+
if (finalData !== null && finalData !== void 0 && finalData.MutationApplicantDetails) {
|
|
49213
|
+
var _finalData$Connection;
|
|
49214
|
+
const mutDetails = finalData.MutationApplicantDetails;
|
|
49215
|
+
const existingHolder = (finalData === null || finalData === void 0 ? void 0 : (_finalData$Connection = finalData.ConnectionHolderDetails) === null || _finalData$Connection === void 0 ? void 0 : _finalData$Connection[0]) || {};
|
|
49216
|
+
finalData.ConnectionHolderDetails = [_extends({}, existingHolder, {
|
|
49217
|
+
name: mutDetails.proposedNewConsumerName || existingHolder.name,
|
|
49218
|
+
mobileNumber: mutDetails.newOwnerMobileNumber || existingHolder.mobileNumber,
|
|
49219
|
+
emailId: mutDetails.newOwnerEmailAddress || existingHolder.emailId,
|
|
49220
|
+
sameAsOwnerDetails: false
|
|
49221
|
+
})];
|
|
49222
|
+
}
|
|
48753
49223
|
const details = sessionStorage.getItem("WS_EDIT_APPLICATION_DETAILS") ? JSON.parse(sessionStorage.getItem("WS_EDIT_APPLICATION_DETAILS")) : {};
|
|
48754
|
-
return Promise.resolve(convertModifyApplicationDetails(
|
|
49224
|
+
return Promise.resolve(convertModifyApplicationDetails(finalData, details, "APPLY_MUTATION")).then(function (convertAppData) {
|
|
48755
49225
|
function _temp6() {
|
|
48756
49226
|
const _temp4 = function () {
|
|
48757
49227
|
if (serviceType !== "WATER") {
|
|
@@ -48786,6 +49256,27 @@ const MutationApplication = () => {
|
|
|
48786
49256
|
}();
|
|
48787
49257
|
if (_temp4 && _temp4.then) return _temp4.then(function () {});
|
|
48788
49258
|
}
|
|
49259
|
+
if (finalData !== null && finalData !== void 0 && finalData.MutationApplicantDetails) {
|
|
49260
|
+
var _mutDetails$reasonFor;
|
|
49261
|
+
const mutDetails = finalData.MutationApplicantDetails;
|
|
49262
|
+
if (!convertAppData.additionalDetails) convertAppData.additionalDetails = {};
|
|
49263
|
+
if (mutDetails.reasonForNameChange) convertAppData.additionalDetails.reasonForNameChange = ((_mutDetails$reasonFor = mutDetails.reasonForNameChange) === null || _mutDetails$reasonFor === void 0 ? void 0 : _mutDetails$reasonFor.code) || mutDetails.reasonForNameChange;
|
|
49264
|
+
if (mutDetails.relationshipWithExistingConsumer) {
|
|
49265
|
+
var _mutDetails$relations;
|
|
49266
|
+
const relationCode = ((_mutDetails$relations = mutDetails.relationshipWithExistingConsumer) === null || _mutDetails$relations === void 0 ? void 0 : _mutDetails$relations.code) || mutDetails.relationshipWithExistingConsumer;
|
|
49267
|
+
convertAppData.additionalDetails.relationshipWithExistingConsumer = relationCode;
|
|
49268
|
+
convertAppData.additionalDetails.isBloodRelation = relationCode !== "OTHER";
|
|
49269
|
+
}
|
|
49270
|
+
if (mutDetails.saleDeedDocumentId) {
|
|
49271
|
+
convertAppData.additionalDetails.saleDeedDocumentId = mutDetails.saleDeedDocumentId;
|
|
49272
|
+
if (!convertAppData.documents) convertAppData.documents = [];
|
|
49273
|
+
convertAppData.documents.push({
|
|
49274
|
+
documentType: "REGISTERED_SALE_DEED",
|
|
49275
|
+
fileStoreId: mutDetails.saleDeedDocumentId,
|
|
49276
|
+
documentUid: mutDetails.saleDeedDocumentId
|
|
49277
|
+
});
|
|
49278
|
+
}
|
|
49279
|
+
}
|
|
48789
49280
|
convertAppData.applicationType = serviceType == "WATER" ? "MUTATION_WATER_CONNECTION" : "MUTATION_SEWERAGE_CONNECTION";
|
|
48790
49281
|
const reqDetails = serviceType == "WATER" ? {
|
|
48791
49282
|
WaterConnection: convertAppData,
|
|
@@ -48845,11 +49336,22 @@ const MutationApplication = () => {
|
|
|
48845
49336
|
if (enabledLoader || isEnableLoader || isConfigLoading) {
|
|
48846
49337
|
return /*#__PURE__*/React__default.createElement(digitUiReactComponents.Loader, null);
|
|
48847
49338
|
}
|
|
48848
|
-
return /*#__PURE__*/React__default.createElement(React__default.Fragment, null, /*#__PURE__*/React__default.createElement("
|
|
48849
|
-
|
|
48850
|
-
|
|
48851
|
-
|
|
48852
|
-
|
|
49339
|
+
return /*#__PURE__*/React__default.createElement(React__default.Fragment, null, /*#__PURE__*/React__default.createElement("style", null, "\n .mutation-disabled-section { pointer-events: none; opacity: 0.8; margin-top: -24px !important; }\n .mutation-hidden-section { display: none !important; margin: 0 !important; padding: 0 !important; height: 0 !important; overflow: hidden !important; border: 0 !important; }\n .mutation-hidden-section + hr { display: none !important; margin: 0 !important; }\n .mutation-hidden-section + .break-line { display: none !important; margin: 0 !important; }\n "), /*#__PURE__*/React__default.createElement(digitUiReactComponents.Header, null, t(config.head)), /*#__PURE__*/React__default.createElement(digitUiReactComponents.Card, null, /*#__PURE__*/React__default.createElement(digitUiReactComponents.CardSubHeader, null, t("WS_MUTATION_DETAILS")), /*#__PURE__*/React__default.createElement(digitUiReactComponents.StatusTable, null, /*#__PURE__*/React__default.createElement(digitUiReactComponents.Row, {
|
|
49340
|
+
label: t("WS_MYCONNECTIONS_APPLICATION_NO"),
|
|
49341
|
+
text: (applicationDetails === null || applicationDetails === void 0 ? void 0 : (_applicationDetails$a = applicationDetails.applicationData) === null || _applicationDetails$a === void 0 ? void 0 : _applicationDetails$a.applicationNo) || "NA"
|
|
49342
|
+
}), /*#__PURE__*/React__default.createElement(digitUiReactComponents.Row, {
|
|
49343
|
+
label: t("WS_CONNECTION_CATEGORY"),
|
|
49344
|
+
text: (applicationDetails === null || applicationDetails === void 0 ? void 0 : (_applicationDetails$a2 = applicationDetails.applicationData) === null || _applicationDetails$a2 === void 0 ? void 0 : _applicationDetails$a2.connectionCategory) || "NA"
|
|
49345
|
+
}), /*#__PURE__*/React__default.createElement(digitUiReactComponents.Row, {
|
|
49346
|
+
label: t("WS_PROPERTY_ID_LABEL"),
|
|
49347
|
+
text: (applicationDetails === null || applicationDetails === void 0 ? void 0 : (_applicationDetails$a3 = applicationDetails.applicationData) === null || _applicationDetails$a3 === void 0 ? void 0 : _applicationDetails$a3.propertyId) || propertyId || "NA"
|
|
49348
|
+
}), /*#__PURE__*/React__default.createElement(digitUiReactComponents.Row, {
|
|
49349
|
+
label: t("WS_APPLICATION_ID"),
|
|
49350
|
+
text: (applicationDetails === null || applicationDetails === void 0 ? void 0 : (_applicationDetails$a4 = applicationDetails.applicationData) === null || _applicationDetails$a4 === void 0 ? void 0 : _applicationDetails$a4.id) || (applicationDetails === null || applicationDetails === void 0 ? void 0 : (_applicationDetails$a5 = applicationDetails.applicationData) === null || _applicationDetails$a5 === void 0 ? void 0 : _applicationDetails$a5.connectionNo) || "NA"
|
|
49351
|
+
}), /*#__PURE__*/React__default.createElement(digitUiReactComponents.Row, {
|
|
49352
|
+
label: t("WS_CONNECTION_DATE"),
|
|
49353
|
+
text: applicationDetails !== null && applicationDetails !== void 0 && (_applicationDetails$a6 = applicationDetails.applicationData) !== null && _applicationDetails$a6 !== void 0 && _applicationDetails$a6.connectionExecutionDate ? Digit.DateUtils.ConvertEpochToDate(applicationDetails === null || applicationDetails === void 0 ? void 0 : (_applicationDetails$a7 = applicationDetails.applicationData) === null || _applicationDetails$a7 === void 0 ? void 0 : _applicationDetails$a7.connectionExecutionDate) : "NA"
|
|
49354
|
+
}))), /*#__PURE__*/React__default.createElement(digitUiReactComponents.FormComposer, {
|
|
48853
49355
|
config: config.body,
|
|
48854
49356
|
userType: "employee",
|
|
48855
49357
|
onFormValueChange: onFormValueChange,
|