master-control 0.5.38 → 0.5.39

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.
@@ -1,5 +1,5 @@
1
1
  import * as i0 from '@angular/core';
2
- import { Injectable, input, EventEmitter, Component, Output, Directive, Inject, Input, HostListener, forwardRef, createComponent, ViewChild, output, computed, inject, effect } from '@angular/core';
2
+ import { Injectable, input, EventEmitter, Component, Output, Directive, Inject, Input, HostListener, forwardRef, createComponent, ViewChild, output, computed, inject, DestroyRef, signal, effect } from '@angular/core';
3
3
  import * as i2 from '@angular/material/input';
4
4
  import { MatInputModule } from '@angular/material/input';
5
5
  import * as i2$1 from '@angular/material/form-field';
@@ -7,7 +7,7 @@ import { MatFormFieldModule } from '@angular/material/form-field';
7
7
  import * as i1 from '@angular/common';
8
8
  import { CommonModule, DOCUMENT, NgIf, NgFor, NgStyle } from '@angular/common';
9
9
  import * as i4 from '@angular/forms';
10
- import { NG_VALUE_ACCESSOR, ReactiveFormsModule, FormsModule, FormGroup } from '@angular/forms';
10
+ import { NG_VALUE_ACCESSOR, ReactiveFormsModule, FormsModule, FormControl, FormGroup } from '@angular/forms';
11
11
  import * as i5$1 from '@angular/material/autocomplete';
12
12
  import { MatAutocompleteModule } from '@angular/material/autocomplete';
13
13
  import * as i6 from '@angular/material/core';
@@ -29,6 +29,8 @@ import * as i6$1 from '@angular/material/chips';
29
29
  import { MatChipsModule } from '@angular/material/chips';
30
30
  import * as i1$3 from '@angular/material/icon';
31
31
  import { MatIconModule } from '@angular/material/icon';
32
+ import { takeUntilDestroyed } from '@angular/core/rxjs-interop';
33
+ import { Router, NavigationEnd } from '@angular/router';
32
34
  import * as i4$2 from '@angular/material/tooltip';
33
35
  import { MatTooltipModule } from '@angular/material/tooltip';
34
36
  import * as i5$2 from '@angular/material/paginator';
@@ -806,7 +808,7 @@ class RadioComponent {
806
808
  useExisting: RadioComponent,
807
809
  multi: true
808
810
  }
809
- ], ngImport: i0, template: "<div [class]=\"field()?.configData?.isInlineLabel ? 'radio-inline-wrapper' : ''\">\n <label class=\"field-lable\" *ngIf=\"field() && field()?.isVisible && field().isShowLabel\" [class.radio-inline-label]=\"field()?.configData?.isInlineLabel\" [ngStyle]=\"{\n }\">{{field()?.label}}<span class=\"error-message\" *ngIf=\"field()?.validators?.isRequired\">*</span>\n <span class=\"field-note\" *ngIf=\"field() && field()?.isVisible && field()?.configData?.noteMessage\">{{field().configData?.noteMessage}}</span>\n <span [appTooltipTemplate]=\"HtmlContent\" arrowPosition=\"left\" tooltipPosition=\"bottom\">\n <img [src]=\"field().configData?.labelIconUrl\" class=\"toggle-img mx-1\" />\n </span>\n <ng-template #HtmlContent>\n <span [innerHTML]=\"field().configData?.tooltipMessage\"></span>\n </ng-template>\n </label>\n @if(reactiveFormControlobject()) {\n <mat-radio-group [class]=\"'radio-btn-group radio-btn-gender ' + field()?.fieldName + (field()?.configData?.isInlineLabel ? ' radio-inline-group' : ' w-100')\" *ngIf=\"field() && field()?.isVisible\"\n [required]=\"field()?.validators?.isRequired\"\n [value]=\"inputValue\"\n [formControl]=\"reactiveFormControlobject()\"\n (change)=\"onRadioGroupChange($event)\"\n [id]=\"field()?.fieldName\"\n [attr.name]=\"field()?.fieldNameAttribute\"\n >\n <div\n class=\"card radio-card-gender py-auto px-1\"\n *ngFor=\"let data of field()?.options\"\n [ngClass]=\"{'disable-radio-btn': field()?.isDisable || reactiveFormControlobject?.disabled || data.disabled === true || data.disabled === 'true', 'two-options': field()?.options?.length === 2}\"\n (click)=\"(data.disabled === true || data.disabled === 'true') ? null : toggleRadio(data.value, $event)\"\n [ngStyle]=\"{\n '--radio-button-border-color': inputValue === data.value ? field()?.controlStyle?.focusBorderColor : field()?.controlStyle?.borderColor,\n '--radio-button-background-color': inputValue === data.value ? field()?.controlStyle?.focusBackground : field()?.controlStyle?.background,\n '--radio-button-border-width': inputValue === data.value ? field()?.controlStyle?.focusBorderWidth : field()?.controlStyle?.borderWidth,\n '--radio-button-border-radius': inputValue === data.value ? field()?.controlStyle?.borderRadius : field()?.controlStyle?.borderRadius,\n }\"\n >\n <mat-radio-button\n style=\"min-width: 72px; text-align: center;\"\n class=\"radioButtonGender\"\n [value]=\"data.value\"\n [disabled]=\"data.disabled === true || data.disabled === 'true'\"\n [id]=\"field()?.fieldName + '_' + data.value\"\n [name]=\"field()?.fieldNameAttribute + '_' + data.optionFieldNameAttribute\"\n >\n <span style=\"white-space: pre-line;\" class=\"forRadioLabel\" [ngStyle]=\"{\n '--radio-button-font-weight': field()?.controlStyle?.fontWeight,\n '--radio-button-font-size': field()?.controlStyle?.fontSize,\n '--radio-button-font-color': field()?.controlStyle?.color,\n }\">{{ data.label }}\n <img class=\"radio-btn-icon\" *ngIf=\"field()?.imageUrl\" [src]=\"field()?.imageUrl\" alt=\"\">\n </span>\n </mat-radio-button>\n </div>\n </mat-radio-group>\n }@else {\n <mat-radio-group [class]=\"'radio-btn-group radio-btn-gender ' + field()?.fieldName + (field()?.configData?.isInlineLabel ? ' radio-inline-group' : ' w-100')\" *ngIf=\"field() && field()?.isVisible\"\n [required]=\"field()?.validators?.isRequired\"\n [value]=\"inputValue\"\n (change)=\"onRadioGroupChange($event)\"\n [id]=\"field()?.fieldName\"\n [attr.name]=\"field()?.fieldNameAttribute\"\n >\n <div\n class=\"card radio-card-gender py-auto px-1\"\n *ngFor=\"let data of field()?.options\"\n [ngClass]=\"{'disable-radio-btn': field()?.isDisable || data.disabled === true || data.disabled === 'true', 'two-options': field()?.options?.length === 2}\"\n (click)=\"(data.disabled === true || data.disabled === 'true') ? null : toggleRadio(data.value, $event)\"\n [ngStyle]=\"{\n '--radio-button-border-color': inputValue === data.value ? field()?.controlStyle?.focusBorderColor : field()?.controlStyle?.borderColor,\n '--radio-button-background-color': inputValue === data.value ? field()?.controlStyle?.focusBackground : field()?.controlStyle?.background,\n '--radio-button-border-width': inputValue === data.value ? field()?.controlStyle?.focusBorderWidth : field()?.controlStyle?.borderWidth,\n '--radio-button-border-radius': inputValue === data.value ? field()?.controlStyle?.borderRadius : field()?.controlStyle?.borderRadius,\n }\"\n >\n <mat-radio-button\n style=\"min-width: 72px; text-align: center;\"\n class=\"radioButtonGender\"\n [value]=\"data.value\"\n [disabled]=\"data.disabled === true || data.disabled === 'true'\"\n [id]=\"field()?.fieldName + '_' + data.value\"\n [name]=\"field()?.fieldNameAttribute + '_' + data.optionFieldNameAttribute\"\n >\n <span style=\"white-space: pre-line;\" class=\"forRadioLabel\" [ngStyle]=\"{\n '--radio-button-font-weight': field()?.controlStyle?.fontWeight,\n '--radio-button-font-size': field()?.controlStyle?.fontSize,\n '--radio-button-font-color': field()?.controlStyle?.color,\n }\">{{ data.label }}\n <img class=\"radio-btn-icon\" *ngIf=\"field()?.imageUrl\" [src]=\"field()?.imageUrl\" alt=\"\">\n </span>\n </mat-radio-button>\n </div>\n </mat-radio-group>\n }\n <div class=\"error-message\" *ngIf=\"false\">\n {{field()?.validators?.patternMessage}}.\n </div>\n</div>\n", styles: [".radio-selection-border{border:1px solid #ffbb00!important;background:#fffaeb!important}*{font-family:mulish!important}.field-lable{font-size:12px!important;font-weight:700!important;color:#444!important;margin-bottom:0!important;white-space:pre-wrap!important}.field-note{display:block;font-weight:100}.error-message{color:red}.toggle-img{width:12px;margin-left:8px!important}@media screen and (max-width: 768px){.toggle-img{width:16px}}.radio-btn-group{display:flex;align-items:center;gap:1rem;align-self:stretch}::ng-deep .radio-btn-gender .mdc-form-field .mdc-radio{display:none!important}.radio-card-gender{box-shadow:none;border-color:var(--radio-button-border-color,#DADADA);border-width:var(--radio-button-border-width, 1px solid);background:var(--radio-button-background-color, #FFFFFF);display:flex;align-items:center;cursor:pointer;width:max-content!important;height:100%;border-radius:var(--radio-button-border-radius, 6px)}.radio-card-gender.two-options{min-width:144px!important}@media (max-width: 400px){.radio-btn-group .radio-card-gender.two-options{min-width:0!important;width:50%!important;max-width:50%!important}}::ng-deep .radioButtonGender .mdc-form-field .mdc-radio{display:none!important}.forRadioLabel{font-size:var(--radio-button-font-size, 12px)!important;font-weight:var(--radio-button-font-weight, 400);cursor:pointer;color:var(--radio-button-font-color, #444444)}.radio-btn-icon{margin-top:-2px;margin-left:4px}.selected-radio-btn{border:1px solid #ffbb00!important}.disable-radio-btn{background:#f5f5f5;pointer-events:none;cursor:none}@media (min-width: 769px){.radio-inline-wrapper{display:flex;align-items:center;justify-content:space-between;width:100%;gap:1rem}.radio-inline-label{flex:1;margin-bottom:0!important;white-space:normal!important}.radio-inline-group{flex-shrink:0}}\n"], dependencies: [{ kind: "ngmodule", type: MatRadioModule }, { kind: "directive", type: i2$2.MatRadioGroup, selector: "mat-radio-group", inputs: ["color", "name", "labelPosition", "value", "selected", "disabled", "required", "disabledInteractive"], outputs: ["change"], exportAs: ["matRadioGroup"] }, { kind: "component", type: i2$2.MatRadioButton, selector: "mat-radio-button", inputs: ["id", "name", "aria-label", "aria-labelledby", "aria-describedby", "disableRipple", "tabIndex", "checked", "value", "labelPosition", "disabled", "required", "color", "disabledInteractive"], outputs: ["change"], exportAs: ["matRadioButton"] }, { kind: "ngmodule", type: CommonModule }, { kind: "directive", type: i1.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { kind: "directive", type: i1.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { kind: "directive", type: i1.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "directive", type: i1.NgStyle, selector: "[ngStyle]", inputs: ["ngStyle"] }, { kind: "ngmodule", type: ReactiveFormsModule }, { kind: "directive", type: i4.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { kind: "directive", type: i4.RequiredValidator, selector: ":not([type=checkbox])[required][formControlName],:not([type=checkbox])[required][formControl],:not([type=checkbox])[required][ngModel]", inputs: ["required"] }, { kind: "directive", type: i4.FormControlDirective, selector: "[formControl]", inputs: ["formControl", "disabled", "ngModel"], outputs: ["ngModelChange"], exportAs: ["ngForm"] }, { kind: "ngmodule", type: FormsModule }, { kind: "directive", type: CustomizedTooltipDirective, selector: "[appTooltipTemplate]", inputs: ["appTooltipTemplate"] }] });
811
+ ], ngImport: i0, template: "<div [class]=\"field()?.configData?.isInlineLabel ? 'radio-inline-wrapper' : ''\">\n <label class=\"field-lable\" *ngIf=\"field() && field()?.isVisible && field().isShowLabel\" [class.radio-inline-label]=\"field()?.configData?.isInlineLabel\" [ngStyle]=\"{\n }\">{{field()?.label}}<span class=\"error-message\" *ngIf=\"field()?.validators?.isRequired\">*</span>\n <span class=\"field-note\" *ngIf=\"field() && field()?.isVisible && field()?.configData?.noteMessage\">{{field().configData?.noteMessage}}</span>\n <span [appTooltipTemplate]=\"HtmlContent\" arrowPosition=\"left\" tooltipPosition=\"bottom\">\n <img [src]=\"field().configData?.labelIconUrl\" class=\"toggle-img mx-1\" />\n </span>\n <ng-template #HtmlContent>\n <span [innerHTML]=\"field().configData?.tooltipMessage\"></span>\n </ng-template>\n </label>\n @if(reactiveFormControlobject()) {\n <mat-radio-group [class]=\"'radio-btn-group radio-btn-gender ' + field()?.fieldName + (field()?.configData?.isInlineLabel ? ' radio-inline-group' : ' w-100')\" *ngIf=\"field() && field()?.isVisible\"\n [required]=\"field()?.validators?.isRequired\"\n [value]=\"inputValue\"\n [formControl]=\"reactiveFormControlobject()\"\n (change)=\"onRadioGroupChange($event)\"\n [id]=\"field()?.fieldName\"\n [attr.name]=\"field()?.fieldNameAttribute\"\n >\n <div\n class=\"card radio-card-gender py-auto px-1\"\n *ngFor=\"let data of field()?.options\"\n [ngClass]=\"{'disable-radio-btn': field()?.isDisable || reactiveFormControlobject?.disabled || data.disabled === true || data.disabled === 'true', 'two-options': field()?.options?.length === 2}\"\n (click)=\"(data.disabled === true || data.disabled === 'true') ? null : toggleRadio(data.value, $event)\"\n [ngStyle]=\"{\n '--radio-button-border-color': inputValue === data.value ? field()?.controlStyle?.focusBorderColor : field()?.controlStyle?.borderColor,\n '--radio-button-background-color': inputValue === data.value ? field()?.controlStyle?.focusBackground : field()?.controlStyle?.background,\n '--radio-button-border-width': inputValue === data.value ? field()?.controlStyle?.focusBorderWidth : field()?.controlStyle?.borderWidth,\n '--radio-button-border-radius': inputValue === data.value ? field()?.controlStyle?.borderRadius : field()?.controlStyle?.borderRadius,\n }\"\n >\n <mat-radio-button\n class=\"radioButtonGender\"\n [style.min-width.px]=\"field()?.configData?.compactOptions ? 0 : 72\"\n [style.text-align]=\"field()?.configData?.compactOptions ? 'left' : 'center'\"\n [value]=\"data.value\"\n [disabled]=\"data.disabled === true || data.disabled === 'true'\"\n [id]=\"field()?.fieldName + '_' + data.value\"\n [name]=\"field()?.fieldNameAttribute + '_' + data.optionFieldNameAttribute\"\n >\n <span style=\"white-space: pre-line;\" class=\"forRadioLabel\" [ngStyle]=\"{\n '--radio-button-font-weight': field()?.controlStyle?.fontWeight,\n '--radio-button-font-size': field()?.controlStyle?.fontSize,\n '--radio-button-font-color': field()?.controlStyle?.color,\n }\">{{ data.label }}\n <img class=\"radio-btn-icon\" *ngIf=\"field()?.imageUrl\" [src]=\"field()?.imageUrl\" alt=\"\">\n </span>\n </mat-radio-button>\n </div>\n </mat-radio-group>\n }@else {\n <mat-radio-group [class]=\"'radio-btn-group radio-btn-gender ' + field()?.fieldName + (field()?.configData?.isInlineLabel ? ' radio-inline-group' : ' w-100')\" *ngIf=\"field() && field()?.isVisible\"\n [required]=\"field()?.validators?.isRequired\"\n [value]=\"inputValue\"\n (change)=\"onRadioGroupChange($event)\"\n [id]=\"field()?.fieldName\"\n [attr.name]=\"field()?.fieldNameAttribute\"\n >\n <div\n class=\"card radio-card-gender py-auto px-1\"\n *ngFor=\"let data of field()?.options\"\n [ngClass]=\"{'disable-radio-btn': field()?.isDisable || data.disabled === true || data.disabled === 'true', 'two-options': field()?.options?.length === 2}\"\n (click)=\"(data.disabled === true || data.disabled === 'true') ? null : toggleRadio(data.value, $event)\"\n [ngStyle]=\"{\n '--radio-button-border-color': inputValue === data.value ? field()?.controlStyle?.focusBorderColor : field()?.controlStyle?.borderColor,\n '--radio-button-background-color': inputValue === data.value ? field()?.controlStyle?.focusBackground : field()?.controlStyle?.background,\n '--radio-button-border-width': inputValue === data.value ? field()?.controlStyle?.focusBorderWidth : field()?.controlStyle?.borderWidth,\n '--radio-button-border-radius': inputValue === data.value ? field()?.controlStyle?.borderRadius : field()?.controlStyle?.borderRadius,\n }\"\n >\n <mat-radio-button\n class=\"radioButtonGender\"\n [style.min-width.px]=\"field()?.configData?.compactOptions ? 0 : 72\"\n [style.text-align]=\"field()?.configData?.compactOptions ? 'left' : 'center'\"\n [value]=\"data.value\"\n [disabled]=\"data.disabled === true || data.disabled === 'true'\"\n [id]=\"field()?.fieldName + '_' + data.value\"\n [name]=\"field()?.fieldNameAttribute + '_' + data.optionFieldNameAttribute\"\n >\n <span style=\"white-space: pre-line;\" class=\"forRadioLabel\" [ngStyle]=\"{\n '--radio-button-font-weight': field()?.controlStyle?.fontWeight,\n '--radio-button-font-size': field()?.controlStyle?.fontSize,\n '--radio-button-font-color': field()?.controlStyle?.color,\n }\">{{ data.label }}\n <img class=\"radio-btn-icon\" *ngIf=\"field()?.imageUrl\" [src]=\"field()?.imageUrl\" alt=\"\">\n </span>\n </mat-radio-button>\n </div>\n </mat-radio-group>\n }\n <div class=\"error-message\" *ngIf=\"false\">\n {{field()?.validators?.patternMessage}}.\n </div>\n</div>\n", styles: [".radio-selection-border{border:1px solid #ffbb00!important;background:#fffaeb!important}*{font-family:mulish!important}.field-lable{font-size:12px!important;font-weight:700!important;color:#444!important;margin-bottom:0!important;white-space:pre-wrap!important}.field-note{display:block;font-weight:100}.error-message{color:red}.toggle-img{width:12px;margin-left:8px!important}@media screen and (max-width: 768px){.toggle-img{width:16px}}.radio-btn-group{display:flex;align-items:center;gap:1rem;align-self:stretch}::ng-deep .radio-btn-gender .mdc-form-field .mdc-radio{display:none!important}.radio-card-gender{box-shadow:none;border-color:var(--radio-button-border-color,#DADADA);border-width:var(--radio-button-border-width, 1px solid);background:var(--radio-button-background-color, #FFFFFF);display:flex;align-items:center;cursor:pointer;width:max-content!important;height:100%;border-radius:var(--radio-button-border-radius, 6px)}.radio-card-gender.two-options{min-width:144px!important}@media (max-width: 400px){.radio-btn-group .radio-card-gender.two-options{min-width:0!important;width:50%!important;max-width:50%!important}}::ng-deep .radioButtonGender .mdc-form-field .mdc-radio{display:none!important}.forRadioLabel{font-size:var(--radio-button-font-size, 12px)!important;font-weight:var(--radio-button-font-weight, 400);cursor:pointer;color:var(--radio-button-font-color, #444444)}.radio-btn-icon{margin-top:-2px;margin-left:4px}.selected-radio-btn{border:1px solid #ffbb00!important}.disable-radio-btn{background:#f5f5f5;pointer-events:none;cursor:none}@media (min-width: 769px){.radio-inline-wrapper{display:flex;align-items:center;justify-content:space-between;width:100%;gap:1rem}.radio-inline-label{flex:1;margin-bottom:0!important;white-space:normal!important}.radio-inline-group{flex-shrink:0}}\n"], dependencies: [{ kind: "ngmodule", type: MatRadioModule }, { kind: "directive", type: i2$2.MatRadioGroup, selector: "mat-radio-group", inputs: ["color", "name", "labelPosition", "value", "selected", "disabled", "required", "disabledInteractive"], outputs: ["change"], exportAs: ["matRadioGroup"] }, { kind: "component", type: i2$2.MatRadioButton, selector: "mat-radio-button", inputs: ["id", "name", "aria-label", "aria-labelledby", "aria-describedby", "disableRipple", "tabIndex", "checked", "value", "labelPosition", "disabled", "required", "color", "disabledInteractive"], outputs: ["change"], exportAs: ["matRadioButton"] }, { kind: "ngmodule", type: CommonModule }, { kind: "directive", type: i1.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { kind: "directive", type: i1.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { kind: "directive", type: i1.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "directive", type: i1.NgStyle, selector: "[ngStyle]", inputs: ["ngStyle"] }, { kind: "ngmodule", type: ReactiveFormsModule }, { kind: "directive", type: i4.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { kind: "directive", type: i4.RequiredValidator, selector: ":not([type=checkbox])[required][formControlName],:not([type=checkbox])[required][formControl],:not([type=checkbox])[required][ngModel]", inputs: ["required"] }, { kind: "directive", type: i4.FormControlDirective, selector: "[formControl]", inputs: ["formControl", "disabled", "ngModel"], outputs: ["ngModelChange"], exportAs: ["ngForm"] }, { kind: "ngmodule", type: FormsModule }, { kind: "directive", type: CustomizedTooltipDirective, selector: "[appTooltipTemplate]", inputs: ["appTooltipTemplate"] }] });
810
812
  }
