@djb25/digit-ui-module-ws 1.0.58 → 1.0.59
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 +27 -3
- package/dist/index.js.map +1 -1
- package/dist/index.modern.js +27 -3
- package/dist/index.modern.js.map +1 -1
- package/package.json +1 -1
package/dist/index.modern.js
CHANGED
|
@@ -9872,7 +9872,7 @@ const WSCalculation = _ref => {
|
|
|
9872
9872
|
});
|
|
9873
9873
|
};
|
|
9874
9874
|
const RenderCalculationDetails = _ref2 => {
|
|
9875
|
-
var _data$Calculation, _calc$calculationDeta, _calc$calculationDeta2, _calc$calculationDeta3, _waterDemandDetail$co, _waterDemandDetail$co2, _waterDemandDetail$co3, _waterDemandDetail$co4, _waterDemandDetail$co5, _waterDemandDetail$co6, _waterDemandDetail$co7, _waterDemandDetail$co8, _waterDemandDetail$co9, _waterDemandDetail$co0, _waterDemandDetail$co1, _waterDemandDetail$co10, _waterDemandDetail$co11, _waterDemandDetail$co12, _waterDemandDetail$co13, _waterDemandDetail$co14, _waterDemandDetail$co15, _waterDemandDetail$co16, _infraDetail$waterCom, _infraDetail$sewerCom, _infraDetail$grossIFC, _infraDetail$rebateAm, _infraDetail$netIFC;
|
|
9875
|
+
var _data$Calculation, _calc$calculationDeta, _calc$calculationDeta2, _calc$calculationDeta3, _waterDemandDetail$co, _waterDemandDetail$co2, _waterDemandDetail$co3, _waterDemandDetail$co4, _waterDemandDetail$co5, _waterDemandDetail$co6, _waterDemandDetail$co7, _waterDemandDetail$co8, _waterDemandDetail$co9, _waterDemandDetail$co0, _waterDemandDetail$co1, _waterDemandDetail$co10, _waterDemandDetail$co11, _waterDemandDetail$co12, _waterDemandDetail$co13, _waterDemandDetail$co14, _waterDemandDetail$co15, _waterDemandDetail$co16, _infraDetail$waterCom, _infraDetail$sewerCom, _infraDetail$grossIFC, _infraDetail$rebateAm, _infraDetail$institut, _infraDetail$dwelling, _infraDetail$netIFC;
|
|
9876
9876
|
let data = _ref2.data;
|
|
9877
9877
|
if (!data) return null;
|
|
9878
9878
|
const calc = (_data$Calculation = data.Calculation) === null || _data$Calculation === void 0 ? void 0 : _data$Calculation[0];
|
|
@@ -10095,9 +10095,33 @@ const WSCalculation = _ref => {
|
|
|
10095
10095
|
className: "ws-calc-row"
|
|
10096
10096
|
}, /*#__PURE__*/React.createElement("span", {
|
|
10097
10097
|
className: "ws-calc-row-label"
|
|
10098
|
-
}, t("
|
|
10098
|
+
}, t("WS_COLONY_REBATE"), " (", infraDetail.rebatePercentage || 0, "%)"), /*#__PURE__*/React.createElement("span", {
|
|
10099
10099
|
className: "ws-calc-row-value-red"
|
|
10100
|
-
}, "- \u20B9 ", ((_infraDetail$rebateAm = infraDetail.rebateAmount) === null || _infraDetail$rebateAm === void 0 ? void 0 : _infraDetail$rebateAm.toLocaleString("en-IN")) || 0)), /*#__PURE__*/React.createElement("div", {
|
|
10100
|
+
}, "- \u20B9 ", ((_infraDetail$rebateAm = infraDetail.rebateAmount) === null || _infraDetail$rebateAm === void 0 ? void 0 : _infraDetail$rebateAm.toLocaleString("en-IN")) || 0)), infraDetail.institutionalRebateApplied && /*#__PURE__*/React.createElement(React.Fragment, null, /*#__PURE__*/React.createElement("div", {
|
|
10101
|
+
className: "ws-calc-row"
|
|
10102
|
+
}, /*#__PURE__*/React.createElement("span", {
|
|
10103
|
+
className: "ws-calc-row-label"
|
|
10104
|
+
}, t("WS_INSTITUTIONAL_REBATE"), " (", infraDetail.institutionalRebatePercentage || 0, "%)"), /*#__PURE__*/React.createElement("span", {
|
|
10105
|
+
className: "ws-calc-row-value-red"
|
|
10106
|
+
}, "- \u20B9 ", ((_infraDetail$institut = infraDetail.institutionalRebateAmount) === null || _infraDetail$institut === void 0 ? void 0 : _infraDetail$institut.toLocaleString("en-IN")) || 0)), /*#__PURE__*/React.createElement("div", {
|
|
10107
|
+
className: "ws-calc-row"
|
|
10108
|
+
}, /*#__PURE__*/React.createElement("span", {
|
|
10109
|
+
className: "ws-calc-row-label"
|
|
10110
|
+
}, t("WS_INSTITUTIONAL_REBATE_REASON")), /*#__PURE__*/React.createElement("span", {
|
|
10111
|
+
className: "ws-calc-row-value"
|
|
10112
|
+
}, t(infraDetail.institutionalRebateReason) || "-"))), infraDetail.dwellingRebateApplied && /*#__PURE__*/React.createElement(React.Fragment, null, /*#__PURE__*/React.createElement("div", {
|
|
10113
|
+
className: "ws-calc-row"
|
|
10114
|
+
}, /*#__PURE__*/React.createElement("span", {
|
|
10115
|
+
className: "ws-calc-row-label"
|
|
10116
|
+
}, t("WS_DWELLING_REBATE"), " (", infraDetail.dwellingRebatePercentage || 0, "%)"), /*#__PURE__*/React.createElement("span", {
|
|
10117
|
+
className: "ws-calc-row-value-red"
|
|
10118
|
+
}, "- \u20B9 ", ((_infraDetail$dwelling = infraDetail.dwellingRebateAmount) === null || _infraDetail$dwelling === void 0 ? void 0 : _infraDetail$dwelling.toLocaleString("en-IN")) || 0)), /*#__PURE__*/React.createElement("div", {
|
|
10119
|
+
className: "ws-calc-row"
|
|
10120
|
+
}, /*#__PURE__*/React.createElement("span", {
|
|
10121
|
+
className: "ws-calc-row-label"
|
|
10122
|
+
}, t("WS_DWELLING_REBATE_REASON")), /*#__PURE__*/React.createElement("span", {
|
|
10123
|
+
className: "ws-calc-row-value"
|
|
10124
|
+
}, t(infraDetail.dwellingRebateReason) || "-"))), /*#__PURE__*/React.createElement("div", {
|
|
10101
10125
|
className: "ws-calc-highlight-green"
|
|
10102
10126
|
}, /*#__PURE__*/React.createElement("span", {
|
|
10103
10127
|
className: "ws-calc-highlight-green-label"
|