master-control 0.5.9 → 0.5.11
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-premium-calculator/annuity-premium-calculator.component.mjs +3 -3
- package/esm2022/lib/life-cover-details/life-cover-details.component.mjs +220 -0
- package/esm2022/lib/master-control.component.mjs +13 -5
- package/esm2022/lib/medial-questions/medial-questions.component.mjs +84 -22
- package/esm2022/lib/pay-get-card/pay-get-card.component.mjs +3 -3
- package/esm2022/public-api.mjs +2 -1
- package/fesm2022/master-control.mjs +312 -29
- package/fesm2022/master-control.mjs.map +1 -1
- package/lib/life-cover-details/life-cover-details.component.d.ts +41 -0
- package/lib/master-control.component.d.ts +4 -1
- package/lib/medial-questions/medial-questions.component.d.ts +9 -1
- package/master-control-0.5.11.tgz +0 -0
- package/package.json +3 -3
- package/public-api.d.ts +1 -0
- package/master-control-0.5.09.tgz +0 -0
|
@@ -0,0 +1,41 @@
|
|
|
1
|
+
import { EventEmitter } from '@angular/core';
|
|
2
|
+
import * as i0 from "@angular/core";
|
|
3
|
+
type LifeCoverSelectOption = {
|
|
4
|
+
label: string;
|
|
5
|
+
value: string;
|
|
6
|
+
};
|
|
7
|
+
export declare class LifeCoverDetailsComponent {
|
|
8
|
+
field: any;
|
|
9
|
+
textButtonClick: EventEmitter<void>;
|
|
10
|
+
sliderValueChange: EventEmitter<any>;
|
|
11
|
+
coverProgress: number;
|
|
12
|
+
termProgress: number;
|
|
13
|
+
coverScaleLabels: string[];
|
|
14
|
+
coverBadgeValues: string[];
|
|
15
|
+
termScaleLabels: string[];
|
|
16
|
+
termBadgeValues: string[];
|
|
17
|
+
paymentTermOptions: LifeCoverSelectOption[];
|
|
18
|
+
paymentTermValue: string;
|
|
19
|
+
constructor();
|
|
20
|
+
onTextButtonClick(): void;
|
|
21
|
+
onCoverSliderChange(value: number): void;
|
|
22
|
+
onTermSliderChange(value: number): void;
|
|
23
|
+
onPaymentTermChange(value: string): void;
|
|
24
|
+
getSliderMin(type: 'cover' | 'term'): number;
|
|
25
|
+
getSliderMax(type: 'cover' | 'term'): number;
|
|
26
|
+
getSliderStep(type: 'cover' | 'term'): number;
|
|
27
|
+
getSelectedScaleLabel(type: 'cover' | 'term', value?: number): string;
|
|
28
|
+
getBadgeValue(type: 'cover' | 'term'): string;
|
|
29
|
+
getControlLabel(type: 'cover' | 'term' | 'premium'): string;
|
|
30
|
+
getActionLabel(): string;
|
|
31
|
+
getDecorationLabel(): string;
|
|
32
|
+
private updateConfigData;
|
|
33
|
+
private resolveScaleLabels;
|
|
34
|
+
private resolveSelectOptions;
|
|
35
|
+
private resolvePaymentTermValue;
|
|
36
|
+
private getSelectedBadgeValue;
|
|
37
|
+
private normalizeValue;
|
|
38
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<LifeCoverDetailsComponent, never>;
|
|
39
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<LifeCoverDetailsComponent, "lib-life-cover-details", never, { "field": { "alias": "field"; "required": true; "isSignal": true; }; }, { "textButtonClick": "textButtonClick"; "sliderValueChange": "sliderValueChange"; }, never, never, true, never>;
|
|
40
|
+
}
|
|
41
|
+
export {};
|
|
@@ -1,9 +1,12 @@
|
|
|
1
|
+
import { EventEmitter } from '@angular/core';
|
|
1
2
|
import { FormGroup } from '@angular/forms';
|
|
2
3
|
import * as i0 from "@angular/core";
|
|
3
4
|
export declare class MasterControlComponent {
|
|
4
5
|
field: any;
|
|
5
6
|
formGroup: FormGroup;
|
|
7
|
+
lifeCoverSliderValueChange: EventEmitter<any>;
|
|
6
8
|
constructor();
|
|
9
|
+
onLifeCoverSliderValueChange(event: any): void;
|
|
7
10
|
static ɵfac: i0.ɵɵFactoryDeclaration<MasterControlComponent, never>;
|
|
8
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<MasterControlComponent, "lib-master-control", never, { "field": { "alias": "field"; "required": true; "isSignal": true; }; "formGroup": { "alias": "formGroup"; "required": false; }; }, {}, never, never, true, never>;
|
|
11
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<MasterControlComponent, "lib-master-control", never, { "field": { "alias": "field"; "required": true; "isSignal": true; }; "formGroup": { "alias": "formGroup"; "required": false; }; }, { "lifeCoverSliderValueChange": "lifeCoverSliderValueChange"; }, never, never, true, never>;
|
|
9
12
|
}
|
|
@@ -8,6 +8,8 @@ export declare class MedialQuestionsComponent implements OnInit, AfterViewInit {
|
|
|
8
8
|
questionsValueChange: EventEmitter<any>;
|
|
9
9
|
clusterId: any;
|
|
10
10
|
triggerValidation?: Subject<void>;
|
|
11
|
+
locationDetails: any;
|
|
12
|
+
locationDetailsChange: EventEmitter<any>;
|
|
11
13
|
medialQuestionResponse: import("@angular/core").InputSignal<any>;
|
|
12
14
|
personUWOpenQuoteResponse: any;
|
|
13
15
|
defaultValues: any;
|
|
@@ -17,6 +19,7 @@ export declare class MedialQuestionsComponent implements OnInit, AfterViewInit {
|
|
|
17
19
|
medicalSubQuestionsResponse: any;
|
|
18
20
|
addressInput: ElementRef<HTMLInputElement>;
|
|
19
21
|
private autocomplete;
|
|
22
|
+
currentAddress: string;
|
|
20
23
|
saveQuestionRequestLa: any;
|
|
21
24
|
saveQuestionRequestPh: any;
|
|
22
25
|
field: any;
|
|
@@ -51,6 +54,7 @@ export declare class MedialQuestionsComponent implements OnInit, AfterViewInit {
|
|
|
51
54
|
};
|
|
52
55
|
constructor(ngZone: NgZone, masterService: MasterService);
|
|
53
56
|
ngOnInit(): void;
|
|
57
|
+
private fetchCurrentLocation;
|
|
54
58
|
ngOnChanges(changes: SimpleChanges): void;
|
|
55
59
|
ngAfterViewInit(): void;
|
|
56
60
|
private resolveHeightQuestionIds;
|
|
@@ -62,6 +66,10 @@ export declare class MedialQuestionsComponent implements OnInit, AfterViewInit {
|
|
|
62
66
|
searchAddresses(query: string): void;
|
|
63
67
|
selectAddress(suggestion: any): void;
|
|
64
68
|
onInputBlur(): void;
|
|
69
|
+
private reverseGeocode;
|
|
70
|
+
onMarkerDragEnd(event: google.maps.MapMouseEvent): void;
|
|
71
|
+
onMarkerClick(event: google.maps.MapMouseEvent): void;
|
|
72
|
+
onMapClick(event: google.maps.MapMouseEvent): void;
|
|
65
73
|
findMedicalQuestionsInOpenQuote(arrayOfObj: any): void;
|
|
66
74
|
mapAnswersForOpenQuote(): void;
|
|
67
75
|
preparePersonUwQuestionsObj(): void;
|
|
@@ -108,5 +116,5 @@ export declare class MedialQuestionsComponent implements OnInit, AfterViewInit {
|
|
|
108
116
|
private getScrollableParent;
|
|
109
117
|
handleQuestionChange(): void;
|
|
110
118
|
static ɵfac: i0.ɵɵFactoryDeclaration<MedialQuestionsComponent, never>;
|
|
111
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<MedialQuestionsComponent, "lib-medial-questions", never, { "clusterId": { "alias": "clusterId"; "required": false; "isSignal": true; }; "triggerValidation": { "alias": "triggerValidation"; "required": false; }; "medialQuestionResponse": { "alias": "medialQuestionResponse"; "required": false; "isSignal": true; }; "personUWOpenQuoteResponse": { "alias": "personUWOpenQuoteResponse"; "required": false; "isSignal": true; }; "defaultValues": { "alias": "defaultValues"; "required": false; "isSignal": true; }; "personType": { "alias": "personType"; "required": false; "isSignal": true; }; "field": { "alias": "field"; "required": true; "isSignal": true; }; }, { "questionsValueChange": "questionsValueChange"; }, never, never, true, never>;
|
|
119
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<MedialQuestionsComponent, "lib-medial-questions", never, { "clusterId": { "alias": "clusterId"; "required": false; "isSignal": true; }; "triggerValidation": { "alias": "triggerValidation"; "required": false; }; "locationDetails": { "alias": "locationDetails"; "required": false; }; "medialQuestionResponse": { "alias": "medialQuestionResponse"; "required": false; "isSignal": true; }; "personUWOpenQuoteResponse": { "alias": "personUWOpenQuoteResponse"; "required": false; "isSignal": true; }; "defaultValues": { "alias": "defaultValues"; "required": false; "isSignal": true; }; "personType": { "alias": "personType"; "required": false; "isSignal": true; }; "field": { "alias": "field"; "required": true; "isSignal": true; }; }, { "questionsValueChange": "questionsValueChange"; "locationDetailsChange": "locationDetailsChange"; }, never, never, true, never>;
|
|
112
120
|
}
|
|
Binary file
|
package/package.json
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "master-control",
|
|
3
|
-
"version": "0.5.
|
|
3
|
+
"version": "0.5.11",
|
|
4
4
|
"description": "Annuity plan calculator",
|
|
5
5
|
"peerDependencies": {
|
|
6
|
-
"@angular/common": "^19.2.
|
|
7
|
-
"@angular/core": "^19.2.
|
|
6
|
+
"@angular/common": "^19.2.22",
|
|
7
|
+
"@angular/core": "^19.2.22"
|
|
8
8
|
},
|
|
9
9
|
"dependencies": {
|
|
10
10
|
"tslib": "^2.3.0"
|
package/public-api.d.ts
CHANGED
|
@@ -70,3 +70,4 @@ export * from './lib/annuity-premium-calculator/annuity-premium-calculator.compo
|
|
|
70
70
|
export * from './lib/footer-design/footer-design.component';
|
|
71
71
|
export * from './lib/annuity-calculator-radio/annuity-calculator-radio.component';
|
|
72
72
|
export * from './lib/textbox-with-radio/textbox-with-radio.component';
|
|
73
|
+
export * from './lib/life-cover-details/life-cover-details.component';
|
|
Binary file
|