811
813
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.13", ngImport: i0, type: RadioComponent, decorators: [{
812
814
  type: Component,
@@ -822,7 +824,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.13", ngImpo
822
824
  useExisting: RadioComponent,
823
825
  multi: true
824
826
  }
825
- ], template: "<div [class]=\"field()?.configData?.isInlineLabel ? 'radio-inline-wrapper' : ''\">\n <label class=\"field-lable\" *ngIf=\"field() && field()?.isVisible && field().isShowLabel\" [class.radio-inline-label]=\"field()?.configData?.isInlineLabel\" [ngStyle]=\"{\n }\">{{field()?.label}}<span class=\"error-message\" *ngIf=\"field()?.validators?.isRequired\">*</span>\n <span class=\"field-note\" *ngIf=\"field() && field()?.isVisible && field()?.configData?.noteMessage\">{{field().configData?.noteMessage}}</span>\n <span [appTooltipTemplate]=\"HtmlContent\" arrowPosition=\"left\" tooltipPosition=\"bottom\">\n <img [src]=\"field().configData?.labelIconUrl\" class=\"toggle-img mx-1\" />\n </span>\n <ng-template #HtmlContent>\n <span [innerHTML]=\"field().configData?.tooltipMessage\"></span>\n </ng-template>\n </label>\n @if(reactiveFormControlobject()) {\n <mat-radio-group [class]=\"'radio-btn-group radio-btn-gender ' + field()?.fieldName + (field()?.configData?.isInlineLabel ? ' radio-inline-group' : ' w-100')\" *ngIf=\"field() && field()?.isVisible\"\n [required]=\"field()?.validators?.isRequired\"\n [value]=\"inputValue\"\n [formControl]=\"reactiveFormControlobject()\"\n (change)=\"onRadioGroupChange($event)\"\n [id]=\"field()?.fieldName\"\n [attr.name]=\"field()?.fieldNameAttribute\"\n >\n <div\n class=\"card radio-card-gender py-auto px-1\"\n *ngFor=\"let data of field()?.options\"\n [ngClass]=\"{'disable-radio-btn': field()?.isDisable || reactiveFormControlobject?.disabled || data.disabled === true || data.disabled === 'true', 'two-options': field()?.options?.length === 2}\"\n (click)=\"(data.disabled === true || data.disabled === 'true') ? null : toggleRadio(data.value, $event)\"\n [ngStyle]=\"{\n '--radio-button-border-color': inputValue === data.value ? field()?.controlStyle?.focusBorderColor : field()?.controlStyle?.borderColor,\n '--radio-button-background-color': inputValue === data.value ? field()?.controlStyle?.focusBackground : field()?.controlStyle?.background,\n '--radio-button-border-width': inputValue === data.value ? field()?.controlStyle?.focusBorderWidth : field()?.controlStyle?.borderWidth,\n '--radio-button-border-radius': inputValue === data.value ? field()?.controlStyle?.borderRadius : field()?.controlStyle?.borderRadius,\n }\"\n >\n <mat-radio-button\n style=\"min-width: 72px; text-align: center;\"\n class=\"radioButtonGender\"\n [value]=\"data.value\"\n [disabled]=\"data.disabled === true || data.disabled === 'true'\"\n [id]=\"field()?.fieldName + '_' + data.value\"\n [name]=\"field()?.fieldNameAttribute + '_' + data.optionFieldNameAttribute\"\n >\n <span style=\"white-space: pre-line;\" class=\"forRadioLabel\" [ngStyle]=\"{\n '--radio-button-font-weight': field()?.controlStyle?.fontWeight,\n '--radio-button-font-size': field()?.controlStyle?.fontSize,\n '--radio-button-font-color': field()?.controlStyle?.color,\n }\">{{ data.label }}\n <img class=\"radio-btn-icon\" *ngIf=\"field()?.imageUrl\" [src]=\"field()?.imageUrl\" alt=\"\">\n </span>\n </mat-radio-button>\n </div>\n </mat-radio-group>\n }@else {\n <mat-radio-group [class]=\"'radio-btn-group radio-btn-gender ' + field()?.fieldName + (field()?.configData?.isInlineLabel ? ' radio-inline-group' : ' w-100')\" *ngIf=\"field() && field()?.isVisible\"\n [required]=\"field()?.validators?.isRequired\"\n [value]=\"inputValue\"\n (change)=\"onRadioGroupChange($event)\"\n [id]=\"field()?.fieldName\"\n [attr.name]=\"field()?.fieldNameAttribute\"\n >\n <div\n class=\"card radio-card-gender py-auto px-1\"\n *ngFor=\"let data of field()?.options\"\n [ngClass]=\"{'disable-radio-btn': field()?.isDisable || data.disabled === true || data.disabled === 'true', 'two-options': field()?.options?.length === 2}\"\n (click)=\"(data.disabled === true || data.disabled === 'true') ? null : toggleRadio(data.value, $event)\"\n [ngStyle]=\"{\n '--radio-button-border-color': inputValue === data.value ? field()?.controlStyle?.focusBorderColor : field()?.controlStyle?.borderColor,\n '--radio-button-background-color': inputValue === data.value ? field()?.controlStyle?.focusBackground : field()?.controlStyle?.background,\n '--radio-button-border-width': inputValue === data.value ? field()?.controlStyle?.focusBorderWidth : field()?.controlStyle?.borderWidth,\n '--radio-button-border-radius': inputValue === data.value ? field()?.controlStyle?.borderRadius : field()?.controlStyle?.borderRadius,\n }\"\n >\n <mat-radio-button\n style=\"min-width: 72px; text-align: center;\"\n class=\"radioButtonGender\"\n [value]=\"data.value\"\n [disabled]=\"data.disabled === true || data.disabled === 'true'\"\n [id]=\"field()?.fieldName + '_' + data.value\"\n [name]=\"field()?.fieldNameAttribute + '_' + data.optionFieldNameAttribute\"\n >\n <span style=\"white-space: pre-line;\" class=\"forRadioLabel\" [ngStyle]=\"{\n '--radio-button-font-weight': field()?.controlStyle?.fontWeight,\n '--radio-button-font-size': field()?.controlStyle?.fontSize,\n '--radio-button-font-color': field()?.controlStyle?.color,\n }\">{{ data.label }}\n <img class=\"radio-btn-icon\" *ngIf=\"field()?.imageUrl\" [src]=\"field()?.imageUrl\" alt=\"\">\n </span>\n </mat-radio-button>\n </div>\n </mat-radio-group>\n }\n <div class=\"error-message\" *ngIf=\"false\">\n {{field()?.validators?.patternMessage}}.\n </div>\n</div>\n", styles: [".radio-selection-border{border:1px solid #ffbb00!important;background:#fffaeb!important}*{font-family:mulish!important}.field-lable{font-size:12px!important;font-weight:700!important;color:#444!important;margin-bottom:0!important;white-space:pre-wrap!important}.field-note{display:block;font-weight:100}.error-message{color:red}.toggle-img{width:12px;margin-left:8px!important}@media screen and (max-width: 768px){.toggle-img{width:16px}}.radio-btn-group{display:flex;align-items:center;gap:1rem;align-self:stretch}::ng-deep .radio-btn-gender .mdc-form-field .mdc-radio{display:none!important}.radio-card-gender{box-shadow:none;border-color:var(--radio-button-border-color,#DADADA);border-width:var(--radio-button-border-width, 1px solid);background:var(--radio-button-background-color, #FFFFFF);display:flex;align-items:center;cursor:pointer;width:max-content!important;height:100%;border-radius:var(--radio-button-border-radius, 6px)}.radio-card-gender.two-options{min-width:144px!important}@media (max-width: 400px){.radio-btn-group .radio-card-gender.two-options{min-width:0!important;width:50%!important;max-width:50%!important}}::ng-deep .radioButtonGender .mdc-form-field .mdc-radio{display:none!important}.forRadioLabel{font-size:var(--radio-button-font-size, 12px)!important;font-weight:var(--radio-button-font-weight, 400);cursor:pointer;color:var(--radio-button-font-color, #444444)}.radio-btn-icon{margin-top:-2px;margin-left:4px}.selected-radio-btn{border:1px solid #ffbb00!important}.disable-radio-btn{background:#f5f5f5;pointer-events:none;cursor:none}@media (min-width: 769px){.radio-inline-wrapper{display:flex;align-items:center;justify-content:space-between;width:100%;gap:1rem}.radio-inline-label{flex:1;margin-bottom:0!important;white-space:normal!important}.radio-inline-group{flex-shrink:0}}\n"] }]
827
+ ], template: "<div [class]=\"field()?.configData?.isInlineLabel ? 'radio-inline-wrapper' : ''\">\n <label class=\"field-lable\" *ngIf=\"field() && field()?.isVisible && field().isShowLabel\" [class.radio-inline-label]=\"field()?.configData?.isInlineLabel\" [ngStyle]=\"{\n }\">{{field()?.label}}<span class=\"error-message\" *ngIf=\"field()?.validators?.isRequired\">*</span>\n <span class=\"field-note\" *ngIf=\"field() && field()?.isVisible && field()?.configData?.noteMessage\">{{field().configData?.noteMessage}}</span>\n <span [appTooltipTemplate]=\"HtmlContent\" arrowPosition=\"left\" tooltipPosition=\"bottom\">\n <img [src]=\"field().configData?.labelIconUrl\" class=\"toggle-img mx-1\" />\n </span>\n <ng-template #HtmlContent>\n <span [innerHTML]=\"field().configData?.tooltipMessage\"></span>\n </ng-template>\n </label>\n @if(reactiveFormControlobject()) {\n <mat-radio-group [class]=\"'radio-btn-group radio-btn-gender ' + field()?.fieldName + (field()?.configData?.isInlineLabel ? ' radio-inline-group' : ' w-100')\" *ngIf=\"field() && field()?.isVisible\"\n [required]=\"field()?.validators?.isRequired\"\n [value]=\"inputValue\"\n [formControl]=\"reactiveFormControlobject()\"\n (change)=\"onRadioGroupChange($event)\"\n [id]=\"field()?.fieldName\"\n [attr.name]=\"field()?.fieldNameAttribute\"\n >\n <div\n class=\"card radio-card-gender py-auto px-1\"\n *ngFor=\"let data of field()?.options\"\n [ngClass]=\"{'disable-radio-btn': field()?.isDisable || reactiveFormControlobject?.disabled || data.disabled === true || data.disabled === 'true', 'two-options': field()?.options?.length === 2}\"\n (click)=\"(data.disabled === true || data.disabled === 'true') ? null : toggleRadio(data.value, $event)\"\n [ngStyle]=\"{\n '--radio-button-border-color': inputValue === data.value ? field()?.controlStyle?.focusBorderColor : field()?.controlStyle?.borderColor,\n '--radio-button-background-color': inputValue === data.value ? field()?.controlStyle?.focusBackground : field()?.controlStyle?.background,\n '--radio-button-border-width': inputValue === data.value ? field()?.controlStyle?.focusBorderWidth : field()?.controlStyle?.borderWidth,\n '--radio-button-border-radius': inputValue === data.value ? field()?.controlStyle?.borderRadius : field()?.controlStyle?.borderRadius,\n }\"\n >\n <mat-radio-button\n class=\"radioButtonGender\"\n [style.min-width.px]=\"field()?.configData?.compactOptions ? 0 : 72\"\n [style.text-align]=\"field()?.configData?.compactOptions ? 'left' : 'center'\"\n [value]=\"data.value\"\n [disabled]=\"data.disabled === true || data.disabled === 'true'\"\n [id]=\"field()?.fieldName + '_' + data.value\"\n [name]=\"field()?.fieldNameAttribute + '_' + data.optionFieldNameAttribute\"\n >\n <span style=\"white-space: pre-line;\" class=\"forRadioLabel\" [ngStyle]=\"{\n '--radio-button-font-weight': field()?.controlStyle?.fontWeight,\n '--radio-button-font-size': field()?.controlStyle?.fontSize,\n '--radio-button-font-color': field()?.controlStyle?.color,\n }\">{{ data.label }}\n <img class=\"radio-btn-icon\" *ngIf=\"field()?.imageUrl\" [src]=\"field()?.imageUrl\" alt=\"\">\n </span>\n </mat-radio-button>\n </div>\n </mat-radio-group>\n }@else {\n <mat-radio-group [class]=\"'radio-btn-group radio-btn-gender ' + field()?.fieldName + (field()?.configData?.isInlineLabel ? ' radio-inline-group' : ' w-100')\" *ngIf=\"field() && field()?.isVisible\"\n [required]=\"field()?.validators?.isRequired\"\n [value]=\"inputValue\"\n (change)=\"onRadioGroupChange($event)\"\n [id]=\"field()?.fieldName\"\n [attr.name]=\"field()?.fieldNameAttribute\"\n >\n <div\n class=\"card radio-card-gender py-auto px-1\"\n *ngFor=\"let data of field()?.options\"\n [ngClass]=\"{'disable-radio-btn': field()?.isDisable || data.disabled === true || data.disabled === 'true', 'two-options': field()?.options?.length === 2}\"\n (click)=\"(data.disabled === true || data.disabled === 'true') ? null : toggleRadio(data.value, $event)\"\n [ngStyle]=\"{\n '--radio-button-border-color': inputValue === data.value ? field()?.controlStyle?.focusBorderColor : field()?.controlStyle?.borderColor,\n '--radio-button-background-color': inputValue === data.value ? field()?.controlStyle?.focusBackground : field()?.controlStyle?.background,\n '--radio-button-border-width': inputValue === data.value ? field()?.controlStyle?.focusBorderWidth : field()?.controlStyle?.borderWidth,\n '--radio-button-border-radius': inputValue === data.value ? field()?.controlStyle?.borderRadius : field()?.controlStyle?.borderRadius,\n }\"\n >\n <mat-radio-button\n class=\"radioButtonGender\"\n [style.min-width.px]=\"field()?.configData?.compactOptions ? 0 : 72\"\n [style.text-align]=\"field()?.configData?.compactOptions ? 'left' : 'center'\"\n [value]=\"data.value\"\n [disabled]=\"data.disabled === true || data.disabled === 'true'\"\n [id]=\"field()?.fieldName + '_' + data.value\"\n [name]=\"field()?.fieldNameAttribute + '_' + data.optionFieldNameAttribute\"\n >\n <span style=\"white-space: pre-line;\" class=\"forRadioLabel\" [ngStyle]=\"{\n '--radio-button-font-weight': field()?.controlStyle?.fontWeight,\n '--radio-button-font-size': field()?.controlStyle?.fontSize,\n '--radio-button-font-color': field()?.controlStyle?.color,\n }\">{{ data.label }}\n <img class=\"radio-btn-icon\" *ngIf=\"field()?.imageUrl\" [src]=\"field()?.imageUrl\" alt=\"\">\n </span>\n </mat-radio-button>\n </div>\n </mat-radio-group>\n }\n <div class=\"error-message\" *ngIf=\"false\">\n {{field()?.validators?.patternMessage}}.\n </div>\n</div>\n", styles: [".radio-selection-border{border:1px solid #ffbb00!important;background:#fffaeb!important}*{font-family:mulish!important}.field-lable{font-size:12px!important;font-weight:700!important;color:#444!important;margin-bottom:0!important;white-space:pre-wrap!important}.field-note{display:block;font-weight:100}.error-message{color:red}.toggle-img{width:12px;margin-left:8px!important}@media screen and (max-width: 768px){.toggle-img{width:16px}}.radio-btn-group{display:flex;align-items:center;gap:1rem;align-self:stretch}::ng-deep .radio-btn-gender .mdc-form-field .mdc-radio{display:none!important}.radio-card-gender{box-shadow:none;border-color:var(--radio-button-border-color,#DADADA);border-width:var(--radio-button-border-width, 1px solid);background:var(--radio-button-background-color, #FFFFFF);display:flex;align-items:center;cursor:pointer;width:max-content!important;height:100%;border-radius:var(--radio-button-border-radius, 6px)}.radio-card-gender.two-options{min-width:144px!important}@media (max-width: 400px){.radio-btn-group .radio-card-gender.two-options{min-width:0!important;width:50%!important;max-width:50%!important}}::ng-deep .radioButtonGender .mdc-form-field .mdc-radio{display:none!important}.forRadioLabel{font-size:var(--radio-button-font-size, 12px)!important;font-weight:var(--radio-button-font-weight, 400);cursor:pointer;color:var(--radio-button-font-color, #444444)}.radio-btn-icon{margin-top:-2px;margin-left:4px}.selected-radio-btn{border:1px solid #ffbb00!important}.disable-radio-btn{background:#f5f5f5;pointer-events:none;cursor:none}@media (min-width: 769px){.radio-inline-wrapper{display:flex;align-items:center;justify-content:space-between;width:100%;gap:1rem}.radio-inline-label{flex:1;margin-bottom:0!important;white-space:normal!important}.radio-inline-group{flex-shrink:0}}\n"] }]
826
828
  }], ctorParameters: () => [{ type: MasterControlService }], propDecorators: { change: [{
827
829
  type: Output
828
830
  }] } });
