af-connect-components 18.0.1 → 18.0.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/{esm2020 → esm2022}/af-connect-components.mjs +4 -4
- package/{esm2020 → esm2022}/lib/af-connect-breadcrumb/af-connect-breadcrumb.component.mjs +22 -22
- package/esm2022/lib/af-connect-button/af-connect-button.component.mjs +47 -0
- package/{esm2020 → esm2022}/lib/af-connect-card/af-connect-card-header/af-connect-card-header.component.mjs +33 -33
- package/esm2022/lib/af-connect-card/af-connect-card.component.mjs +17 -0
- package/{esm2020 → esm2022}/lib/af-connect-chart/af-connect-chart.component.mjs +11 -11
- package/esm2022/lib/af-connect-chip/af-connect-chip.component.mjs +23 -0
- package/{esm2020 → esm2022}/lib/af-connect-components.component.mjs +12 -12
- package/{esm2020 → esm2022}/lib/af-connect-components.module.mjs +235 -235
- package/{esm2020 → esm2022}/lib/af-connect-components.service.mjs +14 -14
- package/{esm2020 → esm2022}/lib/af-connect-content/af-connect-content.component.mjs +14 -14
- package/{esm2020 → esm2022}/lib/af-connect-datepicker/af-connect-datepicker.component.mjs +11 -11
- package/{esm2020 → esm2022}/lib/af-connect-error/af-connect-error.component.mjs +26 -26
- package/esm2022/lib/af-connect-footer/af-connect-footer.component.mjs +316 -0
- package/{esm2020 → esm2022}/lib/af-connect-form-group/af-connect-form-group.component.mjs +11 -11
- package/{esm2020 → esm2022}/lib/af-connect-form-validation-errors/af-connect-form-validation-errors.component.mjs +21 -21
- package/esm2022/lib/af-connect-header/af-connect-header.component.mjs +79 -0
- package/{esm2020 → esm2022}/lib/af-connect-inline-error/af-connect-inline-error.component.mjs +29 -29
- package/esm2022/lib/af-connect-input/af-connect-input.component.mjs +92 -0
- package/{esm2020 → esm2022}/lib/af-connect-loading-spinner/af-connect-loading-spinner.component.mjs +18 -18
- package/esm2022/lib/af-connect-modal/af-connect-modal.component.mjs +101 -0
- package/{esm2020 → esm2022}/lib/af-connect-no-content/af-connect-no-content.component.mjs +26 -26
- package/{esm2020 → esm2022}/lib/af-connect-notification/af-connect-notification.component.mjs +15 -15
- package/{esm2020 → esm2022}/lib/af-connect-products-carousel/af-connect-products-carousel.component.mjs +47 -47
- package/{esm2020 → esm2022}/lib/af-connect-products-carousel/defaultConfig.mjs +26 -26
- package/esm2022/lib/af-connect-products-carousel/image-card/image-card.component.mjs +27 -0
- package/esm2022/lib/af-connect-profile-dropdown/af-connect-profile-dropdown.component.mjs +85 -0
- package/esm2022/lib/af-connect-progress-bar/af-connect-progress-bar.component.mjs +45 -0
- package/{esm2020 → esm2022}/lib/af-connect-radio-button/af-connect-radio-button.component.mjs +99 -99
- package/esm2022/lib/af-connect-radio-group/af-connect-radio-group.component.mjs +114 -0
- package/{esm2020 → esm2022}/lib/af-connect-section/af-connect-section.component.mjs +14 -14
- package/{esm2020 → esm2022}/lib/af-connect-section-header/af-connect-section-header.component.mjs +35 -35
- package/{esm2020 → esm2022}/lib/af-connect-select/af-connect-select.component.mjs +11 -11
- package/{esm2020 → esm2022}/lib/af-connect-svg-button/af-connect-svg-button.component.mjs +27 -27
- package/{esm2020 → esm2022}/lib/af-connect-tab/af-connect-tab.component.mjs +20 -20
- package/{esm2020 → esm2022}/lib/af-connect-table/af-connect-table.component.mjs +11 -11
- package/esm2022/lib/af-connect-tabs/af-connect-tabs.component.mjs +87 -0
- package/{esm2020 → esm2022}/lib/af-connect-toaster-message/af-connect-toaster-message.component.mjs +33 -33
- package/esm2022/lib/af-connect-toggle-button/af-connect-toggle-button.component.mjs +133 -0
- package/{esm2020 → esm2022}/lib/af-connect-tooltip/af-connect-tooltip.component.mjs +48 -48
- package/{esm2020 → esm2022}/lib/af-connect-tooltip/types.mjs +1 -1
- package/{esm2020 → esm2022}/lib/constants/animation.constants.mjs +121 -121
- package/{esm2020 → esm2022}/lib/constants/base.constants.mjs +9 -9
- package/{esm2020 → esm2022}/lib/expandable/afc-expandable-wrapper/afc-expandable-wrapper.component.mjs +23 -23
- package/esm2022/lib/expandable/expandable-arrow/expandable-arrow.component.mjs +54 -0
- package/esm2022/lib/expandable/expandable-container/expandable-container.component.mjs +29 -0
- package/{esm2020 → esm2022}/lib/faq/faq/faq.component.mjs +22 -22
- package/{esm2020 → esm2022}/lib/faq/faq-item/faq-item.component.mjs +16 -16
- package/{esm2020 → esm2022}/lib/faq/faqItem.mjs +1 -1
- package/{esm2020 → esm2022}/lib/faq/image-fallback/image-fallback.component.mjs +55 -55
- package/{esm2020 → esm2022}/lib/models/notification-response.model.mjs +1 -1
- package/{esm2020 → esm2022}/lib/models/radio.model.mjs +1 -1
- package/esm2022/lib/models/url-config.mjs +2 -0
- package/esm2022/lib/services/breakpoint.service.mjs +17 -0
- package/{esm2020 → esm2022}/lib/utilities/number.util.mjs +3 -3
- package/{esm2020 → esm2022}/public-api.mjs +42 -42
- package/esm2022/shared/pipes/get-initials.mjs +20 -0
- package/fesm2022/af-connect-components.mjs +2236 -0
- package/fesm2022/af-connect-components.mjs.map +1 -0
- package/index.d.ts +5 -5
- package/lib/af-connect-breadcrumb/af-connect-breadcrumb.component.d.ts +10 -10
- package/lib/af-connect-button/af-connect-button.component.d.ts +21 -21
- package/lib/af-connect-card/af-connect-card-header/af-connect-card-header.component.d.ts +14 -14
- package/lib/af-connect-card/af-connect-card.component.d.ts +8 -8
- package/lib/af-connect-chart/af-connect-chart.component.d.ts +5 -5
- package/lib/af-connect-chip/af-connect-chip.component.d.ts +12 -12
- package/lib/af-connect-components.component.d.ts +5 -5
- package/lib/af-connect-components.module.d.ts +51 -51
- package/lib/af-connect-components.service.d.ts +6 -6
- package/lib/af-connect-content/af-connect-content.component.d.ts +8 -8
- package/lib/af-connect-datepicker/af-connect-datepicker.component.d.ts +5 -5
- package/lib/af-connect-error/af-connect-error.component.d.ts +12 -12
- package/lib/af-connect-footer/af-connect-footer.component.d.ts +166 -166
- package/lib/af-connect-form-group/af-connect-form-group.component.d.ts +5 -5
- package/lib/af-connect-form-validation-errors/af-connect-form-validation-errors.component.d.ts +10 -10
- package/lib/af-connect-header/af-connect-header.component.d.ts +31 -24
- package/lib/af-connect-inline-error/af-connect-inline-error.component.d.ts +13 -13
- package/lib/af-connect-input/af-connect-input.component.d.ts +36 -36
- package/lib/af-connect-loading-spinner/af-connect-loading-spinner.component.d.ts +8 -8
- package/lib/af-connect-modal/af-connect-modal.component.d.ts +46 -46
- package/lib/af-connect-no-content/af-connect-no-content.component.d.ts +12 -12
- package/lib/af-connect-notification/af-connect-notification.component.d.ts +8 -8
- package/lib/af-connect-products-carousel/af-connect-products-carousel.component.d.ts +32 -32
- package/lib/af-connect-products-carousel/defaultConfig.d.ts +6 -6
- package/lib/af-connect-products-carousel/image-card/image-card.component.d.ts +13 -13
- package/lib/af-connect-profile-dropdown/af-connect-profile-dropdown.component.d.ts +37 -27
- package/lib/af-connect-progress-bar/af-connect-progress-bar.component.d.ts +18 -18
- package/lib/af-connect-radio-button/af-connect-radio-button.component.d.ts +34 -34
- package/lib/af-connect-radio-group/af-connect-radio-group.component.d.ts +35 -35
- package/lib/af-connect-section/af-connect-section.component.d.ts +8 -8
- package/lib/af-connect-section-header/af-connect-section-header.component.d.ts +15 -15
- package/lib/af-connect-select/af-connect-select.component.d.ts +5 -5
- package/lib/af-connect-svg-button/af-connect-svg-button.component.d.ts +14 -14
- package/lib/af-connect-tab/af-connect-tab.component.d.ts +9 -9
- package/lib/af-connect-table/af-connect-table.component.d.ts +5 -5
- package/lib/af-connect-tabs/af-connect-tabs.component.d.ts +25 -25
- package/lib/af-connect-toaster-message/af-connect-toaster-message.component.d.ts +13 -13
- package/lib/af-connect-toggle-button/af-connect-toggle-button.component.d.ts +37 -37
- package/lib/af-connect-tooltip/af-connect-tooltip.component.d.ts +16 -16
- package/lib/af-connect-tooltip/types.d.ts +1 -1
- package/lib/constants/animation.constants.d.ts +13 -13
- package/lib/constants/base.constants.d.ts +10 -10
- package/lib/expandable/afc-expandable-wrapper/afc-expandable-wrapper.component.d.ts +8 -8
- package/lib/expandable/expandable-arrow/expandable-arrow.component.d.ts +21 -21
- package/lib/expandable/expandable-container/expandable-container.component.d.ts +8 -8
- package/lib/faq/faq/faq.component.d.ts +9 -9
- package/lib/faq/faq-item/faq-item.component.d.ts +7 -7
- package/lib/faq/faqItem.d.ts +7 -7
- package/lib/faq/image-fallback/image-fallback.component.d.ts +18 -18
- package/lib/models/notification-response.model.d.ts +17 -17
- package/lib/models/radio.model.d.ts +3 -3
- package/lib/models/url-config.d.ts +5 -0
- package/lib/services/breakpoint.service.d.ts +10 -9
- package/lib/utilities/number.util.d.ts +1 -1
- package/package.json +5 -11
- package/public-api.d.ts +39 -39
- package/shared/pipes/get-initials.d.ts +10 -10
- package/esm2020/lib/af-connect-button/af-connect-button.component.mjs +0 -47
- package/esm2020/lib/af-connect-card/af-connect-card.component.mjs +0 -17
- package/esm2020/lib/af-connect-chip/af-connect-chip.component.mjs +0 -23
- package/esm2020/lib/af-connect-footer/af-connect-footer.component.mjs +0 -316
- package/esm2020/lib/af-connect-header/af-connect-header.component.mjs +0 -56
- package/esm2020/lib/af-connect-input/af-connect-input.component.mjs +0 -92
- package/esm2020/lib/af-connect-modal/af-connect-modal.component.mjs +0 -101
- package/esm2020/lib/af-connect-products-carousel/image-card/image-card.component.mjs +0 -27
- package/esm2020/lib/af-connect-profile-dropdown/af-connect-profile-dropdown.component.mjs +0 -71
- package/esm2020/lib/af-connect-progress-bar/af-connect-progress-bar.component.mjs +0 -45
- package/esm2020/lib/af-connect-radio-group/af-connect-radio-group.component.mjs +0 -114
- package/esm2020/lib/af-connect-tabs/af-connect-tabs.component.mjs +0 -87
- package/esm2020/lib/af-connect-toggle-button/af-connect-toggle-button.component.mjs +0 -133
- package/esm2020/lib/expandable/expandable-arrow/expandable-arrow.component.mjs +0 -54
- package/esm2020/lib/expandable/expandable-container/expandable-container.component.mjs +0 -29
- package/esm2020/lib/services/breakpoint.service.mjs +0 -16
- package/esm2020/shared/pipes/get-initials.mjs +0 -20
- package/fesm2015/af-connect-components.mjs +0 -2209
- package/fesm2015/af-connect-components.mjs.map +0 -1
- package/fesm2020/af-connect-components.mjs +0 -2201
- package/fesm2020/af-connect-components.mjs.map +0 -1
|
@@ -1,2209 +0,0 @@
|
|
|
1
|
-
import * as i0 from '@angular/core';
|
|
2
|
-
import { Injectable, Component, ChangeDetectionStrategy, Host, Optional, Input, EventEmitter, forwardRef, Output, ContentChildren, ViewChild, HostListener, Pipe, Directive, ContentChild, ElementRef, ViewChildren, NgModule } from '@angular/core';
|
|
3
|
-
import { map, BehaviorSubject, take, fromEvent, Subscription, interval, debounceTime } from 'rxjs';
|
|
4
|
-
import * as i1 from '@angular/cdk/layout';
|
|
5
|
-
import * as i1$1 from '@angular/common';
|
|
6
|
-
import { CommonModule } from '@angular/common';
|
|
7
|
-
import { trigger, state, style, transition, animate, query, stagger, sequence, group, animateChild } from '@angular/animations';
|
|
8
|
-
import * as i2 from '@angular/forms';
|
|
9
|
-
import { NG_VALUE_ACCESSOR, NgControl, FormsModule, ReactiveFormsModule } from '@angular/forms';
|
|
10
|
-
import * as i1$2 from '@angular/router';
|
|
11
|
-
import { first } from 'rxjs/operators';
|
|
12
|
-
|
|
13
|
-
class AfConnectComponentsService {
|
|
14
|
-
constructor() { }
|
|
15
|
-
}
|
|
16
|
-
AfConnectComponentsService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.1.0", ngImport: i0, type: AfConnectComponentsService, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
|
|
17
|
-
AfConnectComponentsService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.1.0", ngImport: i0, type: AfConnectComponentsService, providedIn: 'root' });
|
|
18
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.0", ngImport: i0, type: AfConnectComponentsService, decorators: [{
|
|
19
|
-
type: Injectable,
|
|
20
|
-
args: [{
|
|
21
|
-
providedIn: 'root'
|
|
22
|
-
}]
|
|
23
|
-
}], ctorParameters: function () { return []; } });
|
|
24
|
-
|
|
25
|
-
class AfConnectComponentsComponent {
|
|
26
|
-
}
|
|
27
|
-
AfConnectComponentsComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.1.0", ngImport: i0, type: AfConnectComponentsComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
28
|
-
AfConnectComponentsComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.1.0", type: AfConnectComponentsComponent, selector: "lib-af-connect-components", ngImport: i0, template: `
|
|
29
|
-
<p>
|
|
30
|
-
af-connect-components works!
|
|
31
|
-
</p>
|
|
32
|
-
`, isInline: true });
|
|
33
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.0", ngImport: i0, type: AfConnectComponentsComponent, decorators: [{
|
|
34
|
-
type: Component,
|
|
35
|
-
args: [{ selector: 'lib-af-connect-components', template: `
|
|
36
|
-
<p>
|
|
37
|
-
af-connect-components works!
|
|
38
|
-
</p>
|
|
39
|
-
` }]
|
|
40
|
-
}] });
|
|
41
|
-
|
|
42
|
-
class BreakpointLibService {
|
|
43
|
-
constructor(responsive) {
|
|
44
|
-
this.responsive = responsive;
|
|
45
|
-
this.isMobile$ = this.responsive.observe(['(max-width: 768px)']).pipe(map((result) => !result.matches));
|
|
46
|
-
}
|
|
47
|
-
}
|
|
48
|
-
BreakpointLibService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.1.0", ngImport: i0, type: BreakpointLibService, deps: [{ token: i1.BreakpointObserver }], target: i0.ɵɵFactoryTarget.Injectable });
|
|
49
|
-
BreakpointLibService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.1.0", ngImport: i0, type: BreakpointLibService });
|
|
50
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.0", ngImport: i0, type: BreakpointLibService, decorators: [{
|
|
51
|
-
type: Injectable
|
|
52
|
-
}], ctorParameters: function () { return [{ type: i1.BreakpointObserver }]; } });
|
|
53
|
-
|
|
54
|
-
class ExpandableWrapperComponent {
|
|
55
|
-
constructor() {
|
|
56
|
-
this.isExpanded$ = new BehaviorSubject(null);
|
|
57
|
-
}
|
|
58
|
-
toggleIsExpanded() {
|
|
59
|
-
this.isExpanded$
|
|
60
|
-
.pipe(take(1))
|
|
61
|
-
.subscribe((current) => {
|
|
62
|
-
this.isExpanded$.next(!current);
|
|
63
|
-
})
|
|
64
|
-
.unsubscribe();
|
|
65
|
-
}
|
|
66
|
-
}
|
|
67
|
-
ExpandableWrapperComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.1.0", ngImport: i0, type: ExpandableWrapperComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
68
|
-
ExpandableWrapperComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.1.0", type: ExpandableWrapperComponent, selector: "afc-expandable-wrapper", ngImport: i0, template: "<div class=\"expandable-wrapper\" (click)=\"toggleIsExpanded()\">\r\n <ng-content select=\"[triggerable]\"></ng-content>\r\n</div>\r\n<ng-content></ng-content>\r\n", styles: [""], changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
|
69
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.0", ngImport: i0, type: ExpandableWrapperComponent, decorators: [{
|
|
70
|
-
type: Component,
|
|
71
|
-
args: [{ selector: 'afc-expandable-wrapper', changeDetection: ChangeDetectionStrategy.OnPush, template: "<div class=\"expandable-wrapper\" (click)=\"toggleIsExpanded()\">\r\n <ng-content select=\"[triggerable]\"></ng-content>\r\n</div>\r\n<ng-content></ng-content>\r\n" }]
|
|
72
|
-
}] });
|
|
73
|
-
|
|
74
|
-
class ExpandableContainerComponent {
|
|
75
|
-
constructor(wrapper) {
|
|
76
|
-
this.wrapper = wrapper;
|
|
77
|
-
}
|
|
78
|
-
}
|
|
79
|
-
ExpandableContainerComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.1.0", ngImport: i0, type: ExpandableContainerComponent, deps: [{ token: ExpandableWrapperComponent, host: true, optional: true }], target: i0.ɵɵFactoryTarget.Component });
|
|
80
|
-
ExpandableContainerComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.1.0", type: ExpandableContainerComponent, selector: "afc-expandable-container", ngImport: i0, template: "<div class=\"expand-container\" [@expandContainer]=\"(wrapper.isExpanded$ | async) ? 'expanded' : 'collapsed'\">\r\n <ng-content></ng-content>\r\n</div>\r\n", styles: [".expand-container{overflow:hidden}\n"], dependencies: [{ kind: "pipe", type: i1$1.AsyncPipe, name: "async" }], animations: [trigger('expandContainer', [
|
|
81
|
-
state('collapsed', style({ height: '0px', minHeight: '0', visibility: 'hidden', border: 'none', overflow: 'hidden' })),
|
|
82
|
-
state('expanded', style({ height: '*' })),
|
|
83
|
-
transition('expanded <=> collapsed', animate('300ms ease-out'))
|
|
84
|
-
])], changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
|
85
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.0", ngImport: i0, type: ExpandableContainerComponent, decorators: [{
|
|
86
|
-
type: Component,
|
|
87
|
-
args: [{ selector: 'afc-expandable-container', changeDetection: ChangeDetectionStrategy.OnPush, animations: [trigger('expandContainer', [
|
|
88
|
-
state('collapsed', style({ height: '0px', minHeight: '0', visibility: 'hidden', border: 'none', overflow: 'hidden' })),
|
|
89
|
-
state('expanded', style({ height: '*' })),
|
|
90
|
-
transition('expanded <=> collapsed', animate('300ms ease-out'))
|
|
91
|
-
])], template: "<div class=\"expand-container\" [@expandContainer]=\"(wrapper.isExpanded$ | async) ? 'expanded' : 'collapsed'\">\r\n <ng-content></ng-content>\r\n</div>\r\n", styles: [".expand-container{overflow:hidden}\n"] }]
|
|
92
|
-
}], ctorParameters: function () {
|
|
93
|
-
return [{ type: ExpandableWrapperComponent, decorators: [{
|
|
94
|
-
type: Host
|
|
95
|
-
}, {
|
|
96
|
-
type: Optional
|
|
97
|
-
}] }];
|
|
98
|
-
} });
|
|
99
|
-
|
|
100
|
-
var AnimationPosition;
|
|
101
|
-
(function (AnimationPosition) {
|
|
102
|
-
AnimationPosition[AnimationPosition["right"] = 0] = "right";
|
|
103
|
-
AnimationPosition[AnimationPosition["bottom"] = 90] = "bottom";
|
|
104
|
-
AnimationPosition[AnimationPosition["left"] = 180] = "left";
|
|
105
|
-
AnimationPosition[AnimationPosition["top"] = 270] = "top";
|
|
106
|
-
})(AnimationPosition || (AnimationPosition = {}));
|
|
107
|
-
;
|
|
108
|
-
class ExpandableArrowComponent {
|
|
109
|
-
constructor(wrapper) {
|
|
110
|
-
this.wrapper = wrapper;
|
|
111
|
-
this.color = '#454f63';
|
|
112
|
-
this.startPosition = 'right';
|
|
113
|
-
this.endPosition = 'bottom';
|
|
114
|
-
this.collapsedRotation = AnimationPosition['right'];
|
|
115
|
-
this.expandedRotation = AnimationPosition['bottom'];
|
|
116
|
-
}
|
|
117
|
-
ngOnInit() {
|
|
118
|
-
this.collapsedRotation = AnimationPosition[this.startPosition];
|
|
119
|
-
this.expandedRotation = AnimationPosition[this.endPosition];
|
|
120
|
-
}
|
|
121
|
-
}
|
|
122
|
-
ExpandableArrowComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.1.0", ngImport: i0, type: ExpandableArrowComponent, deps: [{ token: ExpandableWrapperComponent, host: true, optional: true }], target: i0.ɵɵFactoryTarget.Component });
|
|
123
|
-
ExpandableArrowComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.1.0", type: ExpandableArrowComponent, selector: "afc-expandable-arrow", inputs: { color: "color", startPosition: "startPosition", endPosition: "endPosition" }, ngImport: i0, template: "<span class=\"expandable-arrow\" #arrow>\r\n <svg\r\n [@expandableArrow]=\"{\r\n value: (wrapper && wrapper.isExpanded$ | async) ? 'expanded' : 'collapsed',\r\n params: {\r\n collapsedRotation,\r\n expandedRotation\r\n }\r\n }\"\r\n id=\"icons_next\" data-name=\"icons/next\" xmlns=\"http://www.w3.org/2000/svg\" width=\"24\" height=\"24\" viewBox=\"0 0 24 24\">\r\n <rect id=\"bg\" width=\"24\" height=\"24\" fill=\"none\"/>\r\n <path id=\"union\" d=\"M1597.541-4.4l-5.929-5.93a.742.742,0,0,1-.081-.07.747.747,0,0,1-.219-.536.747.747,0,0,1,.219-.535.751.751,0,0,1,.078-.068l5.932-5.932a.751.751,0,0,1,1.061,0,.751.751,0,0,1,0,1.061l-5.476,5.475,5.476,5.475a.751.751,0,0,1,0,1.061.749.749,0,0,1-.531.219A.749.749,0,0,1,1597.541-4.4Z\" transform=\"translate(1607.832 1.052) rotate(180)\" [attr.fill]=\"color\"/>\r\n </svg>\r\n</span>\r\n", styles: [""], dependencies: [{ kind: "pipe", type: i1$1.AsyncPipe, name: "async" }], animations: [trigger('expandableArrow', [
|
|
124
|
-
state('collapsed', style({ transform: 'rotate({{collapsedRotation}}deg)' }), { params: { collapsedRotation: '0' } }),
|
|
125
|
-
state('expanded', style({ transform: 'rotate({{expandedRotation}}deg)' }), { params: { expandedRotation: '90' } }),
|
|
126
|
-
transition('expanded <=> collapsed', animate('300ms ease-out')),
|
|
127
|
-
transition('collapsed <=> expanded', animate('300ms ease-out'))
|
|
128
|
-
])], changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
|
129
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.0", ngImport: i0, type: ExpandableArrowComponent, decorators: [{
|
|
130
|
-
type: Component,
|
|
131
|
-
args: [{ selector: 'afc-expandable-arrow', changeDetection: ChangeDetectionStrategy.OnPush, animations: [trigger('expandableArrow', [
|
|
132
|
-
state('collapsed', style({ transform: 'rotate({{collapsedRotation}}deg)' }), { params: { collapsedRotation: '0' } }),
|
|
133
|
-
state('expanded', style({ transform: 'rotate({{expandedRotation}}deg)' }), { params: { expandedRotation: '90' } }),
|
|
134
|
-
transition('expanded <=> collapsed', animate('300ms ease-out')),
|
|
135
|
-
transition('collapsed <=> expanded', animate('300ms ease-out'))
|
|
136
|
-
])], template: "<span class=\"expandable-arrow\" #arrow>\r\n <svg\r\n [@expandableArrow]=\"{\r\n value: (wrapper && wrapper.isExpanded$ | async) ? 'expanded' : 'collapsed',\r\n params: {\r\n collapsedRotation,\r\n expandedRotation\r\n }\r\n }\"\r\n id=\"icons_next\" data-name=\"icons/next\" xmlns=\"http://www.w3.org/2000/svg\" width=\"24\" height=\"24\" viewBox=\"0 0 24 24\">\r\n <rect id=\"bg\" width=\"24\" height=\"24\" fill=\"none\"/>\r\n <path id=\"union\" d=\"M1597.541-4.4l-5.929-5.93a.742.742,0,0,1-.081-.07.747.747,0,0,1-.219-.536.747.747,0,0,1,.219-.535.751.751,0,0,1,.078-.068l5.932-5.932a.751.751,0,0,1,1.061,0,.751.751,0,0,1,0,1.061l-5.476,5.475,5.476,5.475a.751.751,0,0,1,0,1.061.749.749,0,0,1-.531.219A.749.749,0,0,1,1597.541-4.4Z\" transform=\"translate(1607.832 1.052) rotate(180)\" [attr.fill]=\"color\"/>\r\n </svg>\r\n</span>\r\n" }]
|
|
137
|
-
}], ctorParameters: function () {
|
|
138
|
-
return [{ type: ExpandableWrapperComponent, decorators: [{
|
|
139
|
-
type: Host
|
|
140
|
-
}, {
|
|
141
|
-
type: Optional
|
|
142
|
-
}] }];
|
|
143
|
-
}, propDecorators: { color: [{
|
|
144
|
-
type: Input
|
|
145
|
-
}], startPosition: [{
|
|
146
|
-
type: Input
|
|
147
|
-
}], endPosition: [{
|
|
148
|
-
type: Input
|
|
149
|
-
}] } });
|
|
150
|
-
|
|
151
|
-
const DEFAULT_COLOR = '#15808D';
|
|
152
|
-
class AfConnectFooterComponent {
|
|
153
|
-
constructor(breakpointService) {
|
|
154
|
-
this.breakpointService = breakpointService;
|
|
155
|
-
this.config = undefined;
|
|
156
|
-
this.isBottomBannerHidden = false;
|
|
157
|
-
this.isFooterContentHidden = false;
|
|
158
|
-
this.backgroundColor = DEFAULT_COLOR;
|
|
159
|
-
this.centered = false;
|
|
160
|
-
/**
|
|
161
|
-
Footer component for AF Angular Websites. A config object can be passed to change data partially or fully.
|
|
162
|
-
|
|
163
|
-
public exampleTestConfig: FooterConfig = {
|
|
164
|
-
bannerTitle: 'test'
|
|
165
|
-
}
|
|
166
|
-
|
|
167
|
-
Passing the exampleTestConfig will replace only the banner. Everything else will be loaded from the default config.
|
|
168
|
-
|
|
169
|
-
|
|
170
|
-
defaultConfig: FooterConfig = {
|
|
171
|
-
sections: [
|
|
172
|
-
{
|
|
173
|
-
title: 'COMPANY',
|
|
174
|
-
sectionItems: [
|
|
175
|
-
{
|
|
176
|
-
title: 'Investor relations',
|
|
177
|
-
link: 'https://investors.alexforbes.com/'
|
|
178
|
-
},
|
|
179
|
-
{
|
|
180
|
-
title: 'Careers',
|
|
181
|
-
link: 'https://www.alexforbes.com/za/en/about/careers.html'
|
|
182
|
-
},
|
|
183
|
-
{
|
|
184
|
-
title: 'Procurement',
|
|
185
|
-
link: 'https://www.alexforbes.com/za/en/about/procurement.html'
|
|
186
|
-
},
|
|
187
|
-
{
|
|
188
|
-
title: 'Risk & Compliance',
|
|
189
|
-
link: 'https://www.alexanderforbesinvestments.co.za/about-us/risk-and-compliance'
|
|
190
|
-
},
|
|
191
|
-
]
|
|
192
|
-
},
|
|
193
|
-
{
|
|
194
|
-
title: 'RESOURCES',
|
|
195
|
-
sectionItems: [
|
|
196
|
-
{
|
|
197
|
-
title: 'Business directory',
|
|
198
|
-
link: 'https://www.alexforbes.com/za/en/contact/business-directory.html'
|
|
199
|
-
},
|
|
200
|
-
{
|
|
201
|
-
title: 'Compliments',
|
|
202
|
-
link: 'https://www.alexforbes.com/za/en/contact/compliments.html'
|
|
203
|
-
},
|
|
204
|
-
{
|
|
205
|
-
title: 'Complaints',
|
|
206
|
-
link: 'https://www.alexforbes.com/za/en/contact/Complaints.html'
|
|
207
|
-
},
|
|
208
|
-
{
|
|
209
|
-
title: 'Report fraud',
|
|
210
|
-
link: 'https://www.alexforbes.com/za/en/contact/Report-fraud.html'
|
|
211
|
-
},
|
|
212
|
-
{
|
|
213
|
-
title: 'Unclaimed benefits',
|
|
214
|
-
link: 'https://www.alexforbes.com/za/en/corporate/products-corporate/unclaimed-benefits-fund.html'
|
|
215
|
-
},
|
|
216
|
-
]
|
|
217
|
-
},
|
|
218
|
-
],
|
|
219
|
-
address: [
|
|
220
|
-
{
|
|
221
|
-
title: 'Head Office',
|
|
222
|
-
sectionItems: [
|
|
223
|
-
{
|
|
224
|
-
title: 'Contact information',
|
|
225
|
-
},
|
|
226
|
-
{
|
|
227
|
-
title: 'Email : info@alexforbes.com',
|
|
228
|
-
},
|
|
229
|
-
{
|
|
230
|
-
title: 'Telephone : +27 11 269 0000',
|
|
231
|
-
},
|
|
232
|
-
{
|
|
233
|
-
title: 'Fax : +27 11 263 0149',
|
|
234
|
-
},
|
|
235
|
-
]
|
|
236
|
-
},
|
|
237
|
-
{
|
|
238
|
-
title: '',
|
|
239
|
-
sectionItems: [
|
|
240
|
-
{
|
|
241
|
-
title: 'Address',
|
|
242
|
-
},
|
|
243
|
-
{
|
|
244
|
-
title: 'Alexforbes',
|
|
245
|
-
},
|
|
246
|
-
{
|
|
247
|
-
title: '115 West Street',
|
|
248
|
-
},
|
|
249
|
-
{
|
|
250
|
-
title: 'Sandton, 2196',
|
|
251
|
-
},
|
|
252
|
-
]
|
|
253
|
-
},
|
|
254
|
-
],
|
|
255
|
-
bannerTitle: 'Copyright 2022 Alexander Forbes Group Holdings Limited.',
|
|
256
|
-
instagram: {
|
|
257
|
-
link: 'https://www.instagram.com/alexforbesofficial',
|
|
258
|
-
isHidden: false,
|
|
259
|
-
},
|
|
260
|
-
linkedIn: {
|
|
261
|
-
link: 'https://www.linkedin.com/company/alexforbesofficial',
|
|
262
|
-
isHidden: false,
|
|
263
|
-
},
|
|
264
|
-
facebook: {
|
|
265
|
-
link: 'https://www.facebook.com/alexforbesofficial/',
|
|
266
|
-
isHidden: false,
|
|
267
|
-
},
|
|
268
|
-
twitter: {
|
|
269
|
-
link: 'https://twitter.com/alexforbes',
|
|
270
|
-
isHidden: false,
|
|
271
|
-
}
|
|
272
|
-
}
|
|
273
|
-
*/
|
|
274
|
-
this.defaultConfig = {
|
|
275
|
-
sections: [
|
|
276
|
-
{
|
|
277
|
-
title: 'Company',
|
|
278
|
-
sectionItems: [
|
|
279
|
-
{
|
|
280
|
-
title: 'Investor relations',
|
|
281
|
-
link: 'https://investors.alexforbes.com/'
|
|
282
|
-
},
|
|
283
|
-
{
|
|
284
|
-
title: 'Careers',
|
|
285
|
-
link: 'https://www.alexforbes.com/za/en/about/careers.html'
|
|
286
|
-
},
|
|
287
|
-
{
|
|
288
|
-
title: 'Procurement',
|
|
289
|
-
link: 'https://www.alexforbes.com/za/en/about/procurement.html'
|
|
290
|
-
},
|
|
291
|
-
{
|
|
292
|
-
title: 'Risk & compliance',
|
|
293
|
-
link: 'https://investors.alexforbes.com/governance/#1649142494218-25325-08da'
|
|
294
|
-
},
|
|
295
|
-
]
|
|
296
|
-
},
|
|
297
|
-
{
|
|
298
|
-
title: 'Resources',
|
|
299
|
-
sectionItems: [
|
|
300
|
-
{
|
|
301
|
-
title: 'Business directory',
|
|
302
|
-
link: 'https://www.alexforbes.com/za/en/contact/business-directory.html'
|
|
303
|
-
},
|
|
304
|
-
{
|
|
305
|
-
title: 'Call me back',
|
|
306
|
-
link: 'https://kfta.app.alexanderforbes.co.za/TotalAgility/Forms/Digital/Contact_Us.form',
|
|
307
|
-
isHidden: true
|
|
308
|
-
},
|
|
309
|
-
{
|
|
310
|
-
title: 'Compliments',
|
|
311
|
-
link: 'https://www.alexforbes.com/za/en/contact/compliments.html'
|
|
312
|
-
},
|
|
313
|
-
{
|
|
314
|
-
title: 'Complaints',
|
|
315
|
-
link: 'https://www.alexforbes.com/za/en/contact/Complaints.html'
|
|
316
|
-
},
|
|
317
|
-
{
|
|
318
|
-
title: 'Report fraud',
|
|
319
|
-
link: 'https://www.alexforbes.com/za/en/contact/Report-fraud.html'
|
|
320
|
-
},
|
|
321
|
-
{
|
|
322
|
-
title: 'Unclaimed benefits',
|
|
323
|
-
link: 'https://www.alexforbes.com/za/en/corporate/products-corporate/unclaimed-benefits-fund.html'
|
|
324
|
-
},
|
|
325
|
-
]
|
|
326
|
-
},
|
|
327
|
-
],
|
|
328
|
-
address: [
|
|
329
|
-
{
|
|
330
|
-
title: 'Head Office',
|
|
331
|
-
sectionItems: [
|
|
332
|
-
{
|
|
333
|
-
title: 'Contact information',
|
|
334
|
-
bold: false
|
|
335
|
-
},
|
|
336
|
-
{
|
|
337
|
-
title: 'Email : info@alexforbes.com',
|
|
338
|
-
},
|
|
339
|
-
{
|
|
340
|
-
title: 'Telephone : +27 11 269 0000',
|
|
341
|
-
},
|
|
342
|
-
{
|
|
343
|
-
title: 'Fax : +27 11 263 0149',
|
|
344
|
-
},
|
|
345
|
-
]
|
|
346
|
-
},
|
|
347
|
-
{
|
|
348
|
-
title: '',
|
|
349
|
-
sectionItems: [
|
|
350
|
-
{
|
|
351
|
-
title: 'Address',
|
|
352
|
-
bold: false
|
|
353
|
-
},
|
|
354
|
-
{
|
|
355
|
-
title: 'Alexforbes',
|
|
356
|
-
},
|
|
357
|
-
{
|
|
358
|
-
title: '115 West Street',
|
|
359
|
-
},
|
|
360
|
-
{
|
|
361
|
-
title: 'Sandton, 2196',
|
|
362
|
-
},
|
|
363
|
-
]
|
|
364
|
-
},
|
|
365
|
-
],
|
|
366
|
-
bannerTitle: 'Copyright 2024 Alexander Forbes Group Holdings Limited.',
|
|
367
|
-
instagram: {
|
|
368
|
-
link: 'https://www.instagram.com/alexforbesofficial',
|
|
369
|
-
isHidden: false,
|
|
370
|
-
},
|
|
371
|
-
linkedIn: {
|
|
372
|
-
link: 'https://www.linkedin.com/company/alexforbesofficial',
|
|
373
|
-
isHidden: false,
|
|
374
|
-
},
|
|
375
|
-
facebook: {
|
|
376
|
-
link: 'https://www.facebook.com/alexforbesofficial/',
|
|
377
|
-
isHidden: false,
|
|
378
|
-
},
|
|
379
|
-
twitter: {
|
|
380
|
-
link: 'https://twitter.com/alexforbes',
|
|
381
|
-
isHidden: false,
|
|
382
|
-
},
|
|
383
|
-
whatsapp: {
|
|
384
|
-
link: 'https://api.whatsapp.com/send/?phone=27600439601&text=help&type=phone_number&app_absent=0',
|
|
385
|
-
isHidden: false,
|
|
386
|
-
}
|
|
387
|
-
};
|
|
388
|
-
}
|
|
389
|
-
get getMobileAddress() {
|
|
390
|
-
var _a, _b;
|
|
391
|
-
const config = this.config ? this.config : this.defaultConfig;
|
|
392
|
-
const addressData = (_b = (_a = config === null || config === void 0 ? void 0 : config.address) === null || _a === void 0 ? void 0 : _a.find(address => !address.title)) === null || _b === void 0 ? void 0 : _b.sectionItems;
|
|
393
|
-
const titleString = addressData === null || addressData === void 0 ? void 0 : addressData.reduce((prev, curr, i) => {
|
|
394
|
-
return `${prev}${i === 0 ? '' : ''}${i === 1 ? ' : ' : ''}${i > 1 ? ',' : ''} ${curr.title}`;
|
|
395
|
-
}, '');
|
|
396
|
-
return titleString || '';
|
|
397
|
-
}
|
|
398
|
-
set showCallMeBack(value) {
|
|
399
|
-
if (this.defaultConfig &&
|
|
400
|
-
this.defaultConfig.sections &&
|
|
401
|
-
this.defaultConfig.sections[1] &&
|
|
402
|
-
this.defaultConfig.sections[1].sectionItems &&
|
|
403
|
-
this.defaultConfig.sections[1].sectionItems[1]) {
|
|
404
|
-
this.defaultConfig.sections[1].sectionItems[1].isHidden = !value;
|
|
405
|
-
if (this.defaultConfig.address && this.defaultConfig.address[0] && this.defaultConfig.address[0].sectionItems) {
|
|
406
|
-
this.defaultConfig.address[0].sectionItems[0].bold = value;
|
|
407
|
-
}
|
|
408
|
-
if (this.defaultConfig.address && this.defaultConfig.address[1] && this.defaultConfig.address[1].sectionItems) {
|
|
409
|
-
this.defaultConfig.address[1].sectionItems[0].bold = value;
|
|
410
|
-
}
|
|
411
|
-
if (value) {
|
|
412
|
-
this.defaultConfig.sections[1].title = "Customer Resources";
|
|
413
|
-
let temp = this.defaultConfig.sections[1].sectionItems[2];
|
|
414
|
-
this.defaultConfig.sections[1].sectionItems[2] = this.defaultConfig.sections[1].sectionItems[3];
|
|
415
|
-
this.defaultConfig.sections[1].sectionItems[3] = temp;
|
|
416
|
-
}
|
|
417
|
-
}
|
|
418
|
-
}
|
|
419
|
-
openLegalTerms() {
|
|
420
|
-
window.open('https://myapi.alexanderforbes.co.za/content/download/afinvestments/investmentsolutionspdffiles?path=Legal_Terms.pdf');
|
|
421
|
-
}
|
|
422
|
-
openPrivacyPolicy() {
|
|
423
|
-
window.open('https://myapi.alexanderforbes.co.za/content/download/afinvestments/investmentsolutionspdffiles?path=Privacy_Policy.pdf');
|
|
424
|
-
}
|
|
425
|
-
openPaiaManual() {
|
|
426
|
-
window.open('https://myapi.alexanderforbes.co.za/content/download/afinvestments/investmentsolutionspdffiles?path=PAIA_Manual.pdf');
|
|
427
|
-
}
|
|
428
|
-
getFooterStyling() {
|
|
429
|
-
if (this.centered) {
|
|
430
|
-
return {
|
|
431
|
-
'background-color': this.backgroundColor,
|
|
432
|
-
'grid-template-columns': 'repeat(4, minmax(190px, auto))',
|
|
433
|
-
'justify-content': 'center'
|
|
434
|
-
};
|
|
435
|
-
}
|
|
436
|
-
return {
|
|
437
|
-
'background-color': this.backgroundColor,
|
|
438
|
-
'grid-template-columns': 'repeat(auto-fill, minmax(190px, auto))'
|
|
439
|
-
};
|
|
440
|
-
}
|
|
441
|
-
}
|
|
442
|
-
AfConnectFooterComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.1.0", ngImport: i0, type: AfConnectFooterComponent, deps: [{ token: BreakpointLibService }], target: i0.ɵɵFactoryTarget.Component });
|
|
443
|
-
AfConnectFooterComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.1.0", type: AfConnectFooterComponent, selector: "lib-af-connect-footer", inputs: { config: "config", isBottomBannerHidden: "isBottomBannerHidden", isFooterContentHidden: "isFooterContentHidden", backgroundColor: "backgroundColor", centered: "centered", showCallMeBack: "showCallMeBack" }, ngImport: i0, template: "\r\n<ng-container *ngIf=\"!isFooterContentHidden\"> \r\n <div *ngIf=\"breakpointService.isMobile$ | async\" class=\"footer-container\" [ngStyle]=\"getFooterStyling()\">\r\n <div *ngFor=\"let section of config?.sections?.length ? config?.sections : defaultConfig.sections\" class=\"sections-container\">\r\n <h2 class=\"section-title\">\r\n {{section.title}}\r\n </h2>\r\n <ng-container *ngFor=\"let link of section.sectionItems\">\r\n <a *ngIf=\"!link.isHidden\" class=\"section-link\" [href]=\"link.link\" target=\"_blank\">{{link.title}}</a>\r\n </ng-container>\r\n </div>\r\n <div *ngFor=\"let address of config?.address?.length ? config?.address : defaultConfig.address\" class=\"sections-container address-container\">\r\n <h2 class=\"section-title address-title\">\r\n {{address.title}}\r\n </h2>\r\n <ng-container *ngFor=\"let link of address.sectionItems\">\r\n <span class=\"section-link address-link\" [ngStyle]=\"{'font-weight': link.bold ? '600' : '500' }\">{{link.title}}</span>\r\n </ng-container>\r\n </div>\r\n </div>\r\n\r\n <div *ngIf=\"!(breakpointService.isMobile$ | async)\" class=\"footer-container\" [ngStyle]=\"{backgroundColor}\">\r\n <div *ngFor=\"let section of config?.sections?.length ? config?.sections : defaultConfig.sections\" class=\"sections-container\">\r\n <afc-expandable-wrapper>\r\n <div triggerable class=\"title-container\">\r\n <h2 class=\"section-title\">\r\n {{section.title}}\r\n </h2>\r\n <afc-expandable-arrow color=\"rgba(255,255,255, 0.7)\"></afc-expandable-arrow>\r\n </div>\r\n <afc-expandable-container>\r\n <div class=\"sections-container__mobile\">\r\n <ng-container *ngFor=\"let link of section.sectionItems\">\r\n <a *ngIf=\"!link.isHidden\" class=\"section-link address-link\" [href]=\"link.link\" target=\"_blank\">{{link.title}}</a>\r\n </ng-container>\r\n </div>\r\n </afc-expandable-container>\r\n </afc-expandable-wrapper>\r\n </div>\r\n <div *ngFor=\"let address of config?.address?.length ? config?.address : defaultConfig.address\" [ngClass]=\"[address.title ? 'sections-container address-container' : '']\">\r\n <afc-expandable-wrapper *ngIf=\"address.title\">\r\n <div triggerable class=\"title-container\">\r\n <h2 class=\"section-title address-title\">\r\n {{address.title}}\r\n </h2>\r\n <afc-expandable-arrow color=\"rgba(255,255,255, 0.7)\"></afc-expandable-arrow>\r\n </div>\r\n <afc-expandable-container>\r\n <div class=\"sections-container__mobile\">\r\n <ng-container *ngFor=\"let link of address.sectionItems\">\r\n <span class=\"section-link\">{{link.title}}</span>\r\n </ng-container>\r\n <span class=\"section-link address-link\">{{getMobileAddress}}</span>\r\n </div>\r\n </afc-expandable-container>\r\n </afc-expandable-wrapper>\r\n </div>\r\n </div>\r\n</ng-container> \r\n\r\n<div class=\"bottom-banner-container\" [ngClass]=\"{'centered': centered}\">\r\n <div *ngIf=\"!isBottomBannerHidden\" class=\"bottom-banner\">\r\n <div class=\"banner-title\">\r\n {{config?.bannerTitle ? config?.bannerTitle : defaultConfig.bannerTitle}}\r\n <span class=\"title-links\" (click)=\"openLegalTerms()\">Legal terms | </span>\r\n <span class=\"title-links\" (click)=\"openPrivacyPolicy()\">Privacy policy | </span>\r\n <span class=\"title-links\" (click)=\"openPaiaManual()\">PAIA manual</span>\r\n </div>\r\n \r\n <div class=\"social-container\">\r\n <a *ngIf=\"!config?.instagram?.isHidden\" class=\"image-container\" [href]=\"config?.instagram?.link ? config?.instagram?.link : defaultConfig.instagram?.link\" target=\"_blank\">\r\n <svg id=\"Group_888\" data-name=\"Group 888\" xmlns=\"http://www.w3.org/2000/svg\" width=\"15.618\" height=\"15.676\" viewBox=\"0 0 15.618 15.676\">\r\n <path id=\"Path_8\" data-name=\"Path 8\" d=\"M21.327,13.4c1.039.037,2.115.037,3.154.074a5.31,5.31,0,0,1,2.6.668,3.937,3.937,0,0,1,1.892,2.746,21.051,21.051,0,0,1,.186,2.152c.037,1.558,0,3.117,0,4.675a7.553,7.553,0,0,1-.3,2.412,3.931,3.931,0,0,1-3.154,2.746,14.046,14.046,0,0,1-2.152.186c-1.559.037-3.08,0-4.638,0a7.553,7.553,0,0,1-2.412-.3,3.931,3.931,0,0,1-2.746-3.154,14.046,14.046,0,0,1-.186-2.152c-.037-1.558,0-3.117,0-4.675a7.553,7.553,0,0,1,.3-2.412,3.931,3.931,0,0,1,3.154-2.746,14.047,14.047,0,0,1,2.152-.186c.705-.037,1.41-.037,2.152-.037Zm6.42,7.681h0c-.037-.631-.037-1.225-.037-1.855a14.347,14.347,0,0,0-.111-1.781,2.653,2.653,0,0,0-2.226-2.486,9.8,9.8,0,0,0-2.078-.148c-1.336-.037-2.635-.037-3.97,0a11.414,11.414,0,0,0-1.967.148,2.616,2.616,0,0,0-2.226,1.93A5.813,5.813,0,0,0,14.945,18c-.037,1.41-.037,2.82-.037,4.23,0,.891.037,1.818.111,2.709a2.587,2.587,0,0,0,2.264,2.486,12.746,12.746,0,0,0,2.078.148c1.3.037,2.6,0,3.933,0a14.348,14.348,0,0,0,1.781-.111A2.594,2.594,0,0,0,26.6,26.87a2.848,2.848,0,0,0,1.039-2.264C27.71,23.493,27.71,22.306,27.747,21.081Z\" transform=\"translate(-13.556 -13.4)\" fill=\"#f1f2f5\"/>\r\n <path id=\"Path_9\" data-name=\"Path 9\" d=\"M31.715,27.708a4.008,4.008,0,1,1-3.97-4.008A3.991,3.991,0,0,1,31.715,27.708Zm-4.008,2.6a2.6,2.6,0,1,0-2.6-2.6A2.581,2.581,0,0,0,27.708,30.3Z\" transform=\"translate(-19.936 -19.878)\" fill=\"#f1f2f5\"/>\r\n <path id=\"Path_10\" data-name=\"Path 10\" d=\"M45.052,21.628a.951.951,0,0,1-.928.965.946.946,0,1,1,.928-.965Z\" transform=\"translate(-32.196 -17.991)\" fill=\"#f1f2f5\"/>\r\n </svg>\r\n </a>\r\n <a *ngIf=\"!config?.linkedIn?.isHidden\" class=\"image-container\" [href]=\"config?.linkedIn?.link ? config?.linkedIn?.link : defaultConfig.linkedIn?.link\" target=\"_blank\">\r\n <svg xmlns=\"http://www.w3.org/2000/svg\" width=\"15.618\" height=\"14.902\" viewBox=\"0 0 15.618 14.902\">\r\n <path id=\"Path_7\" data-name=\"Path 7\" d=\"M32.818,24.635V30.4H29.45V25.014c0-1.347-.463-2.273-1.684-2.273a1.868,1.868,0,0,0-1.726,1.221,2.278,2.278,0,0,0-.126.8V30.4H22.546s.042-9.135,0-10.061h3.368v1.431a.041.041,0,0,1-.042.042h.042v-.042a3.363,3.363,0,0,1,3.031-1.684c2.189,0,3.873,1.473,3.873,4.546ZM19.094,15.5A1.753,1.753,0,0,0,17.2,17.226a1.716,1.716,0,0,0,1.852,1.726h.042a1.729,1.729,0,0,0,1.894-1.726A1.777,1.777,0,0,0,19.094,15.5ZM17.368,30.4h3.326V20.341H17.368Zm0,0\" transform=\"translate(-17.2 -15.5)\" fill=\"#f1f2f5\"/>\r\n </svg>\r\n </a>\r\n <a *ngIf=\"!config?.facebook?.isHidden\" class=\"image-container\" [href]=\"config?.facebook?.link ? config?.facebook?.link : defaultConfig.facebook?.link\" target=\"_blank\">\r\n <svg xmlns=\"http://www.w3.org/2000/svg\" width=\"15\" height=\"15\" viewBox=\"0 0 7.235 15.618\">\r\n <path id=\"Path_13\" data-name=\"Path 13\" d=\"M31.967,21.909H29.785v7.809H26.531V21.909H25V19.153h1.531v-1.8A3.032,3.032,0,0,1,29.785,14.1H32.2v2.68H30.474a.679.679,0,0,0-.689.766v1.608h2.45Zm0,0\" transform=\"translate(-25 -14.1)\" fill=\"#f1f2f5\"/>\r\n </svg>\r\n </a>\r\n <a *ngIf=\"!config?.twitter?.isHidden\" class=\"image-container\" [href]=\"config?.twitter?.link ? config?.twitter?.link : defaultConfig.twitter?.link\" target=\"_blank\">\r\n <svg xmlns=\"http://www.w3.org/2000/svg\" width=\"15.966\" height=\"15.618\" viewBox=\"0 0 15.966 15.618\">\r\n <path id=\"icons8-twitterx\" d=\"M19.846,19.618l-6.244-9.1.011.009L19.243,4H17.361L12.775,9.31,9.133,4H4.2l5.829,8.5h0L3.88,19.618H5.761l5.1-5.908,4.052,5.908ZM8.388,5.42,17.148,18.2H15.658L6.89,5.42Z\" transform=\"translate(-3.88 -4)\" fill=\"#f1f2f5\"/>\r\n </svg>\r\n </a>\r\n <a *ngIf=\"!config?.whatsapp?.isHidden\" class=\"image-container\" [href]=\"config?.whatsapp?.link ? config?.whatsapp?.link : defaultConfig.whatsapp?.link\" target=\"_blank\">\r\n <svg xmlns=\"http://www.w3.org/2000/svg\" width=\"15.666\" height=\"15.676\" viewBox=\"0 0 15.666 15.676\">\r\n <path id=\"whatsapp-svgrepo-com\" d=\"M17.324,6.273A7.691,7.691,0,0,0,11.838,4,7.779,7.779,0,0,0,5.1,15.649L4,19.676,8.115,18.6a7.762,7.762,0,0,0,9.21-12.325ZM11.838,18.236a6.446,6.446,0,0,1-3.292-.9l-.235-.147-2.44.647.647-2.381-.157-.245a6.492,6.492,0,1,1,5.477,3.027Zm3.537-4.84c-.2-.1-1.146-.568-1.323-.627s-.314-.1-.441.1a8.822,8.822,0,0,1-.617.754c-.108.137-.225.147-.421,0a5.222,5.222,0,0,1-2.635-2.3c-.206-.343.2-.323.568-1.058a.372.372,0,0,0,0-.343c0-.1-.441-1.058-.6-1.44s-.314-.323-.441-.333H9.085a.7.7,0,0,0-.519.245,2.146,2.146,0,0,0-.647,1.656,3.742,3.742,0,0,0,.794,2.008,8.71,8.71,0,0,0,3.321,2.939,3.773,3.773,0,0,0,2.332.49,1.96,1.96,0,0,0,1.3-.921,1.587,1.587,0,0,0,.118-.921A1.368,1.368,0,0,0,15.375,13.4Z\" transform=\"translate(-4 -4)\" fill=\"#fff\"/>\r\n </svg>\r\n </a>\r\n </div>\r\n </div>\r\n</div>\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n", styles: [":host{z-index:1000;width:100%}.footer-container{font-family:Hero New SemiBold;min-height:200px;position:relative;padding:3% 5% 2% 5.3%;z-index:1000;display:grid;grid-column-gap:4rem;grid-row-gap:1.5rem}@media (min-width: 769px) and (max-width: 1023px){.footer-container{grid-column-gap:2rem}}@media (min-width: 1024px) and (max-width: 1200px){.footer-container{grid-column-gap:2rem}}@media (max-width: 768px){.footer-container{grid-column-gap:0px;grid-row-gap:0px;display:flex;flex-wrap:wrap;flex-direction:column;padding:0rem 1rem}}.sections-container,.sections-container__mobile{display:flex;flex-wrap:wrap;justify-content:flex-start;flex-direction:column;gap:.5rem}@media (max-width: 768px){.sections-container,.sections-container__mobile{gap:20px;border-bottom:1px solid white}}@media (max-width: 768px){.sections-container__mobile{padding-bottom:20px}}.sections-container .section-title,.sections-container__mobile .section-title{font-size:1.25rem;font-family:Hero New Bold;margin:0 0 12px;color:#f1f2f5}@media (max-width: 768px){.sections-container .section-title,.sections-container__mobile .section-title{margin:0;font-size:1.125rem}}.sections-container:last-of-type,.sections-container__mobile:last-of-type{border-bottom:none}.sections-container:nth-last-of-type(2),.sections-container__mobile:nth-last-of-type(2){border-bottom:none}.section-link{font-family:Hero New;color:#fff;text-decoration:none;opacity:70%}.section-link.address-link{cursor:initial}@media (max-width: 768px){.section-link{font-size:.875rem}}@media (hover: hover){.section-link:hover{opacity:100%}}.bottom-banner-container{width:100%;background-color:#124e57}.bottom-banner-container.centered{display:flex;justify-content:center}.bottom-banner{color:#f1f2f5;padding:2% 5%;display:flex;justify-content:space-between;align-items:center;max-height:120px;position:relative;z-index:1001;width:90%;max-width:1440px}@media (max-width: 768px){.bottom-banner{flex-direction:column;justify-content:center;text-align:center;gap:11px;align-items:center;font-size:.6875rem;padding:16px 8px;line-height:22px}}.social-container{display:flex;gap:40px;margin-left:4%}@media (max-width: 768px){.social-container{gap:35px;margin-left:0%}}.image-container{cursor:pointer;display:flex;justify-content:center;align-items:center;width:18px;height:18px}img{height:16px;width:16px}.section-link{cursor:pointer}.address-title{min-height:28px}.address-container a:first-of-type{opacity:100%}.title-container{display:flex;justify-content:space-between;align-items:center;cursor:pointer}@media (max-width: 768px){.title-container{padding-top:16px;padding-bottom:16px;width:100%}}.margin-div{width:100%;height:20px}.title-links{cursor:pointer}.title-links:hover{text-decoration:underline}\n"], dependencies: [{ kind: "directive", type: i1$1.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { kind: "directive", type: i1$1.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { kind: "directive", type: i1$1.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "directive", type: i1$1.NgStyle, selector: "[ngStyle]", inputs: ["ngStyle"] }, { kind: "component", type: ExpandableContainerComponent, selector: "afc-expandable-container" }, { kind: "component", type: ExpandableArrowComponent, selector: "afc-expandable-arrow", inputs: ["color", "startPosition", "endPosition"] }, { kind: "component", type: ExpandableWrapperComponent, selector: "afc-expandable-wrapper" }, { kind: "pipe", type: i1$1.AsyncPipe, name: "async" }] });
|
|
444
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.0", ngImport: i0, type: AfConnectFooterComponent, decorators: [{
|
|
445
|
-
type: Component,
|
|
446
|
-
args: [{ selector: 'lib-af-connect-footer', template: "\r\n<ng-container *ngIf=\"!isFooterContentHidden\"> \r\n <div *ngIf=\"breakpointService.isMobile$ | async\" class=\"footer-container\" [ngStyle]=\"getFooterStyling()\">\r\n <div *ngFor=\"let section of config?.sections?.length ? config?.sections : defaultConfig.sections\" class=\"sections-container\">\r\n <h2 class=\"section-title\">\r\n {{section.title}}\r\n </h2>\r\n <ng-container *ngFor=\"let link of section.sectionItems\">\r\n <a *ngIf=\"!link.isHidden\" class=\"section-link\" [href]=\"link.link\" target=\"_blank\">{{link.title}}</a>\r\n </ng-container>\r\n </div>\r\n <div *ngFor=\"let address of config?.address?.length ? config?.address : defaultConfig.address\" class=\"sections-container address-container\">\r\n <h2 class=\"section-title address-title\">\r\n {{address.title}}\r\n </h2>\r\n <ng-container *ngFor=\"let link of address.sectionItems\">\r\n <span class=\"section-link address-link\" [ngStyle]=\"{'font-weight': link.bold ? '600' : '500' }\">{{link.title}}</span>\r\n </ng-container>\r\n </div>\r\n </div>\r\n\r\n <div *ngIf=\"!(breakpointService.isMobile$ | async)\" class=\"footer-container\" [ngStyle]=\"{backgroundColor}\">\r\n <div *ngFor=\"let section of config?.sections?.length ? config?.sections : defaultConfig.sections\" class=\"sections-container\">\r\n <afc-expandable-wrapper>\r\n <div triggerable class=\"title-container\">\r\n <h2 class=\"section-title\">\r\n {{section.title}}\r\n </h2>\r\n <afc-expandable-arrow color=\"rgba(255,255,255, 0.7)\"></afc-expandable-arrow>\r\n </div>\r\n <afc-expandable-container>\r\n <div class=\"sections-container__mobile\">\r\n <ng-container *ngFor=\"let link of section.sectionItems\">\r\n <a *ngIf=\"!link.isHidden\" class=\"section-link address-link\" [href]=\"link.link\" target=\"_blank\">{{link.title}}</a>\r\n </ng-container>\r\n </div>\r\n </afc-expandable-container>\r\n </afc-expandable-wrapper>\r\n </div>\r\n <div *ngFor=\"let address of config?.address?.length ? config?.address : defaultConfig.address\" [ngClass]=\"[address.title ? 'sections-container address-container' : '']\">\r\n <afc-expandable-wrapper *ngIf=\"address.title\">\r\n <div triggerable class=\"title-container\">\r\n <h2 class=\"section-title address-title\">\r\n {{address.title}}\r\n </h2>\r\n <afc-expandable-arrow color=\"rgba(255,255,255, 0.7)\"></afc-expandable-arrow>\r\n </div>\r\n <afc-expandable-container>\r\n <div class=\"sections-container__mobile\">\r\n <ng-container *ngFor=\"let link of address.sectionItems\">\r\n <span class=\"section-link\">{{link.title}}</span>\r\n </ng-container>\r\n <span class=\"section-link address-link\">{{getMobileAddress}}</span>\r\n </div>\r\n </afc-expandable-container>\r\n </afc-expandable-wrapper>\r\n </div>\r\n </div>\r\n</ng-container> \r\n\r\n<div class=\"bottom-banner-container\" [ngClass]=\"{'centered': centered}\">\r\n <div *ngIf=\"!isBottomBannerHidden\" class=\"bottom-banner\">\r\n <div class=\"banner-title\">\r\n {{config?.bannerTitle ? config?.bannerTitle : defaultConfig.bannerTitle}}\r\n <span class=\"title-links\" (click)=\"openLegalTerms()\">Legal terms | </span>\r\n <span class=\"title-links\" (click)=\"openPrivacyPolicy()\">Privacy policy | </span>\r\n <span class=\"title-links\" (click)=\"openPaiaManual()\">PAIA manual</span>\r\n </div>\r\n \r\n <div class=\"social-container\">\r\n <a *ngIf=\"!config?.instagram?.isHidden\" class=\"image-container\" [href]=\"config?.instagram?.link ? config?.instagram?.link : defaultConfig.instagram?.link\" target=\"_blank\">\r\n <svg id=\"Group_888\" data-name=\"Group 888\" xmlns=\"http://www.w3.org/2000/svg\" width=\"15.618\" height=\"15.676\" viewBox=\"0 0 15.618 15.676\">\r\n <path id=\"Path_8\" data-name=\"Path 8\" d=\"M21.327,13.4c1.039.037,2.115.037,3.154.074a5.31,5.31,0,0,1,2.6.668,3.937,3.937,0,0,1,1.892,2.746,21.051,21.051,0,0,1,.186,2.152c.037,1.558,0,3.117,0,4.675a7.553,7.553,0,0,1-.3,2.412,3.931,3.931,0,0,1-3.154,2.746,14.046,14.046,0,0,1-2.152.186c-1.559.037-3.08,0-4.638,0a7.553,7.553,0,0,1-2.412-.3,3.931,3.931,0,0,1-2.746-3.154,14.046,14.046,0,0,1-.186-2.152c-.037-1.558,0-3.117,0-4.675a7.553,7.553,0,0,1,.3-2.412,3.931,3.931,0,0,1,3.154-2.746,14.047,14.047,0,0,1,2.152-.186c.705-.037,1.41-.037,2.152-.037Zm6.42,7.681h0c-.037-.631-.037-1.225-.037-1.855a14.347,14.347,0,0,0-.111-1.781,2.653,2.653,0,0,0-2.226-2.486,9.8,9.8,0,0,0-2.078-.148c-1.336-.037-2.635-.037-3.97,0a11.414,11.414,0,0,0-1.967.148,2.616,2.616,0,0,0-2.226,1.93A5.813,5.813,0,0,0,14.945,18c-.037,1.41-.037,2.82-.037,4.23,0,.891.037,1.818.111,2.709a2.587,2.587,0,0,0,2.264,2.486,12.746,12.746,0,0,0,2.078.148c1.3.037,2.6,0,3.933,0a14.348,14.348,0,0,0,1.781-.111A2.594,2.594,0,0,0,26.6,26.87a2.848,2.848,0,0,0,1.039-2.264C27.71,23.493,27.71,22.306,27.747,21.081Z\" transform=\"translate(-13.556 -13.4)\" fill=\"#f1f2f5\"/>\r\n <path id=\"Path_9\" data-name=\"Path 9\" d=\"M31.715,27.708a4.008,4.008,0,1,1-3.97-4.008A3.991,3.991,0,0,1,31.715,27.708Zm-4.008,2.6a2.6,2.6,0,1,0-2.6-2.6A2.581,2.581,0,0,0,27.708,30.3Z\" transform=\"translate(-19.936 -19.878)\" fill=\"#f1f2f5\"/>\r\n <path id=\"Path_10\" data-name=\"Path 10\" d=\"M45.052,21.628a.951.951,0,0,1-.928.965.946.946,0,1,1,.928-.965Z\" transform=\"translate(-32.196 -17.991)\" fill=\"#f1f2f5\"/>\r\n </svg>\r\n </a>\r\n <a *ngIf=\"!config?.linkedIn?.isHidden\" class=\"image-container\" [href]=\"config?.linkedIn?.link ? config?.linkedIn?.link : defaultConfig.linkedIn?.link\" target=\"_blank\">\r\n <svg xmlns=\"http://www.w3.org/2000/svg\" width=\"15.618\" height=\"14.902\" viewBox=\"0 0 15.618 14.902\">\r\n <path id=\"Path_7\" data-name=\"Path 7\" d=\"M32.818,24.635V30.4H29.45V25.014c0-1.347-.463-2.273-1.684-2.273a1.868,1.868,0,0,0-1.726,1.221,2.278,2.278,0,0,0-.126.8V30.4H22.546s.042-9.135,0-10.061h3.368v1.431a.041.041,0,0,1-.042.042h.042v-.042a3.363,3.363,0,0,1,3.031-1.684c2.189,0,3.873,1.473,3.873,4.546ZM19.094,15.5A1.753,1.753,0,0,0,17.2,17.226a1.716,1.716,0,0,0,1.852,1.726h.042a1.729,1.729,0,0,0,1.894-1.726A1.777,1.777,0,0,0,19.094,15.5ZM17.368,30.4h3.326V20.341H17.368Zm0,0\" transform=\"translate(-17.2 -15.5)\" fill=\"#f1f2f5\"/>\r\n </svg>\r\n </a>\r\n <a *ngIf=\"!config?.facebook?.isHidden\" class=\"image-container\" [href]=\"config?.facebook?.link ? config?.facebook?.link : defaultConfig.facebook?.link\" target=\"_blank\">\r\n <svg xmlns=\"http://www.w3.org/2000/svg\" width=\"15\" height=\"15\" viewBox=\"0 0 7.235 15.618\">\r\n <path id=\"Path_13\" data-name=\"Path 13\" d=\"M31.967,21.909H29.785v7.809H26.531V21.909H25V19.153h1.531v-1.8A3.032,3.032,0,0,1,29.785,14.1H32.2v2.68H30.474a.679.679,0,0,0-.689.766v1.608h2.45Zm0,0\" transform=\"translate(-25 -14.1)\" fill=\"#f1f2f5\"/>\r\n </svg>\r\n </a>\r\n <a *ngIf=\"!config?.twitter?.isHidden\" class=\"image-container\" [href]=\"config?.twitter?.link ? config?.twitter?.link : defaultConfig.twitter?.link\" target=\"_blank\">\r\n <svg xmlns=\"http://www.w3.org/2000/svg\" width=\"15.966\" height=\"15.618\" viewBox=\"0 0 15.966 15.618\">\r\n <path id=\"icons8-twitterx\" d=\"M19.846,19.618l-6.244-9.1.011.009L19.243,4H17.361L12.775,9.31,9.133,4H4.2l5.829,8.5h0L3.88,19.618H5.761l5.1-5.908,4.052,5.908ZM8.388,5.42,17.148,18.2H15.658L6.89,5.42Z\" transform=\"translate(-3.88 -4)\" fill=\"#f1f2f5\"/>\r\n </svg>\r\n </a>\r\n <a *ngIf=\"!config?.whatsapp?.isHidden\" class=\"image-container\" [href]=\"config?.whatsapp?.link ? config?.whatsapp?.link : defaultConfig.whatsapp?.link\" target=\"_blank\">\r\n <svg xmlns=\"http://www.w3.org/2000/svg\" width=\"15.666\" height=\"15.676\" viewBox=\"0 0 15.666 15.676\">\r\n <path id=\"whatsapp-svgrepo-com\" d=\"M17.324,6.273A7.691,7.691,0,0,0,11.838,4,7.779,7.779,0,0,0,5.1,15.649L4,19.676,8.115,18.6a7.762,7.762,0,0,0,9.21-12.325ZM11.838,18.236a6.446,6.446,0,0,1-3.292-.9l-.235-.147-2.44.647.647-2.381-.157-.245a6.492,6.492,0,1,1,5.477,3.027Zm3.537-4.84c-.2-.1-1.146-.568-1.323-.627s-.314-.1-.441.1a8.822,8.822,0,0,1-.617.754c-.108.137-.225.147-.421,0a5.222,5.222,0,0,1-2.635-2.3c-.206-.343.2-.323.568-1.058a.372.372,0,0,0,0-.343c0-.1-.441-1.058-.6-1.44s-.314-.323-.441-.333H9.085a.7.7,0,0,0-.519.245,2.146,2.146,0,0,0-.647,1.656,3.742,3.742,0,0,0,.794,2.008,8.71,8.71,0,0,0,3.321,2.939,3.773,3.773,0,0,0,2.332.49,1.96,1.96,0,0,0,1.3-.921,1.587,1.587,0,0,0,.118-.921A1.368,1.368,0,0,0,15.375,13.4Z\" transform=\"translate(-4 -4)\" fill=\"#fff\"/>\r\n </svg>\r\n </a>\r\n </div>\r\n </div>\r\n</div>\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n", styles: [":host{z-index:1000;width:100%}.footer-container{font-family:Hero New SemiBold;min-height:200px;position:relative;padding:3% 5% 2% 5.3%;z-index:1000;display:grid;grid-column-gap:4rem;grid-row-gap:1.5rem}@media (min-width: 769px) and (max-width: 1023px){.footer-container{grid-column-gap:2rem}}@media (min-width: 1024px) and (max-width: 1200px){.footer-container{grid-column-gap:2rem}}@media (max-width: 768px){.footer-container{grid-column-gap:0px;grid-row-gap:0px;display:flex;flex-wrap:wrap;flex-direction:column;padding:0rem 1rem}}.sections-container,.sections-container__mobile{display:flex;flex-wrap:wrap;justify-content:flex-start;flex-direction:column;gap:.5rem}@media (max-width: 768px){.sections-container,.sections-container__mobile{gap:20px;border-bottom:1px solid white}}@media (max-width: 768px){.sections-container__mobile{padding-bottom:20px}}.sections-container .section-title,.sections-container__mobile .section-title{font-size:1.25rem;font-family:Hero New Bold;margin:0 0 12px;color:#f1f2f5}@media (max-width: 768px){.sections-container .section-title,.sections-container__mobile .section-title{margin:0;font-size:1.125rem}}.sections-container:last-of-type,.sections-container__mobile:last-of-type{border-bottom:none}.sections-container:nth-last-of-type(2),.sections-container__mobile:nth-last-of-type(2){border-bottom:none}.section-link{font-family:Hero New;color:#fff;text-decoration:none;opacity:70%}.section-link.address-link{cursor:initial}@media (max-width: 768px){.section-link{font-size:.875rem}}@media (hover: hover){.section-link:hover{opacity:100%}}.bottom-banner-container{width:100%;background-color:#124e57}.bottom-banner-container.centered{display:flex;justify-content:center}.bottom-banner{color:#f1f2f5;padding:2% 5%;display:flex;justify-content:space-between;align-items:center;max-height:120px;position:relative;z-index:1001;width:90%;max-width:1440px}@media (max-width: 768px){.bottom-banner{flex-direction:column;justify-content:center;text-align:center;gap:11px;align-items:center;font-size:.6875rem;padding:16px 8px;line-height:22px}}.social-container{display:flex;gap:40px;margin-left:4%}@media (max-width: 768px){.social-container{gap:35px;margin-left:0%}}.image-container{cursor:pointer;display:flex;justify-content:center;align-items:center;width:18px;height:18px}img{height:16px;width:16px}.section-link{cursor:pointer}.address-title{min-height:28px}.address-container a:first-of-type{opacity:100%}.title-container{display:flex;justify-content:space-between;align-items:center;cursor:pointer}@media (max-width: 768px){.title-container{padding-top:16px;padding-bottom:16px;width:100%}}.margin-div{width:100%;height:20px}.title-links{cursor:pointer}.title-links:hover{text-decoration:underline}\n"] }]
|
|
447
|
-
}], ctorParameters: function () { return [{ type: BreakpointLibService }]; }, propDecorators: { config: [{
|
|
448
|
-
type: Input
|
|
449
|
-
}], isBottomBannerHidden: [{
|
|
450
|
-
type: Input
|
|
451
|
-
}], isFooterContentHidden: [{
|
|
452
|
-
type: Input
|
|
453
|
-
}], backgroundColor: [{
|
|
454
|
-
type: Input
|
|
455
|
-
}], centered: [{
|
|
456
|
-
type: Input
|
|
457
|
-
}], showCallMeBack: [{
|
|
458
|
-
type: Input
|
|
459
|
-
}] } });
|
|
460
|
-
|
|
461
|
-
class AfConnectRadioGroupComponent {
|
|
462
|
-
constructor() {
|
|
463
|
-
this._selected = null;
|
|
464
|
-
this._disabled = false;
|
|
465
|
-
this.direction = 'row';
|
|
466
|
-
this.withAsterisk = false;
|
|
467
|
-
this.variant = 'default';
|
|
468
|
-
this.labelPosition = 'after';
|
|
469
|
-
this.size = 'inline';
|
|
470
|
-
this.valueChange = new EventEmitter();
|
|
471
|
-
this.propagateChange = (_) => { };
|
|
472
|
-
this.propagateTouch = (_) => { };
|
|
473
|
-
}
|
|
474
|
-
get value() {
|
|
475
|
-
return this._value;
|
|
476
|
-
}
|
|
477
|
-
set value(newValue) {
|
|
478
|
-
if (this._value !== newValue) {
|
|
479
|
-
this._value = newValue;
|
|
480
|
-
this.updateRadioButtonsState();
|
|
481
|
-
this.propagateChange(this._value);
|
|
482
|
-
this.valueChange.emit(this._value);
|
|
483
|
-
}
|
|
484
|
-
}
|
|
485
|
-
get selected() {
|
|
486
|
-
return this._selected;
|
|
487
|
-
}
|
|
488
|
-
set selected(newSelected) {
|
|
489
|
-
this._selected = newSelected;
|
|
490
|
-
this.value = newSelected ? newSelected.value : null;
|
|
491
|
-
}
|
|
492
|
-
get disabled() {
|
|
493
|
-
return this._disabled;
|
|
494
|
-
}
|
|
495
|
-
set disabled(newValue) {
|
|
496
|
-
this._disabled = newValue;
|
|
497
|
-
this.markRadiosForCheck();
|
|
498
|
-
}
|
|
499
|
-
writeValue(value) {
|
|
500
|
-
this.value = value;
|
|
501
|
-
}
|
|
502
|
-
registerOnChange(fn) {
|
|
503
|
-
this.propagateChange = fn;
|
|
504
|
-
}
|
|
505
|
-
registerOnTouched(fn) {
|
|
506
|
-
this.propagateTouch = fn;
|
|
507
|
-
}
|
|
508
|
-
setDisabledState(isDisabled) {
|
|
509
|
-
this.disabled = isDisabled;
|
|
510
|
-
}
|
|
511
|
-
emitChangeEvent() {
|
|
512
|
-
this.valueChange.emit(this._value);
|
|
513
|
-
}
|
|
514
|
-
markRadiosForCheck() {
|
|
515
|
-
if (this.radios) {
|
|
516
|
-
this.radios.forEach((radio) => radio.markForCheck());
|
|
517
|
-
}
|
|
518
|
-
}
|
|
519
|
-
updateRadioButtonsState() {
|
|
520
|
-
var _a;
|
|
521
|
-
(_a = this.radios) === null || _a === void 0 ? void 0 : _a.forEach((radio) => {
|
|
522
|
-
radio.checked = this._value === radio.value;
|
|
523
|
-
if (radio.checked) {
|
|
524
|
-
this._selected = radio;
|
|
525
|
-
}
|
|
526
|
-
});
|
|
527
|
-
}
|
|
528
|
-
}
|
|
529
|
-
AfConnectRadioGroupComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.1.0", ngImport: i0, type: AfConnectRadioGroupComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
530
|
-
AfConnectRadioGroupComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.1.0", type: AfConnectRadioGroupComponent, selector: "lib-af-connect-radio-group", inputs: { label: "label", direction: "direction", withAsterisk: "withAsterisk", variant: "variant", labelPosition: "labelPosition", size: "size", value: "value", selected: "selected", disabled: "disabled" }, outputs: { valueChange: "valueChange" }, providers: [
|
|
531
|
-
{
|
|
532
|
-
provide: NG_VALUE_ACCESSOR,
|
|
533
|
-
useExisting: forwardRef(() => AfConnectRadioGroupComponent),
|
|
534
|
-
multi: true
|
|
535
|
-
}
|
|
536
|
-
], queries: [{ propertyName: "radios", predicate: i0.forwardRef(function () { return AfConnectRadioButtonComponent; }), descendants: true }], ngImport: i0, template: "<span *ngIf=\"label\" class=\"label\">\r\n {{ label }}<span *ngIf=\"withAsterisk\" class=\"asterisk\">*</span>\r\n</span>\r\n<div class=\"radio-buttons-container\" [class.column]=\"direction === 'column'\">\r\n <ng-content></ng-content>\r\n</div>\r\n", styles: [":host{display:flex;flex-direction:column;gap:1rem}.radio-buttons-container{display:flex;flex-wrap:wrap;gap:2rem}.radio-buttons-container.column{flex-direction:column;gap:1rem}.label{cursor:inherit;display:block;font-family:var(--standard-font-family-hero-new);font-size:12px;color:var(--main-black-color)}.label .asterisk{color:var(--primary-orange-mobile-color)}\n"], dependencies: [{ kind: "directive", type: i1$1.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
|
537
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.0", ngImport: i0, type: AfConnectRadioGroupComponent, decorators: [{
|
|
538
|
-
type: Component,
|
|
539
|
-
args: [{ selector: 'lib-af-connect-radio-group', changeDetection: ChangeDetectionStrategy.OnPush, providers: [
|
|
540
|
-
{
|
|
541
|
-
provide: NG_VALUE_ACCESSOR,
|
|
542
|
-
useExisting: forwardRef(() => AfConnectRadioGroupComponent),
|
|
543
|
-
multi: true
|
|
544
|
-
}
|
|
545
|
-
], template: "<span *ngIf=\"label\" class=\"label\">\r\n {{ label }}<span *ngIf=\"withAsterisk\" class=\"asterisk\">*</span>\r\n</span>\r\n<div class=\"radio-buttons-container\" [class.column]=\"direction === 'column'\">\r\n <ng-content></ng-content>\r\n</div>\r\n", styles: [":host{display:flex;flex-direction:column;gap:1rem}.radio-buttons-container{display:flex;flex-wrap:wrap;gap:2rem}.radio-buttons-container.column{flex-direction:column;gap:1rem}.label{cursor:inherit;display:block;font-family:var(--standard-font-family-hero-new);font-size:12px;color:var(--main-black-color)}.label .asterisk{color:var(--primary-orange-mobile-color)}\n"] }]
|
|
546
|
-
}], propDecorators: { label: [{
|
|
547
|
-
type: Input
|
|
548
|
-
}], direction: [{
|
|
549
|
-
type: Input
|
|
550
|
-
}], withAsterisk: [{
|
|
551
|
-
type: Input
|
|
552
|
-
}], variant: [{
|
|
553
|
-
type: Input
|
|
554
|
-
}], labelPosition: [{
|
|
555
|
-
type: Input
|
|
556
|
-
}], size: [{
|
|
557
|
-
type: Input
|
|
558
|
-
}], value: [{
|
|
559
|
-
type: Input
|
|
560
|
-
}], selected: [{
|
|
561
|
-
type: Input
|
|
562
|
-
}], disabled: [{
|
|
563
|
-
type: Input
|
|
564
|
-
}], valueChange: [{
|
|
565
|
-
type: Output
|
|
566
|
-
}], radios: [{
|
|
567
|
-
type: ContentChildren,
|
|
568
|
-
args: [forwardRef(() => AfConnectRadioButtonComponent), { descendants: true }]
|
|
569
|
-
}] } });
|
|
570
|
-
|
|
571
|
-
// Increasing integer for generating unique ids for all afc-radio-button instances.
|
|
572
|
-
let nextUniqueId = 0;
|
|
573
|
-
class AfConnectRadioButtonComponent {
|
|
574
|
-
constructor(radioGroup, changeDetector) {
|
|
575
|
-
this.radioGroup = radioGroup;
|
|
576
|
-
this.changeDetector = changeDetector;
|
|
577
|
-
this._uniqueId = `afc-radio-${++nextUniqueId}`;
|
|
578
|
-
this._checked = false;
|
|
579
|
-
this._disabled = false;
|
|
580
|
-
this._variant = 'default';
|
|
581
|
-
this._labelPosition = 'after';
|
|
582
|
-
this._size = 'inline';
|
|
583
|
-
this.id = this._uniqueId;
|
|
584
|
-
this.itemOrder = 'left-to-right';
|
|
585
|
-
}
|
|
586
|
-
get checked() {
|
|
587
|
-
return this._checked;
|
|
588
|
-
}
|
|
589
|
-
set checked(newCheckedState) {
|
|
590
|
-
if (this._checked !== newCheckedState) {
|
|
591
|
-
this._checked = newCheckedState;
|
|
592
|
-
if (newCheckedState && this.radioGroup && this.radioGroup.value !== this.value) {
|
|
593
|
-
this.radioGroup.selected = this;
|
|
594
|
-
}
|
|
595
|
-
this.markForCheck();
|
|
596
|
-
}
|
|
597
|
-
}
|
|
598
|
-
get disabled() {
|
|
599
|
-
return this._disabled || (this.radioGroup !== null && this.radioGroup.disabled);
|
|
600
|
-
}
|
|
601
|
-
set disabled(newValue) {
|
|
602
|
-
this._disabled = newValue;
|
|
603
|
-
}
|
|
604
|
-
get inputId() {
|
|
605
|
-
return `${this.id}-input`;
|
|
606
|
-
}
|
|
607
|
-
get variant() {
|
|
608
|
-
return this._variant;
|
|
609
|
-
}
|
|
610
|
-
get labelPosition() {
|
|
611
|
-
return this._labelPosition;
|
|
612
|
-
}
|
|
613
|
-
get size() {
|
|
614
|
-
return this._size;
|
|
615
|
-
}
|
|
616
|
-
ngOnInit() {
|
|
617
|
-
if (!this.radioGroup) {
|
|
618
|
-
this._variant = 'checkbox';
|
|
619
|
-
}
|
|
620
|
-
if (this.radioGroup) {
|
|
621
|
-
this.checked = this.radioGroup.value === this.value;
|
|
622
|
-
this._variant = this.radioGroup.variant;
|
|
623
|
-
this._labelPosition = this.radioGroup.labelPosition;
|
|
624
|
-
this._size = this.radioGroup.size;
|
|
625
|
-
}
|
|
626
|
-
}
|
|
627
|
-
markForCheck() {
|
|
628
|
-
this.changeDetector.markForCheck();
|
|
629
|
-
}
|
|
630
|
-
onTouchTargetClick(event) {
|
|
631
|
-
this.onChange(event);
|
|
632
|
-
// Since the click comes from the touch target, we need
|
|
633
|
-
// to focus the native input element manually.
|
|
634
|
-
this.inputElement.nativeElement.focus();
|
|
635
|
-
}
|
|
636
|
-
onBlur() {
|
|
637
|
-
this.radioGroup.propagateTouch();
|
|
638
|
-
}
|
|
639
|
-
onChange(event) {
|
|
640
|
-
event.stopPropagation();
|
|
641
|
-
if (!this.checked && !this.disabled) {
|
|
642
|
-
this.checked = true;
|
|
643
|
-
}
|
|
644
|
-
}
|
|
645
|
-
}
|
|
646
|
-
AfConnectRadioButtonComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.1.0", ngImport: i0, type: AfConnectRadioButtonComponent, deps: [{ token: AfConnectRadioGroupComponent }, { token: i0.ChangeDetectorRef }], target: i0.ɵɵFactoryTarget.Component });
|
|
647
|
-
AfConnectRadioButtonComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.1.0", type: AfConnectRadioButtonComponent, selector: "lib-af-connect-radio-button", inputs: { id: "id", value: "value", itemOrder: "itemOrder", checked: "checked", disabled: "disabled" }, viewQueries: [{ propertyName: "inputElement", first: true, predicate: ["input"], descendants: true }], ngImport: i0, template: "<div\r\n class=\"field-container\"\r\n [ngClass]=\"{ 'label-before': labelPosition === 'before', 'size-box': size === 'box', checked: checked, disabled: disabled }\"\r\n [ngStyle]=\"{ 'flex-direction': itemOrder === 'left-to-right' ? 'row' : 'row-reverse' }\"\r\n>\r\n <div [ngClass]=\"['radio-container', variant]\">\r\n <input\r\n #input\r\n type=\"radio\"\r\n class=\"input\"\r\n [id]=\"inputId\"\r\n [checked]=\"checked\"\r\n [disabled]=\"disabled\"\r\n [attr.value]=\"value\"\r\n (change)=\"onChange($event)\"\r\n (blur)=\"onBlur()\"\r\n />\r\n <div class=\"touch-target\" (click)=\"onTouchTargetClick($event)\"></div>\r\n <div class=\"radio-visualization\">\r\n <span [class]=\"['outer-circle', variant]\"></span>\r\n <span *ngIf=\"variant === 'default'\" class=\"inner-circle\"></span>\r\n <span *ngIf=\"variant === 'checkbox' || variant === 'cube'\" class=\"check-mark\"></span>\r\n </div>\r\n </div>\r\n <label class=\"label\" [for]=\"inputId\">\r\n <ng-content></ng-content>\r\n </label>\r\n</div>\r\n", styles: [".field-container{display:flex;align-items:center;justify-content:space-between}.field-container.label-before{flex-direction:row-reverse;justify-content:flex-end}.field-container.size-box{padding:1.25rem;justify-content:space-between;border-radius:5px;box-shadow:0 1px 5px var(--box-shadow-black-color);outline:1px solid transparent}.field-container.size-box.checked{outline-color:var(--primary-dark-teal-color);transition:outline-color .2s}.field-container.size-box.checked.disabled{outline-color:var(--disabled-radio-color)}.field-container.size-box .label{font-size:1rem}.radio-container{position:relative;flex:0 0 auto;box-sizing:content-box;width:22px;height:22px}.radio-container .touch-target{position:absolute;z-index:10;inset:0;cursor:pointer}.radio-visualization{width:22px;height:22px;z-index:2;inset:0}.radio-visualization .inner-circle,.radio-visualization .outer-circle{position:absolute;z-index:3;display:inline-block}.radio-visualization .inner-circle.checkbox,.radio-visualization .outer-circle.checkbox{border-radius:50%}.radio-visualization .inner-circle.cube,.radio-visualization .outer-circle.cube{border-radius:20%}.radio-visualization .outer-circle{box-sizing:border-box;width:100%;height:100%;top:0;left:0;border:1px solid transparent;background-color:var(--neutral-button-color);transition-property:border-color,background-color;transition-duration:.25s;transition-timing-function:cubic-bezier(.4,0,.2,1)}.radio-visualization .inner-circle{top:50%;left:50%;transform:translate(-50%,-50%) scale(0);width:10px;height:10px;background-color:var(--primary-connected-orange-color);transition:transform .25s cubic-bezier(.4,0,.2,1)}.radio-visualization .check-mark{position:absolute;z-index:3;display:inline-block;top:5px;left:12px;width:2px;height:12px;background-color:transparent;border-radius:1px;transform:rotate(35deg)}.radio-visualization .check-mark:before{content:\"\";position:absolute;top:8px;right:3px;display:inline-block;width:2px;height:6px;border-radius:1px;background-color:transparent;transform:rotate(-80deg)}.radio-container.checkbox .outer-circle,.radio-container.cube .outer-circle{border-color:var(--primary-dark-teal-color);background-color:var(--main-white-color)}.input{-webkit-appearance:none;appearance:none;opacity:0;margin:0}.input:disabled~.touch-target{cursor:auto;pointer-events:none}.default .input:checked~.radio-visualization .outer-circle{border-color:var(--primary-connected-orange-color);background-color:var(--radio-background-color)}.default .input:checked~.radio-visualization .inner-circle{transform:translate(-50%,-50%) scale(1)}.default .input:disabled~.radio-visualization .outer-circle{background-color:var(--neutral-button-color);border-color:transparent}.default .input:disabled:checked~.radio-visualization .inner-circle{background-color:var(--disabled-radio-color)}.checkbox .input:checked~.radio-visualization .outer-circle,.cube .input:checked~.radio-visualization .outer-circle{background-color:var(--primary-dark-teal-color)}.checkbox .input:checked~.radio-visualization .check-mark,.cube .input:checked~.radio-visualization .check-mark{background-color:var(--main-white-color)}.checkbox .input:checked~.radio-visualization .check-mark:before,.cube .input:checked~.radio-visualization .check-mark:before{background-color:var(--main-white-color)}.checkbox .input:disabled~.radio-visualization .outer-circle,.cube .input:disabled~.radio-visualization .outer-circle{background-color:var(--neutral-button-color);border-color:var(--neutral-button-color)}.checkbox .input:disabled:checked~.radio-visualization .check-mark,.cube .input:disabled:checked~.radio-visualization .check-mark{background-color:var(--disabled-radio-color)}.checkbox .input:disabled:checked~.radio-visualization .check-mark:before,.cube .input:disabled:checked~.radio-visualization .check-mark:before{background-color:var(--disabled-radio-color)}.cube .input:checked~.radio-visualization .outer-circle{background-color:var(--primary-connected-orange-color);border:none}.label{cursor:inherit;font-size:.875rem;font-family:var(--standard-font-family-hero-new);color:var(--secondary-space-color)}\n"], dependencies: [{ kind: "directive", type: i1$1.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { kind: "directive", type: i1$1.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "directive", type: i1$1.NgStyle, selector: "[ngStyle]", inputs: ["ngStyle"] }] });
|
|
648
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.0", ngImport: i0, type: AfConnectRadioButtonComponent, decorators: [{
|
|
649
|
-
type: Component,
|
|
650
|
-
args: [{ selector: 'lib-af-connect-radio-button', template: "<div\r\n class=\"field-container\"\r\n [ngClass]=\"{ 'label-before': labelPosition === 'before', 'size-box': size === 'box', checked: checked, disabled: disabled }\"\r\n [ngStyle]=\"{ 'flex-direction': itemOrder === 'left-to-right' ? 'row' : 'row-reverse' }\"\r\n>\r\n <div [ngClass]=\"['radio-container', variant]\">\r\n <input\r\n #input\r\n type=\"radio\"\r\n class=\"input\"\r\n [id]=\"inputId\"\r\n [checked]=\"checked\"\r\n [disabled]=\"disabled\"\r\n [attr.value]=\"value\"\r\n (change)=\"onChange($event)\"\r\n (blur)=\"onBlur()\"\r\n />\r\n <div class=\"touch-target\" (click)=\"onTouchTargetClick($event)\"></div>\r\n <div class=\"radio-visualization\">\r\n <span [class]=\"['outer-circle', variant]\"></span>\r\n <span *ngIf=\"variant === 'default'\" class=\"inner-circle\"></span>\r\n <span *ngIf=\"variant === 'checkbox' || variant === 'cube'\" class=\"check-mark\"></span>\r\n </div>\r\n </div>\r\n <label class=\"label\" [for]=\"inputId\">\r\n <ng-content></ng-content>\r\n </label>\r\n</div>\r\n", styles: [".field-container{display:flex;align-items:center;justify-content:space-between}.field-container.label-before{flex-direction:row-reverse;justify-content:flex-end}.field-container.size-box{padding:1.25rem;justify-content:space-between;border-radius:5px;box-shadow:0 1px 5px var(--box-shadow-black-color);outline:1px solid transparent}.field-container.size-box.checked{outline-color:var(--primary-dark-teal-color);transition:outline-color .2s}.field-container.size-box.checked.disabled{outline-color:var(--disabled-radio-color)}.field-container.size-box .label{font-size:1rem}.radio-container{position:relative;flex:0 0 auto;box-sizing:content-box;width:22px;height:22px}.radio-container .touch-target{position:absolute;z-index:10;inset:0;cursor:pointer}.radio-visualization{width:22px;height:22px;z-index:2;inset:0}.radio-visualization .inner-circle,.radio-visualization .outer-circle{position:absolute;z-index:3;display:inline-block}.radio-visualization .inner-circle.checkbox,.radio-visualization .outer-circle.checkbox{border-radius:50%}.radio-visualization .inner-circle.cube,.radio-visualization .outer-circle.cube{border-radius:20%}.radio-visualization .outer-circle{box-sizing:border-box;width:100%;height:100%;top:0;left:0;border:1px solid transparent;background-color:var(--neutral-button-color);transition-property:border-color,background-color;transition-duration:.25s;transition-timing-function:cubic-bezier(.4,0,.2,1)}.radio-visualization .inner-circle{top:50%;left:50%;transform:translate(-50%,-50%) scale(0);width:10px;height:10px;background-color:var(--primary-connected-orange-color);transition:transform .25s cubic-bezier(.4,0,.2,1)}.radio-visualization .check-mark{position:absolute;z-index:3;display:inline-block;top:5px;left:12px;width:2px;height:12px;background-color:transparent;border-radius:1px;transform:rotate(35deg)}.radio-visualization .check-mark:before{content:\"\";position:absolute;top:8px;right:3px;display:inline-block;width:2px;height:6px;border-radius:1px;background-color:transparent;transform:rotate(-80deg)}.radio-container.checkbox .outer-circle,.radio-container.cube .outer-circle{border-color:var(--primary-dark-teal-color);background-color:var(--main-white-color)}.input{-webkit-appearance:none;appearance:none;opacity:0;margin:0}.input:disabled~.touch-target{cursor:auto;pointer-events:none}.default .input:checked~.radio-visualization .outer-circle{border-color:var(--primary-connected-orange-color);background-color:var(--radio-background-color)}.default .input:checked~.radio-visualization .inner-circle{transform:translate(-50%,-50%) scale(1)}.default .input:disabled~.radio-visualization .outer-circle{background-color:var(--neutral-button-color);border-color:transparent}.default .input:disabled:checked~.radio-visualization .inner-circle{background-color:var(--disabled-radio-color)}.checkbox .input:checked~.radio-visualization .outer-circle,.cube .input:checked~.radio-visualization .outer-circle{background-color:var(--primary-dark-teal-color)}.checkbox .input:checked~.radio-visualization .check-mark,.cube .input:checked~.radio-visualization .check-mark{background-color:var(--main-white-color)}.checkbox .input:checked~.radio-visualization .check-mark:before,.cube .input:checked~.radio-visualization .check-mark:before{background-color:var(--main-white-color)}.checkbox .input:disabled~.radio-visualization .outer-circle,.cube .input:disabled~.radio-visualization .outer-circle{background-color:var(--neutral-button-color);border-color:var(--neutral-button-color)}.checkbox .input:disabled:checked~.radio-visualization .check-mark,.cube .input:disabled:checked~.radio-visualization .check-mark{background-color:var(--disabled-radio-color)}.checkbox .input:disabled:checked~.radio-visualization .check-mark:before,.cube .input:disabled:checked~.radio-visualization .check-mark:before{background-color:var(--disabled-radio-color)}.cube .input:checked~.radio-visualization .outer-circle{background-color:var(--primary-connected-orange-color);border:none}.label{cursor:inherit;font-size:.875rem;font-family:var(--standard-font-family-hero-new);color:var(--secondary-space-color)}\n"] }]
|
|
651
|
-
}], ctorParameters: function () { return [{ type: AfConnectRadioGroupComponent }, { type: i0.ChangeDetectorRef }]; }, propDecorators: { id: [{
|
|
652
|
-
type: Input
|
|
653
|
-
}], value: [{
|
|
654
|
-
type: Input
|
|
655
|
-
}], itemOrder: [{
|
|
656
|
-
type: Input
|
|
657
|
-
}], checked: [{
|
|
658
|
-
type: Input
|
|
659
|
-
}], disabled: [{
|
|
660
|
-
type: Input
|
|
661
|
-
}], inputElement: [{
|
|
662
|
-
type: ViewChild,
|
|
663
|
-
args: ['input']
|
|
664
|
-
}] } });
|
|
665
|
-
|
|
666
|
-
var UserType;
|
|
667
|
-
(function (UserType) {
|
|
668
|
-
UserType["Retail"] = "Retail";
|
|
669
|
-
UserType["Institutional"] = "Institutional";
|
|
670
|
-
UserType["Hybrid"] = "Hybrid";
|
|
671
|
-
})(UserType || (UserType = {}));
|
|
672
|
-
class AfConnectProfileDropdown {
|
|
673
|
-
constructor(elementRef) {
|
|
674
|
-
this.elementRef = elementRef;
|
|
675
|
-
this.username = '';
|
|
676
|
-
this.callMeBack = new EventEmitter();
|
|
677
|
-
this.contactAdviser = new EventEmitter();
|
|
678
|
-
this.resetPassword = new EventEmitter();
|
|
679
|
-
this.logout = new EventEmitter();
|
|
680
|
-
this.switchUserType = new EventEmitter();
|
|
681
|
-
this.showMenu = false;
|
|
682
|
-
this.USER_TYPE = UserType;
|
|
683
|
-
}
|
|
684
|
-
show(e) {
|
|
685
|
-
this.showMenu = !this.showMenu;
|
|
686
|
-
}
|
|
687
|
-
click(event) {
|
|
688
|
-
const iconClick = this.elementRef.nativeElement.contains(event.target);
|
|
689
|
-
const clickedOnUserTypeSwitch = event.target.closest('.user-type-switch') !== null;
|
|
690
|
-
const clickedOnUserTypeSwitchOption = event.target.closest('.user-type-switch__option') !== null;
|
|
691
|
-
this.showMenu = iconClick ? this.showMenu : (clickedOnUserTypeSwitch && !clickedOnUserTypeSwitchOption);
|
|
692
|
-
}
|
|
693
|
-
select(value) {
|
|
694
|
-
if (this.userType !== value) {
|
|
695
|
-
this.userType = value;
|
|
696
|
-
this.showMenu = false;
|
|
697
|
-
this.switchUserType.emit(value);
|
|
698
|
-
}
|
|
699
|
-
}
|
|
700
|
-
}
|
|
701
|
-
AfConnectProfileDropdown.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.1.0", ngImport: i0, type: AfConnectProfileDropdown, deps: [{ token: i0.ElementRef }], target: i0.ɵɵFactoryTarget.Component });
|
|
702
|
-
AfConnectProfileDropdown.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.1.0", type: AfConnectProfileDropdown, selector: "lib-af-connect-profile-dropdown", inputs: { username: "username", userType: "userType", hasSwitchIndicator: "hasSwitchIndicator", isHybrid: "isHybrid" }, outputs: { callMeBack: "callMeBack", contactAdviser: "contactAdviser", resetPassword: "resetPassword", logout: "logout", switchUserType: "switchUserType" }, host: { listeners: { "click": "show($event)", "document:click": "click($event)" } }, ngImport: i0, template: "<span [class]=\"['logo-content', userType === USER_TYPE.Retail ? 'blue' : isHybrid ? 'yellow' : 'orange']\">\r\n <ng-container *ngTemplateOutlet=\"userType === USER_TYPE.Retail || isHybrid ? retail : institutional\"></ng-container>\r\n</span>\r\n\r\n<ng-container *ngIf=\"showMenu\">\r\n <div class=\"dropdown-content\">\r\n <div (click)=\"callMeBack.emit()\">\r\n <svg xmlns=\"http://www.w3.org/2000/svg\" width=\"20\" height=\"20\" viewBox=\"0 0 20 20\">\r\n <g id=\"call\" transform=\"translate(0 0)\">\r\n <path id=\"phone-1\" d=\"M19.976,17.549l-2.588-2.156a.694.694,0,0,0-.7-.037l-1.438.958a.91.91,0,0,1-.509.153,5.983,5.983,0,0,1-1.28-.18,7.724,7.724,0,0,1-5.754-5.752,5.977,5.977,0,0,1-.18-1.28.909.909,0,0,1,.153-.509l.959-1.437a.681.681,0,0,0-.037-.7L6.444,4.022a.427.427,0,0,0-.73,0L4.285,5.77a2.549,2.549,0,0,0-.4,2.035.909.909,0,0,1,.027.105,4.671,4.671,0,0,0,.142.5,11.685,11.685,0,0,0,.654,1.563,20.775,20.775,0,0,0,3.973,5.332A20.76,20.76,0,0,0,14.02,19.28a11.693,11.693,0,0,0,1.563.654,4.823,4.823,0,0,0,.5.142.909.909,0,0,1,.126.033,2.492,2.492,0,0,0,2.014-.4l1.747-1.429A.426.426,0,0,0,19.976,17.549Zm-4.3-3.706A2.5,2.5,0,0,1,18.552,14l2.589,2.156a2.235,2.235,0,0,1-.015,3.534l-1.747,1.428a4.29,4.29,0,0,1-3.695.735q-.338-.077-.667-.188a13.5,13.5,0,0,1-1.809-.755A22.583,22.583,0,0,1,7.4,16.594a22.579,22.579,0,0,1-4.314-5.806,13.488,13.488,0,0,1-.755-1.809A6.833,6.833,0,0,1,2.14,8.3a4.343,4.343,0,0,1,.738-3.683L4.307,2.873a2.238,2.238,0,0,1,3.535-.015L10,5.445a2.485,2.485,0,0,1,.153,2.871L9.366,9.494a5.374,5.374,0,0,0,.11.62,5.948,5.948,0,0,0,.922,2.052,5.868,5.868,0,0,0,1.43,1.43,5.952,5.952,0,0,0,2.053.921,5.277,5.277,0,0,0,.62.11l1.179-.785Z\" transform=\"translate(-2 -2)\" fill=\"#ef4f1f\"/>\r\n </g>\r\n </svg>\r\n <span>Call me back</span>\r\n </div>\r\n <div (click)=\"contactAdviser.emit()\">\r\n <svg xmlns=\"http://www.w3.org/2000/svg\" width=\"21.5\" height=\"17.864\" viewBox=\"0 0 21.5 17.864\">\r\n <g id=\"Icons_UI_Contacts_Colour_\" data-name=\"Icons / UI / Contacts / Colour \" transform=\"translate(0.75 0.75)\">\r\n <rect id=\"Rectangle\" width=\"20\" height=\"16.364\" rx=\"3\" fill=\"none\" stroke=\"#ef4f1f\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-miterlimit=\"10\" stroke-width=\"1.5\"/>\r\n <path id=\"Line_3\" data-name=\"Line 3\" d=\"M.55.563l8.591,7.67\" transform=\"translate(0.859 0.858)\" fill=\"none\" stroke=\"#ef4f1f\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-miterlimit=\"10\" stroke-width=\"1.5\"/>\r\n <path id=\"Line_3-2\" data-name=\"Line 3\" d=\"M-1.409.563-10,8.233\" transform=\"translate(20 0.858)\" fill=\"none\" stroke=\"#ef4f1f\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-miterlimit=\"10\" stroke-width=\"1.5\"/>\r\n </g>\r\n </svg>\r\n <span>Contact adviser</span>\r\n </div>\r\n <div *ngIf=\"hasSwitchIndicator\" class=\"user-type-switch user-type-switch\">\r\n <div class=\"user-type-switch__btn-container\">\r\n <lib-af-connect-radio-group label=\"View as\" variant=\"checkbox\" direction=\"column\" (valueChange)=\"select($event)\">\r\n <div\r\n class=\"user-type-switch__option boxShadow\"\r\n (click)=\"select(USER_TYPE.Retail)\"\r\n >\r\n <div class=\"logo blue\">\r\n <ng-container *ngTemplateOutlet=\"retail\"></ng-container>\r\n </div>\r\n <lib-af-connect-radio-button ngClass=\"larger\" [value]=\"USER_TYPE.Retail\" [checked]=\"userType === USER_TYPE.Retail\" itemOrder=\"right-to-left\">\r\n <span>Individual/Retail</span>\r\n </lib-af-connect-radio-button>\r\n </div>\r\n <div\r\n class=\"user-type-switch__option boxShadow\"\r\n (click)=\"select(USER_TYPE.Institutional)\"\r\n >\r\n <div class=\"logo orange\">\r\n <ng-container *ngTemplateOutlet=\"institutional\"></ng-container>\r\n </div>\r\n <lib-af-connect-radio-button ngClass=\"larger\" [value]=\"USER_TYPE.Institutional\" [checked]=\"userType === USER_TYPE.Institutional\" itemOrder=\"right-to-left\">\r\n <span>Employee benefits</span>\r\n </lib-af-connect-radio-button>\r\n </div>\r\n </lib-af-connect-radio-group>\r\n </div>\r\n </div>\r\n <div (click)=\"resetPassword.emit()\">\r\n <svg xmlns=\"http://www.w3.org/2000/svg\" width=\"22\" height=\"20.004\" viewBox=\"0 0 22 20.004\">\r\n <path id=\"Shape\" d=\"M12.522,20A9.882,9.882,0,0,1,2.484,10H.544a.552.552,0,0,1-.379-.944l3.024-3.1a.528.528,0,0,1,.77,0l3.024,3.1a.557.557,0,0,1-.39.944H4.652a7.679,7.679,0,0,0,7.7,7.778,7.782,7.782,0,0,0,7.48-7.667A7.692,7.692,0,0,0,12.24,2.222,7.481,7.481,0,0,0,8.511,3.233a1.035,1.035,0,0,1-1.279-.2,1.125,1.125,0,0,1,.217-1.744A9.617,9.617,0,0,1,12.24,0,9.9,9.9,0,0,1,22,10.289,10,10,0,0,1,12.522,20Z\" transform=\"translate(22 20.004) rotate(180)\" fill=\"#f15a22\"/>\r\n </svg>\r\n <span>Reset password</span>\r\n </div>\r\n <div (click)=\"logout.emit()\">\r\n <svg id=\"icon\" xmlns=\"http://www.w3.org/2000/svg\" width=\"20\" height=\"20\" viewBox=\"0 0 20 20\">\r\n <rect id=\"bg\" width=\"20\" height=\"20\" fill=\"none\"/>\r\n <path id=\"path\" d=\"M9.21,9.273l2.758-2.758A.727.727,0,1,0,10.94,5.486l-4,4a.727.727,0,0,0,0,1.029l4,4a.727.727,0,1,0,1.029-1.029L9.21,10.727h8.066a.727.727,0,0,0,0-1.455Zm1.517-5.818a.727.727,0,1,0,0-1.455H3.821A1.82,1.82,0,0,0,2,3.821V16.179A1.821,1.821,0,0,0,3.821,18h6.906a.727.727,0,1,0,0-1.455H3.821a.366.366,0,0,1-.367-.366V3.821a.366.366,0,0,1,.367-.366Z\" transform=\"translate(-0.099)\" fill=\"#7f8991\"/>\r\n </svg>\r\n <span>Log Out</span>\r\n </div>\r\n </div>\r\n</ng-container>\r\n\r\n<ng-template #retail>\r\n <svg id=\"Group\" xmlns=\"http://www.w3.org/2000/svg\" width=\"12.837\" height=\"13.693\" viewBox=\"0 0 12.837 13.693\">\r\n <path id=\"Oval\" d=\"M2.785-1A3.785,3.785,0,1,1-1,2.785,3.79,3.79,0,0,1,2.785-1Zm0,6.583a2.8,2.8,0,1,0-2.8-2.8A2.8,2.8,0,0,0,2.785,5.583Z\" transform=\"translate(3.633 1)\" fill=\"#fff\"/>\r\n <path id=\"Rectangle\" d=\"M7.393,4.135A.494.494,0,0,1,6.9,3.641,3.712,3.712,0,0,0,3.14-.013H-.506A.494.494,0,0,1-1-.506.494.494,0,0,1-.506-1H3.14A4.7,4.7,0,0,1,7.887,3.641.494.494,0,0,1,7.393,4.135Z\" transform=\"translate(4.95 9.558)\" fill=\"#fff\"/>\r\n <path id=\"Rectangle-2\" data-name=\"Rectangle\" d=\"M-12.506,4.135A.494.494,0,0,1-13,3.641,4.7,4.7,0,0,1-8.253-1h3.646a.494.494,0,0,1,.494.494.494.494,0,0,1-.494.494H-8.253a3.712,3.712,0,0,0-3.76,3.654A.494.494,0,0,1-12.506,4.135Z\" transform=\"translate(13 9.558)\" fill=\"#fff\"/>\r\n </svg>\r\n</ng-template>\r\n\r\n<ng-template #institutional>\r\n <svg xmlns=\"http://www.w3.org/2000/svg\" xmlns:xlink=\"http://www.w3.org/1999/xlink\" width=\"15.384\" height=\"12.488\" viewBox=\"0 0 15.384 12.488\">\r\n <defs>\r\n <clipPath id=\"clip-path\">\r\n <rect id=\"Rectangle_1424\" data-name=\"Rectangle 1424\" width=\"15.383\" height=\"12.489\" transform=\"translate(0 0)\" fill=\"none\" stroke=\"#707070\" stroke-width=\"1\"/>\r\n </clipPath>\r\n </defs>\r\n <g id=\"Group_10298\" data-name=\"Group 10298\" transform=\"translate(-0.952 -0.773)\">\r\n <g id=\"Group_10297\" data-name=\"Group 10297\" transform=\"translate(0.953 0.773)\" clip-path=\"url(#clip-path)\">\r\n <path id=\"Path_6080\" data-name=\"Path 6080\" d=\"M29.386,3.03a.346.346,0,0,1-.346-.346V1.32a.629.629,0,0,0-.628-.629H23.274a.629.629,0,0,0-.628.629V2.684a.346.346,0,1,1-.693,0V1.32A1.323,1.323,0,0,1,23.274,0h5.137A1.323,1.323,0,0,1,29.732,1.32V2.684A.346.346,0,0,1,29.386,3.03Z\" transform=\"translate(-18.151 0.001)\" fill=\"#fff\"/>\r\n <path id=\"Rectangle_1423\" data-name=\"Rectangle 1423\" d=\"M-.933-2h13.25A1.068,1.068,0,0,1,13.384-.933V7.084a1.068,1.068,0,0,1-1.067,1.067H-.933A1.068,1.068,0,0,1-2,7.084V-.933A1.068,1.068,0,0,1-.933-2Zm13.25,9.458a.374.374,0,0,0,.374-.374V-.933a.374.374,0,0,0-.374-.374H-.933a.374.374,0,0,0-.374.374V7.084a.374.374,0,0,0,.374.374Z\" transform=\"translate(2 4.338)\" fill=\"#fff\"/>\r\n <path id=\"Line_324\" data-name=\"Line 324\" d=\"M12.712-1.307H-1.654A.346.346,0,0,1-2-1.654.346.346,0,0,1-1.654-2H12.712a.346.346,0,0,1,.346.346A.346.346,0,0,1,12.712-1.307Z\" transform=\"translate(2.037 8.087)\" fill=\"#fff\"/>\r\n <path id=\"Line_325\" data-name=\"Line 325\" d=\"M-1.654.223A.346.346,0,0,1-2-.124v-1.53A.346.346,0,0,1-1.654-2a.346.346,0,0,1,.346.346v1.53A.346.346,0,0,1-1.654.223Z\" transform=\"translate(12.888 7.318)\" fill=\"#fff\"/>\r\n <path id=\"Line_326\" data-name=\"Line 326\" d=\"M-1.654.223A.346.346,0,0,1-2-.124v-1.53A.346.346,0,0,1-1.654-2a.346.346,0,0,1,.346.346v1.53A.346.346,0,0,1-1.654.223Z\" transform=\"translate(5.802 7.318)\" fill=\"#fff\"/>\r\n </g>\r\n </g>\r\n </svg>\r\n</ng-template>\r\n", styles: [".logo-cicrcle,.dropdown-content .user-type-switch__option>.logo,.logo-content,:host{display:flex;place-items:center;place-content:center;border-radius:50%}:host{height:3rem;filter:drop-shadow(3px 3px 10px rgba(0,0,0,.0784313725));z-index:999;box-shadow:3px 3px 10px #00000014;border:3px solid #FFFFFF;cursor:pointer}@media (max-width: 768px){:host{width:30px;height:30px}}.logo-content{width:3rem;height:3rem;color:#fff;font-family:Hero New ExtraBold;font-size:2rem}.logo-content>svg{width:1.5rem;height:1.5rem}@media (max-width: 768px){.logo-content{width:30px;height:30px;font-size:18px}.logo-content>svg{width:1rem;height:1rem}}.dropdown-content{position:absolute;width:auto;min-width:12rem;height:-moz-fit-content;height:fit-content;right:0;top:3.5rem;font-size:12px;background:white;display:flex;flex-direction:column;align-items:center}.dropdown-content>div:not(.user-type-switch):nth-child(-n+2){display:none}.dropdown-content div:nth-child(4){color:var(--red-test)}@media (max-width: 768px){.dropdown-content{top:47px}.dropdown-content>div:not(.user-type-switch):nth-child(-n+1){display:none}.dropdown-content div:nth-child(2){display:flex}}.dropdown-content div{display:flex;align-items:center;width:100%;height:3rem;gap:1rem;border-bottom:1px solid rgba(120,132,158,.0784313725)}.dropdown-content div svg{width:20px;height:20px;padding-left:1rem}.dropdown-content>div:not(.user-type-switch):hover{background-color:#0000000a}.dropdown-content .user-type-switch{width:auto;height:100%;cursor:default;border-bottom:none}.dropdown-content .user-type-switch__btn-container{display:block!important;width:241px;height:166px;background:#FAFBFC;border:1px solid #F3F3F3;border-radius:5pt;margin:1rem}.dropdown-content .user-type-switch__option{width:100%;height:42px;border-bottom:none;gap:.3rem;padding:0 .75rem;background-color:#fff;box-sizing:border-box;border-radius:3rem;cursor:pointer}.dropdown-content .user-type-switch__option>.logo{height:23px;width:27px;flex:0 1 auto;border:1px solid #FFFFFF;box-shadow:1px 3px 10px #00000014}.dropdown-content .user-type-switch__option>.logo>svg{width:auto;height:auto;padding:0}.dropdown-content .user-type-switch__option>.logo__img{width:22px;height:.9rem}.dropdown-content lib-af-connect-radio-group{gap:.75rem;padding:1rem}.dropdown-content lib-af-connect-radio-button{width:100%}.blue{background:#2CC1DA}.orange{background:#F69521}.yellow{background:var(--bright-tuscan-color)}.boxShadow{box-shadow:3px 3px 6px #00000008}\n"], dependencies: [{ kind: "directive", type: i1$1.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { kind: "directive", type: i1$1.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "directive", type: i1$1.NgTemplateOutlet, selector: "[ngTemplateOutlet]", inputs: ["ngTemplateOutletContext", "ngTemplateOutlet", "ngTemplateOutletInjector"] }, { kind: "component", type: AfConnectRadioButtonComponent, selector: "lib-af-connect-radio-button", inputs: ["id", "value", "itemOrder", "checked", "disabled"] }, { kind: "component", type: AfConnectRadioGroupComponent, selector: "lib-af-connect-radio-group", inputs: ["label", "direction", "withAsterisk", "variant", "labelPosition", "size", "value", "selected", "disabled"], outputs: ["valueChange"] }] });
|
|
703
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.0", ngImport: i0, type: AfConnectProfileDropdown, decorators: [{
|
|
704
|
-
type: Component,
|
|
705
|
-
args: [{ selector: 'lib-af-connect-profile-dropdown', template: "<span [class]=\"['logo-content', userType === USER_TYPE.Retail ? 'blue' : isHybrid ? 'yellow' : 'orange']\">\r\n <ng-container *ngTemplateOutlet=\"userType === USER_TYPE.Retail || isHybrid ? retail : institutional\"></ng-container>\r\n</span>\r\n\r\n<ng-container *ngIf=\"showMenu\">\r\n <div class=\"dropdown-content\">\r\n <div (click)=\"callMeBack.emit()\">\r\n <svg xmlns=\"http://www.w3.org/2000/svg\" width=\"20\" height=\"20\" viewBox=\"0 0 20 20\">\r\n <g id=\"call\" transform=\"translate(0 0)\">\r\n <path id=\"phone-1\" d=\"M19.976,17.549l-2.588-2.156a.694.694,0,0,0-.7-.037l-1.438.958a.91.91,0,0,1-.509.153,5.983,5.983,0,0,1-1.28-.18,7.724,7.724,0,0,1-5.754-5.752,5.977,5.977,0,0,1-.18-1.28.909.909,0,0,1,.153-.509l.959-1.437a.681.681,0,0,0-.037-.7L6.444,4.022a.427.427,0,0,0-.73,0L4.285,5.77a2.549,2.549,0,0,0-.4,2.035.909.909,0,0,1,.027.105,4.671,4.671,0,0,0,.142.5,11.685,11.685,0,0,0,.654,1.563,20.775,20.775,0,0,0,3.973,5.332A20.76,20.76,0,0,0,14.02,19.28a11.693,11.693,0,0,0,1.563.654,4.823,4.823,0,0,0,.5.142.909.909,0,0,1,.126.033,2.492,2.492,0,0,0,2.014-.4l1.747-1.429A.426.426,0,0,0,19.976,17.549Zm-4.3-3.706A2.5,2.5,0,0,1,18.552,14l2.589,2.156a2.235,2.235,0,0,1-.015,3.534l-1.747,1.428a4.29,4.29,0,0,1-3.695.735q-.338-.077-.667-.188a13.5,13.5,0,0,1-1.809-.755A22.583,22.583,0,0,1,7.4,16.594a22.579,22.579,0,0,1-4.314-5.806,13.488,13.488,0,0,1-.755-1.809A6.833,6.833,0,0,1,2.14,8.3a4.343,4.343,0,0,1,.738-3.683L4.307,2.873a2.238,2.238,0,0,1,3.535-.015L10,5.445a2.485,2.485,0,0,1,.153,2.871L9.366,9.494a5.374,5.374,0,0,0,.11.62,5.948,5.948,0,0,0,.922,2.052,5.868,5.868,0,0,0,1.43,1.43,5.952,5.952,0,0,0,2.053.921,5.277,5.277,0,0,0,.62.11l1.179-.785Z\" transform=\"translate(-2 -2)\" fill=\"#ef4f1f\"/>\r\n </g>\r\n </svg>\r\n <span>Call me back</span>\r\n </div>\r\n <div (click)=\"contactAdviser.emit()\">\r\n <svg xmlns=\"http://www.w3.org/2000/svg\" width=\"21.5\" height=\"17.864\" viewBox=\"0 0 21.5 17.864\">\r\n <g id=\"Icons_UI_Contacts_Colour_\" data-name=\"Icons / UI / Contacts / Colour \" transform=\"translate(0.75 0.75)\">\r\n <rect id=\"Rectangle\" width=\"20\" height=\"16.364\" rx=\"3\" fill=\"none\" stroke=\"#ef4f1f\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-miterlimit=\"10\" stroke-width=\"1.5\"/>\r\n <path id=\"Line_3\" data-name=\"Line 3\" d=\"M.55.563l8.591,7.67\" transform=\"translate(0.859 0.858)\" fill=\"none\" stroke=\"#ef4f1f\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-miterlimit=\"10\" stroke-width=\"1.5\"/>\r\n <path id=\"Line_3-2\" data-name=\"Line 3\" d=\"M-1.409.563-10,8.233\" transform=\"translate(20 0.858)\" fill=\"none\" stroke=\"#ef4f1f\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-miterlimit=\"10\" stroke-width=\"1.5\"/>\r\n </g>\r\n </svg>\r\n <span>Contact adviser</span>\r\n </div>\r\n <div *ngIf=\"hasSwitchIndicator\" class=\"user-type-switch user-type-switch\">\r\n <div class=\"user-type-switch__btn-container\">\r\n <lib-af-connect-radio-group label=\"View as\" variant=\"checkbox\" direction=\"column\" (valueChange)=\"select($event)\">\r\n <div\r\n class=\"user-type-switch__option boxShadow\"\r\n (click)=\"select(USER_TYPE.Retail)\"\r\n >\r\n <div class=\"logo blue\">\r\n <ng-container *ngTemplateOutlet=\"retail\"></ng-container>\r\n </div>\r\n <lib-af-connect-radio-button ngClass=\"larger\" [value]=\"USER_TYPE.Retail\" [checked]=\"userType === USER_TYPE.Retail\" itemOrder=\"right-to-left\">\r\n <span>Individual/Retail</span>\r\n </lib-af-connect-radio-button>\r\n </div>\r\n <div\r\n class=\"user-type-switch__option boxShadow\"\r\n (click)=\"select(USER_TYPE.Institutional)\"\r\n >\r\n <div class=\"logo orange\">\r\n <ng-container *ngTemplateOutlet=\"institutional\"></ng-container>\r\n </div>\r\n <lib-af-connect-radio-button ngClass=\"larger\" [value]=\"USER_TYPE.Institutional\" [checked]=\"userType === USER_TYPE.Institutional\" itemOrder=\"right-to-left\">\r\n <span>Employee benefits</span>\r\n </lib-af-connect-radio-button>\r\n </div>\r\n </lib-af-connect-radio-group>\r\n </div>\r\n </div>\r\n <div (click)=\"resetPassword.emit()\">\r\n <svg xmlns=\"http://www.w3.org/2000/svg\" width=\"22\" height=\"20.004\" viewBox=\"0 0 22 20.004\">\r\n <path id=\"Shape\" d=\"M12.522,20A9.882,9.882,0,0,1,2.484,10H.544a.552.552,0,0,1-.379-.944l3.024-3.1a.528.528,0,0,1,.77,0l3.024,3.1a.557.557,0,0,1-.39.944H4.652a7.679,7.679,0,0,0,7.7,7.778,7.782,7.782,0,0,0,7.48-7.667A7.692,7.692,0,0,0,12.24,2.222,7.481,7.481,0,0,0,8.511,3.233a1.035,1.035,0,0,1-1.279-.2,1.125,1.125,0,0,1,.217-1.744A9.617,9.617,0,0,1,12.24,0,9.9,9.9,0,0,1,22,10.289,10,10,0,0,1,12.522,20Z\" transform=\"translate(22 20.004) rotate(180)\" fill=\"#f15a22\"/>\r\n </svg>\r\n <span>Reset password</span>\r\n </div>\r\n <div (click)=\"logout.emit()\">\r\n <svg id=\"icon\" xmlns=\"http://www.w3.org/2000/svg\" width=\"20\" height=\"20\" viewBox=\"0 0 20 20\">\r\n <rect id=\"bg\" width=\"20\" height=\"20\" fill=\"none\"/>\r\n <path id=\"path\" d=\"M9.21,9.273l2.758-2.758A.727.727,0,1,0,10.94,5.486l-4,4a.727.727,0,0,0,0,1.029l4,4a.727.727,0,1,0,1.029-1.029L9.21,10.727h8.066a.727.727,0,0,0,0-1.455Zm1.517-5.818a.727.727,0,1,0,0-1.455H3.821A1.82,1.82,0,0,0,2,3.821V16.179A1.821,1.821,0,0,0,3.821,18h6.906a.727.727,0,1,0,0-1.455H3.821a.366.366,0,0,1-.367-.366V3.821a.366.366,0,0,1,.367-.366Z\" transform=\"translate(-0.099)\" fill=\"#7f8991\"/>\r\n </svg>\r\n <span>Log Out</span>\r\n </div>\r\n </div>\r\n</ng-container>\r\n\r\n<ng-template #retail>\r\n <svg id=\"Group\" xmlns=\"http://www.w3.org/2000/svg\" width=\"12.837\" height=\"13.693\" viewBox=\"0 0 12.837 13.693\">\r\n <path id=\"Oval\" d=\"M2.785-1A3.785,3.785,0,1,1-1,2.785,3.79,3.79,0,0,1,2.785-1Zm0,6.583a2.8,2.8,0,1,0-2.8-2.8A2.8,2.8,0,0,0,2.785,5.583Z\" transform=\"translate(3.633 1)\" fill=\"#fff\"/>\r\n <path id=\"Rectangle\" d=\"M7.393,4.135A.494.494,0,0,1,6.9,3.641,3.712,3.712,0,0,0,3.14-.013H-.506A.494.494,0,0,1-1-.506.494.494,0,0,1-.506-1H3.14A4.7,4.7,0,0,1,7.887,3.641.494.494,0,0,1,7.393,4.135Z\" transform=\"translate(4.95 9.558)\" fill=\"#fff\"/>\r\n <path id=\"Rectangle-2\" data-name=\"Rectangle\" d=\"M-12.506,4.135A.494.494,0,0,1-13,3.641,4.7,4.7,0,0,1-8.253-1h3.646a.494.494,0,0,1,.494.494.494.494,0,0,1-.494.494H-8.253a3.712,3.712,0,0,0-3.76,3.654A.494.494,0,0,1-12.506,4.135Z\" transform=\"translate(13 9.558)\" fill=\"#fff\"/>\r\n </svg>\r\n</ng-template>\r\n\r\n<ng-template #institutional>\r\n <svg xmlns=\"http://www.w3.org/2000/svg\" xmlns:xlink=\"http://www.w3.org/1999/xlink\" width=\"15.384\" height=\"12.488\" viewBox=\"0 0 15.384 12.488\">\r\n <defs>\r\n <clipPath id=\"clip-path\">\r\n <rect id=\"Rectangle_1424\" data-name=\"Rectangle 1424\" width=\"15.383\" height=\"12.489\" transform=\"translate(0 0)\" fill=\"none\" stroke=\"#707070\" stroke-width=\"1\"/>\r\n </clipPath>\r\n </defs>\r\n <g id=\"Group_10298\" data-name=\"Group 10298\" transform=\"translate(-0.952 -0.773)\">\r\n <g id=\"Group_10297\" data-name=\"Group 10297\" transform=\"translate(0.953 0.773)\" clip-path=\"url(#clip-path)\">\r\n <path id=\"Path_6080\" data-name=\"Path 6080\" d=\"M29.386,3.03a.346.346,0,0,1-.346-.346V1.32a.629.629,0,0,0-.628-.629H23.274a.629.629,0,0,0-.628.629V2.684a.346.346,0,1,1-.693,0V1.32A1.323,1.323,0,0,1,23.274,0h5.137A1.323,1.323,0,0,1,29.732,1.32V2.684A.346.346,0,0,1,29.386,3.03Z\" transform=\"translate(-18.151 0.001)\" fill=\"#fff\"/>\r\n <path id=\"Rectangle_1423\" data-name=\"Rectangle 1423\" d=\"M-.933-2h13.25A1.068,1.068,0,0,1,13.384-.933V7.084a1.068,1.068,0,0,1-1.067,1.067H-.933A1.068,1.068,0,0,1-2,7.084V-.933A1.068,1.068,0,0,1-.933-2Zm13.25,9.458a.374.374,0,0,0,.374-.374V-.933a.374.374,0,0,0-.374-.374H-.933a.374.374,0,0,0-.374.374V7.084a.374.374,0,0,0,.374.374Z\" transform=\"translate(2 4.338)\" fill=\"#fff\"/>\r\n <path id=\"Line_324\" data-name=\"Line 324\" d=\"M12.712-1.307H-1.654A.346.346,0,0,1-2-1.654.346.346,0,0,1-1.654-2H12.712a.346.346,0,0,1,.346.346A.346.346,0,0,1,12.712-1.307Z\" transform=\"translate(2.037 8.087)\" fill=\"#fff\"/>\r\n <path id=\"Line_325\" data-name=\"Line 325\" d=\"M-1.654.223A.346.346,0,0,1-2-.124v-1.53A.346.346,0,0,1-1.654-2a.346.346,0,0,1,.346.346v1.53A.346.346,0,0,1-1.654.223Z\" transform=\"translate(12.888 7.318)\" fill=\"#fff\"/>\r\n <path id=\"Line_326\" data-name=\"Line 326\" d=\"M-1.654.223A.346.346,0,0,1-2-.124v-1.53A.346.346,0,0,1-1.654-2a.346.346,0,0,1,.346.346v1.53A.346.346,0,0,1-1.654.223Z\" transform=\"translate(5.802 7.318)\" fill=\"#fff\"/>\r\n </g>\r\n </g>\r\n </svg>\r\n</ng-template>\r\n", styles: [".logo-cicrcle,.dropdown-content .user-type-switch__option>.logo,.logo-content,:host{display:flex;place-items:center;place-content:center;border-radius:50%}:host{height:3rem;filter:drop-shadow(3px 3px 10px rgba(0,0,0,.0784313725));z-index:999;box-shadow:3px 3px 10px #00000014;border:3px solid #FFFFFF;cursor:pointer}@media (max-width: 768px){:host{width:30px;height:30px}}.logo-content{width:3rem;height:3rem;color:#fff;font-family:Hero New ExtraBold;font-size:2rem}.logo-content>svg{width:1.5rem;height:1.5rem}@media (max-width: 768px){.logo-content{width:30px;height:30px;font-size:18px}.logo-content>svg{width:1rem;height:1rem}}.dropdown-content{position:absolute;width:auto;min-width:12rem;height:-moz-fit-content;height:fit-content;right:0;top:3.5rem;font-size:12px;background:white;display:flex;flex-direction:column;align-items:center}.dropdown-content>div:not(.user-type-switch):nth-child(-n+2){display:none}.dropdown-content div:nth-child(4){color:var(--red-test)}@media (max-width: 768px){.dropdown-content{top:47px}.dropdown-content>div:not(.user-type-switch):nth-child(-n+1){display:none}.dropdown-content div:nth-child(2){display:flex}}.dropdown-content div{display:flex;align-items:center;width:100%;height:3rem;gap:1rem;border-bottom:1px solid rgba(120,132,158,.0784313725)}.dropdown-content div svg{width:20px;height:20px;padding-left:1rem}.dropdown-content>div:not(.user-type-switch):hover{background-color:#0000000a}.dropdown-content .user-type-switch{width:auto;height:100%;cursor:default;border-bottom:none}.dropdown-content .user-type-switch__btn-container{display:block!important;width:241px;height:166px;background:#FAFBFC;border:1px solid #F3F3F3;border-radius:5pt;margin:1rem}.dropdown-content .user-type-switch__option{width:100%;height:42px;border-bottom:none;gap:.3rem;padding:0 .75rem;background-color:#fff;box-sizing:border-box;border-radius:3rem;cursor:pointer}.dropdown-content .user-type-switch__option>.logo{height:23px;width:27px;flex:0 1 auto;border:1px solid #FFFFFF;box-shadow:1px 3px 10px #00000014}.dropdown-content .user-type-switch__option>.logo>svg{width:auto;height:auto;padding:0}.dropdown-content .user-type-switch__option>.logo__img{width:22px;height:.9rem}.dropdown-content lib-af-connect-radio-group{gap:.75rem;padding:1rem}.dropdown-content lib-af-connect-radio-button{width:100%}.blue{background:#2CC1DA}.orange{background:#F69521}.yellow{background:var(--bright-tuscan-color)}.boxShadow{box-shadow:3px 3px 6px #00000008}\n"] }]
|
|
706
|
-
}], ctorParameters: function () { return [{ type: i0.ElementRef }]; }, propDecorators: { username: [{
|
|
707
|
-
type: Input
|
|
708
|
-
}], userType: [{
|
|
709
|
-
type: Input
|
|
710
|
-
}], hasSwitchIndicator: [{
|
|
711
|
-
type: Input
|
|
712
|
-
}], isHybrid: [{
|
|
713
|
-
type: Input
|
|
714
|
-
}], callMeBack: [{
|
|
715
|
-
type: Output
|
|
716
|
-
}], contactAdviser: [{
|
|
717
|
-
type: Output
|
|
718
|
-
}], resetPassword: [{
|
|
719
|
-
type: Output
|
|
720
|
-
}], logout: [{
|
|
721
|
-
type: Output
|
|
722
|
-
}], switchUserType: [{
|
|
723
|
-
type: Output
|
|
724
|
-
}], show: [{
|
|
725
|
-
type: HostListener,
|
|
726
|
-
args: ['click', ['$event']]
|
|
727
|
-
}], click: [{
|
|
728
|
-
type: HostListener,
|
|
729
|
-
args: ['document:click', ['$event']]
|
|
730
|
-
}] } });
|
|
731
|
-
|
|
732
|
-
class AfConnectButtonComponent {
|
|
733
|
-
constructor() {
|
|
734
|
-
this.title = '';
|
|
735
|
-
this.size = 'small';
|
|
736
|
-
this.variant = 'outlined';
|
|
737
|
-
this.iconSize = 14;
|
|
738
|
-
this.iconPosition = 'start';
|
|
739
|
-
this.clickBtn = new EventEmitter();
|
|
740
|
-
}
|
|
741
|
-
ngOnInit() { }
|
|
742
|
-
}
|
|
743
|
-
AfConnectButtonComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.1.0", ngImport: i0, type: AfConnectButtonComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
744
|
-
AfConnectButtonComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.1.0", type: AfConnectButtonComponent, selector: "lib-af-connect-button", inputs: { isActive: "isActive", emitValue: "emitValue", title: "title", disabled: "disabled", hybrid: "hybrid", fullWidth: "fullWidth", size: "size", variant: "variant", iconSrc: "iconSrc", iconSize: "iconSize", iconPosition: "iconPosition", activeItem: "activeItem" }, outputs: { clickBtn: "clickBtn" }, ngImport: i0, template: "<button\r\n [class.hybrid]=\"hybrid\"\r\n [ngClass]=\"[\r\n fullWidth ? 'fullWidth' : '', 'button',\r\n size,\r\n variant,\r\n activeItem === title || isActive ? 'active' : '',\r\n iconPosition\r\n ]\"\r\n title=\"\"\r\n [disabled]=\"disabled\"\r\n (click)=\"this.clickBtn.emit(emitValue || title)\"\r\n>\r\n <!-- TODO: Templates -->\r\n <div\r\n *ngIf=\"iconSrc\"\r\n [ngStyle]=\"{\r\n '-webkit-mask-image': 'url(' + iconSrc + ')',\r\n 'width': iconSize + 'px'\r\n }\"\r\n class=\"icon\"\r\n >\r\n </div>\r\n <span [class]=\"['title', size, variant]\">{{ title }}</span>\r\n</button>\r\n", styles: [":host{display:flex;justify-content:center;width:auto}:host(.align-right){justify-content:flex-end}:host(.align-left){justify-content:flex-start}:host(.full-width) .button{width:100%}:host(.register-button) .button{color:var(--main-white-color);border-color:var(--main-white-color)}.button{display:flex;align-items:center;justify-content:center;gap:.5rem;cursor:pointer;border-radius:30px;font-size:.8rem;padding:0 10px;background-color:var(--transparent-color);color:var(--primary-connected-orange-color);border:solid 1px var(--primary-connected-orange-color)}.button:disabled{border-color:var(--neutral-anchor-color);color:var(--neutral-anchor-color);cursor:auto}.button:disabled .icon{background:var(--neutral-anchor-color)}.button.small{width:8.4rem;height:2rem}.button.dynamic{width:100%;height:2rem}.button.medium{width:8.875rem;height:2.6rem}@media (max-width: 1024px){.button.medium{height:2.1rem}}.button.large{width:12rem;height:2.6rem}@media (max-width: 1024px){.button.large{min-width:8.5rem;height:2.3rem;font-size:12px}}.button.x-large{width:22rem;height:3.1875rem;font-size:1.375rem}@media (max-width: 1024px){.button.x-large{width:11.8rem;height:2.5rem;font-size:1rem}}.button.block{width:22rem;font-size:1rem;height:3rem}@media (max-width: 1024px){.button.block{width:11.8rem;height:2.5rem}}.button.filled{color:var(--main-white-color);background-color:var(--primary-connected-orange-color)}.button.filled:hover:not(:disabled){background:var(--primary-catalyst-yellow-color) 0% 0% no-repeat padding-box;border-color:var(--primary-catalyst-yellow-color)}.button.filled:disabled{background-color:var(--neutral-button-color);color:var(--neutral-anchor-color);border-color:var(--neutral-button-color)}.button.transparent{color:var(--main-white-color);border:solid 1px var(--main-white-color)}.button.cancel{color:var(--neutral-anchor-color);background:var(--neutral-button-color);border:none}.button.link{color:var(--primary-connected-orange-color);background:none;border:none;padding:0;height:-moz-fit-content;height:fit-content;width:auto;display:block}.button.link:disabled{color:var(--neutral-anchor-color)}.button.link:hover:not(:disabled),.button.link:disabled{background:transparent}@media (max-width: 768px){.button.hybrid{color:var(--primary-connected-orange-color);background:none;border:none;padding:0;height:-moz-fit-content;height:fit-content;width:auto;display:block}.button.hybrid:disabled{color:var(--neutral-anchor-color)}.button.hybrid:hover:not(:disabled),.button.hybrid:disabled{background:transparent}.button.hybrid .icon{display:none}}.button.fullWidth{width:100%}.button.greyish{padding:10px 8px;color:var(--main-black-color);background:var(--neutral-button-color);border:none;font-family:var(--standard-font-family-hero-new);font-size:.875rem;width:6.25rem;height:2.35rem;transition:background-color 125ms ease-in-out}.button.greyish>.title{white-space:nowrap;font-family:var(--standard-font-family-hero-new);font-size:14px}.button.greyish.small{height:2rem;width:5.5rem}@media (max-width: 768px){.button.greyish.small{min-width:auto;max-width:4.8rem}}.button.greyish.active{background-color:var(--primary-balanced-teal-color);color:var(--main-white-color)}@media (max-width: 768px){.button.greyish{min-width:100%;width:auto;max-height:2rem;padding:0}}.button.start{flex-direction:row}.button.end{flex-direction:row-reverse}.mat-button-disabled{opacity:.5;pointer-events:none}.icon{-webkit-mask-repeat:no-repeat;mask-repeat:no-repeat;-webkit-mask-size:contain;mask-size:contain;-webkit-mask-position:center;mask-position:center;aspect-ratio:1;background:var(--primary-connected-orange-color)}.filled .icon{background:var(--main-white-color)}.title{font-family:var(--standard-font-family-hero-new-bold);font-size:14px}.title.small,.title.dynamic{font-size:12px}.title.medium{font-size:14px}.title.x-large{font-size:1.375rem;font-family:var(--standard-font-family-hero-new)}.title.link{font-family:var(--standard-font-family-hero-new-semibold)}@media (max-width: 1024px){.title{font-size:.75rem}.title.x-large{font-size:1rem}}@media (max-width: 768px){.title.large{font-family:var(--standard-font-family-hero-new-semibold)}}:host(.bold) .title{font-family:var(--standard-font-family-hero-new-semibold)}:host(.filter) .button.small{min-height:32px}:host(.filter) .title{font-size:1rem;font-family:var(--standard-font-family-hero-new-semibold)}@media (max-width: 768px){:host(.filter) .title{font-size:14px}}:host(.filter) .button{max-width:6.5rem}@media (max-width: 768px){:host(.filter) .button{max-width:4.5rem;max-height:1.75rem}}:host(.auto-width){width:auto}:host(.full-width){width:100%}\n"], dependencies: [{ kind: "directive", type: i1$1.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { kind: "directive", type: i1$1.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "directive", type: i1$1.NgStyle, selector: "[ngStyle]", inputs: ["ngStyle"] }] });
|
|
745
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.0", ngImport: i0, type: AfConnectButtonComponent, decorators: [{
|
|
746
|
-
type: Component,
|
|
747
|
-
args: [{ selector: 'lib-af-connect-button', template: "<button\r\n [class.hybrid]=\"hybrid\"\r\n [ngClass]=\"[\r\n fullWidth ? 'fullWidth' : '', 'button',\r\n size,\r\n variant,\r\n activeItem === title || isActive ? 'active' : '',\r\n iconPosition\r\n ]\"\r\n title=\"\"\r\n [disabled]=\"disabled\"\r\n (click)=\"this.clickBtn.emit(emitValue || title)\"\r\n>\r\n <!-- TODO: Templates -->\r\n <div\r\n *ngIf=\"iconSrc\"\r\n [ngStyle]=\"{\r\n '-webkit-mask-image': 'url(' + iconSrc + ')',\r\n 'width': iconSize + 'px'\r\n }\"\r\n class=\"icon\"\r\n >\r\n </div>\r\n <span [class]=\"['title', size, variant]\">{{ title }}</span>\r\n</button>\r\n", styles: [":host{display:flex;justify-content:center;width:auto}:host(.align-right){justify-content:flex-end}:host(.align-left){justify-content:flex-start}:host(.full-width) .button{width:100%}:host(.register-button) .button{color:var(--main-white-color);border-color:var(--main-white-color)}.button{display:flex;align-items:center;justify-content:center;gap:.5rem;cursor:pointer;border-radius:30px;font-size:.8rem;padding:0 10px;background-color:var(--transparent-color);color:var(--primary-connected-orange-color);border:solid 1px var(--primary-connected-orange-color)}.button:disabled{border-color:var(--neutral-anchor-color);color:var(--neutral-anchor-color);cursor:auto}.button:disabled .icon{background:var(--neutral-anchor-color)}.button.small{width:8.4rem;height:2rem}.button.dynamic{width:100%;height:2rem}.button.medium{width:8.875rem;height:2.6rem}@media (max-width: 1024px){.button.medium{height:2.1rem}}.button.large{width:12rem;height:2.6rem}@media (max-width: 1024px){.button.large{min-width:8.5rem;height:2.3rem;font-size:12px}}.button.x-large{width:22rem;height:3.1875rem;font-size:1.375rem}@media (max-width: 1024px){.button.x-large{width:11.8rem;height:2.5rem;font-size:1rem}}.button.block{width:22rem;font-size:1rem;height:3rem}@media (max-width: 1024px){.button.block{width:11.8rem;height:2.5rem}}.button.filled{color:var(--main-white-color);background-color:var(--primary-connected-orange-color)}.button.filled:hover:not(:disabled){background:var(--primary-catalyst-yellow-color) 0% 0% no-repeat padding-box;border-color:var(--primary-catalyst-yellow-color)}.button.filled:disabled{background-color:var(--neutral-button-color);color:var(--neutral-anchor-color);border-color:var(--neutral-button-color)}.button.transparent{color:var(--main-white-color);border:solid 1px var(--main-white-color)}.button.cancel{color:var(--neutral-anchor-color);background:var(--neutral-button-color);border:none}.button.link{color:var(--primary-connected-orange-color);background:none;border:none;padding:0;height:-moz-fit-content;height:fit-content;width:auto;display:block}.button.link:disabled{color:var(--neutral-anchor-color)}.button.link:hover:not(:disabled),.button.link:disabled{background:transparent}@media (max-width: 768px){.button.hybrid{color:var(--primary-connected-orange-color);background:none;border:none;padding:0;height:-moz-fit-content;height:fit-content;width:auto;display:block}.button.hybrid:disabled{color:var(--neutral-anchor-color)}.button.hybrid:hover:not(:disabled),.button.hybrid:disabled{background:transparent}.button.hybrid .icon{display:none}}.button.fullWidth{width:100%}.button.greyish{padding:10px 8px;color:var(--main-black-color);background:var(--neutral-button-color);border:none;font-family:var(--standard-font-family-hero-new);font-size:.875rem;width:6.25rem;height:2.35rem;transition:background-color 125ms ease-in-out}.button.greyish>.title{white-space:nowrap;font-family:var(--standard-font-family-hero-new);font-size:14px}.button.greyish.small{height:2rem;width:5.5rem}@media (max-width: 768px){.button.greyish.small{min-width:auto;max-width:4.8rem}}.button.greyish.active{background-color:var(--primary-balanced-teal-color);color:var(--main-white-color)}@media (max-width: 768px){.button.greyish{min-width:100%;width:auto;max-height:2rem;padding:0}}.button.start{flex-direction:row}.button.end{flex-direction:row-reverse}.mat-button-disabled{opacity:.5;pointer-events:none}.icon{-webkit-mask-repeat:no-repeat;mask-repeat:no-repeat;-webkit-mask-size:contain;mask-size:contain;-webkit-mask-position:center;mask-position:center;aspect-ratio:1;background:var(--primary-connected-orange-color)}.filled .icon{background:var(--main-white-color)}.title{font-family:var(--standard-font-family-hero-new-bold);font-size:14px}.title.small,.title.dynamic{font-size:12px}.title.medium{font-size:14px}.title.x-large{font-size:1.375rem;font-family:var(--standard-font-family-hero-new)}.title.link{font-family:var(--standard-font-family-hero-new-semibold)}@media (max-width: 1024px){.title{font-size:.75rem}.title.x-large{font-size:1rem}}@media (max-width: 768px){.title.large{font-family:var(--standard-font-family-hero-new-semibold)}}:host(.bold) .title{font-family:var(--standard-font-family-hero-new-semibold)}:host(.filter) .button.small{min-height:32px}:host(.filter) .title{font-size:1rem;font-family:var(--standard-font-family-hero-new-semibold)}@media (max-width: 768px){:host(.filter) .title{font-size:14px}}:host(.filter) .button{max-width:6.5rem}@media (max-width: 768px){:host(.filter) .button{max-width:4.5rem;max-height:1.75rem}}:host(.auto-width){width:auto}:host(.full-width){width:100%}\n"] }]
|
|
748
|
-
}], propDecorators: { isActive: [{
|
|
749
|
-
type: Input
|
|
750
|
-
}], emitValue: [{
|
|
751
|
-
type: Input
|
|
752
|
-
}], title: [{
|
|
753
|
-
type: Input
|
|
754
|
-
}], disabled: [{
|
|
755
|
-
type: Input
|
|
756
|
-
}], hybrid: [{
|
|
757
|
-
type: Input
|
|
758
|
-
}], fullWidth: [{
|
|
759
|
-
type: Input
|
|
760
|
-
}], size: [{
|
|
761
|
-
type: Input
|
|
762
|
-
}], variant: [{
|
|
763
|
-
type: Input
|
|
764
|
-
}], iconSrc: [{
|
|
765
|
-
type: Input
|
|
766
|
-
}], iconSize: [{
|
|
767
|
-
type: Input
|
|
768
|
-
}], iconPosition: [{
|
|
769
|
-
type: Input
|
|
770
|
-
}], activeItem: [{
|
|
771
|
-
type: Input
|
|
772
|
-
}], clickBtn: [{
|
|
773
|
-
type: Output
|
|
774
|
-
}] } });
|
|
775
|
-
|
|
776
|
-
class AfConnectHeaderComponent {
|
|
777
|
-
constructor(router) {
|
|
778
|
-
this.router = router;
|
|
779
|
-
this.username = '';
|
|
780
|
-
this.isLogoHidden = false;
|
|
781
|
-
this.callMeBack = new EventEmitter();
|
|
782
|
-
this.contactAdviser = new EventEmitter();
|
|
783
|
-
this.resetPassword = new EventEmitter();
|
|
784
|
-
this.logout = new EventEmitter();
|
|
785
|
-
this.switchUserType = new EventEmitter();
|
|
786
|
-
this.USER_TYPE = UserType;
|
|
787
|
-
}
|
|
788
|
-
refresh() {
|
|
789
|
-
window.location.reload();
|
|
790
|
-
}
|
|
791
|
-
switch(type) {
|
|
792
|
-
this.switchUserType.emit(type);
|
|
793
|
-
}
|
|
794
|
-
gotoProfileDetails() {
|
|
795
|
-
this.router.navigateByUrl('profile-details');
|
|
796
|
-
}
|
|
797
|
-
}
|
|
798
|
-
AfConnectHeaderComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.1.0", ngImport: i0, type: AfConnectHeaderComponent, deps: [{ token: i1$2.Router }], target: i0.ɵɵFactoryTarget.Component });
|
|
799
|
-
AfConnectHeaderComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.1.0", type: AfConnectHeaderComponent, selector: "lib-af-connect-header", inputs: { username: "username", isLogoHidden: "isLogoHidden", userType: "userType", hasSwitchIndicator: "hasSwitchIndicator", isHybrid: "isHybrid" }, outputs: { callMeBack: "callMeBack", contactAdviser: "contactAdviser", resetPassword: "resetPassword", logout: "logout", switchUserType: "switchUserType" }, ngImport: i0, template: "<svg class=\"logo\" (click)=\"refresh()\" xmlns=\"http://www.w3.org/2000/svg\" xmlns:xlink=\"http://www.w3.org/1999/xlink\" viewBox=\"0 0 592.39 132.62\">\r\n <defs>\r\n <style>.cls-1{fill:url(#linear-gradient);}.cls-2{fill:#f15b25;}.cls-3{fill:#1a808d;}</style>\r\n <linearGradient id=\"linear-gradient\" x1=\"254.64\" y1=\"41.32\" x2=\"604.45\" y2=\"41.32\" gradientUnits=\"userSpaceOnUse\">\r\n <stop offset=\"0\" stop-color=\"#1a808d\"/>\r\n <stop offset=\"1\"/>\r\n </linearGradient>\r\n </defs>\r\n <g id=\"Layer_2\" data-name=\"Layer 2\">\r\n <g id=\"Layer_1-2\" data-name=\"Layer 1\">\r\n <path class=\"cls-1\" d=\"M32.59,53.64c0-17.53,12.08-29.31,24.45-29.31a20.54,20.54,0,0,1,17.53,9.31l1.78-7.82H92V81.16H76.35l-1.78-7.82A20.53,20.53,0,0,1,57,82.64C44.67,82.64,32.59,70.86,32.59,53.64Zm41.28-.1c0-7.43-4.75-12.77-11.18-12.77C56,40.77,51.2,46.41,51.2,53.54S56,66.21,62.69,66.21C69.12,66.21,73.87,60.86,73.87,53.54ZM103.85,0h18.41V81.16H103.85ZM187.1,58.49H150.77c2.47,6.63,9,9.9,16.53,9.9,6,0,11.59-2.08,16.64-4.85V78.09a39.5,39.5,0,0,1-19.11,4.55c-20.3,0-31.68-12.27-31.68-29,0-17.43,12.27-29.31,28.21-29.31,14.46,0,26.24,9.8,26.24,28.22A35.8,35.8,0,0,1,187.1,58.49Zm-16.93-10.6c-.19-5.54-3.66-9.3-8.91-9.3-5,0-9.4,3.56-10.89,9.3Zm61.77,5,19,28.32h-20.8l-9.3-15.94h-.2l-9.31,15.94h-19.8l18.72-27.62L191.74,25.82h20.1l9.21,15.93h.19l9.21-15.93h19.8ZM264.26,41h-7.43V25.82h7.53V21.26C264.36,11,271.88.57,287.13.57a38,38,0,0,1,11.09,1.58V17.5a23.35,23.35,0,0,0-7.63-1.19c-5.34,0-8.21,1.88-8.21,6.24v3.27h14.15V41H282.67v40.2H264.26Zm38,12.48c0-17.43,13.17-29.11,29.7-29.11s29.5,11.68,29.5,29.11S348.6,82.64,332,82.64,302.27,70.76,302.27,53.44Zm40.69,0c0-8.12-5.45-12.67-11-12.67s-11.09,4.55-11.09,12.67S326.33,66.21,332,66.21,343,61.56,343,53.44Zm29-27.62h14.65l1.78,8.11h.2a16.67,16.67,0,0,1,14.85-8.71,13.89,13.89,0,0,1,4.26.5V42.84a20.69,20.69,0,0,0-4.85-.59c-6.44,0-12.48,3.37-12.48,13.46V81.16H371.93Zm62.45,7.52c3.27-5.25,10.1-9,17.13-9,12.77,0,23.86,11.39,23.86,29.21s-11.88,29.1-24.75,29.1a20.84,20.84,0,0,1-17.33-9.3l-1.68,7.82H416V.14h18.41Zm-.2,20.2c0,7.42,4.65,12.67,11.19,12.67s11.38-5.45,11.38-12.57S452,40.77,445.27,40.77C438.83,40.77,434.18,46.11,434.18,53.54Zm103.3,5H501.14c2.48,6.63,9,9.9,16.54,9.9,6,0,11.58-2.08,16.63-4.85V78.09a39.48,39.48,0,0,1-19.11,4.55c-20.29,0-31.68-12.27-31.68-29,0-17.43,12.28-29.31,28.22-29.31,14.45,0,26.23,9.8,26.23,28.22A37,37,0,0,1,537.48,58.49Zm-16.93-10.6c-.2-5.54-3.67-9.3-8.91-9.3-5.05,0-9.41,3.56-10.89,9.3Zm67.66-19.4V43.64a35.12,35.12,0,0,0-17-4.56c-4.26,0-6.63,1.19-6.63,3.27s2.67,3.27,8.51,4.65C582.27,49.18,592,52.45,592,64.23c0,11.29-8.91,18.41-24.65,18.41-8.22,0-15.15-2-19.9-4.85V61.46a31.35,31.35,0,0,0,19.11,6.43c4.85,0,7.62-1.29,7.62-3.56,0-2.58-3.46-3.37-10.4-5.35-8.61-2.37-16.83-6.24-16.83-16.43,0-10.5,8.52-18.22,23.47-18.22C576.92,24.33,583.75,25.91,588.21,28.49Z\"/>\r\n <circle class=\"cls-2\" cx=\"10.86\" cy=\"34.87\" r=\"10.86\" transform=\"translate(-15.07 9.15) rotate(-27.94)\"/>\r\n <circle class=\"cls-2\" cx=\"10.86\" cy=\"71.4\" r=\"10.86\" transform=\"translate(-32.19 13.41) rotate(-27.94)\"/>\r\n <circle class=\"cls-3\" cx=\"368.84\" cy=\"117.24\" r=\"2.98\"/>\r\n <path class=\"cls-2\" d=\"M264,105.54a2,2,0,1,1,2,1.93A1.92,1.92,0,0,1,264,105.54Zm.29,5h3.39v15.69h-3.39Z\"/>\r\n <path class=\"cls-2\" d=\"M285.22,115.78v10.43h-3.39v-9.34c0-2.42-1.1-3.56-3.19-3.56a3.34,3.34,0,0,0-3.45,3.42v9.48h-3.4V110.52h2.62l.37,2.33h.09a5.58,5.58,0,0,1,4.77-2.71C283.06,110.14,285.22,112.33,285.22,115.78Z\"/>\r\n <path class=\"cls-2\" d=\"M299.46,111.47v3.1a7.88,7.88,0,0,0-4.71-1.52c-1.79,0-2.76.69-2.76,1.78s1.17,1.61,3.16,2.18c2.47.66,5.23,1.5,5.23,4.72,0,3-2.33,4.86-6.21,4.86a9.11,9.11,0,0,1-5.49-1.67v-3.34a7.88,7.88,0,0,0,5.38,2.13c1.92,0,3-.8,3-1.95,0-1.3-1.35-1.73-3.5-2.39-2.56-.75-4.89-1.67-4.89-4.46s2.24-4.77,5.95-4.77A8.9,8.9,0,0,1,299.46,111.47Z\"/>\r\n <path class=\"cls-2\" d=\"M303.29,105.54a2,2,0,1,1,2,1.93A1.92,1.92,0,0,1,303.29,105.54Zm.29,5H307v15.69h-3.39Z\"/>\r\n <path class=\"cls-2\" d=\"M322.53,113.1l.37-2.58h2.82v14.14c0,5.17-3.65,8-8.13,8a10.29,10.29,0,0,1-5.9-1.9V127.3a8.84,8.84,0,0,0,5.67,2.27c2.78,0,5-1.78,5-4.45v-2a6.05,6.05,0,0,1-5.17,2.81c-3.68,0-7.05-3.16-7.05-7.87s3.42-7.88,7.1-7.88A6.24,6.24,0,0,1,322.53,113.1Zm-9,5a4.48,4.48,0,1,0,8.92-.09,4.5,4.5,0,0,0-4.46-4.74A4.58,4.58,0,0,0,313.5,118.08Z\"/>\r\n <path class=\"cls-2\" d=\"M333.23,112.27h.06a5.37,5.37,0,0,1,4.36-2.13c3.43,0,5.61,2,5.61,5.67v10.4h-3.39v-9.37c0-2.41-1-3.59-3.16-3.59a3.22,3.22,0,0,0-3.48,3.39v9.57h-3.39v-23h3.39Z\"/>\r\n <path class=\"cls-2\" d=\"M351.15,110.52h4.34v2.87h-4.34v7c0,2.24,1.38,3.16,3.28,3.16a9.45,9.45,0,0,0,1.41-.14v2.9a10.36,10.36,0,0,1-2.1.2c-3.71,0-5.92-2.21-5.92-6v-7.13h-2.3v-2.87h2.35v-3.65h3.28Z\"/>\r\n <path class=\"cls-2\" d=\"M380.9,118.39c0-5,3.45-8.25,7-8.25a6.17,6.17,0,0,1,5.43,3.08l.38-2.7h2.81v15.69h-2.81l-.38-2.7a6.17,6.17,0,0,1-5.43,3.08C384.35,126.59,380.9,123.34,380.9,118.39Zm12.36,0c0-3-2-5.11-4.46-5.11s-4.51,2.12-4.51,5.11,2,5.12,4.51,5.12S393.26,121.38,393.26,118.36Z\"/>\r\n <path class=\"cls-2\" d=\"M399.81,118.36c0-5,3.39-8.22,7.07-8.22a5.94,5.94,0,0,1,5.23,2.94v-9.89h3.39v23h-2.81l-.41-2.7a6.11,6.11,0,0,1-5.37,3.08C403.23,126.59,399.81,123.39,399.81,118.36Zm12.36,0c0-3-2-5.11-4.46-5.11s-4.48,2.12-4.48,5.11,1.92,5.12,4.48,5.12S412.17,121.38,412.17,118.36Z\"/>\r\n <path class=\"cls-2\" d=\"M417.88,110.52h3.62l3.94,12h.09l3.94-12H433l-5.72,15.69H423.6Z\"/>\r\n <path class=\"cls-2\" d=\"M435.05,105.54a2,2,0,1,1,2,1.93A1.92,1.92,0,0,1,435.05,105.54Zm.29,5h3.39v15.69h-3.39Z\"/>\r\n <path class=\"cls-2\" d=\"M450.28,123.48a6.72,6.72,0,0,0,4.08-1.24v3.25a9,9,0,0,1-4.45,1.1,8.23,8.23,0,0,1,0-16.45,8.38,8.38,0,0,1,4.45,1.12v3.28a6.75,6.75,0,0,0-4.11-1.29,5.12,5.12,0,0,0,0,10.23Z\"/>\r\n <path class=\"cls-2\" d=\"M471.18,119.4H459.91a5.07,5.07,0,0,0,5.32,4.37,8.23,8.23,0,0,0,5.11-1.87v3a9.54,9.54,0,0,1-5.46,1.64c-5.14,0-8.25-3.34-8.25-8.17,0-5,3.51-8.28,7.71-8.28,3.79,0,6.92,2.73,6.92,7.94A8.91,8.91,0,0,1,471.18,119.4ZM468,117.13c-.08-2.79-1.78-4.17-3.73-4.17a4.56,4.56,0,0,0-4.43,4.17Z\"/>\r\n <path class=\"cls-2\" d=\"M497.53,105.54a2,2,0,1,1,2,1.93A1.93,1.93,0,0,1,497.53,105.54Zm.29,5h3.39v15.69h-3.39Z\"/>\r\n <path class=\"cls-2\" d=\"M526.55,115.78v10.43h-3.39v-9.83c0-2-.78-3.07-2.65-3.07a2.86,2.86,0,0,0-2.9,3v9.89h-3.39v-9.83c0-2-.78-3.07-2.65-3.07a2.91,2.91,0,0,0-2.87,3.19v9.71h-3.39V110.52h2.61l.38,2.27h.08a4.77,4.77,0,0,1,4.26-2.65,4.46,4.46,0,0,1,4.4,2.73,5,5,0,0,1,4.51-2.73C525,110.14,526.55,112.44,526.55,115.78Z\"/>\r\n <path class=\"cls-2\" d=\"M530.59,110.52h2.82l.37,2.7a6.14,6.14,0,0,1,5.37-3.08c3.71,0,7.13,3.22,7.13,8.22s-3.36,8.23-7,8.23a6.13,6.13,0,0,1-5.26-2.94v8.6h-3.39Zm12.27,7.82c0-3-2-5.09-4.48-5.09s-4.46,2.1-4.46,5.11,1.93,5.12,4.43,5.12S542.86,121.38,542.86,118.34Z\"/>\r\n <path class=\"cls-2\" d=\"M548.66,118.39c0-5,3.45-8.25,7-8.25a6.17,6.17,0,0,1,5.43,3.08l.38-2.7h2.81v15.69h-2.81l-.38-2.7a6.17,6.17,0,0,1-5.43,3.08C552.11,126.59,548.66,123.34,548.66,118.39Zm12.36,0c0-3-2-5.11-4.46-5.11s-4.51,2.12-4.51,5.11,2,5.12,4.51,5.12S561,121.38,561,118.36Z\"/>\r\n <path class=\"cls-2\" d=\"M575.92,123.48a6.74,6.74,0,0,0,4.08-1.24v3.25a9,9,0,0,1-4.45,1.1,8.23,8.23,0,0,1,0-16.45,8.38,8.38,0,0,1,4.45,1.12v3.28a6.77,6.77,0,0,0-4.11-1.29,5.12,5.12,0,0,0,0,10.23Z\"/>\r\n <path class=\"cls-2\" d=\"M587.7,110.52H592v2.87H587.7v7c0,2.24,1.38,3.16,3.28,3.16a9.45,9.45,0,0,0,1.41-.14v2.9a10.36,10.36,0,0,1-2.1.2c-3.71,0-5.92-2.21-5.92-6v-7.13h-2.3v-2.87h2.36v-3.65h3.27Z\"/>\r\n <circle class=\"cls-3\" cx=\"483.77\" cy=\"117.24\" r=\"2.98\"/>\r\n </g>\r\n </g>\r\n</svg>\r\n\r\n<div id=\"header-menu\">\r\n <a href=\"\">My portfolio</a>\r\n <a *ngIf=\"userType !== USER_TYPE.Retail\" href=\"\">Claims</a>\r\n <a href=\"\">Documents</a>\r\n <a href=\"\">Tools and calculators</a>\r\n</div>\r\n\r\n<div id=\"header-profile\">\r\n <lib-af-connect-button\r\n title=\"Edit profile\"\r\n size=\"large\"\r\n (clickBtn)=\"gotoProfileDetails()\"\r\n >\r\n </lib-af-connect-button>\r\n <lib-af-connect-profile-dropdown\r\n *ngIf=\"!isLogoHidden\"\r\n [username]=\"username\"\r\n [userType]=\"userType\"\r\n [hasSwitchIndicator]=\"hasSwitchIndicator\"\r\n [isHybrid]=\"isHybrid\"\r\n (callMeBack)=\"callMeBack.emit()\"\r\n (contactAdviser)=\"contactAdviser.emit()\"\r\n (resetPassword)=\"resetPassword.emit()\"\r\n (logout)=\"logout.emit()\"\r\n (switchUserType)=\"switch($event)\"\r\n >\r\n </lib-af-connect-profile-dropdown>\r\n</div>\r\n", styles: [":host{display:flex;justify-content:space-between;align-items:center;height:100px;margin:auto}@media (max-width: 768px){:host{width:auto;height:50px;padding:.5rem 1.25rem}}:host .logo{width:180px;height:40px;cursor:pointer}@media (max-width: 768px){:host .logo{width:132px;height:30px}}#header-menu{display:flex;gap:2rem;align-items:center}#header-menu>a{text-decoration:none;color:var(--secondary-space-color)}@media (max-width: 1024px){#header-menu{display:none}}#header-profile{display:flex;align-items:center;gap:2rem}@media (max-width: 1200px){#header-profile lib-af-connect-button{display:none}}\n"], dependencies: [{ kind: "directive", type: i1$1.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "component", type: AfConnectProfileDropdown, selector: "lib-af-connect-profile-dropdown", inputs: ["username", "userType", "hasSwitchIndicator", "isHybrid"], outputs: ["callMeBack", "contactAdviser", "resetPassword", "logout", "switchUserType"] }, { kind: "component", type: AfConnectButtonComponent, selector: "lib-af-connect-button", inputs: ["isActive", "emitValue", "title", "disabled", "hybrid", "fullWidth", "size", "variant", "iconSrc", "iconSize", "iconPosition", "activeItem"], outputs: ["clickBtn"] }] });
|
|
800
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.0", ngImport: i0, type: AfConnectHeaderComponent, decorators: [{
|
|
801
|
-
type: Component,
|
|
802
|
-
args: [{ selector: 'lib-af-connect-header', template: "<svg class=\"logo\" (click)=\"refresh()\" xmlns=\"http://www.w3.org/2000/svg\" xmlns:xlink=\"http://www.w3.org/1999/xlink\" viewBox=\"0 0 592.39 132.62\">\r\n <defs>\r\n <style>.cls-1{fill:url(#linear-gradient);}.cls-2{fill:#f15b25;}.cls-3{fill:#1a808d;}</style>\r\n <linearGradient id=\"linear-gradient\" x1=\"254.64\" y1=\"41.32\" x2=\"604.45\" y2=\"41.32\" gradientUnits=\"userSpaceOnUse\">\r\n <stop offset=\"0\" stop-color=\"#1a808d\"/>\r\n <stop offset=\"1\"/>\r\n </linearGradient>\r\n </defs>\r\n <g id=\"Layer_2\" data-name=\"Layer 2\">\r\n <g id=\"Layer_1-2\" data-name=\"Layer 1\">\r\n <path class=\"cls-1\" d=\"M32.59,53.64c0-17.53,12.08-29.31,24.45-29.31a20.54,20.54,0,0,1,17.53,9.31l1.78-7.82H92V81.16H76.35l-1.78-7.82A20.53,20.53,0,0,1,57,82.64C44.67,82.64,32.59,70.86,32.59,53.64Zm41.28-.1c0-7.43-4.75-12.77-11.18-12.77C56,40.77,51.2,46.41,51.2,53.54S56,66.21,62.69,66.21C69.12,66.21,73.87,60.86,73.87,53.54ZM103.85,0h18.41V81.16H103.85ZM187.1,58.49H150.77c2.47,6.63,9,9.9,16.53,9.9,6,0,11.59-2.08,16.64-4.85V78.09a39.5,39.5,0,0,1-19.11,4.55c-20.3,0-31.68-12.27-31.68-29,0-17.43,12.27-29.31,28.21-29.31,14.46,0,26.24,9.8,26.24,28.22A35.8,35.8,0,0,1,187.1,58.49Zm-16.93-10.6c-.19-5.54-3.66-9.3-8.91-9.3-5,0-9.4,3.56-10.89,9.3Zm61.77,5,19,28.32h-20.8l-9.3-15.94h-.2l-9.31,15.94h-19.8l18.72-27.62L191.74,25.82h20.1l9.21,15.93h.19l9.21-15.93h19.8ZM264.26,41h-7.43V25.82h7.53V21.26C264.36,11,271.88.57,287.13.57a38,38,0,0,1,11.09,1.58V17.5a23.35,23.35,0,0,0-7.63-1.19c-5.34,0-8.21,1.88-8.21,6.24v3.27h14.15V41H282.67v40.2H264.26Zm38,12.48c0-17.43,13.17-29.11,29.7-29.11s29.5,11.68,29.5,29.11S348.6,82.64,332,82.64,302.27,70.76,302.27,53.44Zm40.69,0c0-8.12-5.45-12.67-11-12.67s-11.09,4.55-11.09,12.67S326.33,66.21,332,66.21,343,61.56,343,53.44Zm29-27.62h14.65l1.78,8.11h.2a16.67,16.67,0,0,1,14.85-8.71,13.89,13.89,0,0,1,4.26.5V42.84a20.69,20.69,0,0,0-4.85-.59c-6.44,0-12.48,3.37-12.48,13.46V81.16H371.93Zm62.45,7.52c3.27-5.25,10.1-9,17.13-9,12.77,0,23.86,11.39,23.86,29.21s-11.88,29.1-24.75,29.1a20.84,20.84,0,0,1-17.33-9.3l-1.68,7.82H416V.14h18.41Zm-.2,20.2c0,7.42,4.65,12.67,11.19,12.67s11.38-5.45,11.38-12.57S452,40.77,445.27,40.77C438.83,40.77,434.18,46.11,434.18,53.54Zm103.3,5H501.14c2.48,6.63,9,9.9,16.54,9.9,6,0,11.58-2.08,16.63-4.85V78.09a39.48,39.48,0,0,1-19.11,4.55c-20.29,0-31.68-12.27-31.68-29,0-17.43,12.28-29.31,28.22-29.31,14.45,0,26.23,9.8,26.23,28.22A37,37,0,0,1,537.48,58.49Zm-16.93-10.6c-.2-5.54-3.67-9.3-8.91-9.3-5.05,0-9.41,3.56-10.89,9.3Zm67.66-19.4V43.64a35.12,35.12,0,0,0-17-4.56c-4.26,0-6.63,1.19-6.63,3.27s2.67,3.27,8.51,4.65C582.27,49.18,592,52.45,592,64.23c0,11.29-8.91,18.41-24.65,18.41-8.22,0-15.15-2-19.9-4.85V61.46a31.35,31.35,0,0,0,19.11,6.43c4.85,0,7.62-1.29,7.62-3.56,0-2.58-3.46-3.37-10.4-5.35-8.61-2.37-16.83-6.24-16.83-16.43,0-10.5,8.52-18.22,23.47-18.22C576.92,24.33,583.75,25.91,588.21,28.49Z\"/>\r\n <circle class=\"cls-2\" cx=\"10.86\" cy=\"34.87\" r=\"10.86\" transform=\"translate(-15.07 9.15) rotate(-27.94)\"/>\r\n <circle class=\"cls-2\" cx=\"10.86\" cy=\"71.4\" r=\"10.86\" transform=\"translate(-32.19 13.41) rotate(-27.94)\"/>\r\n <circle class=\"cls-3\" cx=\"368.84\" cy=\"117.24\" r=\"2.98\"/>\r\n <path class=\"cls-2\" d=\"M264,105.54a2,2,0,1,1,2,1.93A1.92,1.92,0,0,1,264,105.54Zm.29,5h3.39v15.69h-3.39Z\"/>\r\n <path class=\"cls-2\" d=\"M285.22,115.78v10.43h-3.39v-9.34c0-2.42-1.1-3.56-3.19-3.56a3.34,3.34,0,0,0-3.45,3.42v9.48h-3.4V110.52h2.62l.37,2.33h.09a5.58,5.58,0,0,1,4.77-2.71C283.06,110.14,285.22,112.33,285.22,115.78Z\"/>\r\n <path class=\"cls-2\" d=\"M299.46,111.47v3.1a7.88,7.88,0,0,0-4.71-1.52c-1.79,0-2.76.69-2.76,1.78s1.17,1.61,3.16,2.18c2.47.66,5.23,1.5,5.23,4.72,0,3-2.33,4.86-6.21,4.86a9.11,9.11,0,0,1-5.49-1.67v-3.34a7.88,7.88,0,0,0,5.38,2.13c1.92,0,3-.8,3-1.95,0-1.3-1.35-1.73-3.5-2.39-2.56-.75-4.89-1.67-4.89-4.46s2.24-4.77,5.95-4.77A8.9,8.9,0,0,1,299.46,111.47Z\"/>\r\n <path class=\"cls-2\" d=\"M303.29,105.54a2,2,0,1,1,2,1.93A1.92,1.92,0,0,1,303.29,105.54Zm.29,5H307v15.69h-3.39Z\"/>\r\n <path class=\"cls-2\" d=\"M322.53,113.1l.37-2.58h2.82v14.14c0,5.17-3.65,8-8.13,8a10.29,10.29,0,0,1-5.9-1.9V127.3a8.84,8.84,0,0,0,5.67,2.27c2.78,0,5-1.78,5-4.45v-2a6.05,6.05,0,0,1-5.17,2.81c-3.68,0-7.05-3.16-7.05-7.87s3.42-7.88,7.1-7.88A6.24,6.24,0,0,1,322.53,113.1Zm-9,5a4.48,4.48,0,1,0,8.92-.09,4.5,4.5,0,0,0-4.46-4.74A4.58,4.58,0,0,0,313.5,118.08Z\"/>\r\n <path class=\"cls-2\" d=\"M333.23,112.27h.06a5.37,5.37,0,0,1,4.36-2.13c3.43,0,5.61,2,5.61,5.67v10.4h-3.39v-9.37c0-2.41-1-3.59-3.16-3.59a3.22,3.22,0,0,0-3.48,3.39v9.57h-3.39v-23h3.39Z\"/>\r\n <path class=\"cls-2\" d=\"M351.15,110.52h4.34v2.87h-4.34v7c0,2.24,1.38,3.16,3.28,3.16a9.45,9.45,0,0,0,1.41-.14v2.9a10.36,10.36,0,0,1-2.1.2c-3.71,0-5.92-2.21-5.92-6v-7.13h-2.3v-2.87h2.35v-3.65h3.28Z\"/>\r\n <path class=\"cls-2\" d=\"M380.9,118.39c0-5,3.45-8.25,7-8.25a6.17,6.17,0,0,1,5.43,3.08l.38-2.7h2.81v15.69h-2.81l-.38-2.7a6.17,6.17,0,0,1-5.43,3.08C384.35,126.59,380.9,123.34,380.9,118.39Zm12.36,0c0-3-2-5.11-4.46-5.11s-4.51,2.12-4.51,5.11,2,5.12,4.51,5.12S393.26,121.38,393.26,118.36Z\"/>\r\n <path class=\"cls-2\" d=\"M399.81,118.36c0-5,3.39-8.22,7.07-8.22a5.94,5.94,0,0,1,5.23,2.94v-9.89h3.39v23h-2.81l-.41-2.7a6.11,6.11,0,0,1-5.37,3.08C403.23,126.59,399.81,123.39,399.81,118.36Zm12.36,0c0-3-2-5.11-4.46-5.11s-4.48,2.12-4.48,5.11,1.92,5.12,4.48,5.12S412.17,121.38,412.17,118.36Z\"/>\r\n <path class=\"cls-2\" d=\"M417.88,110.52h3.62l3.94,12h.09l3.94-12H433l-5.72,15.69H423.6Z\"/>\r\n <path class=\"cls-2\" d=\"M435.05,105.54a2,2,0,1,1,2,1.93A1.92,1.92,0,0,1,435.05,105.54Zm.29,5h3.39v15.69h-3.39Z\"/>\r\n <path class=\"cls-2\" d=\"M450.28,123.48a6.72,6.72,0,0,0,4.08-1.24v3.25a9,9,0,0,1-4.45,1.1,8.23,8.23,0,0,1,0-16.45,8.38,8.38,0,0,1,4.45,1.12v3.28a6.75,6.75,0,0,0-4.11-1.29,5.12,5.12,0,0,0,0,10.23Z\"/>\r\n <path class=\"cls-2\" d=\"M471.18,119.4H459.91a5.07,5.07,0,0,0,5.32,4.37,8.23,8.23,0,0,0,5.11-1.87v3a9.54,9.54,0,0,1-5.46,1.64c-5.14,0-8.25-3.34-8.25-8.17,0-5,3.51-8.28,7.71-8.28,3.79,0,6.92,2.73,6.92,7.94A8.91,8.91,0,0,1,471.18,119.4ZM468,117.13c-.08-2.79-1.78-4.17-3.73-4.17a4.56,4.56,0,0,0-4.43,4.17Z\"/>\r\n <path class=\"cls-2\" d=\"M497.53,105.54a2,2,0,1,1,2,1.93A1.93,1.93,0,0,1,497.53,105.54Zm.29,5h3.39v15.69h-3.39Z\"/>\r\n <path class=\"cls-2\" d=\"M526.55,115.78v10.43h-3.39v-9.83c0-2-.78-3.07-2.65-3.07a2.86,2.86,0,0,0-2.9,3v9.89h-3.39v-9.83c0-2-.78-3.07-2.65-3.07a2.91,2.91,0,0,0-2.87,3.19v9.71h-3.39V110.52h2.61l.38,2.27h.08a4.77,4.77,0,0,1,4.26-2.65,4.46,4.46,0,0,1,4.4,2.73,5,5,0,0,1,4.51-2.73C525,110.14,526.55,112.44,526.55,115.78Z\"/>\r\n <path class=\"cls-2\" d=\"M530.59,110.52h2.82l.37,2.7a6.14,6.14,0,0,1,5.37-3.08c3.71,0,7.13,3.22,7.13,8.22s-3.36,8.23-7,8.23a6.13,6.13,0,0,1-5.26-2.94v8.6h-3.39Zm12.27,7.82c0-3-2-5.09-4.48-5.09s-4.46,2.1-4.46,5.11,1.93,5.12,4.43,5.12S542.86,121.38,542.86,118.34Z\"/>\r\n <path class=\"cls-2\" d=\"M548.66,118.39c0-5,3.45-8.25,7-8.25a6.17,6.17,0,0,1,5.43,3.08l.38-2.7h2.81v15.69h-2.81l-.38-2.7a6.17,6.17,0,0,1-5.43,3.08C552.11,126.59,548.66,123.34,548.66,118.39Zm12.36,0c0-3-2-5.11-4.46-5.11s-4.51,2.12-4.51,5.11,2,5.12,4.51,5.12S561,121.38,561,118.36Z\"/>\r\n <path class=\"cls-2\" d=\"M575.92,123.48a6.74,6.74,0,0,0,4.08-1.24v3.25a9,9,0,0,1-4.45,1.1,8.23,8.23,0,0,1,0-16.45,8.38,8.38,0,0,1,4.45,1.12v3.28a6.77,6.77,0,0,0-4.11-1.29,5.12,5.12,0,0,0,0,10.23Z\"/>\r\n <path class=\"cls-2\" d=\"M587.7,110.52H592v2.87H587.7v7c0,2.24,1.38,3.16,3.28,3.16a9.45,9.45,0,0,0,1.41-.14v2.9a10.36,10.36,0,0,1-2.1.2c-3.71,0-5.92-2.21-5.92-6v-7.13h-2.3v-2.87h2.36v-3.65h3.27Z\"/>\r\n <circle class=\"cls-3\" cx=\"483.77\" cy=\"117.24\" r=\"2.98\"/>\r\n </g>\r\n </g>\r\n</svg>\r\n\r\n<div id=\"header-menu\">\r\n <a href=\"\">My portfolio</a>\r\n <a *ngIf=\"userType !== USER_TYPE.Retail\" href=\"\">Claims</a>\r\n <a href=\"\">Documents</a>\r\n <a href=\"\">Tools and calculators</a>\r\n</div>\r\n\r\n<div id=\"header-profile\">\r\n <lib-af-connect-button\r\n title=\"Edit profile\"\r\n size=\"large\"\r\n (clickBtn)=\"gotoProfileDetails()\"\r\n >\r\n </lib-af-connect-button>\r\n <lib-af-connect-profile-dropdown\r\n *ngIf=\"!isLogoHidden\"\r\n [username]=\"username\"\r\n [userType]=\"userType\"\r\n [hasSwitchIndicator]=\"hasSwitchIndicator\"\r\n [isHybrid]=\"isHybrid\"\r\n (callMeBack)=\"callMeBack.emit()\"\r\n (contactAdviser)=\"contactAdviser.emit()\"\r\n (resetPassword)=\"resetPassword.emit()\"\r\n (logout)=\"logout.emit()\"\r\n (switchUserType)=\"switch($event)\"\r\n >\r\n </lib-af-connect-profile-dropdown>\r\n</div>\r\n", styles: [":host{display:flex;justify-content:space-between;align-items:center;height:100px;margin:auto}@media (max-width: 768px){:host{width:auto;height:50px;padding:.5rem 1.25rem}}:host .logo{width:180px;height:40px;cursor:pointer}@media (max-width: 768px){:host .logo{width:132px;height:30px}}#header-menu{display:flex;gap:2rem;align-items:center}#header-menu>a{text-decoration:none;color:var(--secondary-space-color)}@media (max-width: 1024px){#header-menu{display:none}}#header-profile{display:flex;align-items:center;gap:2rem}@media (max-width: 1200px){#header-profile lib-af-connect-button{display:none}}\n"] }]
|
|
803
|
-
}], ctorParameters: function () { return [{ type: i1$2.Router }]; }, propDecorators: { username: [{
|
|
804
|
-
type: Input
|
|
805
|
-
}], isLogoHidden: [{
|
|
806
|
-
type: Input
|
|
807
|
-
}], userType: [{
|
|
808
|
-
type: Input
|
|
809
|
-
}], hasSwitchIndicator: [{
|
|
810
|
-
type: Input
|
|
811
|
-
}], isHybrid: [{
|
|
812
|
-
type: Input
|
|
813
|
-
}], callMeBack: [{
|
|
814
|
-
type: Output
|
|
815
|
-
}], contactAdviser: [{
|
|
816
|
-
type: Output
|
|
817
|
-
}], resetPassword: [{
|
|
818
|
-
type: Output
|
|
819
|
-
}], logout: [{
|
|
820
|
-
type: Output
|
|
821
|
-
}], switchUserType: [{
|
|
822
|
-
type: Output
|
|
823
|
-
}] } });
|
|
824
|
-
|
|
825
|
-
/**
|
|
826
|
-
* Gets the initials of a Name (First Second -> FS)
|
|
827
|
-
*/
|
|
828
|
-
class GetinItialsPipe {
|
|
829
|
-
transform(value) {
|
|
830
|
-
if (!value) {
|
|
831
|
-
return '';
|
|
832
|
-
}
|
|
833
|
-
return value.split(' ').map(word => word.charAt(0)).join('').slice(0, 2);
|
|
834
|
-
}
|
|
835
|
-
}
|
|
836
|
-
GetinItialsPipe.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.1.0", ngImport: i0, type: GetinItialsPipe, deps: [], target: i0.ɵɵFactoryTarget.Pipe });
|
|
837
|
-
GetinItialsPipe.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "15.1.0", ngImport: i0, type: GetinItialsPipe, name: "getInitials" });
|
|
838
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.0", ngImport: i0, type: GetinItialsPipe, decorators: [{
|
|
839
|
-
type: Pipe,
|
|
840
|
-
args: [{ name: 'getInitials' }]
|
|
841
|
-
}] });
|
|
842
|
-
|
|
843
|
-
class FaqItemComponent {
|
|
844
|
-
}
|
|
845
|
-
FaqItemComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.1.0", ngImport: i0, type: FaqItemComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
846
|
-
FaqItemComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.1.0", type: FaqItemComponent, selector: "lib-faq-item", inputs: { faqItem: "faqItem" }, ngImport: i0, template: "<div class=\"item-container\">\r\n <afc-expandable-wrapper>\r\n <div triggerable class=\"title-container\">\r\n <h2 class=\"section-title\">\r\n {{faqItem.title}}\r\n </h2>\r\n <afc-expandable-arrow color=\"#124E57\"></afc-expandable-arrow>\r\n </div>\r\n <afc-expandable-container>\r\n <div class=\"expanded-info\">\r\n {{faqItem.description}}\r\n </div>\r\n </afc-expandable-container>\r\n </afc-expandable-wrapper>\r\n</div>", styles: [".item-container{border:1px solid #124E57;border-radius:5px}.title-container{padding:clamp(1rem,4%,27px);display:flex;justify-content:space-between;align-items:center;cursor:pointer;background:none}@media (max-width: 1024px){.title-container{padding:clamp(1rem,2.2%,27px)}}.expanded-info{padding:0rem clamp(1rem,4%,27px) clamp(1rem,4%,27px) clamp(1rem,4%,27px);color:#707070;font-family:Hero New;font-size:1rem}@media (max-width: 1024px){.expanded-info{padding:0rem clamp(1rem,2.2%,27px) clamp(1rem,2.2%,27px) clamp(1rem,2.2%,27px);font-size:.875rem}}@media (max-width: 768px){.expanded-info{margin:0;font-size:.75rem}}.section-title{margin:0;font-size:1.25rem;font-family:Hero New SemiBold;color:#124e57}@media (max-width: 1024px){.section-title{font-size:1rem}}@media (max-width: 768px){.section-title{margin:0;font-size:.875rem}}\n"], dependencies: [{ kind: "component", type: ExpandableContainerComponent, selector: "afc-expandable-container" }, { kind: "component", type: ExpandableArrowComponent, selector: "afc-expandable-arrow", inputs: ["color", "startPosition", "endPosition"] }, { kind: "component", type: ExpandableWrapperComponent, selector: "afc-expandable-wrapper" }] });
|
|
847
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.0", ngImport: i0, type: FaqItemComponent, decorators: [{
|
|
848
|
-
type: Component,
|
|
849
|
-
args: [{ selector: 'lib-faq-item', template: "<div class=\"item-container\">\r\n <afc-expandable-wrapper>\r\n <div triggerable class=\"title-container\">\r\n <h2 class=\"section-title\">\r\n {{faqItem.title}}\r\n </h2>\r\n <afc-expandable-arrow color=\"#124E57\"></afc-expandable-arrow>\r\n </div>\r\n <afc-expandable-container>\r\n <div class=\"expanded-info\">\r\n {{faqItem.description}}\r\n </div>\r\n </afc-expandable-container>\r\n </afc-expandable-wrapper>\r\n</div>", styles: [".item-container{border:1px solid #124E57;border-radius:5px}.title-container{padding:clamp(1rem,4%,27px);display:flex;justify-content:space-between;align-items:center;cursor:pointer;background:none}@media (max-width: 1024px){.title-container{padding:clamp(1rem,2.2%,27px)}}.expanded-info{padding:0rem clamp(1rem,4%,27px) clamp(1rem,4%,27px) clamp(1rem,4%,27px);color:#707070;font-family:Hero New;font-size:1rem}@media (max-width: 1024px){.expanded-info{padding:0rem clamp(1rem,2.2%,27px) clamp(1rem,2.2%,27px) clamp(1rem,2.2%,27px);font-size:.875rem}}@media (max-width: 768px){.expanded-info{margin:0;font-size:.75rem}}.section-title{margin:0;font-size:1.25rem;font-family:Hero New SemiBold;color:#124e57}@media (max-width: 1024px){.section-title{font-size:1rem}}@media (max-width: 768px){.section-title{margin:0;font-size:.875rem}}\n"] }]
|
|
850
|
-
}], propDecorators: { faqItem: [{
|
|
851
|
-
type: Input
|
|
852
|
-
}] } });
|
|
853
|
-
|
|
854
|
-
class FaqComponent {
|
|
855
|
-
constructor() {
|
|
856
|
-
this.faqItems = [];
|
|
857
|
-
}
|
|
858
|
-
}
|
|
859
|
-
FaqComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.1.0", ngImport: i0, type: FaqComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
860
|
-
FaqComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.1.0", type: FaqComponent, selector: "lib-faq", inputs: { faqItems: "faqItems", fallBackImageSrc: "fallBackImageSrc", imageSrc: "imageSrc" }, ngImport: i0, template: "<div class=\"faq-container\">\r\n <div class=\"item-container\">\r\n <ng-container *ngFor=\"let item of faqItems\">\r\n <lib-faq-item [faqItem]=\"item\"></lib-faq-item>\r\n </ng-container>\r\n </div>\r\n</div>\r\n", styles: [".item-container{display:flex;flex-direction:column;gap:15px}@media (max-width: 1024px){.item-container{gap:10px}}.faq-container{gap:2rem;display:flex;flex-wrap:wrap;justify-content:space-between}\n"], dependencies: [{ kind: "directive", type: i1$1.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { kind: "component", type: FaqItemComponent, selector: "lib-faq-item", inputs: ["faqItem"] }] });
|
|
861
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.0", ngImport: i0, type: FaqComponent, decorators: [{
|
|
862
|
-
type: Component,
|
|
863
|
-
args: [{ selector: 'lib-faq', template: "<div class=\"faq-container\">\r\n <div class=\"item-container\">\r\n <ng-container *ngFor=\"let item of faqItems\">\r\n <lib-faq-item [faqItem]=\"item\"></lib-faq-item>\r\n </ng-container>\r\n </div>\r\n</div>\r\n", styles: [".item-container{display:flex;flex-direction:column;gap:15px}@media (max-width: 1024px){.item-container{gap:10px}}.faq-container{gap:2rem;display:flex;flex-wrap:wrap;justify-content:space-between}\n"] }]
|
|
864
|
-
}], propDecorators: { faqItems: [{
|
|
865
|
-
type: Input
|
|
866
|
-
}], fallBackImageSrc: [{
|
|
867
|
-
type: Input
|
|
868
|
-
}], imageSrc: [{
|
|
869
|
-
type: Input
|
|
870
|
-
}] } });
|
|
871
|
-
|
|
872
|
-
class ImageWithFallbackDirective {
|
|
873
|
-
constructor(el) {
|
|
874
|
-
this.el = el;
|
|
875
|
-
}
|
|
876
|
-
}
|
|
877
|
-
ImageWithFallbackDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.1.0", ngImport: i0, type: ImageWithFallbackDirective, deps: [{ token: i0.ElementRef }], target: i0.ɵɵFactoryTarget.Directive });
|
|
878
|
-
ImageWithFallbackDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "15.1.0", type: ImageWithFallbackDirective, selector: "[imgWithFallback]", ngImport: i0 });
|
|
879
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.0", ngImport: i0, type: ImageWithFallbackDirective, decorators: [{
|
|
880
|
-
type: Directive,
|
|
881
|
-
args: [{ selector: '[imgWithFallback]' }]
|
|
882
|
-
}], ctorParameters: function () { return [{ type: i0.ElementRef }]; } });
|
|
883
|
-
var ImageState;
|
|
884
|
-
(function (ImageState) {
|
|
885
|
-
ImageState["loading"] = "loading";
|
|
886
|
-
ImageState["error"] = "error";
|
|
887
|
-
ImageState["loaded"] = "loaded";
|
|
888
|
-
})(ImageState || (ImageState = {}));
|
|
889
|
-
class ImageWithFallbackComponent {
|
|
890
|
-
constructor() {
|
|
891
|
-
this.state = ImageState.loading;
|
|
892
|
-
}
|
|
893
|
-
get loaded() {
|
|
894
|
-
return this.state === ImageState.loaded;
|
|
895
|
-
}
|
|
896
|
-
get loading() {
|
|
897
|
-
return this.state === ImageState.loading;
|
|
898
|
-
}
|
|
899
|
-
get error() {
|
|
900
|
-
return this.state === ImageState.error;
|
|
901
|
-
}
|
|
902
|
-
ngAfterContentInit() {
|
|
903
|
-
fromEvent(this.image.el.nativeElement, 'load')
|
|
904
|
-
.pipe(first())
|
|
905
|
-
.subscribe(() => this.state = ImageState.loaded);
|
|
906
|
-
fromEvent(this.image.el.nativeElement, 'error')
|
|
907
|
-
.pipe(first())
|
|
908
|
-
.subscribe(() => this.state = ImageState.error);
|
|
909
|
-
}
|
|
910
|
-
}
|
|
911
|
-
ImageWithFallbackComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.1.0", ngImport: i0, type: ImageWithFallbackComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
912
|
-
ImageWithFallbackComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.1.0", type: ImageWithFallbackComponent, selector: "img-with-fallback", queries: [{ propertyName: "image", first: true, predicate: ImageWithFallbackDirective, descendants: true }], ngImport: i0, template: `
|
|
913
|
-
<ng-container *ngIf="loaded">
|
|
914
|
-
<ng-content select="[imgWithFallback]" [style.visibility]="loaded"></ng-content>
|
|
915
|
-
</ng-container>
|
|
916
|
-
<div *ngIf="loading">
|
|
917
|
-
<ng-content select=".loading"></ng-content>
|
|
918
|
-
</div>
|
|
919
|
-
<div *ngIf="error">
|
|
920
|
-
<ng-content select=".error"></ng-content>
|
|
921
|
-
</div>
|
|
922
|
-
`, isInline: true, dependencies: [{ kind: "directive", type: i1$1.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }] });
|
|
923
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.0", ngImport: i0, type: ImageWithFallbackComponent, decorators: [{
|
|
924
|
-
type: Component,
|
|
925
|
-
args: [{ selector: 'img-with-fallback', template: `
|
|
926
|
-
<ng-container *ngIf="loaded">
|
|
927
|
-
<ng-content select="[imgWithFallback]" [style.visibility]="loaded"></ng-content>
|
|
928
|
-
</ng-container>
|
|
929
|
-
<div *ngIf="loading">
|
|
930
|
-
<ng-content select=".loading"></ng-content>
|
|
931
|
-
</div>
|
|
932
|
-
<div *ngIf="error">
|
|
933
|
-
<ng-content select=".error"></ng-content>
|
|
934
|
-
</div>
|
|
935
|
-
` }]
|
|
936
|
-
}], propDecorators: { image: [{
|
|
937
|
-
type: ContentChild,
|
|
938
|
-
args: [ImageWithFallbackDirective]
|
|
939
|
-
}] } });
|
|
940
|
-
|
|
941
|
-
const defaultConfig = [
|
|
942
|
-
{
|
|
943
|
-
imageSrc: 'https://stg.alexforbes.com/content/dam/afbr/common/images-website/products/af-connect/mmm-carousel.jpg',
|
|
944
|
-
title: 'My Money Matters',
|
|
945
|
-
content: 'Get the most out of your money. Explore ways to make your money and savings work for you with our tools.',
|
|
946
|
-
readMore: 'https://mymoneymatters.alexforbes.com/'
|
|
947
|
-
},
|
|
948
|
-
{
|
|
949
|
-
imageSrc: 'https://stg.alexforbes.com/content/dam/afbr/common/images-website/products/af-connect/AF-Rewards-carousel.jpg',
|
|
950
|
-
title: 'My Rewards',
|
|
951
|
-
content: 'Exclusive savings from big brands.',
|
|
952
|
-
readMore: 'https://rewards.alexforbes.com/landingpage'
|
|
953
|
-
},
|
|
954
|
-
{
|
|
955
|
-
imageSrc: 'https://stg.alexforbes.com/content/dam/afbr/common/images-website/products/af-connect/Unit-trusts-carousel.jpg',
|
|
956
|
-
title: 'Unit Trusts',
|
|
957
|
-
content: 'Invest from as little as R500.00 a month to up to R30 000.00 up front toward a personal goal.',
|
|
958
|
-
readMore: 'https://www.alexforbes.com/za/en/individual/investing-for-a-goal.html'
|
|
959
|
-
},
|
|
960
|
-
{
|
|
961
|
-
imageSrc: 'https://stg.alexforbes.com/content/dam/afbr/common/images-website/products/af-connect/AF-Plus-carousel.jpg',
|
|
962
|
-
title: 'AF+',
|
|
963
|
-
content: 'Guided by expert advisers and fulfilled by trusted partners, making it easy to solve life’s financial challenges with confidence.',
|
|
964
|
-
readMore: 'https://plus.alexforbes.com/'
|
|
965
|
-
},
|
|
966
|
-
];
|
|
967
|
-
|
|
968
|
-
class ImageCardComponent {
|
|
969
|
-
constructor() {
|
|
970
|
-
this.title = '';
|
|
971
|
-
this.content = '';
|
|
972
|
-
}
|
|
973
|
-
ngOnInit() { }
|
|
974
|
-
openReadMore() {
|
|
975
|
-
window.open(this.readMoreLink, '_blank');
|
|
976
|
-
}
|
|
977
|
-
}
|
|
978
|
-
ImageCardComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.1.0", ngImport: i0, type: ImageCardComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
979
|
-
ImageCardComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.1.0", type: ImageCardComponent, selector: "af-connect-image-card", inputs: { src: "src", title: "title", content: "content", readMoreLink: "readMoreLink" }, ngImport: i0, template: "<img [src]=\"src\" />\r\n<div class=\"info-container\">\r\n <span class=\"info-container__title\">{{ title }}</span>\r\n <span class=\"info-container__content\">{{ content }}</span>\r\n</div>\r\n<button class=\"button-read-more\" (click)=\"openReadMore()\">Read more</button>\r\n", styles: [":host{width:325px;border-radius:5px;box-shadow:5px 5px 10px #00000029;background:#FAFBFC}@media (max-width: 768px){:host{width:295px;display:flex;position:relative;align-items:center;border:1px solid #124E57;box-shadow:0 -5px 10px #455b6314}}.info-container{display:flex;flex-direction:column;align-items:flex-start;padding:1rem;gap:1rem;height:8rem;border-radius:5px}.info-container__title{font-size:16px;font-family:Hero New Bold;color:#124e57}@media (max-width: 768px){.info-container__title{font-size:14px;padding-top:1rem}}.info-container__content{font-size:12px;line-height:20px;color:#78849e}@media (max-width: 768px){.info-container__content{font-size:11px;line-height:1rem}}@media (max-width: 768px){.info-container{gap:5px;padding:0 0 0 6rem;width:20rem;height:9rem;place-content:start}}img{width:325px;height:182px;border-radius:5px 5px 0 0}@media (max-width: 768px){img{width:120px;height:120px;position:absolute;object-fit:cover;left:-2rem;border-radius:5px}}.button-read-more{background:none;color:inherit;border:none;margin:0;padding:0;cursor:pointer;outline:inherit;font-size:12px;color:#ff521c;font-size:14px;font-family:Hero New Bold;position:relative;bottom:1rem;left:1rem}@media (max-width: 768px){.button-read-more{position:absolute;bottom:1rem;left:6rem;font-size:11px}}\n"] });
|
|
980
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.0", ngImport: i0, type: ImageCardComponent, decorators: [{
|
|
981
|
-
type: Component,
|
|
982
|
-
args: [{ selector: 'af-connect-image-card', template: "<img [src]=\"src\" />\r\n<div class=\"info-container\">\r\n <span class=\"info-container__title\">{{ title }}</span>\r\n <span class=\"info-container__content\">{{ content }}</span>\r\n</div>\r\n<button class=\"button-read-more\" (click)=\"openReadMore()\">Read more</button>\r\n", styles: [":host{width:325px;border-radius:5px;box-shadow:5px 5px 10px #00000029;background:#FAFBFC}@media (max-width: 768px){:host{width:295px;display:flex;position:relative;align-items:center;border:1px solid #124E57;box-shadow:0 -5px 10px #455b6314}}.info-container{display:flex;flex-direction:column;align-items:flex-start;padding:1rem;gap:1rem;height:8rem;border-radius:5px}.info-container__title{font-size:16px;font-family:Hero New Bold;color:#124e57}@media (max-width: 768px){.info-container__title{font-size:14px;padding-top:1rem}}.info-container__content{font-size:12px;line-height:20px;color:#78849e}@media (max-width: 768px){.info-container__content{font-size:11px;line-height:1rem}}@media (max-width: 768px){.info-container{gap:5px;padding:0 0 0 6rem;width:20rem;height:9rem;place-content:start}}img{width:325px;height:182px;border-radius:5px 5px 0 0}@media (max-width: 768px){img{width:120px;height:120px;position:absolute;object-fit:cover;left:-2rem;border-radius:5px}}.button-read-more{background:none;color:inherit;border:none;margin:0;padding:0;cursor:pointer;outline:inherit;font-size:12px;color:#ff521c;font-size:14px;font-family:Hero New Bold;position:relative;bottom:1rem;left:1rem}@media (max-width: 768px){.button-read-more{position:absolute;bottom:1rem;left:6rem;font-size:11px}}\n"] }]
|
|
983
|
-
}], ctorParameters: function () { return []; }, propDecorators: { src: [{
|
|
984
|
-
type: Input
|
|
985
|
-
}], title: [{
|
|
986
|
-
type: Input
|
|
987
|
-
}], content: [{
|
|
988
|
-
type: Input
|
|
989
|
-
}], readMoreLink: [{
|
|
990
|
-
type: Input
|
|
991
|
-
}] } });
|
|
992
|
-
|
|
993
|
-
class AfConnectProductsCarouselComponent {
|
|
994
|
-
constructor(elementRef) {
|
|
995
|
-
this.elementRef = elementRef;
|
|
996
|
-
this.defaultConfig = defaultConfig;
|
|
997
|
-
this.isDown = false;
|
|
998
|
-
}
|
|
999
|
-
ngOnInit() { }
|
|
1000
|
-
ngAfterViewInit() {
|
|
1001
|
-
this.slider = this.elementRef.nativeElement.querySelector('.holder');
|
|
1002
|
-
}
|
|
1003
|
-
mousedown(e) {
|
|
1004
|
-
this.isDown = true;
|
|
1005
|
-
this.slider.classList.add('active');
|
|
1006
|
-
this.startX = e.pageX - this.slider.offsetLeft;
|
|
1007
|
-
this.scrollLeft = this.slider.scrollLeft;
|
|
1008
|
-
}
|
|
1009
|
-
mouseleave() {
|
|
1010
|
-
this.isDown = false;
|
|
1011
|
-
this.slider.classList.remove('active');
|
|
1012
|
-
}
|
|
1013
|
-
mouseup() {
|
|
1014
|
-
this.isDown = false;
|
|
1015
|
-
this.slider.classList.remove('active');
|
|
1016
|
-
}
|
|
1017
|
-
mousemove(e) {
|
|
1018
|
-
if (!this.isDown)
|
|
1019
|
-
return;
|
|
1020
|
-
e.preventDefault();
|
|
1021
|
-
const offset = e.pageX - this.slider.offsetLeft;
|
|
1022
|
-
const walk = (offset - this.startX) * 2;
|
|
1023
|
-
this.slider.scrollLeft = this.scrollLeft - walk;
|
|
1024
|
-
}
|
|
1025
|
-
}
|
|
1026
|
-
AfConnectProductsCarouselComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.1.0", ngImport: i0, type: AfConnectProductsCarouselComponent, deps: [{ token: i0.ElementRef }], target: i0.ɵɵFactoryTarget.Component });
|
|
1027
|
-
AfConnectProductsCarouselComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.1.0", type: AfConnectProductsCarouselComponent, selector: "lib-af-connect-products-carousel", inputs: { config: "config" }, ngImport: i0, template: "<div\r\n class=\"holder\"\r\n (mousedown)=\"mousedown($event)\"\r\n (mouseleave)=\"mouseleave()\"\r\n (mouseup)=\"mouseup()\"\r\n (mousemove)=\"mousemove($event)\"\r\n>\r\n <ng-container *ngFor=\"let card of config || defaultConfig\">\r\n <af-connect-image-card\r\n [src]=\"card.imageSrc\"\r\n [title]=\"card.title\"\r\n [content]=\"card.content\"\r\n [readMoreLink]=\"card.readMore\"\r\n ></af-connect-image-card>\r\n </ng-container>\r\n</div>\r\n", styles: [":host{display:flex}@media (max-width: 768px){:host{padding:0}}.holder{display:flex;padding:1rem 1.75rem;flex-direction:row;gap:1.5rem;flex-wrap:nowrap;overflow-x:scroll}.holder.active{cursor:grabbing;cursor:-webkit-grabbing}@media (max-width: 768px){.holder{gap:3rem;padding:0 1.25rem 0 3.25rem}}.holder::-webkit-scrollbar{display:none}\n"], dependencies: [{ kind: "directive", type: i1$1.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { kind: "component", type: ImageCardComponent, selector: "af-connect-image-card", inputs: ["src", "title", "content", "readMoreLink"] }] });
|
|
1028
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.0", ngImport: i0, type: AfConnectProductsCarouselComponent, decorators: [{
|
|
1029
|
-
type: Component,
|
|
1030
|
-
args: [{ selector: 'lib-af-connect-products-carousel', template: "<div\r\n class=\"holder\"\r\n (mousedown)=\"mousedown($event)\"\r\n (mouseleave)=\"mouseleave()\"\r\n (mouseup)=\"mouseup()\"\r\n (mousemove)=\"mousemove($event)\"\r\n>\r\n <ng-container *ngFor=\"let card of config || defaultConfig\">\r\n <af-connect-image-card\r\n [src]=\"card.imageSrc\"\r\n [title]=\"card.title\"\r\n [content]=\"card.content\"\r\n [readMoreLink]=\"card.readMore\"\r\n ></af-connect-image-card>\r\n </ng-container>\r\n</div>\r\n", styles: [":host{display:flex}@media (max-width: 768px){:host{padding:0}}.holder{display:flex;padding:1rem 1.75rem;flex-direction:row;gap:1.5rem;flex-wrap:nowrap;overflow-x:scroll}.holder.active{cursor:grabbing;cursor:-webkit-grabbing}@media (max-width: 768px){.holder{gap:3rem;padding:0 1.25rem 0 3.25rem}}.holder::-webkit-scrollbar{display:none}\n"] }]
|
|
1031
|
-
}], ctorParameters: function () { return [{ type: i0.ElementRef }]; }, propDecorators: { config: [{
|
|
1032
|
-
type: Input
|
|
1033
|
-
}] } });
|
|
1034
|
-
|
|
1035
|
-
class AfConnectContentComponent {
|
|
1036
|
-
constructor() { }
|
|
1037
|
-
ngOnInit() {
|
|
1038
|
-
}
|
|
1039
|
-
}
|
|
1040
|
-
AfConnectContentComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.1.0", ngImport: i0, type: AfConnectContentComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
1041
|
-
AfConnectContentComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.1.0", type: AfConnectContentComponent, selector: "lib-af-connect-content", ngImport: i0, template: "<ng-content></ng-content>\r\n", styles: [".base-empty-content,:host(.profile-info-container),:host(.faq-error-container),:host(.documents-error-container),:host(.investments-error-container),:host(.profile-error-container){background:var(--main-white-color);min-height:15rem;display:flex;align-items:center}:host{position:relative;height:100%;background:var(--main-white-color);padding:1rem 1.75rem;display:flex;flex-direction:row;gap:1rem;flex-wrap:wrap;box-shadow:0 23px 88px #b0b7c324;border-bottom-left-radius:5px;border-bottom-right-radius:5px}@media (max-width: 1024px){:host{padding:1rem 1.25rem;gap:.75rem}}@media (max-width: 768px){:host{padding:1rem;box-shadow:none}}@media (max-width: 1024px){:host(.beneficiary-container){padding:1rem;gap:.75rem}}@media (max-width: 1024px){:host(.external-investments-container){padding:1rem;gap:.875rem}}:host(.profile-container){padding:12px 25px 20px;gap:2.5rem;height:auto}@media (max-width: 768px){:host(.profile-container){border-radius:5px;padding:20px 18px;border:1px solid var(--primary-light-teal-color)}}.base-spinner-container,:host(.spinner-container-fund-details),:host(.spinner-container-fund),:host(.spinner-container){background:var(--main-white-color);display:flex;justify-content:center;align-items:center}:host(.spinner-container){min-height:15rem}:host(.spinner-container-fund){min-height:32rem}@media (max-width: 768px){:host(.spinner-container-fund){min-height:27rem}}:host(.spinner-container-fund-details){min-height:20rem;margin-top:2.5rem}:host(.documents-container){padding:.75rem 1rem;overflow:scroll}:host(.documents-container)::-webkit-scrollbar{display:none}@media (max-width: 768px){:host(.documents-container){padding-top:0}}@media (max-width: 1024px){:host(.profile-error-container){justify-content:center}}@media (max-width: 1024px){:host(.investments-error-container){justify-content:center}}:host(.documents-error-container){justify-content:center}@media (max-width: 1024px){:host(.faq-error-container){justify-content:center}}:host(.carousel-container){display:block;padding:0 0 .5rem}@media (max-width: 768px){:host(.carousel-container){padding:1rem 0}}:host(.profile-info-container){height:auto;padding:.875rem 1.75rem 1.75rem}@media (max-width: 768px){:host(.profile-info-container){padding:1.5rem 1rem 1.25rem}}:host(.fund-overview){padding:1rem 1.4rem;display:block}@media (max-width: 768px){:host(.fund-overview){padding:1rem;box-shadow:0 23px 88px #00000029}}:host(.chart-container){overflow:hidden;padding:0}:host(.transaction-container){background-color:var(--secondary-grey-color);height:auto}:host(.grey-color){background-color:var(--secondary-grey-color)}@media (max-width: 768px){:host(.fund-overview-tabs){background-color:var(--secondary-grey-color);box-shadow:0 23px 88px #00000029}}:host(.fund-portfolio-container-mobile){gap:1rem}:host(.claim-details-tabs){width:100%;padding:1rem 2.5rem 2rem}:host(.no-shadow){box-shadow:none}:host(.align-center){align-self:center}:host(.max-width){width:100%}@media (max-width: 768px){:host(.max-width){width:auto}}:host(.certificates-filter){padding:1rem}@media (max-width: 768px){:host(.certificates-filter){padding:.5rem 0 0}}:host(.statements-container){padding:12px 1rem 1.25rem;justify-content:space-between;flex-direction:column;gap:12px}@media (max-width: 768px){:host(.statements-container){padding:.75rem 1rem}}:host(.latest-statements-container){padding:0rem}\n"] });
|
|
1042
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.0", ngImport: i0, type: AfConnectContentComponent, decorators: [{
|
|
1043
|
-
type: Component,
|
|
1044
|
-
args: [{ selector: 'lib-af-connect-content', template: "<ng-content></ng-content>\r\n", styles: [".base-empty-content,:host(.profile-info-container),:host(.faq-error-container),:host(.documents-error-container),:host(.investments-error-container),:host(.profile-error-container){background:var(--main-white-color);min-height:15rem;display:flex;align-items:center}:host{position:relative;height:100%;background:var(--main-white-color);padding:1rem 1.75rem;display:flex;flex-direction:row;gap:1rem;flex-wrap:wrap;box-shadow:0 23px 88px #b0b7c324;border-bottom-left-radius:5px;border-bottom-right-radius:5px}@media (max-width: 1024px){:host{padding:1rem 1.25rem;gap:.75rem}}@media (max-width: 768px){:host{padding:1rem;box-shadow:none}}@media (max-width: 1024px){:host(.beneficiary-container){padding:1rem;gap:.75rem}}@media (max-width: 1024px){:host(.external-investments-container){padding:1rem;gap:.875rem}}:host(.profile-container){padding:12px 25px 20px;gap:2.5rem;height:auto}@media (max-width: 768px){:host(.profile-container){border-radius:5px;padding:20px 18px;border:1px solid var(--primary-light-teal-color)}}.base-spinner-container,:host(.spinner-container-fund-details),:host(.spinner-container-fund),:host(.spinner-container){background:var(--main-white-color);display:flex;justify-content:center;align-items:center}:host(.spinner-container){min-height:15rem}:host(.spinner-container-fund){min-height:32rem}@media (max-width: 768px){:host(.spinner-container-fund){min-height:27rem}}:host(.spinner-container-fund-details){min-height:20rem;margin-top:2.5rem}:host(.documents-container){padding:.75rem 1rem;overflow:scroll}:host(.documents-container)::-webkit-scrollbar{display:none}@media (max-width: 768px){:host(.documents-container){padding-top:0}}@media (max-width: 1024px){:host(.profile-error-container){justify-content:center}}@media (max-width: 1024px){:host(.investments-error-container){justify-content:center}}:host(.documents-error-container){justify-content:center}@media (max-width: 1024px){:host(.faq-error-container){justify-content:center}}:host(.carousel-container){display:block;padding:0 0 .5rem}@media (max-width: 768px){:host(.carousel-container){padding:1rem 0}}:host(.profile-info-container){height:auto;padding:.875rem 1.75rem 1.75rem}@media (max-width: 768px){:host(.profile-info-container){padding:1.5rem 1rem 1.25rem}}:host(.fund-overview){padding:1rem 1.4rem;display:block}@media (max-width: 768px){:host(.fund-overview){padding:1rem;box-shadow:0 23px 88px #00000029}}:host(.chart-container){overflow:hidden;padding:0}:host(.transaction-container){background-color:var(--secondary-grey-color);height:auto}:host(.grey-color){background-color:var(--secondary-grey-color)}@media (max-width: 768px){:host(.fund-overview-tabs){background-color:var(--secondary-grey-color);box-shadow:0 23px 88px #00000029}}:host(.fund-portfolio-container-mobile){gap:1rem}:host(.claim-details-tabs){width:100%;padding:1rem 2.5rem 2rem}:host(.no-shadow){box-shadow:none}:host(.align-center){align-self:center}:host(.max-width){width:100%}@media (max-width: 768px){:host(.max-width){width:auto}}:host(.certificates-filter){padding:1rem}@media (max-width: 768px){:host(.certificates-filter){padding:.5rem 0 0}}:host(.statements-container){padding:12px 1rem 1.25rem;justify-content:space-between;flex-direction:column;gap:12px}@media (max-width: 768px){:host(.statements-container){padding:.75rem 1rem}}:host(.latest-statements-container){padding:0rem}\n"] }]
|
|
1045
|
-
}], ctorParameters: function () { return []; } });
|
|
1046
|
-
|
|
1047
|
-
class AfConnectDatepickerComponent {
|
|
1048
|
-
}
|
|
1049
|
-
AfConnectDatepickerComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.1.0", ngImport: i0, type: AfConnectDatepickerComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
1050
|
-
AfConnectDatepickerComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.1.0", type: AfConnectDatepickerComponent, selector: "lib-af-connect-datepicker", ngImport: i0, template: "<p>af-connect-datepicker works!</p>\r\n", styles: [""] });
|
|
1051
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.0", ngImport: i0, type: AfConnectDatepickerComponent, decorators: [{
|
|
1052
|
-
type: Component,
|
|
1053
|
-
args: [{ selector: 'lib-af-connect-datepicker', template: "<p>af-connect-datepicker works!</p>\r\n" }]
|
|
1054
|
-
}] });
|
|
1055
|
-
|
|
1056
|
-
function numberWithCommas(number) {
|
|
1057
|
-
return number.toString().replace(/\B(?=(\d{3})+(?!\d))/g, ",");
|
|
1058
|
-
}
|
|
1059
|
-
|
|
1060
|
-
class AfConnectFormValidationErrorsComponent {
|
|
1061
|
-
constructor() {
|
|
1062
|
-
this.fieldText = 'Field';
|
|
1063
|
-
this.convertToNumberWithCommas = numberWithCommas;
|
|
1064
|
-
}
|
|
1065
|
-
}
|
|
1066
|
-
AfConnectFormValidationErrorsComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.1.0", ngImport: i0, type: AfConnectFormValidationErrorsComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
1067
|
-
AfConnectFormValidationErrorsComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.1.0", type: AfConnectFormValidationErrorsComponent, selector: "lib-af-connect-form-validation-errors", inputs: { fieldText: "fieldText", control: "control" }, ngImport: i0, template: "<div class=\"container\" *ngIf=\"control && control.errors && control.dirty && control.touched\">\r\n <div class=\"container__error\" *ngIf=\"control.errors['required']\">{{ fieldText }} is required</div>\r\n <div class=\"container__error\" *ngIf=\"control.errors['emptyValue']\">Please enter a {{ fieldText }}</div>\r\n <div class=\"container__error\" *ngIf=\"control.errors['minlength']\">\r\n {{ fieldText }} must have be least {{ control.errors['minlength'].requiredLength }} symbols long\r\n </div>\r\n <div class=\"container__error\" *ngIf=\"control.errors['maxlength']\">\r\n {{ fieldText }} must be no more than {{ control.errors['maxlength'].requiredLength }} symbols\r\n </div>\r\n <div class=\"container__error\" *ngIf=\"control.errors['existingProductName']\">\r\n Please enter a unique Product Name. Example: Alexforbes Life Cover\r\n </div>\r\n <div class=\"container__error\" *ngIf=\"control.errors['email']\">Invalid Email address</div>\r\n <div class=\"container__error\" *ngIf=\"control.errors['NAN']\">Please enter a valid number</div>\r\n <div class=\"container__error\" *ngIf=\"control.errors['positiveNumber']\">\r\n Please enter a positive number. Example: R100 000\r\n </div>\r\n <div class=\"container__error\" *ngIf=\"control.errors['integerNumber']\">\r\n Please enter a number without any digits after the decimal point\r\n </div>\r\n <div class=\"container__error\" *ngIf=\"control.errors['max']\">\r\n Please enter a number less than or equal to {{ convertToNumberWithCommas(control.errors['max'].max) }}\r\n </div>\r\n <div class=\"container__error\" *ngIf=\"control.errors['length']\">\r\n {{ fieldText }} must be {{ control.errors['length'] }} digits long\r\n </div>\r\n <div class=\"container__error\" *ngIf=\"control.errors['alphabetic']\">\r\n {{ fieldText }} cannot contain numbers or special characters\r\n </div>\r\n <div class=\"container__error\" *ngIf=\"control.errors['selectOptions']\">\r\n Please select a valid {{ fieldText }} from the dropdown list\r\n </div>\r\n </div>\r\n \r\n <div class=\"container\" *ngIf=\"control && control.errors && control.dirty\">\r\n <div class=\"container__error\" *ngIf=\"control.errors['startDateBeforeEndDate']\">\r\n You have selected an incorrect date\r\n </div>\r\n </div>\r\n ", styles: [".container__error{color:var(--primary-orange-mobile-color);font-size:12px}\n"], dependencies: [{ kind: "directive", type: i1$1.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }] });
|
|
1068
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.0", ngImport: i0, type: AfConnectFormValidationErrorsComponent, decorators: [{
|
|
1069
|
-
type: Component,
|
|
1070
|
-
args: [{ selector: 'lib-af-connect-form-validation-errors', template: "<div class=\"container\" *ngIf=\"control && control.errors && control.dirty && control.touched\">\r\n <div class=\"container__error\" *ngIf=\"control.errors['required']\">{{ fieldText }} is required</div>\r\n <div class=\"container__error\" *ngIf=\"control.errors['emptyValue']\">Please enter a {{ fieldText }}</div>\r\n <div class=\"container__error\" *ngIf=\"control.errors['minlength']\">\r\n {{ fieldText }} must have be least {{ control.errors['minlength'].requiredLength }} symbols long\r\n </div>\r\n <div class=\"container__error\" *ngIf=\"control.errors['maxlength']\">\r\n {{ fieldText }} must be no more than {{ control.errors['maxlength'].requiredLength }} symbols\r\n </div>\r\n <div class=\"container__error\" *ngIf=\"control.errors['existingProductName']\">\r\n Please enter a unique Product Name. Example: Alexforbes Life Cover\r\n </div>\r\n <div class=\"container__error\" *ngIf=\"control.errors['email']\">Invalid Email address</div>\r\n <div class=\"container__error\" *ngIf=\"control.errors['NAN']\">Please enter a valid number</div>\r\n <div class=\"container__error\" *ngIf=\"control.errors['positiveNumber']\">\r\n Please enter a positive number. Example: R100 000\r\n </div>\r\n <div class=\"container__error\" *ngIf=\"control.errors['integerNumber']\">\r\n Please enter a number without any digits after the decimal point\r\n </div>\r\n <div class=\"container__error\" *ngIf=\"control.errors['max']\">\r\n Please enter a number less than or equal to {{ convertToNumberWithCommas(control.errors['max'].max) }}\r\n </div>\r\n <div class=\"container__error\" *ngIf=\"control.errors['length']\">\r\n {{ fieldText }} must be {{ control.errors['length'] }} digits long\r\n </div>\r\n <div class=\"container__error\" *ngIf=\"control.errors['alphabetic']\">\r\n {{ fieldText }} cannot contain numbers or special characters\r\n </div>\r\n <div class=\"container__error\" *ngIf=\"control.errors['selectOptions']\">\r\n Please select a valid {{ fieldText }} from the dropdown list\r\n </div>\r\n </div>\r\n \r\n <div class=\"container\" *ngIf=\"control && control.errors && control.dirty\">\r\n <div class=\"container__error\" *ngIf=\"control.errors['startDateBeforeEndDate']\">\r\n You have selected an incorrect date\r\n </div>\r\n </div>\r\n ", styles: [".container__error{color:var(--primary-orange-mobile-color);font-size:12px}\n"] }]
|
|
1071
|
-
}], propDecorators: { fieldText: [{
|
|
1072
|
-
type: Input
|
|
1073
|
-
}], control: [{
|
|
1074
|
-
type: Input
|
|
1075
|
-
}] } });
|
|
1076
|
-
|
|
1077
|
-
class AfConnectInputComponent {
|
|
1078
|
-
constructor(injector, cdr) {
|
|
1079
|
-
this.injector = injector;
|
|
1080
|
-
this.cdr = cdr;
|
|
1081
|
-
this.placeholder = '';
|
|
1082
|
-
this.isDisabled = true;
|
|
1083
|
-
this.withAsterisk = false;
|
|
1084
|
-
this.variant = 'editable';
|
|
1085
|
-
this.type = 'text';
|
|
1086
|
-
this.maxLength = 50;
|
|
1087
|
-
this.noFormEnabledBorder = false;
|
|
1088
|
-
this.onChange = new EventEmitter();
|
|
1089
|
-
this.propagateChange = (_) => { };
|
|
1090
|
-
this.propagateTouch = (_) => { };
|
|
1091
|
-
}
|
|
1092
|
-
handleInputChange($event) {
|
|
1093
|
-
this.onChange.emit($event);
|
|
1094
|
-
}
|
|
1095
|
-
get value() {
|
|
1096
|
-
return this._value;
|
|
1097
|
-
}
|
|
1098
|
-
set value(value) {
|
|
1099
|
-
this._value = value;
|
|
1100
|
-
this.propagateChange(value);
|
|
1101
|
-
}
|
|
1102
|
-
ngOnInit() {
|
|
1103
|
-
if (this.variant === 'editable') {
|
|
1104
|
-
this.isDisabled = false;
|
|
1105
|
-
}
|
|
1106
|
-
}
|
|
1107
|
-
ngAfterViewInit() {
|
|
1108
|
-
const ngControl = this.injector.get(NgControl);
|
|
1109
|
-
if (ngControl) {
|
|
1110
|
-
this.control = ngControl.control;
|
|
1111
|
-
this.cdr.detectChanges();
|
|
1112
|
-
}
|
|
1113
|
-
}
|
|
1114
|
-
writeValue(obj) {
|
|
1115
|
-
this.value = obj;
|
|
1116
|
-
}
|
|
1117
|
-
registerOnChange(fn) {
|
|
1118
|
-
this.propagateChange = fn;
|
|
1119
|
-
}
|
|
1120
|
-
registerOnTouched(fn) {
|
|
1121
|
-
this.propagateTouch = fn;
|
|
1122
|
-
}
|
|
1123
|
-
setDisabledState(isDisabled) {
|
|
1124
|
-
this.isDisabled = isDisabled;
|
|
1125
|
-
}
|
|
1126
|
-
onBlur() {
|
|
1127
|
-
this.propagateTouch();
|
|
1128
|
-
}
|
|
1129
|
-
}
|
|
1130
|
-
AfConnectInputComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.1.0", ngImport: i0, type: AfConnectInputComponent, deps: [{ token: i0.Injector }, { token: i0.ChangeDetectorRef }], target: i0.ɵɵFactoryTarget.Component });
|
|
1131
|
-
AfConnectInputComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.1.0", type: AfConnectInputComponent, selector: "lib-af-connect-input", inputs: { label: "label", errorReferenceText: "errorReferenceText", placeholder: "placeholder", isDisabled: "isDisabled", withAsterisk: "withAsterisk", variant: "variant", type: "type", maxLength: "maxLength", id: "id", step: "step", noFormEnabledBorder: "noFormEnabledBorder", value: "value" }, outputs: { onChange: "onChange" }, ngImport: i0, template: "<div class=\"field-container\">\r\n <div class=\"label-container\">\r\n <label class=\"label\" [for]=\"id\"> {{ label }}<span *ngIf=\"withAsterisk\" class=\"asterisk\">*</span></label>\r\n <lib-af-connect-form-validation-errors [control]=\"control\" [fieldText]=\"errorReferenceText || label\"></lib-af-connect-form-validation-errors>\r\n </div>\r\n <input\r\n [type]=\"type\"\r\n [step]=\"step\"\r\n size=\"10\"\r\n class=\"field-container-input\"\r\n [ngClass]=\"[\r\n variant,\r\n isDisabled ? 'disabled' : 'not-disabled',\r\n noFormEnabledBorder ? 'no-form-border' : '',\r\n control && control.errors && control.dirty && control.touched ? 'hasError' : '',\r\n control && variant === 'read-only' && control.disabled ? 'non-editable' : ''\r\n ]\"\r\n [maxLength]=\"maxLength\"\r\n [(ngModel)]=\"value\"\r\n [placeholder]=\"placeholder\"\r\n [disabled]=\"isDisabled || variant === 'read-only'\"\r\n (blur)=\"onBlur()\"\r\n (keyup)=\"handleInputChange($event)\"\r\n />\r\n <div *ngIf=\"control && control.errors && control.dirty && control.touched\" class=\"error-container\">\r\n <img src=\"../../../assets/icons/warning.svg\" />\r\n </div>\r\n </div>\r\n ", styles: [":host{font-family:var(--standard-font-family-hero-new);font-size:.875rem;color:var(--secondary-space-color);width:100%;position:relative}:host input:focus{outline:transparent}.field-container{display:flex;flex-direction:column}.field-container .label .asterisk{color:var(--primary-orange-mobile-color)}.field-container .label-container{display:flex;flex-wrap:wrap;padding-bottom:.5rem;gap:.5rem;justify-content:space-between}.field-container .field-container-input{font-family:var(--standard-font-family-hero-new);font-size:.875rem;padding:11px 11px 11px 1.25rem;border:1px solid transparent;outline:1px solid transparent;transition-property:outline-color,border-color,background-color;transition-duration:.2s}.field-container .field-container-input:focus{outline:1px solid var(--primary-dark-teal-color)}.field-container .field-container-input.hasError{padding-right:3rem;border:1px solid var(--primary-connected-orange-color)!important;background-color:var(--neutral-inline-error-color)}.field-container .field-container-input.hasError:focus{outline-color:var(--primary-connected-orange-color)}.field-container .field-container-input.editable.not-disabled.no-form-border{border-color:transparent}@media (max-width: 768px){.field-container .field-container-input{border-radius:var(--input-border-radius);box-shadow:var(--input-box-shadow)}}.field-container .read-only{background-color:var(--neutral-button-color);color:var(--warm-grey-color)}.field-container .non-editable{background-color:var(--main-white-color);color:var(--warm-grey-color)}.field-container .editable{background-color:var(--main-white-color)}.field-container .editable.disabled{color:var(--secondary-space-color)}.field-container .editable.not-disabled{border-color:var(--primary-dark-teal-color)}.error-container{position:relative;display:flex;min-height:100%;justify-content:center;align-items:center}img{position:absolute;cursor:pointer;right:25px;top:-31px;width:18px;height:18px}input::-webkit-outer-spin-button,input::-webkit-inner-spin-button{-webkit-appearance:none;margin:0}input[type=number]{-moz-appearance:textfield}\n"], dependencies: [{ kind: "directive", type: i1$1.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { kind: "directive", type: i1$1.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "directive", type: i2.DefaultValueAccessor, selector: "input:not([type=checkbox])[formControlName],textarea[formControlName],input:not([type=checkbox])[formControl],textarea[formControl],input:not([type=checkbox])[ngModel],textarea[ngModel],[ngDefaultControl]" }, { kind: "directive", type: i2.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { kind: "directive", type: i2.NgModel, selector: "[ngModel]:not([formControlName]):not([formControl])", inputs: ["name", "disabled", "ngModel", "ngModelOptions"], outputs: ["ngModelChange"], exportAs: ["ngModel"] }, { kind: "component", type: AfConnectFormValidationErrorsComponent, selector: "lib-af-connect-form-validation-errors", inputs: ["fieldText", "control"] }] });
|
|
1132
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.0", ngImport: i0, type: AfConnectInputComponent, decorators: [{
|
|
1133
|
-
type: Component,
|
|
1134
|
-
args: [{ selector: 'lib-af-connect-input', template: "<div class=\"field-container\">\r\n <div class=\"label-container\">\r\n <label class=\"label\" [for]=\"id\"> {{ label }}<span *ngIf=\"withAsterisk\" class=\"asterisk\">*</span></label>\r\n <lib-af-connect-form-validation-errors [control]=\"control\" [fieldText]=\"errorReferenceText || label\"></lib-af-connect-form-validation-errors>\r\n </div>\r\n <input\r\n [type]=\"type\"\r\n [step]=\"step\"\r\n size=\"10\"\r\n class=\"field-container-input\"\r\n [ngClass]=\"[\r\n variant,\r\n isDisabled ? 'disabled' : 'not-disabled',\r\n noFormEnabledBorder ? 'no-form-border' : '',\r\n control && control.errors && control.dirty && control.touched ? 'hasError' : '',\r\n control && variant === 'read-only' && control.disabled ? 'non-editable' : ''\r\n ]\"\r\n [maxLength]=\"maxLength\"\r\n [(ngModel)]=\"value\"\r\n [placeholder]=\"placeholder\"\r\n [disabled]=\"isDisabled || variant === 'read-only'\"\r\n (blur)=\"onBlur()\"\r\n (keyup)=\"handleInputChange($event)\"\r\n />\r\n <div *ngIf=\"control && control.errors && control.dirty && control.touched\" class=\"error-container\">\r\n <img src=\"../../../assets/icons/warning.svg\" />\r\n </div>\r\n </div>\r\n ", styles: [":host{font-family:var(--standard-font-family-hero-new);font-size:.875rem;color:var(--secondary-space-color);width:100%;position:relative}:host input:focus{outline:transparent}.field-container{display:flex;flex-direction:column}.field-container .label .asterisk{color:var(--primary-orange-mobile-color)}.field-container .label-container{display:flex;flex-wrap:wrap;padding-bottom:.5rem;gap:.5rem;justify-content:space-between}.field-container .field-container-input{font-family:var(--standard-font-family-hero-new);font-size:.875rem;padding:11px 11px 11px 1.25rem;border:1px solid transparent;outline:1px solid transparent;transition-property:outline-color,border-color,background-color;transition-duration:.2s}.field-container .field-container-input:focus{outline:1px solid var(--primary-dark-teal-color)}.field-container .field-container-input.hasError{padding-right:3rem;border:1px solid var(--primary-connected-orange-color)!important;background-color:var(--neutral-inline-error-color)}.field-container .field-container-input.hasError:focus{outline-color:var(--primary-connected-orange-color)}.field-container .field-container-input.editable.not-disabled.no-form-border{border-color:transparent}@media (max-width: 768px){.field-container .field-container-input{border-radius:var(--input-border-radius);box-shadow:var(--input-box-shadow)}}.field-container .read-only{background-color:var(--neutral-button-color);color:var(--warm-grey-color)}.field-container .non-editable{background-color:var(--main-white-color);color:var(--warm-grey-color)}.field-container .editable{background-color:var(--main-white-color)}.field-container .editable.disabled{color:var(--secondary-space-color)}.field-container .editable.not-disabled{border-color:var(--primary-dark-teal-color)}.error-container{position:relative;display:flex;min-height:100%;justify-content:center;align-items:center}img{position:absolute;cursor:pointer;right:25px;top:-31px;width:18px;height:18px}input::-webkit-outer-spin-button,input::-webkit-inner-spin-button{-webkit-appearance:none;margin:0}input[type=number]{-moz-appearance:textfield}\n"] }]
|
|
1135
|
-
}], ctorParameters: function () { return [{ type: i0.Injector }, { type: i0.ChangeDetectorRef }]; }, propDecorators: { label: [{
|
|
1136
|
-
type: Input
|
|
1137
|
-
}], errorReferenceText: [{
|
|
1138
|
-
type: Input
|
|
1139
|
-
}], placeholder: [{
|
|
1140
|
-
type: Input
|
|
1141
|
-
}], isDisabled: [{
|
|
1142
|
-
type: Input
|
|
1143
|
-
}], withAsterisk: [{
|
|
1144
|
-
type: Input
|
|
1145
|
-
}], variant: [{
|
|
1146
|
-
type: Input
|
|
1147
|
-
}], type: [{
|
|
1148
|
-
type: Input
|
|
1149
|
-
}], maxLength: [{
|
|
1150
|
-
type: Input
|
|
1151
|
-
}], id: [{
|
|
1152
|
-
type: Input
|
|
1153
|
-
}], step: [{
|
|
1154
|
-
type: Input
|
|
1155
|
-
}], noFormEnabledBorder: [{
|
|
1156
|
-
type: Input
|
|
1157
|
-
}], onChange: [{
|
|
1158
|
-
type: Output
|
|
1159
|
-
}], value: [{
|
|
1160
|
-
type: Input
|
|
1161
|
-
}] } });
|
|
1162
|
-
|
|
1163
|
-
class AfConnectFormGroupComponent {
|
|
1164
|
-
}
|
|
1165
|
-
AfConnectFormGroupComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.1.0", ngImport: i0, type: AfConnectFormGroupComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
1166
|
-
AfConnectFormGroupComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.1.0", type: AfConnectFormGroupComponent, selector: "lib-af-connect-form-group", ngImport: i0, template: "<ng-content></ng-content>\r\n", styles: [":host{display:grid;grid-template-columns:repeat(3,1fr);column-gap:2rem;align-items:end}@media (max-width: 1024px){:host{grid-template-columns:repeat(2,1fr);column-gap:1.5rem;row-gap:1.5rem}}@media (max-width: 480px){:host{grid-template-columns:auto}}\n"] });
|
|
1167
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.0", ngImport: i0, type: AfConnectFormGroupComponent, decorators: [{
|
|
1168
|
-
type: Component,
|
|
1169
|
-
args: [{ selector: 'lib-af-connect-form-group', template: "<ng-content></ng-content>\r\n", styles: [":host{display:grid;grid-template-columns:repeat(3,1fr);column-gap:2rem;align-items:end}@media (max-width: 1024px){:host{grid-template-columns:repeat(2,1fr);column-gap:1.5rem;row-gap:1.5rem}}@media (max-width: 480px){:host{grid-template-columns:auto}}\n"] }]
|
|
1170
|
-
}] });
|
|
1171
|
-
|
|
1172
|
-
class AfConnectCardComponent {
|
|
1173
|
-
constructor() {
|
|
1174
|
-
this.variant = 'normal';
|
|
1175
|
-
}
|
|
1176
|
-
ngOnInit() { }
|
|
1177
|
-
}
|
|
1178
|
-
AfConnectCardComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.1.0", ngImport: i0, type: AfConnectCardComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
1179
|
-
AfConnectCardComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.1.0", type: AfConnectCardComponent, selector: "lib-af-connect-card", inputs: { variant: "variant" }, ngImport: i0, template: "<div [class]=\"['card', variant]\">\r\n <ng-content></ng-content>\r\n </div>\r\n ", styles: [":host{display:flex;flex-direction:column;width:49%}@media (max-width: 1024px){:host{min-width:100%}}:host(.full-width){width:100%}:host(.document-card){-webkit-user-select:none;user-select:none}@media (max-width: 1024px){:host(.beneficiary-mobile-card) .small{border:1px solid var(--primary-dark-teal-color);max-height:-moz-fit-content;max-height:fit-content}}:host(.restricted-fund-card,.restricted-fund-mobile-card) .card{gap:1rem}.base-card,.card.small,.card.normal,.card.large{flex:1 0 auto;display:flex;flex-direction:column;border-radius:12px;background:var(--main-white-color);border:1px solid var(--primary-dark-teal-color)}.card.large{padding:2rem 2.5rem 2.5rem}@media (max-width: 768px){.card.large{padding:1rem 1rem 1.5rem;border-radius:5px;border-color:var(--warm-grey-color)}}.card.normal{border-radius:12px;padding:23px 18px 13px}@media (max-width: 1024px){.card.normal{padding:12px 9px 6px}}.card.small{border-radius:5px;padding:18px 15px}@media (max-width: 1024px){.card.small{padding:.75rem 1rem}}:host(.statement-card){width:auto;cursor:pointer}:host(.statement-card) .card.small{padding:12px 14px;border-radius:3px}@media (max-width: 1024px){:host(.expandable-card) .card.small{padding:.75rem .5rem .75rem .75rem}}\n"] });
|
|
1180
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.0", ngImport: i0, type: AfConnectCardComponent, decorators: [{
|
|
1181
|
-
type: Component,
|
|
1182
|
-
args: [{ selector: 'lib-af-connect-card', template: "<div [class]=\"['card', variant]\">\r\n <ng-content></ng-content>\r\n </div>\r\n ", styles: [":host{display:flex;flex-direction:column;width:49%}@media (max-width: 1024px){:host{min-width:100%}}:host(.full-width){width:100%}:host(.document-card){-webkit-user-select:none;user-select:none}@media (max-width: 1024px){:host(.beneficiary-mobile-card) .small{border:1px solid var(--primary-dark-teal-color);max-height:-moz-fit-content;max-height:fit-content}}:host(.restricted-fund-card,.restricted-fund-mobile-card) .card{gap:1rem}.base-card,.card.small,.card.normal,.card.large{flex:1 0 auto;display:flex;flex-direction:column;border-radius:12px;background:var(--main-white-color);border:1px solid var(--primary-dark-teal-color)}.card.large{padding:2rem 2.5rem 2.5rem}@media (max-width: 768px){.card.large{padding:1rem 1rem 1.5rem;border-radius:5px;border-color:var(--warm-grey-color)}}.card.normal{border-radius:12px;padding:23px 18px 13px}@media (max-width: 1024px){.card.normal{padding:12px 9px 6px}}.card.small{border-radius:5px;padding:18px 15px}@media (max-width: 1024px){.card.small{padding:.75rem 1rem}}:host(.statement-card){width:auto;cursor:pointer}:host(.statement-card) .card.small{padding:12px 14px;border-radius:3px}@media (max-width: 1024px){:host(.expandable-card) .card.small{padding:.75rem .5rem .75rem .75rem}}\n"] }]
|
|
1183
|
-
}], ctorParameters: function () { return []; }, propDecorators: { variant: [{
|
|
1184
|
-
type: Input
|
|
1185
|
-
}] } });
|
|
1186
|
-
|
|
1187
|
-
class AfConnectCardHeaderComponent {
|
|
1188
|
-
constructor() {
|
|
1189
|
-
this.variant = 'normal';
|
|
1190
|
-
this.subtitleColor = 'grey';
|
|
1191
|
-
this.onClick = new EventEmitter();
|
|
1192
|
-
}
|
|
1193
|
-
ngOnInit() { }
|
|
1194
|
-
toggleMobileContent() {
|
|
1195
|
-
this.onClick.emit();
|
|
1196
|
-
}
|
|
1197
|
-
}
|
|
1198
|
-
AfConnectCardHeaderComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.1.0", ngImport: i0, type: AfConnectCardHeaderComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
1199
|
-
AfConnectCardHeaderComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.1.0", type: AfConnectCardHeaderComponent, selector: "lib-af-connect-card-header", inputs: { title: "title", subTitle: "subTitle", variant: "variant", hideBorderLine: "hideBorderLine", subtitleColor: "subtitleColor" }, outputs: { onClick: "onClick" }, ngImport: i0, template: "<div [class]=\"['card-header', variant]\" (click)=\"toggleMobileContent()\">\r\n <div class=\"title-container\">\r\n <div class=\"inner-title-container\">\r\n <div class=\"heading-container\">\r\n <span>{{ title }}</span>\r\n <ng-content select=\"[headingChip]\"></ng-content>\r\n </div>\r\n <div class=\"chip-container\">\r\n <ng-content select=\"[chip]\"></ng-content>\r\n </div>\r\n </div>\r\n <div class=\"subtitle\" [class]=\"[subtitleColor]\">{{ subTitle }}</div>\r\n </div>\r\n <div class=\"buttons-container\">\r\n <ng-content></ng-content>\r\n </div>\r\n </div>\r\n \r\n <div *ngIf=\"!hideBorderLine\" [class]=\"['border-line', variant]\"></div>\r\n ", styles: [":host{flex:1 0 auto;display:flex;flex-direction:column;justify-content:space-between}:host(.beneficiaries-header) .buttons-container{align-self:flex-start}:host(.restricted-fund-card-header){padding:.8rem}@media (max-width: 768px){:host(.restricted-fund-card-header){padding:0}}:host(.restricted-fund-card-header)>.border-line{border:1px solid var(--toggle-button-grey-color);opacity:.3;margin:.2rem}:host(.policies-header){flex-grow:0}:host(.document-card-header) .card-header.small{gap:.5rem}:host(.document-card-header) .card-header.small .title-container{gap:.25rem}.card-header-base,.card-header.small,.card-header.normal{display:flex;flex-direction:row;overflow:hidden;color:var(--primary-dark-teal-color);align-items:center;justify-content:space-between}@media (max-width: 1024px){.card-header-base,.card-header.small,.card-header.normal{gap:6px}}.buttons-container{display:flex;gap:1rem}@media (max-width: 1024px){.buttons-container{justify-content:flex-start}}:host(.claims-header) .buttons-container{display:contents}.border-line{width:100%;margin-top:.85rem;border-bottom:1px solid var(--primary-dark-teal-color)}.border-line.small{display:none}.inner-title-container{display:flex;gap:12px}.heading-container{display:flex;align-items:center;gap:1rem}.title-container-base,.card-header.small .title-container,.card-header.normal .title-container{display:flex;flex-direction:column;gap:.3rem;font-size:16px;font-family:var(--standard-font-family-hero-new-semibold)}@media (max-width: 768px){.title-container-base,.card-header.small .title-container,.card-header.normal .title-container{font-size:.875rem;gap:1px}}.subtitle-base,.card-header.small .subtitle,.card-header.normal .subtitle{font-size:14px;font-family:var(--standard-font-family-hero-new)}@media (max-width: 768px){.subtitle-base,.card-header.small .subtitle,.card-header.normal .subtitle{font-size:.75rem}}.orange-base,.card-header.small .subtitle.orange,.card-header.normal .subtitle.orange{color:var(--bright-orange-color);font-family:var(--standard-font-family-hero-new-bold);opacity:1}.card-header.normal .title-container{color:var(--primary-dark-teal-color)}.card-header.normal .subtitle{color:var(--primary-connected-orange-color)}.card-header.small .title-container{color:var(--secondary-black-color);font-weight:600;gap:0px}@media (max-width: 768px){.card-header.small .title-container{font-size:14px}}.card-header.small .subtitle{opacity:.5;color:var(--main-black-color)}@media (max-width: 768px){.card-header.small .subtitle{font-size:12px}}:host(.claims-header) .card-header.normal .subtitle{color:var(--claim-subtitle-color)}@media (max-width: 768px){:host(.claims-header) .card-header.normal .subtitle{color:var(--claim-info-grey)}}:host(.claims-header) .title-container{width:100%}:host(.claims-header) .inner-title-container{justify-content:space-between}@media (max-width: 768px){:host(.claims-header) .title-container-base,:host(.claims-header) .card-header.normal .title-container,:host(.claims-header) .card-header.small .title-container{flex-direction:row}:host(.claims-header) .inner-title-container{display:block}:host(.claims-header) .subtitle{margin-top:2px;margin-left:-10px}:host(.claims-header) .border-line{margin-top:.35rem}}\n"], dependencies: [{ kind: "directive", type: i1$1.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }] });
|
|
1200
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.0", ngImport: i0, type: AfConnectCardHeaderComponent, decorators: [{
|
|
1201
|
-
type: Component,
|
|
1202
|
-
args: [{ selector: 'lib-af-connect-card-header', template: "<div [class]=\"['card-header', variant]\" (click)=\"toggleMobileContent()\">\r\n <div class=\"title-container\">\r\n <div class=\"inner-title-container\">\r\n <div class=\"heading-container\">\r\n <span>{{ title }}</span>\r\n <ng-content select=\"[headingChip]\"></ng-content>\r\n </div>\r\n <div class=\"chip-container\">\r\n <ng-content select=\"[chip]\"></ng-content>\r\n </div>\r\n </div>\r\n <div class=\"subtitle\" [class]=\"[subtitleColor]\">{{ subTitle }}</div>\r\n </div>\r\n <div class=\"buttons-container\">\r\n <ng-content></ng-content>\r\n </div>\r\n </div>\r\n \r\n <div *ngIf=\"!hideBorderLine\" [class]=\"['border-line', variant]\"></div>\r\n ", styles: [":host{flex:1 0 auto;display:flex;flex-direction:column;justify-content:space-between}:host(.beneficiaries-header) .buttons-container{align-self:flex-start}:host(.restricted-fund-card-header){padding:.8rem}@media (max-width: 768px){:host(.restricted-fund-card-header){padding:0}}:host(.restricted-fund-card-header)>.border-line{border:1px solid var(--toggle-button-grey-color);opacity:.3;margin:.2rem}:host(.policies-header){flex-grow:0}:host(.document-card-header) .card-header.small{gap:.5rem}:host(.document-card-header) .card-header.small .title-container{gap:.25rem}.card-header-base,.card-header.small,.card-header.normal{display:flex;flex-direction:row;overflow:hidden;color:var(--primary-dark-teal-color);align-items:center;justify-content:space-between}@media (max-width: 1024px){.card-header-base,.card-header.small,.card-header.normal{gap:6px}}.buttons-container{display:flex;gap:1rem}@media (max-width: 1024px){.buttons-container{justify-content:flex-start}}:host(.claims-header) .buttons-container{display:contents}.border-line{width:100%;margin-top:.85rem;border-bottom:1px solid var(--primary-dark-teal-color)}.border-line.small{display:none}.inner-title-container{display:flex;gap:12px}.heading-container{display:flex;align-items:center;gap:1rem}.title-container-base,.card-header.small .title-container,.card-header.normal .title-container{display:flex;flex-direction:column;gap:.3rem;font-size:16px;font-family:var(--standard-font-family-hero-new-semibold)}@media (max-width: 768px){.title-container-base,.card-header.small .title-container,.card-header.normal .title-container{font-size:.875rem;gap:1px}}.subtitle-base,.card-header.small .subtitle,.card-header.normal .subtitle{font-size:14px;font-family:var(--standard-font-family-hero-new)}@media (max-width: 768px){.subtitle-base,.card-header.small .subtitle,.card-header.normal .subtitle{font-size:.75rem}}.orange-base,.card-header.small .subtitle.orange,.card-header.normal .subtitle.orange{color:var(--bright-orange-color);font-family:var(--standard-font-family-hero-new-bold);opacity:1}.card-header.normal .title-container{color:var(--primary-dark-teal-color)}.card-header.normal .subtitle{color:var(--primary-connected-orange-color)}.card-header.small .title-container{color:var(--secondary-black-color);font-weight:600;gap:0px}@media (max-width: 768px){.card-header.small .title-container{font-size:14px}}.card-header.small .subtitle{opacity:.5;color:var(--main-black-color)}@media (max-width: 768px){.card-header.small .subtitle{font-size:12px}}:host(.claims-header) .card-header.normal .subtitle{color:var(--claim-subtitle-color)}@media (max-width: 768px){:host(.claims-header) .card-header.normal .subtitle{color:var(--claim-info-grey)}}:host(.claims-header) .title-container{width:100%}:host(.claims-header) .inner-title-container{justify-content:space-between}@media (max-width: 768px){:host(.claims-header) .title-container-base,:host(.claims-header) .card-header.normal .title-container,:host(.claims-header) .card-header.small .title-container{flex-direction:row}:host(.claims-header) .inner-title-container{display:block}:host(.claims-header) .subtitle{margin-top:2px;margin-left:-10px}:host(.claims-header) .border-line{margin-top:.35rem}}\n"] }]
|
|
1203
|
-
}], propDecorators: { title: [{
|
|
1204
|
-
type: Input
|
|
1205
|
-
}], subTitle: [{
|
|
1206
|
-
type: Input
|
|
1207
|
-
}], variant: [{
|
|
1208
|
-
type: Input
|
|
1209
|
-
}], hideBorderLine: [{
|
|
1210
|
-
type: Input
|
|
1211
|
-
}], subtitleColor: [{
|
|
1212
|
-
type: Input
|
|
1213
|
-
}], onClick: [{
|
|
1214
|
-
type: Output
|
|
1215
|
-
}] } });
|
|
1216
|
-
|
|
1217
|
-
class AfConnectChipComponent {
|
|
1218
|
-
constructor() {
|
|
1219
|
-
this.variant = 'greenish-text';
|
|
1220
|
-
}
|
|
1221
|
-
}
|
|
1222
|
-
AfConnectChipComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.1.0", ngImport: i0, type: AfConnectChipComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
1223
|
-
AfConnectChipComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.1.0", type: AfConnectChipComponent, selector: "lib-af-connect-chip", inputs: { title: "title", borderRadius: "borderRadius", additionalStyle: "additionalStyle", variant: "variant" }, ngImport: i0, template: "<div\r\n [ngClass]=\"['chip', variant]\"\r\n [ngStyle]=\"{\r\n borderRadius: borderRadius + 'px',\r\n background: additionalStyle && additionalStyle.background ? additionalStyle.background : ''\r\n }\"\r\n>\r\n <div\r\n [ngStyle]=\"{\r\n color: additionalStyle && additionalStyle.color ? additionalStyle.color : ''\r\n }\"\r\n >\r\n <ng-content></ng-content>\r\n </div>\r\n</div>\r\n", styles: [":host{display:flex;justify-content:center;align-items:center}.small,.chip.greenish-text{padding:.3rem .75rem;border-radius:1rem}.medium,.chip.percentage,.chip.greenish-count{min-width:54px;min-height:28px;border-radius:1rem;font-weight:500}.green-chip,.chip.status,.chip.greenish-count,.chip.greenish-text{background:var(--secondary-egg-shell-color);color:var(--primary-dark-teal-color)}.chip{font-size:12px;display:flex;align-items:center;justify-content:center;font-family:var(--standard-font-family-hero-new);width:-moz-fit-content;width:fit-content}@media (max-width: 768px){.chip.greenish-text{font-size:.75rem;padding:5px 10px;gap:0px}}.chip.percentage{background:var(--primary-catalyst-yellow-color-low-opacity);color:var(--primary-connected-orange-color);font-family:var(--standard-font-family-hero-new-semibold)}.chip.status{min-height:26px;font-weight:400;border-radius:1rem;padding:0 15px}.chip.claims{border-radius:1rem;padding:5.6px 15px}.chip.case-number{border-radius:1rem;border:1px solid var(--primary-dark-teal-color);color:var(--primary-dark-teal-color);padding:5.6px .75rem;font-family:var(--standard-font-family-hero-new-semibold)}@media (max-width: 768px){.chip.case-number{display:none}}.chip.dot,.chip.dot-teal,.chip.dot-orange{background:var(--secondary-egg-shell-color);color:var(--primary-dark-teal-color);padding:0 5px;border-radius:1rem;min-height:10px;display:inline-block}.chip.dot-orange{background:var(--primary-catalyst-yellow-color)}.chip.dot-teal{background:var(--primary-dark-teal-color)}:host(.transaction-modal) .chip{font-family:var(--standard-font-family-hero-new-bold);font-size:14px;padding:6px 18px}@media (max-width: 768px){:host(.transaction-modal) .chip{font-size:.875rem;padding:8px 18px}}@media (max-width: 768px){:host(.transaction-mobile) .chip{font-size:.875rem;padding:8px 18px;font-family:var(--standard-font-family-hero-new-bold)}}\n"], dependencies: [{ kind: "directive", type: i1$1.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { kind: "directive", type: i1$1.NgStyle, selector: "[ngStyle]", inputs: ["ngStyle"] }] });
|
|
1224
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.0", ngImport: i0, type: AfConnectChipComponent, decorators: [{
|
|
1225
|
-
type: Component,
|
|
1226
|
-
args: [{ selector: 'lib-af-connect-chip', template: "<div\r\n [ngClass]=\"['chip', variant]\"\r\n [ngStyle]=\"{\r\n borderRadius: borderRadius + 'px',\r\n background: additionalStyle && additionalStyle.background ? additionalStyle.background : ''\r\n }\"\r\n>\r\n <div\r\n [ngStyle]=\"{\r\n color: additionalStyle && additionalStyle.color ? additionalStyle.color : ''\r\n }\"\r\n >\r\n <ng-content></ng-content>\r\n </div>\r\n</div>\r\n", styles: [":host{display:flex;justify-content:center;align-items:center}.small,.chip.greenish-text{padding:.3rem .75rem;border-radius:1rem}.medium,.chip.percentage,.chip.greenish-count{min-width:54px;min-height:28px;border-radius:1rem;font-weight:500}.green-chip,.chip.status,.chip.greenish-count,.chip.greenish-text{background:var(--secondary-egg-shell-color);color:var(--primary-dark-teal-color)}.chip{font-size:12px;display:flex;align-items:center;justify-content:center;font-family:var(--standard-font-family-hero-new);width:-moz-fit-content;width:fit-content}@media (max-width: 768px){.chip.greenish-text{font-size:.75rem;padding:5px 10px;gap:0px}}.chip.percentage{background:var(--primary-catalyst-yellow-color-low-opacity);color:var(--primary-connected-orange-color);font-family:var(--standard-font-family-hero-new-semibold)}.chip.status{min-height:26px;font-weight:400;border-radius:1rem;padding:0 15px}.chip.claims{border-radius:1rem;padding:5.6px 15px}.chip.case-number{border-radius:1rem;border:1px solid var(--primary-dark-teal-color);color:var(--primary-dark-teal-color);padding:5.6px .75rem;font-family:var(--standard-font-family-hero-new-semibold)}@media (max-width: 768px){.chip.case-number{display:none}}.chip.dot,.chip.dot-teal,.chip.dot-orange{background:var(--secondary-egg-shell-color);color:var(--primary-dark-teal-color);padding:0 5px;border-radius:1rem;min-height:10px;display:inline-block}.chip.dot-orange{background:var(--primary-catalyst-yellow-color)}.chip.dot-teal{background:var(--primary-dark-teal-color)}:host(.transaction-modal) .chip{font-family:var(--standard-font-family-hero-new-bold);font-size:14px;padding:6px 18px}@media (max-width: 768px){:host(.transaction-modal) .chip{font-size:.875rem;padding:8px 18px}}@media (max-width: 768px){:host(.transaction-mobile) .chip{font-size:.875rem;padding:8px 18px;font-family:var(--standard-font-family-hero-new-bold)}}\n"] }]
|
|
1227
|
-
}], propDecorators: { title: [{
|
|
1228
|
-
type: Input
|
|
1229
|
-
}], borderRadius: [{
|
|
1230
|
-
type: Input
|
|
1231
|
-
}], additionalStyle: [{
|
|
1232
|
-
type: Input
|
|
1233
|
-
}], variant: [{
|
|
1234
|
-
type: Input
|
|
1235
|
-
}] } });
|
|
1236
|
-
|
|
1237
|
-
class AfConnectChartComponent {
|
|
1238
|
-
}
|
|
1239
|
-
AfConnectChartComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.1.0", ngImport: i0, type: AfConnectChartComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
1240
|
-
AfConnectChartComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.1.0", type: AfConnectChartComponent, selector: "lib-af-connect-chart", ngImport: i0, template: "<p>af-connect-chart works!</p>\r\n", styles: [""] });
|
|
1241
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.0", ngImport: i0, type: AfConnectChartComponent, decorators: [{
|
|
1242
|
-
type: Component,
|
|
1243
|
-
args: [{ selector: 'lib-af-connect-chart', template: "<p>af-connect-chart works!</p>\r\n" }]
|
|
1244
|
-
}] });
|
|
1245
|
-
|
|
1246
|
-
class AfConnectErrorComponent {
|
|
1247
|
-
constructor() {
|
|
1248
|
-
this.height = 'small';
|
|
1249
|
-
this.alignContent = 'left';
|
|
1250
|
-
}
|
|
1251
|
-
ngOnInit() { }
|
|
1252
|
-
}
|
|
1253
|
-
AfConnectErrorComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.1.0", ngImport: i0, type: AfConnectErrorComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
1254
|
-
AfConnectErrorComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.1.0", type: AfConnectErrorComponent, selector: "lib-af-connect-error", inputs: { src: "src", title: "title", message: "message", height: "height", alignContent: "alignContent" }, ngImport: i0, template: "<div [class]=\"[alignContent, 'error-container', height]\">\r\n <img class=\"svg\" [src]=\"src\" />\r\n <span class=\"error-title\">{{ title }}</span>\r\n <span class=\"error-message\">{{ message }}</span>\r\n </div>\r\n ", styles: ["img{background:none;border:none;width:74px;height:55px;margin-bottom:1rem}.center{align-items:center;text-align:center}.left{align-items:start}.error-container{display:flex;flex-direction:column;justify-content:center}@media (max-width: 1024px){.error-container{align-items:center;text-align:center}}.error-container.medium{height:15rem;margin-top:-1rem}.error-container.large{height:20rem;margin-top:-1rem}.error-title{font-size:18px;font-family:var(--standard-font-family-hero-new-semibold);color:var(--secondary-black-color)}.error-message{font-size:14px;font-family:var(--standard-font-family-hero-new);color:var(--secondary-black-color)}\n"] });
|
|
1255
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.0", ngImport: i0, type: AfConnectErrorComponent, decorators: [{
|
|
1256
|
-
type: Component,
|
|
1257
|
-
args: [{ selector: 'lib-af-connect-error', template: "<div [class]=\"[alignContent, 'error-container', height]\">\r\n <img class=\"svg\" [src]=\"src\" />\r\n <span class=\"error-title\">{{ title }}</span>\r\n <span class=\"error-message\">{{ message }}</span>\r\n </div>\r\n ", styles: ["img{background:none;border:none;width:74px;height:55px;margin-bottom:1rem}.center{align-items:center;text-align:center}.left{align-items:start}.error-container{display:flex;flex-direction:column;justify-content:center}@media (max-width: 1024px){.error-container{align-items:center;text-align:center}}.error-container.medium{height:15rem;margin-top:-1rem}.error-container.large{height:20rem;margin-top:-1rem}.error-title{font-size:18px;font-family:var(--standard-font-family-hero-new-semibold);color:var(--secondary-black-color)}.error-message{font-size:14px;font-family:var(--standard-font-family-hero-new);color:var(--secondary-black-color)}\n"] }]
|
|
1258
|
-
}], ctorParameters: function () { return []; }, propDecorators: { src: [{
|
|
1259
|
-
type: Input
|
|
1260
|
-
}], title: [{
|
|
1261
|
-
type: Input
|
|
1262
|
-
}], message: [{
|
|
1263
|
-
type: Input
|
|
1264
|
-
}], height: [{
|
|
1265
|
-
type: Input
|
|
1266
|
-
}], alignContent: [{
|
|
1267
|
-
type: Input
|
|
1268
|
-
}] } });
|
|
1269
|
-
|
|
1270
|
-
var Severity;
|
|
1271
|
-
(function (Severity) {
|
|
1272
|
-
Severity["Error"] = "Error!";
|
|
1273
|
-
Severity["Warning"] = "Warning!";
|
|
1274
|
-
})(Severity || (Severity = {}));
|
|
1275
|
-
;
|
|
1276
|
-
class AfConnectInlineErrorComponent {
|
|
1277
|
-
constructor() {
|
|
1278
|
-
this.severity = Severity.Error;
|
|
1279
|
-
this.size = 'none';
|
|
1280
|
-
}
|
|
1281
|
-
}
|
|
1282
|
-
AfConnectInlineErrorComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.1.0", ngImport: i0, type: AfConnectInlineErrorComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
1283
|
-
AfConnectInlineErrorComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.1.0", type: AfConnectInlineErrorComponent, selector: "lib-af-connect-inline-error", inputs: { severity: "severity", message: "message", src: "src", size: "size" }, ngImport: i0, template: "<div class=\"inline-error-container\">\r\n <img [class]=\"['svg', size]\" [src]=\"src\" />\r\n <span class=\"inline-error-title\">{{ severity }}</span>\r\n <span class=\"inline-error-message\">{{ message }}</span>\r\n </div>\r\n ", styles: [":host{display:flex;min-height:2rem;padding-top:.5em;flex-direction:column}img{background:none;border:none;cursor:pointer;justify-content:center}.svg.small{width:14px;height:14px}.svg.medium{width:16px;height:16px}@media (max-width: 768px){.svg.medium{width:14px;height:14px}}@media (max-width: 1024px){.svg.large{width:23px;height:23px}}.inline-error-container{background:var(--neutral-inline-error-color);border:1px solid var(--primary-orange-mobile-color);border-radius:5px;padding:.5rem 1rem;opacity:1;display:flex;align-items:center;gap:1rem;border-left:8px solid var(--primary-orange-mobile-color)}.inline-error-title{font-family:Hero New SemiBold;font-size:14px;color:var(--main-black-color);display:flex;justify-content:center}.inline-error-message{font-size:12px;color:var(--main-black-color);display:flex;justify-content:center}\n"] });
|
|
1284
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.0", ngImport: i0, type: AfConnectInlineErrorComponent, decorators: [{
|
|
1285
|
-
type: Component,
|
|
1286
|
-
args: [{ selector: 'lib-af-connect-inline-error', template: "<div class=\"inline-error-container\">\r\n <img [class]=\"['svg', size]\" [src]=\"src\" />\r\n <span class=\"inline-error-title\">{{ severity }}</span>\r\n <span class=\"inline-error-message\">{{ message }}</span>\r\n </div>\r\n ", styles: [":host{display:flex;min-height:2rem;padding-top:.5em;flex-direction:column}img{background:none;border:none;cursor:pointer;justify-content:center}.svg.small{width:14px;height:14px}.svg.medium{width:16px;height:16px}@media (max-width: 768px){.svg.medium{width:14px;height:14px}}@media (max-width: 1024px){.svg.large{width:23px;height:23px}}.inline-error-container{background:var(--neutral-inline-error-color);border:1px solid var(--primary-orange-mobile-color);border-radius:5px;padding:.5rem 1rem;opacity:1;display:flex;align-items:center;gap:1rem;border-left:8px solid var(--primary-orange-mobile-color)}.inline-error-title{font-family:Hero New SemiBold;font-size:14px;color:var(--main-black-color);display:flex;justify-content:center}.inline-error-message{font-size:12px;color:var(--main-black-color);display:flex;justify-content:center}\n"] }]
|
|
1287
|
-
}], propDecorators: { severity: [{
|
|
1288
|
-
type: Input
|
|
1289
|
-
}], message: [{
|
|
1290
|
-
type: Input
|
|
1291
|
-
}], src: [{
|
|
1292
|
-
type: Input
|
|
1293
|
-
}], size: [{
|
|
1294
|
-
type: Input
|
|
1295
|
-
}] } });
|
|
1296
|
-
|
|
1297
|
-
class AfConnectLoadingSpinnerComponent {
|
|
1298
|
-
constructor() {
|
|
1299
|
-
this.size = 'standard';
|
|
1300
|
-
}
|
|
1301
|
-
ngOnInit() {
|
|
1302
|
-
}
|
|
1303
|
-
}
|
|
1304
|
-
AfConnectLoadingSpinnerComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.1.0", ngImport: i0, type: AfConnectLoadingSpinnerComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
1305
|
-
AfConnectLoadingSpinnerComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.1.0", type: AfConnectLoadingSpinnerComponent, selector: "lib-af-connect-loading-spinner", inputs: { size: "size" }, ngImport: i0, template: "<div class=\"spinner\">\r\n <div [class]=\"size\"></div>\r\n <div [class]=\"size\"></div>\r\n <div [class]=\"size\"></div>\r\n <div [class]=\"size\"></div>\r\n</div>", styles: [":host{display:flex;justify-content:center;align-self:center}.spinner{display:inline-block;position:relative;width:80px;height:80px}.spinner div{box-sizing:border-box;display:block;position:absolute;width:4rem;height:4rem;margin:.5rem;border:.5rem solid var(--primary-dark-teal-color);border-radius:50%;animation:spinner 1.2s cubic-bezier(.5,0,.5,1) infinite;border-color:var(--primary-dark-teal-color) transparent transparent transparent}.spinner div.small{width:1rem;height:1rem;border-width:.2rem;border-color:var(--neutral-anchor-color) transparent transparent transparent}.spinner div:nth-child(1){animation-delay:-.45s}.spinner div:nth-child(2){animation-delay:-.3s}.spinner div:nth-child(3){animation-delay:-.15s}@keyframes spinner{0%{transform:rotate(0)}to{transform:rotate(360deg)}}:host(.btn-spinner) .spinner{width:40px;height:40px}:host(.btn-spinner) .spinner div{width:1.5rem;height:1.5rem;border:.15rem solid #fff;border-color:#fff transparent transparent transparent}\n"] });
|
|
1306
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.0", ngImport: i0, type: AfConnectLoadingSpinnerComponent, decorators: [{
|
|
1307
|
-
type: Component,
|
|
1308
|
-
args: [{ selector: 'lib-af-connect-loading-spinner', template: "<div class=\"spinner\">\r\n <div [class]=\"size\"></div>\r\n <div [class]=\"size\"></div>\r\n <div [class]=\"size\"></div>\r\n <div [class]=\"size\"></div>\r\n</div>", styles: [":host{display:flex;justify-content:center;align-self:center}.spinner{display:inline-block;position:relative;width:80px;height:80px}.spinner div{box-sizing:border-box;display:block;position:absolute;width:4rem;height:4rem;margin:.5rem;border:.5rem solid var(--primary-dark-teal-color);border-radius:50%;animation:spinner 1.2s cubic-bezier(.5,0,.5,1) infinite;border-color:var(--primary-dark-teal-color) transparent transparent transparent}.spinner div.small{width:1rem;height:1rem;border-width:.2rem;border-color:var(--neutral-anchor-color) transparent transparent transparent}.spinner div:nth-child(1){animation-delay:-.45s}.spinner div:nth-child(2){animation-delay:-.3s}.spinner div:nth-child(3){animation-delay:-.15s}@keyframes spinner{0%{transform:rotate(0)}to{transform:rotate(360deg)}}:host(.btn-spinner) .spinner{width:40px;height:40px}:host(.btn-spinner) .spinner div{width:1.5rem;height:1.5rem;border:.15rem solid #fff;border-color:#fff transparent transparent transparent}\n"] }]
|
|
1309
|
-
}], ctorParameters: function () { return []; }, propDecorators: { size: [{
|
|
1310
|
-
type: Input
|
|
1311
|
-
}] } });
|
|
1312
|
-
|
|
1313
|
-
class AfConnectSvgButtonComponent {
|
|
1314
|
-
constructor() {
|
|
1315
|
-
this.size = 'none';
|
|
1316
|
-
this.clickBtn = new EventEmitter();
|
|
1317
|
-
}
|
|
1318
|
-
ngOnInit() { }
|
|
1319
|
-
}
|
|
1320
|
-
AfConnectSvgButtonComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.1.0", ngImport: i0, type: AfConnectSvgButtonComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
1321
|
-
AfConnectSvgButtonComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.1.0", type: AfConnectSvgButtonComponent, selector: "lib-af-connect-svg-button", inputs: { src: "src", emitValue: "emitValue", customSize: "customSize", size: "size" }, outputs: { clickBtn: "clickBtn" }, ngImport: i0, template: "<img\r\n [class]=\"['svg', size]\"\r\n [ngStyle]=\"{ width: customSize, height: customSize }\"\r\n (click)=\"this.clickBtn.emit(emitValue)\"\r\n [src]=\"src\"\r\n/>\r\n", styles: [":host{display:flex;justify-content:center;align-items:center}img{background:none;border:none;padding:0;cursor:pointer}.svg.small{width:14px;height:14px}.svg.medium{width:30px;height:30px}@media (max-width: 768px){.svg.medium{width:20px;height:20px}}.svg.large{width:42px;height:42px}@media (max-width: 1024px){.svg.large.large{width:32px;height:32px}}@media (max-width: 1024px){:host(.external-info) img{width:14px;height:14px}}@media (max-width: 1024px){:host(.external-investments) img{width:16px;height:16px}}\n"], dependencies: [{ kind: "directive", type: i1$1.NgStyle, selector: "[ngStyle]", inputs: ["ngStyle"] }] });
|
|
1322
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.0", ngImport: i0, type: AfConnectSvgButtonComponent, decorators: [{
|
|
1323
|
-
type: Component,
|
|
1324
|
-
args: [{ selector: 'lib-af-connect-svg-button', template: "<img\r\n [class]=\"['svg', size]\"\r\n [ngStyle]=\"{ width: customSize, height: customSize }\"\r\n (click)=\"this.clickBtn.emit(emitValue)\"\r\n [src]=\"src\"\r\n/>\r\n", styles: [":host{display:flex;justify-content:center;align-items:center}img{background:none;border:none;padding:0;cursor:pointer}.svg.small{width:14px;height:14px}.svg.medium{width:30px;height:30px}@media (max-width: 768px){.svg.medium{width:20px;height:20px}}.svg.large{width:42px;height:42px}@media (max-width: 1024px){.svg.large.large{width:32px;height:32px}}@media (max-width: 1024px){:host(.external-info) img{width:14px;height:14px}}@media (max-width: 1024px){:host(.external-investments) img{width:16px;height:16px}}\n"] }]
|
|
1325
|
-
}], ctorParameters: function () { return []; }, propDecorators: { src: [{
|
|
1326
|
-
type: Input
|
|
1327
|
-
}], emitValue: [{
|
|
1328
|
-
type: Input
|
|
1329
|
-
}], customSize: [{
|
|
1330
|
-
type: Input
|
|
1331
|
-
}], size: [{
|
|
1332
|
-
type: Input
|
|
1333
|
-
}], clickBtn: [{
|
|
1334
|
-
type: Output
|
|
1335
|
-
}] } });
|
|
1336
|
-
|
|
1337
|
-
/**
|
|
1338
|
-
Example usage
|
|
1339
|
-
<afc-modal>
|
|
1340
|
-
<afc-button isOpenButton title="Open Modal"></afc-button>
|
|
1341
|
-
<div class="content">
|
|
1342
|
-
<afc-button emitValue="isCloseModal" title="Close Modal"></afc-button>
|
|
1343
|
-
<h1> This is test modal </h1>
|
|
1344
|
-
</div>
|
|
1345
|
-
</afc-modal>
|
|
1346
|
-
|
|
1347
|
-
isOpenButton tag specifies which element triggers the modal (usually a button), and it is always shown.
|
|
1348
|
-
Pass [isCloseButton]="true" to a button to specify which buttons in the modal should be used
|
|
1349
|
-
for closing the modal.Everything that does not have isOpenButton tag is the content of the modal.
|
|
1350
|
-
|
|
1351
|
-
No additional event handling required for open/close of the modal.
|
|
1352
|
-
|
|
1353
|
-
|
|
1354
|
-
*/
|
|
1355
|
-
class AfConnectModalComponent {
|
|
1356
|
-
constructor(elementRef) {
|
|
1357
|
-
this.isOpen = false;
|
|
1358
|
-
this.disableOutsideClickClose = false;
|
|
1359
|
-
this.withCloseButton = true;
|
|
1360
|
-
this.variant = 'standard';
|
|
1361
|
-
this.onClose = new EventEmitter();
|
|
1362
|
-
this.nativeElement = elementRef.nativeElement;
|
|
1363
|
-
}
|
|
1364
|
-
ngAfterViewInit() {
|
|
1365
|
-
this.svgButton.forEach((svgButton) => svgButton.clickBtn.subscribe((emitValue) => {
|
|
1366
|
-
if (!this.disableOutsideClickClose) {
|
|
1367
|
-
this.closeFromModal(emitValue);
|
|
1368
|
-
}
|
|
1369
|
-
}));
|
|
1370
|
-
this.buttons.forEach((buttons) => buttons.clickBtn.subscribe((emitValue) => {
|
|
1371
|
-
// if (!this.disableOutsideClickClose) {
|
|
1372
|
-
this.closeFromModal(emitValue);
|
|
1373
|
-
// }
|
|
1374
|
-
}));
|
|
1375
|
-
}
|
|
1376
|
-
toggleModal() {
|
|
1377
|
-
this.isOpen = !this.isOpen;
|
|
1378
|
-
this.onClose.emit(this.isOpen);
|
|
1379
|
-
}
|
|
1380
|
-
externalClickClose(e) {
|
|
1381
|
-
if (!this.disableOutsideClickClose) {
|
|
1382
|
-
const target = e.target;
|
|
1383
|
-
if (target.classList.contains('content-container') || target.classList.contains('background-container')) {
|
|
1384
|
-
this.isOpen = false;
|
|
1385
|
-
this.onClose.emit(this.isOpen);
|
|
1386
|
-
}
|
|
1387
|
-
}
|
|
1388
|
-
}
|
|
1389
|
-
ngOnDestroy() { }
|
|
1390
|
-
closeFromModal(emitValue) {
|
|
1391
|
-
if (emitValue === 'isCloseModal') {
|
|
1392
|
-
this.isOpen = false;
|
|
1393
|
-
this.onClose.emit(this.isOpen);
|
|
1394
|
-
}
|
|
1395
|
-
}
|
|
1396
|
-
}
|
|
1397
|
-
AfConnectModalComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.1.0", ngImport: i0, type: AfConnectModalComponent, deps: [{ token: i0.ElementRef }], target: i0.ɵɵFactoryTarget.Component });
|
|
1398
|
-
AfConnectModalComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.1.0", type: AfConnectModalComponent, selector: "lib-af-connect-modal", inputs: { isOpen: "isOpen", disableOutsideClickClose: "disableOutsideClickClose", withCloseButton: "withCloseButton", variant: "variant", header: "header", content: "content", width: "width", noScrollbarContentContainer: "noScrollbarContentContainer", reversedPadding: "reversedPadding", borderHighlight: "borderHighlight" }, outputs: { onClose: "onClose" }, queries: [{ propertyName: "buttons", predicate: AfConnectButtonComponent, descendants: true }, { propertyName: "svgButton", predicate: AfConnectSvgButtonComponent, descendants: true }], ngImport: i0, template: "<div class=\"modal-wrapper\" (click)=\"toggleModal()\">\r\n <ng-content select=\"[isOpenButton]\"></ng-content>\r\n </div>\r\n \r\n <div *ngIf=\"isOpen\" class=\"background-container\" (click)=\"externalClickClose($event)\">\r\n <div\r\n [ngStyle]=\"{ width: width + 'px' }\"\r\n [ngClass]=\"[\r\n 'content-container',\r\n variant,\r\n noScrollbarContentContainer ? 'noScrollbar' : '',\r\n borderHighlight ? 'with-border' : ''\r\n ]\"\r\n >\r\n <div *ngIf=\"variant !== 'standard'\" class=\"color-bar\"></div>\r\n <div [ngStyle]=\"{ padding: reversedPadding ? '0px' : null }\" class=\"inner-container\">\r\n <div\r\n *ngIf=\"header\"\r\n class=\"header-container\"\r\n [ngStyle]=\"{ padding: reversedPadding ? '24px 24px 20px 24px' : null }\"\r\n >\r\n <div class=\"header-content\">\r\n <img *ngIf=\"variant === 'error'\" src=\"../../../../assets/icons/warning.svg\" class=\"warning-icon\" />\r\n {{ header }}\r\n </div>\r\n <lib-af-connect-svg-button\r\n *ngIf=\"withCloseButton\"\r\n size=\"small\"\r\n src=\"../../../assets/icons/delete.svg\"\r\n emitValue=\"isCloseModal\"\r\n (clickBtn)=\"toggleModal()\"\r\n ></lib-af-connect-svg-button>\r\n </div>\r\n <div class=\"body-container\">\r\n <ng-container *ngIf=\"content\">\r\n {{ content }}\r\n </ng-container>\r\n <ng-content></ng-content>\r\n </div>\r\n </div>\r\n </div>\r\n </div>\r\n ", styles: [".background-container{top:0;left:0;width:100%;height:100vh;position:fixed;background:rgba(0,0,0,.2);z-index:2000;-webkit-backdrop-filter:blur(2px);backdrop-filter:blur(2px);overflow-y:hidden}.content-container{box-sizing:border-box;z-index:2050;position:relative;top:15%;margin:auto;overflow:auto;max-height:75%;background:var(--main-white-color);border-radius:5px;max-width:85%}@media (max-width: 768px){.content-container{max-height:95%;width:auto;max-width:95%;top:5%}}.content-container.noScrollbar{overflow:hidden}.content-container.error,.content-container.info{display:flex;align-items:stretch}.content-container.error .inner-container,.content-container.info .inner-container{padding:1.25rem}.content-container.error .header-container,.content-container.info .header-container{color:var(--main-black-color);border-bottom-color:var(--claim-info-grey)}@media (max-width: 768px){.content-container.error .header-container,.content-container.info .header-container{padding-bottom:1.25rem}}.content-container.error .body-container,.content-container.info .body-container{padding-block:1.25rem .5rem}@media (max-width: 768px){.content-container.error .body-container,.content-container.info .body-container{padding-top:1rem}}.inner-container{box-sizing:border-box;width:100%;padding:1.5rem}@media (max-width: 768px){.inner-container{padding:1rem}}.color-bar{width:.5rem;background-color:var(--primary-connected-orange-color)}.header-container{display:flex;justify-content:space-between;align-items:center;border-bottom:1px solid var(--primary-dark-teal-color);padding-bottom:1.25rem;color:var(--primary-dark-teal-color);font-size:1.25rem;font-family:var(--standard-font-family-hero-new-semibold)}@media (max-width: 768px){.header-container{font-size:1.125rem;padding-bottom:.5rem}}.header-content{display:flex;align-items:center;gap:1.25rem}.header-content .warning-icon{width:2rem;aspect-ratio:1}@media (max-width: 768px){.header-content{gap:.875rem}.header-content .warning-icon{width:1.625rem}}.content-container.with-border{border-left:8px solid var(--primary-orange-mobile-color)}:host(.claim-details-modal-mobile) .body-container{display:flex}:host(.claim-details-modal-mobile) .inner-container{max-height:90vh}\n"], dependencies: [{ kind: "directive", type: i1$1.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { kind: "directive", type: i1$1.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "directive", type: i1$1.NgStyle, selector: "[ngStyle]", inputs: ["ngStyle"] }, { kind: "component", type: AfConnectSvgButtonComponent, selector: "lib-af-connect-svg-button", inputs: ["src", "emitValue", "customSize", "size"], outputs: ["clickBtn"] }] });
|
|
1399
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.0", ngImport: i0, type: AfConnectModalComponent, decorators: [{
|
|
1400
|
-
type: Component,
|
|
1401
|
-
args: [{ selector: 'lib-af-connect-modal', template: "<div class=\"modal-wrapper\" (click)=\"toggleModal()\">\r\n <ng-content select=\"[isOpenButton]\"></ng-content>\r\n </div>\r\n \r\n <div *ngIf=\"isOpen\" class=\"background-container\" (click)=\"externalClickClose($event)\">\r\n <div\r\n [ngStyle]=\"{ width: width + 'px' }\"\r\n [ngClass]=\"[\r\n 'content-container',\r\n variant,\r\n noScrollbarContentContainer ? 'noScrollbar' : '',\r\n borderHighlight ? 'with-border' : ''\r\n ]\"\r\n >\r\n <div *ngIf=\"variant !== 'standard'\" class=\"color-bar\"></div>\r\n <div [ngStyle]=\"{ padding: reversedPadding ? '0px' : null }\" class=\"inner-container\">\r\n <div\r\n *ngIf=\"header\"\r\n class=\"header-container\"\r\n [ngStyle]=\"{ padding: reversedPadding ? '24px 24px 20px 24px' : null }\"\r\n >\r\n <div class=\"header-content\">\r\n <img *ngIf=\"variant === 'error'\" src=\"../../../../assets/icons/warning.svg\" class=\"warning-icon\" />\r\n {{ header }}\r\n </div>\r\n <lib-af-connect-svg-button\r\n *ngIf=\"withCloseButton\"\r\n size=\"small\"\r\n src=\"../../../assets/icons/delete.svg\"\r\n emitValue=\"isCloseModal\"\r\n (clickBtn)=\"toggleModal()\"\r\n ></lib-af-connect-svg-button>\r\n </div>\r\n <div class=\"body-container\">\r\n <ng-container *ngIf=\"content\">\r\n {{ content }}\r\n </ng-container>\r\n <ng-content></ng-content>\r\n </div>\r\n </div>\r\n </div>\r\n </div>\r\n ", styles: [".background-container{top:0;left:0;width:100%;height:100vh;position:fixed;background:rgba(0,0,0,.2);z-index:2000;-webkit-backdrop-filter:blur(2px);backdrop-filter:blur(2px);overflow-y:hidden}.content-container{box-sizing:border-box;z-index:2050;position:relative;top:15%;margin:auto;overflow:auto;max-height:75%;background:var(--main-white-color);border-radius:5px;max-width:85%}@media (max-width: 768px){.content-container{max-height:95%;width:auto;max-width:95%;top:5%}}.content-container.noScrollbar{overflow:hidden}.content-container.error,.content-container.info{display:flex;align-items:stretch}.content-container.error .inner-container,.content-container.info .inner-container{padding:1.25rem}.content-container.error .header-container,.content-container.info .header-container{color:var(--main-black-color);border-bottom-color:var(--claim-info-grey)}@media (max-width: 768px){.content-container.error .header-container,.content-container.info .header-container{padding-bottom:1.25rem}}.content-container.error .body-container,.content-container.info .body-container{padding-block:1.25rem .5rem}@media (max-width: 768px){.content-container.error .body-container,.content-container.info .body-container{padding-top:1rem}}.inner-container{box-sizing:border-box;width:100%;padding:1.5rem}@media (max-width: 768px){.inner-container{padding:1rem}}.color-bar{width:.5rem;background-color:var(--primary-connected-orange-color)}.header-container{display:flex;justify-content:space-between;align-items:center;border-bottom:1px solid var(--primary-dark-teal-color);padding-bottom:1.25rem;color:var(--primary-dark-teal-color);font-size:1.25rem;font-family:var(--standard-font-family-hero-new-semibold)}@media (max-width: 768px){.header-container{font-size:1.125rem;padding-bottom:.5rem}}.header-content{display:flex;align-items:center;gap:1.25rem}.header-content .warning-icon{width:2rem;aspect-ratio:1}@media (max-width: 768px){.header-content{gap:.875rem}.header-content .warning-icon{width:1.625rem}}.content-container.with-border{border-left:8px solid var(--primary-orange-mobile-color)}:host(.claim-details-modal-mobile) .body-container{display:flex}:host(.claim-details-modal-mobile) .inner-container{max-height:90vh}\n"] }]
|
|
1402
|
-
}], ctorParameters: function () { return [{ type: i0.ElementRef }]; }, propDecorators: { isOpen: [{
|
|
1403
|
-
type: Input
|
|
1404
|
-
}], disableOutsideClickClose: [{
|
|
1405
|
-
type: Input
|
|
1406
|
-
}], withCloseButton: [{
|
|
1407
|
-
type: Input
|
|
1408
|
-
}], variant: [{
|
|
1409
|
-
type: Input
|
|
1410
|
-
}], header: [{
|
|
1411
|
-
type: Input
|
|
1412
|
-
}], content: [{
|
|
1413
|
-
type: Input
|
|
1414
|
-
}], width: [{
|
|
1415
|
-
type: Input
|
|
1416
|
-
}], noScrollbarContentContainer: [{
|
|
1417
|
-
type: Input
|
|
1418
|
-
}], reversedPadding: [{
|
|
1419
|
-
type: Input
|
|
1420
|
-
}], borderHighlight: [{
|
|
1421
|
-
type: Input
|
|
1422
|
-
}], onClose: [{
|
|
1423
|
-
type: Output
|
|
1424
|
-
}], buttons: [{
|
|
1425
|
-
type: ContentChildren,
|
|
1426
|
-
args: [AfConnectButtonComponent, { descendants: true }]
|
|
1427
|
-
}], svgButton: [{
|
|
1428
|
-
type: ContentChildren,
|
|
1429
|
-
args: [AfConnectSvgButtonComponent, { descendants: true }]
|
|
1430
|
-
}] } });
|
|
1431
|
-
|
|
1432
|
-
class AfConnectNoContentComponent {
|
|
1433
|
-
constructor() {
|
|
1434
|
-
this.alignContent = 'left';
|
|
1435
|
-
this.height = 'small';
|
|
1436
|
-
}
|
|
1437
|
-
ngOnInit() { }
|
|
1438
|
-
}
|
|
1439
|
-
AfConnectNoContentComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.1.0", ngImport: i0, type: AfConnectNoContentComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
1440
|
-
AfConnectNoContentComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.1.0", type: AfConnectNoContentComponent, selector: "lib-af-connect-no-content", inputs: { src: "src", title: "title", message: "message", alignContent: "alignContent", height: "height" }, ngImport: i0, template: "<div [class]=\"[alignContent, 'no-content-container', height]\">\r\n <img class=\"svg\" [src]=\"src\" />\r\n <div class=\"info-container\">\r\n <p class=\"no-content-title\">{{ title }}</p>\r\n <p class=\"no-content-message\">{{ message }}</p>\r\n </div>\r\n </div>\r\n ", styles: ["img{background:none;border:none;width:74px;height:55px;padding:1rem 1rem 1rem 0rem}.center{justify-content:center}.left{justify-content:start}.no-content-container{width:100%;display:flex;justify-content:center;align-items:center;background-color:var(--bright-apple-color-with-opacity);border-radius:15px}@media (max-width: 1024px){.no-content-container{justify-content:center;text-align:start}}.no-content-container.medium{height:15rem}.no-content-container.large{height:20rem}.no-content-container.xLarge{height:25rem}@media (max-width: 768px){.no-content-container.xLarge{height:27em}}.no-content-container.fill{height:100%}.info-container{padding:1rem 0rem}.no-content-message{font-size:var(--standard-font-size-16);font-family:var(--standard-font-family-hero-new);color:var(--secondary-black-color)}@media (max-width: 1024px){.no-content-message{font-size:var(--standard-font-size-14)}}@media (max-width: 768px){.no-content-message{font-size:var(--standard-font-size-14)}}.no-content-title{font-size:var(--standard-font-size-18);font-family:var(--standard-font-family-hero-new-semibold);color:var(--secondary-black-color)}@media (max-width: 1024px){.no-content-title{font-size:var(--standard-font-size-16)}}@media (max-width: 768px){.no-content-title{font-size:var(--standard-font-size-14)}}.no-content-message,.no-content-title{margin:0}:host(.full-width){position:relative;width:100%;display:block}\n"] });
|
|
1441
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.0", ngImport: i0, type: AfConnectNoContentComponent, decorators: [{
|
|
1442
|
-
type: Component,
|
|
1443
|
-
args: [{ selector: 'lib-af-connect-no-content', template: "<div [class]=\"[alignContent, 'no-content-container', height]\">\r\n <img class=\"svg\" [src]=\"src\" />\r\n <div class=\"info-container\">\r\n <p class=\"no-content-title\">{{ title }}</p>\r\n <p class=\"no-content-message\">{{ message }}</p>\r\n </div>\r\n </div>\r\n ", styles: ["img{background:none;border:none;width:74px;height:55px;padding:1rem 1rem 1rem 0rem}.center{justify-content:center}.left{justify-content:start}.no-content-container{width:100%;display:flex;justify-content:center;align-items:center;background-color:var(--bright-apple-color-with-opacity);border-radius:15px}@media (max-width: 1024px){.no-content-container{justify-content:center;text-align:start}}.no-content-container.medium{height:15rem}.no-content-container.large{height:20rem}.no-content-container.xLarge{height:25rem}@media (max-width: 768px){.no-content-container.xLarge{height:27em}}.no-content-container.fill{height:100%}.info-container{padding:1rem 0rem}.no-content-message{font-size:var(--standard-font-size-16);font-family:var(--standard-font-family-hero-new);color:var(--secondary-black-color)}@media (max-width: 1024px){.no-content-message{font-size:var(--standard-font-size-14)}}@media (max-width: 768px){.no-content-message{font-size:var(--standard-font-size-14)}}.no-content-title{font-size:var(--standard-font-size-18);font-family:var(--standard-font-family-hero-new-semibold);color:var(--secondary-black-color)}@media (max-width: 1024px){.no-content-title{font-size:var(--standard-font-size-16)}}@media (max-width: 768px){.no-content-title{font-size:var(--standard-font-size-14)}}.no-content-message,.no-content-title{margin:0}:host(.full-width){position:relative;width:100%;display:block}\n"] }]
|
|
1444
|
-
}], ctorParameters: function () { return []; }, propDecorators: { src: [{
|
|
1445
|
-
type: Input
|
|
1446
|
-
}], title: [{
|
|
1447
|
-
type: Input
|
|
1448
|
-
}], message: [{
|
|
1449
|
-
type: Input
|
|
1450
|
-
}], alignContent: [{
|
|
1451
|
-
type: Input
|
|
1452
|
-
}], height: [{
|
|
1453
|
-
type: Input
|
|
1454
|
-
}] } });
|
|
1455
|
-
|
|
1456
|
-
class AfConnectNotificationComponent {
|
|
1457
|
-
}
|
|
1458
|
-
AfConnectNotificationComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.1.0", ngImport: i0, type: AfConnectNotificationComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
1459
|
-
AfConnectNotificationComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.1.0", type: AfConnectNotificationComponent, selector: "lib-af-connect-notification", inputs: { data: "data", variant: "variant" }, ngImport: i0, template: "<div [class]=\"['wrapper', variant]\">\r\n <div [class]=\"['svg-container', variant]\">\r\n <img [class]=\"['svg-overlay', variant]\" src=\"/assets/icons/tool.svg\" alt=\"\">\r\n <img [class]=\"['svg-background', variant]\" src=\"/assets/icons/splash_background.svg\" alt=\"\">\r\n </div>\r\n \r\n <div class=\"text-container\">\r\n <span>{{ data.categoryTitleToDisplay }}</span>\r\n <div [innerHTML]=\"data.htmlContent\"></div>\r\n </div>\r\n</div>\r\n", styles: [".wrapper{display:flex;gap:1rem;height:-moz-fit-content;height:fit-content;background-color:#fff6eb;border:1px solid #F69521;border-left:5px solid #F69521;border-radius:5px;box-sizing:border-box;padding:1rem}.wrapper.wide{z-index:1;position:relative;border-radius:0}.wrapper .text-container{display:flex;flex-direction:column;gap:.5rem}.wrapper .text-container span{font-family:Hero New Bold;font-size:16px}.wrapper .text-container div{margin:0;font-size:14px}.svg-container{position:relative}.svg-overlay{position:absolute}.svg-overlay.small{width:31px;height:25px;left:.5rem}.svg-overlay.wide{width:71px;height:58px;top:1rem;left:3rem}.svg-background.small{width:47px;height:24px}.svg-background.wide{width:158px;height:85px}\n"] });
|
|
1460
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.0", ngImport: i0, type: AfConnectNotificationComponent, decorators: [{
|
|
1461
|
-
type: Component,
|
|
1462
|
-
args: [{ selector: 'lib-af-connect-notification', template: "<div [class]=\"['wrapper', variant]\">\r\n <div [class]=\"['svg-container', variant]\">\r\n <img [class]=\"['svg-overlay', variant]\" src=\"/assets/icons/tool.svg\" alt=\"\">\r\n <img [class]=\"['svg-background', variant]\" src=\"/assets/icons/splash_background.svg\" alt=\"\">\r\n </div>\r\n \r\n <div class=\"text-container\">\r\n <span>{{ data.categoryTitleToDisplay }}</span>\r\n <div [innerHTML]=\"data.htmlContent\"></div>\r\n </div>\r\n</div>\r\n", styles: [".wrapper{display:flex;gap:1rem;height:-moz-fit-content;height:fit-content;background-color:#fff6eb;border:1px solid #F69521;border-left:5px solid #F69521;border-radius:5px;box-sizing:border-box;padding:1rem}.wrapper.wide{z-index:1;position:relative;border-radius:0}.wrapper .text-container{display:flex;flex-direction:column;gap:.5rem}.wrapper .text-container span{font-family:Hero New Bold;font-size:16px}.wrapper .text-container div{margin:0;font-size:14px}.svg-container{position:relative}.svg-overlay{position:absolute}.svg-overlay.small{width:31px;height:25px;left:.5rem}.svg-overlay.wide{width:71px;height:58px;top:1rem;left:3rem}.svg-background.small{width:47px;height:24px}.svg-background.wide{width:158px;height:85px}\n"] }]
|
|
1463
|
-
}], propDecorators: { data: [{
|
|
1464
|
-
type: Input
|
|
1465
|
-
}], variant: [{
|
|
1466
|
-
type: Input
|
|
1467
|
-
}] } });
|
|
1468
|
-
|
|
1469
|
-
class AfConnectProgressBarComponent {
|
|
1470
|
-
constructor(cdr) {
|
|
1471
|
-
this.cdr = cdr;
|
|
1472
|
-
this.progressBarTreshold = 30;
|
|
1473
|
-
this.progressCounter = 0;
|
|
1474
|
-
this.minimumProgressAnimation = 30;
|
|
1475
|
-
this.withProgressAnimation = false;
|
|
1476
|
-
this.subscription = new Subscription();
|
|
1477
|
-
this.primaryColor = 'primary-green';
|
|
1478
|
-
this.secondaryColor = 'grey';
|
|
1479
|
-
}
|
|
1480
|
-
ngAfterViewInit() {
|
|
1481
|
-
this.minimumProgressAnimation = this.progress < this.progressBarTreshold ? this.progressBarTreshold : this.progress;
|
|
1482
|
-
interval(11)
|
|
1483
|
-
.pipe(take(this.minimumProgressAnimation || 100))
|
|
1484
|
-
.subscribe(() => {
|
|
1485
|
-
if (!this.withProgressAnimation) {
|
|
1486
|
-
this.progressCounter = this.progress;
|
|
1487
|
-
}
|
|
1488
|
-
else {
|
|
1489
|
-
this.progressCounter++;
|
|
1490
|
-
}
|
|
1491
|
-
this.cdr.detectChanges();
|
|
1492
|
-
});
|
|
1493
|
-
}
|
|
1494
|
-
}
|
|
1495
|
-
AfConnectProgressBarComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.1.0", ngImport: i0, type: AfConnectProgressBarComponent, deps: [{ token: i0.ChangeDetectorRef }], target: i0.ɵɵFactoryTarget.Component });
|
|
1496
|
-
AfConnectProgressBarComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.1.0", type: AfConnectProgressBarComponent, selector: "lib-af-connect-progress-bar", inputs: { withProgressAnimation: "withProgressAnimation", progress: "progress", primaryColor: "primaryColor", secondaryColor: "secondaryColor" }, ngImport: i0, template: "<div [ngClass]=\"[secondaryColor]\" class=\"progress-bar-container\">\r\n <div [ngClass]=\"['progress-bar', primaryColor]\" [style]=\"{ width: progressCounter + '%' }\">\r\n <div class=\"text-container\">\r\n <div>\r\n <ng-content></ng-content>\r\n </div>\r\n <span *ngIf=\"false\"> {{ progress.toFixed(0) }}% </span>\r\n </div>\r\n </div>\r\n </div>\r\n ", styles: [":host{display:block;max-width:100%}.progress-bar-base,.progress-bar,.progress-bar-container{border-radius:.5rem;height:2rem}.progress-bar-container{background-color:var(--dark-grey-color-low-opacity)}.progress-bar-container.orange{background-color:var(--primary-catalyst-yellow-color)}.progress-bar-container.transparent{background-color:transparent}.progress-bar{color:var(--main-white-color);background-color:var(--primary-balanced-teal-color)}.progress-bar.primary-orange{background-color:var(--primary-catalyst-yellow-color)}.text-container{min-width:120px;padding-left:.75rem;padding-right:.75rem;font-weight:500;display:flex;align-items:center;justify-content:space-between;font-size:14px;min-height:2rem}\n"], dependencies: [{ kind: "directive", type: i1$1.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { kind: "directive", type: i1$1.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }] });
|
|
1497
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.0", ngImport: i0, type: AfConnectProgressBarComponent, decorators: [{
|
|
1498
|
-
type: Component,
|
|
1499
|
-
args: [{ selector: 'lib-af-connect-progress-bar', template: "<div [ngClass]=\"[secondaryColor]\" class=\"progress-bar-container\">\r\n <div [ngClass]=\"['progress-bar', primaryColor]\" [style]=\"{ width: progressCounter + '%' }\">\r\n <div class=\"text-container\">\r\n <div>\r\n <ng-content></ng-content>\r\n </div>\r\n <span *ngIf=\"false\"> {{ progress.toFixed(0) }}% </span>\r\n </div>\r\n </div>\r\n </div>\r\n ", styles: [":host{display:block;max-width:100%}.progress-bar-base,.progress-bar,.progress-bar-container{border-radius:.5rem;height:2rem}.progress-bar-container{background-color:var(--dark-grey-color-low-opacity)}.progress-bar-container.orange{background-color:var(--primary-catalyst-yellow-color)}.progress-bar-container.transparent{background-color:transparent}.progress-bar{color:var(--main-white-color);background-color:var(--primary-balanced-teal-color)}.progress-bar.primary-orange{background-color:var(--primary-catalyst-yellow-color)}.text-container{min-width:120px;padding-left:.75rem;padding-right:.75rem;font-weight:500;display:flex;align-items:center;justify-content:space-between;font-size:14px;min-height:2rem}\n"] }]
|
|
1500
|
-
}], ctorParameters: function () { return [{ type: i0.ChangeDetectorRef }]; }, propDecorators: { withProgressAnimation: [{
|
|
1501
|
-
type: Input
|
|
1502
|
-
}], progress: [{
|
|
1503
|
-
type: Input
|
|
1504
|
-
}], primaryColor: [{
|
|
1505
|
-
type: Input
|
|
1506
|
-
}], secondaryColor: [{
|
|
1507
|
-
type: Input
|
|
1508
|
-
}] } });
|
|
1509
|
-
|
|
1510
|
-
class AfConnectSectionComponent {
|
|
1511
|
-
constructor() { }
|
|
1512
|
-
ngOnInit() {
|
|
1513
|
-
}
|
|
1514
|
-
}
|
|
1515
|
-
AfConnectSectionComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.1.0", ngImport: i0, type: AfConnectSectionComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
1516
|
-
AfConnectSectionComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.1.0", type: AfConnectSectionComponent, selector: "lib-af-connect-section", ngImport: i0, template: "<ng-content></ng-content>\r\n", styles: [":host{display:block;background-color:transparent;height:-moz-fit-content;height:fit-content;opacity:1;box-sizing:border-box;border-radius:var(--section-border-radius)}\n"] });
|
|
1517
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.0", ngImport: i0, type: AfConnectSectionComponent, decorators: [{
|
|
1518
|
-
type: Component,
|
|
1519
|
-
args: [{ selector: 'lib-af-connect-section', template: "<ng-content></ng-content>\r\n", styles: [":host{display:block;background-color:transparent;height:-moz-fit-content;height:fit-content;opacity:1;box-sizing:border-box;border-radius:var(--section-border-radius)}\n"] }]
|
|
1520
|
-
}], ctorParameters: function () { return []; } });
|
|
1521
|
-
|
|
1522
|
-
class AfConnectSectionHeaderComponent {
|
|
1523
|
-
constructor(wrapper) {
|
|
1524
|
-
this.wrapper = wrapper;
|
|
1525
|
-
this.isStatic = true;
|
|
1526
|
-
this.variant = 'default';
|
|
1527
|
-
this.onClick = new EventEmitter();
|
|
1528
|
-
}
|
|
1529
|
-
ngOnInit() { }
|
|
1530
|
-
toggleMobileContent() {
|
|
1531
|
-
this.onClick.emit();
|
|
1532
|
-
}
|
|
1533
|
-
}
|
|
1534
|
-
AfConnectSectionHeaderComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.1.0", ngImport: i0, type: AfConnectSectionHeaderComponent, deps: [{ token: ExpandableWrapperComponent, host: true, optional: true }], target: i0.ɵɵFactoryTarget.Component });
|
|
1535
|
-
AfConnectSectionHeaderComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.1.0", type: AfConnectSectionHeaderComponent, selector: "lib-af-connect-section-header", inputs: { title: "title", isStatic: "isStatic", variant: "variant" }, outputs: { onClick: "onClick" }, ngImport: i0, template: "<div class=\"header-container\" [ngClass]=\"[\r\n variant,\r\n isStatic ? 'isStatic' : 'isExpandable',\r\n (wrapper && wrapper.isExpanded$ | async) === true ? 'expanded' : '',\r\n (wrapper && wrapper.isExpanded$ | async) === false ? 'collapsed' : ''\r\n ]\" (click)=\"toggleMobileContent()\">\r\n <div class=\"section-wrapper\">\r\n <div class=\"{{variant}}\">\r\n {{ title }}\r\n </div>\r\n <ng-content select=\"[icon]\"></ng-content>\r\n <div class=\"buttons-container\">\r\n <ng-content></ng-content>\r\n </div>\r\n </div>\r\n <div *ngIf=\"isStatic\" class=\"border-line\"></div>\r\n</div>", styles: [":host{position:relative}:host(.investments-mobile) .buttons-container{margin:auto 0 0}:host(.portfolio-mobile-card-title){border:none}:host(.documents-section-header) .header-container .border-line{margin-bottom:.75rem}@keyframes colorchange{0%{background:var(--secondary-grey-color)}50%{background:#dae2e9}to{background:var(--secondary-grey-color)}}@keyframes colorBack{0%{background:var(--secondary-grey-color)}50%{background:#dae2e9}to{background:var(--secondary-grey-color)}}.header-container{background:var(--secondary-grey-color);font-family:var(--standard-font-family-hero-new-semibold);padding:1rem 1.75rem;min-height:2.7rem;border-radius:var(--section-border-radius);align-items:center;display:flex;flex-direction:column;justify-content:center}@media (max-width: 1024px){.header-container{font-size:18px}}@media (max-width: 768px){.header-container{padding:.5rem 1.25rem;min-height:0px;background-color:var(--main-background-color-mobile);border:1px solid var(--neutral-button-color);border-radius:0}}.header-container.default{font-size:1.4rem;color:var(--primary-dark-teal-color)}@media (max-width: 768px){.header-container.default{font-size:1.125rem}}.header-container.portfolio{font-size:var(--standard-font-size-14);color:var(--main-black-color)}.header-container.isStatic{background-color:var(--secondary-grey-color);font-family:var(--standard-font-family-hero-new-bold)}@media (max-width: 768px){.header-container.isStatic{background:var(--main-white-color);border:none;padding:.5rem 1.25rem 0}}.header-container.isExpandable{cursor:pointer}.section-wrapper{align-items:center;justify-content:space-between;display:flex;flex-direction:row;width:100%;gap:.5rem}@media (max-width: 768px){.title-container{max-width:170px}}.expanded{animation:colorchange .9s}.collapsed{animation:colorBack .9s}.buttons-container{display:flex;gap:1rem;margin-left:auto}@media (max-width: 768px){.buttons-container{font-size:11px;height:100%;font-family:var(--standard-font-family-hero-new-semibold)}}.border-line{display:none}@media (max-width: 768px){.border-line{width:100%;border-bottom:1px solid var(--primary-dark-teal-color);display:block;margin-top:8px}}\n"], dependencies: [{ kind: "directive", type: i1$1.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { kind: "directive", type: i1$1.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "pipe", type: i1$1.AsyncPipe, name: "async" }] });
|
|
1536
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.0", ngImport: i0, type: AfConnectSectionHeaderComponent, decorators: [{
|
|
1537
|
-
type: Component,
|
|
1538
|
-
args: [{ selector: 'lib-af-connect-section-header', template: "<div class=\"header-container\" [ngClass]=\"[\r\n variant,\r\n isStatic ? 'isStatic' : 'isExpandable',\r\n (wrapper && wrapper.isExpanded$ | async) === true ? 'expanded' : '',\r\n (wrapper && wrapper.isExpanded$ | async) === false ? 'collapsed' : ''\r\n ]\" (click)=\"toggleMobileContent()\">\r\n <div class=\"section-wrapper\">\r\n <div class=\"{{variant}}\">\r\n {{ title }}\r\n </div>\r\n <ng-content select=\"[icon]\"></ng-content>\r\n <div class=\"buttons-container\">\r\n <ng-content></ng-content>\r\n </div>\r\n </div>\r\n <div *ngIf=\"isStatic\" class=\"border-line\"></div>\r\n</div>", styles: [":host{position:relative}:host(.investments-mobile) .buttons-container{margin:auto 0 0}:host(.portfolio-mobile-card-title){border:none}:host(.documents-section-header) .header-container .border-line{margin-bottom:.75rem}@keyframes colorchange{0%{background:var(--secondary-grey-color)}50%{background:#dae2e9}to{background:var(--secondary-grey-color)}}@keyframes colorBack{0%{background:var(--secondary-grey-color)}50%{background:#dae2e9}to{background:var(--secondary-grey-color)}}.header-container{background:var(--secondary-grey-color);font-family:var(--standard-font-family-hero-new-semibold);padding:1rem 1.75rem;min-height:2.7rem;border-radius:var(--section-border-radius);align-items:center;display:flex;flex-direction:column;justify-content:center}@media (max-width: 1024px){.header-container{font-size:18px}}@media (max-width: 768px){.header-container{padding:.5rem 1.25rem;min-height:0px;background-color:var(--main-background-color-mobile);border:1px solid var(--neutral-button-color);border-radius:0}}.header-container.default{font-size:1.4rem;color:var(--primary-dark-teal-color)}@media (max-width: 768px){.header-container.default{font-size:1.125rem}}.header-container.portfolio{font-size:var(--standard-font-size-14);color:var(--main-black-color)}.header-container.isStatic{background-color:var(--secondary-grey-color);font-family:var(--standard-font-family-hero-new-bold)}@media (max-width: 768px){.header-container.isStatic{background:var(--main-white-color);border:none;padding:.5rem 1.25rem 0}}.header-container.isExpandable{cursor:pointer}.section-wrapper{align-items:center;justify-content:space-between;display:flex;flex-direction:row;width:100%;gap:.5rem}@media (max-width: 768px){.title-container{max-width:170px}}.expanded{animation:colorchange .9s}.collapsed{animation:colorBack .9s}.buttons-container{display:flex;gap:1rem;margin-left:auto}@media (max-width: 768px){.buttons-container{font-size:11px;height:100%;font-family:var(--standard-font-family-hero-new-semibold)}}.border-line{display:none}@media (max-width: 768px){.border-line{width:100%;border-bottom:1px solid var(--primary-dark-teal-color);display:block;margin-top:8px}}\n"] }]
|
|
1539
|
-
}], ctorParameters: function () {
|
|
1540
|
-
return [{ type: ExpandableWrapperComponent, decorators: [{
|
|
1541
|
-
type: Host
|
|
1542
|
-
}, {
|
|
1543
|
-
type: Optional
|
|
1544
|
-
}] }];
|
|
1545
|
-
}, propDecorators: { title: [{
|
|
1546
|
-
type: Input
|
|
1547
|
-
}], isStatic: [{
|
|
1548
|
-
type: Input
|
|
1549
|
-
}], variant: [{
|
|
1550
|
-
type: Input
|
|
1551
|
-
}], onClick: [{
|
|
1552
|
-
type: Output
|
|
1553
|
-
}] } });
|
|
1554
|
-
|
|
1555
|
-
class AfConnectSelectComponent {
|
|
1556
|
-
}
|
|
1557
|
-
AfConnectSelectComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.1.0", ngImport: i0, type: AfConnectSelectComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
1558
|
-
AfConnectSelectComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.1.0", type: AfConnectSelectComponent, selector: "lib-af-connect-select", ngImport: i0, template: "<!-- <div class=\"dropdown-collection\" [ngClass]=\"[size, (control && control.disabled) || isDisabled ? 'disabled' : 'not-disabled',]\" (click)=\"toggleDropdown($event)\">\r\n\r\n <div class=\"field-container\">\r\n <div class=\"label-container\">\r\n <label *ngIf=\"label\" [ngClass]=\"[variant]\" class=\"label\">\r\n {{ label }}<span *ngIf=\"withAsterisk\" class=\"asterisk\">*</span>\r\n </label>\r\n <afc-form-validation-errors\r\n [control]=\"control\"\r\n [fieldText]=\"errorReferenceText || label\"\r\n ></afc-form-validation-errors>\r\n </div>\r\n <div class=\"input-container\">\r\n <input\r\n type=\"text\"\r\n class=\"field-container-input\"\r\n [placeholder]=\"(isReadOnly && readOnlyPlaceholder) || placeholder\"\r\n [maxLength]=\"maxLength\"\r\n [ngClass]=\"[\r\n (control && control.disabled) || isDisabled ? 'disabled' : 'not-disabled',\r\n size,\r\n dropdownOpen ? 'dropdown-open' : '',\r\n control && control.errors && control.dirty && control.touched ? 'hasError' : '',\r\n filter ? 'filterable' : 'non-filterable'\r\n ]\"\r\n [disabled]=\"(control && control.disabled) || isDisabled || variant === 'read-only' || isReadOnly\"\r\n [(ngModel)]=\"currentValue\"\r\n (blur)=\"onBlur()\"\r\n (ngModelChange)=\"onChange($event)\"\r\n />\r\n <div class=\"arrow-container\" *ngIf=\"variant !== 'read-only'\">\r\n <afc-expandable-arrow\r\n endPosition=\"top\"\r\n startPosition=\"bottom\"\r\n animationSpeed=\"fast\"\r\n ngClass=\"arrow\"\r\n [isExpanded]=\"dropdownOpen\"\r\n >\r\n </afc-expandable-arrow>\r\n </div>\r\n </div>\r\n </div>\r\n \r\n <ng-container *ngTemplateOutlet=\"dropdownListItems; context: { type }\"></ng-container>\r\n </div>\r\n \r\n <ng-template #dropdownListItems let-type=\"type\">\r\n <ul\r\n class=\"dropdown-list\"\r\n role=\"listbox\"\r\n aria-expanded=\"false\"\r\n [@selectAnimation]=\"dropdownOpen ? 'expanded' : 'collapsed'\"\r\n [ngClass]=\"{ 'dropdown-open': dropdownOpen }\"\r\n >\r\n <ng-container\r\n *ngIf=\"filteredOptions.length !== 0; else noDropdownData\"\r\n [ngTemplateOutlet]=\"virtualScroll\"\r\n ></ng-container>\r\n </ul>\r\n </ng-template>\r\n \r\n <ng-template #virtualScroll>\r\n <cdk-virtual-scroll-viewport\r\n class=\"select-menu-inner\"\r\n [appendOnly]=\"true\"\r\n [itemSize]=\"SizeEnum[size]\"\r\n [style.height.px]=\"itemsShown * SizeEnum[size]\"\r\n [minBufferPx]=\"itemsShown * SizeEnum[size]\"\r\n [maxBufferPx]=\"itemsShown * SizeEnum[size]\"\r\n >\r\n <div\r\n class=\"list-item-container\"\r\n *cdkVirtualFor=\"let option of filteredOptions\"\r\n [ngClass]=\"[currentValue === option ? 'selected' : '', size]\"\r\n (click)=\"select(option)\"\r\n >\r\n <img\r\n height=\"14\"\r\n width=\"26\"\r\n *ngIf=\"(type === 'country' || type === 'country-code') && option['countryCode']\"\r\n [src]=\"'../../../../assets/country-flags/' + option?.['countryCode'] + '.svg' | lowercase\"\r\n />\r\n <li tabindex=\"0\" role=\"option\" [innerHTML]=\"valueField && textField ? option[textField] : option\"></li>\r\n </div>\r\n </cdk-virtual-scroll-viewport>\r\n </ng-template>\r\n \r\n <ng-template #noDropdownData>\r\n <div class=\"dropdown-no-data\">No Data</div>\r\n </ng-template>\r\n -->", styles: [":host{font-family:var(--standard-font-family-hero-new);font-size:.875rem;color:var(--main-black-color);min-width:5.2rem}:host[size=large]{width:100%}ul{overflow:hidden}.dropdown-collection{max-width:26rem;position:relative;cursor:pointer}.dropdown-collection.small .arrow{right:10px}.dropdown-collection.large{width:100%;max-width:100%}.dropdown-collection.large.disabled{pointer-events:none}.label{cursor:pointer}.label .asterisk{color:var(--primary-orange-mobile-color)}.label.large{margin-bottom:3px}.dropdown-list{display:block;background:var(--main-white-color);list-style:none;box-shadow:0 5px 8px #00000029;position:absolute;bottom:0;left:0;padding:0;z-index:10;right:0;margin:0;transform:translateY(100%);z-index:1001}.dropdown-list .list-item-container{display:flex;align-items:center;gap:.5rem;padding:.5rem .5rem .5rem 18px;cursor:pointer;color:var(--select-grey-color);border:2px solid transparent;box-sizing:border-box}.dropdown-list .list-item-container:hover,.dropdown-list .list-item-container:focus{transition-property:color,background-color;transition-duration:1.1s;border:2px solid #ceecef;border-radius:2px;background:#ceecef;outline:none;color:var(--footer-dark-black-color)}.dropdown-list .list-item-container.empty-option{min-height:20px}.dropdown-list .list-item-container.small{gap:.2rem;padding:.5rem 0 .5rem 2px}.dropdown-list .list-item-container.large{padding:11px 11px 11px 20px}.dropdown-list .dropdown-no-data{height:3rem;font-size:1rem;display:flex;align-items:center;justify-content:center;color:var(--neutral-anchor-color)}input{transition-property:outline-color,background-color;transition-duration:.2s}input:focus{outline:transparent}input::placeholder{color:var(--main-grey-color);opacity:.7}input.field-container-input{font-family:var(--standard-font-family-hero-new);font-size:.875rem;padding:11px 2rem 11px 1.25rem;width:100%;background-color:var(--main-white-color);color:var(--main-black-color);border:1px solid transparent;transition-property:border-color,background-color;transition-duration:.2s}input.field-container-input.hasError{border:1px solid var(--primary-connected-orange-color)!important;background-color:var(--neutral-inline-error-color)}input.field-container-input.filterable{pointer-events:all}input.field-container-input.non-filterable{pointer-events:none}input.field-container-input.read-only{background-color:var(--neutral-button-color);color:var(--warm-grey-color)}@media (max-width: 768px){input.field-container-input{font-size:13px;border-radius:var(--input-border-radius);box-shadow:var(--input-box-shadow)}}input.not-disabled{color:var(--warm-grey-color);border-color:var(--primary-dark-teal-color)}input.not-disabled:disabled{border:none;color:var(--warm-grey-color);background-color:var(--neutral-button-color)}input.small{padding-left:.5rem}input.large{color:var(--main-black-color);padding:15px;border:none}input.large:disabled{background-color:var(--neutral-button-color);color:var(--warm-grey-color)}input.dropdown-open{border-color:transparent;box-shadow:0 5px 8px #00000029}input.read-only{background-color:var(--neutral-button-color)}.field-container{display:flex;flex-direction:column;gap:.5rem}.field-container .label-container{display:flex;justify-content:space-between}cdk-virtual-scroll-viewport::-webkit-scrollbar{width:.4rem}cdk-virtual-scroll-viewport::-webkit-scrollbar-thumb{border-radius:2px;background-color:var(--primary-balanced-teal-color);outline:none}.input-container{display:flex}.arrow-container{position:relative;display:flex;min-height:100%;justify-content:center;align-items:center}.arrow-container .arrow{position:absolute;cursor:pointer;right:10px}:host(.countryCode) .label-container{flex-direction:column}\n"] });
|
|
1559
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.0", ngImport: i0, type: AfConnectSelectComponent, decorators: [{
|
|
1560
|
-
type: Component,
|
|
1561
|
-
args: [{ selector: 'lib-af-connect-select', template: "<!-- <div class=\"dropdown-collection\" [ngClass]=\"[size, (control && control.disabled) || isDisabled ? 'disabled' : 'not-disabled',]\" (click)=\"toggleDropdown($event)\">\r\n\r\n <div class=\"field-container\">\r\n <div class=\"label-container\">\r\n <label *ngIf=\"label\" [ngClass]=\"[variant]\" class=\"label\">\r\n {{ label }}<span *ngIf=\"withAsterisk\" class=\"asterisk\">*</span>\r\n </label>\r\n <afc-form-validation-errors\r\n [control]=\"control\"\r\n [fieldText]=\"errorReferenceText || label\"\r\n ></afc-form-validation-errors>\r\n </div>\r\n <div class=\"input-container\">\r\n <input\r\n type=\"text\"\r\n class=\"field-container-input\"\r\n [placeholder]=\"(isReadOnly && readOnlyPlaceholder) || placeholder\"\r\n [maxLength]=\"maxLength\"\r\n [ngClass]=\"[\r\n (control && control.disabled) || isDisabled ? 'disabled' : 'not-disabled',\r\n size,\r\n dropdownOpen ? 'dropdown-open' : '',\r\n control && control.errors && control.dirty && control.touched ? 'hasError' : '',\r\n filter ? 'filterable' : 'non-filterable'\r\n ]\"\r\n [disabled]=\"(control && control.disabled) || isDisabled || variant === 'read-only' || isReadOnly\"\r\n [(ngModel)]=\"currentValue\"\r\n (blur)=\"onBlur()\"\r\n (ngModelChange)=\"onChange($event)\"\r\n />\r\n <div class=\"arrow-container\" *ngIf=\"variant !== 'read-only'\">\r\n <afc-expandable-arrow\r\n endPosition=\"top\"\r\n startPosition=\"bottom\"\r\n animationSpeed=\"fast\"\r\n ngClass=\"arrow\"\r\n [isExpanded]=\"dropdownOpen\"\r\n >\r\n </afc-expandable-arrow>\r\n </div>\r\n </div>\r\n </div>\r\n \r\n <ng-container *ngTemplateOutlet=\"dropdownListItems; context: { type }\"></ng-container>\r\n </div>\r\n \r\n <ng-template #dropdownListItems let-type=\"type\">\r\n <ul\r\n class=\"dropdown-list\"\r\n role=\"listbox\"\r\n aria-expanded=\"false\"\r\n [@selectAnimation]=\"dropdownOpen ? 'expanded' : 'collapsed'\"\r\n [ngClass]=\"{ 'dropdown-open': dropdownOpen }\"\r\n >\r\n <ng-container\r\n *ngIf=\"filteredOptions.length !== 0; else noDropdownData\"\r\n [ngTemplateOutlet]=\"virtualScroll\"\r\n ></ng-container>\r\n </ul>\r\n </ng-template>\r\n \r\n <ng-template #virtualScroll>\r\n <cdk-virtual-scroll-viewport\r\n class=\"select-menu-inner\"\r\n [appendOnly]=\"true\"\r\n [itemSize]=\"SizeEnum[size]\"\r\n [style.height.px]=\"itemsShown * SizeEnum[size]\"\r\n [minBufferPx]=\"itemsShown * SizeEnum[size]\"\r\n [maxBufferPx]=\"itemsShown * SizeEnum[size]\"\r\n >\r\n <div\r\n class=\"list-item-container\"\r\n *cdkVirtualFor=\"let option of filteredOptions\"\r\n [ngClass]=\"[currentValue === option ? 'selected' : '', size]\"\r\n (click)=\"select(option)\"\r\n >\r\n <img\r\n height=\"14\"\r\n width=\"26\"\r\n *ngIf=\"(type === 'country' || type === 'country-code') && option['countryCode']\"\r\n [src]=\"'../../../../assets/country-flags/' + option?.['countryCode'] + '.svg' | lowercase\"\r\n />\r\n <li tabindex=\"0\" role=\"option\" [innerHTML]=\"valueField && textField ? option[textField] : option\"></li>\r\n </div>\r\n </cdk-virtual-scroll-viewport>\r\n </ng-template>\r\n \r\n <ng-template #noDropdownData>\r\n <div class=\"dropdown-no-data\">No Data</div>\r\n </ng-template>\r\n -->", styles: [":host{font-family:var(--standard-font-family-hero-new);font-size:.875rem;color:var(--main-black-color);min-width:5.2rem}:host[size=large]{width:100%}ul{overflow:hidden}.dropdown-collection{max-width:26rem;position:relative;cursor:pointer}.dropdown-collection.small .arrow{right:10px}.dropdown-collection.large{width:100%;max-width:100%}.dropdown-collection.large.disabled{pointer-events:none}.label{cursor:pointer}.label .asterisk{color:var(--primary-orange-mobile-color)}.label.large{margin-bottom:3px}.dropdown-list{display:block;background:var(--main-white-color);list-style:none;box-shadow:0 5px 8px #00000029;position:absolute;bottom:0;left:0;padding:0;z-index:10;right:0;margin:0;transform:translateY(100%);z-index:1001}.dropdown-list .list-item-container{display:flex;align-items:center;gap:.5rem;padding:.5rem .5rem .5rem 18px;cursor:pointer;color:var(--select-grey-color);border:2px solid transparent;box-sizing:border-box}.dropdown-list .list-item-container:hover,.dropdown-list .list-item-container:focus{transition-property:color,background-color;transition-duration:1.1s;border:2px solid #ceecef;border-radius:2px;background:#ceecef;outline:none;color:var(--footer-dark-black-color)}.dropdown-list .list-item-container.empty-option{min-height:20px}.dropdown-list .list-item-container.small{gap:.2rem;padding:.5rem 0 .5rem 2px}.dropdown-list .list-item-container.large{padding:11px 11px 11px 20px}.dropdown-list .dropdown-no-data{height:3rem;font-size:1rem;display:flex;align-items:center;justify-content:center;color:var(--neutral-anchor-color)}input{transition-property:outline-color,background-color;transition-duration:.2s}input:focus{outline:transparent}input::placeholder{color:var(--main-grey-color);opacity:.7}input.field-container-input{font-family:var(--standard-font-family-hero-new);font-size:.875rem;padding:11px 2rem 11px 1.25rem;width:100%;background-color:var(--main-white-color);color:var(--main-black-color);border:1px solid transparent;transition-property:border-color,background-color;transition-duration:.2s}input.field-container-input.hasError{border:1px solid var(--primary-connected-orange-color)!important;background-color:var(--neutral-inline-error-color)}input.field-container-input.filterable{pointer-events:all}input.field-container-input.non-filterable{pointer-events:none}input.field-container-input.read-only{background-color:var(--neutral-button-color);color:var(--warm-grey-color)}@media (max-width: 768px){input.field-container-input{font-size:13px;border-radius:var(--input-border-radius);box-shadow:var(--input-box-shadow)}}input.not-disabled{color:var(--warm-grey-color);border-color:var(--primary-dark-teal-color)}input.not-disabled:disabled{border:none;color:var(--warm-grey-color);background-color:var(--neutral-button-color)}input.small{padding-left:.5rem}input.large{color:var(--main-black-color);padding:15px;border:none}input.large:disabled{background-color:var(--neutral-button-color);color:var(--warm-grey-color)}input.dropdown-open{border-color:transparent;box-shadow:0 5px 8px #00000029}input.read-only{background-color:var(--neutral-button-color)}.field-container{display:flex;flex-direction:column;gap:.5rem}.field-container .label-container{display:flex;justify-content:space-between}cdk-virtual-scroll-viewport::-webkit-scrollbar{width:.4rem}cdk-virtual-scroll-viewport::-webkit-scrollbar-thumb{border-radius:2px;background-color:var(--primary-balanced-teal-color);outline:none}.input-container{display:flex}.arrow-container{position:relative;display:flex;min-height:100%;justify-content:center;align-items:center}.arrow-container .arrow{position:absolute;cursor:pointer;right:10px}:host(.countryCode) .label-container{flex-direction:column}\n"] }]
|
|
1562
|
-
}] });
|
|
1563
|
-
|
|
1564
|
-
class AfConnectTabComponent {
|
|
1565
|
-
constructor() {
|
|
1566
|
-
this.isActive = false;
|
|
1567
|
-
}
|
|
1568
|
-
}
|
|
1569
|
-
AfConnectTabComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.1.0", ngImport: i0, type: AfConnectTabComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
1570
|
-
AfConnectTabComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.1.0", type: AfConnectTabComponent, selector: "lib-af-connect-tab", inputs: { label: "label", isActive: "isActive", tabButtons: "tabButtons" }, ngImport: i0, template: "<div [hidden]=\"!isActive\">\r\n <ng-content></ng-content>\r\n </div>\r\n ", styles: [""] });
|
|
1571
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.0", ngImport: i0, type: AfConnectTabComponent, decorators: [{
|
|
1572
|
-
type: Component,
|
|
1573
|
-
args: [{ selector: 'lib-af-connect-tab', template: "<div [hidden]=\"!isActive\">\r\n <ng-content></ng-content>\r\n </div>\r\n " }]
|
|
1574
|
-
}], propDecorators: { label: [{
|
|
1575
|
-
type: Input
|
|
1576
|
-
}], isActive: [{
|
|
1577
|
-
type: Input
|
|
1578
|
-
}], tabButtons: [{
|
|
1579
|
-
type: Input
|
|
1580
|
-
}] } });
|
|
1581
|
-
|
|
1582
|
-
class AfConnectTabsComponent {
|
|
1583
|
-
constructor(cdr) {
|
|
1584
|
-
this.cdr = cdr;
|
|
1585
|
-
this.subs = new Subscription();
|
|
1586
|
-
this.activeTabSelected = new EventEmitter();
|
|
1587
|
-
}
|
|
1588
|
-
ngOnDestroy() {
|
|
1589
|
-
this.subs.unsubscribe();
|
|
1590
|
-
}
|
|
1591
|
-
ngOnInit() {
|
|
1592
|
-
this.subs.add(fromEvent(window, 'resize')
|
|
1593
|
-
.pipe(debounceTime(50))
|
|
1594
|
-
.subscribe(() => {
|
|
1595
|
-
this.triggerSlider(this.activeTabIndex);
|
|
1596
|
-
}));
|
|
1597
|
-
}
|
|
1598
|
-
ngAfterContentChecked() {
|
|
1599
|
-
if (!this.selectedTabIndex) {
|
|
1600
|
-
const activeTab = this.tabs.find((tab) => tab.isActive);
|
|
1601
|
-
if (!activeTab) {
|
|
1602
|
-
const firstTab = this.tabs.first;
|
|
1603
|
-
firstTab.isActive = true;
|
|
1604
|
-
this.activeTabIndex = 0;
|
|
1605
|
-
this.activeTabSelected.emit(0);
|
|
1606
|
-
}
|
|
1607
|
-
}
|
|
1608
|
-
else {
|
|
1609
|
-
this.setActiveLabel();
|
|
1610
|
-
}
|
|
1611
|
-
}
|
|
1612
|
-
ngAfterViewChecked() {
|
|
1613
|
-
if (!this.activeTabIndex) {
|
|
1614
|
-
this.triggerSlider(0);
|
|
1615
|
-
}
|
|
1616
|
-
}
|
|
1617
|
-
get activeTab() {
|
|
1618
|
-
return this.tabs.find((tab) => tab.isActive) || this.tabs.first;
|
|
1619
|
-
}
|
|
1620
|
-
activateTab(selectedTab, index) {
|
|
1621
|
-
this.tabs.forEach((tab) => {
|
|
1622
|
-
tab.isActive = tab === selectedTab;
|
|
1623
|
-
});
|
|
1624
|
-
this.activeTabIndex = index;
|
|
1625
|
-
this.triggerSlider(index);
|
|
1626
|
-
this.activeTabSelected.emit(index);
|
|
1627
|
-
}
|
|
1628
|
-
triggerSlider(i) {
|
|
1629
|
-
const activeTabRef = this.tabsRefs.get(i);
|
|
1630
|
-
this.slider.nativeElement.style.left = `${activeTabRef === null || activeTabRef === void 0 ? void 0 : activeTabRef.nativeElement.offsetLeft}px`;
|
|
1631
|
-
this.slider.nativeElement.style.width = `${activeTabRef === null || activeTabRef === void 0 ? void 0 : activeTabRef.nativeElement.offsetWidth}px`;
|
|
1632
|
-
}
|
|
1633
|
-
setActiveLabel() {
|
|
1634
|
-
this.tabs.find((tab, i) => {
|
|
1635
|
-
const foundTab = i === this.selectedTabIndex;
|
|
1636
|
-
if (foundTab) {
|
|
1637
|
-
this.activeTabIndex = i;
|
|
1638
|
-
tab.isActive = true;
|
|
1639
|
-
}
|
|
1640
|
-
return foundTab;
|
|
1641
|
-
});
|
|
1642
|
-
}
|
|
1643
|
-
}
|
|
1644
|
-
AfConnectTabsComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.1.0", ngImport: i0, type: AfConnectTabsComponent, deps: [{ token: i0.ChangeDetectorRef }], target: i0.ɵɵFactoryTarget.Component });
|
|
1645
|
-
AfConnectTabsComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.1.0", type: AfConnectTabsComponent, selector: "lib-af-connect-tabs", inputs: { selectedTabIndex: "selectedTabIndex" }, outputs: { activeTabSelected: "activeTabSelected" }, queries: [{ propertyName: "tabs", predicate: AfConnectTabComponent }], viewQueries: [{ propertyName: "slider", first: true, predicate: ["slider"], descendants: true, read: ElementRef }, { propertyName: "tabsRefs", predicate: ["tab"], descendants: true, read: ElementRef }], ngImport: i0, template: "<nav class=\"tabs-nav\">\r\n <ul class=\"nav-list\">\r\n <li #tab *ngFor=\"let tab of tabs; let i = index\" class=\"nav-item\" [class.active]=\"tab.isActive\">\r\n <button class=\"nav-button\" (click)=\"activateTab(tab, i)\">\r\n {{ tab.label }}\r\n </button>\r\n </li>\r\n <span #slider class=\"slider\"></span>\r\n </ul>\r\n <div class=\"nav-action-buttons\">\r\n <ng-container [ngTemplateOutlet]=\"activeTab.tabButtons\"></ng-container>\r\n </div>\r\n </nav>\r\n <ng-content></ng-content>\r\n ", styles: [":host{width:100%}.tabs-nav{display:flex;align-items:center;justify-content:space-between;margin-bottom:1.75rem;border-bottom:1px solid var(--primary-dark-teal-color)}@media (max-width: 768px){.tabs-nav{flex-direction:column;margin-bottom:.625rem;border:none}}.nav-list{display:flex;position:relative;margin:0;padding:0;list-style-type:none}.nav-list .slider{position:absolute;bottom:0;border-top-width:1px;border-color:var(--primary-dark-teal-color);border-top-style:solid;transition-property:left,width;transition-duration:.25s;transition-timing-function:cubic-bezier(.4,0,.2,1)}@media (max-width: 768px){.nav-list{margin-right:auto;justify-content:space-between;width:80%;max-width:320px;border-bottom:1px solid var(--light-grey-color)}.nav-list .nav-item .nav-button{padding-inline:1.25rem}.nav-list .slider{border-color:var(--primary-orange-mobile-color)}}.nav-item{position:relative}.nav-item:first-child .nav-button{padding-right:1.75rem}.nav-item:not(:first-child) .nav-button{padding-inline:1.75rem}.nav-item.active .nav-button{color:var(--primary-dark-teal-color);text-shadow:0px 0px 1px var(--primary-dark-teal-color)}@media (max-width: 768px){.nav-item.active .nav-button{text-shadow:none}}.nav-button{display:block;background:none;border:none;height:100%;padding:1.5rem 0;font-family:var(--standard-font-family-hero-new);font-size:1rem;color:var(--secondary-space-color);cursor:pointer}@media (max-width: 768px){.nav-button{padding-block:.375rem;font-size:.875rem;font-family:var(--standard-font-family-hero-new-semibold);color:var(--primary-dark-teal-color)}}.nav-action-buttons{display:flex;justify-content:flex-end;gap:1rem;min-width:25%}@media (max-width: 768px){.nav-action-buttons{align-self:flex-end;padding-top:1.125rem;max-width:100px;min-width:auto}}@media (max-width: 1024px){.nav-action-buttons{max-width:200px}}:host(.mobile-claim-info-tabs) .nav-list{width:100%}\n"], dependencies: [{ kind: "directive", type: i1$1.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { kind: "directive", type: i1$1.NgTemplateOutlet, selector: "[ngTemplateOutlet]", inputs: ["ngTemplateOutletContext", "ngTemplateOutlet", "ngTemplateOutletInjector"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
|
1646
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.0", ngImport: i0, type: AfConnectTabsComponent, decorators: [{
|
|
1647
|
-
type: Component,
|
|
1648
|
-
args: [{ selector: 'lib-af-connect-tabs', changeDetection: ChangeDetectionStrategy.OnPush, template: "<nav class=\"tabs-nav\">\r\n <ul class=\"nav-list\">\r\n <li #tab *ngFor=\"let tab of tabs; let i = index\" class=\"nav-item\" [class.active]=\"tab.isActive\">\r\n <button class=\"nav-button\" (click)=\"activateTab(tab, i)\">\r\n {{ tab.label }}\r\n </button>\r\n </li>\r\n <span #slider class=\"slider\"></span>\r\n </ul>\r\n <div class=\"nav-action-buttons\">\r\n <ng-container [ngTemplateOutlet]=\"activeTab.tabButtons\"></ng-container>\r\n </div>\r\n </nav>\r\n <ng-content></ng-content>\r\n ", styles: [":host{width:100%}.tabs-nav{display:flex;align-items:center;justify-content:space-between;margin-bottom:1.75rem;border-bottom:1px solid var(--primary-dark-teal-color)}@media (max-width: 768px){.tabs-nav{flex-direction:column;margin-bottom:.625rem;border:none}}.nav-list{display:flex;position:relative;margin:0;padding:0;list-style-type:none}.nav-list .slider{position:absolute;bottom:0;border-top-width:1px;border-color:var(--primary-dark-teal-color);border-top-style:solid;transition-property:left,width;transition-duration:.25s;transition-timing-function:cubic-bezier(.4,0,.2,1)}@media (max-width: 768px){.nav-list{margin-right:auto;justify-content:space-between;width:80%;max-width:320px;border-bottom:1px solid var(--light-grey-color)}.nav-list .nav-item .nav-button{padding-inline:1.25rem}.nav-list .slider{border-color:var(--primary-orange-mobile-color)}}.nav-item{position:relative}.nav-item:first-child .nav-button{padding-right:1.75rem}.nav-item:not(:first-child) .nav-button{padding-inline:1.75rem}.nav-item.active .nav-button{color:var(--primary-dark-teal-color);text-shadow:0px 0px 1px var(--primary-dark-teal-color)}@media (max-width: 768px){.nav-item.active .nav-button{text-shadow:none}}.nav-button{display:block;background:none;border:none;height:100%;padding:1.5rem 0;font-family:var(--standard-font-family-hero-new);font-size:1rem;color:var(--secondary-space-color);cursor:pointer}@media (max-width: 768px){.nav-button{padding-block:.375rem;font-size:.875rem;font-family:var(--standard-font-family-hero-new-semibold);color:var(--primary-dark-teal-color)}}.nav-action-buttons{display:flex;justify-content:flex-end;gap:1rem;min-width:25%}@media (max-width: 768px){.nav-action-buttons{align-self:flex-end;padding-top:1.125rem;max-width:100px;min-width:auto}}@media (max-width: 1024px){.nav-action-buttons{max-width:200px}}:host(.mobile-claim-info-tabs) .nav-list{width:100%}\n"] }]
|
|
1649
|
-
}], ctorParameters: function () { return [{ type: i0.ChangeDetectorRef }]; }, propDecorators: { tabs: [{
|
|
1650
|
-
type: ContentChildren,
|
|
1651
|
-
args: [AfConnectTabComponent]
|
|
1652
|
-
}], slider: [{
|
|
1653
|
-
type: ViewChild,
|
|
1654
|
-
args: ['slider', { read: ElementRef }]
|
|
1655
|
-
}], tabsRefs: [{
|
|
1656
|
-
type: ViewChildren,
|
|
1657
|
-
args: ['tab', { read: ElementRef }]
|
|
1658
|
-
}], selectedTabIndex: [{
|
|
1659
|
-
type: Input
|
|
1660
|
-
}], activeTabSelected: [{
|
|
1661
|
-
type: Output
|
|
1662
|
-
}] } });
|
|
1663
|
-
|
|
1664
|
-
class AfConnectTableComponent {
|
|
1665
|
-
}
|
|
1666
|
-
AfConnectTableComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.1.0", ngImport: i0, type: AfConnectTableComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
1667
|
-
AfConnectTableComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.1.0", type: AfConnectTableComponent, selector: "lib-af-connect-table", ngImport: i0, template: "<p>af-connect-table works!</p>\r\n", styles: [""] });
|
|
1668
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.0", ngImport: i0, type: AfConnectTableComponent, decorators: [{
|
|
1669
|
-
type: Component,
|
|
1670
|
-
args: [{ selector: 'lib-af-connect-table', template: "<p>af-connect-table works!</p>\r\n" }]
|
|
1671
|
-
}] });
|
|
1672
|
-
|
|
1673
|
-
class AfConnectToasterMessageComponent {
|
|
1674
|
-
constructor() {
|
|
1675
|
-
this.size = 'small';
|
|
1676
|
-
this.timer = 5000;
|
|
1677
|
-
this.onClose = new EventEmitter();
|
|
1678
|
-
}
|
|
1679
|
-
ngOnInit() {
|
|
1680
|
-
setTimeout(() => this.onClose.emit(), this.timer);
|
|
1681
|
-
}
|
|
1682
|
-
closeToast() {
|
|
1683
|
-
this.onClose.emit();
|
|
1684
|
-
}
|
|
1685
|
-
}
|
|
1686
|
-
AfConnectToasterMessageComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.1.0", ngImport: i0, type: AfConnectToasterMessageComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
1687
|
-
AfConnectToasterMessageComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.1.0", type: AfConnectToasterMessageComponent, selector: "lib-af-connect-toaster-message", inputs: { message: "message", src: "src", size: "size", timer: "timer" }, outputs: { onClose: "onClose" }, ngImport: i0, template: "<div class=\"toaster-container\">\r\n <img [class]=\"['svg', size]\" [src]=\"src\" />\r\n <span class=\"toaster-message\">{{ message }}</span>\r\n <afc-svg-button\r\n ngClass=\"close-btn\"\r\n size=\"medium\"\r\n src=\"/assets/icons/delete.svg\"\r\n emitValue=\"isCloseModal\"\r\n (clickBtn)=\"closeToast()\"\r\n >\r\n </afc-svg-button>\r\n </div>\r\n ", styles: [":host{display:flex;min-height:2rem;padding-top:.5em;flex-direction:column}img{background:none;border:none;cursor:pointer;justify-content:center}.svg.small{width:14px;height:14px}.svg.medium{width:16px;height:16px}@media (max-width: 768px){.svg.medium{width:14px;height:14px}}@media (max-width: 1024px){.svg.large{width:23px;height:23px}}.toaster-container{border-radius:5px;padding:.5rem 1rem;opacity:1;display:flex;align-items:center;gap:1rem;box-shadow:0 3px 6px #00000029;border-left:8px solid var(--primary-orange-mobile-color);justify-content:space-between}.toaster-message{font-size:12px;color:var(--main-black-color);display:flex;justify-content:center;line-height:2;margin:0 auto 0 0}.close-btn{line-height:0}\n"], dependencies: [{ kind: "directive", type: i1$1.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }] });
|
|
1688
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.0", ngImport: i0, type: AfConnectToasterMessageComponent, decorators: [{
|
|
1689
|
-
type: Component,
|
|
1690
|
-
args: [{ selector: 'lib-af-connect-toaster-message', template: "<div class=\"toaster-container\">\r\n <img [class]=\"['svg', size]\" [src]=\"src\" />\r\n <span class=\"toaster-message\">{{ message }}</span>\r\n <afc-svg-button\r\n ngClass=\"close-btn\"\r\n size=\"medium\"\r\n src=\"/assets/icons/delete.svg\"\r\n emitValue=\"isCloseModal\"\r\n (clickBtn)=\"closeToast()\"\r\n >\r\n </afc-svg-button>\r\n </div>\r\n ", styles: [":host{display:flex;min-height:2rem;padding-top:.5em;flex-direction:column}img{background:none;border:none;cursor:pointer;justify-content:center}.svg.small{width:14px;height:14px}.svg.medium{width:16px;height:16px}@media (max-width: 768px){.svg.medium{width:14px;height:14px}}@media (max-width: 1024px){.svg.large{width:23px;height:23px}}.toaster-container{border-radius:5px;padding:.5rem 1rem;opacity:1;display:flex;align-items:center;gap:1rem;box-shadow:0 3px 6px #00000029;border-left:8px solid var(--primary-orange-mobile-color);justify-content:space-between}.toaster-message{font-size:12px;color:var(--main-black-color);display:flex;justify-content:center;line-height:2;margin:0 auto 0 0}.close-btn{line-height:0}\n"] }]
|
|
1691
|
-
}], propDecorators: { message: [{
|
|
1692
|
-
type: Input
|
|
1693
|
-
}], src: [{
|
|
1694
|
-
type: Input
|
|
1695
|
-
}], size: [{
|
|
1696
|
-
type: Input
|
|
1697
|
-
}], timer: [{
|
|
1698
|
-
type: Input
|
|
1699
|
-
}], onClose: [{
|
|
1700
|
-
type: Output
|
|
1701
|
-
}] } });
|
|
1702
|
-
|
|
1703
|
-
const TAB_SLIDER_TIMING_FN = '1000ms cubic-bezier(0.4, 0, 0.2, 1)';
|
|
1704
|
-
const flyInOutLeftColumn = [
|
|
1705
|
-
trigger('flyInOutLeftColumn', [
|
|
1706
|
-
state('in', style({ opacity: 0, transform: 'translateY(0)', background: 'blue' })),
|
|
1707
|
-
transition('void => *', [style({ opacity: 0, transform: 'translateY(-100%)' }), animate('310ms')]),
|
|
1708
|
-
transition('* => void', [animate('310ms', style({ opacity: 0, transform: 'translateY(-100%)' }))])
|
|
1709
|
-
])
|
|
1710
|
-
];
|
|
1711
|
-
const flyInOutRightColumn = [
|
|
1712
|
-
trigger('flyInOutRightColumn', [
|
|
1713
|
-
state('in', style({ opacity: 1, transform: 'translateY(0)' })),
|
|
1714
|
-
transition('void => *', [style({ opacity: 0, transform: 'translateY(-100%)' }), animate('310ms 310ms')]),
|
|
1715
|
-
transition('* => void', [animate('310ms 310ms', style({ opacity: 0, transform: 'translateY(-100%)' }))])
|
|
1716
|
-
])
|
|
1717
|
-
];
|
|
1718
|
-
const fadeAnimationGuide = trigger('fadeAnimation', [
|
|
1719
|
-
transition(':enter', [style({ opacity: 0 }), animate('300ms', style({ opacity: 1 }))]),
|
|
1720
|
-
transition(':leave', [style({ opacity: 1 }), animate('300ms', style({ opacity: 0 }))])
|
|
1721
|
-
]);
|
|
1722
|
-
const fadeAnimation = trigger('fadeAnimation', [
|
|
1723
|
-
transition(':enter', [style({ opacity: 0 }), animate('300ms ease-out', style({ opacity: 1 }))]),
|
|
1724
|
-
transition(':leave', [style({ opacity: 1 }), animate('300ms ease-out', style({ opacity: 0 }))])
|
|
1725
|
-
]);
|
|
1726
|
-
const staggerFadeIn = [
|
|
1727
|
-
trigger('stagger', [
|
|
1728
|
-
transition('* => *', [
|
|
1729
|
-
query(':enter', [style({ opacity: 0 }), stagger(100, [animate('0.5s', style({ opacity: 1 }))])], {
|
|
1730
|
-
optional: true
|
|
1731
|
-
})
|
|
1732
|
-
])
|
|
1733
|
-
])
|
|
1734
|
-
];
|
|
1735
|
-
const expandableContainer = [
|
|
1736
|
-
trigger('expandContainer', [
|
|
1737
|
-
transition(':enter', [
|
|
1738
|
-
style({ height: '0px', visibility: 'hidden' }),
|
|
1739
|
-
animate('300ms ease-out', style({ height: '*', visibility: 'visible' }))
|
|
1740
|
-
]),
|
|
1741
|
-
transition(':leave', [animate('300ms ease-out', style({ height: '0px', visibility: 'hidden' }))])
|
|
1742
|
-
])
|
|
1743
|
-
];
|
|
1744
|
-
const expandableArrow = [
|
|
1745
|
-
trigger('expandableArrow', [
|
|
1746
|
-
state('collapsed', style({ transform: 'rotate({{direction}}{{collapsedRotation}}deg)' }), {
|
|
1747
|
-
params: { collapsedRotation: '0', direction: '' }
|
|
1748
|
-
}),
|
|
1749
|
-
state('expanded', style({ transform: 'rotate({{direction}}{{expandedRotation}}deg)' }), {
|
|
1750
|
-
params: { expandedRotation: '90', direction: '' }
|
|
1751
|
-
}),
|
|
1752
|
-
transition('expanded <=> collapsed', animate('{{getNumberSpeed}}ms ease-out'), {
|
|
1753
|
-
params: { getNumberSpeed: 300 }
|
|
1754
|
-
}),
|
|
1755
|
-
transition('collapsed <=> expanded', animate('{{getNumberSpeed}}ms ease-out'), {
|
|
1756
|
-
params: { getNumberSpeed: 300 }
|
|
1757
|
-
})
|
|
1758
|
-
])
|
|
1759
|
-
];
|
|
1760
|
-
const selectAnimation = [
|
|
1761
|
-
trigger('selectAnimation', [
|
|
1762
|
-
state('collapsed', style({ height: '0px', minHeight: '0', visibility: 'hidden', border: 'none' })),
|
|
1763
|
-
state('expanded', style({ height: '*' })),
|
|
1764
|
-
transition('expanded <=> collapsed', animate('180ms cubic-bezier(0.8, 0.5, 0.7, 1.0)'))
|
|
1765
|
-
])
|
|
1766
|
-
];
|
|
1767
|
-
const tabSlider = [
|
|
1768
|
-
trigger('tabSlider', [
|
|
1769
|
-
state('in-from-left', style({ opacity: 1 })),
|
|
1770
|
-
state('in-from-right', style({ opacity: 1 })),
|
|
1771
|
-
state('out-to-left', style({ opacity: 0, transform: 'translateX(0)' })),
|
|
1772
|
-
state('out-to-right', style({ opacity: 0, transform: 'translateX(0)' })),
|
|
1773
|
-
transition('* => out-to-right', animate(TAB_SLIDER_TIMING_FN, style({ transform: 'translateX(100%)' }))),
|
|
1774
|
-
transition('* => out-to-left', [animate(TAB_SLIDER_TIMING_FN, style({ transform: 'translateX(-100%)' }))]),
|
|
1775
|
-
transition('* => in-from-left', [
|
|
1776
|
-
sequence([
|
|
1777
|
-
style({ transform: 'translateX(-100%)', opacity: 1 }),
|
|
1778
|
-
animate(TAB_SLIDER_TIMING_FN, style({ transform: 'translateX(0)' }))
|
|
1779
|
-
])
|
|
1780
|
-
]),
|
|
1781
|
-
transition('* => in-from-right', [
|
|
1782
|
-
sequence([
|
|
1783
|
-
style({ transform: 'translateX(100%)', opacity: 1 }),
|
|
1784
|
-
animate(TAB_SLIDER_TIMING_FN, style({ transform: 'translateX(0)' }))
|
|
1785
|
-
])
|
|
1786
|
-
])
|
|
1787
|
-
])
|
|
1788
|
-
];
|
|
1789
|
-
const toggleButtonAnimation = [
|
|
1790
|
-
trigger('toggleButton', [
|
|
1791
|
-
state('on', style({ transform: 'translateX(100%)' })),
|
|
1792
|
-
state('off', style({ transform: 'translateX(0)' })),
|
|
1793
|
-
transition('on <=> off', animate('300ms ease-out'))
|
|
1794
|
-
])
|
|
1795
|
-
];
|
|
1796
|
-
const toggleBackgroundAnimation = [
|
|
1797
|
-
trigger('toggleBackground', [
|
|
1798
|
-
state('on', style({ background: 'var(--primary-connected-orange-color)' })),
|
|
1799
|
-
state('off', style({ background: 'var(--toggle-button-grey-color)' })),
|
|
1800
|
-
transition('on <=> off', [group([query('@toggleButton', [animateChild()]), animate('300ms ease-out')])])
|
|
1801
|
-
])
|
|
1802
|
-
];
|
|
1803
|
-
const flyInOut = [
|
|
1804
|
-
trigger('flyInOut', [
|
|
1805
|
-
state('in', style({ opacity: 1, transform: 'translateY(0)' })),
|
|
1806
|
-
transition('void => *', [style({ opacity: 0, transform: 'translateY(-100%)' }), animate(200)]),
|
|
1807
|
-
transition('* => void', [animate(200, style({ opacity: 0, transform: 'translateY(-100%)' }))])
|
|
1808
|
-
])
|
|
1809
|
-
];
|
|
1810
|
-
const fadeInFromBottom = [
|
|
1811
|
-
trigger('fadeInFromBottom', [
|
|
1812
|
-
state('void', style({ opacity: 0.3, transform: 'translateY(90%)' })),
|
|
1813
|
-
state('enter', style({ opacity: 1, transform: 'translateY(0)' })),
|
|
1814
|
-
transition('void => enter', [
|
|
1815
|
-
style({ opacity: 0.3, transform: 'translateY(90%)' }),
|
|
1816
|
-
animate('1000ms {{delay}}ms ease-in-out', style({ opacity: 1, transform: 'translateY(0)' }))
|
|
1817
|
-
], {
|
|
1818
|
-
params: { delay: '0' }
|
|
1819
|
-
})
|
|
1820
|
-
])
|
|
1821
|
-
];
|
|
1822
|
-
|
|
1823
|
-
const NEUTRAL_BUTTON_COLOR = '#F3F3F3';
|
|
1824
|
-
class AfConnectToggleButtonComponent {
|
|
1825
|
-
constructor(injector, cdr) {
|
|
1826
|
-
this.injector = injector;
|
|
1827
|
-
this.cdr = cdr;
|
|
1828
|
-
this.disabled = true;
|
|
1829
|
-
this.withForm = false;
|
|
1830
|
-
this.onStateBackground = 'var(--primary-connected-orange-color)';
|
|
1831
|
-
this.position = 'off';
|
|
1832
|
-
this.variant = 'ball';
|
|
1833
|
-
this.clickBtn = new EventEmitter();
|
|
1834
|
-
this.propagateChange = (_) => { };
|
|
1835
|
-
this.propagateTouch = (_) => { };
|
|
1836
|
-
}
|
|
1837
|
-
togglePosition() {
|
|
1838
|
-
if (this.position === 'on')
|
|
1839
|
-
this.position = 'off';
|
|
1840
|
-
else
|
|
1841
|
-
this.position = 'on';
|
|
1842
|
-
this.propagateChange(this.position === 'on');
|
|
1843
|
-
}
|
|
1844
|
-
ngAfterViewInit() {
|
|
1845
|
-
if (this.withForm) {
|
|
1846
|
-
const ngControl = this.injector.get(NgControl);
|
|
1847
|
-
if (ngControl) {
|
|
1848
|
-
this.control = ngControl.control;
|
|
1849
|
-
this.cdr.detectChanges();
|
|
1850
|
-
}
|
|
1851
|
-
}
|
|
1852
|
-
}
|
|
1853
|
-
writeValue() { }
|
|
1854
|
-
registerOnChange(fn) {
|
|
1855
|
-
this.propagateChange = fn;
|
|
1856
|
-
}
|
|
1857
|
-
registerOnTouched(fn) {
|
|
1858
|
-
this.propagateTouch = fn;
|
|
1859
|
-
}
|
|
1860
|
-
onBlur() {
|
|
1861
|
-
this.propagateTouch();
|
|
1862
|
-
}
|
|
1863
|
-
setDisabledState(disabled) {
|
|
1864
|
-
this.disabled = disabled;
|
|
1865
|
-
}
|
|
1866
|
-
getButtonStyles() {
|
|
1867
|
-
if (this.variant === 'full')
|
|
1868
|
-
return {
|
|
1869
|
-
background: this.background || NEUTRAL_BUTTON_COLOR,
|
|
1870
|
-
width: '152px',
|
|
1871
|
-
height: '32px',
|
|
1872
|
-
borderRadius: '16px'
|
|
1873
|
-
};
|
|
1874
|
-
else
|
|
1875
|
-
return {
|
|
1876
|
-
background: this.position === 'on' ? this.onStateBackground : this.offStateBackground
|
|
1877
|
-
};
|
|
1878
|
-
}
|
|
1879
|
-
getToggleBallStyles() {
|
|
1880
|
-
if (this.variant === 'full')
|
|
1881
|
-
return {
|
|
1882
|
-
background: '#15808D',
|
|
1883
|
-
width: '76px',
|
|
1884
|
-
height: '32px',
|
|
1885
|
-
borderRadius: '16px',
|
|
1886
|
-
margin: 0
|
|
1887
|
-
};
|
|
1888
|
-
}
|
|
1889
|
-
getOnStateTextStyles() {
|
|
1890
|
-
if (this.variant === 'full')
|
|
1891
|
-
return {
|
|
1892
|
-
zIndex: '2',
|
|
1893
|
-
fontSize: '14px',
|
|
1894
|
-
marginLeft: '19px',
|
|
1895
|
-
color: this.position === 'on' ? '#707070' : '#fff'
|
|
1896
|
-
};
|
|
1897
|
-
}
|
|
1898
|
-
getOffStateTextStyles() {
|
|
1899
|
-
if (this.variant === 'full')
|
|
1900
|
-
return {
|
|
1901
|
-
zIndex: '2',
|
|
1902
|
-
fontSize: '14px',
|
|
1903
|
-
marginLeft: '16px',
|
|
1904
|
-
color: this.position === 'off' ? '#707070' : '#fff'
|
|
1905
|
-
};
|
|
1906
|
-
}
|
|
1907
|
-
}
|
|
1908
|
-
AfConnectToggleButtonComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.1.0", ngImport: i0, type: AfConnectToggleButtonComponent, deps: [{ token: i0.Injector }, { token: i0.ChangeDetectorRef }], target: i0.ɵɵFactoryTarget.Component });
|
|
1909
|
-
AfConnectToggleButtonComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.1.0", type: AfConnectToggleButtonComponent, selector: "lib-af-connect-toggle-button", inputs: { emitValue: "emitValue", label: "label", disabled: "disabled", withForm: "withForm", onStateBackground: "onStateBackground", offStateBackground: "offStateBackground", onStateText: "onStateText", offStateText: "offStateText", background: "background", position: "position", variant: "variant" }, outputs: { clickBtn: "clickBtn" }, providers: [
|
|
1910
|
-
{
|
|
1911
|
-
provide: NG_VALUE_ACCESSOR,
|
|
1912
|
-
useExisting: forwardRef(() => AfConnectToggleButtonComponent),
|
|
1913
|
-
multi: true
|
|
1914
|
-
}
|
|
1915
|
-
], ngImport: i0, template: "<label>{{ label }}</label>\r\n<button\r\n type=\"button\"\r\n class=\"toggle-button\"\r\n (click)=\"this.clickBtn.emit(emitValue); togglePosition();\"\r\n [disabled]=\"disabled\"\r\n [ngStyle]=\"getButtonStyles()\">\r\n <span\r\n *ngIf=\"onStateText\"\r\n [ngStyle]=\"getOnStateTextStyles() || null\"\r\n class=\"onStateText\">\r\n {{onStateText}}\r\n </span>\r\n <div\r\n class=\"toggle-ball\"\r\n [@toggleButton]=\"position\"\r\n [ngStyle]=\"getToggleBallStyles() || null\">\r\n </div>\r\n <span\r\n *ngIf=\"offStateText\"\r\n [ngStyle]=\"getOffStateTextStyles() || null\"\r\n class=\"offStateText\"> \r\n {{offStateText}}\r\n </span>\r\n</button>\r\n<span *ngIf=\"label\" class=\"state-info-text\">{{ position === 'on' ? 'Yes' : 'No' }}</span>", styles: [":host{display:flex;flex-wrap:wrap;width:100%}:host label{width:100%;height:-moz-fit-content;height:fit-content;font-size:14px}:host(.tax-certificates-toggle){width:auto}.toggle-button{position:relative;width:49px;height:28px;border:none;border-radius:14px;background:var(--toggle-button-grey-color);display:flex;align-items:center;cursor:pointer;padding:0}.toggle-button:disabled{cursor:default}.toggle-button,.state-info-text{align-self:center}.toggle-ball{width:18.67px;height:18.67px;background:white;border-radius:50%;margin:0 5.83px}.onStateText{position:absolute;margin-left:.5rem}.onStateText,.offStateText{color:var(--neutral-button-color)}\n"], dependencies: [{ kind: "directive", type: i1$1.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "directive", type: i1$1.NgStyle, selector: "[ngStyle]", inputs: ["ngStyle"] }], animations: [toggleButtonAnimation, toggleBackgroundAnimation] });
|
|
1916
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.0", ngImport: i0, type: AfConnectToggleButtonComponent, decorators: [{
|
|
1917
|
-
type: Component,
|
|
1918
|
-
args: [{ selector: 'lib-af-connect-toggle-button', animations: [toggleButtonAnimation, toggleBackgroundAnimation], providers: [
|
|
1919
|
-
{
|
|
1920
|
-
provide: NG_VALUE_ACCESSOR,
|
|
1921
|
-
useExisting: forwardRef(() => AfConnectToggleButtonComponent),
|
|
1922
|
-
multi: true
|
|
1923
|
-
}
|
|
1924
|
-
], template: "<label>{{ label }}</label>\r\n<button\r\n type=\"button\"\r\n class=\"toggle-button\"\r\n (click)=\"this.clickBtn.emit(emitValue); togglePosition();\"\r\n [disabled]=\"disabled\"\r\n [ngStyle]=\"getButtonStyles()\">\r\n <span\r\n *ngIf=\"onStateText\"\r\n [ngStyle]=\"getOnStateTextStyles() || null\"\r\n class=\"onStateText\">\r\n {{onStateText}}\r\n </span>\r\n <div\r\n class=\"toggle-ball\"\r\n [@toggleButton]=\"position\"\r\n [ngStyle]=\"getToggleBallStyles() || null\">\r\n </div>\r\n <span\r\n *ngIf=\"offStateText\"\r\n [ngStyle]=\"getOffStateTextStyles() || null\"\r\n class=\"offStateText\"> \r\n {{offStateText}}\r\n </span>\r\n</button>\r\n<span *ngIf=\"label\" class=\"state-info-text\">{{ position === 'on' ? 'Yes' : 'No' }}</span>", styles: [":host{display:flex;flex-wrap:wrap;width:100%}:host label{width:100%;height:-moz-fit-content;height:fit-content;font-size:14px}:host(.tax-certificates-toggle){width:auto}.toggle-button{position:relative;width:49px;height:28px;border:none;border-radius:14px;background:var(--toggle-button-grey-color);display:flex;align-items:center;cursor:pointer;padding:0}.toggle-button:disabled{cursor:default}.toggle-button,.state-info-text{align-self:center}.toggle-ball{width:18.67px;height:18.67px;background:white;border-radius:50%;margin:0 5.83px}.onStateText{position:absolute;margin-left:.5rem}.onStateText,.offStateText{color:var(--neutral-button-color)}\n"] }]
|
|
1925
|
-
}], ctorParameters: function () { return [{ type: i0.Injector }, { type: i0.ChangeDetectorRef }]; }, propDecorators: { emitValue: [{
|
|
1926
|
-
type: Input
|
|
1927
|
-
}], label: [{
|
|
1928
|
-
type: Input
|
|
1929
|
-
}], disabled: [{
|
|
1930
|
-
type: Input
|
|
1931
|
-
}], withForm: [{
|
|
1932
|
-
type: Input
|
|
1933
|
-
}], onStateBackground: [{
|
|
1934
|
-
type: Input
|
|
1935
|
-
}], offStateBackground: [{
|
|
1936
|
-
type: Input
|
|
1937
|
-
}], onStateText: [{
|
|
1938
|
-
type: Input
|
|
1939
|
-
}], offStateText: [{
|
|
1940
|
-
type: Input
|
|
1941
|
-
}], background: [{
|
|
1942
|
-
type: Input
|
|
1943
|
-
}], position: [{
|
|
1944
|
-
type: Input
|
|
1945
|
-
}], variant: [{
|
|
1946
|
-
type: Input
|
|
1947
|
-
}], clickBtn: [{
|
|
1948
|
-
type: Output
|
|
1949
|
-
}] } });
|
|
1950
|
-
|
|
1951
|
-
class AfConnectTooltipComponent {
|
|
1952
|
-
constructor() {
|
|
1953
|
-
this.position = 'bottomRight';
|
|
1954
|
-
this.additionalShowCondition = true;
|
|
1955
|
-
this.zIndex = 10;
|
|
1956
|
-
this.showContent = false;
|
|
1957
|
-
}
|
|
1958
|
-
onMouseEnter() {
|
|
1959
|
-
this.showContent = !this.showContent;
|
|
1960
|
-
}
|
|
1961
|
-
onMouseLeave() {
|
|
1962
|
-
this.showContent = false;
|
|
1963
|
-
}
|
|
1964
|
-
click() {
|
|
1965
|
-
this.showContent = !this.showContent;
|
|
1966
|
-
}
|
|
1967
|
-
}
|
|
1968
|
-
AfConnectTooltipComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.1.0", ngImport: i0, type: AfConnectTooltipComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
1969
|
-
AfConnectTooltipComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.1.0", type: AfConnectTooltipComponent, selector: "lib-af-connect-tooltip", inputs: { text: "text", position: "position", additionalShowCondition: "additionalShowCondition", top: "top", autoSize: "autoSize", zIndex: "zIndex" }, host: { listeners: { "mouseenter": "onMouseEnter()", "mouseleave": "onMouseLeave()", "click": "click()" } }, ngImport: i0, template: "<div\r\n *ngIf=\"showContent && additionalShowCondition\"\r\n [ngStyle]=\"{\r\n top: top,\r\n zIndex: zIndex\r\n }\"\r\n [ngClass]=\"['tooltip__text__box', position, autoSize ? 'autoSize' : '']\"\r\n>\r\n <div class=\"tooltip__text\">{{ text }}</div>\r\n</div>\r\n<ng-content></ng-content>\r\n", styles: [".tooltip-text,:host(.funeral-cover__info-btn-tooltip) .tooltip__text,:host(.empty_state__btn-tooltip) .tooltip__text{text-align:left;color:var(--primary-dark-teal-color);font-family:var(--standard-font-family-hero-new-bold)}:host{width:100%;position:relative}.display__after,.position__bottom,.tooltip__text__box.bottomRight:after,.tooltip__text__box.bottomCenter:after,.tooltip__text__box.bottomLeft:after,.position__top,.tooltip__text__box.topCenter:after,.tooltip__text__box.topLeft:after,.tooltip__text__box.topRight:after{content:\"\";z-index:1;position:absolute;border-style:solid;border-width:.6rem}.position__top,.tooltip__text__box.topCenter:after,.tooltip__text__box.topLeft:after,.tooltip__text__box.topRight:after{top:100%;border-color:var(--secondary-egg-shell-color) transparent transparent transparent}.position__bottom,.tooltip__text__box.bottomRight:after,.tooltip__text__box.bottomCenter:after,.tooltip__text__box.bottomLeft:after{bottom:100%;border-color:transparent transparent var(--secondary-egg-shell-color) transparent}.tooltip__text__box{display:flex;align-items:center;width:19rem;font-size:12px;line-height:20px;position:absolute;text-align:center;background:var(--secondary-egg-shell-color);border-radius:1.2rem;box-shadow:0 10px 30px var(--box-shadow-black-color)}.tooltip__text__box.topRight{right:0;bottom:2.8rem}.tooltip__text__box.topRight:after{right:10%}.tooltip__text__box.topLeft{left:0;bottom:2.8rem}.tooltip__text__box.topLeft:after{left:10%}.tooltip__text__box.topCenter{right:-50%;bottom:2.8rem}.tooltip__text__box.topCenter:after{left:50%}.tooltip__text__box.bottomLeft{left:0;top:2.8rem}.tooltip__text__box.bottomLeft:after{left:10%}.tooltip__text__box.bottomCenter{right:-50%;top:2.8rem}.tooltip__text__box.bottomCenter:after{left:50%}.tooltip__text__box.bottomRight{right:0;top:2.8rem}.tooltip__text__box.bottomRight:after{right:10%}.tooltip__text__box.autoSize{width:auto;height:auto}.tooltip__text{padding:1rem;text-align:justify}@media (max-width: 768px){:host(.profile-loading__icon) .tooltip__text__box{left:-2rem}}@media (max-width: 768px){:host(.profile-details-loading__icon) .tooltip__text__box{left:-9.7rem}}:host(.empty_state__btn-tooltip) .tooltip__text__box{right:-1.85rem}:host(.funeral-cover__info-btn-tooltip) .tooltip__text__box{right:-1.75rem}@media (max-width: 768px){:host(.funeral-cover__info-btn-tooltip) .tooltip__text__box{right:-1.2rem}}\n"], dependencies: [{ kind: "directive", type: i1$1.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { kind: "directive", type: i1$1.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "directive", type: i1$1.NgStyle, selector: "[ngStyle]", inputs: ["ngStyle"] }] });
|
|
1970
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.0", ngImport: i0, type: AfConnectTooltipComponent, decorators: [{
|
|
1971
|
-
type: Component,
|
|
1972
|
-
args: [{ selector: 'lib-af-connect-tooltip', template: "<div\r\n *ngIf=\"showContent && additionalShowCondition\"\r\n [ngStyle]=\"{\r\n top: top,\r\n zIndex: zIndex\r\n }\"\r\n [ngClass]=\"['tooltip__text__box', position, autoSize ? 'autoSize' : '']\"\r\n>\r\n <div class=\"tooltip__text\">{{ text }}</div>\r\n</div>\r\n<ng-content></ng-content>\r\n", styles: [".tooltip-text,:host(.funeral-cover__info-btn-tooltip) .tooltip__text,:host(.empty_state__btn-tooltip) .tooltip__text{text-align:left;color:var(--primary-dark-teal-color);font-family:var(--standard-font-family-hero-new-bold)}:host{width:100%;position:relative}.display__after,.position__bottom,.tooltip__text__box.bottomRight:after,.tooltip__text__box.bottomCenter:after,.tooltip__text__box.bottomLeft:after,.position__top,.tooltip__text__box.topCenter:after,.tooltip__text__box.topLeft:after,.tooltip__text__box.topRight:after{content:\"\";z-index:1;position:absolute;border-style:solid;border-width:.6rem}.position__top,.tooltip__text__box.topCenter:after,.tooltip__text__box.topLeft:after,.tooltip__text__box.topRight:after{top:100%;border-color:var(--secondary-egg-shell-color) transparent transparent transparent}.position__bottom,.tooltip__text__box.bottomRight:after,.tooltip__text__box.bottomCenter:after,.tooltip__text__box.bottomLeft:after{bottom:100%;border-color:transparent transparent var(--secondary-egg-shell-color) transparent}.tooltip__text__box{display:flex;align-items:center;width:19rem;font-size:12px;line-height:20px;position:absolute;text-align:center;background:var(--secondary-egg-shell-color);border-radius:1.2rem;box-shadow:0 10px 30px var(--box-shadow-black-color)}.tooltip__text__box.topRight{right:0;bottom:2.8rem}.tooltip__text__box.topRight:after{right:10%}.tooltip__text__box.topLeft{left:0;bottom:2.8rem}.tooltip__text__box.topLeft:after{left:10%}.tooltip__text__box.topCenter{right:-50%;bottom:2.8rem}.tooltip__text__box.topCenter:after{left:50%}.tooltip__text__box.bottomLeft{left:0;top:2.8rem}.tooltip__text__box.bottomLeft:after{left:10%}.tooltip__text__box.bottomCenter{right:-50%;top:2.8rem}.tooltip__text__box.bottomCenter:after{left:50%}.tooltip__text__box.bottomRight{right:0;top:2.8rem}.tooltip__text__box.bottomRight:after{right:10%}.tooltip__text__box.autoSize{width:auto;height:auto}.tooltip__text{padding:1rem;text-align:justify}@media (max-width: 768px){:host(.profile-loading__icon) .tooltip__text__box{left:-2rem}}@media (max-width: 768px){:host(.profile-details-loading__icon) .tooltip__text__box{left:-9.7rem}}:host(.empty_state__btn-tooltip) .tooltip__text__box{right:-1.85rem}:host(.funeral-cover__info-btn-tooltip) .tooltip__text__box{right:-1.75rem}@media (max-width: 768px){:host(.funeral-cover__info-btn-tooltip) .tooltip__text__box{right:-1.2rem}}\n"] }]
|
|
1973
|
-
}], propDecorators: { text: [{
|
|
1974
|
-
type: Input
|
|
1975
|
-
}], position: [{
|
|
1976
|
-
type: Input
|
|
1977
|
-
}], additionalShowCondition: [{
|
|
1978
|
-
type: Input
|
|
1979
|
-
}], top: [{
|
|
1980
|
-
type: Input
|
|
1981
|
-
}], autoSize: [{
|
|
1982
|
-
type: Input
|
|
1983
|
-
}], zIndex: [{
|
|
1984
|
-
type: Input
|
|
1985
|
-
}], onMouseEnter: [{
|
|
1986
|
-
type: HostListener,
|
|
1987
|
-
args: ['mouseenter']
|
|
1988
|
-
}], onMouseLeave: [{
|
|
1989
|
-
type: HostListener,
|
|
1990
|
-
args: ['mouseleave']
|
|
1991
|
-
}], click: [{
|
|
1992
|
-
type: HostListener,
|
|
1993
|
-
args: ['click']
|
|
1994
|
-
}] } });
|
|
1995
|
-
|
|
1996
|
-
class AfConnectBreadcrumbComponent {
|
|
1997
|
-
constructor(router) {
|
|
1998
|
-
this.router = router;
|
|
1999
|
-
}
|
|
2000
|
-
goToDashboard() {
|
|
2001
|
-
// this.router.navigate(['/dashboard']);
|
|
2002
|
-
}
|
|
2003
|
-
}
|
|
2004
|
-
AfConnectBreadcrumbComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.1.0", ngImport: i0, type: AfConnectBreadcrumbComponent, deps: [{ token: i1$2.Router }], target: i0.ɵɵFactoryTarget.Component });
|
|
2005
|
-
AfConnectBreadcrumbComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.1.0", type: AfConnectBreadcrumbComponent, selector: "lib-af-connect-breadcrumb", inputs: { currentPage: "currentPage" }, ngImport: i0, template: "<div class=\"breadcrumb-wrapper\">\r\n <div class=\"breadcrumb-container\">\r\n <div class=\"home-icon-container\" (click)=\"goToDashboard()\">\r\n <lib-af-connect-svg-button [customSize]=\"24\" src=\"../../../assets/icons/home.svg\" emitValue=\"isCloseModal\"></lib-af-connect-svg-button>\r\n </div>\r\n <div class=\"titles-container\">\r\n <div class=\"home-title\" (click)=\"goToDashboard()\">Home</div>\r\n <afc-expandable-arrow></afc-expandable-arrow>\r\n <div class=\"current-title\">{{ currentPage }}</div>\r\n </div>\r\n </div>\r\n </div>\r\n ", styles: [".breadcrumb-wrapper{padding:2rem 0}@media (max-width: 768px){.breadcrumb-wrapper{padding:12px 6px}}.breadcrumb-container{display:inline-flex;align-items:center;padding:.5rem;background:var(--main-white-color);border-radius:22px;gap:14px}.home-icon-container{flex-shrink:0;width:32px;height:32px;background-color:var(--breadcrumb-background-color);display:flex;justify-content:center;align-items:center;border-radius:16px}.titles-container{display:flex;gap:1rem;font-size:14px;justify-content:space-between;align-items:center}@media (max-width: 768px){.titles-container{gap:.5rem}}.current-title{color:var(--primary-dark-teal-color);margin-right:.375rem}.home-title{cursor:pointer}\n"], dependencies: [{ kind: "component", type: ExpandableArrowComponent, selector: "afc-expandable-arrow", inputs: ["color", "startPosition", "endPosition"] }, { kind: "component", type: AfConnectSvgButtonComponent, selector: "lib-af-connect-svg-button", inputs: ["src", "emitValue", "customSize", "size"], outputs: ["clickBtn"] }] });
|
|
2006
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.0", ngImport: i0, type: AfConnectBreadcrumbComponent, decorators: [{
|
|
2007
|
-
type: Component,
|
|
2008
|
-
args: [{ selector: 'lib-af-connect-breadcrumb', template: "<div class=\"breadcrumb-wrapper\">\r\n <div class=\"breadcrumb-container\">\r\n <div class=\"home-icon-container\" (click)=\"goToDashboard()\">\r\n <lib-af-connect-svg-button [customSize]=\"24\" src=\"../../../assets/icons/home.svg\" emitValue=\"isCloseModal\"></lib-af-connect-svg-button>\r\n </div>\r\n <div class=\"titles-container\">\r\n <div class=\"home-title\" (click)=\"goToDashboard()\">Home</div>\r\n <afc-expandable-arrow></afc-expandable-arrow>\r\n <div class=\"current-title\">{{ currentPage }}</div>\r\n </div>\r\n </div>\r\n </div>\r\n ", styles: [".breadcrumb-wrapper{padding:2rem 0}@media (max-width: 768px){.breadcrumb-wrapper{padding:12px 6px}}.breadcrumb-container{display:inline-flex;align-items:center;padding:.5rem;background:var(--main-white-color);border-radius:22px;gap:14px}.home-icon-container{flex-shrink:0;width:32px;height:32px;background-color:var(--breadcrumb-background-color);display:flex;justify-content:center;align-items:center;border-radius:16px}.titles-container{display:flex;gap:1rem;font-size:14px;justify-content:space-between;align-items:center}@media (max-width: 768px){.titles-container{gap:.5rem}}.current-title{color:var(--primary-dark-teal-color);margin-right:.375rem}.home-title{cursor:pointer}\n"] }]
|
|
2009
|
-
}], ctorParameters: function () { return [{ type: i1$2.Router }]; }, propDecorators: { currentPage: [{
|
|
2010
|
-
type: Input
|
|
2011
|
-
}] } });
|
|
2012
|
-
|
|
2013
|
-
class AfConnectComponentsModule {
|
|
2014
|
-
}
|
|
2015
|
-
AfConnectComponentsModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.1.0", ngImport: i0, type: AfConnectComponentsModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
2016
|
-
AfConnectComponentsModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "15.1.0", ngImport: i0, type: AfConnectComponentsModule, declarations: [AfConnectComponentsComponent,
|
|
2017
|
-
AfConnectHeaderComponent,
|
|
2018
|
-
AfConnectFooterComponent,
|
|
2019
|
-
AfConnectProfileDropdown,
|
|
2020
|
-
GetinItialsPipe,
|
|
2021
|
-
ExpandableContainerComponent,
|
|
2022
|
-
ExpandableArrowComponent,
|
|
2023
|
-
ExpandableWrapperComponent,
|
|
2024
|
-
FaqComponent,
|
|
2025
|
-
FaqItemComponent,
|
|
2026
|
-
ImageWithFallbackDirective,
|
|
2027
|
-
ImageWithFallbackComponent,
|
|
2028
|
-
AfConnectProductsCarouselComponent,
|
|
2029
|
-
ImageCardComponent,
|
|
2030
|
-
AfConnectButtonComponent,
|
|
2031
|
-
AfConnectContentComponent,
|
|
2032
|
-
AfConnectDatepickerComponent,
|
|
2033
|
-
AfConnectInputComponent,
|
|
2034
|
-
AfConnectFormValidationErrorsComponent,
|
|
2035
|
-
AfConnectFormGroupComponent,
|
|
2036
|
-
AfConnectCardComponent,
|
|
2037
|
-
AfConnectCardHeaderComponent,
|
|
2038
|
-
AfConnectChipComponent,
|
|
2039
|
-
AfConnectChartComponent,
|
|
2040
|
-
AfConnectErrorComponent,
|
|
2041
|
-
AfConnectInlineErrorComponent,
|
|
2042
|
-
AfConnectLoadingSpinnerComponent,
|
|
2043
|
-
AfConnectModalComponent,
|
|
2044
|
-
AfConnectNoContentComponent,
|
|
2045
|
-
AfConnectNotificationComponent,
|
|
2046
|
-
AfConnectProgressBarComponent,
|
|
2047
|
-
AfConnectRadioButtonComponent,
|
|
2048
|
-
AfConnectRadioGroupComponent,
|
|
2049
|
-
AfConnectSectionComponent,
|
|
2050
|
-
AfConnectSectionHeaderComponent,
|
|
2051
|
-
AfConnectSelectComponent,
|
|
2052
|
-
AfConnectSvgButtonComponent,
|
|
2053
|
-
AfConnectTabComponent,
|
|
2054
|
-
AfConnectTabsComponent,
|
|
2055
|
-
AfConnectTableComponent,
|
|
2056
|
-
AfConnectToasterMessageComponent,
|
|
2057
|
-
AfConnectToggleButtonComponent,
|
|
2058
|
-
AfConnectTooltipComponent,
|
|
2059
|
-
AfConnectBreadcrumbComponent], imports: [CommonModule,
|
|
2060
|
-
FormsModule,
|
|
2061
|
-
ReactiveFormsModule], exports: [AfConnectComponentsComponent,
|
|
2062
|
-
AfConnectHeaderComponent,
|
|
2063
|
-
AfConnectFooterComponent,
|
|
2064
|
-
FaqComponent,
|
|
2065
|
-
FaqItemComponent,
|
|
2066
|
-
ImageWithFallbackDirective,
|
|
2067
|
-
ImageWithFallbackComponent,
|
|
2068
|
-
AfConnectProductsCarouselComponent,
|
|
2069
|
-
AfConnectButtonComponent,
|
|
2070
|
-
AfConnectContentComponent,
|
|
2071
|
-
AfConnectDatepickerComponent,
|
|
2072
|
-
AfConnectInputComponent,
|
|
2073
|
-
AfConnectFormValidationErrorsComponent,
|
|
2074
|
-
AfConnectFormGroupComponent,
|
|
2075
|
-
AfConnectCardComponent,
|
|
2076
|
-
AfConnectCardHeaderComponent,
|
|
2077
|
-
AfConnectChipComponent,
|
|
2078
|
-
AfConnectChartComponent,
|
|
2079
|
-
AfConnectErrorComponent,
|
|
2080
|
-
AfConnectInlineErrorComponent,
|
|
2081
|
-
AfConnectLoadingSpinnerComponent,
|
|
2082
|
-
AfConnectModalComponent,
|
|
2083
|
-
AfConnectNoContentComponent,
|
|
2084
|
-
AfConnectNotificationComponent,
|
|
2085
|
-
AfConnectProgressBarComponent,
|
|
2086
|
-
AfConnectRadioButtonComponent,
|
|
2087
|
-
AfConnectRadioGroupComponent,
|
|
2088
|
-
AfConnectSectionComponent,
|
|
2089
|
-
AfConnectSectionHeaderComponent,
|
|
2090
|
-
AfConnectSelectComponent,
|
|
2091
|
-
AfConnectSvgButtonComponent,
|
|
2092
|
-
AfConnectTabComponent,
|
|
2093
|
-
AfConnectTabsComponent,
|
|
2094
|
-
AfConnectTableComponent,
|
|
2095
|
-
AfConnectToasterMessageComponent,
|
|
2096
|
-
AfConnectToggleButtonComponent,
|
|
2097
|
-
AfConnectTooltipComponent,
|
|
2098
|
-
AfConnectBreadcrumbComponent] });
|
|
2099
|
-
AfConnectComponentsModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "15.1.0", ngImport: i0, type: AfConnectComponentsModule, providers: [BreakpointLibService], imports: [CommonModule,
|
|
2100
|
-
FormsModule,
|
|
2101
|
-
ReactiveFormsModule] });
|
|
2102
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.0", ngImport: i0, type: AfConnectComponentsModule, decorators: [{
|
|
2103
|
-
type: NgModule,
|
|
2104
|
-
args: [{
|
|
2105
|
-
declarations: [
|
|
2106
|
-
AfConnectComponentsComponent,
|
|
2107
|
-
AfConnectHeaderComponent,
|
|
2108
|
-
AfConnectFooterComponent,
|
|
2109
|
-
AfConnectProfileDropdown,
|
|
2110
|
-
GetinItialsPipe,
|
|
2111
|
-
ExpandableContainerComponent,
|
|
2112
|
-
ExpandableArrowComponent,
|
|
2113
|
-
ExpandableWrapperComponent,
|
|
2114
|
-
FaqComponent,
|
|
2115
|
-
FaqItemComponent,
|
|
2116
|
-
ImageWithFallbackDirective,
|
|
2117
|
-
ImageWithFallbackComponent,
|
|
2118
|
-
AfConnectProductsCarouselComponent,
|
|
2119
|
-
ImageCardComponent,
|
|
2120
|
-
AfConnectButtonComponent,
|
|
2121
|
-
AfConnectContentComponent,
|
|
2122
|
-
AfConnectDatepickerComponent,
|
|
2123
|
-
AfConnectInputComponent,
|
|
2124
|
-
AfConnectFormValidationErrorsComponent,
|
|
2125
|
-
AfConnectFormGroupComponent,
|
|
2126
|
-
AfConnectCardComponent,
|
|
2127
|
-
AfConnectCardHeaderComponent,
|
|
2128
|
-
AfConnectChipComponent,
|
|
2129
|
-
AfConnectChartComponent,
|
|
2130
|
-
AfConnectErrorComponent,
|
|
2131
|
-
AfConnectInlineErrorComponent,
|
|
2132
|
-
AfConnectLoadingSpinnerComponent,
|
|
2133
|
-
AfConnectModalComponent,
|
|
2134
|
-
AfConnectNoContentComponent,
|
|
2135
|
-
AfConnectNotificationComponent,
|
|
2136
|
-
AfConnectProgressBarComponent,
|
|
2137
|
-
AfConnectRadioButtonComponent,
|
|
2138
|
-
AfConnectRadioGroupComponent,
|
|
2139
|
-
AfConnectSectionComponent,
|
|
2140
|
-
AfConnectSectionHeaderComponent,
|
|
2141
|
-
AfConnectSelectComponent,
|
|
2142
|
-
AfConnectSvgButtonComponent,
|
|
2143
|
-
AfConnectTabComponent,
|
|
2144
|
-
AfConnectTabsComponent,
|
|
2145
|
-
AfConnectTableComponent,
|
|
2146
|
-
AfConnectToasterMessageComponent,
|
|
2147
|
-
AfConnectToggleButtonComponent,
|
|
2148
|
-
AfConnectTooltipComponent,
|
|
2149
|
-
AfConnectBreadcrumbComponent
|
|
2150
|
-
],
|
|
2151
|
-
imports: [
|
|
2152
|
-
CommonModule,
|
|
2153
|
-
FormsModule,
|
|
2154
|
-
ReactiveFormsModule
|
|
2155
|
-
],
|
|
2156
|
-
providers: [BreakpointLibService],
|
|
2157
|
-
exports: [
|
|
2158
|
-
AfConnectComponentsComponent,
|
|
2159
|
-
AfConnectHeaderComponent,
|
|
2160
|
-
AfConnectFooterComponent,
|
|
2161
|
-
FaqComponent,
|
|
2162
|
-
FaqItemComponent,
|
|
2163
|
-
ImageWithFallbackDirective,
|
|
2164
|
-
ImageWithFallbackComponent,
|
|
2165
|
-
AfConnectProductsCarouselComponent,
|
|
2166
|
-
AfConnectButtonComponent,
|
|
2167
|
-
AfConnectContentComponent,
|
|
2168
|
-
AfConnectDatepickerComponent,
|
|
2169
|
-
AfConnectInputComponent,
|
|
2170
|
-
AfConnectFormValidationErrorsComponent,
|
|
2171
|
-
AfConnectFormGroupComponent,
|
|
2172
|
-
AfConnectCardComponent,
|
|
2173
|
-
AfConnectCardHeaderComponent,
|
|
2174
|
-
AfConnectChipComponent,
|
|
2175
|
-
AfConnectChartComponent,
|
|
2176
|
-
AfConnectErrorComponent,
|
|
2177
|
-
AfConnectInlineErrorComponent,
|
|
2178
|
-
AfConnectLoadingSpinnerComponent,
|
|
2179
|
-
AfConnectModalComponent,
|
|
2180
|
-
AfConnectNoContentComponent,
|
|
2181
|
-
AfConnectNotificationComponent,
|
|
2182
|
-
AfConnectProgressBarComponent,
|
|
2183
|
-
AfConnectRadioButtonComponent,
|
|
2184
|
-
AfConnectRadioGroupComponent,
|
|
2185
|
-
AfConnectSectionComponent,
|
|
2186
|
-
AfConnectSectionHeaderComponent,
|
|
2187
|
-
AfConnectSelectComponent,
|
|
2188
|
-
AfConnectSvgButtonComponent,
|
|
2189
|
-
AfConnectTabComponent,
|
|
2190
|
-
AfConnectTabsComponent,
|
|
2191
|
-
AfConnectTableComponent,
|
|
2192
|
-
AfConnectToasterMessageComponent,
|
|
2193
|
-
AfConnectToggleButtonComponent,
|
|
2194
|
-
AfConnectTooltipComponent,
|
|
2195
|
-
AfConnectBreadcrumbComponent
|
|
2196
|
-
]
|
|
2197
|
-
}]
|
|
2198
|
-
}] });
|
|
2199
|
-
|
|
2200
|
-
/*
|
|
2201
|
-
* Public API Surface of af-connect-components
|
|
2202
|
-
*/
|
|
2203
|
-
|
|
2204
|
-
/**
|
|
2205
|
-
* Generated bundle index. Do not edit.
|
|
2206
|
-
*/
|
|
2207
|
-
|
|
2208
|
-
export { AfConnectBreadcrumbComponent, AfConnectButtonComponent, AfConnectCardComponent, AfConnectCardHeaderComponent, AfConnectChartComponent, AfConnectChipComponent, AfConnectComponentsComponent, AfConnectComponentsModule, AfConnectComponentsService, AfConnectContentComponent, AfConnectDatepickerComponent, AfConnectErrorComponent, AfConnectFooterComponent, AfConnectFormGroupComponent, AfConnectFormValidationErrorsComponent, AfConnectHeaderComponent, AfConnectInlineErrorComponent, AfConnectInputComponent, AfConnectLoadingSpinnerComponent, AfConnectModalComponent, AfConnectNoContentComponent, AfConnectNotificationComponent, AfConnectProductsCarouselComponent, AfConnectProgressBarComponent, AfConnectRadioButtonComponent, AfConnectRadioGroupComponent, AfConnectSectionComponent, AfConnectSectionHeaderComponent, AfConnectSelectComponent, AfConnectSvgButtonComponent, AfConnectTabComponent, AfConnectTableComponent, AfConnectTabsComponent, AfConnectToasterMessageComponent, AfConnectToggleButtonComponent, AfConnectTooltipComponent, FaqComponent, FaqItemComponent, ImageWithFallbackComponent, ImageWithFallbackDirective, Severity };
|
|
2209
|
-
//# sourceMappingURL=af-connect-components.mjs.map
|