master-control 0.2.4 → 0.2.6

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.
Files changed (46) hide show
  1. package/esm2022/lib/add-document/add-document.component.mjs +3 -3
  2. package/esm2022/lib/age-date/age-date.component.mjs +3 -3
  3. package/esm2022/lib/amount-textbox/amount-textbox.component.mjs +3 -3
  4. package/esm2022/lib/autocomplete/autocomplete.component.mjs +3 -3
  5. package/esm2022/lib/discount-v2/discount-v2.component.mjs +16 -0
  6. package/esm2022/lib/dob/dob.component.mjs +3 -3
  7. package/esm2022/lib/download-document/download-document.component.mjs +3 -3
  8. package/esm2022/lib/email-with-domain/email-with-domain.component.mjs +3 -3
  9. package/esm2022/lib/image-upload/image-upload.component.mjs +3 -3
  10. package/esm2022/lib/info/info.component.mjs +3 -3
  11. package/esm2022/lib/info-textbox/info-textbox.component.mjs +3 -3
  12. package/esm2022/lib/master-control.component.mjs +8 -4
  13. package/esm2022/lib/master-control.service.mjs +20 -1
  14. package/esm2022/lib/medial-questions/medial-questions.component.mjs +601 -0
  15. package/esm2022/lib/medial-questions/questions.json +39682 -0
  16. package/esm2022/lib/mob-number/mob-number.component.mjs +3 -3
  17. package/esm2022/lib/multiple-select/multiple-select.component.mjs +4 -3
  18. package/esm2022/lib/otp-mob-number/otp-mob-number.component.mjs +3 -3
  19. package/esm2022/lib/otp-textbox/otp-textbox.component.mjs +3 -3
  20. package/esm2022/lib/radio/radio.component.mjs +3 -3
  21. package/esm2022/lib/search-multi-select/search-multi-select.component.mjs +3 -3
  22. package/esm2022/lib/select/select.component.mjs +3 -3
  23. package/esm2022/lib/select-textbox/select-textbox.component.mjs +3 -3
  24. package/esm2022/lib/stepper/stepper.component.mjs +16 -7
  25. package/esm2022/lib/subscript-textbox/subscript-textbox.component.mjs +3 -3
  26. package/esm2022/lib/suffix-textbox/suffix-textbox.component.mjs +3 -3
  27. package/esm2022/lib/tag-mob-number/tag-mob-number.component.mjs +3 -3
  28. package/esm2022/lib/textbox/textbox.component.mjs +3 -3
  29. package/esm2022/lib/textbox-with-image/textbox-with-image.component.mjs +3 -3
  30. package/esm2022/lib/textbox-with-text/textbox-with-text.component.mjs +3 -3
  31. package/esm2022/lib/textbox-with-underscore/textbox-with-underscore.component.mjs +3 -3
  32. package/esm2022/lib/toggle/toggle.component.mjs +3 -3
  33. package/esm2022/lib/toggle-button/toggle-button.component.mjs +3 -3
  34. package/esm2022/lib/underscore-mob-number/underscore-mob-number.component.mjs +3 -3
  35. package/esm2022/lib/upload/upload.component.mjs +3 -3
  36. package/esm2022/public-api.mjs +2 -1
  37. package/fesm2022/master-control.mjs +40462 -72
  38. package/fesm2022/master-control.mjs.map +1 -1
  39. package/lib/discount-v2/discount-v2.component.d.ts +6 -0
  40. package/lib/medial-questions/medial-questions.component.d.ts +62 -0
  41. package/lib/multiple-select/multiple-select.component.d.ts +2 -1
  42. package/lib/stepper/stepper.component.d.ts +5 -0
  43. package/master-control-0.2.6.tgz +0 -0
  44. package/package.json +1 -1
  45. package/public-api.d.ts +1 -0
  46. package/master-control-0.2.4.tgz +0 -0