@@ -3292,6 +3294,67 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.13", ngImpo
3292
3294
  args: [{ selector: 'lib-stepper', standalone: true, imports: [CommonModule], template: "<div class=\"stepper-shell\" [ngStyle]=\"componentStyleVars\" *ngIf=\"field() && field()?.isVisible\">\n <ng-container *ngIf=\"!isFigmaVariant(); else figmaStepperTemplate\">\n <div\n class=\"legacy-stepper\"\n [class.legacy-stepper--vertical]=\"isVerticalOrientation()\">\n <ng-container *ngFor=\"let step of stepperItems(); let index = index; trackBy: trackByStep\">\n <div\n class=\"legacy-stepper__segment\"\n [class.legacy-stepper__segment--vertical]=\"isVerticalOrientation()\">\n <div class=\"legacy-stepper__item\">\n <img\n *ngIf=\"getLegacyIcon(step)\"\n class=\"step-img\"\n [src]=\"getLegacyIcon(step)\"\n alt=\"\" />\n <span class=\"step-label\">{{ getLegacyLabel(step) }}</span>\n </div>\n\n <span\n class=\"legacy-stepper__connector\"\n [class.legacy-stepper__connector--vertical]=\"isVerticalOrientation()\"\n *ngIf=\"index < stepperItems().length - 1\"></span>\n </div>\n </ng-container>\n </div>\n </ng-container>\n\n <ng-template #figmaStepperTemplate>\n <div\n class=\"detail-stepper\"\n [class.detail-stepper--vertical]=\"isVerticalOrientation()\"\n [class.detail-stepper--horizontal]=\"!isVerticalOrientation()\">\n <ng-container *ngFor=\"let step of stepperItems(); let index = index; trackBy: trackByStep\">\n <div\n class=\"detail-stepper__segment\"\n [class.detail-stepper__segment--vertical]=\"isVerticalOrientation()\"\n [class.detail-stepper__segment--horizontal]=\"!isVerticalOrientation()\">\n <div class=\"detail-stepper__item\">\n <span\n class=\"detail-stepper__indicator\"\n [class.detail-stepper__indicator--pending]=\"!isStepCompleted(step, index)\">\n {{ isStepCompleted(step, index) ? completedIndicator : index + 1 }}\n </span>\n\n <div class=\"detail-stepper__content\">\n <span class=\"detail-stepper__title\">{{ getDetailTitle(step) }}</span>\n <span class=\"detail-stepper__value\" *ngIf=\"hasDetailValue(step)\">\n {{ getDetailValue(step) }}\n </span>\n </div>\n </div>\n\n <span\n class=\"detail-stepper__connector\"\n [class.detail-stepper__connector--vertical]=\"isVerticalOrientation()\"\n [class.detail-stepper__connector--horizontal]=\"!isVerticalOrientation()\"\n *ngIf=\"index < stepperItems().length - 1\"></span>\n </div>\n </ng-container>\n </div>\n </ng-template>\n</div>\n", styles: ["*{font-family:var(--mc-font-family, \"Mulish\")!important}.stepper-shell{width:var(--mc-width, 100%);min-width:var(--mc-min-width, auto);max-width:var(--mc-max-width, 100%);height:var(--mc-height, auto);min-height:var(--mc-min-height, auto);max-height:var(--mc-max-height, none);margin:var(--mc-margin, 0);padding:var(--mc-padding, 0);border:var(--mc-border-width, 0) var(--mc-border-style, solid) var(--mc-border-color, transparent);border-radius:var(--mc-border-radius, 0);background:var(--mc-background, transparent);color:var(--mc-color, #444444);font-family:var(--mc-font-family, \"Mulish\"),sans-serif!important}.legacy-stepper{display:flex;align-items:center;gap:0;width:100%}.legacy-stepper--vertical{flex-direction:column;align-items:flex-start}.legacy-stepper__segment{display:flex;align-items:center}.legacy-stepper__segment--vertical{flex-direction:column;align-items:flex-start}.legacy-stepper__item{display:inline-flex;align-items:center;gap:10px;min-height:28px}.legacy-stepper__connector{width:52px;height:1px;margin:0 10px;border-top:1px dashed var(--mc-border-color, #cfd6df)}.legacy-stepper__connector--vertical{width:1px;height:28px;margin:8px 0 8px 12px;border-top:0;border-left:1px solid var(--mc-hover-border-color, #d8dfe7)}.step-img{width:24px;height:24px;flex-shrink:0}.step-label{color:var(--mc-color, #444444);font-size:var(--mc-font-size, 14px);font-weight:var(--mc-font-weight, 700);line-height:1.35}.detail-stepper{width:100%}.detail-stepper--vertical{display:flex;flex-direction:column;align-items:flex-start}.detail-stepper--horizontal{display:flex;align-items:flex-start;gap:0;flex-wrap:wrap}.detail-stepper__segment{display:flex}.detail-stepper__segment--vertical{flex-direction:column;align-items:flex-start}.detail-stepper__segment--horizontal{align-items:flex-start;flex:1 1 240px;min-width:220px}.detail-stepper__item{display:flex;align-items:flex-start;gap:12px}.detail-stepper__indicator{width:18px;height:18px;min-width:18px;min-height:18px;margin-top:2px;border-radius:50%;background:var(--mc-caret-color, #0bb68b);color:#fff;display:inline-flex;align-items:center;justify-content:center;font-size:11px;font-weight:800;line-height:1;box-sizing:border-box}.detail-stepper__indicator--pending{background:var(--mc-dropdown-option-bg-color, #ffffff);border:1.5px solid var(--mc-border-color, #cfd6df);color:var(--mc-focus-border-color, #8f98a3)}.detail-stepper__content{display:flex;flex-direction:column;gap:2px;min-width:0}.detail-stepper__title{color:var(--mc-focus-border-color, #9b9b9b);font-size:calc(var(--mc-font-size, 14px) - 2px);font-weight:700;line-height:1.35}.detail-stepper__value{color:var(--mc-color, #444444);font-size:calc(var(--mc-font-size, 14px) + 1px);font-weight:800;line-height:1.4;word-break:break-word}.detail-stepper__connector{flex-shrink:0;background:var(--mc-hover-border-color, #d8dfe7)}.detail-stepper__connector--vertical{width:1px;height:28px;margin:8px 0 8px 9px}.detail-stepper__connector--horizontal{width:36px;height:1px;margin:10px 16px 0}@media (max-width: 767px){.detail-stepper--horizontal{flex-direction:column}.detail-stepper__segment--horizontal{flex:none;min-width:100%;flex-direction:column;align-items:flex-start}.detail-stepper__connector--horizontal{width:1px;height:24px;margin:8px 0 8px 9px}}\n"] }]
3293
3295
  }], ctorParameters: () => [{ type: MasterControlService }] });
3294
3296
 
3297
+ const DEFAULT_STEPS = [
3298
+ { label: 'Basic Details', routes: 'annuity/basic-details' },
3299
+ { label: 'Plan Details', routes: 'annuity/plan-details' },
3300
+ { label: 'Proposal Form', routes: ['annuity/member-details', 'annuity/eproposal-form'] },
3301
+ { label: 'Policy Issuance', routes: 'annuity/policy-issuance' }
3302
+ ];
3303
+ class JourneyStepperComponent {
3304
+ field = input.required();
3305
+ router = inject(Router, { optional: true });
3306
+ destroyRef = inject(DestroyRef);
3307
+ currentUrl = signal(this.router?.url ?? '');
3308
+ steps = computed(() => {
3309
+ const configuredSteps = this.field()?.configData?.steps;
3310
+ return Array.isArray(configuredSteps) ? configuredSteps : DEFAULT_STEPS;
3311
+ });
3312
+ currentStep = computed(() => {
3313
+ const configData = this.field()?.configData || {};
3314
+ if (Number.isInteger(configData.currentStep)) {
3315
+ return configData.currentStep;
3316
+ }
3317
+ const url = this.currentUrl();
3318
+ const index = this.steps().findIndex(step => (Array.isArray(step.routes) ? step.routes : [step.routes]).some(route => !!route && url.includes(route)));
3319
+ // Fall back to the first step when inside the configured section but no step route matched
3320
+ const routePrefix = configData.routePrefix;
3321
+ if (index === -1 && routePrefix && url.includes(routePrefix)) {
3322
+ return 0;
3323
+ }
3324
+ return index;
3325
+ });
3326
+ constructor() {
3327
+ this.router?.events.pipe(takeUntilDestroyed(this.destroyRef)).subscribe(event => {
3328
+ if (event instanceof NavigationEnd) {
3329
+ this.currentUrl.set(event.urlAfterRedirects);
3330
+ }
3331
+ });
3332
+ }
3333
+ getStatus(index) {
3334
+ const current = this.currentStep();
3335
+ if (current === -1 || index > current) {
3336
+ return 'pending';
3337
+ }
3338
+ return index === current ? 'inProgress' : 'done';
3339
+ }
3340
+ getStepClass(index) {
3341
+ return this.getStatus(index);
3342
+ }
3343
+ getConnectorClass(index) {
3344
+ const current = this.currentStep();
3345
+ if (current > 0 && index === current - 1) {
3346
+ return 'inProgress';
3347
+ }
3348
+ return index < current - 1 ? 'active' : '';
3349
+ }
3350
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.13", ngImport: i0, type: JourneyStepperComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
3351
+ static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.1.0", version: "18.2.13", type: JourneyStepperComponent, isStandalone: true, selector: "lib-journey-stepper", inputs: { field: { classPropertyName: "field", publicName: "field", isSignal: true, isRequired: true, transformFunction: null } }, ngImport: i0, template: "<div class=\"stepper-container\" *ngIf=\"field() && field()?.isVisible !== false\">\n <div class=\"stepper-header\">\n <div class=\"stepper-steps\">\n <div *ngFor=\"let step of steps(); let i = index\" class=\"stepper-item\">\n <div class=\"step-indicator\" [ngClass]=\"getStepClass(i)\">\n <mat-icon *ngIf=\"getStatus(i) === 'done'\" class=\"step-icon\">check</mat-icon>\n <span *ngIf=\"getStatus(i) === 'inProgress'\" class=\"step-icon-active\"></span>\n <span *ngIf=\"getStatus(i) === 'pending'\" class=\"step-icon-pending\"></span>\n </div>\n\n <div class=\"step-label\" [ngClass]=\"{'step-label-active': getStatus(i) === 'inProgress'}\">{{ step.label }}</div>\n\n <div *ngIf=\"i < steps().length - 1\" class=\"step-connector\" [ngClass]=\"getConnectorClass(i)\"></div>\n </div>\n </div>\n </div>\n</div>\n", styles: [".stepper-container{padding:30px 0}.stepper-header{display:flex;justify-content:center}.stepper-steps{display:flex;align-items:center;gap:0;position:relative;width:100%;max-width:1200px;padding:0 40px}.stepper-item{display:flex;flex-direction:column;align-items:center;flex:1;position:relative}.step-indicator{display:flex;align-items:center;justify-content:center;width:18px;height:18px;border-radius:50%;margin-bottom:-15px;flex-shrink:0;transition:all .3s ease;position:relative;z-index:2}.step-indicator.done{background-color:#00946f;border:3px solid #00946F}.step-indicator.inProgress{background-color:transparent;border:3px solid #FFBB00}.step-indicator.pending{background-color:transparent;border:3px solid #DADADA}.step-icon{color:#fff;font-size:12px!important;width:13px;height:13px}.step-icon-active{display:inline-block;width:7px;height:6px;border-radius:50%;background-color:#fb0}.step-icon-pending{display:inline-block;width:6px;height:6px;border-radius:50%;background-color:#dadada}.step-label{font-size:15px;font-weight:500;color:#444;text-align:center;white-space:nowrap;transition:all .3s ease;margin-top:20px}.step-label-active{font-weight:700}.step-connector{position:absolute;top:22%;left:calc(50% + 8px);right:calc(-50% + 7px);height:3px;background-color:#dadada;transition:background-color .3s ease;z-index:1;transform:translateY(-50%);margin:0}.step-connector.active{background-color:#00946f}.step-connector.inProgress{background-color:#fb0}@media (max-width: 768px){.stepper-container{padding:20px 0;overflow-x:hidden}.stepper-steps{gap:6px;padding:0 12px;max-width:100%;transform:scale(.95);transform-origin:center}.step-indicator{width:17px;height:17px;margin-bottom:14px;border-width:2.5px!important}.step-icon{font-size:10px!important;width:11px;height:11px}.step-icon-active{width:6.5px;height:6.5px}.step-icon-pending{width:5.5px;height:5.5px}.step-label{font-size:12px;margin-top:16px;white-space:normal;max-width:100px;line-height:1.3}.step-connector{top:12%;left:calc(50% + 8.5px);right:calc(-50% + 2.5px);height:2.5px;transform:translateY(-50%)}}\n"], dependencies: [{ kind: "ngmodule", type: CommonModule }, { kind: "directive", type: i1.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { kind: "directive", type: i1.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { kind: "directive", type: i1.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "ngmodule", type: MatIconModule }, { kind: "component", type: i1$3.MatIcon, selector: "mat-icon", inputs: ["color", "inline", "svgIcon", "fontSet", "fontIcon"], exportAs: ["matIcon"] }] });
3352
+ }
3353
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.13", ngImport: i0, type: JourneyStepperComponent, decorators: [{
3354
+ type: Component,
3355
+ args: [{ selector: 'lib-journey-stepper', standalone: true, imports: [CommonModule, MatIconModule], template: "<div class=\"stepper-container\" *ngIf=\"field() && field()?.isVisible !== false\">\n <div class=\"stepper-header\">\n <div class=\"stepper-steps\">\n <div *ngFor=\"let step of steps(); let i = index\" class=\"stepper-item\">\n <div class=\"step-indicator\" [ngClass]=\"getStepClass(i)\">\n <mat-icon *ngIf=\"getStatus(i) === 'done'\" class=\"step-icon\">check</mat-icon>\n <span *ngIf=\"getStatus(i) === 'inProgress'\" class=\"step-icon-active\"></span>\n <span *ngIf=\"getStatus(i) === 'pending'\" class=\"step-icon-pending\"></span>\n </div>\n\n <div class=\"step-label\" [ngClass]=\"{'step-label-active': getStatus(i) === 'inProgress'}\">{{ step.label }}</div>\n\n <div *ngIf=\"i < steps().length - 1\" class=\"step-connector\" [ngClass]=\"getConnectorClass(i)\"></div>\n </div>\n </div>\n </div>\n</div>\n", styles: [".stepper-container{padding:30px 0}.stepper-header{display:flex;justify-content:center}.stepper-steps{display:flex;align-items:center;gap:0;position:relative;width:100%;max-width:1200px;padding:0 40px}.stepper-item{display:flex;flex-direction:column;align-items:center;flex:1;position:relative}.step-indicator{display:flex;align-items:center;justify-content:center;width:18px;height:18px;border-radius:50%;margin-bottom:-15px;flex-shrink:0;transition:all .3s ease;position:relative;z-index:2}.step-indicator.done{background-color:#00946f;border:3px solid #00946F}.step-indicator.inProgress{background-color:transparent;border:3px solid #FFBB00}.step-indicator.pending{background-color:transparent;border:3px solid #DADADA}.step-icon{color:#fff;font-size:12px!important;width:13px;height:13px}.step-icon-active{display:inline-block;width:7px;height:6px;border-radius:50%;background-color:#fb0}.step-icon-pending{display:inline-block;width:6px;height:6px;border-radius:50%;background-color:#dadada}.step-label{font-size:15px;font-weight:500;color:#444;text-align:center;white-space:nowrap;transition:all .3s ease;margin-top:20px}.step-label-active{font-weight:700}.step-connector{position:absolute;top:22%;left:calc(50% + 8px);right:calc(-50% + 7px);height:3px;background-color:#dadada;transition:background-color .3s ease;z-index:1;transform:translateY(-50%);margin:0}.step-connector.active{background-color:#00946f}.step-connector.inProgress{background-color:#fb0}@media (max-width: 768px){.stepper-container{padding:20px 0;overflow-x:hidden}.stepper-steps{gap:6px;padding:0 12px;max-width:100%;transform:scale(.95);transform-origin:center}.step-indicator{width:17px;height:17px;margin-bottom:14px;border-width:2.5px!important}.step-icon{font-size:10px!important;width:11px;height:11px}.step-icon-active{width:6.5px;height:6.5px}.step-icon-pending{width:5.5px;height:5.5px}.step-label{font-size:12px;margin-top:16px;white-space:normal;max-width:100px;line-height:1.3}.step-connector{top:12%;left:calc(50% + 8.5px);right:calc(-50% + 2.5px);height:2.5px;transform:translateY(-50%)}}\n"] }]
3356
+ }], ctorParameters: () => [] });
3357
+
3295
3358
  class CardComponent {
3296
3359
  masterSharedService;
3297
3360
  field = input.required();
@@ -10652,11 +10715,11 @@ class DiscountCardComponent {
10652
10715
  return this.field().configData ?? {};
10653
10716
  }
10654
10717
  static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.13", ngImport: i0, type: DiscountCardComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
10655
- static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "18.2.13", type: DiscountCardComponent, isStandalone: true, selector: "lib-discount-card", inputs: { field: { classPropertyName: "field", publicName: "field", isSignal: true, isRequired: true, transformFunction: null } }, ngImport: i0, template: "@if (field().isVisible !== false) {\n <article class=\"discount-card\" [class.discount-card--applied]=\"data.applied ?? true\"\n [ngStyle]=\"{\n '--discount-card-border-color': field().controlStyle?.borderColor,\n '--discount-card-border-width': field().controlStyle?.borderWidth,\n '--discount-card-border-radius': field().controlStyle?.borderRadius,\n '--discount-card-background': field().controlStyle?.background,\n '--discount-card-color': field().controlStyle?.color,\n '--discount-card-font-family': field().controlStyle?.fontFamily,\n '--discount-card-width': field().controlStyle?.width\n }\">\n <div class=\"discount-card__header\">\n <div class=\"discount-card__offer\">\n <mat-icon class=\"discount-card__icon\" aria-hidden=\"true\">content_copy</mat-icon>\n <span class=\"discount-card__value\">{{ data.discount ?? 5 }}%</span>\n <span class=\"discount-card__suffix\">{{ data.discountSuffix ?? 'off' }}</span>\n </div>\n <span class=\"discount-card__status\" role=\"status\">\n @if (data.applied ?? true) {\n <span>{{ data.appliedText ?? 'Applied' }}</span>\n <mat-icon aria-hidden=\"true\">check_circle_outline</mat-icon>\n } @else {\n <span>{{ data.notAppliedText ?? 'Not applied' }}</span>\n }\n </span>\n </div>\n <h3 class=\"discount-card__title\">{{ data.title ?? field().label ?? 'Discount to Salaried Customers' }}</h3>\n </article>\n}\n", styles: [":host{display:block;min-width:0}.discount-card{box-sizing:border-box;width:var(--discount-card-width, 100%);max-width:100%;max-height:none;padding:16px;border:var(--discount-card-border-width, 1px) solid var(--discount-card-border-color, #8b8b8b);border-radius:var(--discount-card-border-radius, 12px);background:var(--discount-card-background, #fff);color:var(--discount-card-color, #080808);font-family:var(--discount-card-font-family, inherit)}:host .discount-card{border-color:var(--discount-card-border-color, #009f7a)!important}.discount-card__header{display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:12px}.discount-card__offer{display:flex;align-items:baseline;flex-wrap:wrap;gap:6px;min-width:0}.discount-card__icon{flex:0 0 26px;align-self:center;width:26px;height:28px;margin-right:4px;font-size:26px;color:#303030}.discount-card__value{font-size:30px;font-weight:700;line-height:1.2;overflow-wrap:anywhere}.discount-card__suffix{font-size:16px;overflow-wrap:anywhere}.discount-card__status{display:inline-flex;align-items:center;justify-content:center;gap:8px;box-sizing:border-box;max-width:100%;min-height:36px;padding:6px 24px;border-radius:24px;background:#f0f0f0;color:#555;font-size:18px;line-height:24px;overflow-wrap:anywhere}.discount-card--applied .discount-card__status{background:#ddf1e8;color:#008665}.discount-card__status mat-icon{flex:0 0 18px;width:18px;height:18px;font-size:18px}.discount-card__title{margin:20px 0 0;font-size:20px;font-weight:600;line-height:1.3;overflow-wrap:anywhere}\n"], dependencies: [{ kind: "directive", type: NgStyle, selector: "[ngStyle]", inputs: ["ngStyle"] }, { kind: "ngmodule", type: MatIconModule }, { kind: "component", type: i1$3.MatIcon, selector: "mat-icon", inputs: ["color", "inline", "svgIcon", "fontSet", "fontIcon"], exportAs: ["matIcon"] }] });
10718
+ static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "18.2.13", type: DiscountCardComponent, isStandalone: true, selector: "lib-discount-card", inputs: { field: { classPropertyName: "field", publicName: "field", isSignal: true, isRequired: true, transformFunction: null } }, ngImport: i0, template: "@if (field().isVisible !== false) {\n <article class=\"discount-card\" [class.discount-card--applied]=\"data.applied ?? true\"\n [class.discount-card--compact]=\"data.density === 'compact'\"\n [ngStyle]=\"{\n '--discount-card-border-color': field().controlStyle?.borderColor,\n '--discount-card-border-width': field().controlStyle?.borderWidth,\n '--discount-card-border-radius': field().controlStyle?.borderRadius,\n '--discount-card-background': field().controlStyle?.background,\n '--discount-card-color': field().controlStyle?.color,\n '--discount-card-font-family': field().controlStyle?.fontFamily,\n '--discount-card-width': field().controlStyle?.width\n }\">\n <div class=\"discount-card__header\">\n <div class=\"discount-card__offer\">\n <mat-icon class=\"discount-card__icon\" aria-hidden=\"true\">content_copy</mat-icon>\n <span class=\"discount-card__value\">{{ data.discount ?? 5 }}%</span>\n <span class=\"discount-card__suffix\">{{ data.discountSuffix ?? 'off' }}</span>\n </div>\n <span class=\"discount-card__status\" role=\"status\">\n @if (data.applied ?? true) {\n <span>{{ data.appliedText ?? 'Applied' }}</span>\n <mat-icon aria-hidden=\"true\">check_circle_outline</mat-icon>\n } @else {\n <span>{{ data.notAppliedText ?? 'Not applied' }}</span>\n }\n </span>\n </div>\n <h3 class=\"discount-card__title\">{{ data.title ?? field().label ?? 'Discount to Salaried Customers' }}</h3>\n </article>\n}\n", styles: [":host{display:block;min-width:0}.discount-card{box-sizing:border-box;width:var(--discount-card-width, 100%);max-width:100%;max-height:none;padding:16px;border:var(--discount-card-border-width, 1px) solid var(--discount-card-border-color, #8b8b8b);border-radius:var(--discount-card-border-radius, 12px);background:var(--discount-card-background, #fff);color:var(--discount-card-color, #080808);font-family:var(--discount-card-font-family, inherit)}:host .discount-card{border-color:var(--discount-card-border-color, #009f7a)!important}.discount-card__header{display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:12px}.discount-card__offer{display:flex;align-items:baseline;flex-wrap:wrap;gap:6px;min-width:0}.discount-card__icon{flex:0 0 26px;align-self:center;width:26px;height:28px;margin-right:4px;font-size:26px;color:#303030}.discount-card__value{font-size:30px;font-weight:700;line-height:1.2;overflow-wrap:anywhere}.discount-card__suffix{font-size:16px;overflow-wrap:anywhere}.discount-card__status{display:inline-flex;align-items:center;justify-content:center;gap:8px;box-sizing:border-box;max-width:100%;min-height:36px;padding:6px 24px;border-radius:24px;background:#f0f0f0;color:#555;font-size:18px;line-height:24px;overflow-wrap:anywhere}.discount-card--applied .discount-card__status{background:#ddf1e8;color:#008665}.discount-card__status mat-icon{flex:0 0 18px;width:18px;height:18px;font-size:18px}.discount-card__title{margin:20px 0 0;font-size:20px;font-weight:600;line-height:1.3;overflow-wrap:anywhere}.discount-card--compact{padding:8px;border-radius:6px;transition:box-shadow .16s ease,transform .16s ease}.discount-card--compact:hover{box-shadow:0 2px 8px #0000001a;transform:translateY(-1px)}@media (prefers-reduced-motion: reduce){.discount-card--compact{transition:none}.discount-card--compact:hover{transform:none}}.discount-card--compact .discount-card__header{justify-content:flex-start;flex-wrap:nowrap;gap:4px}.discount-card--compact .discount-card__offer{flex:1 1 0;flex-wrap:nowrap;gap:4px;overflow:hidden;white-space:nowrap}.discount-card--compact .discount-card__icon{flex-basis:14px;width:14px;height:16px;margin-right:0;font-size:14px}.discount-card--compact .discount-card__value{flex:0 0 auto;font-size:14px;line-height:18px;white-space:nowrap}.discount-card--compact .discount-card__suffix{min-width:0;font-size:9px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.discount-card--compact .discount-card__status{flex:0 0 auto;min-height:0;margin-left:auto;padding:3px 8px;gap:3px;border-radius:12px;font-size:9px;line-height:12px;white-space:nowrap}.discount-card--compact .discount-card__status mat-icon{flex-basis:12px;width:12px;height:12px;font-size:12px}.discount-card--compact .discount-card__title{margin-top:6px;font-size:10px;font-weight:700;line-height:14px}\n"], dependencies: [{ kind: "directive", type: NgStyle, selector: "[ngStyle]", inputs: ["ngStyle"] }, { kind: "ngmodule", type: MatIconModule }, { kind: "component", type: i1$3.MatIcon, selector: "mat-icon", inputs: ["color", "inline", "svgIcon", "fontSet", "fontIcon"], exportAs: ["matIcon"] }] });
10656
10719
  }
