@ieeesa-npm/presentation 0.18.9 → 0.19.0
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,4 +1,4 @@
|
|
|
1
|
-
import { Component, EventEmitter, Input, Output, ViewEncapsulation, } from '@angular/core';
|
|
1
|
+
import { Component, ElementRef, EventEmitter, Input, Output, ViewChild, ViewEncapsulation, } from '@angular/core';
|
|
2
2
|
import { CommonModule } from '@angular/common';
|
|
3
3
|
import { MatSlideToggleModule, } from '@angular/material/slide-toggle';
|
|
4
4
|
import { ReactiveFormsModule } from '@angular/forms';
|
|
@@ -31,6 +31,7 @@ export class SlideToggleComponent {
|
|
|
31
31
|
this.isDisabled = false;
|
|
32
32
|
this.canShowIcon = false;
|
|
33
33
|
this.slideToggleChange = new EventEmitter();
|
|
34
|
+
this.crossIconSVG = 'M10.333 3.205L9.62801 2.5L6.83301 5.295L4.03801 2.5L3.33301 3.205L6.12801 6L3.33301 8.795L4.03801 9.5L6.83301 6.705L9.62801 9.5L10.333 8.795L7.53801 6L10.333 3.205Z';
|
|
34
35
|
}
|
|
35
36
|
/**
|
|
36
37
|
* On slide toggle sets slideToggleOption checked and emit slideToggleChange event emitter.
|
|
@@ -57,8 +58,19 @@ export class SlideToggleComponent {
|
|
|
57
58
|
this.config?.slideToggleOption ?? this.slideToggleOption;
|
|
58
59
|
this.isDisabled = this.config?.disabled ?? this.isDisabled;
|
|
59
60
|
}
|
|
61
|
+
/**
|
|
62
|
+
* Updates the cross icon path for the off state of the slide toggle button.
|
|
63
|
+
* @memberof SlideToggleComponent
|
|
64
|
+
*/
|
|
65
|
+
ngAfterViewInit() {
|
|
66
|
+
if (this.matSlideToggleElement && this.canShowIcon) {
|
|
67
|
+
this.matSlideToggleElement?.nativeElement
|
|
68
|
+
?.querySelector('.mdc-switch__icon--off')
|
|
69
|
+
.firstChild.setAttribute('d', this.crossIconSVG);
|
|
70
|
+
}
|
|
71
|
+
}
|
|
60
72
|
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: SlideToggleComponent, deps: [{ token: i1.FormUtilityService }], target: i0.ɵɵFactoryTarget.Component }); }
|
|
61
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.2.12", type: SlideToggleComponent, isStandalone: true, selector: "ieeesa-slide-toggle", inputs: { formControlName: "formControlName", slideToggle: "slideToggle", isDisabled: "isDisabled", canShowIcon: "canShowIcon" }, outputs: { slideToggleChange: "slideToggleChange" }, ngImport: i0, template: "<div [formGroup]=\"group\" class=\"ieeesa-slide-toggle-field\" *ngIf=\"group\">\r\n <mat-slide-toggle\r\n [formControlName]=\"config.controlName\"\r\n [aria-label]=\"config.ariaLabel ?? slideToggleOption.ariaLabel ?? ''\"\r\n [aria-describedby]=\"config.ariaDescribedById ?? ''\"\r\n [checked]=\"slideToggleOption.checked\"\r\n [disabled]=\"isDisabled\"\r\n [(ngModel)]=\"slideToggleOption.checked\"\r\n (change)=\"onSlideToggleChange($event)\"\r\n [hideIcon]=\"!canShowIcon\"\r\n #slideToggle\r\n >{{ slideToggleOption?.label }}</mat-slide-toggle\r\n >\r\n <ieeesa-form-error [formGroup]=\"group\" [config]=\"config\"> </ieeesa-form-error>\r\n <ieeesa-form-support-text\r\n [formGroup]=\"group\"\r\n [config]=\"config\"\r\n ></ieeesa-form-support-text>\r\n</div>\r\n", styles: [".ieeesa-subtitle{text-align:left;font-family:Calibri Regular;font-size:1.5625rem;letter-spacing:0;color:#000;opacity:1}.ieeesa-body{text-align:left;font-family:Calibri Regular;font-size:1.25rem;letter-spacing:0;color:#000;opacity:1}.ieeesa-display-lg-57{font-family:Calibri Regular;font-style:normal;font-weight:400;font-size:3.5625rem;line-height:64px;color:#000;letter-spacing:0}.ieeesa-display-md-45{font-family:Calibri Regular;font-style:normal;font-weight:400;font-size:2.813rem;line-height:52px;color:#000;letter-spacing:0}.ieeesa-display-md-47{font-family:Calibri Regular;font-style:normal;font-weight:400;font-size:2.9375rem;line-height:52px;color:#000;letter-spacing:0}.ieeesa-display-sm-38{font-family:Calibri Regular;font-style:normal;font-weight:400;font-size:2.375rem;line-height:44px;color:#000;letter-spacing:0}.ieeesa-headline-lg-32{font-family:Calibri Regular;font-style:normal;font-weight:400;font-size:2rem;line-height:40px;color:#000;letter-spacing:0}.ieeesa-headline-lg-34{font-family:Calibri Regular;font-style:normal;font-weight:400;font-size:2.125rem;line-height:40px;color:#000;letter-spacing:0}.ieeesa-headline-md-30{font-family:Calibri Regular;font-style:normal;font-weight:400;font-size:1.875rem;line-height:36px;color:#000;letter-spacing:0}.ieeesa-headline-sm-24{font-family:Calibri Regular;font-style:normal;font-weight:400;font-size:1.5rem;line-height:32px;color:#00629b;letter-spacing:0}.ieeesa-headline-sm-26{font-family:Calibri Regular;font-style:normal;font-weight:400;font-size:1.625rem;line-height:32px;color:#000;letter-spacing:0}.ieeesa-title-lg-bold-24{font-family:Calibri Bold;font-style:normal;font-weight:700;font-size:1.5rem;line-height:28px;color:#000;letter-spacing:0}.ieeesa-title-lg-24{font-family:Calibri Regular;font-style:normal;font-weight:400;font-size:1.5rem;line-height:28px;color:#000;letter-spacing:0}.ieeesa-title-md-18{font-family:Calibri Regular;font-style:normal;font-weight:400;font-size:1.125rem;line-height:24px;color:#000;letter-spacing:.009375em}.ieeesa-title-sm-14{font-family:Calibri Regular;font-style:normal;font-weight:400;font-size:.875rem;line-height:20px;color:#000;letter-spacing:.00625em}.ieeesa-title-sm-16{font-family:Calibri Regular;font-style:normal;font-weight:400;font-size:1rem;line-height:20px;color:#000;letter-spacing:.00625em}.ieeesa-label-lg-bold-16{font-family:Calibri Bold;font-style:normal;font-weight:700;font-size:1rem;line-height:20px;color:#000;letter-spacing:.00625em}.ieeesa-label-lg-16{font-family:Calibri Regular;font-style:normal;font-weight:400;font-size:1rem;line-height:20px;color:#000;letter-spacing:.00625em}.ieeesa-btn-label-lg-bold-16{font-family:Calibri Regular;font-style:normal;font-weight:700;font-size:1rem;line-height:20px;color:#00629b;letter-spacing:.00625em}.ieeesa-label-md-14{font-family:Calibri Regular;font-style:normal;font-weight:400;font-size:.875rem;line-height:16px;color:#000;letter-spacing:.03125em}.ieeesa-label-sm-13{font-family:Calibri Regular;font-style:normal;font-weight:400;font-size:.8125rem;line-height:16px;color:#000;letter-spacing:.03125em}.ieeesa-body-lg-bold-16{font-family:Calibri Bold;font-style:normal;font-weight:700;font-size:1rem;line-height:24px;color:#000;letter-spacing:.03125em}.ieeesa-body-lg-bold-18{font-family:Calibri Bold;font-style:normal;font-weight:700;font-size:1.125rem;line-height:24px;color:#000;letter-spacing:.03125em}.ieeesa-body-lg-18{font-family:Calibri Regular;font-style:normal;font-weight:400;font-size:1.125rem;line-height:24px;color:#000;letter-spacing:.03125em}.ieeesa-body-md-14{font-family:Calibri Regular;font-style:normal;font-weight:400;font-size:.875rem;line-height:20px;color:#1c1b1f;letter-spacing:.015625em}.ieeesa-body-md-16{font-family:Calibri Regular;font-style:normal;font-weight:400;font-size:1rem;line-height:20px;color:#000;letter-spacing:.015625em}.ieeesa-body-sm-14{font-family:Calibri Regular;font-style:normal;font-weight:400;font-size:.875rem;line-height:16px;color:#000;letter-spacing:.025em}.ieeesa-body-color-sm-14{font-family:Calibri Regular;font-style:normal;font-weight:400;font-size:.875rem;line-height:18px;color:#49454f;letter-spacing:.025em}.ieeesa-body-sm-bold-14{font-family:Calibri Bold;font-style:normal;font-weight:700;font-size:.875rem;line-height:16px;color:#000;letter-spacing:.025em}.ieeesa-title-inter-lg-bold-24{font-family:Inter Bold;font-style:normal;font-weight:700;font-size:1.5rem;line-height:29px;color:#000;letter-spacing:0}.mat-mdc-button.mat-mdc-button-base.mat-primary-button,.mat-mdc-button.mat-mdc-button-base.mat-secondary-button,.mat-mdc-button.mat-mdc-button-base.mat-tertiary-button,.mat-mdc-button.mat-mdc-button-base.mat-text-button{min-width:103px;width:auto;min-height:40px;height:auto;border-radius:3px;text-align:center;padding:.625em 1.5em;border:none;font-family:Calibri Bold;font-style:normal;font-weight:700;font-size:1rem;line-height:20px;color:#000;letter-spacing:.00625em}.mat-mdc-button.mat-mdc-button-base>.mat-icon{margin-right:11px}.mat-mdc-button.mat-mdc-button-base.mat-primary-button{background-color:#00629b;color:#fff}.mat-mdc-button.mat-mdc-button-base.mat-primary-button:hover{background-color:#003e65}.mat-mdc-button.mat-mdc-button-base.mat-primary-button:active{background-color:#00629b}.mat-mdc-button.mat-mdc-button-base.mat-primary-button:disabled{background-color:#1c1b1f1f}.mat-mdc-button.mat-mdc-button-base.mat-secondary-button{color:#fff;background:#a7a8aa;box-shadow:0 1px 2px #0000004d,0 2px 6px 2px #00000026}.mat-mdc-button.mat-mdc-button-base.mat-secondary-button:hover{background:#a7a8aa}.mat-mdc-button.mat-mdc-button-base.mat-secondary-button:active{background:#1d192b1f}.mat-mdc-button.mat-mdc-button-base.mat-secondary-button:disabled{background:#1c1b1f1f;color:#1c1b1f;opacity:.38}.mat-mdc-button.mat-mdc-button-base.mat-tertiary-button{background-color:#fff;border:1px solid #00629b;color:#00629b}.mat-mdc-button.mat-mdc-button-base.mat-tertiary-button:hover{background-color:#6750a414}.mat-mdc-button.mat-mdc-button-base.mat-tertiary-button:active{background:#6750a41f}.mat-mdc-button.mat-mdc-button-base.mat-tertiary-button:disabled{border:1px solid rgba(28,27,31,.12);color:#1c1b1f;opacity:.38}.mat-mdc-button.mat-mdc-button-base.mat-text-button{color:#00629b}.mat-mdc-button.mat-mdc-button-base.mat-text-button:hover,.mat-mdc-button.mat-mdc-button-base.mat-text-button:active{background:#6750a414}.mat-mdc-button.mat-mdc-button-base.mat-text-button:disabled{color:#1c1b1f;opacity:.38}.ieeesa-text-button{color:#cac4d0;background:none;border:none}.ieeesa-view-more-or-less-button{border:none;background:none;text-decoration:underline;color:#00629b}.flex-align-center{display:flex;align-items:center;justify-content:center}.mat-button-toggle-checked{background-color:#a7a8aa}.mat-button-toggle-checked .mat-button-toggle-label-content:before{font-family:\"Font Awesome 5 Free\";font-weight:900;content:\"\\f00c\";padding-right:.5625em}.mat-button-toggle-group .mat-button-toggle-label-content{font-family:Calibri Bold;font-style:normal;font-weight:700;font-size:1rem;line-height:20px;color:#1c1b1f;letter-spacing:.00625em}.no-bg-color-btn{color:#00629b;border-radius:3px;border:1px solid #00629b;min-height:40px;height:auto}@media (max-width: 768px){.mat-button-toggle-group .mat-button-toggle-label-content{max-width:8ch;text-overflow:ellipsis;white-space:nowrap;overflow:hidden;position:relative}}.cdk-overlay-pane .mat-mdc-tooltip .mdc-tooltip__surface{color:#525252;padding:6px 12px;font-family:Calibri Regular;font-size:1rem;border:1px solid #cac4d0;background:#fff;box-shadow:0 4px 8px #00000040;max-width:unset!important}.cdk-overlay-pane .mat-mdc-option .mdc-list-item__primary-text{font-family:Calibri Regular!important}.cdk-overlay-pane.ieeesa-modal-confirm-dialog,.cdk-overlay-pane.ieeesa-modal-dialog,.cdk-overlay-pane.ieeesa-alert-dialog{width:100%;min-width:312px}.mat-mdc-form-field{font-family:Calibri Regular;font-style:normal;font-weight:400;font-size:1rem;line-height:24px;color:#49454f;letter-spacing:.03125em}.ieeesa-cancel-modal-confirm-dialog{width:25vw!important}.ieeesa-cancel-modal-confirm-dialog .ieeesa-confirmation{padding:1.5em 1.5em 1em}.ieeesa-cancel-modal-confirm-dialog .ieeesa-confirmation .mat-mdc-dialog-content{text-align:center;padding:0 0 1em!important}@media (max-width: 768px){.ieeesa-cancel-modal-confirm-dialog{width:90vw!important}}.ieeesa-slide-toggle-field .mat-mdc-slide-toggle .mdc-label{font-family:Calibri Regular;font-style:normal;font-weight:400;font-size:1rem;line-height:24px;color:#49454f;letter-spacing:0}.ieeesa-slide-toggle-field .mat-mdc-slide-toggle.cdk-keyboard-focused .mdc-switch{border:1px solid #000000}.ieeesa-slide-toggle-field .mat-mdc-slide-toggle.cdk-focused .mdc-label{color:#00629b}.ieeesa-slide-toggle-field .mat-mdc-slide-toggle .mat-mdc-slide-toggle-ripple{display:none!important}.ieeesa-slide-toggle-field .mat-mdc-slide-toggle .mdc-switch--unselected.mdc-switch--disabled,.ieeesa-slide-toggle-field .mat-mdc-slide-toggle .mdc-switch.mdc-switch--disabled+.mdc-label{color:#c0c7cd}.ieeesa-slide-toggle-field .mat-mdc-slide-toggle .mdc-switch--unselected.mdc-switch--disabled .mdc-switch__track:before,.ieeesa-slide-toggle-field .mat-mdc-slide-toggle .mdc-switch--unselected.mdc-switch--disabled .mdc-switch__track:after,.ieeesa-slide-toggle-field .mat-mdc-slide-toggle .mdc-switch.mdc-switch--disabled+.mdc-label .mdc-switch__track:before,.ieeesa-slide-toggle-field .mat-mdc-slide-toggle .mdc-switch.mdc-switch--disabled+.mdc-label .mdc-switch__track:after{border:1px solid #c0c7cd}.ieeesa-slide-toggle-field .mat-mdc-slide-toggle .mdc-switch--unselected.mdc-switch--disabled .mdc-switch__handle .mdc-switch__shadow,.ieeesa-slide-toggle-field .mat-mdc-slide-toggle .mdc-switch.mdc-switch--disabled+.mdc-label .mdc-switch__handle .mdc-switch__shadow{border:1px solid #c0c7cd}.ieeesa-slide-toggle-field .mat-mdc-slide-toggle .mdc-switch--unselected .mdc-switch__track:before,.ieeesa-slide-toggle-field .mat-mdc-slide-toggle .mdc-switch--unselected .mdc-switch__track:after{border-radius:100px;border:1px solid #00629b;background:#fff!important}.ieeesa-slide-toggle-field .mat-mdc-slide-toggle .mdc-switch--unselected .mdc-switch__handle .mdc-switch__shadow{box-shadow:none!important;background:#fff!important;border:1px solid #00629b}.ieeesa-slide-toggle-field .mat-mdc-slide-toggle .mdc-switch--selected .mdc-switch__track:before,.ieeesa-slide-toggle-field .mat-mdc-slide-toggle .mdc-switch--selected .mdc-switch__track:after{border-radius:100px;border:1px solid #00629b;background:#00629b!important}.ieeesa-slide-toggle-field .mat-mdc-slide-toggle .mdc-switch--selected .mdc-switch__handle{background:#00629b!important}.ieeesa-slide-toggle-field .mat-mdc-slide-toggle .mdc-switch--selected .mdc-switch__handle .mdc-switch__shadow{box-shadow:none!important;background:#fff!important;border:1px solid #00629b}.ieeesa-slide-toggle-field .mat-mdc-slide-toggle .mdc-switch .mdc-switch__ripple{display:none}.ieeesa-slide-toggle-field .mat-mdc-slide-toggle .mdc-switch .mdc-switch__track{height:1.29em;width:2.29em}.ieeesa-slide-toggle-field .mat-mdc-slide-toggle .mdc-switch .mdc-switch__track:before,.ieeesa-slide-toggle-field .mat-mdc-slide-toggle .mdc-switch .mdc-switch__track:after{height:1.29em}.ieeesa-slide-toggle-field .mat-mdc-slide-toggle .mdc-switch .mdc-switch__handle{width:1.29em;height:1.29em}.ieeesa-slide-toggle-field .mat-mdc-slide-toggle .mdc-switch .mdc-switch__handle__icons .mdc-switch__icon{display:none}.ieeesa-slide-toggle-field .mat-mdc-slide-toggle .mdc-switch .mdc-switch__icons .mdc-switch__icon{fill:#00629b}.ieeesa-slide-toggle-field .mat-mdc-slide-toggle .mdc-switch .mdc-switch__icons .mdc-switch__icon--on{width:15px;height:13px}.ieeesa-slide-toggle-field .mat-mdc-slide-toggle .mdc-switch .mdc-switch__icons .mdc-switch__icon--off{position:relative;left:2px;width:23px;height:30px}.ieeesa-slide-toggle-field .mat-mdc-slide-toggle .mdc-switch .mdc-switch__icons .mdc-switch__icon--off path{d:path(\"M10.333 3.205L9.62801 2.5L6.83301 5.295L4.03801 2.5L3.33301 3.205L6.12801 6L3.33301 8.795L4.03801 9.5L6.83301 6.705L9.62801 9.5L10.333 8.795L7.53801 6L10.333 3.205Z\")!important}\n"], dependencies: [{ kind: "ngmodule", type: CommonModule }, { kind: "directive", type: i2.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "ngmodule", type: ReactiveFormsModule }, { kind: "directive", type: i3.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { kind: "directive", type: i3.NgControlStatusGroup, selector: "[formGroupName],[formArrayName],[ngModelGroup],[formGroup],form:not([ngNoForm]),[ngForm]" }, { kind: "directive", type: i3.FormGroupDirective, selector: "[formGroup]", inputs: ["formGroup"], outputs: ["ngSubmit"], exportAs: ["ngForm"] }, { kind: "directive", type: i3.FormControlName, selector: "[formControlName]", inputs: ["formControlName", "disabled", "ngModel"], outputs: ["ngModelChange"] }, { kind: "ngmodule", type: MatSlideToggleModule }, { kind: "component", type: i4.MatSlideToggle, selector: "mat-slide-toggle", inputs: ["disabled", "disableRipple", "color", "tabIndex"], exportAs: ["matSlideToggle"] }, { kind: "component", type: FormErrorComponent, selector: "ieeesa-form-error", inputs: ["formGroup", "config", "submitResponse"] }, { kind: "component", type: FormSupportTextComponent, selector: "ieeesa-form-support-text", inputs: ["formGroup", "config"], outputs: ["supportTextLinkClick"] }], encapsulation: i0.ViewEncapsulation.None }); }
|
|
73
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.2.12", type: SlideToggleComponent, isStandalone: true, selector: "ieeesa-slide-toggle", inputs: { formControlName: "formControlName", slideToggle: "slideToggle", isDisabled: "isDisabled", canShowIcon: "canShowIcon" }, outputs: { slideToggleChange: "slideToggleChange" }, viewQueries: [{ propertyName: "matSlideToggleElement", first: true, predicate: ["slideToggle"], descendants: true, read: ElementRef }], ngImport: i0, template: "<div [formGroup]=\"group\" class=\"ieeesa-slide-toggle-field\" *ngIf=\"group\">\r\n <mat-slide-toggle\r\n [formControlName]=\"config.controlName\"\r\n [aria-label]=\"config.ariaLabel ?? slideToggleOption.ariaLabel ?? ''\"\r\n [aria-describedby]=\"config.ariaDescribedById ?? ''\"\r\n [checked]=\"slideToggleOption.checked\"\r\n [disabled]=\"isDisabled\"\r\n [(ngModel)]=\"slideToggleOption.checked\"\r\n (change)=\"onSlideToggleChange($event)\"\r\n [hideIcon]=\"!canShowIcon\"\r\n #slideToggle\r\n >{{ slideToggleOption?.label }}</mat-slide-toggle\r\n >\r\n <ieeesa-form-error [formGroup]=\"group\" [config]=\"config\"> </ieeesa-form-error>\r\n <ieeesa-form-support-text\r\n [formGroup]=\"group\"\r\n [config]=\"config\"\r\n ></ieeesa-form-support-text>\r\n</div>\r\n", styles: [".ieeesa-subtitle{text-align:left;font-family:Calibri Regular;font-size:1.5625rem;letter-spacing:0;color:#000;opacity:1}.ieeesa-body{text-align:left;font-family:Calibri Regular;font-size:1.25rem;letter-spacing:0;color:#000;opacity:1}.ieeesa-display-lg-57{font-family:Calibri Regular;font-style:normal;font-weight:400;font-size:3.5625rem;line-height:64px;color:#000;letter-spacing:0}.ieeesa-display-md-45{font-family:Calibri Regular;font-style:normal;font-weight:400;font-size:2.813rem;line-height:52px;color:#000;letter-spacing:0}.ieeesa-display-md-47{font-family:Calibri Regular;font-style:normal;font-weight:400;font-size:2.9375rem;line-height:52px;color:#000;letter-spacing:0}.ieeesa-display-sm-38{font-family:Calibri Regular;font-style:normal;font-weight:400;font-size:2.375rem;line-height:44px;color:#000;letter-spacing:0}.ieeesa-headline-lg-32{font-family:Calibri Regular;font-style:normal;font-weight:400;font-size:2rem;line-height:40px;color:#000;letter-spacing:0}.ieeesa-headline-lg-34{font-family:Calibri Regular;font-style:normal;font-weight:400;font-size:2.125rem;line-height:40px;color:#000;letter-spacing:0}.ieeesa-headline-md-30{font-family:Calibri Regular;font-style:normal;font-weight:400;font-size:1.875rem;line-height:36px;color:#000;letter-spacing:0}.ieeesa-headline-sm-24{font-family:Calibri Regular;font-style:normal;font-weight:400;font-size:1.5rem;line-height:32px;color:#00629b;letter-spacing:0}.ieeesa-headline-sm-26{font-family:Calibri Regular;font-style:normal;font-weight:400;font-size:1.625rem;line-height:32px;color:#000;letter-spacing:0}.ieeesa-title-lg-bold-24{font-family:Calibri Bold;font-style:normal;font-weight:700;font-size:1.5rem;line-height:28px;color:#000;letter-spacing:0}.ieeesa-title-lg-24{font-family:Calibri Regular;font-style:normal;font-weight:400;font-size:1.5rem;line-height:28px;color:#000;letter-spacing:0}.ieeesa-title-md-18{font-family:Calibri Regular;font-style:normal;font-weight:400;font-size:1.125rem;line-height:24px;color:#000;letter-spacing:.009375em}.ieeesa-title-sm-14{font-family:Calibri Regular;font-style:normal;font-weight:400;font-size:.875rem;line-height:20px;color:#000;letter-spacing:.00625em}.ieeesa-title-sm-16{font-family:Calibri Regular;font-style:normal;font-weight:400;font-size:1rem;line-height:20px;color:#000;letter-spacing:.00625em}.ieeesa-label-lg-bold-16{font-family:Calibri Bold;font-style:normal;font-weight:700;font-size:1rem;line-height:20px;color:#000;letter-spacing:.00625em}.ieeesa-label-lg-16{font-family:Calibri Regular;font-style:normal;font-weight:400;font-size:1rem;line-height:20px;color:#000;letter-spacing:.00625em}.ieeesa-btn-label-lg-bold-16{font-family:Calibri Regular;font-style:normal;font-weight:700;font-size:1rem;line-height:20px;color:#00629b;letter-spacing:.00625em}.ieeesa-label-md-14{font-family:Calibri Regular;font-style:normal;font-weight:400;font-size:.875rem;line-height:16px;color:#000;letter-spacing:.03125em}.ieeesa-label-sm-13{font-family:Calibri Regular;font-style:normal;font-weight:400;font-size:.8125rem;line-height:16px;color:#000;letter-spacing:.03125em}.ieeesa-body-lg-bold-16{font-family:Calibri Bold;font-style:normal;font-weight:700;font-size:1rem;line-height:24px;color:#000;letter-spacing:.03125em}.ieeesa-body-lg-bold-18{font-family:Calibri Bold;font-style:normal;font-weight:700;font-size:1.125rem;line-height:24px;color:#000;letter-spacing:.03125em}.ieeesa-body-lg-18{font-family:Calibri Regular;font-style:normal;font-weight:400;font-size:1.125rem;line-height:24px;color:#000;letter-spacing:.03125em}.ieeesa-body-md-14{font-family:Calibri Regular;font-style:normal;font-weight:400;font-size:.875rem;line-height:20px;color:#1c1b1f;letter-spacing:.015625em}.ieeesa-body-md-16{font-family:Calibri Regular;font-style:normal;font-weight:400;font-size:1rem;line-height:20px;color:#000;letter-spacing:.015625em}.ieeesa-body-sm-14{font-family:Calibri Regular;font-style:normal;font-weight:400;font-size:.875rem;line-height:16px;color:#000;letter-spacing:.025em}.ieeesa-body-color-sm-14{font-family:Calibri Regular;font-style:normal;font-weight:400;font-size:.875rem;line-height:18px;color:#49454f;letter-spacing:.025em}.ieeesa-body-sm-bold-14{font-family:Calibri Bold;font-style:normal;font-weight:700;font-size:.875rem;line-height:16px;color:#000;letter-spacing:.025em}.ieeesa-title-inter-lg-bold-24{font-family:Inter Bold;font-style:normal;font-weight:700;font-size:1.5rem;line-height:29px;color:#000;letter-spacing:0}.mat-mdc-button.mat-mdc-button-base.mat-primary-button,.mat-mdc-button.mat-mdc-button-base.mat-secondary-button,.mat-mdc-button.mat-mdc-button-base.mat-tertiary-button,.mat-mdc-button.mat-mdc-button-base.mat-text-button{min-width:103px;width:auto;min-height:40px;height:auto;border-radius:3px;text-align:center;padding:.625em 1.5em;border:none;font-family:Calibri Bold;font-style:normal;font-weight:700;font-size:1rem;line-height:20px;color:#000;letter-spacing:.00625em}.mat-mdc-button.mat-mdc-button-base>.mat-icon{margin-right:11px}.mat-mdc-button.mat-mdc-button-base.mat-primary-button{background-color:#00629b;color:#fff}.mat-mdc-button.mat-mdc-button-base.mat-primary-button:hover{background-color:#003e65}.mat-mdc-button.mat-mdc-button-base.mat-primary-button:active{background-color:#00629b}.mat-mdc-button.mat-mdc-button-base.mat-primary-button:disabled{background-color:#1c1b1f1f}.mat-mdc-button.mat-mdc-button-base.mat-secondary-button{color:#fff;background:#a7a8aa;box-shadow:0 1px 2px #0000004d,0 2px 6px 2px #00000026}.mat-mdc-button.mat-mdc-button-base.mat-secondary-button:hover{background:#a7a8aa}.mat-mdc-button.mat-mdc-button-base.mat-secondary-button:active{background:#1d192b1f}.mat-mdc-button.mat-mdc-button-base.mat-secondary-button:disabled{background:#1c1b1f1f;color:#1c1b1f;opacity:.38}.mat-mdc-button.mat-mdc-button-base.mat-tertiary-button{background-color:#fff;border:1px solid #00629b;color:#00629b}.mat-mdc-button.mat-mdc-button-base.mat-tertiary-button:hover{background-color:#6750a414}.mat-mdc-button.mat-mdc-button-base.mat-tertiary-button:active{background:#6750a41f}.mat-mdc-button.mat-mdc-button-base.mat-tertiary-button:disabled{border:1px solid rgba(28,27,31,.12);color:#1c1b1f;opacity:.38}.mat-mdc-button.mat-mdc-button-base.mat-text-button{color:#00629b}.mat-mdc-button.mat-mdc-button-base.mat-text-button:hover,.mat-mdc-button.mat-mdc-button-base.mat-text-button:active{background:#6750a414}.mat-mdc-button.mat-mdc-button-base.mat-text-button:disabled{color:#1c1b1f;opacity:.38}.ieeesa-text-button{color:#cac4d0;background:none;border:none}.ieeesa-view-more-or-less-button{border:none;background:none;text-decoration:underline;color:#00629b}.flex-align-center{display:flex;align-items:center;justify-content:center}.mat-button-toggle-checked{background-color:#a7a8aa}.mat-button-toggle-checked .mat-button-toggle-label-content:before{font-family:\"Font Awesome 5 Free\";font-weight:900;content:\"\\f00c\";padding-right:.5625em}.mat-button-toggle-group .mat-button-toggle-label-content{font-family:Calibri Bold;font-style:normal;font-weight:700;font-size:1rem;line-height:20px;color:#1c1b1f;letter-spacing:.00625em}.no-bg-color-btn{color:#00629b;border-radius:3px;border:1px solid #00629b;min-height:40px;height:auto}@media (max-width: 768px){.mat-button-toggle-group .mat-button-toggle-label-content{max-width:8ch;text-overflow:ellipsis;white-space:nowrap;overflow:hidden;position:relative}}.cdk-overlay-pane .mat-mdc-tooltip .mdc-tooltip__surface{color:#525252;padding:6px 12px;font-family:Calibri Regular;font-size:1rem;border:1px solid #cac4d0;background:#fff;box-shadow:0 4px 8px #00000040;max-width:unset!important}.cdk-overlay-pane .mat-mdc-option .mdc-list-item__primary-text{font-family:Calibri Regular!important}.cdk-overlay-pane.ieeesa-modal-confirm-dialog,.cdk-overlay-pane.ieeesa-modal-dialog,.cdk-overlay-pane.ieeesa-alert-dialog{width:100%;min-width:312px}.mat-mdc-form-field{font-family:Calibri Regular;font-style:normal;font-weight:400;font-size:1rem;line-height:24px;color:#49454f;letter-spacing:.03125em}.ieeesa-cancel-modal-confirm-dialog{width:25vw!important}.ieeesa-cancel-modal-confirm-dialog .ieeesa-confirmation{padding:1.5em 1.5em 1em}.ieeesa-cancel-modal-confirm-dialog .ieeesa-confirmation .mat-mdc-dialog-content{text-align:center;padding:0 0 1em!important}@media (max-width: 768px){.ieeesa-cancel-modal-confirm-dialog{width:90vw!important}}.ieeesa-slide-toggle-field .mat-mdc-slide-toggle .mdc-label{font-family:Calibri Regular;font-style:normal;font-weight:400;font-size:1rem;line-height:24px;color:#49454f;letter-spacing:0}.ieeesa-slide-toggle-field .mat-mdc-slide-toggle.cdk-keyboard-focused .mdc-switch{border:1px solid #000000}.ieeesa-slide-toggle-field .mat-mdc-slide-toggle.cdk-focused .mdc-label{color:#00629b}.ieeesa-slide-toggle-field .mat-mdc-slide-toggle .mat-mdc-slide-toggle-ripple{display:none!important}.ieeesa-slide-toggle-field .mat-mdc-slide-toggle .mdc-switch--unselected.mdc-switch--disabled,.ieeesa-slide-toggle-field .mat-mdc-slide-toggle .mdc-switch.mdc-switch--disabled+.mdc-label{color:#c0c7cd}.ieeesa-slide-toggle-field .mat-mdc-slide-toggle .mdc-switch--unselected.mdc-switch--disabled .mdc-switch__track:before,.ieeesa-slide-toggle-field .mat-mdc-slide-toggle .mdc-switch--unselected.mdc-switch--disabled .mdc-switch__track:after,.ieeesa-slide-toggle-field .mat-mdc-slide-toggle .mdc-switch.mdc-switch--disabled+.mdc-label .mdc-switch__track:before,.ieeesa-slide-toggle-field .mat-mdc-slide-toggle .mdc-switch.mdc-switch--disabled+.mdc-label .mdc-switch__track:after{border:1px solid #c0c7cd}.ieeesa-slide-toggle-field .mat-mdc-slide-toggle .mdc-switch--unselected.mdc-switch--disabled .mdc-switch__handle .mdc-switch__shadow,.ieeesa-slide-toggle-field .mat-mdc-slide-toggle .mdc-switch.mdc-switch--disabled+.mdc-label .mdc-switch__handle .mdc-switch__shadow{border:1px solid #c0c7cd}.ieeesa-slide-toggle-field .mat-mdc-slide-toggle .mdc-switch--unselected .mdc-switch__track:before,.ieeesa-slide-toggle-field .mat-mdc-slide-toggle .mdc-switch--unselected .mdc-switch__track:after{border-radius:100px;border:1px solid #00629b;background:#fff!important}.ieeesa-slide-toggle-field .mat-mdc-slide-toggle .mdc-switch--unselected .mdc-switch__handle .mdc-switch__shadow{box-shadow:none!important;background:#fff!important;border:1px solid #00629b}.ieeesa-slide-toggle-field .mat-mdc-slide-toggle .mdc-switch--selected .mdc-switch__track:before,.ieeesa-slide-toggle-field .mat-mdc-slide-toggle .mdc-switch--selected .mdc-switch__track:after{border-radius:100px;border:1px solid #00629b;background:#00629b!important}.ieeesa-slide-toggle-field .mat-mdc-slide-toggle .mdc-switch--selected .mdc-switch__handle{background:#00629b!important}.ieeesa-slide-toggle-field .mat-mdc-slide-toggle .mdc-switch--selected .mdc-switch__handle .mdc-switch__shadow{box-shadow:none!important;background:#fff!important;border:1px solid #00629b}.ieeesa-slide-toggle-field .mat-mdc-slide-toggle .mdc-switch .mdc-switch__ripple{display:none}.ieeesa-slide-toggle-field .mat-mdc-slide-toggle .mdc-switch .mdc-switch__track{height:1.29em;width:2.29em}.ieeesa-slide-toggle-field .mat-mdc-slide-toggle .mdc-switch .mdc-switch__track:before,.ieeesa-slide-toggle-field .mat-mdc-slide-toggle .mdc-switch .mdc-switch__track:after{height:1.29em}.ieeesa-slide-toggle-field .mat-mdc-slide-toggle .mdc-switch .mdc-switch__handle{width:1.29em;height:1.29em}.ieeesa-slide-toggle-field .mat-mdc-slide-toggle .mdc-switch .mdc-switch__handle__icons .mdc-switch__icon{display:none}.ieeesa-slide-toggle-field .mat-mdc-slide-toggle .mdc-switch .mdc-switch__icons .mdc-switch__icon{fill:#00629b}.ieeesa-slide-toggle-field .mat-mdc-slide-toggle .mdc-switch .mdc-switch__icons .mdc-switch__icon--on{width:15px;height:13px}.ieeesa-slide-toggle-field .mat-mdc-slide-toggle .mdc-switch .mdc-switch__icons .mdc-switch__icon--off{position:relative;left:2px;width:23px;height:30px}\n"], dependencies: [{ kind: "ngmodule", type: CommonModule }, { kind: "directive", type: i2.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "ngmodule", type: ReactiveFormsModule }, { kind: "directive", type: i3.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { kind: "directive", type: i3.NgControlStatusGroup, selector: "[formGroupName],[formArrayName],[ngModelGroup],[formGroup],form:not([ngNoForm]),[ngForm]" }, { kind: "directive", type: i3.FormGroupDirective, selector: "[formGroup]", inputs: ["formGroup"], outputs: ["ngSubmit"], exportAs: ["ngForm"] }, { kind: "directive", type: i3.FormControlName, selector: "[formControlName]", inputs: ["formControlName", "disabled", "ngModel"], outputs: ["ngModelChange"] }, { kind: "ngmodule", type: MatSlideToggleModule }, { kind: "component", type: i4.MatSlideToggle, selector: "mat-slide-toggle", inputs: ["disabled", "disableRipple", "color", "tabIndex"], exportAs: ["matSlideToggle"] }, { kind: "component", type: FormErrorComponent, selector: "ieeesa-form-error", inputs: ["formGroup", "config", "submitResponse"] }, { kind: "component", type: FormSupportTextComponent, selector: "ieeesa-form-support-text", inputs: ["formGroup", "config"], outputs: ["supportTextLinkClick"] }], encapsulation: i0.ViewEncapsulation.None }); }
|
|
62
74
|
}
|
|
63
75
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: SlideToggleComponent, decorators: [{
|
|
64
76
|
type: Component,
|
|
@@ -68,7 +80,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImpo
|
|
|
68
80
|
MatSlideToggleModule,
|
|
69
81
|
FormErrorComponent,
|
|
70
82
|
FormSupportTextComponent,
|
|
71
|
-
], encapsulation: ViewEncapsulation.None, template: "<div [formGroup]=\"group\" class=\"ieeesa-slide-toggle-field\" *ngIf=\"group\">\r\n <mat-slide-toggle\r\n [formControlName]=\"config.controlName\"\r\n [aria-label]=\"config.ariaLabel ?? slideToggleOption.ariaLabel ?? ''\"\r\n [aria-describedby]=\"config.ariaDescribedById ?? ''\"\r\n [checked]=\"slideToggleOption.checked\"\r\n [disabled]=\"isDisabled\"\r\n [(ngModel)]=\"slideToggleOption.checked\"\r\n (change)=\"onSlideToggleChange($event)\"\r\n [hideIcon]=\"!canShowIcon\"\r\n #slideToggle\r\n >{{ slideToggleOption?.label }}</mat-slide-toggle\r\n >\r\n <ieeesa-form-error [formGroup]=\"group\" [config]=\"config\"> </ieeesa-form-error>\r\n <ieeesa-form-support-text\r\n [formGroup]=\"group\"\r\n [config]=\"config\"\r\n ></ieeesa-form-support-text>\r\n</div>\r\n", styles: [".ieeesa-subtitle{text-align:left;font-family:Calibri Regular;font-size:1.5625rem;letter-spacing:0;color:#000;opacity:1}.ieeesa-body{text-align:left;font-family:Calibri Regular;font-size:1.25rem;letter-spacing:0;color:#000;opacity:1}.ieeesa-display-lg-57{font-family:Calibri Regular;font-style:normal;font-weight:400;font-size:3.5625rem;line-height:64px;color:#000;letter-spacing:0}.ieeesa-display-md-45{font-family:Calibri Regular;font-style:normal;font-weight:400;font-size:2.813rem;line-height:52px;color:#000;letter-spacing:0}.ieeesa-display-md-47{font-family:Calibri Regular;font-style:normal;font-weight:400;font-size:2.9375rem;line-height:52px;color:#000;letter-spacing:0}.ieeesa-display-sm-38{font-family:Calibri Regular;font-style:normal;font-weight:400;font-size:2.375rem;line-height:44px;color:#000;letter-spacing:0}.ieeesa-headline-lg-32{font-family:Calibri Regular;font-style:normal;font-weight:400;font-size:2rem;line-height:40px;color:#000;letter-spacing:0}.ieeesa-headline-lg-34{font-family:Calibri Regular;font-style:normal;font-weight:400;font-size:2.125rem;line-height:40px;color:#000;letter-spacing:0}.ieeesa-headline-md-30{font-family:Calibri Regular;font-style:normal;font-weight:400;font-size:1.875rem;line-height:36px;color:#000;letter-spacing:0}.ieeesa-headline-sm-24{font-family:Calibri Regular;font-style:normal;font-weight:400;font-size:1.5rem;line-height:32px;color:#00629b;letter-spacing:0}.ieeesa-headline-sm-26{font-family:Calibri Regular;font-style:normal;font-weight:400;font-size:1.625rem;line-height:32px;color:#000;letter-spacing:0}.ieeesa-title-lg-bold-24{font-family:Calibri Bold;font-style:normal;font-weight:700;font-size:1.5rem;line-height:28px;color:#000;letter-spacing:0}.ieeesa-title-lg-24{font-family:Calibri Regular;font-style:normal;font-weight:400;font-size:1.5rem;line-height:28px;color:#000;letter-spacing:0}.ieeesa-title-md-18{font-family:Calibri Regular;font-style:normal;font-weight:400;font-size:1.125rem;line-height:24px;color:#000;letter-spacing:.009375em}.ieeesa-title-sm-14{font-family:Calibri Regular;font-style:normal;font-weight:400;font-size:.875rem;line-height:20px;color:#000;letter-spacing:.00625em}.ieeesa-title-sm-16{font-family:Calibri Regular;font-style:normal;font-weight:400;font-size:1rem;line-height:20px;color:#000;letter-spacing:.00625em}.ieeesa-label-lg-bold-16{font-family:Calibri Bold;font-style:normal;font-weight:700;font-size:1rem;line-height:20px;color:#000;letter-spacing:.00625em}.ieeesa-label-lg-16{font-family:Calibri Regular;font-style:normal;font-weight:400;font-size:1rem;line-height:20px;color:#000;letter-spacing:.00625em}.ieeesa-btn-label-lg-bold-16{font-family:Calibri Regular;font-style:normal;font-weight:700;font-size:1rem;line-height:20px;color:#00629b;letter-spacing:.00625em}.ieeesa-label-md-14{font-family:Calibri Regular;font-style:normal;font-weight:400;font-size:.875rem;line-height:16px;color:#000;letter-spacing:.03125em}.ieeesa-label-sm-13{font-family:Calibri Regular;font-style:normal;font-weight:400;font-size:.8125rem;line-height:16px;color:#000;letter-spacing:.03125em}.ieeesa-body-lg-bold-16{font-family:Calibri Bold;font-style:normal;font-weight:700;font-size:1rem;line-height:24px;color:#000;letter-spacing:.03125em}.ieeesa-body-lg-bold-18{font-family:Calibri Bold;font-style:normal;font-weight:700;font-size:1.125rem;line-height:24px;color:#000;letter-spacing:.03125em}.ieeesa-body-lg-18{font-family:Calibri Regular;font-style:normal;font-weight:400;font-size:1.125rem;line-height:24px;color:#000;letter-spacing:.03125em}.ieeesa-body-md-14{font-family:Calibri Regular;font-style:normal;font-weight:400;font-size:.875rem;line-height:20px;color:#1c1b1f;letter-spacing:.015625em}.ieeesa-body-md-16{font-family:Calibri Regular;font-style:normal;font-weight:400;font-size:1rem;line-height:20px;color:#000;letter-spacing:.015625em}.ieeesa-body-sm-14{font-family:Calibri Regular;font-style:normal;font-weight:400;font-size:.875rem;line-height:16px;color:#000;letter-spacing:.025em}.ieeesa-body-color-sm-14{font-family:Calibri Regular;font-style:normal;font-weight:400;font-size:.875rem;line-height:18px;color:#49454f;letter-spacing:.025em}.ieeesa-body-sm-bold-14{font-family:Calibri Bold;font-style:normal;font-weight:700;font-size:.875rem;line-height:16px;color:#000;letter-spacing:.025em}.ieeesa-title-inter-lg-bold-24{font-family:Inter Bold;font-style:normal;font-weight:700;font-size:1.5rem;line-height:29px;color:#000;letter-spacing:0}.mat-mdc-button.mat-mdc-button-base.mat-primary-button,.mat-mdc-button.mat-mdc-button-base.mat-secondary-button,.mat-mdc-button.mat-mdc-button-base.mat-tertiary-button,.mat-mdc-button.mat-mdc-button-base.mat-text-button{min-width:103px;width:auto;min-height:40px;height:auto;border-radius:3px;text-align:center;padding:.625em 1.5em;border:none;font-family:Calibri Bold;font-style:normal;font-weight:700;font-size:1rem;line-height:20px;color:#000;letter-spacing:.00625em}.mat-mdc-button.mat-mdc-button-base>.mat-icon{margin-right:11px}.mat-mdc-button.mat-mdc-button-base.mat-primary-button{background-color:#00629b;color:#fff}.mat-mdc-button.mat-mdc-button-base.mat-primary-button:hover{background-color:#003e65}.mat-mdc-button.mat-mdc-button-base.mat-primary-button:active{background-color:#00629b}.mat-mdc-button.mat-mdc-button-base.mat-primary-button:disabled{background-color:#1c1b1f1f}.mat-mdc-button.mat-mdc-button-base.mat-secondary-button{color:#fff;background:#a7a8aa;box-shadow:0 1px 2px #0000004d,0 2px 6px 2px #00000026}.mat-mdc-button.mat-mdc-button-base.mat-secondary-button:hover{background:#a7a8aa}.mat-mdc-button.mat-mdc-button-base.mat-secondary-button:active{background:#1d192b1f}.mat-mdc-button.mat-mdc-button-base.mat-secondary-button:disabled{background:#1c1b1f1f;color:#1c1b1f;opacity:.38}.mat-mdc-button.mat-mdc-button-base.mat-tertiary-button{background-color:#fff;border:1px solid #00629b;color:#00629b}.mat-mdc-button.mat-mdc-button-base.mat-tertiary-button:hover{background-color:#6750a414}.mat-mdc-button.mat-mdc-button-base.mat-tertiary-button:active{background:#6750a41f}.mat-mdc-button.mat-mdc-button-base.mat-tertiary-button:disabled{border:1px solid rgba(28,27,31,.12);color:#1c1b1f;opacity:.38}.mat-mdc-button.mat-mdc-button-base.mat-text-button{color:#00629b}.mat-mdc-button.mat-mdc-button-base.mat-text-button:hover,.mat-mdc-button.mat-mdc-button-base.mat-text-button:active{background:#6750a414}.mat-mdc-button.mat-mdc-button-base.mat-text-button:disabled{color:#1c1b1f;opacity:.38}.ieeesa-text-button{color:#cac4d0;background:none;border:none}.ieeesa-view-more-or-less-button{border:none;background:none;text-decoration:underline;color:#00629b}.flex-align-center{display:flex;align-items:center;justify-content:center}.mat-button-toggle-checked{background-color:#a7a8aa}.mat-button-toggle-checked .mat-button-toggle-label-content:before{font-family:\"Font Awesome 5 Free\";font-weight:900;content:\"\\f00c\";padding-right:.5625em}.mat-button-toggle-group .mat-button-toggle-label-content{font-family:Calibri Bold;font-style:normal;font-weight:700;font-size:1rem;line-height:20px;color:#1c1b1f;letter-spacing:.00625em}.no-bg-color-btn{color:#00629b;border-radius:3px;border:1px solid #00629b;min-height:40px;height:auto}@media (max-width: 768px){.mat-button-toggle-group .mat-button-toggle-label-content{max-width:8ch;text-overflow:ellipsis;white-space:nowrap;overflow:hidden;position:relative}}.cdk-overlay-pane .mat-mdc-tooltip .mdc-tooltip__surface{color:#525252;padding:6px 12px;font-family:Calibri Regular;font-size:1rem;border:1px solid #cac4d0;background:#fff;box-shadow:0 4px 8px #00000040;max-width:unset!important}.cdk-overlay-pane .mat-mdc-option .mdc-list-item__primary-text{font-family:Calibri Regular!important}.cdk-overlay-pane.ieeesa-modal-confirm-dialog,.cdk-overlay-pane.ieeesa-modal-dialog,.cdk-overlay-pane.ieeesa-alert-dialog{width:100%;min-width:312px}.mat-mdc-form-field{font-family:Calibri Regular;font-style:normal;font-weight:400;font-size:1rem;line-height:24px;color:#49454f;letter-spacing:.03125em}.ieeesa-cancel-modal-confirm-dialog{width:25vw!important}.ieeesa-cancel-modal-confirm-dialog .ieeesa-confirmation{padding:1.5em 1.5em 1em}.ieeesa-cancel-modal-confirm-dialog .ieeesa-confirmation .mat-mdc-dialog-content{text-align:center;padding:0 0 1em!important}@media (max-width: 768px){.ieeesa-cancel-modal-confirm-dialog{width:90vw!important}}.ieeesa-slide-toggle-field .mat-mdc-slide-toggle .mdc-label{font-family:Calibri Regular;font-style:normal;font-weight:400;font-size:1rem;line-height:24px;color:#49454f;letter-spacing:0}.ieeesa-slide-toggle-field .mat-mdc-slide-toggle.cdk-keyboard-focused .mdc-switch{border:1px solid #000000}.ieeesa-slide-toggle-field .mat-mdc-slide-toggle.cdk-focused .mdc-label{color:#00629b}.ieeesa-slide-toggle-field .mat-mdc-slide-toggle .mat-mdc-slide-toggle-ripple{display:none!important}.ieeesa-slide-toggle-field .mat-mdc-slide-toggle .mdc-switch--unselected.mdc-switch--disabled,.ieeesa-slide-toggle-field .mat-mdc-slide-toggle .mdc-switch.mdc-switch--disabled+.mdc-label{color:#c0c7cd}.ieeesa-slide-toggle-field .mat-mdc-slide-toggle .mdc-switch--unselected.mdc-switch--disabled .mdc-switch__track:before,.ieeesa-slide-toggle-field .mat-mdc-slide-toggle .mdc-switch--unselected.mdc-switch--disabled .mdc-switch__track:after,.ieeesa-slide-toggle-field .mat-mdc-slide-toggle .mdc-switch.mdc-switch--disabled+.mdc-label .mdc-switch__track:before,.ieeesa-slide-toggle-field .mat-mdc-slide-toggle .mdc-switch.mdc-switch--disabled+.mdc-label .mdc-switch__track:after{border:1px solid #c0c7cd}.ieeesa-slide-toggle-field .mat-mdc-slide-toggle .mdc-switch--unselected.mdc-switch--disabled .mdc-switch__handle .mdc-switch__shadow,.ieeesa-slide-toggle-field .mat-mdc-slide-toggle .mdc-switch.mdc-switch--disabled+.mdc-label .mdc-switch__handle .mdc-switch__shadow{border:1px solid #c0c7cd}.ieeesa-slide-toggle-field .mat-mdc-slide-toggle .mdc-switch--unselected .mdc-switch__track:before,.ieeesa-slide-toggle-field .mat-mdc-slide-toggle .mdc-switch--unselected .mdc-switch__track:after{border-radius:100px;border:1px solid #00629b;background:#fff!important}.ieeesa-slide-toggle-field .mat-mdc-slide-toggle .mdc-switch--unselected .mdc-switch__handle .mdc-switch__shadow{box-shadow:none!important;background:#fff!important;border:1px solid #00629b}.ieeesa-slide-toggle-field .mat-mdc-slide-toggle .mdc-switch--selected .mdc-switch__track:before,.ieeesa-slide-toggle-field .mat-mdc-slide-toggle .mdc-switch--selected .mdc-switch__track:after{border-radius:100px;border:1px solid #00629b;background:#00629b!important}.ieeesa-slide-toggle-field .mat-mdc-slide-toggle .mdc-switch--selected .mdc-switch__handle{background:#00629b!important}.ieeesa-slide-toggle-field .mat-mdc-slide-toggle .mdc-switch--selected .mdc-switch__handle .mdc-switch__shadow{box-shadow:none!important;background:#fff!important;border:1px solid #00629b}.ieeesa-slide-toggle-field .mat-mdc-slide-toggle .mdc-switch .mdc-switch__ripple{display:none}.ieeesa-slide-toggle-field .mat-mdc-slide-toggle .mdc-switch .mdc-switch__track{height:1.29em;width:2.29em}.ieeesa-slide-toggle-field .mat-mdc-slide-toggle .mdc-switch .mdc-switch__track:before,.ieeesa-slide-toggle-field .mat-mdc-slide-toggle .mdc-switch .mdc-switch__track:after{height:1.29em}.ieeesa-slide-toggle-field .mat-mdc-slide-toggle .mdc-switch .mdc-switch__handle{width:1.29em;height:1.29em}.ieeesa-slide-toggle-field .mat-mdc-slide-toggle .mdc-switch .mdc-switch__handle__icons .mdc-switch__icon{display:none}.ieeesa-slide-toggle-field .mat-mdc-slide-toggle .mdc-switch .mdc-switch__icons .mdc-switch__icon{fill:#00629b}.ieeesa-slide-toggle-field .mat-mdc-slide-toggle .mdc-switch .mdc-switch__icons .mdc-switch__icon--on{width:15px;height:13px}.ieeesa-slide-toggle-field .mat-mdc-slide-toggle .mdc-switch .mdc-switch__icons .mdc-switch__icon--off{position:relative;left:2px;width:23px;height:30px}.ieeesa-slide-toggle-field .mat-mdc-slide-toggle .mdc-switch .mdc-switch__icons .mdc-switch__icon--off path{d:path(\"M10.333 3.205L9.62801 2.5L6.83301 5.295L4.03801 2.5L3.33301 3.205L6.12801 6L3.33301 8.795L4.03801 9.5L6.83301 6.705L9.62801 9.5L10.333 8.795L7.53801 6L10.333 3.205Z\")!important}\n"] }]
|
|
83
|
+
], encapsulation: ViewEncapsulation.None, template: "<div [formGroup]=\"group\" class=\"ieeesa-slide-toggle-field\" *ngIf=\"group\">\r\n <mat-slide-toggle\r\n [formControlName]=\"config.controlName\"\r\n [aria-label]=\"config.ariaLabel ?? slideToggleOption.ariaLabel ?? ''\"\r\n [aria-describedby]=\"config.ariaDescribedById ?? ''\"\r\n [checked]=\"slideToggleOption.checked\"\r\n [disabled]=\"isDisabled\"\r\n [(ngModel)]=\"slideToggleOption.checked\"\r\n (change)=\"onSlideToggleChange($event)\"\r\n [hideIcon]=\"!canShowIcon\"\r\n #slideToggle\r\n >{{ slideToggleOption?.label }}</mat-slide-toggle\r\n >\r\n <ieeesa-form-error [formGroup]=\"group\" [config]=\"config\"> </ieeesa-form-error>\r\n <ieeesa-form-support-text\r\n [formGroup]=\"group\"\r\n [config]=\"config\"\r\n ></ieeesa-form-support-text>\r\n</div>\r\n", styles: [".ieeesa-subtitle{text-align:left;font-family:Calibri Regular;font-size:1.5625rem;letter-spacing:0;color:#000;opacity:1}.ieeesa-body{text-align:left;font-family:Calibri Regular;font-size:1.25rem;letter-spacing:0;color:#000;opacity:1}.ieeesa-display-lg-57{font-family:Calibri Regular;font-style:normal;font-weight:400;font-size:3.5625rem;line-height:64px;color:#000;letter-spacing:0}.ieeesa-display-md-45{font-family:Calibri Regular;font-style:normal;font-weight:400;font-size:2.813rem;line-height:52px;color:#000;letter-spacing:0}.ieeesa-display-md-47{font-family:Calibri Regular;font-style:normal;font-weight:400;font-size:2.9375rem;line-height:52px;color:#000;letter-spacing:0}.ieeesa-display-sm-38{font-family:Calibri Regular;font-style:normal;font-weight:400;font-size:2.375rem;line-height:44px;color:#000;letter-spacing:0}.ieeesa-headline-lg-32{font-family:Calibri Regular;font-style:normal;font-weight:400;font-size:2rem;line-height:40px;color:#000;letter-spacing:0}.ieeesa-headline-lg-34{font-family:Calibri Regular;font-style:normal;font-weight:400;font-size:2.125rem;line-height:40px;color:#000;letter-spacing:0}.ieeesa-headline-md-30{font-family:Calibri Regular;font-style:normal;font-weight:400;font-size:1.875rem;line-height:36px;color:#000;letter-spacing:0}.ieeesa-headline-sm-24{font-family:Calibri Regular;font-style:normal;font-weight:400;font-size:1.5rem;line-height:32px;color:#00629b;letter-spacing:0}.ieeesa-headline-sm-26{font-family:Calibri Regular;font-style:normal;font-weight:400;font-size:1.625rem;line-height:32px;color:#000;letter-spacing:0}.ieeesa-title-lg-bold-24{font-family:Calibri Bold;font-style:normal;font-weight:700;font-size:1.5rem;line-height:28px;color:#000;letter-spacing:0}.ieeesa-title-lg-24{font-family:Calibri Regular;font-style:normal;font-weight:400;font-size:1.5rem;line-height:28px;color:#000;letter-spacing:0}.ieeesa-title-md-18{font-family:Calibri Regular;font-style:normal;font-weight:400;font-size:1.125rem;line-height:24px;color:#000;letter-spacing:.009375em}.ieeesa-title-sm-14{font-family:Calibri Regular;font-style:normal;font-weight:400;font-size:.875rem;line-height:20px;color:#000;letter-spacing:.00625em}.ieeesa-title-sm-16{font-family:Calibri Regular;font-style:normal;font-weight:400;font-size:1rem;line-height:20px;color:#000;letter-spacing:.00625em}.ieeesa-label-lg-bold-16{font-family:Calibri Bold;font-style:normal;font-weight:700;font-size:1rem;line-height:20px;color:#000;letter-spacing:.00625em}.ieeesa-label-lg-16{font-family:Calibri Regular;font-style:normal;font-weight:400;font-size:1rem;line-height:20px;color:#000;letter-spacing:.00625em}.ieeesa-btn-label-lg-bold-16{font-family:Calibri Regular;font-style:normal;font-weight:700;font-size:1rem;line-height:20px;color:#00629b;letter-spacing:.00625em}.ieeesa-label-md-14{font-family:Calibri Regular;font-style:normal;font-weight:400;font-size:.875rem;line-height:16px;color:#000;letter-spacing:.03125em}.ieeesa-label-sm-13{font-family:Calibri Regular;font-style:normal;font-weight:400;font-size:.8125rem;line-height:16px;color:#000;letter-spacing:.03125em}.ieeesa-body-lg-bold-16{font-family:Calibri Bold;font-style:normal;font-weight:700;font-size:1rem;line-height:24px;color:#000;letter-spacing:.03125em}.ieeesa-body-lg-bold-18{font-family:Calibri Bold;font-style:normal;font-weight:700;font-size:1.125rem;line-height:24px;color:#000;letter-spacing:.03125em}.ieeesa-body-lg-18{font-family:Calibri Regular;font-style:normal;font-weight:400;font-size:1.125rem;line-height:24px;color:#000;letter-spacing:.03125em}.ieeesa-body-md-14{font-family:Calibri Regular;font-style:normal;font-weight:400;font-size:.875rem;line-height:20px;color:#1c1b1f;letter-spacing:.015625em}.ieeesa-body-md-16{font-family:Calibri Regular;font-style:normal;font-weight:400;font-size:1rem;line-height:20px;color:#000;letter-spacing:.015625em}.ieeesa-body-sm-14{font-family:Calibri Regular;font-style:normal;font-weight:400;font-size:.875rem;line-height:16px;color:#000;letter-spacing:.025em}.ieeesa-body-color-sm-14{font-family:Calibri Regular;font-style:normal;font-weight:400;font-size:.875rem;line-height:18px;color:#49454f;letter-spacing:.025em}.ieeesa-body-sm-bold-14{font-family:Calibri Bold;font-style:normal;font-weight:700;font-size:.875rem;line-height:16px;color:#000;letter-spacing:.025em}.ieeesa-title-inter-lg-bold-24{font-family:Inter Bold;font-style:normal;font-weight:700;font-size:1.5rem;line-height:29px;color:#000;letter-spacing:0}.mat-mdc-button.mat-mdc-button-base.mat-primary-button,.mat-mdc-button.mat-mdc-button-base.mat-secondary-button,.mat-mdc-button.mat-mdc-button-base.mat-tertiary-button,.mat-mdc-button.mat-mdc-button-base.mat-text-button{min-width:103px;width:auto;min-height:40px;height:auto;border-radius:3px;text-align:center;padding:.625em 1.5em;border:none;font-family:Calibri Bold;font-style:normal;font-weight:700;font-size:1rem;line-height:20px;color:#000;letter-spacing:.00625em}.mat-mdc-button.mat-mdc-button-base>.mat-icon{margin-right:11px}.mat-mdc-button.mat-mdc-button-base.mat-primary-button{background-color:#00629b;color:#fff}.mat-mdc-button.mat-mdc-button-base.mat-primary-button:hover{background-color:#003e65}.mat-mdc-button.mat-mdc-button-base.mat-primary-button:active{background-color:#00629b}.mat-mdc-button.mat-mdc-button-base.mat-primary-button:disabled{background-color:#1c1b1f1f}.mat-mdc-button.mat-mdc-button-base.mat-secondary-button{color:#fff;background:#a7a8aa;box-shadow:0 1px 2px #0000004d,0 2px 6px 2px #00000026}.mat-mdc-button.mat-mdc-button-base.mat-secondary-button:hover{background:#a7a8aa}.mat-mdc-button.mat-mdc-button-base.mat-secondary-button:active{background:#1d192b1f}.mat-mdc-button.mat-mdc-button-base.mat-secondary-button:disabled{background:#1c1b1f1f;color:#1c1b1f;opacity:.38}.mat-mdc-button.mat-mdc-button-base.mat-tertiary-button{background-color:#fff;border:1px solid #00629b;color:#00629b}.mat-mdc-button.mat-mdc-button-base.mat-tertiary-button:hover{background-color:#6750a414}.mat-mdc-button.mat-mdc-button-base.mat-tertiary-button:active{background:#6750a41f}.mat-mdc-button.mat-mdc-button-base.mat-tertiary-button:disabled{border:1px solid rgba(28,27,31,.12);color:#1c1b1f;opacity:.38}.mat-mdc-button.mat-mdc-button-base.mat-text-button{color:#00629b}.mat-mdc-button.mat-mdc-button-base.mat-text-button:hover,.mat-mdc-button.mat-mdc-button-base.mat-text-button:active{background:#6750a414}.mat-mdc-button.mat-mdc-button-base.mat-text-button:disabled{color:#1c1b1f;opacity:.38}.ieeesa-text-button{color:#cac4d0;background:none;border:none}.ieeesa-view-more-or-less-button{border:none;background:none;text-decoration:underline;color:#00629b}.flex-align-center{display:flex;align-items:center;justify-content:center}.mat-button-toggle-checked{background-color:#a7a8aa}.mat-button-toggle-checked .mat-button-toggle-label-content:before{font-family:\"Font Awesome 5 Free\";font-weight:900;content:\"\\f00c\";padding-right:.5625em}.mat-button-toggle-group .mat-button-toggle-label-content{font-family:Calibri Bold;font-style:normal;font-weight:700;font-size:1rem;line-height:20px;color:#1c1b1f;letter-spacing:.00625em}.no-bg-color-btn{color:#00629b;border-radius:3px;border:1px solid #00629b;min-height:40px;height:auto}@media (max-width: 768px){.mat-button-toggle-group .mat-button-toggle-label-content{max-width:8ch;text-overflow:ellipsis;white-space:nowrap;overflow:hidden;position:relative}}.cdk-overlay-pane .mat-mdc-tooltip .mdc-tooltip__surface{color:#525252;padding:6px 12px;font-family:Calibri Regular;font-size:1rem;border:1px solid #cac4d0;background:#fff;box-shadow:0 4px 8px #00000040;max-width:unset!important}.cdk-overlay-pane .mat-mdc-option .mdc-list-item__primary-text{font-family:Calibri Regular!important}.cdk-overlay-pane.ieeesa-modal-confirm-dialog,.cdk-overlay-pane.ieeesa-modal-dialog,.cdk-overlay-pane.ieeesa-alert-dialog{width:100%;min-width:312px}.mat-mdc-form-field{font-family:Calibri Regular;font-style:normal;font-weight:400;font-size:1rem;line-height:24px;color:#49454f;letter-spacing:.03125em}.ieeesa-cancel-modal-confirm-dialog{width:25vw!important}.ieeesa-cancel-modal-confirm-dialog .ieeesa-confirmation{padding:1.5em 1.5em 1em}.ieeesa-cancel-modal-confirm-dialog .ieeesa-confirmation .mat-mdc-dialog-content{text-align:center;padding:0 0 1em!important}@media (max-width: 768px){.ieeesa-cancel-modal-confirm-dialog{width:90vw!important}}.ieeesa-slide-toggle-field .mat-mdc-slide-toggle .mdc-label{font-family:Calibri Regular;font-style:normal;font-weight:400;font-size:1rem;line-height:24px;color:#49454f;letter-spacing:0}.ieeesa-slide-toggle-field .mat-mdc-slide-toggle.cdk-keyboard-focused .mdc-switch{border:1px solid #000000}.ieeesa-slide-toggle-field .mat-mdc-slide-toggle.cdk-focused .mdc-label{color:#00629b}.ieeesa-slide-toggle-field .mat-mdc-slide-toggle .mat-mdc-slide-toggle-ripple{display:none!important}.ieeesa-slide-toggle-field .mat-mdc-slide-toggle .mdc-switch--unselected.mdc-switch--disabled,.ieeesa-slide-toggle-field .mat-mdc-slide-toggle .mdc-switch.mdc-switch--disabled+.mdc-label{color:#c0c7cd}.ieeesa-slide-toggle-field .mat-mdc-slide-toggle .mdc-switch--unselected.mdc-switch--disabled .mdc-switch__track:before,.ieeesa-slide-toggle-field .mat-mdc-slide-toggle .mdc-switch--unselected.mdc-switch--disabled .mdc-switch__track:after,.ieeesa-slide-toggle-field .mat-mdc-slide-toggle .mdc-switch.mdc-switch--disabled+.mdc-label .mdc-switch__track:before,.ieeesa-slide-toggle-field .mat-mdc-slide-toggle .mdc-switch.mdc-switch--disabled+.mdc-label .mdc-switch__track:after{border:1px solid #c0c7cd}.ieeesa-slide-toggle-field .mat-mdc-slide-toggle .mdc-switch--unselected.mdc-switch--disabled .mdc-switch__handle .mdc-switch__shadow,.ieeesa-slide-toggle-field .mat-mdc-slide-toggle .mdc-switch.mdc-switch--disabled+.mdc-label .mdc-switch__handle .mdc-switch__shadow{border:1px solid #c0c7cd}.ieeesa-slide-toggle-field .mat-mdc-slide-toggle .mdc-switch--unselected .mdc-switch__track:before,.ieeesa-slide-toggle-field .mat-mdc-slide-toggle .mdc-switch--unselected .mdc-switch__track:after{border-radius:100px;border:1px solid #00629b;background:#fff!important}.ieeesa-slide-toggle-field .mat-mdc-slide-toggle .mdc-switch--unselected .mdc-switch__handle .mdc-switch__shadow{box-shadow:none!important;background:#fff!important;border:1px solid #00629b}.ieeesa-slide-toggle-field .mat-mdc-slide-toggle .mdc-switch--selected .mdc-switch__track:before,.ieeesa-slide-toggle-field .mat-mdc-slide-toggle .mdc-switch--selected .mdc-switch__track:after{border-radius:100px;border:1px solid #00629b;background:#00629b!important}.ieeesa-slide-toggle-field .mat-mdc-slide-toggle .mdc-switch--selected .mdc-switch__handle{background:#00629b!important}.ieeesa-slide-toggle-field .mat-mdc-slide-toggle .mdc-switch--selected .mdc-switch__handle .mdc-switch__shadow{box-shadow:none!important;background:#fff!important;border:1px solid #00629b}.ieeesa-slide-toggle-field .mat-mdc-slide-toggle .mdc-switch .mdc-switch__ripple{display:none}.ieeesa-slide-toggle-field .mat-mdc-slide-toggle .mdc-switch .mdc-switch__track{height:1.29em;width:2.29em}.ieeesa-slide-toggle-field .mat-mdc-slide-toggle .mdc-switch .mdc-switch__track:before,.ieeesa-slide-toggle-field .mat-mdc-slide-toggle .mdc-switch .mdc-switch__track:after{height:1.29em}.ieeesa-slide-toggle-field .mat-mdc-slide-toggle .mdc-switch .mdc-switch__handle{width:1.29em;height:1.29em}.ieeesa-slide-toggle-field .mat-mdc-slide-toggle .mdc-switch .mdc-switch__handle__icons .mdc-switch__icon{display:none}.ieeesa-slide-toggle-field .mat-mdc-slide-toggle .mdc-switch .mdc-switch__icons .mdc-switch__icon{fill:#00629b}.ieeesa-slide-toggle-field .mat-mdc-slide-toggle .mdc-switch .mdc-switch__icons .mdc-switch__icon--on{width:15px;height:13px}.ieeesa-slide-toggle-field .mat-mdc-slide-toggle .mdc-switch .mdc-switch__icons .mdc-switch__icon--off{position:relative;left:2px;width:23px;height:30px}\n"] }]
|
|
72
84
|
}], ctorParameters: function () { return [{ type: i1.FormUtilityService }]; }, propDecorators: { formControlName: [{
|
|
73
85
|
type: Input
|
|
74
86
|
}], slideToggle: [{
|
|
@@ -79,5 +91,8 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImpo
|
|
|
79
91
|
type: Input
|
|
80
92
|
}], slideToggleChange: [{
|
|
81
93
|
type: Output
|
|
94
|
+
}], matSlideToggleElement: [{
|
|
95
|
+
type: ViewChild,
|
|
96
|
+
args: ['slideToggle', { read: ElementRef }]
|
|
82
97
|
}] } });
|
|
83
|
-
//# sourceMappingURL=data:application/json;base64,
|
|
98
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoic2xpZGUtdG9nZ2xlLmNvbXBvbmVudC5q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kaXY+XHJcbiJdfQ==
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import * as i0 from '@angular/core';
|
|
2
|
-
import { Component, Input, EventEmitter, forwardRef, Output, Injectable, ViewEncapsulation, ViewChild, Inject, ViewChildren, Directive, HostBinding, HostListener, ViewContainerRef, NgModule } from '@angular/core';
|
|
2
|
+
import { Component, Input, EventEmitter, forwardRef, Output, Injectable, ViewEncapsulation, ViewChild, Inject, ViewChildren, ElementRef, Directive, HostBinding, HostListener, ViewContainerRef, NgModule } from '@angular/core';
|
|
3
3
|
import { Subject, fromEvent, takeUntil, map, filter as filter$1, debounceTime, distinctUntilChanged, catchError, tap, last } from 'rxjs';
|
|
4
4
|
import * as i2 from '@angular/common';
|
|
5
5
|
import { CommonModule, NgClass } from '@angular/common';
|
|
@@ -2406,6 +2406,7 @@ class SlideToggleComponent {
|
|
|
2406
2406
|
this.isDisabled = false;
|
|
2407
2407
|
this.canShowIcon = false;
|
|
2408
2408
|
this.slideToggleChange = new EventEmitter();
|
|
2409
|
+
this.crossIconSVG = 'M10.333 3.205L9.62801 2.5L6.83301 5.295L4.03801 2.5L3.33301 3.205L6.12801 6L3.33301 8.795L4.03801 9.5L6.83301 6.705L9.62801 9.5L10.333 8.795L7.53801 6L10.333 3.205Z';
|
|
2409
2410
|
}
|
|
2410
2411
|
/**
|
|
2411
2412
|
* On slide toggle sets slideToggleOption checked and emit slideToggleChange event emitter.
|
|
@@ -2432,8 +2433,19 @@ class SlideToggleComponent {
|
|
|
2432
2433
|
this.config?.slideToggleOption ?? this.slideToggleOption;
|
|
2433
2434
|
this.isDisabled = this.config?.disabled ?? this.isDisabled;
|
|
2434
2435
|
}
|
|
2436
|
+
/**
|
|
2437
|
+
* Updates the cross icon path for the off state of the slide toggle button.
|
|
2438
|
+
* @memberof SlideToggleComponent
|
|
2439
|
+
*/
|
|
2440
|
+
ngAfterViewInit() {
|
|
2441
|
+
if (this.matSlideToggleElement && this.canShowIcon) {
|
|
2442
|
+
this.matSlideToggleElement?.nativeElement
|
|
2443
|
+
?.querySelector('.mdc-switch__icon--off')
|
|
2444
|
+
.firstChild.setAttribute('d', this.crossIconSVG);
|
|
2445
|
+
}
|
|
2446
|
+
}
|
|
2435
2447
|
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: SlideToggleComponent, deps: [{ token: FormUtilityService }], target: i0.ɵɵFactoryTarget.Component }); }
|
|
2436
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.2.12", type: SlideToggleComponent, isStandalone: true, selector: "ieeesa-slide-toggle", inputs: { formControlName: "formControlName", slideToggle: "slideToggle", isDisabled: "isDisabled", canShowIcon: "canShowIcon" }, outputs: { slideToggleChange: "slideToggleChange" }, ngImport: i0, template: "<div [formGroup]=\"group\" class=\"ieeesa-slide-toggle-field\" *ngIf=\"group\">\r\n <mat-slide-toggle\r\n [formControlName]=\"config.controlName\"\r\n [aria-label]=\"config.ariaLabel ?? slideToggleOption.ariaLabel ?? ''\"\r\n [aria-describedby]=\"config.ariaDescribedById ?? ''\"\r\n [checked]=\"slideToggleOption.checked\"\r\n [disabled]=\"isDisabled\"\r\n [(ngModel)]=\"slideToggleOption.checked\"\r\n (change)=\"onSlideToggleChange($event)\"\r\n [hideIcon]=\"!canShowIcon\"\r\n #slideToggle\r\n >{{ slideToggleOption?.label }}</mat-slide-toggle\r\n >\r\n <ieeesa-form-error [formGroup]=\"group\" [config]=\"config\"> </ieeesa-form-error>\r\n <ieeesa-form-support-text\r\n [formGroup]=\"group\"\r\n [config]=\"config\"\r\n ></ieeesa-form-support-text>\r\n</div>\r\n", styles: [".ieeesa-subtitle{text-align:left;font-family:Calibri Regular;font-size:1.5625rem;letter-spacing:0;color:#000;opacity:1}.ieeesa-body{text-align:left;font-family:Calibri Regular;font-size:1.25rem;letter-spacing:0;color:#000;opacity:1}.ieeesa-display-lg-57{font-family:Calibri Regular;font-style:normal;font-weight:400;font-size:3.5625rem;line-height:64px;color:#000;letter-spacing:0}.ieeesa-display-md-45{font-family:Calibri Regular;font-style:normal;font-weight:400;font-size:2.813rem;line-height:52px;color:#000;letter-spacing:0}.ieeesa-display-md-47{font-family:Calibri Regular;font-style:normal;font-weight:400;font-size:2.9375rem;line-height:52px;color:#000;letter-spacing:0}.ieeesa-display-sm-38{font-family:Calibri Regular;font-style:normal;font-weight:400;font-size:2.375rem;line-height:44px;color:#000;letter-spacing:0}.ieeesa-headline-lg-32{font-family:Calibri Regular;font-style:normal;font-weight:400;font-size:2rem;line-height:40px;color:#000;letter-spacing:0}.ieeesa-headline-lg-34{font-family:Calibri Regular;font-style:normal;font-weight:400;font-size:2.125rem;line-height:40px;color:#000;letter-spacing:0}.ieeesa-headline-md-30{font-family:Calibri Regular;font-style:normal;font-weight:400;font-size:1.875rem;line-height:36px;color:#000;letter-spacing:0}.ieeesa-headline-sm-24{font-family:Calibri Regular;font-style:normal;font-weight:400;font-size:1.5rem;line-height:32px;color:#00629b;letter-spacing:0}.ieeesa-headline-sm-26{font-family:Calibri Regular;font-style:normal;font-weight:400;font-size:1.625rem;line-height:32px;color:#000;letter-spacing:0}.ieeesa-title-lg-bold-24{font-family:Calibri Bold;font-style:normal;font-weight:700;font-size:1.5rem;line-height:28px;color:#000;letter-spacing:0}.ieeesa-title-lg-24{font-family:Calibri Regular;font-style:normal;font-weight:400;font-size:1.5rem;line-height:28px;color:#000;letter-spacing:0}.ieeesa-title-md-18{font-family:Calibri Regular;font-style:normal;font-weight:400;font-size:1.125rem;line-height:24px;color:#000;letter-spacing:.009375em}.ieeesa-title-sm-14{font-family:Calibri Regular;font-style:normal;font-weight:400;font-size:.875rem;line-height:20px;color:#000;letter-spacing:.00625em}.ieeesa-title-sm-16{font-family:Calibri Regular;font-style:normal;font-weight:400;font-size:1rem;line-height:20px;color:#000;letter-spacing:.00625em}.ieeesa-label-lg-bold-16{font-family:Calibri Bold;font-style:normal;font-weight:700;font-size:1rem;line-height:20px;color:#000;letter-spacing:.00625em}.ieeesa-label-lg-16{font-family:Calibri Regular;font-style:normal;font-weight:400;font-size:1rem;line-height:20px;color:#000;letter-spacing:.00625em}.ieeesa-btn-label-lg-bold-16{font-family:Calibri Regular;font-style:normal;font-weight:700;font-size:1rem;line-height:20px;color:#00629b;letter-spacing:.00625em}.ieeesa-label-md-14{font-family:Calibri Regular;font-style:normal;font-weight:400;font-size:.875rem;line-height:16px;color:#000;letter-spacing:.03125em}.ieeesa-label-sm-13{font-family:Calibri Regular;font-style:normal;font-weight:400;font-size:.8125rem;line-height:16px;color:#000;letter-spacing:.03125em}.ieeesa-body-lg-bold-16{font-family:Calibri Bold;font-style:normal;font-weight:700;font-size:1rem;line-height:24px;color:#000;letter-spacing:.03125em}.ieeesa-body-lg-bold-18{font-family:Calibri Bold;font-style:normal;font-weight:700;font-size:1.125rem;line-height:24px;color:#000;letter-spacing:.03125em}.ieeesa-body-lg-18{font-family:Calibri Regular;font-style:normal;font-weight:400;font-size:1.125rem;line-height:24px;color:#000;letter-spacing:.03125em}.ieeesa-body-md-14{font-family:Calibri Regular;font-style:normal;font-weight:400;font-size:.875rem;line-height:20px;color:#1c1b1f;letter-spacing:.015625em}.ieeesa-body-md-16{font-family:Calibri Regular;font-style:normal;font-weight:400;font-size:1rem;line-height:20px;color:#000;letter-spacing:.015625em}.ieeesa-body-sm-14{font-family:Calibri Regular;font-style:normal;font-weight:400;font-size:.875rem;line-height:16px;color:#000;letter-spacing:.025em}.ieeesa-body-color-sm-14{font-family:Calibri Regular;font-style:normal;font-weight:400;font-size:.875rem;line-height:18px;color:#49454f;letter-spacing:.025em}.ieeesa-body-sm-bold-14{font-family:Calibri Bold;font-style:normal;font-weight:700;font-size:.875rem;line-height:16px;color:#000;letter-spacing:.025em}.ieeesa-title-inter-lg-bold-24{font-family:Inter Bold;font-style:normal;font-weight:700;font-size:1.5rem;line-height:29px;color:#000;letter-spacing:0}.mat-mdc-button.mat-mdc-button-base.mat-primary-button,.mat-mdc-button.mat-mdc-button-base.mat-secondary-button,.mat-mdc-button.mat-mdc-button-base.mat-tertiary-button,.mat-mdc-button.mat-mdc-button-base.mat-text-button{min-width:103px;width:auto;min-height:40px;height:auto;border-radius:3px;text-align:center;padding:.625em 1.5em;border:none;font-family:Calibri Bold;font-style:normal;font-weight:700;font-size:1rem;line-height:20px;color:#000;letter-spacing:.00625em}.mat-mdc-button.mat-mdc-button-base>.mat-icon{margin-right:11px}.mat-mdc-button.mat-mdc-button-base.mat-primary-button{background-color:#00629b;color:#fff}.mat-mdc-button.mat-mdc-button-base.mat-primary-button:hover{background-color:#003e65}.mat-mdc-button.mat-mdc-button-base.mat-primary-button:active{background-color:#00629b}.mat-mdc-button.mat-mdc-button-base.mat-primary-button:disabled{background-color:#1c1b1f1f}.mat-mdc-button.mat-mdc-button-base.mat-secondary-button{color:#fff;background:#a7a8aa;box-shadow:0 1px 2px #0000004d,0 2px 6px 2px #00000026}.mat-mdc-button.mat-mdc-button-base.mat-secondary-button:hover{background:#a7a8aa}.mat-mdc-button.mat-mdc-button-base.mat-secondary-button:active{background:#1d192b1f}.mat-mdc-button.mat-mdc-button-base.mat-secondary-button:disabled{background:#1c1b1f1f;color:#1c1b1f;opacity:.38}.mat-mdc-button.mat-mdc-button-base.mat-tertiary-button{background-color:#fff;border:1px solid #00629b;color:#00629b}.mat-mdc-button.mat-mdc-button-base.mat-tertiary-button:hover{background-color:#6750a414}.mat-mdc-button.mat-mdc-button-base.mat-tertiary-button:active{background:#6750a41f}.mat-mdc-button.mat-mdc-button-base.mat-tertiary-button:disabled{border:1px solid rgba(28,27,31,.12);color:#1c1b1f;opacity:.38}.mat-mdc-button.mat-mdc-button-base.mat-text-button{color:#00629b}.mat-mdc-button.mat-mdc-button-base.mat-text-button:hover,.mat-mdc-button.mat-mdc-button-base.mat-text-button:active{background:#6750a414}.mat-mdc-button.mat-mdc-button-base.mat-text-button:disabled{color:#1c1b1f;opacity:.38}.ieeesa-text-button{color:#cac4d0;background:none;border:none}.ieeesa-view-more-or-less-button{border:none;background:none;text-decoration:underline;color:#00629b}.flex-align-center{display:flex;align-items:center;justify-content:center}.mat-button-toggle-checked{background-color:#a7a8aa}.mat-button-toggle-checked .mat-button-toggle-label-content:before{font-family:\"Font Awesome 5 Free\";font-weight:900;content:\"\\f00c\";padding-right:.5625em}.mat-button-toggle-group .mat-button-toggle-label-content{font-family:Calibri Bold;font-style:normal;font-weight:700;font-size:1rem;line-height:20px;color:#1c1b1f;letter-spacing:.00625em}.no-bg-color-btn{color:#00629b;border-radius:3px;border:1px solid #00629b;min-height:40px;height:auto}@media (max-width: 768px){.mat-button-toggle-group .mat-button-toggle-label-content{max-width:8ch;text-overflow:ellipsis;white-space:nowrap;overflow:hidden;position:relative}}.cdk-overlay-pane .mat-mdc-tooltip .mdc-tooltip__surface{color:#525252;padding:6px 12px;font-family:Calibri Regular;font-size:1rem;border:1px solid #cac4d0;background:#fff;box-shadow:0 4px 8px #00000040;max-width:unset!important}.cdk-overlay-pane .mat-mdc-option .mdc-list-item__primary-text{font-family:Calibri Regular!important}.cdk-overlay-pane.ieeesa-modal-confirm-dialog,.cdk-overlay-pane.ieeesa-modal-dialog,.cdk-overlay-pane.ieeesa-alert-dialog{width:100%;min-width:312px}.mat-mdc-form-field{font-family:Calibri Regular;font-style:normal;font-weight:400;font-size:1rem;line-height:24px;color:#49454f;letter-spacing:.03125em}.ieeesa-cancel-modal-confirm-dialog{width:25vw!important}.ieeesa-cancel-modal-confirm-dialog .ieeesa-confirmation{padding:1.5em 1.5em 1em}.ieeesa-cancel-modal-confirm-dialog .ieeesa-confirmation .mat-mdc-dialog-content{text-align:center;padding:0 0 1em!important}@media (max-width: 768px){.ieeesa-cancel-modal-confirm-dialog{width:90vw!important}}.ieeesa-slide-toggle-field .mat-mdc-slide-toggle .mdc-label{font-family:Calibri Regular;font-style:normal;font-weight:400;font-size:1rem;line-height:24px;color:#49454f;letter-spacing:0}.ieeesa-slide-toggle-field .mat-mdc-slide-toggle.cdk-keyboard-focused .mdc-switch{border:1px solid #000000}.ieeesa-slide-toggle-field .mat-mdc-slide-toggle.cdk-focused .mdc-label{color:#00629b}.ieeesa-slide-toggle-field .mat-mdc-slide-toggle .mat-mdc-slide-toggle-ripple{display:none!important}.ieeesa-slide-toggle-field .mat-mdc-slide-toggle .mdc-switch--unselected.mdc-switch--disabled,.ieeesa-slide-toggle-field .mat-mdc-slide-toggle .mdc-switch.mdc-switch--disabled+.mdc-label{color:#c0c7cd}.ieeesa-slide-toggle-field .mat-mdc-slide-toggle .mdc-switch--unselected.mdc-switch--disabled .mdc-switch__track:before,.ieeesa-slide-toggle-field .mat-mdc-slide-toggle .mdc-switch--unselected.mdc-switch--disabled .mdc-switch__track:after,.ieeesa-slide-toggle-field .mat-mdc-slide-toggle .mdc-switch.mdc-switch--disabled+.mdc-label .mdc-switch__track:before,.ieeesa-slide-toggle-field .mat-mdc-slide-toggle .mdc-switch.mdc-switch--disabled+.mdc-label .mdc-switch__track:after{border:1px solid #c0c7cd}.ieeesa-slide-toggle-field .mat-mdc-slide-toggle .mdc-switch--unselected.mdc-switch--disabled .mdc-switch__handle .mdc-switch__shadow,.ieeesa-slide-toggle-field .mat-mdc-slide-toggle .mdc-switch.mdc-switch--disabled+.mdc-label .mdc-switch__handle .mdc-switch__shadow{border:1px solid #c0c7cd}.ieeesa-slide-toggle-field .mat-mdc-slide-toggle .mdc-switch--unselected .mdc-switch__track:before,.ieeesa-slide-toggle-field .mat-mdc-slide-toggle .mdc-switch--unselected .mdc-switch__track:after{border-radius:100px;border:1px solid #00629b;background:#fff!important}.ieeesa-slide-toggle-field .mat-mdc-slide-toggle .mdc-switch--unselected .mdc-switch__handle .mdc-switch__shadow{box-shadow:none!important;background:#fff!important;border:1px solid #00629b}.ieeesa-slide-toggle-field .mat-mdc-slide-toggle .mdc-switch--selected .mdc-switch__track:before,.ieeesa-slide-toggle-field .mat-mdc-slide-toggle .mdc-switch--selected .mdc-switch__track:after{border-radius:100px;border:1px solid #00629b;background:#00629b!important}.ieeesa-slide-toggle-field .mat-mdc-slide-toggle .mdc-switch--selected .mdc-switch__handle{background:#00629b!important}.ieeesa-slide-toggle-field .mat-mdc-slide-toggle .mdc-switch--selected .mdc-switch__handle .mdc-switch__shadow{box-shadow:none!important;background:#fff!important;border:1px solid #00629b}.ieeesa-slide-toggle-field .mat-mdc-slide-toggle .mdc-switch .mdc-switch__ripple{display:none}.ieeesa-slide-toggle-field .mat-mdc-slide-toggle .mdc-switch .mdc-switch__track{height:1.29em;width:2.29em}.ieeesa-slide-toggle-field .mat-mdc-slide-toggle .mdc-switch .mdc-switch__track:before,.ieeesa-slide-toggle-field .mat-mdc-slide-toggle .mdc-switch .mdc-switch__track:after{height:1.29em}.ieeesa-slide-toggle-field .mat-mdc-slide-toggle .mdc-switch .mdc-switch__handle{width:1.29em;height:1.29em}.ieeesa-slide-toggle-field .mat-mdc-slide-toggle .mdc-switch .mdc-switch__handle__icons .mdc-switch__icon{display:none}.ieeesa-slide-toggle-field .mat-mdc-slide-toggle .mdc-switch .mdc-switch__icons .mdc-switch__icon{fill:#00629b}.ieeesa-slide-toggle-field .mat-mdc-slide-toggle .mdc-switch .mdc-switch__icons .mdc-switch__icon--on{width:15px;height:13px}.ieeesa-slide-toggle-field .mat-mdc-slide-toggle .mdc-switch .mdc-switch__icons .mdc-switch__icon--off{position:relative;left:2px;width:23px;height:30px}.ieeesa-slide-toggle-field .mat-mdc-slide-toggle .mdc-switch .mdc-switch__icons .mdc-switch__icon--off path{d:path(\"M10.333 3.205L9.62801 2.5L6.83301 5.295L4.03801 2.5L3.33301 3.205L6.12801 6L3.33301 8.795L4.03801 9.5L6.83301 6.705L9.62801 9.5L10.333 8.795L7.53801 6L10.333 3.205Z\")!important}\n"], dependencies: [{ kind: "ngmodule", type: CommonModule }, { kind: "directive", type: i2.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "ngmodule", type: ReactiveFormsModule }, { kind: "directive", type: i3.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { kind: "directive", type: i3.NgControlStatusGroup, selector: "[formGroupName],[formArrayName],[ngModelGroup],[formGroup],form:not([ngNoForm]),[ngForm]" }, { kind: "directive", type: i3.FormGroupDirective, selector: "[formGroup]", inputs: ["formGroup"], outputs: ["ngSubmit"], exportAs: ["ngForm"] }, { kind: "directive", type: i3.FormControlName, selector: "[formControlName]", inputs: ["formControlName", "disabled", "ngModel"], outputs: ["ngModelChange"] }, { kind: "ngmodule", type: MatSlideToggleModule }, { kind: "component", type: i4$2.MatSlideToggle, selector: "mat-slide-toggle", inputs: ["disabled", "disableRipple", "color", "tabIndex"], exportAs: ["matSlideToggle"] }, { kind: "component", type: FormErrorComponent, selector: "ieeesa-form-error", inputs: ["formGroup", "config", "submitResponse"] }, { kind: "component", type: FormSupportTextComponent, selector: "ieeesa-form-support-text", inputs: ["formGroup", "config"], outputs: ["supportTextLinkClick"] }], encapsulation: i0.ViewEncapsulation.None }); }
|
|
2448
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.2.12", type: SlideToggleComponent, isStandalone: true, selector: "ieeesa-slide-toggle", inputs: { formControlName: "formControlName", slideToggle: "slideToggle", isDisabled: "isDisabled", canShowIcon: "canShowIcon" }, outputs: { slideToggleChange: "slideToggleChange" }, viewQueries: [{ propertyName: "matSlideToggleElement", first: true, predicate: ["slideToggle"], descendants: true, read: ElementRef }], ngImport: i0, template: "<div [formGroup]=\"group\" class=\"ieeesa-slide-toggle-field\" *ngIf=\"group\">\r\n <mat-slide-toggle\r\n [formControlName]=\"config.controlName\"\r\n [aria-label]=\"config.ariaLabel ?? slideToggleOption.ariaLabel ?? ''\"\r\n [aria-describedby]=\"config.ariaDescribedById ?? ''\"\r\n [checked]=\"slideToggleOption.checked\"\r\n [disabled]=\"isDisabled\"\r\n [(ngModel)]=\"slideToggleOption.checked\"\r\n (change)=\"onSlideToggleChange($event)\"\r\n [hideIcon]=\"!canShowIcon\"\r\n #slideToggle\r\n >{{ slideToggleOption?.label }}</mat-slide-toggle\r\n >\r\n <ieeesa-form-error [formGroup]=\"group\" [config]=\"config\"> </ieeesa-form-error>\r\n <ieeesa-form-support-text\r\n [formGroup]=\"group\"\r\n [config]=\"config\"\r\n ></ieeesa-form-support-text>\r\n</div>\r\n", styles: [".ieeesa-subtitle{text-align:left;font-family:Calibri Regular;font-size:1.5625rem;letter-spacing:0;color:#000;opacity:1}.ieeesa-body{text-align:left;font-family:Calibri Regular;font-size:1.25rem;letter-spacing:0;color:#000;opacity:1}.ieeesa-display-lg-57{font-family:Calibri Regular;font-style:normal;font-weight:400;font-size:3.5625rem;line-height:64px;color:#000;letter-spacing:0}.ieeesa-display-md-45{font-family:Calibri Regular;font-style:normal;font-weight:400;font-size:2.813rem;line-height:52px;color:#000;letter-spacing:0}.ieeesa-display-md-47{font-family:Calibri Regular;font-style:normal;font-weight:400;font-size:2.9375rem;line-height:52px;color:#000;letter-spacing:0}.ieeesa-display-sm-38{font-family:Calibri Regular;font-style:normal;font-weight:400;font-size:2.375rem;line-height:44px;color:#000;letter-spacing:0}.ieeesa-headline-lg-32{font-family:Calibri Regular;font-style:normal;font-weight:400;font-size:2rem;line-height:40px;color:#000;letter-spacing:0}.ieeesa-headline-lg-34{font-family:Calibri Regular;font-style:normal;font-weight:400;font-size:2.125rem;line-height:40px;color:#000;letter-spacing:0}.ieeesa-headline-md-30{font-family:Calibri Regular;font-style:normal;font-weight:400;font-size:1.875rem;line-height:36px;color:#000;letter-spacing:0}.ieeesa-headline-sm-24{font-family:Calibri Regular;font-style:normal;font-weight:400;font-size:1.5rem;line-height:32px;color:#00629b;letter-spacing:0}.ieeesa-headline-sm-26{font-family:Calibri Regular;font-style:normal;font-weight:400;font-size:1.625rem;line-height:32px;color:#000;letter-spacing:0}.ieeesa-title-lg-bold-24{font-family:Calibri Bold;font-style:normal;font-weight:700;font-size:1.5rem;line-height:28px;color:#000;letter-spacing:0}.ieeesa-title-lg-24{font-family:Calibri Regular;font-style:normal;font-weight:400;font-size:1.5rem;line-height:28px;color:#000;letter-spacing:0}.ieeesa-title-md-18{font-family:Calibri Regular;font-style:normal;font-weight:400;font-size:1.125rem;line-height:24px;color:#000;letter-spacing:.009375em}.ieeesa-title-sm-14{font-family:Calibri Regular;font-style:normal;font-weight:400;font-size:.875rem;line-height:20px;color:#000;letter-spacing:.00625em}.ieeesa-title-sm-16{font-family:Calibri Regular;font-style:normal;font-weight:400;font-size:1rem;line-height:20px;color:#000;letter-spacing:.00625em}.ieeesa-label-lg-bold-16{font-family:Calibri Bold;font-style:normal;font-weight:700;font-size:1rem;line-height:20px;color:#000;letter-spacing:.00625em}.ieeesa-label-lg-16{font-family:Calibri Regular;font-style:normal;font-weight:400;font-size:1rem;line-height:20px;color:#000;letter-spacing:.00625em}.ieeesa-btn-label-lg-bold-16{font-family:Calibri Regular;font-style:normal;font-weight:700;font-size:1rem;line-height:20px;color:#00629b;letter-spacing:.00625em}.ieeesa-label-md-14{font-family:Calibri Regular;font-style:normal;font-weight:400;font-size:.875rem;line-height:16px;color:#000;letter-spacing:.03125em}.ieeesa-label-sm-13{font-family:Calibri Regular;font-style:normal;font-weight:400;font-size:.8125rem;line-height:16px;color:#000;letter-spacing:.03125em}.ieeesa-body-lg-bold-16{font-family:Calibri Bold;font-style:normal;font-weight:700;font-size:1rem;line-height:24px;color:#000;letter-spacing:.03125em}.ieeesa-body-lg-bold-18{font-family:Calibri Bold;font-style:normal;font-weight:700;font-size:1.125rem;line-height:24px;color:#000;letter-spacing:.03125em}.ieeesa-body-lg-18{font-family:Calibri Regular;font-style:normal;font-weight:400;font-size:1.125rem;line-height:24px;color:#000;letter-spacing:.03125em}.ieeesa-body-md-14{font-family:Calibri Regular;font-style:normal;font-weight:400;font-size:.875rem;line-height:20px;color:#1c1b1f;letter-spacing:.015625em}.ieeesa-body-md-16{font-family:Calibri Regular;font-style:normal;font-weight:400;font-size:1rem;line-height:20px;color:#000;letter-spacing:.015625em}.ieeesa-body-sm-14{font-family:Calibri Regular;font-style:normal;font-weight:400;font-size:.875rem;line-height:16px;color:#000;letter-spacing:.025em}.ieeesa-body-color-sm-14{font-family:Calibri Regular;font-style:normal;font-weight:400;font-size:.875rem;line-height:18px;color:#49454f;letter-spacing:.025em}.ieeesa-body-sm-bold-14{font-family:Calibri Bold;font-style:normal;font-weight:700;font-size:.875rem;line-height:16px;color:#000;letter-spacing:.025em}.ieeesa-title-inter-lg-bold-24{font-family:Inter Bold;font-style:normal;font-weight:700;font-size:1.5rem;line-height:29px;color:#000;letter-spacing:0}.mat-mdc-button.mat-mdc-button-base.mat-primary-button,.mat-mdc-button.mat-mdc-button-base.mat-secondary-button,.mat-mdc-button.mat-mdc-button-base.mat-tertiary-button,.mat-mdc-button.mat-mdc-button-base.mat-text-button{min-width:103px;width:auto;min-height:40px;height:auto;border-radius:3px;text-align:center;padding:.625em 1.5em;border:none;font-family:Calibri Bold;font-style:normal;font-weight:700;font-size:1rem;line-height:20px;color:#000;letter-spacing:.00625em}.mat-mdc-button.mat-mdc-button-base>.mat-icon{margin-right:11px}.mat-mdc-button.mat-mdc-button-base.mat-primary-button{background-color:#00629b;color:#fff}.mat-mdc-button.mat-mdc-button-base.mat-primary-button:hover{background-color:#003e65}.mat-mdc-button.mat-mdc-button-base.mat-primary-button:active{background-color:#00629b}.mat-mdc-button.mat-mdc-button-base.mat-primary-button:disabled{background-color:#1c1b1f1f}.mat-mdc-button.mat-mdc-button-base.mat-secondary-button{color:#fff;background:#a7a8aa;box-shadow:0 1px 2px #0000004d,0 2px 6px 2px #00000026}.mat-mdc-button.mat-mdc-button-base.mat-secondary-button:hover{background:#a7a8aa}.mat-mdc-button.mat-mdc-button-base.mat-secondary-button:active{background:#1d192b1f}.mat-mdc-button.mat-mdc-button-base.mat-secondary-button:disabled{background:#1c1b1f1f;color:#1c1b1f;opacity:.38}.mat-mdc-button.mat-mdc-button-base.mat-tertiary-button{background-color:#fff;border:1px solid #00629b;color:#00629b}.mat-mdc-button.mat-mdc-button-base.mat-tertiary-button:hover{background-color:#6750a414}.mat-mdc-button.mat-mdc-button-base.mat-tertiary-button:active{background:#6750a41f}.mat-mdc-button.mat-mdc-button-base.mat-tertiary-button:disabled{border:1px solid rgba(28,27,31,.12);color:#1c1b1f;opacity:.38}.mat-mdc-button.mat-mdc-button-base.mat-text-button{color:#00629b}.mat-mdc-button.mat-mdc-button-base.mat-text-button:hover,.mat-mdc-button.mat-mdc-button-base.mat-text-button:active{background:#6750a414}.mat-mdc-button.mat-mdc-button-base.mat-text-button:disabled{color:#1c1b1f;opacity:.38}.ieeesa-text-button{color:#cac4d0;background:none;border:none}.ieeesa-view-more-or-less-button{border:none;background:none;text-decoration:underline;color:#00629b}.flex-align-center{display:flex;align-items:center;justify-content:center}.mat-button-toggle-checked{background-color:#a7a8aa}.mat-button-toggle-checked .mat-button-toggle-label-content:before{font-family:\"Font Awesome 5 Free\";font-weight:900;content:\"\\f00c\";padding-right:.5625em}.mat-button-toggle-group .mat-button-toggle-label-content{font-family:Calibri Bold;font-style:normal;font-weight:700;font-size:1rem;line-height:20px;color:#1c1b1f;letter-spacing:.00625em}.no-bg-color-btn{color:#00629b;border-radius:3px;border:1px solid #00629b;min-height:40px;height:auto}@media (max-width: 768px){.mat-button-toggle-group .mat-button-toggle-label-content{max-width:8ch;text-overflow:ellipsis;white-space:nowrap;overflow:hidden;position:relative}}.cdk-overlay-pane .mat-mdc-tooltip .mdc-tooltip__surface{color:#525252;padding:6px 12px;font-family:Calibri Regular;font-size:1rem;border:1px solid #cac4d0;background:#fff;box-shadow:0 4px 8px #00000040;max-width:unset!important}.cdk-overlay-pane .mat-mdc-option .mdc-list-item__primary-text{font-family:Calibri Regular!important}.cdk-overlay-pane.ieeesa-modal-confirm-dialog,.cdk-overlay-pane.ieeesa-modal-dialog,.cdk-overlay-pane.ieeesa-alert-dialog{width:100%;min-width:312px}.mat-mdc-form-field{font-family:Calibri Regular;font-style:normal;font-weight:400;font-size:1rem;line-height:24px;color:#49454f;letter-spacing:.03125em}.ieeesa-cancel-modal-confirm-dialog{width:25vw!important}.ieeesa-cancel-modal-confirm-dialog .ieeesa-confirmation{padding:1.5em 1.5em 1em}.ieeesa-cancel-modal-confirm-dialog .ieeesa-confirmation .mat-mdc-dialog-content{text-align:center;padding:0 0 1em!important}@media (max-width: 768px){.ieeesa-cancel-modal-confirm-dialog{width:90vw!important}}.ieeesa-slide-toggle-field .mat-mdc-slide-toggle .mdc-label{font-family:Calibri Regular;font-style:normal;font-weight:400;font-size:1rem;line-height:24px;color:#49454f;letter-spacing:0}.ieeesa-slide-toggle-field .mat-mdc-slide-toggle.cdk-keyboard-focused .mdc-switch{border:1px solid #000000}.ieeesa-slide-toggle-field .mat-mdc-slide-toggle.cdk-focused .mdc-label{color:#00629b}.ieeesa-slide-toggle-field .mat-mdc-slide-toggle .mat-mdc-slide-toggle-ripple{display:none!important}.ieeesa-slide-toggle-field .mat-mdc-slide-toggle .mdc-switch--unselected.mdc-switch--disabled,.ieeesa-slide-toggle-field .mat-mdc-slide-toggle .mdc-switch.mdc-switch--disabled+.mdc-label{color:#c0c7cd}.ieeesa-slide-toggle-field .mat-mdc-slide-toggle .mdc-switch--unselected.mdc-switch--disabled .mdc-switch__track:before,.ieeesa-slide-toggle-field .mat-mdc-slide-toggle .mdc-switch--unselected.mdc-switch--disabled .mdc-switch__track:after,.ieeesa-slide-toggle-field .mat-mdc-slide-toggle .mdc-switch.mdc-switch--disabled+.mdc-label .mdc-switch__track:before,.ieeesa-slide-toggle-field .mat-mdc-slide-toggle .mdc-switch.mdc-switch--disabled+.mdc-label .mdc-switch__track:after{border:1px solid #c0c7cd}.ieeesa-slide-toggle-field .mat-mdc-slide-toggle .mdc-switch--unselected.mdc-switch--disabled .mdc-switch__handle .mdc-switch__shadow,.ieeesa-slide-toggle-field .mat-mdc-slide-toggle .mdc-switch.mdc-switch--disabled+.mdc-label .mdc-switch__handle .mdc-switch__shadow{border:1px solid #c0c7cd}.ieeesa-slide-toggle-field .mat-mdc-slide-toggle .mdc-switch--unselected .mdc-switch__track:before,.ieeesa-slide-toggle-field .mat-mdc-slide-toggle .mdc-switch--unselected .mdc-switch__track:after{border-radius:100px;border:1px solid #00629b;background:#fff!important}.ieeesa-slide-toggle-field .mat-mdc-slide-toggle .mdc-switch--unselected .mdc-switch__handle .mdc-switch__shadow{box-shadow:none!important;background:#fff!important;border:1px solid #00629b}.ieeesa-slide-toggle-field .mat-mdc-slide-toggle .mdc-switch--selected .mdc-switch__track:before,.ieeesa-slide-toggle-field .mat-mdc-slide-toggle .mdc-switch--selected .mdc-switch__track:after{border-radius:100px;border:1px solid #00629b;background:#00629b!important}.ieeesa-slide-toggle-field .mat-mdc-slide-toggle .mdc-switch--selected .mdc-switch__handle{background:#00629b!important}.ieeesa-slide-toggle-field .mat-mdc-slide-toggle .mdc-switch--selected .mdc-switch__handle .mdc-switch__shadow{box-shadow:none!important;background:#fff!important;border:1px solid #00629b}.ieeesa-slide-toggle-field .mat-mdc-slide-toggle .mdc-switch .mdc-switch__ripple{display:none}.ieeesa-slide-toggle-field .mat-mdc-slide-toggle .mdc-switch .mdc-switch__track{height:1.29em;width:2.29em}.ieeesa-slide-toggle-field .mat-mdc-slide-toggle .mdc-switch .mdc-switch__track:before,.ieeesa-slide-toggle-field .mat-mdc-slide-toggle .mdc-switch .mdc-switch__track:after{height:1.29em}.ieeesa-slide-toggle-field .mat-mdc-slide-toggle .mdc-switch .mdc-switch__handle{width:1.29em;height:1.29em}.ieeesa-slide-toggle-field .mat-mdc-slide-toggle .mdc-switch .mdc-switch__handle__icons .mdc-switch__icon{display:none}.ieeesa-slide-toggle-field .mat-mdc-slide-toggle .mdc-switch .mdc-switch__icons .mdc-switch__icon{fill:#00629b}.ieeesa-slide-toggle-field .mat-mdc-slide-toggle .mdc-switch .mdc-switch__icons .mdc-switch__icon--on{width:15px;height:13px}.ieeesa-slide-toggle-field .mat-mdc-slide-toggle .mdc-switch .mdc-switch__icons .mdc-switch__icon--off{position:relative;left:2px;width:23px;height:30px}\n"], dependencies: [{ kind: "ngmodule", type: CommonModule }, { kind: "directive", type: i2.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "ngmodule", type: ReactiveFormsModule }, { kind: "directive", type: i3.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { kind: "directive", type: i3.NgControlStatusGroup, selector: "[formGroupName],[formArrayName],[ngModelGroup],[formGroup],form:not([ngNoForm]),[ngForm]" }, { kind: "directive", type: i3.FormGroupDirective, selector: "[formGroup]", inputs: ["formGroup"], outputs: ["ngSubmit"], exportAs: ["ngForm"] }, { kind: "directive", type: i3.FormControlName, selector: "[formControlName]", inputs: ["formControlName", "disabled", "ngModel"], outputs: ["ngModelChange"] }, { kind: "ngmodule", type: MatSlideToggleModule }, { kind: "component", type: i4$2.MatSlideToggle, selector: "mat-slide-toggle", inputs: ["disabled", "disableRipple", "color", "tabIndex"], exportAs: ["matSlideToggle"] }, { kind: "component", type: FormErrorComponent, selector: "ieeesa-form-error", inputs: ["formGroup", "config", "submitResponse"] }, { kind: "component", type: FormSupportTextComponent, selector: "ieeesa-form-support-text", inputs: ["formGroup", "config"], outputs: ["supportTextLinkClick"] }], encapsulation: i0.ViewEncapsulation.None }); }
|
|
2437
2449
|
}
|
|
2438
2450
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: SlideToggleComponent, decorators: [{
|
|
2439
2451
|
type: Component,
|
|
@@ -2443,7 +2455,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImpo
|
|
|
2443
2455
|
MatSlideToggleModule,
|
|
2444
2456
|
FormErrorComponent,
|
|
2445
2457
|
FormSupportTextComponent,
|
|
2446
|
-
], encapsulation: ViewEncapsulation.None, template: "<div [formGroup]=\"group\" class=\"ieeesa-slide-toggle-field\" *ngIf=\"group\">\r\n <mat-slide-toggle\r\n [formControlName]=\"config.controlName\"\r\n [aria-label]=\"config.ariaLabel ?? slideToggleOption.ariaLabel ?? ''\"\r\n [aria-describedby]=\"config.ariaDescribedById ?? ''\"\r\n [checked]=\"slideToggleOption.checked\"\r\n [disabled]=\"isDisabled\"\r\n [(ngModel)]=\"slideToggleOption.checked\"\r\n (change)=\"onSlideToggleChange($event)\"\r\n [hideIcon]=\"!canShowIcon\"\r\n #slideToggle\r\n >{{ slideToggleOption?.label }}</mat-slide-toggle\r\n >\r\n <ieeesa-form-error [formGroup]=\"group\" [config]=\"config\"> </ieeesa-form-error>\r\n <ieeesa-form-support-text\r\n [formGroup]=\"group\"\r\n [config]=\"config\"\r\n ></ieeesa-form-support-text>\r\n</div>\r\n", styles: [".ieeesa-subtitle{text-align:left;font-family:Calibri Regular;font-size:1.5625rem;letter-spacing:0;color:#000;opacity:1}.ieeesa-body{text-align:left;font-family:Calibri Regular;font-size:1.25rem;letter-spacing:0;color:#000;opacity:1}.ieeesa-display-lg-57{font-family:Calibri Regular;font-style:normal;font-weight:400;font-size:3.5625rem;line-height:64px;color:#000;letter-spacing:0}.ieeesa-display-md-45{font-family:Calibri Regular;font-style:normal;font-weight:400;font-size:2.813rem;line-height:52px;color:#000;letter-spacing:0}.ieeesa-display-md-47{font-family:Calibri Regular;font-style:normal;font-weight:400;font-size:2.9375rem;line-height:52px;color:#000;letter-spacing:0}.ieeesa-display-sm-38{font-family:Calibri Regular;font-style:normal;font-weight:400;font-size:2.375rem;line-height:44px;color:#000;letter-spacing:0}.ieeesa-headline-lg-32{font-family:Calibri Regular;font-style:normal;font-weight:400;font-size:2rem;line-height:40px;color:#000;letter-spacing:0}.ieeesa-headline-lg-34{font-family:Calibri Regular;font-style:normal;font-weight:400;font-size:2.125rem;line-height:40px;color:#000;letter-spacing:0}.ieeesa-headline-md-30{font-family:Calibri Regular;font-style:normal;font-weight:400;font-size:1.875rem;line-height:36px;color:#000;letter-spacing:0}.ieeesa-headline-sm-24{font-family:Calibri Regular;font-style:normal;font-weight:400;font-size:1.5rem;line-height:32px;color:#00629b;letter-spacing:0}.ieeesa-headline-sm-26{font-family:Calibri Regular;font-style:normal;font-weight:400;font-size:1.625rem;line-height:32px;color:#000;letter-spacing:0}.ieeesa-title-lg-bold-24{font-family:Calibri Bold;font-style:normal;font-weight:700;font-size:1.5rem;line-height:28px;color:#000;letter-spacing:0}.ieeesa-title-lg-24{font-family:Calibri Regular;font-style:normal;font-weight:400;font-size:1.5rem;line-height:28px;color:#000;letter-spacing:0}.ieeesa-title-md-18{font-family:Calibri Regular;font-style:normal;font-weight:400;font-size:1.125rem;line-height:24px;color:#000;letter-spacing:.009375em}.ieeesa-title-sm-14{font-family:Calibri Regular;font-style:normal;font-weight:400;font-size:.875rem;line-height:20px;color:#000;letter-spacing:.00625em}.ieeesa-title-sm-16{font-family:Calibri Regular;font-style:normal;font-weight:400;font-size:1rem;line-height:20px;color:#000;letter-spacing:.00625em}.ieeesa-label-lg-bold-16{font-family:Calibri Bold;font-style:normal;font-weight:700;font-size:1rem;line-height:20px;color:#000;letter-spacing:.00625em}.ieeesa-label-lg-16{font-family:Calibri Regular;font-style:normal;font-weight:400;font-size:1rem;line-height:20px;color:#000;letter-spacing:.00625em}.ieeesa-btn-label-lg-bold-16{font-family:Calibri Regular;font-style:normal;font-weight:700;font-size:1rem;line-height:20px;color:#00629b;letter-spacing:.00625em}.ieeesa-label-md-14{font-family:Calibri Regular;font-style:normal;font-weight:400;font-size:.875rem;line-height:16px;color:#000;letter-spacing:.03125em}.ieeesa-label-sm-13{font-family:Calibri Regular;font-style:normal;font-weight:400;font-size:.8125rem;line-height:16px;color:#000;letter-spacing:.03125em}.ieeesa-body-lg-bold-16{font-family:Calibri Bold;font-style:normal;font-weight:700;font-size:1rem;line-height:24px;color:#000;letter-spacing:.03125em}.ieeesa-body-lg-bold-18{font-family:Calibri Bold;font-style:normal;font-weight:700;font-size:1.125rem;line-height:24px;color:#000;letter-spacing:.03125em}.ieeesa-body-lg-18{font-family:Calibri Regular;font-style:normal;font-weight:400;font-size:1.125rem;line-height:24px;color:#000;letter-spacing:.03125em}.ieeesa-body-md-14{font-family:Calibri Regular;font-style:normal;font-weight:400;font-size:.875rem;line-height:20px;color:#1c1b1f;letter-spacing:.015625em}.ieeesa-body-md-16{font-family:Calibri Regular;font-style:normal;font-weight:400;font-size:1rem;line-height:20px;color:#000;letter-spacing:.015625em}.ieeesa-body-sm-14{font-family:Calibri Regular;font-style:normal;font-weight:400;font-size:.875rem;line-height:16px;color:#000;letter-spacing:.025em}.ieeesa-body-color-sm-14{font-family:Calibri Regular;font-style:normal;font-weight:400;font-size:.875rem;line-height:18px;color:#49454f;letter-spacing:.025em}.ieeesa-body-sm-bold-14{font-family:Calibri Bold;font-style:normal;font-weight:700;font-size:.875rem;line-height:16px;color:#000;letter-spacing:.025em}.ieeesa-title-inter-lg-bold-24{font-family:Inter Bold;font-style:normal;font-weight:700;font-size:1.5rem;line-height:29px;color:#000;letter-spacing:0}.mat-mdc-button.mat-mdc-button-base.mat-primary-button,.mat-mdc-button.mat-mdc-button-base.mat-secondary-button,.mat-mdc-button.mat-mdc-button-base.mat-tertiary-button,.mat-mdc-button.mat-mdc-button-base.mat-text-button{min-width:103px;width:auto;min-height:40px;height:auto;border-radius:3px;text-align:center;padding:.625em 1.5em;border:none;font-family:Calibri Bold;font-style:normal;font-weight:700;font-size:1rem;line-height:20px;color:#000;letter-spacing:.00625em}.mat-mdc-button.mat-mdc-button-base>.mat-icon{margin-right:11px}.mat-mdc-button.mat-mdc-button-base.mat-primary-button{background-color:#00629b;color:#fff}.mat-mdc-button.mat-mdc-button-base.mat-primary-button:hover{background-color:#003e65}.mat-mdc-button.mat-mdc-button-base.mat-primary-button:active{background-color:#00629b}.mat-mdc-button.mat-mdc-button-base.mat-primary-button:disabled{background-color:#1c1b1f1f}.mat-mdc-button.mat-mdc-button-base.mat-secondary-button{color:#fff;background:#a7a8aa;box-shadow:0 1px 2px #0000004d,0 2px 6px 2px #00000026}.mat-mdc-button.mat-mdc-button-base.mat-secondary-button:hover{background:#a7a8aa}.mat-mdc-button.mat-mdc-button-base.mat-secondary-button:active{background:#1d192b1f}.mat-mdc-button.mat-mdc-button-base.mat-secondary-button:disabled{background:#1c1b1f1f;color:#1c1b1f;opacity:.38}.mat-mdc-button.mat-mdc-button-base.mat-tertiary-button{background-color:#fff;border:1px solid #00629b;color:#00629b}.mat-mdc-button.mat-mdc-button-base.mat-tertiary-button:hover{background-color:#6750a414}.mat-mdc-button.mat-mdc-button-base.mat-tertiary-button:active{background:#6750a41f}.mat-mdc-button.mat-mdc-button-base.mat-tertiary-button:disabled{border:1px solid rgba(28,27,31,.12);color:#1c1b1f;opacity:.38}.mat-mdc-button.mat-mdc-button-base.mat-text-button{color:#00629b}.mat-mdc-button.mat-mdc-button-base.mat-text-button:hover,.mat-mdc-button.mat-mdc-button-base.mat-text-button:active{background:#6750a414}.mat-mdc-button.mat-mdc-button-base.mat-text-button:disabled{color:#1c1b1f;opacity:.38}.ieeesa-text-button{color:#cac4d0;background:none;border:none}.ieeesa-view-more-or-less-button{border:none;background:none;text-decoration:underline;color:#00629b}.flex-align-center{display:flex;align-items:center;justify-content:center}.mat-button-toggle-checked{background-color:#a7a8aa}.mat-button-toggle-checked .mat-button-toggle-label-content:before{font-family:\"Font Awesome 5 Free\";font-weight:900;content:\"\\f00c\";padding-right:.5625em}.mat-button-toggle-group .mat-button-toggle-label-content{font-family:Calibri Bold;font-style:normal;font-weight:700;font-size:1rem;line-height:20px;color:#1c1b1f;letter-spacing:.00625em}.no-bg-color-btn{color:#00629b;border-radius:3px;border:1px solid #00629b;min-height:40px;height:auto}@media (max-width: 768px){.mat-button-toggle-group .mat-button-toggle-label-content{max-width:8ch;text-overflow:ellipsis;white-space:nowrap;overflow:hidden;position:relative}}.cdk-overlay-pane .mat-mdc-tooltip .mdc-tooltip__surface{color:#525252;padding:6px 12px;font-family:Calibri Regular;font-size:1rem;border:1px solid #cac4d0;background:#fff;box-shadow:0 4px 8px #00000040;max-width:unset!important}.cdk-overlay-pane .mat-mdc-option .mdc-list-item__primary-text{font-family:Calibri Regular!important}.cdk-overlay-pane.ieeesa-modal-confirm-dialog,.cdk-overlay-pane.ieeesa-modal-dialog,.cdk-overlay-pane.ieeesa-alert-dialog{width:100%;min-width:312px}.mat-mdc-form-field{font-family:Calibri Regular;font-style:normal;font-weight:400;font-size:1rem;line-height:24px;color:#49454f;letter-spacing:.03125em}.ieeesa-cancel-modal-confirm-dialog{width:25vw!important}.ieeesa-cancel-modal-confirm-dialog .ieeesa-confirmation{padding:1.5em 1.5em 1em}.ieeesa-cancel-modal-confirm-dialog .ieeesa-confirmation .mat-mdc-dialog-content{text-align:center;padding:0 0 1em!important}@media (max-width: 768px){.ieeesa-cancel-modal-confirm-dialog{width:90vw!important}}.ieeesa-slide-toggle-field .mat-mdc-slide-toggle .mdc-label{font-family:Calibri Regular;font-style:normal;font-weight:400;font-size:1rem;line-height:24px;color:#49454f;letter-spacing:0}.ieeesa-slide-toggle-field .mat-mdc-slide-toggle.cdk-keyboard-focused .mdc-switch{border:1px solid #000000}.ieeesa-slide-toggle-field .mat-mdc-slide-toggle.cdk-focused .mdc-label{color:#00629b}.ieeesa-slide-toggle-field .mat-mdc-slide-toggle .mat-mdc-slide-toggle-ripple{display:none!important}.ieeesa-slide-toggle-field .mat-mdc-slide-toggle .mdc-switch--unselected.mdc-switch--disabled,.ieeesa-slide-toggle-field .mat-mdc-slide-toggle .mdc-switch.mdc-switch--disabled+.mdc-label{color:#c0c7cd}.ieeesa-slide-toggle-field .mat-mdc-slide-toggle .mdc-switch--unselected.mdc-switch--disabled .mdc-switch__track:before,.ieeesa-slide-toggle-field .mat-mdc-slide-toggle .mdc-switch--unselected.mdc-switch--disabled .mdc-switch__track:after,.ieeesa-slide-toggle-field .mat-mdc-slide-toggle .mdc-switch.mdc-switch--disabled+.mdc-label .mdc-switch__track:before,.ieeesa-slide-toggle-field .mat-mdc-slide-toggle .mdc-switch.mdc-switch--disabled+.mdc-label .mdc-switch__track:after{border:1px solid #c0c7cd}.ieeesa-slide-toggle-field .mat-mdc-slide-toggle .mdc-switch--unselected.mdc-switch--disabled .mdc-switch__handle .mdc-switch__shadow,.ieeesa-slide-toggle-field .mat-mdc-slide-toggle .mdc-switch.mdc-switch--disabled+.mdc-label .mdc-switch__handle .mdc-switch__shadow{border:1px solid #c0c7cd}.ieeesa-slide-toggle-field .mat-mdc-slide-toggle .mdc-switch--unselected .mdc-switch__track:before,.ieeesa-slide-toggle-field .mat-mdc-slide-toggle .mdc-switch--unselected .mdc-switch__track:after{border-radius:100px;border:1px solid #00629b;background:#fff!important}.ieeesa-slide-toggle-field .mat-mdc-slide-toggle .mdc-switch--unselected .mdc-switch__handle .mdc-switch__shadow{box-shadow:none!important;background:#fff!important;border:1px solid #00629b}.ieeesa-slide-toggle-field .mat-mdc-slide-toggle .mdc-switch--selected .mdc-switch__track:before,.ieeesa-slide-toggle-field .mat-mdc-slide-toggle .mdc-switch--selected .mdc-switch__track:after{border-radius:100px;border:1px solid #00629b;background:#00629b!important}.ieeesa-slide-toggle-field .mat-mdc-slide-toggle .mdc-switch--selected .mdc-switch__handle{background:#00629b!important}.ieeesa-slide-toggle-field .mat-mdc-slide-toggle .mdc-switch--selected .mdc-switch__handle .mdc-switch__shadow{box-shadow:none!important;background:#fff!important;border:1px solid #00629b}.ieeesa-slide-toggle-field .mat-mdc-slide-toggle .mdc-switch .mdc-switch__ripple{display:none}.ieeesa-slide-toggle-field .mat-mdc-slide-toggle .mdc-switch .mdc-switch__track{height:1.29em;width:2.29em}.ieeesa-slide-toggle-field .mat-mdc-slide-toggle .mdc-switch .mdc-switch__track:before,.ieeesa-slide-toggle-field .mat-mdc-slide-toggle .mdc-switch .mdc-switch__track:after{height:1.29em}.ieeesa-slide-toggle-field .mat-mdc-slide-toggle .mdc-switch .mdc-switch__handle{width:1.29em;height:1.29em}.ieeesa-slide-toggle-field .mat-mdc-slide-toggle .mdc-switch .mdc-switch__handle__icons .mdc-switch__icon{display:none}.ieeesa-slide-toggle-field .mat-mdc-slide-toggle .mdc-switch .mdc-switch__icons .mdc-switch__icon{fill:#00629b}.ieeesa-slide-toggle-field .mat-mdc-slide-toggle .mdc-switch .mdc-switch__icons .mdc-switch__icon--on{width:15px;height:13px}.ieeesa-slide-toggle-field .mat-mdc-slide-toggle .mdc-switch .mdc-switch__icons .mdc-switch__icon--off{position:relative;left:2px;width:23px;height:30px}.ieeesa-slide-toggle-field .mat-mdc-slide-toggle .mdc-switch .mdc-switch__icons .mdc-switch__icon--off path{d:path(\"M10.333 3.205L9.62801 2.5L6.83301 5.295L4.03801 2.5L3.33301 3.205L6.12801 6L3.33301 8.795L4.03801 9.5L6.83301 6.705L9.62801 9.5L10.333 8.795L7.53801 6L10.333 3.205Z\")!important}\n"] }]
|
|
2458
|
+
], encapsulation: ViewEncapsulation.None, template: "<div [formGroup]=\"group\" class=\"ieeesa-slide-toggle-field\" *ngIf=\"group\">\r\n <mat-slide-toggle\r\n [formControlName]=\"config.controlName\"\r\n [aria-label]=\"config.ariaLabel ?? slideToggleOption.ariaLabel ?? ''\"\r\n [aria-describedby]=\"config.ariaDescribedById ?? ''\"\r\n [checked]=\"slideToggleOption.checked\"\r\n [disabled]=\"isDisabled\"\r\n [(ngModel)]=\"slideToggleOption.checked\"\r\n (change)=\"onSlideToggleChange($event)\"\r\n [hideIcon]=\"!canShowIcon\"\r\n #slideToggle\r\n >{{ slideToggleOption?.label }}</mat-slide-toggle\r\n >\r\n <ieeesa-form-error [formGroup]=\"group\" [config]=\"config\"> </ieeesa-form-error>\r\n <ieeesa-form-support-text\r\n [formGroup]=\"group\"\r\n [config]=\"config\"\r\n ></ieeesa-form-support-text>\r\n</div>\r\n", styles: [".ieeesa-subtitle{text-align:left;font-family:Calibri Regular;font-size:1.5625rem;letter-spacing:0;color:#000;opacity:1}.ieeesa-body{text-align:left;font-family:Calibri Regular;font-size:1.25rem;letter-spacing:0;color:#000;opacity:1}.ieeesa-display-lg-57{font-family:Calibri Regular;font-style:normal;font-weight:400;font-size:3.5625rem;line-height:64px;color:#000;letter-spacing:0}.ieeesa-display-md-45{font-family:Calibri Regular;font-style:normal;font-weight:400;font-size:2.813rem;line-height:52px;color:#000;letter-spacing:0}.ieeesa-display-md-47{font-family:Calibri Regular;font-style:normal;font-weight:400;font-size:2.9375rem;line-height:52px;color:#000;letter-spacing:0}.ieeesa-display-sm-38{font-family:Calibri Regular;font-style:normal;font-weight:400;font-size:2.375rem;line-height:44px;color:#000;letter-spacing:0}.ieeesa-headline-lg-32{font-family:Calibri Regular;font-style:normal;font-weight:400;font-size:2rem;line-height:40px;color:#000;letter-spacing:0}.ieeesa-headline-lg-34{font-family:Calibri Regular;font-style:normal;font-weight:400;font-size:2.125rem;line-height:40px;color:#000;letter-spacing:0}.ieeesa-headline-md-30{font-family:Calibri Regular;font-style:normal;font-weight:400;font-size:1.875rem;line-height:36px;color:#000;letter-spacing:0}.ieeesa-headline-sm-24{font-family:Calibri Regular;font-style:normal;font-weight:400;font-size:1.5rem;line-height:32px;color:#00629b;letter-spacing:0}.ieeesa-headline-sm-26{font-family:Calibri Regular;font-style:normal;font-weight:400;font-size:1.625rem;line-height:32px;color:#000;letter-spacing:0}.ieeesa-title-lg-bold-24{font-family:Calibri Bold;font-style:normal;font-weight:700;font-size:1.5rem;line-height:28px;color:#000;letter-spacing:0}.ieeesa-title-lg-24{font-family:Calibri Regular;font-style:normal;font-weight:400;font-size:1.5rem;line-height:28px;color:#000;letter-spacing:0}.ieeesa-title-md-18{font-family:Calibri Regular;font-style:normal;font-weight:400;font-size:1.125rem;line-height:24px;color:#000;letter-spacing:.009375em}.ieeesa-title-sm-14{font-family:Calibri Regular;font-style:normal;font-weight:400;font-size:.875rem;line-height:20px;color:#000;letter-spacing:.00625em}.ieeesa-title-sm-16{font-family:Calibri Regular;font-style:normal;font-weight:400;font-size:1rem;line-height:20px;color:#000;letter-spacing:.00625em}.ieeesa-label-lg-bold-16{font-family:Calibri Bold;font-style:normal;font-weight:700;font-size:1rem;line-height:20px;color:#000;letter-spacing:.00625em}.ieeesa-label-lg-16{font-family:Calibri Regular;font-style:normal;font-weight:400;font-size:1rem;line-height:20px;color:#000;letter-spacing:.00625em}.ieeesa-btn-label-lg-bold-16{font-family:Calibri Regular;font-style:normal;font-weight:700;font-size:1rem;line-height:20px;color:#00629b;letter-spacing:.00625em}.ieeesa-label-md-14{font-family:Calibri Regular;font-style:normal;font-weight:400;font-size:.875rem;line-height:16px;color:#000;letter-spacing:.03125em}.ieeesa-label-sm-13{font-family:Calibri Regular;font-style:normal;font-weight:400;font-size:.8125rem;line-height:16px;color:#000;letter-spacing:.03125em}.ieeesa-body-lg-bold-16{font-family:Calibri Bold;font-style:normal;font-weight:700;font-size:1rem;line-height:24px;color:#000;letter-spacing:.03125em}.ieeesa-body-lg-bold-18{font-family:Calibri Bold;font-style:normal;font-weight:700;font-size:1.125rem;line-height:24px;color:#000;letter-spacing:.03125em}.ieeesa-body-lg-18{font-family:Calibri Regular;font-style:normal;font-weight:400;font-size:1.125rem;line-height:24px;color:#000;letter-spacing:.03125em}.ieeesa-body-md-14{font-family:Calibri Regular;font-style:normal;font-weight:400;font-size:.875rem;line-height:20px;color:#1c1b1f;letter-spacing:.015625em}.ieeesa-body-md-16{font-family:Calibri Regular;font-style:normal;font-weight:400;font-size:1rem;line-height:20px;color:#000;letter-spacing:.015625em}.ieeesa-body-sm-14{font-family:Calibri Regular;font-style:normal;font-weight:400;font-size:.875rem;line-height:16px;color:#000;letter-spacing:.025em}.ieeesa-body-color-sm-14{font-family:Calibri Regular;font-style:normal;font-weight:400;font-size:.875rem;line-height:18px;color:#49454f;letter-spacing:.025em}.ieeesa-body-sm-bold-14{font-family:Calibri Bold;font-style:normal;font-weight:700;font-size:.875rem;line-height:16px;color:#000;letter-spacing:.025em}.ieeesa-title-inter-lg-bold-24{font-family:Inter Bold;font-style:normal;font-weight:700;font-size:1.5rem;line-height:29px;color:#000;letter-spacing:0}.mat-mdc-button.mat-mdc-button-base.mat-primary-button,.mat-mdc-button.mat-mdc-button-base.mat-secondary-button,.mat-mdc-button.mat-mdc-button-base.mat-tertiary-button,.mat-mdc-button.mat-mdc-button-base.mat-text-button{min-width:103px;width:auto;min-height:40px;height:auto;border-radius:3px;text-align:center;padding:.625em 1.5em;border:none;font-family:Calibri Bold;font-style:normal;font-weight:700;font-size:1rem;line-height:20px;color:#000;letter-spacing:.00625em}.mat-mdc-button.mat-mdc-button-base>.mat-icon{margin-right:11px}.mat-mdc-button.mat-mdc-button-base.mat-primary-button{background-color:#00629b;color:#fff}.mat-mdc-button.mat-mdc-button-base.mat-primary-button:hover{background-color:#003e65}.mat-mdc-button.mat-mdc-button-base.mat-primary-button:active{background-color:#00629b}.mat-mdc-button.mat-mdc-button-base.mat-primary-button:disabled{background-color:#1c1b1f1f}.mat-mdc-button.mat-mdc-button-base.mat-secondary-button{color:#fff;background:#a7a8aa;box-shadow:0 1px 2px #0000004d,0 2px 6px 2px #00000026}.mat-mdc-button.mat-mdc-button-base.mat-secondary-button:hover{background:#a7a8aa}.mat-mdc-button.mat-mdc-button-base.mat-secondary-button:active{background:#1d192b1f}.mat-mdc-button.mat-mdc-button-base.mat-secondary-button:disabled{background:#1c1b1f1f;color:#1c1b1f;opacity:.38}.mat-mdc-button.mat-mdc-button-base.mat-tertiary-button{background-color:#fff;border:1px solid #00629b;color:#00629b}.mat-mdc-button.mat-mdc-button-base.mat-tertiary-button:hover{background-color:#6750a414}.mat-mdc-button.mat-mdc-button-base.mat-tertiary-button:active{background:#6750a41f}.mat-mdc-button.mat-mdc-button-base.mat-tertiary-button:disabled{border:1px solid rgba(28,27,31,.12);color:#1c1b1f;opacity:.38}.mat-mdc-button.mat-mdc-button-base.mat-text-button{color:#00629b}.mat-mdc-button.mat-mdc-button-base.mat-text-button:hover,.mat-mdc-button.mat-mdc-button-base.mat-text-button:active{background:#6750a414}.mat-mdc-button.mat-mdc-button-base.mat-text-button:disabled{color:#1c1b1f;opacity:.38}.ieeesa-text-button{color:#cac4d0;background:none;border:none}.ieeesa-view-more-or-less-button{border:none;background:none;text-decoration:underline;color:#00629b}.flex-align-center{display:flex;align-items:center;justify-content:center}.mat-button-toggle-checked{background-color:#a7a8aa}.mat-button-toggle-checked .mat-button-toggle-label-content:before{font-family:\"Font Awesome 5 Free\";font-weight:900;content:\"\\f00c\";padding-right:.5625em}.mat-button-toggle-group .mat-button-toggle-label-content{font-family:Calibri Bold;font-style:normal;font-weight:700;font-size:1rem;line-height:20px;color:#1c1b1f;letter-spacing:.00625em}.no-bg-color-btn{color:#00629b;border-radius:3px;border:1px solid #00629b;min-height:40px;height:auto}@media (max-width: 768px){.mat-button-toggle-group .mat-button-toggle-label-content{max-width:8ch;text-overflow:ellipsis;white-space:nowrap;overflow:hidden;position:relative}}.cdk-overlay-pane .mat-mdc-tooltip .mdc-tooltip__surface{color:#525252;padding:6px 12px;font-family:Calibri Regular;font-size:1rem;border:1px solid #cac4d0;background:#fff;box-shadow:0 4px 8px #00000040;max-width:unset!important}.cdk-overlay-pane .mat-mdc-option .mdc-list-item__primary-text{font-family:Calibri Regular!important}.cdk-overlay-pane.ieeesa-modal-confirm-dialog,.cdk-overlay-pane.ieeesa-modal-dialog,.cdk-overlay-pane.ieeesa-alert-dialog{width:100%;min-width:312px}.mat-mdc-form-field{font-family:Calibri Regular;font-style:normal;font-weight:400;font-size:1rem;line-height:24px;color:#49454f;letter-spacing:.03125em}.ieeesa-cancel-modal-confirm-dialog{width:25vw!important}.ieeesa-cancel-modal-confirm-dialog .ieeesa-confirmation{padding:1.5em 1.5em 1em}.ieeesa-cancel-modal-confirm-dialog .ieeesa-confirmation .mat-mdc-dialog-content{text-align:center;padding:0 0 1em!important}@media (max-width: 768px){.ieeesa-cancel-modal-confirm-dialog{width:90vw!important}}.ieeesa-slide-toggle-field .mat-mdc-slide-toggle .mdc-label{font-family:Calibri Regular;font-style:normal;font-weight:400;font-size:1rem;line-height:24px;color:#49454f;letter-spacing:0}.ieeesa-slide-toggle-field .mat-mdc-slide-toggle.cdk-keyboard-focused .mdc-switch{border:1px solid #000000}.ieeesa-slide-toggle-field .mat-mdc-slide-toggle.cdk-focused .mdc-label{color:#00629b}.ieeesa-slide-toggle-field .mat-mdc-slide-toggle .mat-mdc-slide-toggle-ripple{display:none!important}.ieeesa-slide-toggle-field .mat-mdc-slide-toggle .mdc-switch--unselected.mdc-switch--disabled,.ieeesa-slide-toggle-field .mat-mdc-slide-toggle .mdc-switch.mdc-switch--disabled+.mdc-label{color:#c0c7cd}.ieeesa-slide-toggle-field .mat-mdc-slide-toggle .mdc-switch--unselected.mdc-switch--disabled .mdc-switch__track:before,.ieeesa-slide-toggle-field .mat-mdc-slide-toggle .mdc-switch--unselected.mdc-switch--disabled .mdc-switch__track:after,.ieeesa-slide-toggle-field .mat-mdc-slide-toggle .mdc-switch.mdc-switch--disabled+.mdc-label .mdc-switch__track:before,.ieeesa-slide-toggle-field .mat-mdc-slide-toggle .mdc-switch.mdc-switch--disabled+.mdc-label .mdc-switch__track:after{border:1px solid #c0c7cd}.ieeesa-slide-toggle-field .mat-mdc-slide-toggle .mdc-switch--unselected.mdc-switch--disabled .mdc-switch__handle .mdc-switch__shadow,.ieeesa-slide-toggle-field .mat-mdc-slide-toggle .mdc-switch.mdc-switch--disabled+.mdc-label .mdc-switch__handle .mdc-switch__shadow{border:1px solid #c0c7cd}.ieeesa-slide-toggle-field .mat-mdc-slide-toggle .mdc-switch--unselected .mdc-switch__track:before,.ieeesa-slide-toggle-field .mat-mdc-slide-toggle .mdc-switch--unselected .mdc-switch__track:after{border-radius:100px;border:1px solid #00629b;background:#fff!important}.ieeesa-slide-toggle-field .mat-mdc-slide-toggle .mdc-switch--unselected .mdc-switch__handle .mdc-switch__shadow{box-shadow:none!important;background:#fff!important;border:1px solid #00629b}.ieeesa-slide-toggle-field .mat-mdc-slide-toggle .mdc-switch--selected .mdc-switch__track:before,.ieeesa-slide-toggle-field .mat-mdc-slide-toggle .mdc-switch--selected .mdc-switch__track:after{border-radius:100px;border:1px solid #00629b;background:#00629b!important}.ieeesa-slide-toggle-field .mat-mdc-slide-toggle .mdc-switch--selected .mdc-switch__handle{background:#00629b!important}.ieeesa-slide-toggle-field .mat-mdc-slide-toggle .mdc-switch--selected .mdc-switch__handle .mdc-switch__shadow{box-shadow:none!important;background:#fff!important;border:1px solid #00629b}.ieeesa-slide-toggle-field .mat-mdc-slide-toggle .mdc-switch .mdc-switch__ripple{display:none}.ieeesa-slide-toggle-field .mat-mdc-slide-toggle .mdc-switch .mdc-switch__track{height:1.29em;width:2.29em}.ieeesa-slide-toggle-field .mat-mdc-slide-toggle .mdc-switch .mdc-switch__track:before,.ieeesa-slide-toggle-field .mat-mdc-slide-toggle .mdc-switch .mdc-switch__track:after{height:1.29em}.ieeesa-slide-toggle-field .mat-mdc-slide-toggle .mdc-switch .mdc-switch__handle{width:1.29em;height:1.29em}.ieeesa-slide-toggle-field .mat-mdc-slide-toggle .mdc-switch .mdc-switch__handle__icons .mdc-switch__icon{display:none}.ieeesa-slide-toggle-field .mat-mdc-slide-toggle .mdc-switch .mdc-switch__icons .mdc-switch__icon{fill:#00629b}.ieeesa-slide-toggle-field .mat-mdc-slide-toggle .mdc-switch .mdc-switch__icons .mdc-switch__icon--on{width:15px;height:13px}.ieeesa-slide-toggle-field .mat-mdc-slide-toggle .mdc-switch .mdc-switch__icons .mdc-switch__icon--off{position:relative;left:2px;width:23px;height:30px}\n"] }]
|
|
2447
2459
|
}], ctorParameters: function () { return [{ type: FormUtilityService }]; }, propDecorators: { formControlName: [{
|
|
2448
2460
|
type: Input
|
|
2449
2461
|
}], slideToggle: [{
|
|
@@ -2454,6 +2466,9 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImpo
|
|
|
2454
2466
|
type: Input
|
|
2455
2467
|
}], slideToggleChange: [{
|
|
2456
2468
|
type: Output
|
|
2469
|
+
}], matSlideToggleElement: [{
|
|
2470
|
+
type: ViewChild,
|
|
2471
|
+
args: ['slideToggle', { read: ElementRef }]
|
|
2457
2472
|
}] } });
|
|
2458
2473
|
|
|
2459
2474
|
/**
|