@@ -0,0 +1,6 @@
1
+ import * as i0 from "@angular/core";
2
+ export declare class DiscountV2Component {
3
+ field: any;
4
+ static ɵfac: i0.ɵɵFactoryDeclaration<DiscountV2Component, never>;
5
+ static ɵcmp: i0.ɵɵComponentDeclaration<DiscountV2Component, "lib-discount-v2", never, { "field": { "alias": "field"; "required": true; "isSignal": true; }; }, {}, never, never, true, never>;
6
+ }
@@ -0,0 +1,62 @@
1
+ import { ElementRef, OnInit, NgZone, AfterViewInit } from '@angular/core';
2
+ import * as i0 from "@angular/core";
3
+ export declare class MedialQuestionsComponent implements OnInit, AfterViewInit {
4
+ ngZone: NgZone;
5
+ medialQuestionResponse: any;
6
+ addressInput: ElementRef<HTMLInputElement>;
7
+ private autocomplete;
8
+ field: any;
9
+ questionList: any;
10
+ currentCoordinates: any;
11
+ personUwResponseObj: any;
12
+ center: google.maps.LatLngLiteral;
13
+ latitude: any;
14
+ longitude: any;
15
+ zoom: any;
16
+ marker: any;
17
+ personUwAnswers: any;
18
+ medQuestionObj: any;
19
+ listOfDomainValuesForCheckBox: any;
20
+ medicalQuestionsFeetList: any;
21
+ medicalQuestionsInchesList: any;
22
+ questionHeader: any;
23
+ medicalQuestionsHeightUnitTypes: any;
24
+ showDropdown: boolean;
25
+ addressSuggestions: any[];
26
+ hoveredIndex: number;
27
+ searchTimeout: any;
28
+ constructor(ngZone: NgZone);
29
+ ngOnInit(): void;
30
+ ngAfterViewInit(): void;
31
+ private initializeAutocomplete;
32
+ private onPlaceSelected;
33
+ private storeSelectedAddress;
34
+ searchAddress(address: string): void;
35
+ onAddressInputKeyup(event: any): void;
36
+ searchAddresses(query: string): void;
37
+ selectAddress(suggestion: any): void;
38
+ onInputBlur(): void;
39
+ preparePersonUwQuestionsObj(): void;
40
+ checkIfValueIsEmpty(value: any): boolean;
41
+ getTitleCase(header: any): any;
42
+ toTitleCase(value: any): any;
43
+ getField(questionObj: any): {
44
+ configData: any;
45
+ controlStyle: any;
46
+ controlType: string;
47
+ fieldName: any;
48
+ isDisable: boolean;
49
+ label: any;
50
+ placeHolder: any;
51
+ validators: {
52
+ isRequired: boolean;
53
+ };
54
+ isVisible: boolean;
55
+ options: any;
56
+ isShowLabel: boolean;
57
+ };
58
+ removeSubQuestionValues(question?: any): void;
59
+ showQuestion(currentQuestion: any): any;
60
+ static ɵfac: i0.ɵɵFactoryDeclaration<MedialQuestionsComponent, never>;
61
+ static ɵcmp: i0.ɵɵComponentDeclaration<MedialQuestionsComponent, "lib-medial-questions", never, { "medialQuestionResponse": { "alias": "medialQuestionResponse"; "required": false; }; "field": { "alias": "field"; "required": true; "isSignal": true; }; }, {}, never, never, true, never>;
62
+ }
@@ -1,7 +1,8 @@
1
1
  import { MatSelectChange } from '@angular/material/select';
2
2
  import { MasterControlService } from '../master-control.service';
3
+ import { ControlValueAccessor } from '@angular/forms';
3
4
  import * as i0 from "@angular/core";
4
- export declare class MultipleSelectComponent {
5
+ export declare class MultipleSelectComponent implements ControlValueAccessor {
5
6
  masterService: MasterControlService;
6
7
  constructor(masterService: MasterControlService);
7
8
  field: any;
@@ -1,6 +1,11 @@
1
+ import { MasterControlService } from '../master-control.service';
1
2
  import * as i0 from "@angular/core";
2
3
  export declare class StepperComponent {
4
+ masterSharedService: MasterControlService;
3
5
  field: any;
6
+ masterStepper: any;
7
+ constructor(masterSharedService: MasterControlService);
8
+ ngOnInit(): void;
4
9
  static ɵfac: i0.ɵɵFactoryDeclaration<StepperComponent, never>;
5
10
  static ɵcmp: i0.ɵɵComponentDeclaration<StepperComponent, "lib-stepper", never, { "field": { "alias": "field"; "required": true; "isSignal": true; }; }, {}, never, never, true, never>;
6
11
  }
Binary file
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "master-control",
3
- "version": "0.2.4",
3
+ "version": "0.2.6",
4
4
  "peerDependencies": {
5
5
  "@angular/common": "^18.2.0",
6
6
  "@angular/core": "^18.2.0"
package/public-api.d.ts CHANGED
@@ -53,3 +53,4 @@ export * from './lib/in-built-benefit/in-built-benefit.component';
53
53
  export * from './lib/other-benefits/other-benefits.component';
54
54
  export * from './lib/annuity-rate-logo/annuity-rate-logo.component';
55
55
  export * from './lib/label-value-card/label-value-card.component';
56
+ export * from './lib/medial-questions/medial-questions.component';
Binary file