10657
10720
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.13", ngImport: i0, type: DiscountCardComponent, decorators: [{
10658
10721
  type: Component,
10659
- args: [{ selector: 'lib-discount-card', standalone: true, imports: [NgStyle, MatIconModule], template: "@if (field().isVisible !== false) {\n <article class=\"discount-card\" [class.discount-card--applied]=\"data.applied ?? true\"\n [ngStyle]=\"{\n '--discount-card-border-color': field().controlStyle?.borderColor,\n '--discount-card-border-width': field().controlStyle?.borderWidth,\n '--discount-card-border-radius': field().controlStyle?.borderRadius,\n '--discount-card-background': field().controlStyle?.background,\n '--discount-card-color': field().controlStyle?.color,\n '--discount-card-font-family': field().controlStyle?.fontFamily,\n '--discount-card-width': field().controlStyle?.width\n }\">\n <div class=\"discount-card__header\">\n <div class=\"discount-card__offer\">\n <mat-icon class=\"discount-card__icon\" aria-hidden=\"true\">content_copy</mat-icon>\n <span class=\"discount-card__value\">{{ data.discount ?? 5 }}%</span>\n <span class=\"discount-card__suffix\">{{ data.discountSuffix ?? 'off' }}</span>\n </div>\n <span class=\"discount-card__status\" role=\"status\">\n @if (data.applied ?? true) {\n <span>{{ data.appliedText ?? 'Applied' }}</span>\n <mat-icon aria-hidden=\"true\">check_circle_outline</mat-icon>\n } @else {\n <span>{{ data.notAppliedText ?? 'Not applied' }}</span>\n }\n </span>\n </div>\n <h3 class=\"discount-card__title\">{{ data.title ?? field().label ?? 'Discount to Salaried Customers' }}</h3>\n </article>\n}\n", styles: [":host{display:block;min-width:0}.discount-card{box-sizing:border-box;width:var(--discount-card-width, 100%);max-width:100%;max-height:none;padding:16px;border:var(--discount-card-border-width, 1px) solid var(--discount-card-border-color, #8b8b8b);border-radius:var(--discount-card-border-radius, 12px);background:var(--discount-card-background, #fff);color:var(--discount-card-color, #080808);font-family:var(--discount-card-font-family, inherit)}:host .discount-card{border-color:var(--discount-card-border-color, #009f7a)!important}.discount-card__header{display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:12px}.discount-card__offer{display:flex;align-items:baseline;flex-wrap:wrap;gap:6px;min-width:0}.discount-card__icon{flex:0 0 26px;align-self:center;width:26px;height:28px;margin-right:4px;font-size:26px;color:#303030}.discount-card__value{font-size:30px;font-weight:700;line-height:1.2;overflow-wrap:anywhere}.discount-card__suffix{font-size:16px;overflow-wrap:anywhere}.discount-card__status{display:inline-flex;align-items:center;justify-content:center;gap:8px;box-sizing:border-box;max-width:100%;min-height:36px;padding:6px 24px;border-radius:24px;background:#f0f0f0;color:#555;font-size:18px;line-height:24px;overflow-wrap:anywhere}.discount-card--applied .discount-card__status{background:#ddf1e8;color:#008665}.discount-card__status mat-icon{flex:0 0 18px;width:18px;height:18px;font-size:18px}.discount-card__title{margin:20px 0 0;font-size:20px;font-weight:600;line-height:1.3;overflow-wrap:anywhere}\n"] }]
10722
+ args: [{ selector: 'lib-discount-card', standalone: true, imports: [NgStyle, MatIconModule], template: "@if (field().isVisible !== false) {\n <article class=\"discount-card\" [class.discount-card--applied]=\"data.applied ?? true\"\n [class.discount-card--compact]=\"data.density === 'compact'\"\n [ngStyle]=\"{\n '--discount-card-border-color': field().controlStyle?.borderColor,\n '--discount-card-border-width': field().controlStyle?.borderWidth,\n '--discount-card-border-radius': field().controlStyle?.borderRadius,\n '--discount-card-background': field().controlStyle?.background,\n '--discount-card-color': field().controlStyle?.color,\n '--discount-card-font-family': field().controlStyle?.fontFamily,\n '--discount-card-width': field().controlStyle?.width\n }\">\n <div class=\"discount-card__header\">\n <div class=\"discount-card__offer\">\n <mat-icon class=\"discount-card__icon\" aria-hidden=\"true\">content_copy</mat-icon>\n <span class=\"discount-card__value\">{{ data.discount ?? 5 }}%</span>\n <span class=\"discount-card__suffix\">{{ data.discountSuffix ?? 'off' }}</span>\n </div>\n <span class=\"discount-card__status\" role=\"status\">\n @if (data.applied ?? true) {\n <span>{{ data.appliedText ?? 'Applied' }}</span>\n <mat-icon aria-hidden=\"true\">check_circle_outline</mat-icon>\n } @else {\n <span>{{ data.notAppliedText ?? 'Not applied' }}</span>\n }\n </span>\n </div>\n <h3 class=\"discount-card__title\">{{ data.title ?? field().label ?? 'Discount to Salaried Customers' }}</h3>\n </article>\n}\n", styles: [":host{display:block;min-width:0}.discount-card{box-sizing:border-box;width:var(--discount-card-width, 100%);max-width:100%;max-height:none;padding:16px;border:var(--discount-card-border-width, 1px) solid var(--discount-card-border-color, #8b8b8b);border-radius:var(--discount-card-border-radius, 12px);background:var(--discount-card-background, #fff);color:var(--discount-card-color, #080808);font-family:var(--discount-card-font-family, inherit)}:host .discount-card{border-color:var(--discount-card-border-color, #009f7a)!important}.discount-card__header{display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:12px}.discount-card__offer{display:flex;align-items:baseline;flex-wrap:wrap;gap:6px;min-width:0}.discount-card__icon{flex:0 0 26px;align-self:center;width:26px;height:28px;margin-right:4px;font-size:26px;color:#303030}.discount-card__value{font-size:30px;font-weight:700;line-height:1.2;overflow-wrap:anywhere}.discount-card__suffix{font-size:16px;overflow-wrap:anywhere}.discount-card__status{display:inline-flex;align-items:center;justify-content:center;gap:8px;box-sizing:border-box;max-width:100%;min-height:36px;padding:6px 24px;border-radius:24px;background:#f0f0f0;color:#555;font-size:18px;line-height:24px;overflow-wrap:anywhere}.discount-card--applied .discount-card__status{background:#ddf1e8;color:#008665}.discount-card__status mat-icon{flex:0 0 18px;width:18px;height:18px;font-size:18px}.discount-card__title{margin:20px 0 0;font-size:20px;font-weight:600;line-height:1.3;overflow-wrap:anywhere}.discount-card--compact{padding:8px;border-radius:6px;transition:box-shadow .16s ease,transform .16s ease}.discount-card--compact:hover{box-shadow:0 2px 8px #0000001a;transform:translateY(-1px)}@media (prefers-reduced-motion: reduce){.discount-card--compact{transition:none}.discount-card--compact:hover{transform:none}}.discount-card--compact .discount-card__header{justify-content:flex-start;flex-wrap:nowrap;gap:4px}.discount-card--compact .discount-card__offer{flex:1 1 0;flex-wrap:nowrap;gap:4px;overflow:hidden;white-space:nowrap}.discount-card--compact .discount-card__icon{flex-basis:14px;width:14px;height:16px;margin-right:0;font-size:14px}.discount-card--compact .discount-card__value{flex:0 0 auto;font-size:14px;line-height:18px;white-space:nowrap}.discount-card--compact .discount-card__suffix{min-width:0;font-size:9px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.discount-card--compact .discount-card__status{flex:0 0 auto;min-height:0;margin-left:auto;padding:3px 8px;gap:3px;border-radius:12px;font-size:9px;line-height:12px;white-space:nowrap}.discount-card--compact .discount-card__status mat-icon{flex-basis:12px;width:12px;height:12px;font-size:12px}.discount-card--compact .discount-card__title{margin-top:6px;font-size:10px;font-weight:700;line-height:14px}\n"] }]
10660
10723
  }] });
10661
10724
 
10662
10725
  // The shared tooltip only reacts to the mouse; this adds keyboard access.
@@ -10743,6 +10806,75 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.13", ngImpo
10743
10806
  args: [{ selector: 'lib-premium-breakup', standalone: true, imports: [NgFor, NgStyle, MatIconModule], template: "@if (field().isVisible !== false) {\n <section class=\"premium-breakup\" [ngStyle]=\"{\n '--premium-breakup-width': field().controlStyle?.width,\n '--premium-breakup-background': field().controlStyle?.background,\n '--premium-breakup-border-color': field().controlStyle?.borderColor,\n '--premium-breakup-font-family': field().controlStyle?.fontFamily\n }\">\n <h2 class=\"premium-breakup__title\">\n <mat-icon aria-hidden=\"true\">description</mat-icon>\n <span>View Premium Breakup</span>\n </h2>\n\n <div class=\"premium-breakup__body\">\n <div class=\"premium-breakup__section premium-breakup__row\">\n <h3 class=\"premium-breakup__heading\">Base Premium</h3>\n <span class=\"premium-breakup__value\">{{ formatAmount(data.basePremium) }}</span>\n </div>\n\n <div class=\"premium-breakup__section\">\n <h3 class=\"premium-breakup__heading\">Additional Benefits Premium</h3>\n <ul class=\"premium-breakup__list\">\n <li class=\"premium-breakup__row\" *ngFor=\"let benefit of data.additionalBenefits ?? []\">\n <span class=\"premium-breakup__item-label\">{{ benefit.label }}</span>\n <span class=\"premium-breakup__value\">{{ formatAmount(benefit.value) }}</span>\n </li>\n </ul>\n </div>\n\n <div class=\"premium-breakup__section\">\n <div class=\"premium-breakup__row\">\n <h3 class=\"premium-breakup__heading premium-breakup__heading--discount\">Discounts</h3>\n <span class=\"premium-breakup__value premium-breakup__value--discount\">{{ formatAmount(discountTotal, true) }}</span>\n </div>\n <p class=\"premium-breakup__discount-note\">{{ data.discountNote ?? \"Applicable on 1st Year's Premium\" }}</p>\n </div>\n\n <div class=\"premium-breakup__section premium-breakup__row\">\n <h3 class=\"premium-breakup__heading\">GST</h3>\n <span class=\"premium-breakup__value\">{{ data.gst === 0 ? '0' : formatAmount(data.gst) }}</span>\n </div>\n </div>\n\n <div class=\"premium-breakup__total premium-breakup__row\">\n <h3 class=\"premium-breakup__heading\">Premium in 1st Year</h3>\n <strong class=\"premium-breakup__value\">{{ formatAmount(data.totalPremium) }}</strong>\n </div>\n </section>\n}\n", styles: [":host{display:block;min-width:0}.premium-breakup{box-sizing:border-box;width:var(--premium-breakup-width, 100%);max-width:100%;overflow:hidden;border:1px solid var(--premium-breakup-border-color, #e3e3e3);border-radius:8px;background:var(--premium-breakup-background, #fff);color:#282828;font-family:var(--premium-breakup-font-family, inherit);font-size:16px;line-height:1.5}.premium-breakup__title{display:flex;align-items:center;gap:12px;margin:0;padding:20px 22px;border-bottom:1px solid #e3e3e3;font-size:20px;font-weight:700;line-height:1.5;overflow-wrap:anywhere}.premium-breakup__title mat-icon{flex:0 0 24px;width:24px;height:24px;font-size:24px}.premium-breakup__body{padding:0 22px 20px}.premium-breakup__section{padding:22px 0;border-bottom:1px dashed #dedede}.premium-breakup__heading{min-width:0;margin:0;font-size:16px;font-weight:700;line-height:1.5;overflow-wrap:anywhere}.premium-breakup__row{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,auto);align-items:baseline;gap:12px}.premium-breakup__list{display:grid;gap:6px;margin:6px 0 0;padding:0 0 0 6px;list-style:none}.premium-breakup__item-label{display:flex;align-items:baseline;gap:8px;min-width:0;overflow-wrap:anywhere}.premium-breakup__item-label:before{content:\"-\";color:#777}.premium-breakup__value{text-align:right;overflow-wrap:anywhere;font-variant-numeric:tabular-nums}.premium-breakup__value--discount{color:#009f7a}.premium-breakup__heading--discount{text-decoration:underline}.premium-breakup__discount-note{margin:6px 0 0;color:#999;text-align:right;overflow-wrap:anywhere}.premium-breakup__total{padding:22px;background:#fffbe5}\n"] }]
10744
10807
  }] });
10745
10808
 
