master-control 0.4.81 → 0.4.83
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/esm2022/lib/annuity-calculator-radio/annuity-calculator-radio.component.mjs +2 -2
- package/esm2022/lib/annuity-premium-calculator/annuity-premium-calculator.component.mjs +10 -2
- package/esm2022/lib/medial-questions/medial-questions.component.mjs +12 -6
- package/fesm2022/master-control.mjs +21 -7
- package/fesm2022/master-control.mjs.map +1 -1
- package/master-control-0.4.83.tgz +0 -0
- package/package.json +1 -1
- package/master-control-0.4.81.tgz +0 -0
|
@@ -4954,11 +4954,17 @@ class MedialQuestionsComponent {
|
|
|
4954
4954
|
});
|
|
4955
4955
|
});
|
|
4956
4956
|
}
|
|
4957
|
-
let isDisable = false;
|
|
4958
|
-
if (
|
|
4959
|
-
|
|
4960
|
-
|
|
4961
|
-
|
|
4957
|
+
let isDisable = questionObj.isDisabled ? questionObj.isDisabled : false;
|
|
4958
|
+
// if (
|
|
4959
|
+
// !this.checkIfValueIsEmpty(
|
|
4960
|
+
// sessionStorage.getItem('isDisableMedicalQuestions'),
|
|
4961
|
+
// )
|
|
4962
|
+
// ) {
|
|
4963
|
+
// let isDisableMedicalQuestionsinUi: any = sessionStorage.getItem(
|
|
4964
|
+
// 'isDisableMedicalQuestions',
|
|
4965
|
+
// );
|
|
4966
|
+
// isDisable = JSON.parse(isDisableMedicalQuestionsinUi) ? true : false;
|
|
4967
|
+
// }
|
|
4962
4968
|
let minLength = null;
|
|
4963
4969
|
let maxLength = 200;
|
|
4964
4970
|
let pattern = null;
|
|
@@ -7038,7 +7044,7 @@ class AnnuityCalculatorRadioComponent {
|
|
|
7038
7044
|
}
|
|
7039
7045
|
updateArrowPosition() {
|
|
7040
7046
|
const root = this.el.nativeElement;
|
|
7041
|
-
const selected = root.querySelector('.radio-card-gender.selected');
|
|
7047
|
+
const selected = root.querySelector('.annuity-radio-card-gender.selected');
|
|
7042
7048
|
const card = root.querySelector('.acr-card');
|
|
7043
7049
|
if (selected && card) {
|
|
7044
7050
|
const selectedRect = selected.getBoundingClientRect();
|
|
@@ -7090,6 +7096,8 @@ class AnnuityPremiumCalculatorComponent {
|
|
|
7090
7096
|
growthRateOption = {
|
|
7091
7097
|
"isVisible": false,
|
|
7092
7098
|
"configData": {
|
|
7099
|
+
"paygetInfoMessage": null,
|
|
7100
|
+
"infoMessage": null,
|
|
7093
7101
|
"cardsValue": [
|
|
7094
7102
|
{
|
|
7095
7103
|
"mainValue": "",
|
|
@@ -7908,7 +7916,7 @@ class AnnuityPremiumCalculatorComponent {
|
|
|
7908
7916
|
"isShowCard": true,
|
|
7909
7917
|
"isShowRadioOption": true,
|
|
7910
7918
|
"subLabel": "Select Annuity Payout Option that suits the customer:",
|
|
7911
|
-
"infoMessage": "This is the first annuity payout amount, calculated using Nifty 50 performance
|
|
7919
|
+
"infoMessage": "This is the first annuity payout amount, calculated using actual Nifty 50 performance from Jan 2005 to Jan 2006."
|
|
7912
7920
|
},
|
|
7913
7921
|
"metaDataObj": null,
|
|
7914
7922
|
"isShowLabel": true,
|
|
@@ -8108,6 +8116,12 @@ class AnnuityPremiumCalculatorComponent {
|
|
|
8108
8116
|
if (!this.masterService.checkIfValueIsEmpty(this.premiumDetails()?.growthRateOption['isVisible'])) {
|
|
8109
8117
|
this.growthRateObj['isVisible'] = this.premiumDetails()?.growthRateOption['isVisible'];
|
|
8110
8118
|
}
|
|
8119
|
+
if (!this.masterService.checkIfValueIsEmpty(this.premiumDetails()?.growthRateOption['configData']['infoMessage'])) {
|
|
8120
|
+
this.growthRateObj['configData']['infoMessage'] = this.premiumDetails()?.growthRateOption['configData']['infoMessage'];
|
|
8121
|
+
}
|
|
8122
|
+
if (!this.masterService.checkIfValueIsEmpty(this.premiumDetails()?.growthRateOption['configData']['paygetInfoMessage'])) {
|
|
8123
|
+
this.growthRateObj['configData']['paygetInfoMessage'] = this.premiumDetails()?.growthRateOption['configData']['paygetInfoMessage'];
|
|
8124
|
+
}
|
|
8111
8125
|
}
|
|
8112
8126
|
}
|
|
8113
8127
|
}
|