af-connect-components 18.0.16 → 18.0.18
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/esm2022/lib/af-connect-footer/af-connect-footer.component.mjs +33 -249
- package/esm2022/lib/af-connect-footer/af-connect-footer.data.mjs +444 -0
- package/esm2022/lib/af-connect-solutions-product-v2/af-connect-solutions-product-v2.component.mjs +3 -3
- package/esm2022/lib/af-connect-solutions-product-v2/af-connect-solutions-product-v2.data.mjs +57 -2
- package/fesm2022/af-connect-components.mjs +533 -251
- package/fesm2022/af-connect-components.mjs.map +1 -1
- package/lib/af-connect-footer/af-connect-footer.component.d.ts +5 -140
- package/lib/af-connect-footer/af-connect-footer.data.d.ts +140 -0
- package/lib/af-connect-solutions-product-v2/af-connect-solutions-product-v2.data.d.ts +1 -1
- package/package.json +1 -1
|
@@ -1,31 +1,9 @@
|
|
|
1
1
|
import { BreakpointLibService } from '../services/breakpoint.service';
|
|
2
|
+
import { CountryCode, FooterConfig } from './af-connect-footer.data';
|
|
2
3
|
import * as i0 from "@angular/core";
|
|
3
|
-
export interface SocialLink {
|
|
4
|
-
link: string;
|
|
5
|
-
isHidden?: boolean;
|
|
6
|
-
}
|
|
7
|
-
export interface SectionItem {
|
|
8
|
-
title: string;
|
|
9
|
-
link?: string;
|
|
10
|
-
isHidden?: boolean;
|
|
11
|
-
bold?: boolean;
|
|
12
|
-
}
|
|
13
|
-
export interface Section {
|
|
14
|
-
title?: string;
|
|
15
|
-
sectionItems: SectionItem[];
|
|
16
|
-
}
|
|
17
|
-
export interface FooterConfig {
|
|
18
|
-
bannerTitle?: string | undefined;
|
|
19
|
-
instagram?: SocialLink;
|
|
20
|
-
linkedIn?: SocialLink;
|
|
21
|
-
facebook?: SocialLink;
|
|
22
|
-
twitter?: SocialLink;
|
|
23
|
-
whatsapp?: SocialLink;
|
|
24
|
-
sections?: Section[];
|
|
25
|
-
address?: Section[];
|
|
26
|
-
}
|
|
27
4
|
export declare class AfConnectFooterComponent {
|
|
28
5
|
breakpointService: BreakpointLibService;
|
|
6
|
+
private _countryCode;
|
|
29
7
|
constructor(breakpointService: BreakpointLibService);
|
|
30
8
|
config: FooterConfig | undefined;
|
|
31
9
|
isBottomBannerHidden: boolean;
|
|
@@ -34,121 +12,8 @@ export declare class AfConnectFooterComponent {
|
|
|
34
12
|
centered: boolean;
|
|
35
13
|
get getMobileAddress(): string;
|
|
36
14
|
set showCallMeBack(value: boolean);
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
public exampleTestConfig: FooterConfig = {
|
|
41
|
-
bannerTitle: 'test'
|
|
42
|
-
}
|
|
43
|
-
|
|
44
|
-
Passing the exampleTestConfig will replace only the banner. Everything else will be loaded from the default config.
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
defaultConfig: FooterConfig = {
|
|
48
|
-
sections: [
|
|
49
|
-
{
|
|
50
|
-
title: 'COMPANY',
|
|
51
|
-
sectionItems: [
|
|
52
|
-
{
|
|
53
|
-
title: 'Investor relations',
|
|
54
|
-
link: 'https://investors.alexforbes.com/'
|
|
55
|
-
},
|
|
56
|
-
{
|
|
57
|
-
title: 'Careers',
|
|
58
|
-
link: 'https://www.alexforbes.com/za/en/about/careers.html'
|
|
59
|
-
},
|
|
60
|
-
{
|
|
61
|
-
title: 'Procurement',
|
|
62
|
-
link: 'https://www.alexforbes.com/za/en/about/procurement.html'
|
|
63
|
-
},
|
|
64
|
-
{
|
|
65
|
-
title: 'Risk & Compliance',
|
|
66
|
-
link: 'https://www.alexanderforbesinvestments.co.za/about-us/risk-and-compliance'
|
|
67
|
-
},
|
|
68
|
-
]
|
|
69
|
-
},
|
|
70
|
-
{
|
|
71
|
-
title: 'RESOURCES',
|
|
72
|
-
sectionItems: [
|
|
73
|
-
{
|
|
74
|
-
title: 'Business directory',
|
|
75
|
-
link: 'https://www.alexforbes.com/za/en/contact/business-directory.html'
|
|
76
|
-
},
|
|
77
|
-
{
|
|
78
|
-
title: 'Compliments',
|
|
79
|
-
link: 'https://www.alexforbes.com/za/en/contact/compliments.html'
|
|
80
|
-
},
|
|
81
|
-
{
|
|
82
|
-
title: 'Complaints',
|
|
83
|
-
link: 'https://www.alexforbes.com/za/en/contact/Complaints.html'
|
|
84
|
-
},
|
|
85
|
-
{
|
|
86
|
-
title: 'Report fraud',
|
|
87
|
-
link: 'https://www.alexforbes.com/za/en/contact/Report-fraud.html'
|
|
88
|
-
},
|
|
89
|
-
{
|
|
90
|
-
title: 'Unclaimed benefits',
|
|
91
|
-
link: 'https://www.alexforbes.com/za/en/corporate/products-corporate/unclaimed-benefits-fund.html'
|
|
92
|
-
},
|
|
93
|
-
]
|
|
94
|
-
},
|
|
95
|
-
],
|
|
96
|
-
address: [
|
|
97
|
-
{
|
|
98
|
-
title: 'Head Office',
|
|
99
|
-
sectionItems: [
|
|
100
|
-
{
|
|
101
|
-
title: 'Contact information',
|
|
102
|
-
},
|
|
103
|
-
{
|
|
104
|
-
title: 'Email : info@alexforbes.com',
|
|
105
|
-
},
|
|
106
|
-
{
|
|
107
|
-
title: 'Telephone : +27 11 269 0000',
|
|
108
|
-
},
|
|
109
|
-
{
|
|
110
|
-
title: 'Fax : +27 11 263 0149',
|
|
111
|
-
},
|
|
112
|
-
]
|
|
113
|
-
},
|
|
114
|
-
{
|
|
115
|
-
title: '',
|
|
116
|
-
sectionItems: [
|
|
117
|
-
{
|
|
118
|
-
title: 'Address',
|
|
119
|
-
},
|
|
120
|
-
{
|
|
121
|
-
title: 'Alexforbes',
|
|
122
|
-
},
|
|
123
|
-
{
|
|
124
|
-
title: '115 West Street',
|
|
125
|
-
},
|
|
126
|
-
{
|
|
127
|
-
title: 'Sandton, 2196',
|
|
128
|
-
},
|
|
129
|
-
]
|
|
130
|
-
},
|
|
131
|
-
],
|
|
132
|
-
bannerTitle: 'Copyright 2022 Alexander Forbes Group Holdings Limited.',
|
|
133
|
-
instagram: {
|
|
134
|
-
link: 'https://www.instagram.com/alexforbesofficial',
|
|
135
|
-
isHidden: false,
|
|
136
|
-
},
|
|
137
|
-
linkedIn: {
|
|
138
|
-
link: 'https://www.linkedin.com/company/alexforbesofficial',
|
|
139
|
-
isHidden: false,
|
|
140
|
-
},
|
|
141
|
-
facebook: {
|
|
142
|
-
link: 'https://www.facebook.com/alexforbesofficial/',
|
|
143
|
-
isHidden: false,
|
|
144
|
-
},
|
|
145
|
-
twitter: {
|
|
146
|
-
link: 'https://twitter.com/alexforbes',
|
|
147
|
-
isHidden: false,
|
|
148
|
-
}
|
|
149
|
-
}
|
|
150
|
-
*/
|
|
151
|
-
defaultConfig: FooterConfig;
|
|
15
|
+
set CountryCode(value: CountryCode | undefined);
|
|
16
|
+
get choosenConfig(): FooterConfig;
|
|
152
17
|
openLegalTerms(): void;
|
|
153
18
|
openPrivacyPolicy(): void;
|
|
154
19
|
openPaiaManual(): void;
|
|
@@ -162,5 +27,5 @@ export declare class AfConnectFooterComponent {
|
|
|
162
27
|
'justify-content'?: undefined;
|
|
163
28
|
};
|
|
164
29
|
static ɵfac: i0.ɵɵFactoryDeclaration<AfConnectFooterComponent, never>;
|
|
165
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<AfConnectFooterComponent, "lib-af-connect-footer", never, { "config": { "alias": "config"; "required": false; }; "isBottomBannerHidden": { "alias": "isBottomBannerHidden"; "required": false; }; "isFooterContentHidden": { "alias": "isFooterContentHidden"; "required": false; }; "backgroundColor": { "alias": "backgroundColor"; "required": false; }; "centered": { "alias": "centered"; "required": false; }; "showCallMeBack": { "alias": "showCallMeBack"; "required": false; }; }, {}, never, never, false, never>;
|
|
30
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<AfConnectFooterComponent, "lib-af-connect-footer", never, { "config": { "alias": "config"; "required": false; }; "isBottomBannerHidden": { "alias": "isBottomBannerHidden"; "required": false; }; "isFooterContentHidden": { "alias": "isFooterContentHidden"; "required": false; }; "backgroundColor": { "alias": "backgroundColor"; "required": false; }; "centered": { "alias": "centered"; "required": false; }; "showCallMeBack": { "alias": "showCallMeBack"; "required": false; }; "CountryCode": { "alias": "CountryCode"; "required": false; }; }, {}, never, never, false, never>;
|
|
166
31
|
}
|
|
@@ -0,0 +1,140 @@
|
|
|
1
|
+
export interface SocialLink {
|
|
2
|
+
link: string;
|
|
3
|
+
isHidden?: boolean;
|
|
4
|
+
}
|
|
5
|
+
export interface SectionItem {
|
|
6
|
+
title: string;
|
|
7
|
+
link?: string;
|
|
8
|
+
isHidden?: boolean;
|
|
9
|
+
bold?: boolean;
|
|
10
|
+
}
|
|
11
|
+
export interface Section {
|
|
12
|
+
title?: string;
|
|
13
|
+
sectionItems: SectionItem[];
|
|
14
|
+
}
|
|
15
|
+
export interface FooterConfig {
|
|
16
|
+
bannerTitle?: string | undefined;
|
|
17
|
+
instagram?: SocialLink;
|
|
18
|
+
linkedIn?: SocialLink;
|
|
19
|
+
facebook?: SocialLink;
|
|
20
|
+
twitter?: SocialLink;
|
|
21
|
+
whatsapp?: SocialLink;
|
|
22
|
+
sections?: Section[];
|
|
23
|
+
address?: Section[];
|
|
24
|
+
}
|
|
25
|
+
export type CountryCode = 'ZA' | 'NA';
|
|
26
|
+
export declare const configs: Record<CountryCode, Partial<FooterConfig>>;
|
|
27
|
+
/**
|
|
28
|
+
Footer component for AF Angular Websites. A config object can be passed to change data partially or fully.
|
|
29
|
+
|
|
30
|
+
public exampleTestConfig: FooterConfig = {
|
|
31
|
+
bannerTitle: 'test'
|
|
32
|
+
}
|
|
33
|
+
|
|
34
|
+
Passing the exampleTestConfig will replace only the banner. Everything else will be loaded from the default config.
|
|
35
|
+
|
|
36
|
+
|
|
37
|
+
defaultConfig: FooterConfig = {
|
|
38
|
+
sections: [
|
|
39
|
+
{
|
|
40
|
+
title: 'COMPANY',
|
|
41
|
+
sectionItems: [
|
|
42
|
+
{
|
|
43
|
+
title: 'Investor relations',
|
|
44
|
+
link: 'https://investors.alexforbes.com/'
|
|
45
|
+
},
|
|
46
|
+
{
|
|
47
|
+
title: 'Careers',
|
|
48
|
+
link: 'https://www.alexforbes.com/za/en/about/careers.html'
|
|
49
|
+
},
|
|
50
|
+
{
|
|
51
|
+
title: 'Procurement',
|
|
52
|
+
link: 'https://www.alexforbes.com/za/en/about/procurement.html'
|
|
53
|
+
},
|
|
54
|
+
{
|
|
55
|
+
title: 'Risk & Compliance',
|
|
56
|
+
link: 'https://www.alexanderforbesinvestments.co.za/about-us/risk-and-compliance'
|
|
57
|
+
},
|
|
58
|
+
]
|
|
59
|
+
},
|
|
60
|
+
{
|
|
61
|
+
title: 'RESOURCES',
|
|
62
|
+
sectionItems: [
|
|
63
|
+
{
|
|
64
|
+
title: 'Business directory',
|
|
65
|
+
link: 'https://www.alexforbes.com/za/en/contact/business-directory.html'
|
|
66
|
+
},
|
|
67
|
+
{
|
|
68
|
+
title: 'Compliments',
|
|
69
|
+
link: 'https://www.alexforbes.com/za/en/contact/compliments.html'
|
|
70
|
+
},
|
|
71
|
+
{
|
|
72
|
+
title: 'Complaints',
|
|
73
|
+
link: 'https://www.alexforbes.com/za/en/contact/Complaints.html'
|
|
74
|
+
},
|
|
75
|
+
{
|
|
76
|
+
title: 'Report fraud',
|
|
77
|
+
link: 'https://www.alexforbes.com/za/en/contact/Report-fraud.html'
|
|
78
|
+
},
|
|
79
|
+
{
|
|
80
|
+
title: 'Unclaimed benefits',
|
|
81
|
+
link: 'https://www.alexforbes.com/za/en/corporate/products-corporate/unclaimed-benefits-fund.html'
|
|
82
|
+
},
|
|
83
|
+
]
|
|
84
|
+
},
|
|
85
|
+
],
|
|
86
|
+
address: [
|
|
87
|
+
{
|
|
88
|
+
title: 'Head Office',
|
|
89
|
+
sectionItems: [
|
|
90
|
+
{
|
|
91
|
+
title: 'Contact information',
|
|
92
|
+
},
|
|
93
|
+
{
|
|
94
|
+
title: 'Email : info@alexforbes.com',
|
|
95
|
+
},
|
|
96
|
+
{
|
|
97
|
+
title: 'Telephone : +27 11 269 0000',
|
|
98
|
+
},
|
|
99
|
+
{
|
|
100
|
+
title: 'Fax : +27 11 263 0149',
|
|
101
|
+
},
|
|
102
|
+
]
|
|
103
|
+
},
|
|
104
|
+
{
|
|
105
|
+
title: '',
|
|
106
|
+
sectionItems: [
|
|
107
|
+
{
|
|
108
|
+
title: 'Address',
|
|
109
|
+
},
|
|
110
|
+
{
|
|
111
|
+
title: 'Alexforbes',
|
|
112
|
+
},
|
|
113
|
+
{
|
|
114
|
+
title: '115 West Street',
|
|
115
|
+
},
|
|
116
|
+
{
|
|
117
|
+
title: 'Sandton, 2196',
|
|
118
|
+
},
|
|
119
|
+
]
|
|
120
|
+
},
|
|
121
|
+
],
|
|
122
|
+
bannerTitle: 'Copyright 2022 Alexander Forbes Group Holdings Limited.',
|
|
123
|
+
instagram: {
|
|
124
|
+
link: 'https://www.instagram.com/alexforbesofficial',
|
|
125
|
+
isHidden: false,
|
|
126
|
+
},
|
|
127
|
+
linkedIn: {
|
|
128
|
+
link: 'https://www.linkedin.com/company/alexforbesofficial',
|
|
129
|
+
isHidden: false,
|
|
130
|
+
},
|
|
131
|
+
facebook: {
|
|
132
|
+
link: 'https://www.facebook.com/alexforbesofficial/',
|
|
133
|
+
isHidden: false,
|
|
134
|
+
},
|
|
135
|
+
twitter: {
|
|
136
|
+
link: 'https://twitter.com/alexforbes',
|
|
137
|
+
isHidden: false,
|
|
138
|
+
}
|
|
139
|
+
}
|
|
140
|
+
*/
|
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
import { SoluctionsProductData } from '../af-connect-solutions-product/af-connect-solutions-product.data';
|
|
2
|
-
export type SolutionsProductV2 = 'myMoneyMatters' | 'afplus' | 'advice';
|
|
2
|
+
export type SolutionsProductV2 = 'myMoneyMatters' | 'afplus' | 'advice' | 'namEducation' | 'namDebt' | 'namJobs';
|
|
3
3
|
export declare const data: Record<SolutionsProductV2, Partial<SoluctionsProductData>>;
|