10809
+ class DiscountsAppliedComponent {
10810
+ field = input.required();
10811
+ discountPeriodChange = new EventEmitter();
10812
+ periodControl = new FormControl(null);
10813
+ chosenPeriod = signal(null);
10814
+ selectedPeriod = computed(() => this.chosenPeriod()
10815
+ ?? this.field()?.configData?.selectedPeriod
10816
+ ?? this.discountPeriods()[0]?.value
10817
+ ?? '');
10818
+ discountPeriods = computed(() => {
10819
+ const options = this.field()?.configData?.discountPeriods;
10820
+ return Array.isArray(options) ? options : [];
10821
+ });
10822
+ discounts = computed(() => {
10823
+ const discounts = this.field()?.configData?.discounts;
10824
+ return Array.isArray(discounts) ? discounts : [];
10825
+ });
10826
+ radioField = computed(() => ({
10827
+ fieldName: 'discount-period-options',
10828
+ isVisible: true,
10829
+ isShowLabel: false,
10830
+ options: this.discountPeriods().map(option => ({ ...option, optionFieldNameAttribute: option.value })),
10831
+ configData: { isInlineLabel: false, compactOptions: true },
10832
+ controlStyle: {
10833
+ borderColor: 'transparent',
10834
+ borderWidth: '0',
10835
+ borderRadius: '0',
10836
+ background: 'transparent',
10837
+ focusBorderColor: 'transparent',
10838
+ focusBorderWidth: '0',
10839
+ focusBackground: 'transparent',
10840
+ fontSize: '11px',
10841
+ fontWeight: '400',
10842
+ color: '#444444'
10843
+ }
10844
+ }));
10845
+ ngOnInit() {
10846
+ this.periodControl.setValue(this.selectedPeriod(), { emitEvent: false });
10847
+ }
10848
+ onDiscountPeriodChange(value) {
10849
+ this.chosenPeriod.set(value);
10850
+ this.discountPeriodChange.emit(value);
10851
+ }
10852
+ getDiscountCardField(discount) {
10853
+ const discountSuffix = discount.discountSuffixByPeriod?.[this.selectedPeriod()] ?? discount.discountSuffix;
10854
+ return {
10855
+ isVisible: true,
10856
+ label: discount.title,
10857
+ configData: { ...discount, discountSuffix, density: 'compact' },
10858
+ controlStyle: {
10859
+ borderColor: '#16a98b',
10860
+ borderWidth: '1px',
10861
+ borderRadius: '6px',
10862
+ background: '#ffffff',
10863
+ color: '#161616',
10864
+ width: '100%'
10865
+ }
10866
+ };
10867
+ }
10868
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.13", ngImport: i0, type: DiscountsAppliedComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
10869
+ static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.1.0", version: "18.2.13", type: DiscountsAppliedComponent, isStandalone: true, selector: "lib-discounts-applied", inputs: { field: { classPropertyName: "field", publicName: "field", isSignal: true, isRequired: true, transformFunction: null } }, outputs: { discountPeriodChange: "discountPeriodChange" }, ngImport: i0, template: "<section class=\"discounts-applied\" *ngIf=\"field() && field()?.isVisible !== false\">\n <header class=\"discounts-applied__header\">\n <mat-icon aria-hidden=\"true\">local_offer</mat-icon>\n <h2>{{ field()?.label || 'Discounts Applied' }}</h2>\n </header>\n\n <div class=\"discounts-applied__choice\">\n <p>{{ field()?.configData?.selectionLabel || 'Select customer\u2019s choice of availing Discounts:' }}</p>\n <lib-radio\n [field]=\"radioField()\"\n [reactiveFormControlobject]=\"periodControl\"\n (change)=\"onDiscountPeriodChange($event)\" />\n </div>\n\n <div class=\"discounts-applied__cards\">\n <lib-discount-card\n *ngFor=\"let discount of discounts()\"\n [field]=\"getDiscountCardField(discount)\" />\n </div>\n</section>", styles: [":host{display:block;width:100%;color:#202020;font-family:Mulish,sans-serif}.discounts-applied{box-sizing:border-box;display:grid;gap:10px;padding:14px;border:1px solid #dedede;border-radius:8px}.discounts-applied__header{display:flex;align-items:center;gap:8px}.discounts-applied__header mat-icon{width:16px;height:16px;font-size:16px}.discounts-applied__header h2{margin:0;font-size:14px;font-weight:700;line-height:20px}.discounts-applied__choice{display:grid;gap:4px;box-sizing:border-box;padding:8px 12px;border:1px solid #dedede;border-radius:6px;background:#f3f3f3}.discounts-applied__choice p{margin:0;font-size:11px;font-weight:600;line-height:16px}:host ::ng-deep .discount-period-options.radio-btn-group{height:auto;column-gap:24px;row-gap:4px}:host ::ng-deep .discount-period-options .radio-card-gender,:host ::ng-deep .discount-period-options .radio-card-gender.two-options{width:auto!important;min-width:0!important;height:auto;min-height:0;margin:0;padding:0!important;border:0!important;border-radius:0;background:transparent!important;box-shadow:none}:host ::ng-deep .discount-period-options .mat-mdc-radio-button{width:auto!important;min-width:0!important;text-align:left!important}:host ::ng-deep .discount-period-options .mdc-form-field{display:flex;align-items:center}:host ::ng-deep .discount-period-options .mdc-form-field .mdc-radio{display:inline-flex!important;flex:0 0 32px;width:32px;height:32px;padding:4px}:host ::ng-deep .discount-period-options .mdc-radio__outer-circle{border-color:#b7b7b7!important}:host ::ng-deep .discount-period-options .mat-mdc-radio-button.mat-mdc-radio-checked .mdc-radio__outer-circle{border-color:#f0a900!important}:host ::ng-deep .discount-period-options .mat-mdc-radio-button.mat-mdc-radio-checked .mdc-radio__inner-circle{border-color:#f0a900!important;background-color:#f0a900!important}:host ::ng-deep .discount-period-options .mdc-label{line-height:18px}.discounts-applied__cards{display:grid;grid-template-columns:repeat(3,minmax(0,218px));gap:12px}@media (max-width: 700px){.discounts-applied__choice{padding:8px}.discounts-applied{padding:10px}:host ::ng-deep .discount-period-options.radio-btn-group{column-gap:16px}.discounts-applied__cards{grid-template-columns:repeat(auto-fit,minmax(min(100%,190px),1fr))}}@media (max-width: 420px){.discounts-applied__cards{grid-template-columns:minmax(0,1fr)}}\n"], dependencies: [{ kind: "ngmodule", type: CommonModule }, { kind: "directive", type: i1.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { kind: "directive", type: i1.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "ngmodule", type: MatIconModule }, { kind: "component", type: i1$3.MatIcon, selector: "mat-icon", inputs: ["color", "inline", "svgIcon", "fontSet", "fontIcon"], exportAs: ["matIcon"] }, { kind: "component", type: RadioComponent, selector: "lib-radio", inputs: ["reactiveFormControlobject", "field"], outputs: ["change"] }, { kind: "component", type: DiscountCardComponent, selector: "lib-discount-card", inputs: ["field"] }] });
10870
+ }
10871
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.13", ngImport: i0, type: DiscountsAppliedComponent, decorators: [{
10872
+ type: Component,
10873
+ args: [{ selector: 'lib-discounts-applied', standalone: true, imports: [CommonModule, MatIconModule, RadioComponent, DiscountCardComponent], template: "<section class=\"discounts-applied\" *ngIf=\"field() && field()?.isVisible !== false\">\n <header class=\"discounts-applied__header\">\n <mat-icon aria-hidden=\"true\">local_offer</mat-icon>\n <h2>{{ field()?.label || 'Discounts Applied' }}</h2>\n </header>\n\n <div class=\"discounts-applied__choice\">\n <p>{{ field()?.configData?.selectionLabel || 'Select customer\u2019s choice of availing Discounts:' }}</p>\n <lib-radio\n [field]=\"radioField()\"\n [reactiveFormControlobject]=\"periodControl\"\n (change)=\"onDiscountPeriodChange($event)\" />\n </div>\n\n <div class=\"discounts-applied__cards\">\n <lib-discount-card\n *ngFor=\"let discount of discounts()\"\n [field]=\"getDiscountCardField(discount)\" />\n </div>\n</section>", styles: [":host{display:block;width:100%;color:#202020;font-family:Mulish,sans-serif}.discounts-applied{box-sizing:border-box;display:grid;gap:10px;padding:14px;border:1px solid #dedede;border-radius:8px}.discounts-applied__header{display:flex;align-items:center;gap:8px}.discounts-applied__header mat-icon{width:16px;height:16px;font-size:16px}.discounts-applied__header h2{margin:0;font-size:14px;font-weight:700;line-height:20px}.discounts-applied__choice{display:grid;gap:4px;box-sizing:border-box;padding:8px 12px;border:1px solid #dedede;border-radius:6px;background:#f3f3f3}.discounts-applied__choice p{margin:0;font-size:11px;font-weight:600;line-height:16px}:host ::ng-deep .discount-period-options.radio-btn-group{height:auto;column-gap:24px;row-gap:4px}:host ::ng-deep .discount-period-options .radio-card-gender,:host ::ng-deep .discount-period-options .radio-card-gender.two-options{width:auto!important;min-width:0!important;height:auto;min-height:0;margin:0;padding:0!important;border:0!important;border-radius:0;background:transparent!important;box-shadow:none}:host ::ng-deep .discount-period-options .mat-mdc-radio-button{width:auto!important;min-width:0!important;text-align:left!important}:host ::ng-deep .discount-period-options .mdc-form-field{display:flex;align-items:center}:host ::ng-deep .discount-period-options .mdc-form-field .mdc-radio{display:inline-flex!important;flex:0 0 32px;width:32px;height:32px;padding:4px}:host ::ng-deep .discount-period-options .mdc-radio__outer-circle{border-color:#b7b7b7!important}:host ::ng-deep .discount-period-options .mat-mdc-radio-button.mat-mdc-radio-checked .mdc-radio__outer-circle{border-color:#f0a900!important}:host ::ng-deep .discount-period-options .mat-mdc-radio-button.mat-mdc-radio-checked .mdc-radio__inner-circle{border-color:#f0a900!important;background-color:#f0a900!important}:host ::ng-deep .discount-period-options .mdc-label{line-height:18px}.discounts-applied__cards{display:grid;grid-template-columns:repeat(3,minmax(0,218px));gap:12px}@media (max-width: 700px){.discounts-applied__choice{padding:8px}.discounts-applied{padding:10px}:host ::ng-deep .discount-period-options.radio-btn-group{column-gap:16px}.discounts-applied__cards{grid-template-columns:repeat(auto-fit,minmax(min(100%,190px),1fr))}}@media (max-width: 420px){.discounts-applied__cards{grid-template-columns:minmax(0,1fr)}}\n"] }]
10874
+ }], propDecorators: { discountPeriodChange: [{
10875
+ type: Output
10876
+ }] } });
10877
+
10746
10878
  class MasterControlComponent {
10747
10879
  field = input.required();
10748
10880
  discounts = input([]);
@@ -10753,6 +10885,7 @@ class MasterControlComponent {
10753
10885
  additionalBenefitChange = new EventEmitter();
10754
10886
  benefitAmountChange = new EventEmitter();
10755
10887
  benefitAmountBlur = new EventEmitter();
10888
+ discountPeriodChange = new EventEmitter();
10756
10889
  constructor() {
10757
10890
  effect(() => {
10758
10891
  initializeFieldNameAttribute(this.field());
@@ -10765,7 +10898,7 @@ class MasterControlComponent {
10765
10898
  this.lifeCoverAddonSelectionChange.emit(event);
10766
10899
  }
10767
10900
  static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.13", ngImport: i0, type: MasterControlComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
10768
- static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "18.2.13", type: MasterControlComponent, isStandalone: true, selector: "lib-master-control", inputs: { field: { classPropertyName: "field", publicName: "field", isSignal: true, isRequired: true, transformFunction: null }, discounts: { classPropertyName: "discounts", publicName: "discounts", isSignal: true, isRequired: false, transformFunction: null }, formGroup: { classPropertyName: "formGroup", publicName: "formGroup", isSignal: false, isRequired: false, transformFunction: null } }, outputs: { lifeCoverSliderValueChange: "lifeCoverSliderValueChange", lifeCoverAddonSelectionChange: "lifeCoverAddonSelectionChange", benefitSelectionChange: "benefitSelectionChange", additionalBenefitChange: "additionalBenefitChange", benefitAmountChange: "benefitAmountChange", benefitAmountBlur: "benefitAmountBlur" }, ngImport: i0, template: "@switch (field()?.controlType) {\n @case ('top-header') {\n <lib-top-header [field]=\"field()\" />\n }\n @case ('footer') {\n <lib-footer [field]=\"field()\" />\n }\n @case('footer-buttons')\n {\n <lib-footer-with-buttons [field]=\"field()\"></lib-footer-with-buttons>\n }\n @case('text') {\n <lib-textbox [field]=\"field()\"></lib-textbox>\n }\n @case('select') {\n <lib-select [field]=\"field()\"/>\n }\n\n @case('radio') {\n <lib-radio [field]=\"field()\" />\n }\n\n @case('toggle') {\n <lib-toggle [field]=\"field()\" />\n }\n\n @case('file') {\n <lib-upload [field]=\"field()\" />\n }\n\n @case('date') {\n <lib-dob [field]=\"field()\" />\n }\n\n @case('mobileNumber') {\n <lib-mob-number [field]=\"field()\" />\n }\n\n @case('info') {\n <lib-info [field]=\"field()\" />\n }\n\n @case('checkbox') {\n <lib-checkbox [field]=\"field()\" />\n }\n\n @case('textarea') {\n <lib-textarea [field]=\"field()\" />\n }\n\n @case ('button') {\n <lib-button [field]=\"field()\" />\n }\n\n @case ('tab') {\n <lib-tab [field]=\"field()\" />\n }\n\n @case ('autocomplete') {\n <lib-autocomplete [field]=\"field()\" />\n }\n\n @case ('multipleSelect') {\n <lib-multiple-select [field]=\"field()\" />\n }\n\n @case ('textboxWithSelect') {\n <lib-select-textbox [field]=\"field()\" />\n }\n\n @case ('otpTextbox') {\n <lib-otp-textbox [field]=\"field()\" />\n }\n\n @case ('amountTextbox') {\n <lib-amount-textbox [field]=\"field()\" />\n }\n\n @case ('suffixTextbox') {\n <lib-suffix-textbox [field]=\"field()\" />\n }\n\n @case ('otpMobNumber') {\n <lib-otp-mob-number [field]=\"field()\" />\n }\n\n @case ('tagMobNumber') {\n <lib-tag-mob-number [field]=\"field()\" />\n }\n\n @case ('dateWithAge') {\n <lib-age-date [field]=\"field()\" />\n }\n\n @case ('additionButton') {\n <lib-addition-button [field]=\"field()\" />\n }\n\n @case ('infoTextbox') {\n <lib-info-textbox [field]=\"field()\" />\n }\n\n @case ('textboxWithImage') {\n <lib-textbox-with-image [field]=\"field()\" />\n }\n\n @case ('emailWithDomain') {\n <lib-email-with-domain [field]=\"field()\" />\n }\n\n @case ('imageUpload') {\n <lib-image-upload [field]=\"field()\" />\n }\n\n @case ('downloadDocument') {\n <lib-download-document [field]=\"field()\" />\n }\n\n @case ('addDocument') {\n <lib-add-document [field]=\"field()\" />\n }\n\n @case ('hyperlink') {\n <lib-hyperlink [field]=\"field()\" />\n }\n\n @case ('textboxWithUnderscore') {\n <lib-textbox-with-underscore [field]=\"field()\" />\n }\n\n @case ('underscoreMobNumber') {\n <lib-underscore-mob-number [field]=\"field()\" />\n }\n\n @case ('downloadIconButton') {\n <lib-icon-button [field]=\"field()\" />\n }\n\n @case ('image') {\n <lib-image [field]=\"field()\" />\n }\n @case ('stepper') {\n <lib-stepper [field]=\"field()\" />\n }\n @case ('card') {\n <lib-card [field]=\"field()\" />\n }\n @case ('hrLine') {\n <lib-hr-line [field]=\"field()\" />\n }\n @case ('searchMultiSelect') {\n <lib-search-multi-select [field]=\"field()\" />\n }\n @case ('subscriptTextbox') {\n <lib-subscript-textbox [field]=\"field()\" />\n }\n @case ('label') {\n <lib-label [field]=\"field()\" />\n }\n @case ('subHeading') {\n <lib-sub-header [field]=\"field()\" />\n }\n @case ('heading') {\n <lib-header [field]=\"field()\" />\n }\n @case ('table') {\n <lib-table [field]=\"field()\" />\n }\n @case ('textboxWithText') {\n <lib-textbox-with-text [field]=\"field()\" />\n }\n @case ('loader') {\n <lib-loader [field]=\"field()\" />\n }\n @case ('discount') {\n <lib-discount [field]=\"field()\" />\n }\n @case ('discountCard') {\n <lib-discount-card [field]=\"field()\" />\n }\n @case ('additionalBenefits') {\n <lib-additional-benefits [field]=\"field()\" (benefitChange)=\"additionalBenefitChange.emit($event)\" />\n }\n @case ('optionalBenefitCard') {\n <lib-benefit-card [field]=\"field()\" />\n }\n @case ('benefitDetailCard') {\n <lib-benefit-detail-card\n [field]=\"field()\"\n (selectionChange)=\"benefitSelectionChange.emit($event)\"\n (amountChange)=\"benefitAmountChange.emit($event)\"\n (amountBlur)=\"benefitAmountBlur.emit($event)\"\n />\n }\n @case ('errorSnackbar') {\n <lib-error-snackbar [field]=\"field()\" />\n }\n @case ('warningSnackbar') {\n <lib-warning-snackbar [field]=\"field()\" />\n }\n @case ('successSnackbar') {\n <lib-success-snackbar [field]=\"field()\" />\n }\n @case ('neutralSnackbar') {\n <lib-neutral-snackbar [field]=\"field()\" />\n }\n @case ('boldLabel') {\n <lib-grey-label [field]=\"field()\" />\n }\n @case ('iframe') {\n <lib-iframe [field]=\"field()\" />\n }\n @case ('toggleButton') {\n <lib-toggle-button [field]=\"field()\" />\n }\n @case ('payGetCard') {\n <lib-pay-get-card [field]=\"field()\" />\n }\n @case ('inBuiltBenefit') {\n <lib-in-built-benefit [field]=\"field()\" />\n }\n @case ('otherBenefit') {\n <lib-other-benefits [field]=\"field()\" />\n }\n @case ('planBenefitsCard') {\n <lib-plan-benefits-card [field]=\"field()\" [discounts]=\"discounts()\" />\n }\n @case ('annuityRateLogo') {\n <lib-annuity-rate-logo [field]=\"field()\" />\n }\n @case ('discountAnnuity') {\n <lib-discount-v2 [field]=\"field()\" />\n }\n @case ('labelValue'){\n <lib-label-value-card [field]=\"field()\" />\n }\n @case ('medicalQuestions'){\n <lib-medial-questions [field]=\"field()\" />\n }\n @case ('nudge'){\n <lib-page-nudge [field]=\"field()\"/>\n }\n @case ('progressBar'){\n <lib-progress-bar [field]=\"field()\"/>\n }\n @case ('accordian'){\n <lib-accordian [field]=\"field()\"/>\n }\n @case ('miscInfo'){\n <lib-miscellaneous-info-bar [field]=\"field()\"/>\n }\n @case ('plainText'){\n <lib-plain-text [field]=\"field()\"/>\n }\n @case ('menu'){\n <lib-menu [field]=\"field()\" />\n }\n @case ('stepperWithArrow') {\n <lib-stepper-with-arrow [field]=\"field()\" />\n }\n @case ('labelWithImage') {\n <lib-label-with-image [field]=\"field()\" />\n }\n @case ('motorGlowPlanDetails') {\n <lib-motor-glow-plan-details [field]=\"field()\" />\n }\n @case ('premiumToAnnuityCalculator') {\n <lib-annuity-premium-calculator [field]=\"field()\" />\n } @case ('footerProgressBar') {\n <lib-footer-design [field]=\"field()\" />\n }\n @case ('annuityGrowthRateOption') {\n <lib-annuity-calculator-radio [field]=\"field()\" />\n }\n @case ('textboxWithRadio') {\n <lib-textbox-with-radio [field]=\"field()\" />\n }\n @case ('lifeCoverDetails') {\n <lib-life-cover-details\n [field]=\"field()\"\n [coverDetails]=\"field()?.coverDetails\"\n [termDetails]=\"field()?.termDetails\"\n [premiumDetails]=\"field()?.premiumDetails\"\n (sliderValueChange)=\"onLifeCoverSliderValueChange($event)\" />\n }\n @case ('lifeCoverDetailsView') {\n <lib-life-cover-details-view\n [field]=\"field()\"\n [summaryItems]=\"field()?.summaryItems\" />\n }\n @case ('lifeCoverDetailsPostPremiumCalculation') {\n <lib-life-cover-details-post-premium-calculation\n [field]=\"field()\"\n [premiumSummary]=\"field()?.premiumSummary\" />\n }\n @case ('lifeCoverAddonDetails') {\n <lib-life-cover-addon-details\n [field]=\"field()\"\n [addOnConfigData]=\"field()?.addOnConfigData\"\n (addonSelectionChange)=\"onLifeCoverAddonSelectionChange($event)\" />\n }\n @case ('vehicleCoveragePlans') {\n <lib-vehicle-coverage-plans\n [field]=\"field()\"\n [coveragePlansData]=\"field()?.coveragePlansData\" />\n }\n @case ('premiumBreakdown') {\n <lib-premium-breakdown\n [field]=\"field()\"\n [premiumBreakdownData]=\"field()?.premiumBreakdownData\" />\n }\n @case ('premiumBreakup') {\n <lib-premium-breakup [field]=\"field()\" />\n }\n}\n", styles: [""], dependencies: [{ kind: "ngmodule", type: FormsModule }, { kind: "component", type: TextboxComponent, selector: "lib-textbox", inputs: ["field", "reactiveFormControlobject"], outputs: ["blur"] }, { kind: "component", type: SelectComponent, selector: "lib-select", inputs: ["field", "reactiveFormControlobject"], outputs: ["selectionChange", "infoClick"] }, { kind: "component", type: RadioComponent, selector: "lib-radio", inputs: ["reactiveFormControlobject", "field"], outputs: ["change"] }, { kind: "component", type: ToggleComponent, selector: "lib-toggle", inputs: ["field", "reactiveFormControlobject"], outputs: ["change"] }, { kind: "component", type: UploadComponent, selector: "lib-upload", inputs: ["documentUploaderField", "openQuoteImageObj", "field", "reactiveFormControlobject"], outputs: ["filesChanged", "fileRemoved", "filePreview"] }, { kind: "component", type: DobComponent, selector: "lib-dob", inputs: ["field", "reactiveFormControlobject"], outputs: ["blur", "valueChange", "dateSelected", "invalidDate"] }, { kind: "component", type: MobNumberComponent, selector: "lib-mob-number", inputs: ["field", "reactiveFormControlobject"], outputs: ["blur"] }, { kind: "component", type: InfoComponent, selector: "lib-info", inputs: ["field"] }, { kind: "component", type: CheckboxComponent, selector: "lib-checkbox", inputs: ["field", "reactiveFormControlobject"], outputs: ["change"] }, { kind: "component", type: TextareaComponent, selector: "lib-textarea", inputs: ["field", "reactiveFormControlobject"], outputs: ["blur"] }, { kind: "component", type: ButtonComponent, selector: "lib-button", inputs: ["field"] }, { kind: "component", type: TabComponent, selector: "lib-tab", inputs: ["field"], outputs: ["selectedIndexChange"] }, { kind: "component", type: AutocompleteComponent, selector: "lib-autocomplete", inputs: ["field", "reactiveFormControlobject"], outputs: ["blur", "selectionChanged", "valueChanged", "optionSelected"] }, { kind: "component", type: MultipleSelectComponent, selector: "lib-multiple-select", inputs: ["field", "reactiveFormControlobject"], outputs: ["selectionChange"] }, { kind: "component", type: SelectTextboxComponent, selector: "lib-select-textbox", inputs: ["field", "reactiveFormControlobject"], outputs: ["selectionChange"] }, { kind: "component", type: OtpTextboxComponent, selector: "lib-otp-textbox", inputs: ["field", "reactiveFormControlobject"] }, { kind: "component", type: AmountTextboxComponent, selector: "lib-amount-textbox", inputs: ["field", "reactiveFormControlobject"], outputs: ["blur"] }, { kind: "component", type: SuffixTextboxComponent, selector: "lib-suffix-textbox", inputs: ["field", "reactiveFormControlobject"], outputs: ["blur"] }, { kind: "component", type: OtpMobNumberComponent, selector: "lib-otp-mob-number", inputs: ["field", "reactiveFormControlobject"] }, { kind: "component", type: TagMobNumberComponent, selector: "lib-tag-mob-number", inputs: ["field", "reactiveFormControlobject"] }, { kind: "component", type: AgeDateComponent, selector: "lib-age-date", inputs: ["field", "reactiveFormControlobject"], outputs: ["blur", "valueChange", "dateSelected", "invalidDate"] }, { kind: "component", type: AdditionButtonComponent, selector: "lib-addition-button", inputs: ["field"] }, { kind: "component", type: InfoTextboxComponent, selector: "lib-info-textbox", inputs: ["field", "reactiveFormControlobject", "fields"], outputs: ["infoClick"] }, { kind: "component", type: TextboxWithImageComponent, selector: "lib-textbox-with-image", inputs: ["field", "reactiveFormControlobject"], outputs: ["blur"] }, { kind: "component", type: EmailWithDomainComponent, selector: "lib-email-with-domain", inputs: ["field", "reactiveFormControlobject"] }, { kind: "component", type: ImageUploadComponent, selector: "lib-image-upload", inputs: ["field"] }, { kind: "component", type: DownloadDocumentComponent, selector: "lib-download-document", inputs: ["field"] }, { kind: "component", type: AddDocumentComponent, selector: "lib-add-document", inputs: ["field"] }, { kind: "component", type: HyperlinkComponent, selector: "lib-hyperlink", inputs: ["field"] }, { kind: "component", type: TextboxWithUnderscoreComponent, selector: "lib-textbox-with-underscore", inputs: ["field", "reactiveFormControlobject"] }, { kind: "component", type: UnderscoreMobNumberComponent, selector: "lib-underscore-mob-number", inputs: ["field", "reactiveFormControlobject"] }, { kind: "component", type: IconButtonComponent, selector: "lib-icon-button", inputs: ["field"] }, { kind: "ngmodule", type: ReactiveFormsModule }, { kind: "component", type: ImageComponent, selector: "lib-image", inputs: ["field"] }, { kind: "component", type: StepperComponent, selector: "lib-stepper", inputs: ["field"] }, { kind: "component", type: CardComponent, selector: "lib-card", inputs: ["field"], outputs: ["cardDetailsClicked"] }, { kind: "component", type: HrLineComponent, selector: "lib-hr-line", inputs: ["field"] }, { kind: "component", type: SearchMultiSelectComponent, selector: "lib-search-multi-select", inputs: ["field", "reactiveFormControlobject"] }, { kind: "component", type: SubscriptTextboxComponent, selector: "lib-subscript-textbox", inputs: ["field", "reactiveFormControlobject"] }, { kind: "component", type: LabelComponent, selector: "lib-label", inputs: ["field"] }, { kind: "component", type: SubHeaderComponent, selector: "lib-sub-header", inputs: ["field"] }, { kind: "component", type: HeaderComponent, selector: "lib-header", inputs: ["field"] }, { kind: "component", type: TextboxWithTextComponent, selector: "lib-textbox-with-text", inputs: ["reactiveFormControlobject", "field"], outputs: ["blur"] }, { kind: "component", type: DiscountComponent, selector: "lib-discount", inputs: ["field"] }, { kind: "component", type: BenefitCardComponent, selector: "lib-benefit-card", inputs: ["field"] }, { kind: "component", type: BenefitDetailCardComponent, selector: "lib-benefit-detail-card", inputs: ["field"], outputs: ["selectionChange", "amountChange", "amountBlur"] }, { kind: "component", type: TableComponent, selector: "lib-table", inputs: ["field", "readonly"], outputs: ["actionItemClicked", "tablePaginationClicked"] }, { kind: "component", type: LoaderComponent, selector: "lib-loader", inputs: ["field"] }, { kind: "component", type: WarningSnackbarComponent, selector: "lib-warning-snackbar", inputs: ["field"] }, { kind: "component", type: SuccessSnackbarComponent, selector: "lib-success-snackbar", inputs: ["field"] }, { kind: "component", type: NeutralSnackbarComponent, selector: "lib-neutral-snackbar", inputs: ["field"] }, { kind: "component", type: ErrorSnackbarComponent, selector: "lib-error-snackbar", inputs: ["field"] }, { kind: "component", type: GreyLabelComponent, selector: "lib-grey-label", inputs: ["field"] }, { kind: "component", type: IframeComponent, selector: "lib-iframe", inputs: ["field"] }, { kind: "component", type: ToggleButtonComponent, selector: "lib-toggle-button", inputs: ["reactiveFormControlobject", "field"], outputs: ["selectionChanged", "change"] }, { kind: "component", type: PayGetCardComponent, selector: "lib-pay-get-card", inputs: ["field", "payAmount", "premiumAmount", "ptValue", "years", "frequency", "payamountOptions"] }, { kind: "component", type: InBuiltBenefitComponent, selector: "lib-in-built-benefit", inputs: ["field", "premiumAmount", "premiumAmountShort"] }, { kind: "component", type: OtherBenefitsComponent, selector: "lib-other-benefits", inputs: ["field"] }, { kind: "component", type: PlanBenefitsCardComponent, selector: "lib-plan-benefits-card", inputs: ["field", "discounts"] }, { kind: "component", type: AnnuityRateLogoComponent, selector: "lib-annuity-rate-logo", inputs: ["field", "ratePercent", "imageSrc"] }, { kind: "component", type: DiscountV2Component, selector: "lib-discount-v2", inputs: ["field"] }, { kind: "component", type: LabelValueCardComponent, selector: "lib-label-value-card", inputs: ["field"] }, { kind: "component", type: MedialQuestionsComponent, selector: "lib-medial-questions", inputs: ["clusterId", "triggerValidation", "locationDetails", "medialQuestionResponse", "personUWOpenQuoteResponse", "defaultValues", "personType", "field"], outputs: ["questionsValueChange", "locationDetailsChange"] }, { kind: "component", type: PageNudgeComponent, selector: "lib-page-nudge", inputs: ["field"] }, { kind: "component", type: ProgressBarComponent, selector: "lib-progress-bar", inputs: ["field"] }, { kind: "component", type: AccordianComponent, selector: "lib-accordian", inputs: ["field"] }, { kind: "component", type: MiscellaneousInfoBarComponent, selector: "lib-miscellaneous-info-bar", inputs: ["field", "details"] }, { kind: "component", type: PlainTextComponent, selector: "lib-plain-text", inputs: ["field"] }, { kind: "component", type: MenuComponent, selector: "lib-menu", inputs: ["field"] }, { kind: "component", type: StepperWIthArrowComponent, selector: "lib-stepper-with-arrow", inputs: ["field", "currentStepValue", "autoProgress", "autoProgressDelay"], outputs: ["selectedStep"] }, { kind: "component", type: LabelWithImageComponent, selector: "lib-label-with-image", inputs: ["field"] }, { kind: "component", type: TopHeaderComponent, selector: "lib-top-header", inputs: ["field"] }, { kind: "component", type: FooterComponent, selector: "lib-footer", inputs: ["field"] }, { kind: "component", type: FooterWithButtonsComponent, selector: "lib-footer-with-buttons", inputs: ["field"] }, { kind: "component", type: MotorGlowPlanDetailsComponent, selector: "lib-motor-glow-plan-details", inputs: ["field"], outputs: ["editPlanClick"] }, { kind: "component", type: AnnuityPremiumCalculatorComponent, selector: "lib-annuity-premium-calculator", inputs: ["field", "triggerValidation", "premiumDetails"], outputs: ["onCalcualteButtonClick", "onGenerateSummaryClick", "onAnnuityPremiumChange", "onMinimumPremiumValueChange", "onAutioDebitValueChange", "onGuranteedAnnuityValueChange", "onDigitBossSwitchToggle", "onGrowthRateOptionSelected"] }, { kind: "component", type: FooterDesignComponent, selector: "lib-footer-design", inputs: ["field"] }, { kind: "component", type: AnnuityCalculatorRadioComponent, selector: "lib-annuity-calculator-radio", inputs: ["preSelectConfig", "reactiveFormControlobject", "field"], outputs: ["change", "growthRateChange"] }, { kind: "component", type: TextboxWithRadioComponent, selector: "lib-textbox-with-radio", inputs: ["field", "reactiveFormControlobject"], outputs: ["blur", "change", "input"] }, { kind: "component", type: LifeCoverDetailsComponent, selector: "lib-life-cover-details", inputs: ["field", "coverDetails", "termDetails", "premiumDetails"], outputs: ["textButtonClick", "sliderValueChange"] }, { kind: "component", type: LifeCoverDetailsViewComponent, selector: "lib-life-cover-details-view", inputs: ["field", "summaryItems"] }, { kind: "component", type: LifeCoverDetailsPostPremiumCalculationComponent, selector: "lib-life-cover-details-post-premium-calculation", inputs: ["field", "premiumSummary"] }, { kind: "component", type: LifeCoverAddonDetailsComponent, selector: "lib-life-cover-addon-details", inputs: ["field", "addOnConfigData"], outputs: ["addonSelectionChange"] }, { kind: "component", type: VehicleCoveragePlansComponent, selector: "lib-vehicle-coverage-plans", inputs: ["field", "coveragePlansData"] }, { kind: "component", type: PremiumBreakdownComponent, selector: "lib-premium-breakdown", inputs: ["field", "premiumBreakdownData"] }, { kind: "component", type: DiscountCardComponent, selector: "lib-discount-card", inputs: ["field"] }, { kind: "component", type: AdditionalBenefitsComponent, selector: "lib-additional-benefits", inputs: ["field"], outputs: ["benefitChange"] }, { kind: "component", type: PremiumBreakupComponent, selector: "lib-premium-breakup", inputs: ["field"] }] });
10901
+ static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "18.2.13", type: MasterControlComponent, isStandalone: true, selector: "lib-master-control", inputs: { field: { classPropertyName: "field", publicName: "field", isSignal: true, isRequired: true, transformFunction: null }, discounts: { classPropertyName: "discounts", publicName: "discounts", isSignal: true, isRequired: false, transformFunction: null }, formGroup: { classPropertyName: "formGroup", publicName: "formGroup", isSignal: false, isRequired: false, transformFunction: null } }, outputs: { lifeCoverSliderValueChange: "lifeCoverSliderValueChange", lifeCoverAddonSelectionChange: "lifeCoverAddonSelectionChange", benefitSelectionChange: "benefitSelectionChange", additionalBenefitChange: "additionalBenefitChange", benefitAmountChange: "benefitAmountChange", benefitAmountBlur: "benefitAmountBlur", discountPeriodChange: "discountPeriodChange" }, ngImport: i0, template: "@switch (field()?.controlType) {\n @case ('top-header') {\n <lib-top-header [field]=\"field()\" />\n }\n @case ('footer') {\n <lib-footer [field]=\"field()\" />\n }\n @case('footer-buttons')\n {\n <lib-footer-with-buttons [field]=\"field()\"></lib-footer-with-buttons>\n }\n @case('text') {\n <lib-textbox [field]=\"field()\"></lib-textbox>\n }\n @case('select') {\n <lib-select [field]=\"field()\"/>\n }\n\n @case('radio') {\n <lib-radio [field]=\"field()\" />\n }\n\n @case('toggle') {\n <lib-toggle [field]=\"field()\" />\n }\n\n @case('file') {\n <lib-upload [field]=\"field()\" />\n }\n\n @case('date') {\n <lib-dob [field]=\"field()\" />\n }\n\n @case('mobileNumber') {\n <lib-mob-number [field]=\"field()\" />\n }\n\n @case('info') {\n <lib-info [field]=\"field()\" />\n }\n\n @case('checkbox') {\n <lib-checkbox [field]=\"field()\" />\n }\n\n @case('textarea') {\n <lib-textarea [field]=\"field()\" />\n }\n\n @case ('button') {\n <lib-button [field]=\"field()\" />\n }\n\n @case ('tab') {\n <lib-tab [field]=\"field()\" />\n }\n\n @case ('autocomplete') {\n <lib-autocomplete [field]=\"field()\" />\n }\n\n @case ('multipleSelect') {\n <lib-multiple-select [field]=\"field()\" />\n }\n\n @case ('textboxWithSelect') {\n <lib-select-textbox [field]=\"field()\" />\n }\n\n @case ('otpTextbox') {\n <lib-otp-textbox [field]=\"field()\" />\n }\n\n @case ('amountTextbox') {\n <lib-amount-textbox [field]=\"field()\" />\n }\n\n @case ('suffixTextbox') {\n <lib-suffix-textbox [field]=\"field()\" />\n }\n\n @case ('otpMobNumber') {\n <lib-otp-mob-number [field]=\"field()\" />\n }\n\n @case ('tagMobNumber') {\n <lib-tag-mob-number [field]=\"field()\" />\n }\n\n @case ('dateWithAge') {\n <lib-age-date [field]=\"field()\" />\n }\n\n @case ('additionButton') {\n <lib-addition-button [field]=\"field()\" />\n }\n\n @case ('infoTextbox') {\n <lib-info-textbox [field]=\"field()\" />\n }\n\n @case ('textboxWithImage') {\n <lib-textbox-with-image [field]=\"field()\" />\n }\n\n @case ('emailWithDomain') {\n <lib-email-with-domain [field]=\"field()\" />\n }\n\n @case ('imageUpload') {\n <lib-image-upload [field]=\"field()\" />\n }\n\n @case ('downloadDocument') {\n <lib-download-document [field]=\"field()\" />\n }\n\n @case ('addDocument') {\n <lib-add-document [field]=\"field()\" />\n }\n\n @case ('hyperlink') {\n <lib-hyperlink [field]=\"field()\" />\n }\n\n @case ('textboxWithUnderscore') {\n <lib-textbox-with-underscore [field]=\"field()\" />\n }\n\n @case ('underscoreMobNumber') {\n <lib-underscore-mob-number [field]=\"field()\" />\n }\n\n @case ('downloadIconButton') {\n <lib-icon-button [field]=\"field()\" />\n }\n\n @case ('image') {\n <lib-image [field]=\"field()\" />\n }\n @case ('stepper') {\n <lib-stepper [field]=\"field()\" />\n }\n @case ('journeyStepper') {\n <lib-journey-stepper [field]=\"field()\" />\n }\n @case ('card') {\n <lib-card [field]=\"field()\" />\n }\n @case ('hrLine') {\n <lib-hr-line [field]=\"field()\" />\n }\n @case ('searchMultiSelect') {\n <lib-search-multi-select [field]=\"field()\" />\n }\n @case ('subscriptTextbox') {\n <lib-subscript-textbox [field]=\"field()\" />\n }\n @case ('label') {\n <lib-label [field]=\"field()\" />\n }\n @case ('subHeading') {\n <lib-sub-header [field]=\"field()\" />\n }\n @case ('heading') {\n <lib-header [field]=\"field()\" />\n }\n @case ('table') {\n <lib-table [field]=\"field()\" />\n }\n @case ('textboxWithText') {\n <lib-textbox-with-text [field]=\"field()\" />\n }\n @case ('loader') {\n <lib-loader [field]=\"field()\" />\n }\n @case ('discount') {\n <lib-discount [field]=\"field()\" />\n }\n @case ('discountCard') {\n <lib-discount-card [field]=\"field()\" />\n }\n @case ('discountsApplied') {\n <lib-discounts-applied [field]=\"field()\" (discountPeriodChange)=\"discountPeriodChange.emit($event)\" />\n }\n @case ('additionalBenefits') {\n <lib-additional-benefits [field]=\"field()\" (benefitChange)=\"additionalBenefitChange.emit($event)\" />\n }\n @case ('optionalBenefitCard') {\n <lib-benefit-card [field]=\"field()\" />\n }\n @case ('benefitDetailCard') {\n <lib-benefit-detail-card\n [field]=\"field()\"\n (selectionChange)=\"benefitSelectionChange.emit($event)\"\n (amountChange)=\"benefitAmountChange.emit($event)\"\n (amountBlur)=\"benefitAmountBlur.emit($event)\"\n />\n }\n @case ('errorSnackbar') {\n <lib-error-snackbar [field]=\"field()\" />\n }\n @case ('warningSnackbar') {\n <lib-warning-snackbar [field]=\"field()\" />\n }\n @case ('successSnackbar') {\n <lib-success-snackbar [field]=\"field()\" />\n }\n @case ('neutralSnackbar') {\n <lib-neutral-snackbar [field]=\"field()\" />\n }\n @case ('boldLabel') {\n <lib-grey-label [field]=\"field()\" />\n }\n @case ('iframe') {\n <lib-iframe [field]=\"field()\" />\n }\n @case ('toggleButton') {\n <lib-toggle-button [field]=\"field()\" />\n }\n @case ('payGetCard') {\n <lib-pay-get-card [field]=\"field()\" />\n }\n @case ('inBuiltBenefit') {\n <lib-in-built-benefit [field]=\"field()\" />\n }\n @case ('otherBenefit') {\n <lib-other-benefits [field]=\"field()\" />\n }\n @case ('planBenefitsCard') {\n <lib-plan-benefits-card [field]=\"field()\" [discounts]=\"discounts()\" />\n }\n @case ('annuityRateLogo') {\n <lib-annuity-rate-logo [field]=\"field()\" />\n }\n @case ('discountAnnuity') {\n <lib-discount-v2 [field]=\"field()\" />\n }\n @case ('labelValue'){\n <lib-label-value-card [field]=\"field()\" />\n }\n @case ('medicalQuestions'){\n <lib-medial-questions [field]=\"field()\" />\n }\n @case ('nudge'){\n <lib-page-nudge [field]=\"field()\"/>\n }\n @case ('progressBar'){\n <lib-progress-bar [field]=\"field()\"/>\n }\n @case ('accordian'){\n <lib-accordian [field]=\"field()\"/>\n }\n @case ('miscInfo'){\n <lib-miscellaneous-info-bar [field]=\"field()\"/>\n }\n @case ('plainText'){\n <lib-plain-text [field]=\"field()\"/>\n }\n @case ('menu'){\n <lib-menu [field]=\"field()\" />\n }\n @case ('stepperWithArrow') {\n <lib-stepper-with-arrow [field]=\"field()\" />\n }\n @case ('labelWithImage') {\n <lib-label-with-image [field]=\"field()\" />\n }\n @case ('motorGlowPlanDetails') {\n <lib-motor-glow-plan-details [field]=\"field()\" />\n }\n @case ('premiumToAnnuityCalculator') {\n <lib-annuity-premium-calculator [field]=\"field()\" />\n } @case ('footerProgressBar') {\n <lib-footer-design [field]=\"field()\" />\n }\n @case ('annuityGrowthRateOption') {\n <lib-annuity-calculator-radio [field]=\"field()\" />\n }\n @case ('textboxWithRadio') {\n <lib-textbox-with-radio [field]=\"field()\" />\n }\n @case ('lifeCoverDetails') {\n <lib-life-cover-details\n [field]=\"field()\"\n [coverDetails]=\"field()?.coverDetails\"\n [termDetails]=\"field()?.termDetails\"\n [premiumDetails]=\"field()?.premiumDetails\"\n (sliderValueChange)=\"onLifeCoverSliderValueChange($event)\" />\n }\n @case ('lifeCoverDetailsView') {\n <lib-life-cover-details-view\n [field]=\"field()\"\n [summaryItems]=\"field()?.summaryItems\" />\n }\n @case ('lifeCoverDetailsPostPremiumCalculation') {\n <lib-life-cover-details-post-premium-calculation\n [field]=\"field()\"\n [premiumSummary]=\"field()?.premiumSummary\" />\n }\n @case ('lifeCoverAddonDetails') {\n <lib-life-cover-addon-details\n [field]=\"field()\"\n [addOnConfigData]=\"field()?.addOnConfigData\"\n (addonSelectionChange)=\"onLifeCoverAddonSelectionChange($event)\" />\n }\n @case ('vehicleCoveragePlans') {\n <lib-vehicle-coverage-plans\n [field]=\"field()\"\n [coveragePlansData]=\"field()?.coveragePlansData\" />\n }\n @case ('premiumBreakdown') {\n <lib-premium-breakdown\n [field]=\"field()\"\n [premiumBreakdownData]=\"field()?.premiumBreakdownData\" />\n }\n @case ('premiumBreakup') {\n <lib-premium-breakup [field]=\"field()\" />\n }\n}\n", styles: [""], dependencies: [{ kind: "ngmodule", type: FormsModule }, { kind: "component", type: TextboxComponent, selector: "lib-textbox", inputs: ["field", "reactiveFormControlobject"], outputs: ["blur"] }, { kind: "component", type: SelectComponent, selector: "lib-select", inputs: ["field", "reactiveFormControlobject"], outputs: ["selectionChange", "infoClick"] }, { kind: "component", type: RadioComponent, selector: "lib-radio", inputs: ["reactiveFormControlobject", "field"], outputs: ["change"] }, { kind: "component", type: ToggleComponent, selector: "lib-toggle", inputs: ["field", "reactiveFormControlobject"], outputs: ["change"] }, { kind: "component", type: UploadComponent, selector: "lib-upload", inputs: ["documentUploaderField", "openQuoteImageObj", "field", "reactiveFormControlobject"], outputs: ["filesChanged", "fileRemoved", "filePreview"] }, { kind: "component", type: DobComponent, selector: "lib-dob", inputs: ["field", "reactiveFormControlobject"], outputs: ["blur", "valueChange", "dateSelected", "invalidDate"] }, { kind: "component", type: MobNumberComponent, selector: "lib-mob-number", inputs: ["field", "reactiveFormControlobject"], outputs: ["blur"] }, { kind: "component", type: InfoComponent, selector: "lib-info", inputs: ["field"] }, { kind: "component", type: CheckboxComponent, selector: "lib-checkbox", inputs: ["field", "reactiveFormControlobject"], outputs: ["change"] }, { kind: "component", type: TextareaComponent, selector: "lib-textarea", inputs: ["field", "reactiveFormControlobject"], outputs: ["blur"] }, { kind: "component", type: ButtonComponent, selector: "lib-button", inputs: ["field"] }, { kind: "component", type: TabComponent, selector: "lib-tab", inputs: ["field"], outputs: ["selectedIndexChange"] }, { kind: "component", type: AutocompleteComponent, selector: "lib-autocomplete", inputs: ["field", "reactiveFormControlobject"], outputs: ["blur", "selectionChanged", "valueChanged", "optionSelected"] }, { kind: "component", type: MultipleSelectComponent, selector: "lib-multiple-select", inputs: ["field", "reactiveFormControlobject"], outputs: ["selectionChange"] }, { kind: "component", type: SelectTextboxComponent, selector: "lib-select-textbox", inputs: ["field", "reactiveFormControlobject"], outputs: ["selectionChange"] }, { kind: "component", type: OtpTextboxComponent, selector: "lib-otp-textbox", inputs: ["field", "reactiveFormControlobject"] }, { kind: "component", type: AmountTextboxComponent, selector: "lib-amount-textbox", inputs: ["field", "reactiveFormControlobject"], outputs: ["blur"] }, { kind: "component", type: SuffixTextboxComponent, selector: "lib-suffix-textbox", inputs: ["field", "reactiveFormControlobject"], outputs: ["blur"] }, { kind: "component", type: OtpMobNumberComponent, selector: "lib-otp-mob-number", inputs: ["field", "reactiveFormControlobject"] }, { kind: "component", type: TagMobNumberComponent, selector: "lib-tag-mob-number", inputs: ["field", "reactiveFormControlobject"] }, { kind: "component", type: AgeDateComponent, selector: "lib-age-date", inputs: ["field", "reactiveFormControlobject"], outputs: ["blur", "valueChange", "dateSelected", "invalidDate"] }, { kind: "component", type: AdditionButtonComponent, selector: "lib-addition-button", inputs: ["field"] }, { kind: "component", type: InfoTextboxComponent, selector: "lib-info-textbox", inputs: ["field", "reactiveFormControlobject", "fields"], outputs: ["infoClick"] }, { kind: "component", type: TextboxWithImageComponent, selector: "lib-textbox-with-image", inputs: ["field", "reactiveFormControlobject"], outputs: ["blur"] }, { kind: "component", type: EmailWithDomainComponent, selector: "lib-email-with-domain", inputs: ["field", "reactiveFormControlobject"] }, { kind: "component", type: ImageUploadComponent, selector: "lib-image-upload", inputs: ["field"] }, { kind: "component", type: DownloadDocumentComponent, selector: "lib-download-document", inputs: ["field"] }, { kind: "component", type: AddDocumentComponent, selector: "lib-add-document", inputs: ["field"] }, { kind: "component", type: HyperlinkComponent, selector: "lib-hyperlink", inputs: ["field"] }, { kind: "component", type: TextboxWithUnderscoreComponent, selector: "lib-textbox-with-underscore", inputs: ["field", "reactiveFormControlobject"] }, { kind: "component", type: UnderscoreMobNumberComponent, selector: "lib-underscore-mob-number", inputs: ["field", "reactiveFormControlobject"] }, { kind: "component", type: IconButtonComponent, selector: "lib-icon-button", inputs: ["field"] }, { kind: "ngmodule", type: ReactiveFormsModule }, { kind: "component", type: ImageComponent, selector: "lib-image", inputs: ["field"] }, { kind: "component", type: StepperComponent, selector: "lib-stepper", inputs: ["field"] }, { kind: "component", type: JourneyStepperComponent, selector: "lib-journey-stepper", inputs: ["field"] }, { kind: "component", type: CardComponent, selector: "lib-card", inputs: ["field"], outputs: ["cardDetailsClicked"] }, { kind: "component", type: HrLineComponent, selector: "lib-hr-line", inputs: ["field"] }, { kind: "component", type: SearchMultiSelectComponent, selector: "lib-search-multi-select", inputs: ["field", "reactiveFormControlobject"] }, { kind: "component", type: SubscriptTextboxComponent, selector: "lib-subscript-textbox", inputs: ["field", "reactiveFormControlobject"] }, { kind: "component", type: LabelComponent, selector: "lib-label", inputs: ["field"] }, { kind: "component", type: SubHeaderComponent, selector: "lib-sub-header", inputs: ["field"] }, { kind: "component", type: HeaderComponent, selector: "lib-header", inputs: ["field"] }, { kind: "component", type: TextboxWithTextComponent, selector: "lib-textbox-with-text", inputs: ["reactiveFormControlobject", "field"], outputs: ["blur"] }, { kind: "component", type: DiscountComponent, selector: "lib-discount", inputs: ["field"] }, { kind: "component", type: BenefitCardComponent, selector: "lib-benefit-card", inputs: ["field"] }, { kind: "component", type: BenefitDetailCardComponent, selector: "lib-benefit-detail-card", inputs: ["field"], outputs: ["selectionChange", "amountChange", "amountBlur"] }, { kind: "component", type: TableComponent, selector: "lib-table", inputs: ["field", "readonly"], outputs: ["actionItemClicked", "tablePaginationClicked"] }, { kind: "component", type: LoaderComponent, selector: "lib-loader", inputs: ["field"] }, { kind: "component", type: WarningSnackbarComponent, selector: "lib-warning-snackbar", inputs: ["field"] }, { kind: "component", type: SuccessSnackbarComponent, selector: "lib-success-snackbar", inputs: ["field"] }, { kind: "component", type: NeutralSnackbarComponent, selector: "lib-neutral-snackbar", inputs: ["field"] }, { kind: "component", type: ErrorSnackbarComponent, selector: "lib-error-snackbar", inputs: ["field"] }, { kind: "component", type: GreyLabelComponent, selector: "lib-grey-label", inputs: ["field"] }, { kind: "component", type: IframeComponent, selector: "lib-iframe", inputs: ["field"] }, { kind: "component", type: ToggleButtonComponent, selector: "lib-toggle-button", inputs: ["reactiveFormControlobject", "field"], outputs: ["selectionChanged", "change"] }, { kind: "component", type: PayGetCardComponent, selector: "lib-pay-get-card", inputs: ["field", "payAmount", "premiumAmount", "ptValue", "years", "frequency", "payamountOptions"] }, { kind: "component", type: InBuiltBenefitComponent, selector: "lib-in-built-benefit", inputs: ["field", "premiumAmount", "premiumAmountShort"] }, { kind: "component", type: OtherBenefitsComponent, selector: "lib-other-benefits", inputs: ["field"] }, { kind: "component", type: PlanBenefitsCardComponent, selector: "lib-plan-benefits-card", inputs: ["field", "discounts"] }, { kind: "component", type: AnnuityRateLogoComponent, selector: "lib-annuity-rate-logo", inputs: ["field", "ratePercent", "imageSrc"] }, { kind: "component", type: DiscountV2Component, selector: "lib-discount-v2", inputs: ["field"] }, { kind: "component", type: LabelValueCardComponent, selector: "lib-label-value-card", inputs: ["field"] }, { kind: "component", type: MedialQuestionsComponent, selector: "lib-medial-questions", inputs: ["clusterId", "triggerValidation", "locationDetails", "medialQuestionResponse", "personUWOpenQuoteResponse", "defaultValues", "personType", "field"], outputs: ["questionsValueChange", "locationDetailsChange"] }, { kind: "component", type: PageNudgeComponent, selector: "lib-page-nudge", inputs: ["field"] }, { kind: "component", type: ProgressBarComponent, selector: "lib-progress-bar", inputs: ["field"] }, { kind: "component", type: AccordianComponent, selector: "lib-accordian", inputs: ["field"] }, { kind: "component", type: MiscellaneousInfoBarComponent, selector: "lib-miscellaneous-info-bar", inputs: ["field", "details"] }, { kind: "component", type: PlainTextComponent, selector: "lib-plain-text", inputs: ["field"] }, { kind: "component", type: MenuComponent, selector: "lib-menu", inputs: ["field"] }, { kind: "component", type: StepperWIthArrowComponent, selector: "lib-stepper-with-arrow", inputs: ["field", "currentStepValue", "autoProgress", "autoProgressDelay"], outputs: ["selectedStep"] }, { kind: "component", type: LabelWithImageComponent, selector: "lib-label-with-image", inputs: ["field"] }, { kind: "component", type: TopHeaderComponent, selector: "lib-top-header", inputs: ["field"] }, { kind: "component", type: FooterComponent, selector: "lib-footer", inputs: ["field"] }, { kind: "component", type: FooterWithButtonsComponent, selector: "lib-footer-with-buttons", inputs: ["field"] }, { kind: "component", type: MotorGlowPlanDetailsComponent, selector: "lib-motor-glow-plan-details", inputs: ["field"], outputs: ["editPlanClick"] }, { kind: "component", type: AnnuityPremiumCalculatorComponent, selector: "lib-annuity-premium-calculator", inputs: ["field", "triggerValidation", "premiumDetails"], outputs: ["onCalcualteButtonClick", "onGenerateSummaryClick", "onAnnuityPremiumChange", "onMinimumPremiumValueChange", "onAutioDebitValueChange", "onGuranteedAnnuityValueChange", "onDigitBossSwitchToggle", "onGrowthRateOptionSelected"] }, { kind: "component", type: FooterDesignComponent, selector: "lib-footer-design", inputs: ["field"] }, { kind: "component", type: AnnuityCalculatorRadioComponent, selector: "lib-annuity-calculator-radio", inputs: ["preSelectConfig", "reactiveFormControlobject", "field"], outputs: ["change", "growthRateChange"] }, { kind: "component", type: TextboxWithRadioComponent, selector: "lib-textbox-with-radio", inputs: ["field", "reactiveFormControlobject"], outputs: ["blur", "change", "input"] }, { kind: "component", type: LifeCoverDetailsComponent, selector: "lib-life-cover-details", inputs: ["field", "coverDetails", "termDetails", "premiumDetails"], outputs: ["textButtonClick", "sliderValueChange"] }, { kind: "component", type: LifeCoverDetailsViewComponent, selector: "lib-life-cover-details-view", inputs: ["field", "summaryItems"] }, { kind: "component", type: LifeCoverDetailsPostPremiumCalculationComponent, selector: "lib-life-cover-details-post-premium-calculation", inputs: ["field", "premiumSummary"] }, { kind: "component", type: LifeCoverAddonDetailsComponent, selector: "lib-life-cover-addon-details", inputs: ["field", "addOnConfigData"], outputs: ["addonSelectionChange"] }, { kind: "component", type: VehicleCoveragePlansComponent, selector: "lib-vehicle-coverage-plans", inputs: ["field", "coveragePlansData"] }, { kind: "component", type: PremiumBreakdownComponent, selector: "lib-premium-breakdown", inputs: ["field", "premiumBreakdownData"] }, { kind: "component", type: DiscountCardComponent, selector: "lib-discount-card", inputs: ["field"] }, { kind: "component", type: AdditionalBenefitsComponent, selector: "lib-additional-benefits", inputs: ["field"], outputs: ["benefitChange"] }, { kind: "component", type: PremiumBreakupComponent, selector: "lib-premium-breakup", inputs: ["field"] }, { kind: "component", type: DiscountsAppliedComponent, selector: "lib-discounts-applied", inputs: ["field"], outputs: ["discountPeriodChange"] }] });
10769
10902
  }
10770
10903
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.13", ngImport: i0, type: MasterControlComponent, decorators: [{
10771
10904
  type: Component,
@@ -10806,6 +10939,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.13", ngImpo
10806
10939
  ReactiveFormsModule,
10807
10940
  ImageComponent,
10808
10941
  StepperComponent,
10942
+ JourneyStepperComponent,
10809
10943
  CardComponent,
10810
10944
  HrLineComponent,
10811
10945
  SearchMultiSelectComponent,
@@ -10859,8 +10993,9 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.13", ngImpo
10859
10993
  PremiumBreakdownComponent,
10860
10994
  DiscountCardComponent,
10861
10995
  AdditionalBenefitsComponent,
10862
- PremiumBreakupComponent
10863
- ], template: "@switch (field()?.controlType) {\n @case ('top-header') {\n <lib-top-header [field]=\"field()\" />\n }\n @case ('footer') {\n <lib-footer [field]=\"field()\" />\n }\n @case('footer-buttons')\n {\n <lib-footer-with-buttons [field]=\"field()\"></lib-footer-with-buttons>\n }\n @case('text') {\n <lib-textbox [field]=\"field()\"></lib-textbox>\n }\n @case('select') {\n <lib-select [field]=\"field()\"/>\n }\n\n @case('radio') {\n <lib-radio [field]=\"field()\" />\n }\n\n @case('toggle') {\n <lib-toggle [field]=\"field()\" />\n }\n\n @case('file') {\n <lib-upload [field]=\"field()\" />\n }\n\n @case('date') {\n <lib-dob [field]=\"field()\" />\n }\n\n @case('mobileNumber') {\n <lib-mob-number [field]=\"field()\" />\n }\n\n @case('info') {\n <lib-info [field]=\"field()\" />\n }\n\n @case('checkbox') {\n <lib-checkbox [field]=\"field()\" />\n }\n\n @case('textarea') {\n <lib-textarea [field]=\"field()\" />\n }\n\n @case ('button') {\n <lib-button [field]=\"field()\" />\n }\n\n @case ('tab') {\n <lib-tab [field]=\"field()\" />\n }\n\n @case ('autocomplete') {\n <lib-autocomplete [field]=\"field()\" />\n }\n\n @case ('multipleSelect') {\n <lib-multiple-select [field]=\"field()\" />\n }\n\n @case ('textboxWithSelect') {\n <lib-select-textbox [field]=\"field()\" />\n }\n\n @case ('otpTextbox') {\n <lib-otp-textbox [field]=\"field()\" />\n }\n\n @case ('amountTextbox') {\n <lib-amount-textbox [field]=\"field()\" />\n }\n\n @case ('suffixTextbox') {\n <lib-suffix-textbox [field]=\"field()\" />\n }\n\n @case ('otpMobNumber') {\n <lib-otp-mob-number [field]=\"field()\" />\n }\n\n @case ('tagMobNumber') {\n <lib-tag-mob-number [field]=\"field()\" />\n }\n\n @case ('dateWithAge') {\n <lib-age-date [field]=\"field()\" />\n }\n\n @case ('additionButton') {\n <lib-addition-button [field]=\"field()\" />\n }\n\n @case ('infoTextbox') {\n <lib-info-textbox [field]=\"field()\" />\n }\n\n @case ('textboxWithImage') {\n <lib-textbox-with-image [field]=\"field()\" />\n }\n\n @case ('emailWithDomain') {\n <lib-email-with-domain [field]=\"field()\" />\n }\n\n @case ('imageUpload') {\n <lib-image-upload [field]=\"field()\" />\n }\n\n @case ('downloadDocument') {\n <lib-download-document [field]=\"field()\" />\n }\n\n @case ('addDocument') {\n <lib-add-document [field]=\"field()\" />\n }\n\n @case ('hyperlink') {\n <lib-hyperlink [field]=\"field()\" />\n }\n\n @case ('textboxWithUnderscore') {\n <lib-textbox-with-underscore [field]=\"field()\" />\n }\n\n @case ('underscoreMobNumber') {\n <lib-underscore-mob-number [field]=\"field()\" />\n }\n\n @case ('downloadIconButton') {\n <lib-icon-button [field]=\"field()\" />\n }\n\n @case ('image') {\n <lib-image [field]=\"field()\" />\n }\n @case ('stepper') {\n <lib-stepper [field]=\"field()\" />\n }\n @case ('card') {\n <lib-card [field]=\"field()\" />\n }\n @case ('hrLine') {\n <lib-hr-line [field]=\"field()\" />\n }\n @case ('searchMultiSelect') {\n <lib-search-multi-select [field]=\"field()\" />\n }\n @case ('subscriptTextbox') {\n <lib-subscript-textbox [field]=\"field()\" />\n }\n @case ('label') {\n <lib-label [field]=\"field()\" />\n }\n @case ('subHeading') {\n <lib-sub-header [field]=\"field()\" />\n }\n @case ('heading') {\n <lib-header [field]=\"field()\" />\n }\n @case ('table') {\n <lib-table [field]=\"field()\" />\n }\n @case ('textboxWithText') {\n <lib-textbox-with-text [field]=\"field()\" />\n }\n @case ('loader') {\n <lib-loader [field]=\"field()\" />\n }\n @case ('discount') {\n <lib-discount [field]=\"field()\" />\n }\n @case ('discountCard') {\n <lib-discount-card [field]=\"field()\" />\n }\n @case ('additionalBenefits') {\n <lib-additional-benefits [field]=\"field()\" (benefitChange)=\"additionalBenefitChange.emit($event)\" />\n }\n @case ('optionalBenefitCard') {\n <lib-benefit-card [field]=\"field()\" />\n }\n @case ('benefitDetailCard') {\n <lib-benefit-detail-card\n [field]=\"field()\"\n (selectionChange)=\"benefitSelectionChange.emit($event)\"\n (amountChange)=\"benefitAmountChange.emit($event)\"\n (amountBlur)=\"benefitAmountBlur.emit($event)\"\n />\n }\n @case ('errorSnackbar') {\n <lib-error-snackbar [field]=\"field()\" />\n }\n @case ('warningSnackbar') {\n <lib-warning-snackbar [field]=\"field()\" />\n }\n @case ('successSnackbar') {\n <lib-success-snackbar [field]=\"field()\" />\n }\n @case ('neutralSnackbar') {\n <lib-neutral-snackbar [field]=\"field()\" />\n }\n @case ('boldLabel') {\n <lib-grey-label [field]=\"field()\" />\n }\n @case ('iframe') {\n <lib-iframe [field]=\"field()\" />\n }\n @case ('toggleButton') {\n <lib-toggle-button [field]=\"field()\" />\n }\n @case ('payGetCard') {\n <lib-pay-get-card [field]=\"field()\" />\n }\n @case ('inBuiltBenefit') {\n <lib-in-built-benefit [field]=\"field()\" />\n }\n @case ('otherBenefit') {\n <lib-other-benefits [field]=\"field()\" />\n }\n @case ('planBenefitsCard') {\n <lib-plan-benefits-card [field]=\"field()\" [discounts]=\"discounts()\" />\n }\n @case ('annuityRateLogo') {\n <lib-annuity-rate-logo [field]=\"field()\" />\n }\n @case ('discountAnnuity') {\n <lib-discount-v2 [field]=\"field()\" />\n }\n @case ('labelValue'){\n <lib-label-value-card [field]=\"field()\" />\n }\n @case ('medicalQuestions'){\n <lib-medial-questions [field]=\"field()\" />\n }\n @case ('nudge'){\n <lib-page-nudge [field]=\"field()\"/>\n }\n @case ('progressBar'){\n <lib-progress-bar [field]=\"field()\"/>\n }\n @case ('accordian'){\n <lib-accordian [field]=\"field()\"/>\n }\n @case ('miscInfo'){\n <lib-miscellaneous-info-bar [field]=\"field()\"/>\n }\n @case ('plainText'){\n <lib-plain-text [field]=\"field()\"/>\n }\n @case ('menu'){\n <lib-menu [field]=\"field()\" />\n }\n @case ('stepperWithArrow') {\n <lib-stepper-with-arrow [field]=\"field()\" />\n }\n @case ('labelWithImage') {\n <lib-label-with-image [field]=\"field()\" />\n }\n @case ('motorGlowPlanDetails') {\n <lib-motor-glow-plan-details [field]=\"field()\" />\n }\n @case ('premiumToAnnuityCalculator') {\n <lib-annuity-premium-calculator [field]=\"field()\" />\n } @case ('footerProgressBar') {\n <lib-footer-design [field]=\"field()\" />\n }\n @case ('annuityGrowthRateOption') {\n <lib-annuity-calculator-radio [field]=\"field()\" />\n }\n @case ('textboxWithRadio') {\n <lib-textbox-with-radio [field]=\"field()\" />\n }\n @case ('lifeCoverDetails') {\n <lib-life-cover-details\n [field]=\"field()\"\n [coverDetails]=\"field()?.coverDetails\"\n [termDetails]=\"field()?.termDetails\"\n [premiumDetails]=\"field()?.premiumDetails\"\n (sliderValueChange)=\"onLifeCoverSliderValueChange($event)\" />\n }\n @case ('lifeCoverDetailsView') {\n <lib-life-cover-details-view\n [field]=\"field()\"\n [summaryItems]=\"field()?.summaryItems\" />\n }\n @case ('lifeCoverDetailsPostPremiumCalculation') {\n <lib-life-cover-details-post-premium-calculation\n [field]=\"field()\"\n [premiumSummary]=\"field()?.premiumSummary\" />\n }\n @case ('lifeCoverAddonDetails') {\n <lib-life-cover-addon-details\n [field]=\"field()\"\n [addOnConfigData]=\"field()?.addOnConfigData\"\n (addonSelectionChange)=\"onLifeCoverAddonSelectionChange($event)\" />\n }\n @case ('vehicleCoveragePlans') {\n <lib-vehicle-coverage-plans\n [field]=\"field()\"\n [coveragePlansData]=\"field()?.coveragePlansData\" />\n }\n @case ('premiumBreakdown') {\n <lib-premium-breakdown\n [field]=\"field()\"\n [premiumBreakdownData]=\"field()?.premiumBreakdownData\" />\n }\n @case ('premiumBreakup') {\n <lib-premium-breakup [field]=\"field()\" />\n }\n}\n" }]
10996
+ PremiumBreakupComponent,
10997
+ DiscountsAppliedComponent
10998
+ ], template: "@switch (field()?.controlType) {\n @case ('top-header') {\n <lib-top-header [field]=\"field()\" />\n }\n @case ('footer') {\n <lib-footer [field]=\"field()\" />\n }\n @case('footer-buttons')\n {\n <lib-footer-with-buttons [field]=\"field()\"></lib-footer-with-buttons>\n }\n @case('text') {\n <lib-textbox [field]=\"field()\"></lib-textbox>\n }\n @case('select') {\n <lib-select [field]=\"field()\"/>\n }\n\n @case('radio') {\n <lib-radio [field]=\"field()\" />\n }\n\n @case('toggle') {\n <lib-toggle [field]=\"field()\" />\n }\n\n @case('file') {\n <lib-upload [field]=\"field()\" />\n }\n\n @case('date') {\n <lib-dob [field]=\"field()\" />\n }\n\n @case('mobileNumber') {\n <lib-mob-number [field]=\"field()\" />\n }\n\n @case('info') {\n <lib-info [field]=\"field()\" />\n }\n\n @case('checkbox') {\n <lib-checkbox [field]=\"field()\" />\n }\n\n @case('textarea') {\n <lib-textarea [field]=\"field()\" />\n }\n\n @case ('button') {\n <lib-button [field]=\"field()\" />\n }\n\n @case ('tab') {\n <lib-tab [field]=\"field()\" />\n }\n\n @case ('autocomplete') {\n <lib-autocomplete [field]=\"field()\" />\n }\n\n @case ('multipleSelect') {\n <lib-multiple-select [field]=\"field()\" />\n }\n\n @case ('textboxWithSelect') {\n <lib-select-textbox [field]=\"field()\" />\n }\n\n @case ('otpTextbox') {\n <lib-otp-textbox [field]=\"field()\" />\n }\n\n @case ('amountTextbox') {\n <lib-amount-textbox [field]=\"field()\" />\n }\n\n @case ('suffixTextbox') {\n <lib-suffix-textbox [field]=\"field()\" />\n }\n\n @case ('otpMobNumber') {\n <lib-otp-mob-number [field]=\"field()\" />\n }\n\n @case ('tagMobNumber') {\n <lib-tag-mob-number [field]=\"field()\" />\n }\n\n @case ('dateWithAge') {\n <lib-age-date [field]=\"field()\" />\n }\n\n @case ('additionButton') {\n <lib-addition-button [field]=\"field()\" />\n }\n\n @case ('infoTextbox') {\n <lib-info-textbox [field]=\"field()\" />\n }\n\n @case ('textboxWithImage') {\n <lib-textbox-with-image [field]=\"field()\" />\n }\n\n @case ('emailWithDomain') {\n <lib-email-with-domain [field]=\"field()\" />\n }\n\n @case ('imageUpload') {\n <lib-image-upload [field]=\"field()\" />\n }\n\n @case ('downloadDocument') {\n <lib-download-document [field]=\"field()\" />\n }\n\n @case ('addDocument') {\n <lib-add-document [field]=\"field()\" />\n }\n\n @case ('hyperlink') {\n <lib-hyperlink [field]=\"field()\" />\n }\n\n @case ('textboxWithUnderscore') {\n <lib-textbox-with-underscore [field]=\"field()\" />\n }\n\n @case ('underscoreMobNumber') {\n <lib-underscore-mob-number [field]=\"field()\" />\n }\n\n @case ('downloadIconButton') {\n <lib-icon-button [field]=\"field()\" />\n }\n\n @case ('image') {\n <lib-image [field]=\"field()\" />\n }\n @case ('stepper') {\n <lib-stepper [field]=\"field()\" />\n }\n @case ('journeyStepper') {\n <lib-journey-stepper [field]=\"field()\" />\n }\n @case ('card') {\n <lib-card [field]=\"field()\" />\n }\n @case ('hrLine') {\n <lib-hr-line [field]=\"field()\" />\n }\n @case ('searchMultiSelect') {\n <lib-search-multi-select [field]=\"field()\" />\n }\n @case ('subscriptTextbox') {\n <lib-subscript-textbox [field]=\"field()\" />\n }\n @case ('label') {\n <lib-label [field]=\"field()\" />\n }\n @case ('subHeading') {\n <lib-sub-header [field]=\"field()\" />\n }\n @case ('heading') {\n <lib-header [field]=\"field()\" />\n }\n @case ('table') {\n <lib-table [field]=\"field()\" />\n }\n @case ('textboxWithText') {\n <lib-textbox-with-text [field]=\"field()\" />\n }\n @case ('loader') {\n <lib-loader [field]=\"field()\" />\n }\n @case ('discount') {\n <lib-discount [field]=\"field()\" />\n }\n @case ('discountCard') {\n <lib-discount-card [field]=\"field()\" />\n }\n @case ('discountsApplied') {\n <lib-discounts-applied [field]=\"field()\" (discountPeriodChange)=\"discountPeriodChange.emit($event)\" />\n }\n @case ('additionalBenefits') {\n <lib-additional-benefits [field]=\"field()\" (benefitChange)=\"additionalBenefitChange.emit($event)\" />\n }\n @case ('optionalBenefitCard') {\n <lib-benefit-card [field]=\"field()\" />\n }\n @case ('benefitDetailCard') {\n <lib-benefit-detail-card\n [field]=\"field()\"\n (selectionChange)=\"benefitSelectionChange.emit($event)\"\n (amountChange)=\"benefitAmountChange.emit($event)\"\n (amountBlur)=\"benefitAmountBlur.emit($event)\"\n />\n }\n @case ('errorSnackbar') {\n <lib-error-snackbar [field]=\"field()\" />\n }\n @case ('warningSnackbar') {\n <lib-warning-snackbar [field]=\"field()\" />\n }\n @case ('successSnackbar') {\n <lib-success-snackbar [field]=\"field()\" />\n }\n @case ('neutralSnackbar') {\n <lib-neutral-snackbar [field]=\"field()\" />\n }\n @case ('boldLabel') {\n <lib-grey-label [field]=\"field()\" />\n }\n @case ('iframe') {\n <lib-iframe [field]=\"field()\" />\n }\n @case ('toggleButton') {\n <lib-toggle-button [field]=\"field()\" />\n }\n @case ('payGetCard') {\n <lib-pay-get-card [field]=\"field()\" />\n }\n @case ('inBuiltBenefit') {\n <lib-in-built-benefit [field]=\"field()\" />\n }\n @case ('otherBenefit') {\n <lib-other-benefits [field]=\"field()\" />\n }\n @case ('planBenefitsCard') {\n <lib-plan-benefits-card [field]=\"field()\" [discounts]=\"discounts()\" />\n }\n @case ('annuityRateLogo') {\n <lib-annuity-rate-logo [field]=\"field()\" />\n }\n @case ('discountAnnuity') {\n <lib-discount-v2 [field]=\"field()\" />\n }\n @case ('labelValue'){\n <lib-label-value-card [field]=\"field()\" />\n }\n @case ('medicalQuestions'){\n <lib-medial-questions [field]=\"field()\" />\n }\n @case ('nudge'){\n <lib-page-nudge [field]=\"field()\"/>\n }\n @case ('progressBar'){\n <lib-progress-bar [field]=\"field()\"/>\n }\n @case ('accordian'){\n <lib-accordian [field]=\"field()\"/>\n }\n @case ('miscInfo'){\n <lib-miscellaneous-info-bar [field]=\"field()\"/>\n }\n @case ('plainText'){\n <lib-plain-text [field]=\"field()\"/>\n }\n @case ('menu'){\n <lib-menu [field]=\"field()\" />\n }\n @case ('stepperWithArrow') {\n <lib-stepper-with-arrow [field]=\"field()\" />\n }\n @case ('labelWithImage') {\n <lib-label-with-image [field]=\"field()\" />\n }\n @case ('motorGlowPlanDetails') {\n <lib-motor-glow-plan-details [field]=\"field()\" />\n }\n @case ('premiumToAnnuityCalculator') {\n <lib-annuity-premium-calculator [field]=\"field()\" />\n } @case ('footerProgressBar') {\n <lib-footer-design [field]=\"field()\" />\n }\n @case ('annuityGrowthRateOption') {\n <lib-annuity-calculator-radio [field]=\"field()\" />\n }\n @case ('textboxWithRadio') {\n <lib-textbox-with-radio [field]=\"field()\" />\n }\n @case ('lifeCoverDetails') {\n <lib-life-cover-details\n [field]=\"field()\"\n [coverDetails]=\"field()?.coverDetails\"\n [termDetails]=\"field()?.termDetails\"\n [premiumDetails]=\"field()?.premiumDetails\"\n (sliderValueChange)=\"onLifeCoverSliderValueChange($event)\" />\n }\n @case ('lifeCoverDetailsView') {\n <lib-life-cover-details-view\n [field]=\"field()\"\n [summaryItems]=\"field()?.summaryItems\" />\n }\n @case ('lifeCoverDetailsPostPremiumCalculation') {\n <lib-life-cover-details-post-premium-calculation\n [field]=\"field()\"\n [premiumSummary]=\"field()?.premiumSummary\" />\n }\n @case ('lifeCoverAddonDetails') {\n <lib-life-cover-addon-details\n [field]=\"field()\"\n [addOnConfigData]=\"field()?.addOnConfigData\"\n (addonSelectionChange)=\"onLifeCoverAddonSelectionChange($event)\" />\n }\n @case ('vehicleCoveragePlans') {\n <lib-vehicle-coverage-plans\n [field]=\"field()\"\n [coveragePlansData]=\"field()?.coveragePlansData\" />\n }\n @case ('premiumBreakdown') {\n <lib-premium-breakdown\n [field]=\"field()\"\n [premiumBreakdownData]=\"field()?.premiumBreakdownData\" />\n }\n @case ('premiumBreakup') {\n <lib-premium-breakup [field]=\"field()\" />\n }\n}\n" }]
10864
10999
  }], ctorParameters: () => [], propDecorators: { formGroup: [{
10865
11000
  type: Input
10866
11001
  }], lifeCoverSliderValueChange: [{
@@ -10875,6 +11010,8 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.13", ngImpo
10875
11010
  type: Output
10876
11011
  }], benefitAmountBlur: [{
10877
11012
  type: Output
11013
+ }], discountPeriodChange: [{
11014
+ type: Output
10878
11015
  }] } });
10879
11016
 
10880
11017
  /*
@@ -10885,5 +11022,5 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.13", ngImpo
10885
11022
  * Generated bundle index. Do not edit.
10886
11023
  */
10887
11024
 
10888
- export { AddDocumentComponent, AdditionButtonComponent, AdditionalBenefitCardComponent, AdditionalBenefitsComponent, AgeDateComponent, AmountTextboxComponent, AnnuityCalculatorRadioComponent, AnnuityPremiumCalculatorComponent, AnnuityRateLogoComponent, AutocompleteComponent, BenefitCardComponent, BenefitDetailCardComponent, ButtonComponent, CardComponent, CheckboxComponent, DiscountCardComponent, DiscountComponent, DiscountV2Component, DobComponent, DownloadDocumentComponent, EmailWithDomainComponent, ErrorSnackbarComponent, FilePreviewComponent, FooterDesignComponent, GreyLabelComponent, HeaderComponent, HrLineComponent, HyperlinkComponent, IconButtonComponent, IframeComponent, ImageComponent, ImageUploadComponent, InBuiltBenefitComponent, InfoComponent, InfoTextboxComponent, LabelComponent, LabelValueCardComponent, LabelWithImageComponent, LifeCoverAddonDetailsComponent, LifeCoverDetailsComponent, LifeCoverDetailsPostPremiumCalculationComponent, LifeCoverDetailsViewComponent, LoaderComponent, MY_DATE_FORMAT, MasterControlComponent, MasterControlService, MedialQuestionsComponent, MenuComponent, MobNumberComponent, MotorGlowPlanDetailsComponent, MultipleSelectComponent, NeutralSnackbarComponent, OtherBenefitsComponent, OtpMobNumberComponent, OtpTextboxComponent, PageNudgeComponent, PayGetCardComponent, PlanBenefitsCardComponent, PremiumBreakdownComponent, PremiumBreakupComponent, RadioComponent, SearchMultiSelectComponent, SelectComponent, SelectTextboxComponent, StepperComponent, StepperWIthArrowComponent, SubHeaderComponent, SubscriptTextboxComponent, SuccessSnackbarComponent, SuffixTextboxComponent, TabComponent, TableComponent, TextareaComponent, TextboxComponent, TextboxWithImageComponent, TextboxWithRadioComponent, TextboxWithTextComponent, TextboxWithUnderscoreComponent, ToggleButtonComponent, ToggleComponent, UnderscoreMobNumberComponent, UploadComponent, VehicleCoveragePlansComponent, WarningSnackbarComponent };
11025
+ export { AddDocumentComponent, AdditionButtonComponent, AdditionalBenefitCardComponent, AdditionalBenefitsComponent, AgeDateComponent, AmountTextboxComponent, AnnuityCalculatorRadioComponent, AnnuityPremiumCalculatorComponent, AnnuityRateLogoComponent, AutocompleteComponent, BenefitCardComponent, BenefitDetailCardComponent, ButtonComponent, CardComponent, CheckboxComponent, DiscountCardComponent, DiscountComponent, DiscountV2Component, DiscountsAppliedComponent, DobComponent, DownloadDocumentComponent, EmailWithDomainComponent, ErrorSnackbarComponent, FilePreviewComponent, FooterDesignComponent, GreyLabelComponent, HeaderComponent, HrLineComponent, HyperlinkComponent, IconButtonComponent, IframeComponent, ImageComponent, ImageUploadComponent, InBuiltBenefitComponent, InfoComponent, InfoTextboxComponent, JourneyStepperComponent, LabelComponent, LabelValueCardComponent, LabelWithImageComponent, LifeCoverAddonDetailsComponent, LifeCoverDetailsComponent, LifeCoverDetailsPostPremiumCalculationComponent, LifeCoverDetailsViewComponent, LoaderComponent, MY_DATE_FORMAT, MasterControlComponent, MasterControlService, MedialQuestionsComponent, MenuComponent, MobNumberComponent, MotorGlowPlanDetailsComponent, MultipleSelectComponent, NeutralSnackbarComponent, OtherBenefitsComponent, OtpMobNumberComponent, OtpTextboxComponent, PageNudgeComponent, PayGetCardComponent, PlanBenefitsCardComponent, PremiumBreakdownComponent, PremiumBreakupComponent, RadioComponent, SearchMultiSelectComponent, SelectComponent, SelectTextboxComponent, StepperComponent, StepperWIthArrowComponent, SubHeaderComponent, SubscriptTextboxComponent, SuccessSnackbarComponent, SuffixTextboxComponent, TabComponent, TableComponent, TextareaComponent, TextboxComponent, TextboxWithImageComponent, TextboxWithRadioComponent, TextboxWithTextComponent, TextboxWithUnderscoreComponent, ToggleButtonComponent, ToggleComponent, UnderscoreMobNumberComponent, UploadComponent, VehicleCoveragePlansComponent, WarningSnackbarComponent };
10889
11026
  //# sourceMappingURL=master-control.mjs.map