@rededor/site-front-end-lib 20.0.14 → 20.0.15
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/components/footer/index.d.ts +2 -1
- package/components/header/index.d.ts +2 -1
- package/fesm2022/rededor-site-front-end-lib-components-footer.mjs +49 -2
- package/fesm2022/rededor-site-front-end-lib-components-footer.mjs.map +1 -1
- package/fesm2022/rededor-site-front-end-lib-components-header.mjs +123 -3
- package/fesm2022/rededor-site-front-end-lib-components-header.mjs.map +1 -1
- package/package.json +1 -1
|
@@ -1,10 +1,11 @@
|
|
|
1
1
|
import * as _angular_core from '@angular/core';
|
|
2
2
|
import { AfterViewInit } from '@angular/core';
|
|
3
3
|
import { PrivacyToolsService, MenuSocialMedia, MenuItem } from '@rededor/site-front-end-lib/core';
|
|
4
|
+
import { CuraApiService } from '@rededor/site-front-end-lib/cura/api';
|
|
4
5
|
|
|
5
6
|
declare class FooterComponent implements AfterViewInit {
|
|
6
7
|
privacyTools: PrivacyToolsService;
|
|
7
|
-
|
|
8
|
+
curaApiService: CuraApiService;
|
|
8
9
|
private elementRef;
|
|
9
10
|
project: _angular_core.InputSignal<string>;
|
|
10
11
|
theme: _angular_core.InputSignal<string>;
|
|
@@ -3,9 +3,10 @@ import { AfterViewInit, TemplateRef } from '@angular/core';
|
|
|
3
3
|
import { HeaderService } from '@rededor/site-front-end-lib/components/header/services';
|
|
4
4
|
import { UntypedFormControl } from '@angular/forms';
|
|
5
5
|
import { MenuItem } from '@rededor/site-front-end-lib/core';
|
|
6
|
+
import { CuraApiService } from '@rededor/site-front-end-lib/cura/api';
|
|
6
7
|
|
|
7
8
|
declare class HeaderComponent implements AfterViewInit {
|
|
8
|
-
|
|
9
|
+
curaApiService: CuraApiService;
|
|
9
10
|
private elementRef;
|
|
10
11
|
private document;
|
|
11
12
|
private platformId;
|
|
@@ -24,6 +24,7 @@ const getFooterTheme = (project = 'site', themeStyle = 'default', curaApiService
|
|
|
24
24
|
curaApiService.theme.colors.getColor('neutral-white'),
|
|
25
25
|
curaApiService.theme.colors.getColor('neutral-black'),
|
|
26
26
|
];
|
|
27
|
+
const [secondaryLight] = [curaApiService.theme.colors.getColor('secondary-light')];
|
|
27
28
|
switch (project) {
|
|
28
29
|
case 'site':
|
|
29
30
|
if (themeStyle === 'default') {
|
|
@@ -69,6 +70,50 @@ const getFooterTheme = (project = 'site', themeStyle = 'default', curaApiService
|
|
|
69
70
|
};
|
|
70
71
|
}
|
|
71
72
|
break;
|
|
73
|
+
case 'star':
|
|
74
|
+
if (themeStyle === 'star') {
|
|
75
|
+
theme.ftr = {
|
|
76
|
+
'bg-color': secondaryLight,
|
|
77
|
+
color: neutralBlack,
|
|
78
|
+
'alt-color': neutralBlack,
|
|
79
|
+
};
|
|
80
|
+
theme['ftr-disc'] = {
|
|
81
|
+
'bg-color': neutralPurewhite,
|
|
82
|
+
color: neutralBlack,
|
|
83
|
+
'alt-color': primaryBase,
|
|
84
|
+
};
|
|
85
|
+
theme['ftr-menu'] = {
|
|
86
|
+
'hover-color': primaryBase,
|
|
87
|
+
'active-color': primaryLight,
|
|
88
|
+
'alt-hover-color': primaryBase,
|
|
89
|
+
'alt-active-color': primaryLight,
|
|
90
|
+
};
|
|
91
|
+
theme['ftr-social'] = {
|
|
92
|
+
color: neutralBlack,
|
|
93
|
+
};
|
|
94
|
+
}
|
|
95
|
+
else {
|
|
96
|
+
theme.ftr = {
|
|
97
|
+
'bg-color': primaryDarker,
|
|
98
|
+
color: neutralWhite,
|
|
99
|
+
'alt-color': primaryLighter,
|
|
100
|
+
};
|
|
101
|
+
theme['ftr-disc'] = {
|
|
102
|
+
'bg-color': neutralPurewhite,
|
|
103
|
+
color: neutralBlack,
|
|
104
|
+
'alt-color': primaryBase,
|
|
105
|
+
};
|
|
106
|
+
theme['ftr-menu'] = {
|
|
107
|
+
'hover-color': accentLight,
|
|
108
|
+
'active-color': accentBase,
|
|
109
|
+
'alt-hover-color': primaryLight,
|
|
110
|
+
'alt-active-color': primaryBase,
|
|
111
|
+
};
|
|
112
|
+
theme['ftr-social'] = {
|
|
113
|
+
color: neutralWhite,
|
|
114
|
+
};
|
|
115
|
+
}
|
|
116
|
+
break;
|
|
72
117
|
default:
|
|
73
118
|
break;
|
|
74
119
|
}
|
|
@@ -137,11 +182,13 @@ class FooterComponent {
|
|
|
137
182
|
this.footerCookieClick.emit(event);
|
|
138
183
|
}
|
|
139
184
|
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.16", ngImport: i0, type: FooterComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
|
140
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "20.3.16", type: FooterComponent, isStandalone: true, selector: "footer[sl-ftr]", inputs: { project: { classPropertyName: "project", publicName: "project", isSignal: true, isRequired: false, transformFunction: null }, theme: { classPropertyName: "theme", publicName: "theme", isSignal: true, isRequired: false, transformFunction: null }, disclaimer: { classPropertyName: "disclaimer", publicName: "disclaimer", isSignal: true, isRequired: false, transformFunction: null }, linkPrivacyFooter: { classPropertyName: "linkPrivacyFooter", publicName: "linkPrivacyFooter", isSignal: true, isRequired: false, transformFunction: null }, logo: { classPropertyName: "logo", publicName: "logo", isSignal: true, isRequired: false, transformFunction: null }, partnerLogo: { classPropertyName: "partnerLogo", publicName: "partnerLogo", isSignal: true, isRequired: false, transformFunction: null }, phone: { classPropertyName: "phone", publicName: "phone", isSignal: true, isRequired: false, transformFunction: null }, dora: { classPropertyName: "dora", publicName: "dora", isSignal: true, isRequired: false, transformFunction: null }, socialMenu: { classPropertyName: "socialMenu", publicName: "socialMenu", isSignal: true, isRequired: false, transformFunction: null }, logoWidth: { classPropertyName: "logoWidth", publicName: "logoWidth", isSignal: true, isRequired: false, transformFunction: null }, footerMenu: { classPropertyName: "footerMenu", publicName: "footerMenu", isSignal: true, isRequired: false, transformFunction: null } }, outputs: { footerPrivacyClick: "footerPrivacyClick", footerCookieClick: "footerCookieClick", footerSocialMediaClick: "footerSocialMediaClick", footerMenuItemClick: "footerMenuItemClick" }, ngImport: i0, template: "<div class=\"sl-ftr-content\">\n <div>\n <div class=\"sl-ftr-contact\">\n <div class=\"logos\">\n @if (logo()) {\n <div class=\"logo\">\n <img [src]=\"logo()?.url\" [alt]=\"logo()?.alt\" [title]=\"logo()?.title\" loading=\"lazy\" fetchpriority=\"low\" />\n </div>\n }\n @if (partnerLogo()) {\n <div class=\"partner-logo\">\n <img [src]=\"partnerLogo()?.url\" [alt]=\"partnerLogo()?.alt\" [title]=\"partnerLogo()?.title\" loading=\"lazy\" fetchpriority=\"low\" />\n </div>\n }\n </div>\n <div class=\"phones\">\n @if (dora().number && dora().link) {\n <div class=\"dora\">\n <div\n class=\"img\"\n [style.background-image]=\"dora().imgUrl ? 'url(' + dora().imgUrl + ')' : 'url(' + assetsPath() + '/imgs/bg_dora_whatsapp.webp)'\"\n ></div>\n <span class=\"label\">\n <p>Fale com a Dora</p>\n <a rdsitelink [href]=\"dora().link\">\n {{ dora().number }}\n </a>\n </span>\n </div>\n }\n @if (phone()) {\n <div class=\"phone\" [class.before]=\"dora().number && dora().link\">\n <div class=\"svg\">\n <svg width=\"16\" height=\"16\" viewBox=\"0 0 24 24\" preserveAspectRatio=\"xMidYMid meet\">\n <use [attr.xlink:href]=\"assetsPath() + '/icons/iconset-default.svg#phone'\"></use>\n </svg>\n </div>\n <span class=\"label\">\n <p>Central</p>\n <a rdsitelink href=\"tel:{{ phone() }}\">\n {{ phone() }}\n </a>\n </span>\n </div>\n }\n </div>\n </div>\n\n <nav class=\"sl-ftr-medias\">\n <ul>\n @for (social of socialMenu(); track social.title) {\n <li>\n <a [href]=\"social.link\" rdsitelink [title]=\"social.title\" (click)=\"footerSocialMediaClicked($event)\">\n <svg width=\"16\" height=\"16\" viewBox=\"0 0 24 24\" preserveAspectRatio=\"xMidYMid meet\">\n <use [attr.xlink:href]=\"assetsPath() + '/icons/iconset-default.svg#' + social.icon\"></use>\n </svg>\n </a>\n </li>\n }\n </ul>\n </nav>\n </div>\n\n <div class=\"content-menu\">\n @if (footerMenu().length) {\n <div class=\"sl-ftr-menu\">\n <nav>\n <ul class=\"sl-ftr-menu-list\">\n @for (menu of footerMenu(); track menu.title) {\n <li class=\"sl-ftr-menu-list-item\">\n @if (menu.title) {\n <div class=\"sl-ftr-menu-item\" [ngClass]=\"{ 'have-children': menu.children?.length }\" (click)=\"toggleSubMenu($event, menu)\">\n <a\n class=\"sl-ftr-menu-item-link\"\n [href]=\"menu.url\"\n rdsitelink\n [title]=\"menu.title\"\n (click)=\"toggleSubMenu($event, menu); footerMenuItemClicked($event)\"\n >\n {{ menu.title }}\n </a>\n\n @if (menu.children?.length) {\n <svg width=\"20\" height=\"20\" viewBox=\"0 0 24 24\" preserveAspectRatio=\"xMidYMid meet\">\n <use [attr.xlink:href]=\"assetsPath() + '/icons/iconset-default.svg#' + (menu.active ? 'up' : 'down')\"></use>\n </svg>\n }\n </div>\n\n @if (menu.children?.length) {\n <ul class=\"sl-ftr-menu-item-children\" [ngClass]=\"{ closed: !menu.active }\">\n @for (submenu of menu.children; track submenu.title) {\n <li class=\"sl-ftr-menu-item-children-item\">\n <div class=\"sl-ftr-menu-item alt\">\n <a class=\"sl-ftr-menu-item-link\" [href]=\"submenu.url\" rdsitelink [title]=\"submenu.title\" (click)=\"footerMenuItemClicked($event)\">\n {{ submenu.title }}\n </a>\n </div>\n </li>\n }\n </ul>\n }\n }\n </li>\n }\n </ul>\n </nav>\n </div>\n }\n </div>\n</div>\n\n<div class=\"sl-ftr-disc\">\n <div class=\"disc-content\">\n <div class=\"disc-content-copy\">\u00A9{{ currentYear }} {{ disclaimer() }}</div>\n <ul class=\"disc-content-links\">\n <li>\n <a [href]=\"linkPrivacyFooter() || '#'\" target=\"_blank\" data-testid=\"_avisoPrivacidade\" (click)=\"footerPrivacyClicked($event)\"> Aviso de Privacidade </a>\n </li>\n <li>\n <button (click)=\"privacyTools.openCookieBanner(); footerCookieClicked($event)\" data-testid=\"_avisoCookies\">Aviso de Cookies</button>\n </li>\n </ul>\n </div>\n</div>\n", styles: ["footer[sl-ftr]{min-height:530px;background-color:var(--ftr-bg-color);display:grid!important;grid-template-areas:\". . .\" \". content .\" \". . .\" \"disc disc disc\";grid-template-columns:minmax(10%,1fr) minmax(auto,1229.4px) minmax(10%,1fr);grid-template-rows:48px 1fr 48px auto}footer[sl-ftr] *{font-family:Gotham,Arial,Helvetica,sans-serif!important}footer[sl-ftr] svg{stroke:#fff;stroke-width:2.25px;fill:none}footer[sl-ftr] .sl-ftr-content{grid-area:content;display:flex;flex-direction:column;align-items:flex-start;gap:32px}footer[sl-ftr] .sl-ftr-content .content-menu{width:100%}footer[sl-ftr] .sl-ftr-disc{grid-area:disc}@media only screen and (min-width: 1024px){footer[sl-ftr]{grid-template-columns:minmax(5%,1fr) minmax(auto,1229.4px) minmax(5%,1fr)}footer[sl-ftr] .sl-ftr-content{flex-direction:row;gap:44px}}.sl-ftr-menu{display:flex;flex-direction:column;padding-top:20px}.sl-ftr-menu nav{width:100%;height:auto;flex:auto;column-count:unset}@media only screen and (min-width: 1024px){.sl-ftr-menu{flex-direction:row}.sl-ftr-menu nav{flex:3 1 0;column-count:3}}a.sl-ftr-menu-item-link{text-align:left;padding:8px 0;text-decoration:none;font-style:normal}.sl-ftr-menu-list{list-style:none}.sl-ftr-menu-list .sl-ftr-menu-item{display:flex;align-items:center;justify-content:space-between;background-color:transparent;width:auto;cursor:pointer}.sl-ftr-menu-list .sl-ftr-menu-item a.sl-ftr-menu-item-link{color:var(--ftr-color);font-size:14px;font-weight:500;line-height:16px;min-height:35px;letter-spacing:.56px}.sl-ftr-menu-list .sl-ftr-menu-item:hover a{color:var(--ftr-menu-hover-color)}.sl-ftr-menu-list .sl-ftr-menu-item:hover svg{stroke:var(--ftr-menu-hover-color)!important}.sl-ftr-menu-list .sl-ftr-menu-item:active a{color:var(--ftr-menu-active-color)}.sl-ftr-menu-list .sl-ftr-menu-item:active svg{stroke:var(--ftr-menu-active-color)!important}.sl-ftr-menu-list .sl-ftr-menu-item.alt a.sl-ftr-menu-item-link{color:var(--ftr-alt-color);font-size:12px;font-weight:300}.sl-ftr-menu-list .sl-ftr-menu-item.alt:hover a{color:var(--ftr-menu-alt-hover-color)}.sl-ftr-menu-list .sl-ftr-menu-item.alt:hover svg{stroke:var(--ftr-menu-alt-hover-color)!important}.sl-ftr-menu-list .sl-ftr-menu-item.alt:active a{color:var(--ftr-menu-alt-active-color)}.sl-ftr-menu-list .sl-ftr-menu-item.alt:active svg{stroke:var(--ftr-menu-alt-active-color)!important}.sl-ftr-menu-list .sl-ftr-menu-item.have-children{width:100%}.sl-ftr-menu-list .sl-ftr-menu-item svg{display:inline}.sl-ftr-menu-list .sl-ftr-menu-item-children{list-style:none}.sl-ftr-menu-list .sl-ftr-menu-item-children.closed{display:none}.sl-ftr-menu-list .sl-ftr-menu-item-children-item{margin:0 0 0 12px}@media only screen and (min-width: 1024px){.sl-ftr-menu-list .sl-ftr-menu-item svg{display:none}.sl-ftr-menu-list .sl-ftr-menu-item.have-children{width:auto}.sl-ftr-menu-list .sl-ftr-menu-item-children.closed{display:block}.sl-ftr-menu-list .sl-ftr-menu-item-children-item{margin:0 0 0 12px}}.sl-ftr-contact{display:flex;flex-direction:column;align-items:flex-start;justify-content:center;gap:20px 16px;margin-bottom:20px;width:100%;min-height:77px}.sl-ftr-contact img{width:var(--logo-width, 92px);height:50px;object-fit:contain}.sl-ftr-contact .logos .logo{display:contents}.sl-ftr-contact .logos .logo:after{content:\"\";width:1px;height:60px;background-color:var(--ftr-color)}.sl-ftr-contact .logos .partner-logo{display:contents}.sl-ftr-contact .phones{display:flex;width:100%;gap:12px}.sl-ftr-contact .phones .phone,.sl-ftr-contact .phones .dora{display:flex;gap:8px}.sl-ftr-contact .phones .phone .label p,.sl-ftr-contact .phones .dora .label p{color:#f6f6f6;font-size:12px;font-weight:500;line-height:16px;letter-spacing:.72px;padding-bottom:0}.sl-ftr-contact .phones .phone .label a,.sl-ftr-contact .phones .dora .label a{color:#f6f6f6;font-size:14px;font-weight:700;line-height:19px;letter-spacing:.56px;text-decoration:none}.sl-ftr-contact .phones .dora .img{display:block;width:32px;height:32px;background:#d3d3d3 50%/cover no-repeat;border-radius:50%;border:2px solid #448ecd}.sl-ftr-contact .phones .phone .svg{display:flex;justify-content:center;align-items:center;background:#003da5;border-radius:50%;width:32px;height:32px}.sl-ftr-contact .phones .phone.before:before{content:\"\";width:2px;background-color:#f6f6f6;margin-right:6px}@media only screen and (max-width: 1024px){.sl-ftr-contact .phones{flex-direction:column;gap:20px}.sl-ftr-contact .phones .phone.before:before{display:none}}@media only screen and (min-width: 1024px){.sl-ftr-contact{gap:20px 24px;width:328px}}nav.sl-ftr-medias ul{list-style:none;display:flex;gap:16px 0px;flex-wrap:wrap;width:100%}nav.sl-ftr-medias ul li{display:flex;justify-content:center;align-items:center;border-radius:100%;border:1px solid #ffffff;width:36px;height:36px;margin-right:12px}nav.sl-ftr-medias ul li a{display:flex;justify-content:center;align-items:center;border-radius:100%;width:36px;height:36px;text-decoration:none}@media only screen and (min-width: 361px){nav.sl-ftr-medias ul li{margin-right:15px}}@media only screen and (min-width: 1024px){nav.sl-ftr-medias ul{flex-wrap:nowrap}}.sl-ftr-disc{background-color:var(--ftr-disc-bg-color);display:grid!important;grid-template-areas:\". disc-content .\";grid-template-columns:minmax(5%,1fr) minmax(auto,1229.4px) minmax(5%,1fr);grid-template-rows:auto}.sl-ftr-disc .disc-content{grid-area:disc-content;height:auto;padding:12px 0;display:flex;align-items:flex-start;justify-content:flex-start;gap:8px;flex-direction:column}.sl-ftr-disc .disc-content-copy{font-size:12px;font-style:normal;font-weight:500;text-transform:uppercase;color:var(--ftr-disc-color)}.sl-ftr-disc .disc-content-links{list-style:none;display:flex;flex-direction:row;align-items:flex-start;flex-wrap:wrap;gap:0px 36px}.sl-ftr-disc .disc-content-links li a,.sl-ftr-disc .disc-content-links li button{font-size:12px;font-style:normal;font-weight:500;color:var(--ftr-disc-alt-color);text-decoration:none;cursor:pointer;background:transparent}@media only screen and (min-width: 1024px){.sl-ftr-disc .disc-content{height:40px;padding:0;align-items:center;flex-direction:row;gap:36px}.sl-ftr-disc .disc-content-links{gap:36px}}\n"], dependencies: [{ kind: "ngmodule", type: CommonModule }, { kind: "directive", type: i1.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { kind: "directive", type: RdsiteLinkDirective, selector: "[rdsitelink]", inputs: ["anchorAdjustment", "anchorExtraAdjustment", "phonemodal"] }], encapsulation: i0.ViewEncapsulation.None }); }
|
|
185
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "20.3.16", type: FooterComponent, isStandalone: true, selector: "footer[sl-ftr]", inputs: { project: { classPropertyName: "project", publicName: "project", isSignal: true, isRequired: false, transformFunction: null }, theme: { classPropertyName: "theme", publicName: "theme", isSignal: true, isRequired: false, transformFunction: null }, disclaimer: { classPropertyName: "disclaimer", publicName: "disclaimer", isSignal: true, isRequired: false, transformFunction: null }, linkPrivacyFooter: { classPropertyName: "linkPrivacyFooter", publicName: "linkPrivacyFooter", isSignal: true, isRequired: false, transformFunction: null }, logo: { classPropertyName: "logo", publicName: "logo", isSignal: true, isRequired: false, transformFunction: null }, partnerLogo: { classPropertyName: "partnerLogo", publicName: "partnerLogo", isSignal: true, isRequired: false, transformFunction: null }, phone: { classPropertyName: "phone", publicName: "phone", isSignal: true, isRequired: false, transformFunction: null }, dora: { classPropertyName: "dora", publicName: "dora", isSignal: true, isRequired: false, transformFunction: null }, socialMenu: { classPropertyName: "socialMenu", publicName: "socialMenu", isSignal: true, isRequired: false, transformFunction: null }, logoWidth: { classPropertyName: "logoWidth", publicName: "logoWidth", isSignal: true, isRequired: false, transformFunction: null }, footerMenu: { classPropertyName: "footerMenu", publicName: "footerMenu", isSignal: true, isRequired: false, transformFunction: null } }, outputs: { footerPrivacyClick: "footerPrivacyClick", footerCookieClick: "footerCookieClick", footerSocialMediaClick: "footerSocialMediaClick", footerMenuItemClick: "footerMenuItemClick" }, host: { properties: { "style.--font-family": "this.curaApiService.theme.fonts.getFamily()" } }, ngImport: i0, template: "<div class=\"sl-ftr-content\">\n <div>\n <div class=\"sl-ftr-contact\" [class.starTheme]=\"theme() === 'star'\">\n <div class=\"logos\">\n @if (logo()) {\n <div class=\"logo\">\n <img [src]=\"logo()?.url\" [alt]=\"logo()?.alt\" [title]=\"logo()?.title\" loading=\"lazy\" fetchpriority=\"low\" />\n </div>\n }\n @if (partnerLogo()) {\n <div class=\"partner-logo\">\n <img [src]=\"partnerLogo()?.url\" [alt]=\"partnerLogo()?.alt\" [title]=\"partnerLogo()?.title\" loading=\"lazy\" fetchpriority=\"low\" />\n </div>\n }\n </div>\n <div class=\"phones\">\n @if (dora().number && dora().link) {\n <div class=\"dora\">\n <div\n class=\"img\"\n [style.background-image]=\"dora().imgUrl ? 'url(' + dora().imgUrl + ')' : 'url(' + assetsPath() + '/imgs/bg_dora_whatsapp.webp)'\"\n ></div>\n <span class=\"label\">\n <p>Fale com a Dora</p>\n <a rdsitelink [href]=\"dora().link\">\n {{ dora().number }}\n </a>\n </span>\n </div>\n }\n @if (phone()) {\n <div class=\"phone\" [class.before]=\"dora().number && dora().link\">\n <div class=\"svg\">\n <svg width=\"16\" height=\"16\" viewBox=\"0 0 24 24\" preserveAspectRatio=\"xMidYMid meet\">\n <use [attr.xlink:href]=\"assetsPath() + '/icons/iconset-default.svg#phone'\"></use>\n </svg>\n </div>\n <span class=\"label\">\n <p>{{ theme() === 'star' ? 'Concierge' : 'Central' }}</p>\n <a rdsitelink href=\"tel:{{ phone() }}\">\n {{ phone() }}\n </a>\n </span>\n </div>\n }\n </div>\n </div>\n\n <nav class=\"sl-ftr-medias\" [class.starTheme]=\"theme() === 'star'\">\n <ul>\n @for (social of socialMenu(); track social.title) {\n <li>\n <a [href]=\"social.link\" rdsitelink [title]=\"social.title\" (click)=\"footerSocialMediaClicked($event)\">\n <svg width=\"16\" height=\"16\" viewBox=\"0 0 24 24\" preserveAspectRatio=\"xMidYMid meet\">\n <use [attr.xlink:href]=\"assetsPath() + '/icons/iconset-default.svg#' + social.icon\"></use>\n </svg>\n </a>\n </li>\n }\n </ul>\n </nav>\n </div>\n\n <div class=\"content-menu\">\n @if (footerMenu().length) {\n <div class=\"sl-ftr-menu\">\n <nav>\n <ul class=\"sl-ftr-menu-list\">\n @for (menu of footerMenu(); track menu.title) {\n <li class=\"sl-ftr-menu-list-item\">\n @if (menu.title) {\n <div class=\"sl-ftr-menu-item\" [ngClass]=\"{ 'have-children': menu.children?.length }\" (click)=\"toggleSubMenu($event, menu)\">\n <a\n class=\"sl-ftr-menu-item-link\"\n [href]=\"menu.url\"\n rdsitelink\n [title]=\"menu.title\"\n (click)=\"toggleSubMenu($event, menu); footerMenuItemClicked($event)\"\n >\n {{ menu.title }}\n </a>\n\n @if (menu.children?.length) {\n <svg width=\"20\" height=\"20\" viewBox=\"0 0 24 24\" preserveAspectRatio=\"xMidYMid meet\">\n <use [attr.xlink:href]=\"assetsPath() + '/icons/iconset-default.svg#' + (menu.active ? 'up' : 'down')\"></use>\n </svg>\n }\n </div>\n\n @if (menu.children?.length) {\n <ul class=\"sl-ftr-menu-item-children\" [ngClass]=\"{ closed: !menu.active }\">\n @for (submenu of menu.children; track submenu.title) {\n <li class=\"sl-ftr-menu-item-children-item\">\n <div class=\"sl-ftr-menu-item alt\">\n <a class=\"sl-ftr-menu-item-link\" [href]=\"submenu.url\" rdsitelink [title]=\"submenu.title\" (click)=\"footerMenuItemClicked($event)\">\n {{ submenu.title }}\n </a>\n </div>\n </li>\n }\n </ul>\n }\n }\n </li>\n }\n </ul>\n </nav>\n </div>\n }\n </div>\n</div>\n\n<div class=\"sl-ftr-disc\">\n <div class=\"disc-content\">\n <div class=\"disc-content-copy\">\u00A9{{ currentYear }} {{ disclaimer() }}</div>\n <ul class=\"disc-content-links\">\n <li>\n <a [href]=\"linkPrivacyFooter() || '#'\" target=\"_blank\" data-testid=\"_avisoPrivacidade\" (click)=\"footerPrivacyClicked($event)\"> Aviso de Privacidade </a>\n </li>\n <li>\n <button (click)=\"privacyTools.openCookieBanner(); footerCookieClicked($event)\" data-testid=\"_avisoCookies\">Aviso de Cookies</button>\n </li>\n </ul>\n </div>\n</div>\n", styles: ["footer[sl-ftr]{min-height:530px;background-color:var(--ftr-bg-color);display:grid!important;grid-template-areas:\". . .\" \". content .\" \". . .\" \"disc disc disc\";grid-template-columns:minmax(10%,1fr) minmax(auto,1229.4px) minmax(10%,1fr);grid-template-rows:48px 1fr 48px auto}footer[sl-ftr] *{font-family:var(--font-family)!important}footer[sl-ftr] svg{stroke:#fff;stroke-width:2.25px;fill:none}footer[sl-ftr] .sl-ftr-content{grid-area:content;display:flex;flex-direction:column;align-items:flex-start;gap:32px}footer[sl-ftr] .sl-ftr-content .content-menu{width:100%}footer[sl-ftr] .sl-ftr-disc{grid-area:disc}@media only screen and (min-width: 1024px){footer[sl-ftr]{grid-template-columns:minmax(5%,1fr) minmax(auto,1229.4px) minmax(5%,1fr)}footer[sl-ftr] .sl-ftr-content{flex-direction:row;gap:44px}}.sl-ftr-menu{display:flex;flex-direction:column;padding-top:20px}.sl-ftr-menu nav{width:100%;height:auto;flex:auto;column-count:unset}@media only screen and (min-width: 1024px){.sl-ftr-menu{flex-direction:row}.sl-ftr-menu nav{flex:3 1 0;column-count:3}}a.sl-ftr-menu-item-link{text-align:left;padding:8px 0;text-decoration:none;font-style:normal}.sl-ftr-menu-list{list-style:none}.sl-ftr-menu-list .sl-ftr-menu-item{display:flex;align-items:center;justify-content:space-between;background-color:transparent;width:auto;cursor:pointer}.sl-ftr-menu-list .sl-ftr-menu-item a.sl-ftr-menu-item-link{color:var(--ftr-color);font-size:14px;font-weight:500;line-height:16px;min-height:35px;letter-spacing:.56px}.sl-ftr-menu-list .sl-ftr-menu-item:hover a{color:var(--ftr-menu-hover-color)}.sl-ftr-menu-list .sl-ftr-menu-item:hover svg{stroke:var(--ftr-menu-hover-color)!important}.sl-ftr-menu-list .sl-ftr-menu-item:active a{color:var(--ftr-menu-active-color)}.sl-ftr-menu-list .sl-ftr-menu-item:active svg{stroke:var(--ftr-menu-active-color)!important}.sl-ftr-menu-list .sl-ftr-menu-item.alt a.sl-ftr-menu-item-link{color:var(--ftr-alt-color);font-size:12px;font-weight:300}.sl-ftr-menu-list .sl-ftr-menu-item.alt:hover a{color:var(--ftr-menu-alt-hover-color)}.sl-ftr-menu-list .sl-ftr-menu-item.alt:hover svg{stroke:var(--ftr-menu-alt-hover-color)!important}.sl-ftr-menu-list .sl-ftr-menu-item.alt:active a{color:var(--ftr-menu-alt-active-color)}.sl-ftr-menu-list .sl-ftr-menu-item.alt:active svg{stroke:var(--ftr-menu-alt-active-color)!important}.sl-ftr-menu-list .sl-ftr-menu-item.have-children{width:100%}.sl-ftr-menu-list .sl-ftr-menu-item svg{display:inline}.sl-ftr-menu-list .sl-ftr-menu-item-children{list-style:none}.sl-ftr-menu-list .sl-ftr-menu-item-children.closed{display:none}.sl-ftr-menu-list .sl-ftr-menu-item-children-item{margin:0 0 0 12px}@media only screen and (min-width: 1024px){.sl-ftr-menu-list .sl-ftr-menu-item svg{display:none}.sl-ftr-menu-list .sl-ftr-menu-item.have-children{width:auto}.sl-ftr-menu-list .sl-ftr-menu-item-children.closed{display:block}.sl-ftr-menu-list .sl-ftr-menu-item-children-item{margin:0 0 0 12px}}.sl-ftr-contact{display:flex;flex-direction:column;align-items:flex-start;justify-content:center;gap:20px 16px;margin-bottom:20px;width:100%;min-height:77px}.sl-ftr-contact img{width:var(--logo-width, 92px);height:50px;object-fit:contain}.sl-ftr-contact .logos .logo{display:contents}.sl-ftr-contact .logos .logo:after{content:\"\";width:1px;height:60px;background-color:var(--ftr-color)}.sl-ftr-contact .logos .partner-logo{display:contents}.sl-ftr-contact .phones{display:flex;width:100%;gap:12px}.sl-ftr-contact .phones .phone,.sl-ftr-contact .phones .dora{display:flex;gap:8px}.sl-ftr-contact .phones .phone .label p,.sl-ftr-contact .phones .dora .label p{color:#f6f6f6;font-size:12px;font-weight:500;line-height:16px;letter-spacing:.72px;padding-bottom:0}.sl-ftr-contact .phones .phone .label a,.sl-ftr-contact .phones .dora .label a{color:#f6f6f6;font-size:14px;font-weight:700;line-height:19px;letter-spacing:.56px;text-decoration:none}.sl-ftr-contact .phones .dora .img{display:block;width:32px;height:32px;background:#d3d3d3 50%/cover no-repeat;border-radius:50%;border:2px solid #448ecd}.sl-ftr-contact .phones .phone .svg{display:flex;justify-content:center;align-items:center;background:#003da5;border-radius:50%;width:32px;height:32px}.sl-ftr-contact .phones .phone.before:before{content:\"\";width:2px;background-color:#f6f6f6;margin-right:6px}@media only screen and (max-width: 1024px){.sl-ftr-contact .phones{flex-direction:column;gap:20px}.sl-ftr-contact .phones .phone.before:before{display:none}}@media only screen and (min-width: 1024px){.sl-ftr-contact{gap:20px 24px;width:328px}}.sl-ftr-contact.starTheme .logos .logo:after{background-color:#262626}.sl-ftr-contact.starTheme .phones .phone .label p,.sl-ftr-contact.starTheme .phones .dora .label p,.sl-ftr-contact.starTheme .phones .phone .label a,.sl-ftr-contact.starTheme .phones .dora .label a{color:#262626}.sl-ftr-contact.starTheme .phones .dora .img{border:2px solid #8b7063}.sl-ftr-contact.starTheme .phones .phone .svg{background:transparent}.sl-ftr-contact.starTheme .phones .phone .svg svg{stroke:#262626}.sl-ftr-contact.starTheme .phones .phone.before:before{content:\"\";background-color:#262626}nav.sl-ftr-medias ul{list-style:none;display:flex;gap:16px 0px;flex-wrap:wrap;width:100%}nav.sl-ftr-medias ul li{display:flex;justify-content:center;align-items:center;border-radius:100%;border:1px solid #ffffff;width:36px;height:36px;margin-right:12px}nav.sl-ftr-medias ul li a{display:flex;justify-content:center;align-items:center;border-radius:100%;width:36px;height:36px;text-decoration:none}@media only screen and (min-width: 361px){nav.sl-ftr-medias ul li{margin-right:15px}}@media only screen and (min-width: 1024px){nav.sl-ftr-medias ul{flex-wrap:nowrap}}nav.sl-ftr-medias.starTheme ul li{border:1px solid #262626}nav.sl-ftr-medias.starTheme ul li a svg{stroke:#262626}.sl-ftr-disc{background-color:var(--ftr-disc-bg-color);display:grid!important;grid-template-areas:\". disc-content .\";grid-template-columns:minmax(5%,1fr) minmax(auto,1229.4px) minmax(5%,1fr);grid-template-rows:auto}.sl-ftr-disc .disc-content{grid-area:disc-content;height:auto;padding:12px 0;display:flex;align-items:flex-start;justify-content:flex-start;gap:8px;flex-direction:column}.sl-ftr-disc .disc-content-copy{font-size:12px;font-style:normal;font-weight:500;text-transform:uppercase;color:var(--ftr-disc-color)}.sl-ftr-disc .disc-content-links{list-style:none;display:flex;flex-direction:row;align-items:flex-start;flex-wrap:wrap;gap:0px 36px}.sl-ftr-disc .disc-content-links li a,.sl-ftr-disc .disc-content-links li button{font-size:12px;font-style:normal;font-weight:500;color:var(--ftr-disc-alt-color);text-decoration:none;cursor:pointer;background:transparent}@media only screen and (min-width: 1024px){.sl-ftr-disc .disc-content{height:40px;padding:0;align-items:center;flex-direction:row;gap:36px}.sl-ftr-disc .disc-content-links{gap:36px}}\n"], dependencies: [{ kind: "ngmodule", type: CommonModule }, { kind: "directive", type: i1.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { kind: "directive", type: RdsiteLinkDirective, selector: "[rdsitelink]", inputs: ["anchorAdjustment", "anchorExtraAdjustment", "phonemodal"] }], encapsulation: i0.ViewEncapsulation.None }); }
|
|
141
186
|
}
|
|
142
187
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.16", ngImport: i0, type: FooterComponent, decorators: [{
|
|
143
188
|
type: Component,
|
|
144
|
-
args: [{ selector: 'footer[sl-ftr]', imports: [CommonModule, RdsiteLinkDirective], encapsulation: ViewEncapsulation.None, template: "<div class=\"sl-ftr-content\">\n <div>\n <div class=\"sl-ftr-contact\">\n <div class=\"logos\">\n @if (logo()) {\n <div class=\"logo\">\n <img [src]=\"logo()?.url\" [alt]=\"logo()?.alt\" [title]=\"logo()?.title\" loading=\"lazy\" fetchpriority=\"low\" />\n </div>\n }\n @if (partnerLogo()) {\n <div class=\"partner-logo\">\n <img [src]=\"partnerLogo()?.url\" [alt]=\"partnerLogo()?.alt\" [title]=\"partnerLogo()?.title\" loading=\"lazy\" fetchpriority=\"low\" />\n </div>\n }\n </div>\n <div class=\"phones\">\n @if (dora().number && dora().link) {\n <div class=\"dora\">\n <div\n class=\"img\"\n [style.background-image]=\"dora().imgUrl ? 'url(' + dora().imgUrl + ')' : 'url(' + assetsPath() + '/imgs/bg_dora_whatsapp.webp)'\"\n ></div>\n <span class=\"label\">\n <p>Fale com a Dora</p>\n <a rdsitelink [href]=\"dora().link\">\n {{ dora().number }}\n </a>\n </span>\n </div>\n }\n @if (phone()) {\n <div class=\"phone\" [class.before]=\"dora().number && dora().link\">\n <div class=\"svg\">\n <svg width=\"16\" height=\"16\" viewBox=\"0 0 24 24\" preserveAspectRatio=\"xMidYMid meet\">\n <use [attr.xlink:href]=\"assetsPath() + '/icons/iconset-default.svg#phone'\"></use>\n </svg>\n </div>\n <span class=\"label\">\n <p>Central</p>\n <a rdsitelink href=\"tel:{{ phone() }}\">\n {{ phone() }}\n </a>\n </span>\n </div>\n }\n </div>\n </div>\n\n <nav class=\"sl-ftr-medias\">\n <ul>\n @for (social of socialMenu(); track social.title) {\n <li>\n <a [href]=\"social.link\" rdsitelink [title]=\"social.title\" (click)=\"footerSocialMediaClicked($event)\">\n <svg width=\"16\" height=\"16\" viewBox=\"0 0 24 24\" preserveAspectRatio=\"xMidYMid meet\">\n <use [attr.xlink:href]=\"assetsPath() + '/icons/iconset-default.svg#' + social.icon\"></use>\n </svg>\n </a>\n </li>\n }\n </ul>\n </nav>\n </div>\n\n <div class=\"content-menu\">\n @if (footerMenu().length) {\n <div class=\"sl-ftr-menu\">\n <nav>\n <ul class=\"sl-ftr-menu-list\">\n @for (menu of footerMenu(); track menu.title) {\n <li class=\"sl-ftr-menu-list-item\">\n @if (menu.title) {\n <div class=\"sl-ftr-menu-item\" [ngClass]=\"{ 'have-children': menu.children?.length }\" (click)=\"toggleSubMenu($event, menu)\">\n <a\n class=\"sl-ftr-menu-item-link\"\n [href]=\"menu.url\"\n rdsitelink\n [title]=\"menu.title\"\n (click)=\"toggleSubMenu($event, menu); footerMenuItemClicked($event)\"\n >\n {{ menu.title }}\n </a>\n\n @if (menu.children?.length) {\n <svg width=\"20\" height=\"20\" viewBox=\"0 0 24 24\" preserveAspectRatio=\"xMidYMid meet\">\n <use [attr.xlink:href]=\"assetsPath() + '/icons/iconset-default.svg#' + (menu.active ? 'up' : 'down')\"></use>\n </svg>\n }\n </div>\n\n @if (menu.children?.length) {\n <ul class=\"sl-ftr-menu-item-children\" [ngClass]=\"{ closed: !menu.active }\">\n @for (submenu of menu.children; track submenu.title) {\n <li class=\"sl-ftr-menu-item-children-item\">\n <div class=\"sl-ftr-menu-item alt\">\n <a class=\"sl-ftr-menu-item-link\" [href]=\"submenu.url\" rdsitelink [title]=\"submenu.title\" (click)=\"footerMenuItemClicked($event)\">\n {{ submenu.title }}\n </a>\n </div>\n </li>\n }\n </ul>\n }\n }\n </li>\n }\n </ul>\n </nav>\n </div>\n }\n </div>\n</div>\n\n<div class=\"sl-ftr-disc\">\n <div class=\"disc-content\">\n <div class=\"disc-content-copy\">\u00A9{{ currentYear }} {{ disclaimer() }}</div>\n <ul class=\"disc-content-links\">\n <li>\n <a [href]=\"linkPrivacyFooter() || '#'\" target=\"_blank\" data-testid=\"_avisoPrivacidade\" (click)=\"footerPrivacyClicked($event)\"> Aviso de Privacidade </a>\n </li>\n <li>\n <button (click)=\"privacyTools.openCookieBanner(); footerCookieClicked($event)\" data-testid=\"_avisoCookies\">Aviso de Cookies</button>\n </li>\n </ul>\n </div>\n</div>\n", styles: ["footer[sl-ftr]{min-height:530px;background-color:var(--ftr-bg-color);display:grid!important;grid-template-areas:\". . .\" \". content .\" \". . .\" \"disc disc disc\";grid-template-columns:minmax(10%,1fr) minmax(auto,1229.4px) minmax(10%,1fr);grid-template-rows:48px 1fr 48px auto}footer[sl-ftr] *{font-family:Gotham,Arial,Helvetica,sans-serif!important}footer[sl-ftr] svg{stroke:#fff;stroke-width:2.25px;fill:none}footer[sl-ftr] .sl-ftr-content{grid-area:content;display:flex;flex-direction:column;align-items:flex-start;gap:32px}footer[sl-ftr] .sl-ftr-content .content-menu{width:100%}footer[sl-ftr] .sl-ftr-disc{grid-area:disc}@media only screen and (min-width: 1024px){footer[sl-ftr]{grid-template-columns:minmax(5%,1fr) minmax(auto,1229.4px) minmax(5%,1fr)}footer[sl-ftr] .sl-ftr-content{flex-direction:row;gap:44px}}.sl-ftr-menu{display:flex;flex-direction:column;padding-top:20px}.sl-ftr-menu nav{width:100%;height:auto;flex:auto;column-count:unset}@media only screen and (min-width: 1024px){.sl-ftr-menu{flex-direction:row}.sl-ftr-menu nav{flex:3 1 0;column-count:3}}a.sl-ftr-menu-item-link{text-align:left;padding:8px 0;text-decoration:none;font-style:normal}.sl-ftr-menu-list{list-style:none}.sl-ftr-menu-list .sl-ftr-menu-item{display:flex;align-items:center;justify-content:space-between;background-color:transparent;width:auto;cursor:pointer}.sl-ftr-menu-list .sl-ftr-menu-item a.sl-ftr-menu-item-link{color:var(--ftr-color);font-size:14px;font-weight:500;line-height:16px;min-height:35px;letter-spacing:.56px}.sl-ftr-menu-list .sl-ftr-menu-item:hover a{color:var(--ftr-menu-hover-color)}.sl-ftr-menu-list .sl-ftr-menu-item:hover svg{stroke:var(--ftr-menu-hover-color)!important}.sl-ftr-menu-list .sl-ftr-menu-item:active a{color:var(--ftr-menu-active-color)}.sl-ftr-menu-list .sl-ftr-menu-item:active svg{stroke:var(--ftr-menu-active-color)!important}.sl-ftr-menu-list .sl-ftr-menu-item.alt a.sl-ftr-menu-item-link{color:var(--ftr-alt-color);font-size:12px;font-weight:300}.sl-ftr-menu-list .sl-ftr-menu-item.alt:hover a{color:var(--ftr-menu-alt-hover-color)}.sl-ftr-menu-list .sl-ftr-menu-item.alt:hover svg{stroke:var(--ftr-menu-alt-hover-color)!important}.sl-ftr-menu-list .sl-ftr-menu-item.alt:active a{color:var(--ftr-menu-alt-active-color)}.sl-ftr-menu-list .sl-ftr-menu-item.alt:active svg{stroke:var(--ftr-menu-alt-active-color)!important}.sl-ftr-menu-list .sl-ftr-menu-item.have-children{width:100%}.sl-ftr-menu-list .sl-ftr-menu-item svg{display:inline}.sl-ftr-menu-list .sl-ftr-menu-item-children{list-style:none}.sl-ftr-menu-list .sl-ftr-menu-item-children.closed{display:none}.sl-ftr-menu-list .sl-ftr-menu-item-children-item{margin:0 0 0 12px}@media only screen and (min-width: 1024px){.sl-ftr-menu-list .sl-ftr-menu-item svg{display:none}.sl-ftr-menu-list .sl-ftr-menu-item.have-children{width:auto}.sl-ftr-menu-list .sl-ftr-menu-item-children.closed{display:block}.sl-ftr-menu-list .sl-ftr-menu-item-children-item{margin:0 0 0 12px}}.sl-ftr-contact{display:flex;flex-direction:column;align-items:flex-start;justify-content:center;gap:20px 16px;margin-bottom:20px;width:100%;min-height:77px}.sl-ftr-contact img{width:var(--logo-width, 92px);height:50px;object-fit:contain}.sl-ftr-contact .logos .logo{display:contents}.sl-ftr-contact .logos .logo:after{content:\"\";width:1px;height:60px;background-color:var(--ftr-color)}.sl-ftr-contact .logos .partner-logo{display:contents}.sl-ftr-contact .phones{display:flex;width:100%;gap:12px}.sl-ftr-contact .phones .phone,.sl-ftr-contact .phones .dora{display:flex;gap:8px}.sl-ftr-contact .phones .phone .label p,.sl-ftr-contact .phones .dora .label p{color:#f6f6f6;font-size:12px;font-weight:500;line-height:16px;letter-spacing:.72px;padding-bottom:0}.sl-ftr-contact .phones .phone .label a,.sl-ftr-contact .phones .dora .label a{color:#f6f6f6;font-size:14px;font-weight:700;line-height:19px;letter-spacing:.56px;text-decoration:none}.sl-ftr-contact .phones .dora .img{display:block;width:32px;height:32px;background:#d3d3d3 50%/cover no-repeat;border-radius:50%;border:2px solid #448ecd}.sl-ftr-contact .phones .phone .svg{display:flex;justify-content:center;align-items:center;background:#003da5;border-radius:50%;width:32px;height:32px}.sl-ftr-contact .phones .phone.before:before{content:\"\";width:2px;background-color:#f6f6f6;margin-right:6px}@media only screen and (max-width: 1024px){.sl-ftr-contact .phones{flex-direction:column;gap:20px}.sl-ftr-contact .phones .phone.before:before{display:none}}@media only screen and (min-width: 1024px){.sl-ftr-contact{gap:20px 24px;width:328px}}nav.sl-ftr-medias ul{list-style:none;display:flex;gap:16px 0px;flex-wrap:wrap;width:100%}nav.sl-ftr-medias ul li{display:flex;justify-content:center;align-items:center;border-radius:100%;border:1px solid #ffffff;width:36px;height:36px;margin-right:12px}nav.sl-ftr-medias ul li a{display:flex;justify-content:center;align-items:center;border-radius:100%;width:36px;height:36px;text-decoration:none}@media only screen and (min-width: 361px){nav.sl-ftr-medias ul li{margin-right:15px}}@media only screen and (min-width: 1024px){nav.sl-ftr-medias ul{flex-wrap:nowrap}}.sl-ftr-disc{background-color:var(--ftr-disc-bg-color);display:grid!important;grid-template-areas:\". disc-content .\";grid-template-columns:minmax(5%,1fr) minmax(auto,1229.4px) minmax(5%,1fr);grid-template-rows:auto}.sl-ftr-disc .disc-content{grid-area:disc-content;height:auto;padding:12px 0;display:flex;align-items:flex-start;justify-content:flex-start;gap:8px;flex-direction:column}.sl-ftr-disc .disc-content-copy{font-size:12px;font-style:normal;font-weight:500;text-transform:uppercase;color:var(--ftr-disc-color)}.sl-ftr-disc .disc-content-links{list-style:none;display:flex;flex-direction:row;align-items:flex-start;flex-wrap:wrap;gap:0px 36px}.sl-ftr-disc .disc-content-links li a,.sl-ftr-disc .disc-content-links li button{font-size:12px;font-style:normal;font-weight:500;color:var(--ftr-disc-alt-color);text-decoration:none;cursor:pointer;background:transparent}@media only screen and (min-width: 1024px){.sl-ftr-disc .disc-content{height:40px;padding:0;align-items:center;flex-direction:row;gap:36px}.sl-ftr-disc .disc-content-links{gap:36px}}\n"] }]
|
|
189
|
+
args: [{ selector: 'footer[sl-ftr]', imports: [CommonModule, RdsiteLinkDirective], encapsulation: ViewEncapsulation.None, host: {
|
|
190
|
+
'[style.--font-family]': 'this.curaApiService.theme.fonts.getFamily()',
|
|
191
|
+
}, template: "<div class=\"sl-ftr-content\">\n <div>\n <div class=\"sl-ftr-contact\" [class.starTheme]=\"theme() === 'star'\">\n <div class=\"logos\">\n @if (logo()) {\n <div class=\"logo\">\n <img [src]=\"logo()?.url\" [alt]=\"logo()?.alt\" [title]=\"logo()?.title\" loading=\"lazy\" fetchpriority=\"low\" />\n </div>\n }\n @if (partnerLogo()) {\n <div class=\"partner-logo\">\n <img [src]=\"partnerLogo()?.url\" [alt]=\"partnerLogo()?.alt\" [title]=\"partnerLogo()?.title\" loading=\"lazy\" fetchpriority=\"low\" />\n </div>\n }\n </div>\n <div class=\"phones\">\n @if (dora().number && dora().link) {\n <div class=\"dora\">\n <div\n class=\"img\"\n [style.background-image]=\"dora().imgUrl ? 'url(' + dora().imgUrl + ')' : 'url(' + assetsPath() + '/imgs/bg_dora_whatsapp.webp)'\"\n ></div>\n <span class=\"label\">\n <p>Fale com a Dora</p>\n <a rdsitelink [href]=\"dora().link\">\n {{ dora().number }}\n </a>\n </span>\n </div>\n }\n @if (phone()) {\n <div class=\"phone\" [class.before]=\"dora().number && dora().link\">\n <div class=\"svg\">\n <svg width=\"16\" height=\"16\" viewBox=\"0 0 24 24\" preserveAspectRatio=\"xMidYMid meet\">\n <use [attr.xlink:href]=\"assetsPath() + '/icons/iconset-default.svg#phone'\"></use>\n </svg>\n </div>\n <span class=\"label\">\n <p>{{ theme() === 'star' ? 'Concierge' : 'Central' }}</p>\n <a rdsitelink href=\"tel:{{ phone() }}\">\n {{ phone() }}\n </a>\n </span>\n </div>\n }\n </div>\n </div>\n\n <nav class=\"sl-ftr-medias\" [class.starTheme]=\"theme() === 'star'\">\n <ul>\n @for (social of socialMenu(); track social.title) {\n <li>\n <a [href]=\"social.link\" rdsitelink [title]=\"social.title\" (click)=\"footerSocialMediaClicked($event)\">\n <svg width=\"16\" height=\"16\" viewBox=\"0 0 24 24\" preserveAspectRatio=\"xMidYMid meet\">\n <use [attr.xlink:href]=\"assetsPath() + '/icons/iconset-default.svg#' + social.icon\"></use>\n </svg>\n </a>\n </li>\n }\n </ul>\n </nav>\n </div>\n\n <div class=\"content-menu\">\n @if (footerMenu().length) {\n <div class=\"sl-ftr-menu\">\n <nav>\n <ul class=\"sl-ftr-menu-list\">\n @for (menu of footerMenu(); track menu.title) {\n <li class=\"sl-ftr-menu-list-item\">\n @if (menu.title) {\n <div class=\"sl-ftr-menu-item\" [ngClass]=\"{ 'have-children': menu.children?.length }\" (click)=\"toggleSubMenu($event, menu)\">\n <a\n class=\"sl-ftr-menu-item-link\"\n [href]=\"menu.url\"\n rdsitelink\n [title]=\"menu.title\"\n (click)=\"toggleSubMenu($event, menu); footerMenuItemClicked($event)\"\n >\n {{ menu.title }}\n </a>\n\n @if (menu.children?.length) {\n <svg width=\"20\" height=\"20\" viewBox=\"0 0 24 24\" preserveAspectRatio=\"xMidYMid meet\">\n <use [attr.xlink:href]=\"assetsPath() + '/icons/iconset-default.svg#' + (menu.active ? 'up' : 'down')\"></use>\n </svg>\n }\n </div>\n\n @if (menu.children?.length) {\n <ul class=\"sl-ftr-menu-item-children\" [ngClass]=\"{ closed: !menu.active }\">\n @for (submenu of menu.children; track submenu.title) {\n <li class=\"sl-ftr-menu-item-children-item\">\n <div class=\"sl-ftr-menu-item alt\">\n <a class=\"sl-ftr-menu-item-link\" [href]=\"submenu.url\" rdsitelink [title]=\"submenu.title\" (click)=\"footerMenuItemClicked($event)\">\n {{ submenu.title }}\n </a>\n </div>\n </li>\n }\n </ul>\n }\n }\n </li>\n }\n </ul>\n </nav>\n </div>\n }\n </div>\n</div>\n\n<div class=\"sl-ftr-disc\">\n <div class=\"disc-content\">\n <div class=\"disc-content-copy\">\u00A9{{ currentYear }} {{ disclaimer() }}</div>\n <ul class=\"disc-content-links\">\n <li>\n <a [href]=\"linkPrivacyFooter() || '#'\" target=\"_blank\" data-testid=\"_avisoPrivacidade\" (click)=\"footerPrivacyClicked($event)\"> Aviso de Privacidade </a>\n </li>\n <li>\n <button (click)=\"privacyTools.openCookieBanner(); footerCookieClicked($event)\" data-testid=\"_avisoCookies\">Aviso de Cookies</button>\n </li>\n </ul>\n </div>\n</div>\n", styles: ["footer[sl-ftr]{min-height:530px;background-color:var(--ftr-bg-color);display:grid!important;grid-template-areas:\". . .\" \". content .\" \". . .\" \"disc disc disc\";grid-template-columns:minmax(10%,1fr) minmax(auto,1229.4px) minmax(10%,1fr);grid-template-rows:48px 1fr 48px auto}footer[sl-ftr] *{font-family:var(--font-family)!important}footer[sl-ftr] svg{stroke:#fff;stroke-width:2.25px;fill:none}footer[sl-ftr] .sl-ftr-content{grid-area:content;display:flex;flex-direction:column;align-items:flex-start;gap:32px}footer[sl-ftr] .sl-ftr-content .content-menu{width:100%}footer[sl-ftr] .sl-ftr-disc{grid-area:disc}@media only screen and (min-width: 1024px){footer[sl-ftr]{grid-template-columns:minmax(5%,1fr) minmax(auto,1229.4px) minmax(5%,1fr)}footer[sl-ftr] .sl-ftr-content{flex-direction:row;gap:44px}}.sl-ftr-menu{display:flex;flex-direction:column;padding-top:20px}.sl-ftr-menu nav{width:100%;height:auto;flex:auto;column-count:unset}@media only screen and (min-width: 1024px){.sl-ftr-menu{flex-direction:row}.sl-ftr-menu nav{flex:3 1 0;column-count:3}}a.sl-ftr-menu-item-link{text-align:left;padding:8px 0;text-decoration:none;font-style:normal}.sl-ftr-menu-list{list-style:none}.sl-ftr-menu-list .sl-ftr-menu-item{display:flex;align-items:center;justify-content:space-between;background-color:transparent;width:auto;cursor:pointer}.sl-ftr-menu-list .sl-ftr-menu-item a.sl-ftr-menu-item-link{color:var(--ftr-color);font-size:14px;font-weight:500;line-height:16px;min-height:35px;letter-spacing:.56px}.sl-ftr-menu-list .sl-ftr-menu-item:hover a{color:var(--ftr-menu-hover-color)}.sl-ftr-menu-list .sl-ftr-menu-item:hover svg{stroke:var(--ftr-menu-hover-color)!important}.sl-ftr-menu-list .sl-ftr-menu-item:active a{color:var(--ftr-menu-active-color)}.sl-ftr-menu-list .sl-ftr-menu-item:active svg{stroke:var(--ftr-menu-active-color)!important}.sl-ftr-menu-list .sl-ftr-menu-item.alt a.sl-ftr-menu-item-link{color:var(--ftr-alt-color);font-size:12px;font-weight:300}.sl-ftr-menu-list .sl-ftr-menu-item.alt:hover a{color:var(--ftr-menu-alt-hover-color)}.sl-ftr-menu-list .sl-ftr-menu-item.alt:hover svg{stroke:var(--ftr-menu-alt-hover-color)!important}.sl-ftr-menu-list .sl-ftr-menu-item.alt:active a{color:var(--ftr-menu-alt-active-color)}.sl-ftr-menu-list .sl-ftr-menu-item.alt:active svg{stroke:var(--ftr-menu-alt-active-color)!important}.sl-ftr-menu-list .sl-ftr-menu-item.have-children{width:100%}.sl-ftr-menu-list .sl-ftr-menu-item svg{display:inline}.sl-ftr-menu-list .sl-ftr-menu-item-children{list-style:none}.sl-ftr-menu-list .sl-ftr-menu-item-children.closed{display:none}.sl-ftr-menu-list .sl-ftr-menu-item-children-item{margin:0 0 0 12px}@media only screen and (min-width: 1024px){.sl-ftr-menu-list .sl-ftr-menu-item svg{display:none}.sl-ftr-menu-list .sl-ftr-menu-item.have-children{width:auto}.sl-ftr-menu-list .sl-ftr-menu-item-children.closed{display:block}.sl-ftr-menu-list .sl-ftr-menu-item-children-item{margin:0 0 0 12px}}.sl-ftr-contact{display:flex;flex-direction:column;align-items:flex-start;justify-content:center;gap:20px 16px;margin-bottom:20px;width:100%;min-height:77px}.sl-ftr-contact img{width:var(--logo-width, 92px);height:50px;object-fit:contain}.sl-ftr-contact .logos .logo{display:contents}.sl-ftr-contact .logos .logo:after{content:\"\";width:1px;height:60px;background-color:var(--ftr-color)}.sl-ftr-contact .logos .partner-logo{display:contents}.sl-ftr-contact .phones{display:flex;width:100%;gap:12px}.sl-ftr-contact .phones .phone,.sl-ftr-contact .phones .dora{display:flex;gap:8px}.sl-ftr-contact .phones .phone .label p,.sl-ftr-contact .phones .dora .label p{color:#f6f6f6;font-size:12px;font-weight:500;line-height:16px;letter-spacing:.72px;padding-bottom:0}.sl-ftr-contact .phones .phone .label a,.sl-ftr-contact .phones .dora .label a{color:#f6f6f6;font-size:14px;font-weight:700;line-height:19px;letter-spacing:.56px;text-decoration:none}.sl-ftr-contact .phones .dora .img{display:block;width:32px;height:32px;background:#d3d3d3 50%/cover no-repeat;border-radius:50%;border:2px solid #448ecd}.sl-ftr-contact .phones .phone .svg{display:flex;justify-content:center;align-items:center;background:#003da5;border-radius:50%;width:32px;height:32px}.sl-ftr-contact .phones .phone.before:before{content:\"\";width:2px;background-color:#f6f6f6;margin-right:6px}@media only screen and (max-width: 1024px){.sl-ftr-contact .phones{flex-direction:column;gap:20px}.sl-ftr-contact .phones .phone.before:before{display:none}}@media only screen and (min-width: 1024px){.sl-ftr-contact{gap:20px 24px;width:328px}}.sl-ftr-contact.starTheme .logos .logo:after{background-color:#262626}.sl-ftr-contact.starTheme .phones .phone .label p,.sl-ftr-contact.starTheme .phones .dora .label p,.sl-ftr-contact.starTheme .phones .phone .label a,.sl-ftr-contact.starTheme .phones .dora .label a{color:#262626}.sl-ftr-contact.starTheme .phones .dora .img{border:2px solid #8b7063}.sl-ftr-contact.starTheme .phones .phone .svg{background:transparent}.sl-ftr-contact.starTheme .phones .phone .svg svg{stroke:#262626}.sl-ftr-contact.starTheme .phones .phone.before:before{content:\"\";background-color:#262626}nav.sl-ftr-medias ul{list-style:none;display:flex;gap:16px 0px;flex-wrap:wrap;width:100%}nav.sl-ftr-medias ul li{display:flex;justify-content:center;align-items:center;border-radius:100%;border:1px solid #ffffff;width:36px;height:36px;margin-right:12px}nav.sl-ftr-medias ul li a{display:flex;justify-content:center;align-items:center;border-radius:100%;width:36px;height:36px;text-decoration:none}@media only screen and (min-width: 361px){nav.sl-ftr-medias ul li{margin-right:15px}}@media only screen and (min-width: 1024px){nav.sl-ftr-medias ul{flex-wrap:nowrap}}nav.sl-ftr-medias.starTheme ul li{border:1px solid #262626}nav.sl-ftr-medias.starTheme ul li a svg{stroke:#262626}.sl-ftr-disc{background-color:var(--ftr-disc-bg-color);display:grid!important;grid-template-areas:\". disc-content .\";grid-template-columns:minmax(5%,1fr) minmax(auto,1229.4px) minmax(5%,1fr);grid-template-rows:auto}.sl-ftr-disc .disc-content{grid-area:disc-content;height:auto;padding:12px 0;display:flex;align-items:flex-start;justify-content:flex-start;gap:8px;flex-direction:column}.sl-ftr-disc .disc-content-copy{font-size:12px;font-style:normal;font-weight:500;text-transform:uppercase;color:var(--ftr-disc-color)}.sl-ftr-disc .disc-content-links{list-style:none;display:flex;flex-direction:row;align-items:flex-start;flex-wrap:wrap;gap:0px 36px}.sl-ftr-disc .disc-content-links li a,.sl-ftr-disc .disc-content-links li button{font-size:12px;font-style:normal;font-weight:500;color:var(--ftr-disc-alt-color);text-decoration:none;cursor:pointer;background:transparent}@media only screen and (min-width: 1024px){.sl-ftr-disc .disc-content{height:40px;padding:0;align-items:center;flex-direction:row;gap:36px}.sl-ftr-disc .disc-content-links{gap:36px}}\n"] }]
|
|
145
192
|
}], ctorParameters: () => [], propDecorators: { project: [{ type: i0.Input, args: [{ isSignal: true, alias: "project", required: false }] }], theme: [{ type: i0.Input, args: [{ isSignal: true, alias: "theme", required: false }] }], disclaimer: [{ type: i0.Input, args: [{ isSignal: true, alias: "disclaimer", required: false }] }], linkPrivacyFooter: [{ type: i0.Input, args: [{ isSignal: true, alias: "linkPrivacyFooter", required: false }] }], logo: [{ type: i0.Input, args: [{ isSignal: true, alias: "logo", required: false }] }], partnerLogo: [{ type: i0.Input, args: [{ isSignal: true, alias: "partnerLogo", required: false }] }], phone: [{ type: i0.Input, args: [{ isSignal: true, alias: "phone", required: false }] }], dora: [{ type: i0.Input, args: [{ isSignal: true, alias: "dora", required: false }] }], socialMenu: [{ type: i0.Input, args: [{ isSignal: true, alias: "socialMenu", required: false }] }], logoWidth: [{ type: i0.Input, args: [{ isSignal: true, alias: "logoWidth", required: false }] }], footerMenu: [{ type: i0.Input, args: [{ isSignal: true, alias: "footerMenu", required: false }] }], footerPrivacyClick: [{ type: i0.Output, args: ["footerPrivacyClick"] }], footerCookieClick: [{ type: i0.Output, args: ["footerCookieClick"] }], footerSocialMediaClick: [{ type: i0.Output, args: ["footerSocialMediaClick"] }], footerMenuItemClick: [{ type: i0.Output, args: ["footerMenuItemClick"] }] } });
|
|
146
193
|
|
|
147
194
|
/**
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"rededor-site-front-end-lib-components-footer.mjs","sources":["../../../projects/site-front-end-lib/components/footer/helpers/footerTheme.func.ts","../../../projects/site-front-end-lib/components/footer/footer.component.ts","../../../projects/site-front-end-lib/components/footer/footer.component.html","../../../projects/site-front-end-lib/components/footer/rededor-site-front-end-lib-components-footer.ts"],"sourcesContent":["import { CuraApiService } from '@rededor/site-front-end-lib/cura/api';\nimport { FooterTheme } from '../models/FooterTheme.model';\n\nexport const getFooterTheme = (project: string = 'site', themeStyle: string = 'default', curaApiService: CuraApiService) => {\n const theme: FooterTheme = {\n ftr: {},\n 'ftr-disc': {},\n 'ftr-menu': {},\n 'ftr-social': {},\n };\n\n const [primaryLighter, primaryLight, primaryBase, primaryDarker] = [\n curaApiService.theme.colors.getColor('primary-lighter'),\n curaApiService.theme.colors.getColor('primary-light'),\n curaApiService.theme.colors.getColor('primary-base'),\n curaApiService.theme.colors.getColor('primary-darker'),\n ];\n const [accentLight, accentBase] = [curaApiService.theme.colors.getColor('accent-light'), curaApiService.theme.colors.getColor('accent-base')];\n const [neutralPurewhite, neutralWhite, neutralBlack] = [\n curaApiService.theme.colors.getColor('neutral-purewhite'),\n curaApiService.theme.colors.getColor('neutral-white'),\n curaApiService.theme.colors.getColor('neutral-black'),\n ];\n\n switch (project) {\n case 'site':\n if (themeStyle === 'default') {\n theme.ftr = {\n 'bg-color': primaryDarker,\n color: neutralWhite,\n 'alt-color': primaryLighter,\n };\n theme['ftr-disc'] = {\n 'bg-color': neutralPurewhite,\n color: neutralBlack,\n 'alt-color': primaryBase,\n };\n theme['ftr-menu'] = {\n 'hover-color': accentLight,\n 'active-color': accentBase,\n 'alt-hover-color': primaryLight,\n 'alt-active-color': primaryBase,\n };\n theme['ftr-social'] = {\n color: neutralWhite,\n };\n } else {\n theme.ftr = {\n 'bg-color': primaryDarker,\n color: neutralWhite,\n 'alt-color': primaryLighter,\n };\n theme['ftr-disc'] = {\n 'bg-color': neutralPurewhite,\n color: neutralBlack,\n 'alt-color': primaryBase,\n };\n theme['ftr-menu'] = {\n 'hover-color': accentLight,\n 'active-color': accentBase,\n 'alt-hover-color': primaryLight,\n 'alt-active-color': primaryBase,\n };\n theme['ftr-social'] = {\n color: neutralWhite,\n };\n }\n break;\n\n default:\n break;\n }\n\n return theme;\n};\n","import { Component, ElementRef, AfterViewInit, ViewEncapsulation, input, output, inject, effect, computed } from '@angular/core';\nimport { CommonModule } from '@angular/common';\nimport { PrivacyToolsService, LIB_CONFIG, LibConfig, RdsiteLinkDirective, MenuItem, MenuSocialMedia } from '@rededor/site-front-end-lib/core';\nimport { CuraApiService } from '@rededor/site-front-end-lib/cura/api';\nimport { FooterTheme } from './models/FooterTheme.model';\nimport { getFooterTheme } from './helpers/footerTheme.func';\n\n@Component({\n // eslint-disable-next-line @angular-eslint/component-selector\n selector: 'footer[sl-ftr]',\n imports: [CommonModule, RdsiteLinkDirective],\n encapsulation: ViewEncapsulation.None,\n templateUrl: './footer.component.html',\n styleUrl: './footer.component.scss',\n})\nexport class FooterComponent implements AfterViewInit {\n public privacyTools = inject(PrivacyToolsService);\n private curaApiService = inject(CuraApiService);\n private elementRef = inject(ElementRef);\n\n project = input<string>('site');\n theme = input<string>('default');\n disclaimer = input<string>('');\n linkPrivacyFooter = input<string>('');\n logo = input<any>(null);\n partnerLogo = input<any>(null);\n phone = input<string>('');\n dora = input<{ number: string; link: string; imgUrl: string }>({ number: '', link: '', imgUrl: '' });\n socialMenu = input<MenuSocialMedia[]>([]);\n logoWidth = input<number>(72);\n footerMenu = input<MenuItem[]>([]);\n\n footerPrivacyClick = output<Event>();\n footerCookieClick = output<Event>();\n footerSocialMediaClick = output<Event>();\n footerMenuItemClick = output<Event>();\n\n currentYear: number = new Date().getFullYear();\n\n // Computed signals\n public assetsPath = computed(() => this.curaApiService.localAssetsPath());\n\n constructor() {\n effect(() => {\n this.updateFooterTheme();\n });\n\n effect(() => {\n this.updateLogoWidth();\n });\n }\n\n ngAfterViewInit() {\n this.updateFooterTheme();\n }\n\n private updateLogoWidth() {\n this.elementRef.nativeElement.style.setProperty('--logo-width', `${this.logoWidth()}px`);\n }\n\n private updateFooterTheme() {\n const footerTheme: FooterTheme = getFooterTheme(this.project(), this.theme(), this.curaApiService);\n Object.entries(footerTheme).forEach(([key, value]) => {\n Object.entries(value).forEach(([prop, val]) => {\n const cssVar = `--${key}-${prop}`;\n this.elementRef.nativeElement.style.setProperty(cssVar, val as string);\n });\n });\n }\n\n footerSocialMediaClicked(event: Event) {\n this.footerSocialMediaClick.emit(event);\n }\n\n toggleSubMenu(event: Event, menu: Partial<MenuItem>) {\n event.stopPropagation();\n menu.active = !menu.active;\n }\n\n footerMenuItemClicked(event: Event) {\n this.footerMenuItemClick.emit(event);\n }\n\n footerPrivacyClicked(event: Event) {\n this.footerPrivacyClick.emit(event);\n }\n\n footerCookieClicked(event: Event) {\n this.footerCookieClick.emit(event);\n }\n}\n","<div class=\"sl-ftr-content\">\n <div>\n <div class=\"sl-ftr-contact\">\n <div class=\"logos\">\n @if (logo()) {\n <div class=\"logo\">\n <img [src]=\"logo()?.url\" [alt]=\"logo()?.alt\" [title]=\"logo()?.title\" loading=\"lazy\" fetchpriority=\"low\" />\n </div>\n }\n @if (partnerLogo()) {\n <div class=\"partner-logo\">\n <img [src]=\"partnerLogo()?.url\" [alt]=\"partnerLogo()?.alt\" [title]=\"partnerLogo()?.title\" loading=\"lazy\" fetchpriority=\"low\" />\n </div>\n }\n </div>\n <div class=\"phones\">\n @if (dora().number && dora().link) {\n <div class=\"dora\">\n <div\n class=\"img\"\n [style.background-image]=\"dora().imgUrl ? 'url(' + dora().imgUrl + ')' : 'url(' + assetsPath() + '/imgs/bg_dora_whatsapp.webp)'\"\n ></div>\n <span class=\"label\">\n <p>Fale com a Dora</p>\n <a rdsitelink [href]=\"dora().link\">\n {{ dora().number }}\n </a>\n </span>\n </div>\n }\n @if (phone()) {\n <div class=\"phone\" [class.before]=\"dora().number && dora().link\">\n <div class=\"svg\">\n <svg width=\"16\" height=\"16\" viewBox=\"0 0 24 24\" preserveAspectRatio=\"xMidYMid meet\">\n <use [attr.xlink:href]=\"assetsPath() + '/icons/iconset-default.svg#phone'\"></use>\n </svg>\n </div>\n <span class=\"label\">\n <p>Central</p>\n <a rdsitelink href=\"tel:{{ phone() }}\">\n {{ phone() }}\n </a>\n </span>\n </div>\n }\n </div>\n </div>\n\n <nav class=\"sl-ftr-medias\">\n <ul>\n @for (social of socialMenu(); track social.title) {\n <li>\n <a [href]=\"social.link\" rdsitelink [title]=\"social.title\" (click)=\"footerSocialMediaClicked($event)\">\n <svg width=\"16\" height=\"16\" viewBox=\"0 0 24 24\" preserveAspectRatio=\"xMidYMid meet\">\n <use [attr.xlink:href]=\"assetsPath() + '/icons/iconset-default.svg#' + social.icon\"></use>\n </svg>\n </a>\n </li>\n }\n </ul>\n </nav>\n </div>\n\n <div class=\"content-menu\">\n @if (footerMenu().length) {\n <div class=\"sl-ftr-menu\">\n <nav>\n <ul class=\"sl-ftr-menu-list\">\n @for (menu of footerMenu(); track menu.title) {\n <li class=\"sl-ftr-menu-list-item\">\n @if (menu.title) {\n <div class=\"sl-ftr-menu-item\" [ngClass]=\"{ 'have-children': menu.children?.length }\" (click)=\"toggleSubMenu($event, menu)\">\n <a\n class=\"sl-ftr-menu-item-link\"\n [href]=\"menu.url\"\n rdsitelink\n [title]=\"menu.title\"\n (click)=\"toggleSubMenu($event, menu); footerMenuItemClicked($event)\"\n >\n {{ menu.title }}\n </a>\n\n @if (menu.children?.length) {\n <svg width=\"20\" height=\"20\" viewBox=\"0 0 24 24\" preserveAspectRatio=\"xMidYMid meet\">\n <use [attr.xlink:href]=\"assetsPath() + '/icons/iconset-default.svg#' + (menu.active ? 'up' : 'down')\"></use>\n </svg>\n }\n </div>\n\n @if (menu.children?.length) {\n <ul class=\"sl-ftr-menu-item-children\" [ngClass]=\"{ closed: !menu.active }\">\n @for (submenu of menu.children; track submenu.title) {\n <li class=\"sl-ftr-menu-item-children-item\">\n <div class=\"sl-ftr-menu-item alt\">\n <a class=\"sl-ftr-menu-item-link\" [href]=\"submenu.url\" rdsitelink [title]=\"submenu.title\" (click)=\"footerMenuItemClicked($event)\">\n {{ submenu.title }}\n </a>\n </div>\n </li>\n }\n </ul>\n }\n }\n </li>\n }\n </ul>\n </nav>\n </div>\n }\n </div>\n</div>\n\n<div class=\"sl-ftr-disc\">\n <div class=\"disc-content\">\n <div class=\"disc-content-copy\">©{{ currentYear }} {{ disclaimer() }}</div>\n <ul class=\"disc-content-links\">\n <li>\n <a [href]=\"linkPrivacyFooter() || '#'\" target=\"_blank\" data-testid=\"_avisoPrivacidade\" (click)=\"footerPrivacyClicked($event)\"> Aviso de Privacidade </a>\n </li>\n <li>\n <button (click)=\"privacyTools.openCookieBanner(); footerCookieClicked($event)\" data-testid=\"_avisoCookies\">Aviso de Cookies</button>\n </li>\n </ul>\n </div>\n</div>\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './public-api';\n"],"names":[],"mappings":";;;;;;;AAGO,MAAM,cAAc,GAAG,CAAC,OAAA,GAAkB,MAAM,EAAE,UAAA,GAAqB,SAAS,EAAE,cAA8B,KAAI;AACzH,IAAA,MAAM,KAAK,GAAgB;AACzB,QAAA,GAAG,EAAE,EAAE;AACP,QAAA,UAAU,EAAE,EAAE;AACd,QAAA,UAAU,EAAE,EAAE;AACd,QAAA,YAAY,EAAE,EAAE;KACjB;IAED,MAAM,CAAC,cAAc,EAAE,YAAY,EAAE,WAAW,EAAE,aAA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AE,mBAAmB,CAAC,EAAA,aAAA,EAC7B,iBAAiB,CAAC,IAAI,EAAA,QAAA,EAAA,q7JAAA,EAAA,MAAA,EAAA,CAAA,4iMAAA,CAAA,EAAA;;;AEXvC;;AAEG;;;;"}
|
|
1
|
+
{"version":3,"file":"rededor-site-front-end-lib-components-footer.mjs","sources":["../../../projects/site-front-end-lib/components/footer/helpers/footerTheme.func.ts","../../../projects/site-front-end-lib/components/footer/footer.component.ts","../../../projects/site-front-end-lib/components/footer/footer.component.html","../../../projects/site-front-end-lib/components/footer/rededor-site-front-end-lib-components-footer.ts"],"sourcesContent":["import { CuraApiService } from '@rededor/site-front-end-lib/cura/api';\nimport { FooterTheme } from '../models/FooterTheme.model';\n\nexport const getFooterTheme = (project: string = 'site', themeStyle: string = 'default', curaApiService: CuraApiService) => {\n const theme: FooterTheme = {\n ftr: {},\n 'ftr-disc': {},\n 'ftr-menu': {},\n 'ftr-social': {},\n };\n\n const [primaryLighter, primaryLight, primaryBase, primaryDarker] = [\n curaApiService.theme.colors.getColor('primary-lighter'),\n curaApiService.theme.colors.getColor('primary-light'),\n curaApiService.theme.colors.getColor('primary-base'),\n curaApiService.theme.colors.getColor('primary-darker'),\n ];\n const [accentLight, accentBase] = [curaApiService.theme.colors.getColor('accent-light'), curaApiService.theme.colors.getColor('accent-base')];\n const [neutralPurewhite, neutralWhite, neutralBlack] = [\n curaApiService.theme.colors.getColor('neutral-purewhite'),\n curaApiService.theme.colors.getColor('neutral-white'),\n curaApiService.theme.colors.getColor('neutral-black'),\n ];\n const [secondaryLight] = [curaApiService.theme.colors.getColor('secondary-light')];\n\n switch (project) {\n case 'site':\n if (themeStyle === 'default') {\n theme.ftr = {\n 'bg-color': primaryDarker,\n color: neutralWhite,\n 'alt-color': primaryLighter,\n };\n theme['ftr-disc'] = {\n 'bg-color': neutralPurewhite,\n color: neutralBlack,\n 'alt-color': primaryBase,\n };\n theme['ftr-menu'] = {\n 'hover-color': accentLight,\n 'active-color': accentBase,\n 'alt-hover-color': primaryLight,\n 'alt-active-color': primaryBase,\n };\n theme['ftr-social'] = {\n color: neutralWhite,\n };\n } else {\n theme.ftr = {\n 'bg-color': primaryDarker,\n color: neutralWhite,\n 'alt-color': primaryLighter,\n };\n theme['ftr-disc'] = {\n 'bg-color': neutralPurewhite,\n color: neutralBlack,\n 'alt-color': primaryBase,\n };\n theme['ftr-menu'] = {\n 'hover-color': accentLight,\n 'active-color': accentBase,\n 'alt-hover-color': primaryLight,\n 'alt-active-color': primaryBase,\n };\n theme['ftr-social'] = {\n color: neutralWhite,\n };\n }\n break;\n case 'star':\n if (themeStyle === 'star') {\n theme.ftr = {\n 'bg-color': secondaryLight,\n color: neutralBlack,\n 'alt-color': neutralBlack,\n };\n theme['ftr-disc'] = {\n 'bg-color': neutralPurewhite,\n color: neutralBlack,\n 'alt-color': primaryBase,\n };\n theme['ftr-menu'] = {\n 'hover-color': primaryBase,\n 'active-color': primaryLight,\n 'alt-hover-color': primaryBase,\n 'alt-active-color': primaryLight,\n };\n theme['ftr-social'] = {\n color: neutralBlack,\n };\n } else {\n theme.ftr = {\n 'bg-color': primaryDarker,\n color: neutralWhite,\n 'alt-color': primaryLighter,\n };\n theme['ftr-disc'] = {\n 'bg-color': neutralPurewhite,\n color: neutralBlack,\n 'alt-color': primaryBase,\n };\n theme['ftr-menu'] = {\n 'hover-color': accentLight,\n 'active-color': accentBase,\n 'alt-hover-color': primaryLight,\n 'alt-active-color': primaryBase,\n };\n theme['ftr-social'] = {\n color: neutralWhite,\n };\n }\n break;\n\n default:\n break;\n }\n\n return theme;\n};\n","import { Component, ElementRef, AfterViewInit, ViewEncapsulation, input, output, inject, effect, computed } from '@angular/core';\nimport { CommonModule } from '@angular/common';\nimport { PrivacyToolsService, LIB_CONFIG, LibConfig, RdsiteLinkDirective, MenuItem, MenuSocialMedia } from '@rededor/site-front-end-lib/core';\nimport { CuraApiService } from '@rededor/site-front-end-lib/cura/api';\nimport { FooterTheme } from './models/FooterTheme.model';\nimport { getFooterTheme } from './helpers/footerTheme.func';\n\n@Component({\n // eslint-disable-next-line @angular-eslint/component-selector\n selector: 'footer[sl-ftr]',\n imports: [CommonModule, RdsiteLinkDirective],\n encapsulation: ViewEncapsulation.None,\n templateUrl: './footer.component.html',\n styleUrl: './footer.component.scss',\n host: {\n '[style.--font-family]': 'this.curaApiService.theme.fonts.getFamily()',\n },\n})\nexport class FooterComponent implements AfterViewInit {\n public privacyTools = inject(PrivacyToolsService);\n public curaApiService = inject(CuraApiService);\n private elementRef = inject(ElementRef);\n\n project = input<string>('site');\n theme = input<string>('default');\n disclaimer = input<string>('');\n linkPrivacyFooter = input<string>('');\n logo = input<any>(null);\n partnerLogo = input<any>(null);\n phone = input<string>('');\n dora = input<{ number: string; link: string; imgUrl: string }>({ number: '', link: '', imgUrl: '' });\n socialMenu = input<MenuSocialMedia[]>([]);\n logoWidth = input<number>(72);\n footerMenu = input<MenuItem[]>([]);\n\n footerPrivacyClick = output<Event>();\n footerCookieClick = output<Event>();\n footerSocialMediaClick = output<Event>();\n footerMenuItemClick = output<Event>();\n\n currentYear: number = new Date().getFullYear();\n\n // Computed signals\n public assetsPath = computed(() => this.curaApiService.localAssetsPath());\n\n constructor() {\n effect(() => {\n this.updateFooterTheme();\n });\n\n effect(() => {\n this.updateLogoWidth();\n });\n }\n\n ngAfterViewInit() {\n this.updateFooterTheme();\n }\n\n private updateLogoWidth() {\n this.elementRef.nativeElement.style.setProperty('--logo-width', `${this.logoWidth()}px`);\n }\n\n private updateFooterTheme() {\n const footerTheme: FooterTheme = getFooterTheme(this.project(), this.theme(), this.curaApiService);\n Object.entries(footerTheme).forEach(([key, value]) => {\n Object.entries(value).forEach(([prop, val]) => {\n const cssVar = `--${key}-${prop}`;\n this.elementRef.nativeElement.style.setProperty(cssVar, val as string);\n });\n });\n }\n\n footerSocialMediaClicked(event: Event) {\n this.footerSocialMediaClick.emit(event);\n }\n\n toggleSubMenu(event: Event, menu: Partial<MenuItem>) {\n event.stopPropagation();\n menu.active = !menu.active;\n }\n\n footerMenuItemClicked(event: Event) {\n this.footerMenuItemClick.emit(event);\n }\n\n footerPrivacyClicked(event: Event) {\n this.footerPrivacyClick.emit(event);\n }\n\n footerCookieClicked(event: Event) {\n this.footerCookieClick.emit(event);\n }\n}\n","<div class=\"sl-ftr-content\">\n <div>\n <div class=\"sl-ftr-contact\" [class.starTheme]=\"theme() === 'star'\">\n <div class=\"logos\">\n @if (logo()) {\n <div class=\"logo\">\n <img [src]=\"logo()?.url\" [alt]=\"logo()?.alt\" [title]=\"logo()?.title\" loading=\"lazy\" fetchpriority=\"low\" />\n </div>\n }\n @if (partnerLogo()) {\n <div class=\"partner-logo\">\n <img [src]=\"partnerLogo()?.url\" [alt]=\"partnerLogo()?.alt\" [title]=\"partnerLogo()?.title\" loading=\"lazy\" fetchpriority=\"low\" />\n </div>\n }\n </div>\n <div class=\"phones\">\n @if (dora().number && dora().link) {\n <div class=\"dora\">\n <div\n class=\"img\"\n [style.background-image]=\"dora().imgUrl ? 'url(' + dora().imgUrl + ')' : 'url(' + assetsPath() + '/imgs/bg_dora_whatsapp.webp)'\"\n ></div>\n <span class=\"label\">\n <p>Fale com a Dora</p>\n <a rdsitelink [href]=\"dora().link\">\n {{ dora().number }}\n </a>\n </span>\n </div>\n }\n @if (phone()) {\n <div class=\"phone\" [class.before]=\"dora().number && dora().link\">\n <div class=\"svg\">\n <svg width=\"16\" height=\"16\" viewBox=\"0 0 24 24\" preserveAspectRatio=\"xMidYMid meet\">\n <use [attr.xlink:href]=\"assetsPath() + '/icons/iconset-default.svg#phone'\"></use>\n </svg>\n </div>\n <span class=\"label\">\n <p>{{ theme() === 'star' ? 'Concierge' : 'Central' }}</p>\n <a rdsitelink href=\"tel:{{ phone() }}\">\n {{ phone() }}\n </a>\n </span>\n </div>\n }\n </div>\n </div>\n\n <nav class=\"sl-ftr-medias\" [class.starTheme]=\"theme() === 'star'\">\n <ul>\n @for (social of socialMenu(); track social.title) {\n <li>\n <a [href]=\"social.link\" rdsitelink [title]=\"social.title\" (click)=\"footerSocialMediaClicked($event)\">\n <svg width=\"16\" height=\"16\" viewBox=\"0 0 24 24\" preserveAspectRatio=\"xMidYMid meet\">\n <use [attr.xlink:href]=\"assetsPath() + '/icons/iconset-default.svg#' + social.icon\"></use>\n </svg>\n </a>\n </li>\n }\n </ul>\n </nav>\n </div>\n\n <div class=\"content-menu\">\n @if (footerMenu().length) {\n <div class=\"sl-ftr-menu\">\n <nav>\n <ul class=\"sl-ftr-menu-list\">\n @for (menu of footerMenu(); track menu.title) {\n <li class=\"sl-ftr-menu-list-item\">\n @if (menu.title) {\n <div class=\"sl-ftr-menu-item\" [ngClass]=\"{ 'have-children': menu.children?.length }\" (click)=\"toggleSubMenu($event, menu)\">\n <a\n class=\"sl-ftr-menu-item-link\"\n [href]=\"menu.url\"\n rdsitelink\n [title]=\"menu.title\"\n (click)=\"toggleSubMenu($event, menu); footerMenuItemClicked($event)\"\n >\n {{ menu.title }}\n </a>\n\n @if (menu.children?.length) {\n <svg width=\"20\" height=\"20\" viewBox=\"0 0 24 24\" preserveAspectRatio=\"xMidYMid meet\">\n <use [attr.xlink:href]=\"assetsPath() + '/icons/iconset-default.svg#' + (menu.active ? 'up' : 'down')\"></use>\n </svg>\n }\n </div>\n\n @if (menu.children?.length) {\n <ul class=\"sl-ftr-menu-item-children\" [ngClass]=\"{ closed: !menu.active }\">\n @for (submenu of menu.children; track submenu.title) {\n <li class=\"sl-ftr-menu-item-children-item\">\n <div class=\"sl-ftr-menu-item alt\">\n <a class=\"sl-ftr-menu-item-link\" [href]=\"submenu.url\" rdsitelink [title]=\"submenu.title\" (click)=\"footerMenuItemClicked($event)\">\n {{ submenu.title }}\n </a>\n </div>\n </li>\n }\n </ul>\n }\n }\n </li>\n }\n </ul>\n </nav>\n </div>\n }\n </div>\n</div>\n\n<div class=\"sl-ftr-disc\">\n <div class=\"disc-content\">\n <div class=\"disc-content-copy\">©{{ currentYear }} {{ disclaimer() }}</div>\n <ul class=\"disc-content-links\">\n <li>\n <a [href]=\"linkPrivacyFooter() || '#'\" target=\"_blank\" data-testid=\"_avisoPrivacidade\" (click)=\"footerPrivacyClicked($event)\"> Aviso de Privacidade </a>\n </li>\n <li>\n <button (click)=\"privacyTools.openCookieBanner(); footerCookieClicked($event)\" data-testid=\"_avisoCookies\">Aviso de Cookies</button>\n </li>\n </ul>\n </div>\n</div>\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './public-api';\n"],"names":[],"mappings":";;;;;;;AAGO,MAAM,cAAc,GAAG,CAAC,OAAA,GAAkB,MAAM,EAAE,UAAA,GAAqB,SAAS,EAAE,cAA8B,KAAI;AACzH,IAAA,MAAM,KAAK,GAAgB;AACzB,QAAA,GAAG,EAAE,EAAE;AACP,QAAA,UAAU,EAAE,EAAE;AACd,QAAA,UAAU,EAAE,EAAE;AACd,QAAA,YAAY,EAAE,EAAE;KACjB;IAED,MAAM,CAAC,cAAc,EAAE,YAAY,EAAE,WAAW,EAAE,aAAa,CAAC,GAAG;QACjE,cAAc,CAAC,KAAK,CAAC,MAAM,CAAC,QAAQ,CAAC,iBAAiB,CAAC;QACvD,cAAc,CAAC,KAAK,CAAC,MAAM,CAAC,QAAQ,CAAC,eAAe,CAAC;QACrD,cAAc,CAAC,KAAK,CAAC,MAAM,CAAC,QAAQ,CAAC,cAAc,CAAC;QACpD,cAAc,CAAC,KAAK,CAAC,MAAM,CAAC,QAAQ,CAAC,gBAAgB,CAAC;KACvD;AACD,IAAA,MAAM,CAAC,WAAW,EAAE,UAAU,CAAC,GAAG,CAAC,cAAc,CAAC,KAAK,CAAC,MAAM,CAAC,QAAQ,CAAC,cAAc,CAAC,EAAE,cAAc,CAAC,KAAK,CAAC,MAAM,CAAC,QAAQ,CAAC,aAAa,CAAC,CAAC;AAC7I,IAAA,MAAM,CAAC,gBAAgB,EAAE,YAAY,EAAE,YAAY,CAAC,GAAG;QACrD,cAAc,CAAC,KAAK,CAAC,MAAM,CAAC,QAAQ,CAAC,mB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AA,UAAA,EAAA,KAAA,EAAA,iBAAA,EAAA,IAAA,EAAA,EAAA,EAAA,OAAA,EAAA,EAAA,kBAAA,EAAA,oBAAA,EAAA,iBAAA,EAAA,mBAAA,EAAA,sBAAA,EAAA,wBAAA,EAAA,mBAAA,EAAA,qBAAA,EAAA,EAAA,IAAA,EAAA,EAAA,UAAA,EAAA,EAAA,qBAAA,EAAA,6CAAA,EAAA,EAAA,EAAA,QAAA,EAAA,EAAA,EAAA,QAAA,EClB5B,kjKA6HA,EAAA,MAAA,EAAA,CAAA,ktNAAA,CAAA,EAAA,YAAA,EAAA,CAAA,EAAA,IAAA,EAAA,UAAA,EAAA,IAAA,EDnHY,YAAY,6HAAE,mBAAmB,EAAA,QAAA,EAAA,cAAA,EAAA,MAAA,EAAA,CAAA,kBAAA,EAAA,uBAAA,EAAA,YAAA,CAAA,EAAA,CAAA,EAAA,aAAA,EAAA,EAAA,CAAA,iBAAA,CAAA,IAAA,EAAA,CAAA,CAAA;;4FAQhC,eAAe,EAAA,UAAA,EAAA,CAAA;kBAX3B,SAAS;+BAEE,gBAAgB,EAAA,OAAA,EACjB,CAAC,YAAY,EAAE,mBAAmB,CAAC,EAAA,aAAA,EAC7B,iBAAiB,CAAC,IAAI,EAAA,IAAA,EAG/B;AACJ,wBAAA,uBAAuB,EAAE,6CAA6C;AACvE,qBAAA,EAAA,QAAA,EAAA,kjKAAA,EAAA,MAAA,EAAA,CAAA,ktNAAA,CAAA,EAAA;;;AEhBH;;AAEG;;;;"}
|
|
@@ -26,7 +26,17 @@ const getHeaderTheme = (project = 'site', themeStyle = 'default', curaApiService
|
|
|
26
26
|
curaApiService.theme.colors.getColor('accent-light'),
|
|
27
27
|
curaApiService.theme.colors.getColor('accent-base'),
|
|
28
28
|
];
|
|
29
|
-
const [neutralPurewhite, neutralBase] = [
|
|
29
|
+
const [neutralPurewhite, neutralBase, neutralBlack, neutralDarker] = [
|
|
30
|
+
curaApiService.theme.colors.getColor('neutral-purewhite'),
|
|
31
|
+
curaApiService.theme.colors.getColor('neutral-base'),
|
|
32
|
+
curaApiService.theme.colors.getColor('neutral-black'),
|
|
33
|
+
curaApiService.theme.colors.getColor('neutral-darker'),
|
|
34
|
+
];
|
|
35
|
+
const [secondaryLighter, secondaryLight, secondaryDark] = [
|
|
36
|
+
curaApiService.theme.colors.getColor('secondary-lighter'),
|
|
37
|
+
curaApiService.theme.colors.getColor('secondary-light'),
|
|
38
|
+
curaApiService.theme.colors.getColor('secondary-dark'),
|
|
39
|
+
];
|
|
30
40
|
switch (project) {
|
|
31
41
|
case 'site':
|
|
32
42
|
if (themeStyle === 'default') {
|
|
@@ -136,6 +146,114 @@ const getHeaderTheme = (project = 'site', themeStyle = 'default', curaApiService
|
|
|
136
146
|
};
|
|
137
147
|
}
|
|
138
148
|
break;
|
|
149
|
+
case 'star':
|
|
150
|
+
if (themeStyle === 'star') {
|
|
151
|
+
theme.hdr = {
|
|
152
|
+
'bg-color': neutralPurewhite,
|
|
153
|
+
'over-bg-color': primaryBase,
|
|
154
|
+
};
|
|
155
|
+
theme['hdr-aux'] = {
|
|
156
|
+
'bg-color': secondaryLighter,
|
|
157
|
+
'container-bg-color': secondaryLight,
|
|
158
|
+
'drop-bg-color': neutralPurewhite,
|
|
159
|
+
color: neutralPurewhite,
|
|
160
|
+
hover: accentLight,
|
|
161
|
+
active: accentBase,
|
|
162
|
+
'color-alt': neutralBlack,
|
|
163
|
+
'hover-alt': primaryBase,
|
|
164
|
+
'active-alt': neutralDarker,
|
|
165
|
+
};
|
|
166
|
+
theme['hdr-act'] = {
|
|
167
|
+
'bg-color': secondaryLighter,
|
|
168
|
+
'items-bg-color': secondaryDark,
|
|
169
|
+
'items-color': neutralPurewhite,
|
|
170
|
+
'items-hover': secondaryLight,
|
|
171
|
+
'items-active': primaryBase,
|
|
172
|
+
};
|
|
173
|
+
theme['hdr-main'] = {
|
|
174
|
+
'bg-color': primaryBase,
|
|
175
|
+
color: neutralBlack,
|
|
176
|
+
hover: primaryLighter,
|
|
177
|
+
'bg-hover': primaryDark,
|
|
178
|
+
active: primaryLight,
|
|
179
|
+
'dd-bg-color': primaryDark,
|
|
180
|
+
'dd-color': neutralPurewhite,
|
|
181
|
+
'dd-icon-color': primaryLight,
|
|
182
|
+
'dd-alt-color': primaryLighter,
|
|
183
|
+
'dd-alt-hover': neutralPurewhite,
|
|
184
|
+
'dd-lv2-content-bg': primaryBase,
|
|
185
|
+
'dd-lv2-bg': primaryDark,
|
|
186
|
+
'dd-lv3-bg': primaryBase,
|
|
187
|
+
'dd-lv4-bg': primaryDark,
|
|
188
|
+
'dd-cta-bg': neutralPurewhite,
|
|
189
|
+
'dd-cta-color': primaryBase,
|
|
190
|
+
};
|
|
191
|
+
theme['hdr-side'] = {
|
|
192
|
+
'bg-color': secondaryDark,
|
|
193
|
+
'border-bottom': primaryBase,
|
|
194
|
+
'open-color': primaryDark,
|
|
195
|
+
color: neutralPurewhite,
|
|
196
|
+
hover: accentLighter,
|
|
197
|
+
active: accentLight,
|
|
198
|
+
'alt-color': primaryLighter,
|
|
199
|
+
'alt-hover': neutralPurewhite,
|
|
200
|
+
'alt-active': primaryLight,
|
|
201
|
+
};
|
|
202
|
+
}
|
|
203
|
+
else {
|
|
204
|
+
theme.hdr = {
|
|
205
|
+
'bg-color': neutralPurewhite,
|
|
206
|
+
'over-bg-color': primaryDarker,
|
|
207
|
+
};
|
|
208
|
+
theme['hdr-aux'] = {
|
|
209
|
+
'bg-color': primaryDark,
|
|
210
|
+
'container-bg-color': primaryBase,
|
|
211
|
+
'drop-bg-color': neutralPurewhite,
|
|
212
|
+
color: neutralPurewhite,
|
|
213
|
+
hover: accentLight,
|
|
214
|
+
active: accentBase,
|
|
215
|
+
'color-alt': neutralPurewhite,
|
|
216
|
+
'hover-alt': primaryLighter,
|
|
217
|
+
'active-alt': primaryLight,
|
|
218
|
+
};
|
|
219
|
+
theme['hdr-act'] = {
|
|
220
|
+
'bg-color': primaryBase,
|
|
221
|
+
'items-bg-color': primaryDark,
|
|
222
|
+
'items-color': primaryLight,
|
|
223
|
+
'items-hover': primaryLighter,
|
|
224
|
+
'items-active': primaryBase,
|
|
225
|
+
};
|
|
226
|
+
theme['hdr-main'] = {
|
|
227
|
+
'bg-color': neutralPurewhite,
|
|
228
|
+
color: primaryBase,
|
|
229
|
+
hover: primaryLighter,
|
|
230
|
+
'bg-hover': primaryDarker,
|
|
231
|
+
active: primaryLight,
|
|
232
|
+
'dd-bg-color': primaryDarker,
|
|
233
|
+
'dd-color': neutralPurewhite,
|
|
234
|
+
'dd-icon-color': primaryLight,
|
|
235
|
+
'dd-alt-color': primaryLighter,
|
|
236
|
+
'dd-alt-hover': neutralPurewhite,
|
|
237
|
+
'dd-lv2-content-bg': primaryBase,
|
|
238
|
+
'dd-lv2-bg': primaryDarker,
|
|
239
|
+
'dd-lv3-bg': primaryBase,
|
|
240
|
+
'dd-lv4-bg': primaryDark,
|
|
241
|
+
'dd-cta-bg': neutralPurewhite,
|
|
242
|
+
'dd-cta-color': primaryBase,
|
|
243
|
+
};
|
|
244
|
+
theme['hdr-side'] = {
|
|
245
|
+
'bg-color': primaryDarker,
|
|
246
|
+
'border-bottom': primaryBase,
|
|
247
|
+
'open-color': primaryLight,
|
|
248
|
+
color: neutralPurewhite,
|
|
249
|
+
hover: accentLighter,
|
|
250
|
+
active: accentLight,
|
|
251
|
+
'alt-color': primaryLighter,
|
|
252
|
+
'alt-hover': neutralPurewhite,
|
|
253
|
+
'alt-active': primaryLight,
|
|
254
|
+
};
|
|
255
|
+
}
|
|
256
|
+
break;
|
|
139
257
|
default:
|
|
140
258
|
break;
|
|
141
259
|
}
|
|
@@ -208,7 +326,7 @@ class HeaderComponent {
|
|
|
208
326
|
this.headerService.toggleShowSearch(false);
|
|
209
327
|
}
|
|
210
328
|
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.16", ngImport: i0, type: HeaderComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
|
211
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "20.3.16", type: HeaderComponent, isStandalone: true, selector: "header[sl-hdr]", inputs: { project: { classPropertyName: "project", publicName: "project", isSignal: true, isRequired: false, transformFunction: null }, theme: { classPropertyName: "theme", publicName: "theme", isSignal: true, isRequired: false, transformFunction: null }, loginUrl: { classPropertyName: "loginUrl", publicName: "loginUrl", isSignal: true, isRequired: false, transformFunction: null }, homeUrl: { classPropertyName: "homeUrl", publicName: "homeUrl", isSignal: true, isRequired: false, transformFunction: null }, showSearch: { classPropertyName: "showSearch", publicName: "showSearch", isSignal: true, isRequired: false, transformFunction: null }, logo: { classPropertyName: "logo", publicName: "logo", isSignal: true, isRequired: false, transformFunction: null }, searchControl: { classPropertyName: "searchControl", publicName: "searchControl", isSignal: true, isRequired: false, transformFunction: null }, mainMenu: { classPropertyName: "mainMenu", publicName: "mainMenu", isSignal: true, isRequired: false, transformFunction: null }, auxMenuGroups: { classPropertyName: "auxMenuGroups", publicName: "auxMenuGroups", isSignal: true, isRequired: false, transformFunction: null }, auxMenuGeoloc: { classPropertyName: "auxMenuGeoloc", publicName: "auxMenuGeoloc", isSignal: true, isRequired: false, transformFunction: null }, sideMenuGroups: { classPropertyName: "sideMenuGroups", publicName: "sideMenuGroups", isSignal: true, isRequired: false, transformFunction: null }, sideMenuGeoloc: { classPropertyName: "sideMenuGeoloc", publicName: "sideMenuGeoloc", isSignal: true, isRequired: false, transformFunction: null } }, outputs: { headerAuxMenuItemClick: "headerAuxMenuItemClick", headerAuxMenuItemDDClick: "headerAuxMenuItemDDClick", headerMainMenuCtaDDClick: "headerMainMenuCtaDDClick", searchChange: "searchChange" }, host: { listeners: { "window:resize": "checkWindowWidth($event)" } }, ngImport: i0, template: "<div class=\"sl-hdr-content\" [ngClass]=\"{ 'show-search': headerService.showSearch() }\">\n @defer (hydrate on hover) {\n <div sl-hdr-logo [href]=\"logo().href\" [title]=\"logo().title\" [alt]=\"logo().alt\" [src]=\"logo().src\" (click)=\"overlayClick()\"></div>\n }\n\n <nav class=\"sl-hdr-aux\" (click)=\"overlayClick()\">\n <div class=\"sl-hdr-aux-wrapper\">\n @defer (hydrate on hover) {\n @for (auxMenuGroup of auxMenuGroups(); track $index; let firstGroup = $first; let lastGroup = $last) {\n @if (firstGroup) {\n <ul class=\"sl-hdr-aux-container\">\n @for (auxMenuItem of auxMenuGroup; track auxMenuItem.title) {\n <li\n sl-hdr-aux-item\n [item]=\"auxMenuItem\"\n (headerAuxMenuItemClick)=\"headerAuxMenuItemClick.emit($event)\"\n (headerAuxMenuItemDDClick)=\"headerAuxMenuItemDDClick.emit($event)\"\n ></li>\n }\n </ul>\n } @else if (isDesktop()) {\n <ul class=\"sl-hdr-aux-container\">\n @for (auxMenuItem of auxMenuGroup; track auxMenuItem.title) {\n <li\n sl-hdr-aux-item\n [item]=\"auxMenuItem\"\n [altStyle]=\"true\"\n (headerAuxMenuItemClick)=\"headerAuxMenuItemClick.emit($event)\"\n (headerAuxMenuItemDDClick)=\"headerAuxMenuItemDDClick.emit($event)\"\n ></li>\n }\n </ul>\n }\n }\n }\n\n @if (auxMenuGeoloc()) {\n <ul class=\"sl-hdr-aux-container\">\n <ng-container *ngTemplateOutlet=\"auxMenuGeoloc()\"></ng-container>\n </ul>\n }\n </div>\n </nav>\n\n @defer (hydrate on hover) {\n <div sl-hdr-act [loginUrl]=\"loginUrl()\" [showSearch]=\"showSearch()\" [homeUrl]=\"homeUrl()\"></div>\n }\n\n <nav class=\"sl-hdr-main\">\n <ul class=\"sl-hdr-main-list\">\n @for (mainItem of mainMenu(); track mainItem.title) {\n @defer (hydrate on hover) {\n <li sl-hdr-main-item [item]=\"mainItem\" (headerMainMenuCtaDDClick)=\"headerMainMenuCtaDDClick.emit({ event: $event, item: mainItem })\"></li>\n }\n }\n </ul>\n </nav>\n\n @defer (hydrate when headerService.showSideMenu()) {\n <div sl-hdr-side [sideMenuGroups]=\"sideMenuGroups()\" [sideMenuGeoloc]=\"sideMenuGeoloc()\"></div>\n }\n\n @if (searchControl()) {\n @defer (hydrate when headerService.showSearch()) {\n <rdsite-search\n class=\"sl-hdr-search\"\n [searchControl]=\"searchControl()!\"\n [label]=\"'O que voc\u00EA procura?'\"\n [debounceTime]=\"1500\"\n [setFocus]=\"true\"\n (enterPress)=\"doSearch($event)\"\n >\n </rdsite-search>\n }\n }\n</div>\n\n@defer (hydrate when headerService.showSearch()) {\n <rdsite-overlay\n class=\"search-overlay\"\n [ngClass]=\"{ active: headerService.showSearch(), opacity: headerService.showSearchOpacity() }\"\n (overlayClick)=\"overlayClick()\"\n ></rdsite-overlay>\n}\n", styles: ["header[sl-hdr]{position:sticky;top:0;z-index:9999;display:grid!important;grid-template-areas:\". content .\";grid-template-columns:minmax(0px,1fr) minmax(auto,1366px) minmax(0px,1fr);grid-template-rows:80px;background-color:var(--hdr-bg-color);height:80px}header[sl-hdr] *{font-family:
|
|
329
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "20.3.16", type: HeaderComponent, isStandalone: true, selector: "header[sl-hdr]", inputs: { project: { classPropertyName: "project", publicName: "project", isSignal: true, isRequired: false, transformFunction: null }, theme: { classPropertyName: "theme", publicName: "theme", isSignal: true, isRequired: false, transformFunction: null }, loginUrl: { classPropertyName: "loginUrl", publicName: "loginUrl", isSignal: true, isRequired: false, transformFunction: null }, homeUrl: { classPropertyName: "homeUrl", publicName: "homeUrl", isSignal: true, isRequired: false, transformFunction: null }, showSearch: { classPropertyName: "showSearch", publicName: "showSearch", isSignal: true, isRequired: false, transformFunction: null }, logo: { classPropertyName: "logo", publicName: "logo", isSignal: true, isRequired: false, transformFunction: null }, searchControl: { classPropertyName: "searchControl", publicName: "searchControl", isSignal: true, isRequired: false, transformFunction: null }, mainMenu: { classPropertyName: "mainMenu", publicName: "mainMenu", isSignal: true, isRequired: false, transformFunction: null }, auxMenuGroups: { classPropertyName: "auxMenuGroups", publicName: "auxMenuGroups", isSignal: true, isRequired: false, transformFunction: null }, auxMenuGeoloc: { classPropertyName: "auxMenuGeoloc", publicName: "auxMenuGeoloc", isSignal: true, isRequired: false, transformFunction: null }, sideMenuGroups: { classPropertyName: "sideMenuGroups", publicName: "sideMenuGroups", isSignal: true, isRequired: false, transformFunction: null }, sideMenuGeoloc: { classPropertyName: "sideMenuGeoloc", publicName: "sideMenuGeoloc", isSignal: true, isRequired: false, transformFunction: null } }, outputs: { headerAuxMenuItemClick: "headerAuxMenuItemClick", headerAuxMenuItemDDClick: "headerAuxMenuItemDDClick", headerMainMenuCtaDDClick: "headerMainMenuCtaDDClick", searchChange: "searchChange" }, host: { listeners: { "window:resize": "checkWindowWidth($event)" }, properties: { "style.--font-family": "this.curaApiService.theme.fonts.getFamily()" } }, ngImport: i0, template: "<div class=\"sl-hdr-content\" [ngClass]=\"{ 'show-search': headerService.showSearch() }\">\n @defer (hydrate on hover) {\n <div sl-hdr-logo [href]=\"logo().href\" [title]=\"logo().title\" [alt]=\"logo().alt\" [src]=\"logo().src\" (click)=\"overlayClick()\"></div>\n }\n\n <nav class=\"sl-hdr-aux\" (click)=\"overlayClick()\">\n <div class=\"sl-hdr-aux-wrapper\">\n @defer (hydrate on hover) {\n @for (auxMenuGroup of auxMenuGroups(); track $index; let firstGroup = $first; let lastGroup = $last) {\n @if (firstGroup) {\n <ul class=\"sl-hdr-aux-container\">\n @for (auxMenuItem of auxMenuGroup; track auxMenuItem.title) {\n <li\n sl-hdr-aux-item\n [item]=\"auxMenuItem\"\n (headerAuxMenuItemClick)=\"headerAuxMenuItemClick.emit($event)\"\n (headerAuxMenuItemDDClick)=\"headerAuxMenuItemDDClick.emit($event)\"\n ></li>\n }\n </ul>\n } @else if (isDesktop()) {\n <ul class=\"sl-hdr-aux-container\">\n @for (auxMenuItem of auxMenuGroup; track auxMenuItem.title) {\n <li\n sl-hdr-aux-item\n [item]=\"auxMenuItem\"\n [altStyle]=\"true\"\n (headerAuxMenuItemClick)=\"headerAuxMenuItemClick.emit($event)\"\n (headerAuxMenuItemDDClick)=\"headerAuxMenuItemDDClick.emit($event)\"\n ></li>\n }\n </ul>\n }\n }\n }\n\n @if (auxMenuGeoloc()) {\n <ul class=\"sl-hdr-aux-container\">\n <ng-container *ngTemplateOutlet=\"auxMenuGeoloc()\"></ng-container>\n </ul>\n }\n </div>\n </nav>\n\n @defer (hydrate on hover) {\n <div sl-hdr-act [loginUrl]=\"loginUrl()\" [showSearch]=\"showSearch()\" [homeUrl]=\"homeUrl()\"></div>\n }\n\n <nav class=\"sl-hdr-main\">\n <ul class=\"sl-hdr-main-list\">\n @for (mainItem of mainMenu(); track mainItem.title) {\n @defer (hydrate on hover) {\n <li sl-hdr-main-item [item]=\"mainItem\" (headerMainMenuCtaDDClick)=\"headerMainMenuCtaDDClick.emit({ event: $event, item: mainItem })\"></li>\n }\n }\n </ul>\n </nav>\n\n @defer (hydrate when headerService.showSideMenu()) {\n <div sl-hdr-side [sideMenuGroups]=\"sideMenuGroups()\" [sideMenuGeoloc]=\"sideMenuGeoloc()\"></div>\n }\n\n @if (searchControl()) {\n @defer (hydrate when headerService.showSearch()) {\n <rdsite-search\n class=\"sl-hdr-search\"\n [searchControl]=\"searchControl()!\"\n [label]=\"'O que voc\u00EA procura?'\"\n [debounceTime]=\"1500\"\n [setFocus]=\"true\"\n (enterPress)=\"doSearch($event)\"\n >\n </rdsite-search>\n }\n }\n</div>\n\n@defer (hydrate when headerService.showSearch()) {\n <rdsite-overlay\n class=\"search-overlay\"\n [ngClass]=\"{ active: headerService.showSearch(), opacity: headerService.showSearchOpacity() }\"\n (overlayClick)=\"overlayClick()\"\n ></rdsite-overlay>\n}\n", styles: ["header[sl-hdr]{position:sticky;top:0;z-index:9999;display:grid!important;grid-template-areas:\". content .\";grid-template-columns:minmax(0px,1fr) minmax(auto,1366px) minmax(0px,1fr);grid-template-rows:80px;background-color:var(--hdr-bg-color);height:80px}header[sl-hdr] *{font-family:var(--font-family)!important}header[sl-hdr] svg{stroke:#fff;stroke-width:2.1px;fill:none}header[sl-hdr] .sl-hdr-content{grid-area:content;display:grid!important;grid-template-areas:\"logo . action\" \"logo . action\" \"main main main\";grid-template-columns:144px 1fr auto;grid-template-rows:36px 44px 0px}header[sl-hdr] .sl-hdr-content div[sl-hdr-logo]{grid-area:logo}header[sl-hdr] .sl-hdr-content .sl-hdr-aux{display:none;grid-area:aux;background-color:var(--hdr-aux-bg-color);justify-content:flex-start}header[sl-hdr] .sl-hdr-content .sl-hdr-aux .sl-hdr-aux-wrapper{display:flex;width:100%;height:100%;justify-content:flex-start;gap:2px}header[sl-hdr] .sl-hdr-content .sl-hdr-aux .sl-hdr-aux-wrapper ul.sl-hdr-aux-container{display:flex;height:100%;justify-content:space-around;background-color:var(--hdr-aux-container-bg-color);list-style-type:none;padding:0 12px;flex-grow:1}header[sl-hdr] .sl-hdr-content div[sl-hdr-act]{grid-area:action;background-color:var(--hdr-act-bg-color)}header[sl-hdr] .sl-hdr-content nav.sl-hdr-main{grid-area:main}header[sl-hdr] .sl-hdr-content nav.sl-hdr-main ul.sl-hdr-main-list{list-style-type:none;display:flex;width:100%;height:100%;justify-content:flex-start;gap:8px}header[sl-hdr] .sl-hdr-content .sl-hdr-search{grid-area:search;display:none;position:relative;z-index:-1;background-color:#fff;width:100%;height:100%}header[sl-hdr] .sl-hdr-content.show-search{grid-template-areas:\"logo . action\" \"logo . action\" \"search search search\"}header[sl-hdr] .sl-hdr-content.show-search .sl-hdr-main{display:none}header[sl-hdr] .sl-hdr-content.show-search .sl-hdr-search{height:48px;display:block;z-index:1000}header[sl-hdr] .search-overlay{top:100%;right:0;z-index:-1;width:100vw;height:calc(100vh - 100%);transition:all .3s ease-out;opacity:0;background-color:var(--hdr-over-bg-color);pointer-events:none}header[sl-hdr] .search-overlay.active{z-index:999;opacity:.9;pointer-events:all}header[sl-hdr] .search-overlay.opacity{opacity:1}@media only screen and (min-width: 1024px){header[sl-hdr] .sl-hdr-content{grid-template-areas:\"logo aux action\" \"logo main main\";grid-template-columns:144px 1fr auto}header[sl-hdr] .sl-hdr-content.show-search{grid-template-areas:\"logo aux action\" \"logo search search\"}header[sl-hdr] .sl-hdr-content.show-search .sl-hdr-search{height:auto}header[sl-hdr] .sl-hdr-content .sl-hdr-aux{display:block}header[sl-hdr] .sl-hdr-content .sl-hdr-main{display:block}}@media only screen and (min-width: 1366px){header[sl-hdr]{height:88px}header[sl-hdr] .sl-hdr-content{grid-template-rows:36px 52px;height:88px}}\n"], dependencies: [{ kind: "ngmodule", type: CommonModule }, { kind: "directive", type: i1.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { kind: "directive", type: i1.NgTemplateOutlet, selector: "[ngTemplateOutlet]", inputs: ["ngTemplateOutletContext", "ngTemplateOutlet", "ngTemplateOutletInjector"] }], encapsulation: i0.ViewEncapsulation.None, deferBlockDependencies: [() => [Promise.resolve().then(function () { return headerLogo_component; }).then(m => m.HeaderLogoComponent)], () => [import('@rededor/site-front-end-lib/components/header/components/auxiliar').then(m => m.HeaderAuxMenuItemComponent)], () => [import('@rededor/site-front-end-lib/components/header/components/action').then(m => m.HeaderActionMenuComponent)], () => [import('@rededor/site-front-end-lib/components/header/components/main').then(m => m.HeaderMainMenuItemComponent)], () => [import('@rededor/site-front-end-lib/components/header/components/side').then(m => m.HeaderSideMenuComponent)], () => [import('@rededor/site-front-end-lib/components/search').then(m => m.SearchComponent)], () => [i1.NgClass, import('@rededor/site-front-end-lib/components/overlay').then(m => m.OverlayComponent)]] }); }
|
|
212
330
|
}
|
|
213
331
|
i0.ɵɵngDeclareClassMetadataAsync({ minVersion: "18.0.0", version: "20.3.16", ngImport: i0, type: HeaderComponent, resolveDeferredDeps: () => [Promise.resolve().then(function () { return headerLogo_component; }).then(m => m.HeaderLogoComponent), import('@rededor/site-front-end-lib/components/header/components/auxiliar').then(m => m.HeaderAuxMenuItemComponent), import('@rededor/site-front-end-lib/components/header/components/action').then(m => m.HeaderActionMenuComponent), import('@rededor/site-front-end-lib/components/header/components/main').then(m => m.HeaderMainMenuItemComponent), import('@rededor/site-front-end-lib/components/header/components/side').then(m => m.HeaderSideMenuComponent), import('@rededor/site-front-end-lib/components/search').then(m => m.SearchComponent), import('@rededor/site-front-end-lib/components/overlay').then(m => m.OverlayComponent)], resolveMetadata: (HeaderLogoComponent, HeaderAuxMenuItemComponent, HeaderActionMenuComponent, HeaderMainMenuItemComponent, HeaderSideMenuComponent, SearchComponent, OverlayComponent) => ({ decorators: [{
|
|
214
332
|
type: Component,
|
|
@@ -221,7 +339,9 @@ i0.ɵɵngDeclareClassMetadataAsync({ minVersion: "18.0.0", version: "20.3.16", n
|
|
|
221
339
|
HeaderMainMenuItemComponent,
|
|
222
340
|
HeaderSideMenuComponent,
|
|
223
341
|
HeaderAuxMenuItemComponent,
|
|
224
|
-
], encapsulation: ViewEncapsulation.None,
|
|
342
|
+
], encapsulation: ViewEncapsulation.None, host: {
|
|
343
|
+
'[style.--font-family]': 'this.curaApiService.theme.fonts.getFamily()',
|
|
344
|
+
}, template: "<div class=\"sl-hdr-content\" [ngClass]=\"{ 'show-search': headerService.showSearch() }\">\n @defer (hydrate on hover) {\n <div sl-hdr-logo [href]=\"logo().href\" [title]=\"logo().title\" [alt]=\"logo().alt\" [src]=\"logo().src\" (click)=\"overlayClick()\"></div>\n }\n\n <nav class=\"sl-hdr-aux\" (click)=\"overlayClick()\">\n <div class=\"sl-hdr-aux-wrapper\">\n @defer (hydrate on hover) {\n @for (auxMenuGroup of auxMenuGroups(); track $index; let firstGroup = $first; let lastGroup = $last) {\n @if (firstGroup) {\n <ul class=\"sl-hdr-aux-container\">\n @for (auxMenuItem of auxMenuGroup; track auxMenuItem.title) {\n <li\n sl-hdr-aux-item\n [item]=\"auxMenuItem\"\n (headerAuxMenuItemClick)=\"headerAuxMenuItemClick.emit($event)\"\n (headerAuxMenuItemDDClick)=\"headerAuxMenuItemDDClick.emit($event)\"\n ></li>\n }\n </ul>\n } @else if (isDesktop()) {\n <ul class=\"sl-hdr-aux-container\">\n @for (auxMenuItem of auxMenuGroup; track auxMenuItem.title) {\n <li\n sl-hdr-aux-item\n [item]=\"auxMenuItem\"\n [altStyle]=\"true\"\n (headerAuxMenuItemClick)=\"headerAuxMenuItemClick.emit($event)\"\n (headerAuxMenuItemDDClick)=\"headerAuxMenuItemDDClick.emit($event)\"\n ></li>\n }\n </ul>\n }\n }\n }\n\n @if (auxMenuGeoloc()) {\n <ul class=\"sl-hdr-aux-container\">\n <ng-container *ngTemplateOutlet=\"auxMenuGeoloc()\"></ng-container>\n </ul>\n }\n </div>\n </nav>\n\n @defer (hydrate on hover) {\n <div sl-hdr-act [loginUrl]=\"loginUrl()\" [showSearch]=\"showSearch()\" [homeUrl]=\"homeUrl()\"></div>\n }\n\n <nav class=\"sl-hdr-main\">\n <ul class=\"sl-hdr-main-list\">\n @for (mainItem of mainMenu(); track mainItem.title) {\n @defer (hydrate on hover) {\n <li sl-hdr-main-item [item]=\"mainItem\" (headerMainMenuCtaDDClick)=\"headerMainMenuCtaDDClick.emit({ event: $event, item: mainItem })\"></li>\n }\n }\n </ul>\n </nav>\n\n @defer (hydrate when headerService.showSideMenu()) {\n <div sl-hdr-side [sideMenuGroups]=\"sideMenuGroups()\" [sideMenuGeoloc]=\"sideMenuGeoloc()\"></div>\n }\n\n @if (searchControl()) {\n @defer (hydrate when headerService.showSearch()) {\n <rdsite-search\n class=\"sl-hdr-search\"\n [searchControl]=\"searchControl()!\"\n [label]=\"'O que voc\u00EA procura?'\"\n [debounceTime]=\"1500\"\n [setFocus]=\"true\"\n (enterPress)=\"doSearch($event)\"\n >\n </rdsite-search>\n }\n }\n</div>\n\n@defer (hydrate when headerService.showSearch()) {\n <rdsite-overlay\n class=\"search-overlay\"\n [ngClass]=\"{ active: headerService.showSearch(), opacity: headerService.showSearchOpacity() }\"\n (overlayClick)=\"overlayClick()\"\n ></rdsite-overlay>\n}\n", styles: ["header[sl-hdr]{position:sticky;top:0;z-index:9999;display:grid!important;grid-template-areas:\". content .\";grid-template-columns:minmax(0px,1fr) minmax(auto,1366px) minmax(0px,1fr);grid-template-rows:80px;background-color:var(--hdr-bg-color);height:80px}header[sl-hdr] *{font-family:var(--font-family)!important}header[sl-hdr] svg{stroke:#fff;stroke-width:2.1px;fill:none}header[sl-hdr] .sl-hdr-content{grid-area:content;display:grid!important;grid-template-areas:\"logo . action\" \"logo . action\" \"main main main\";grid-template-columns:144px 1fr auto;grid-template-rows:36px 44px 0px}header[sl-hdr] .sl-hdr-content div[sl-hdr-logo]{grid-area:logo}header[sl-hdr] .sl-hdr-content .sl-hdr-aux{display:none;grid-area:aux;background-color:var(--hdr-aux-bg-color);justify-content:flex-start}header[sl-hdr] .sl-hdr-content .sl-hdr-aux .sl-hdr-aux-wrapper{display:flex;width:100%;height:100%;justify-content:flex-start;gap:2px}header[sl-hdr] .sl-hdr-content .sl-hdr-aux .sl-hdr-aux-wrapper ul.sl-hdr-aux-container{display:flex;height:100%;justify-content:space-around;background-color:var(--hdr-aux-container-bg-color);list-style-type:none;padding:0 12px;flex-grow:1}header[sl-hdr] .sl-hdr-content div[sl-hdr-act]{grid-area:action;background-color:var(--hdr-act-bg-color)}header[sl-hdr] .sl-hdr-content nav.sl-hdr-main{grid-area:main}header[sl-hdr] .sl-hdr-content nav.sl-hdr-main ul.sl-hdr-main-list{list-style-type:none;display:flex;width:100%;height:100%;justify-content:flex-start;gap:8px}header[sl-hdr] .sl-hdr-content .sl-hdr-search{grid-area:search;display:none;position:relative;z-index:-1;background-color:#fff;width:100%;height:100%}header[sl-hdr] .sl-hdr-content.show-search{grid-template-areas:\"logo . action\" \"logo . action\" \"search search search\"}header[sl-hdr] .sl-hdr-content.show-search .sl-hdr-main{display:none}header[sl-hdr] .sl-hdr-content.show-search .sl-hdr-search{height:48px;display:block;z-index:1000}header[sl-hdr] .search-overlay{top:100%;right:0;z-index:-1;width:100vw;height:calc(100vh - 100%);transition:all .3s ease-out;opacity:0;background-color:var(--hdr-over-bg-color);pointer-events:none}header[sl-hdr] .search-overlay.active{z-index:999;opacity:.9;pointer-events:all}header[sl-hdr] .search-overlay.opacity{opacity:1}@media only screen and (min-width: 1024px){header[sl-hdr] .sl-hdr-content{grid-template-areas:\"logo aux action\" \"logo main main\";grid-template-columns:144px 1fr auto}header[sl-hdr] .sl-hdr-content.show-search{grid-template-areas:\"logo aux action\" \"logo search search\"}header[sl-hdr] .sl-hdr-content.show-search .sl-hdr-search{height:auto}header[sl-hdr] .sl-hdr-content .sl-hdr-aux{display:block}header[sl-hdr] .sl-hdr-content .sl-hdr-main{display:block}}@media only screen and (min-width: 1366px){header[sl-hdr]{height:88px}header[sl-hdr] .sl-hdr-content{grid-template-rows:36px 52px;height:88px}}\n"] }]
|
|
225
345
|
}], ctorParameters: () => [], propDecorators: { project: [{ type: i0.Input, args: [{ isSignal: true, alias: "project", required: false }] }], theme: [{ type: i0.Input, args: [{ isSignal: true, alias: "theme", required: false }] }], loginUrl: [{ type: i0.Input, args: [{ isSignal: true, alias: "loginUrl", required: false }] }], homeUrl: [{ type: i0.Input, args: [{ isSignal: true, alias: "homeUrl", required: false }] }], showSearch: [{ type: i0.Input, args: [{ isSignal: true, alias: "showSearch", required: false }] }], logo: [{ type: i0.Input, args: [{ isSignal: true, alias: "logo", required: false }] }], searchControl: [{ type: i0.Input, args: [{ isSignal: true, alias: "searchControl", required: false }] }], mainMenu: [{ type: i0.Input, args: [{ isSignal: true, alias: "mainMenu", required: false }] }], auxMenuGroups: [{ type: i0.Input, args: [{ isSignal: true, alias: "auxMenuGroups", required: false }] }], auxMenuGeoloc: [{ type: i0.Input, args: [{ isSignal: true, alias: "auxMenuGeoloc", required: false }] }], sideMenuGroups: [{ type: i0.Input, args: [{ isSignal: true, alias: "sideMenuGroups", required: false }] }], sideMenuGeoloc: [{ type: i0.Input, args: [{ isSignal: true, alias: "sideMenuGeoloc", required: false }] }], headerAuxMenuItemClick: [{ type: i0.Output, args: ["headerAuxMenuItemClick"] }], headerAuxMenuItemDDClick: [{ type: i0.Output, args: ["headerAuxMenuItemDDClick"] }], headerMainMenuCtaDDClick: [{ type: i0.Output, args: ["headerMainMenuCtaDDClick"] }], searchChange: [{ type: i0.Output, args: ["searchChange"] }], checkWindowWidth: [{
|
|
226
346
|
type: HostListener,
|
|
227
347
|
args: ['window:resize', ['$event']]
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"rededor-site-front-end-lib-components-header.mjs","sources":["../../../projects/site-front-end-lib/components/header/helpers/headerTheme.func.ts","../../../projects/site-front-end-lib/components/header/header.component.ts","../../../projects/site-front-end-lib/components/header/header.component.html","../../../projects/site-front-end-lib/components/header/components/header-logo/header-logo.component.ts","../../../projects/site-front-end-lib/components/header/components/header-logo/header-logo.component.html","../../../projects/site-front-end-lib/components/header/rededor-site-front-end-lib-components-header.ts"],"sourcesContent":["import { CuraApiService } from '@rededor/site-front-end-lib/cura/api';\nimport { HeaderTheme } from '../models/HeaderTheme.model';\n\nexport const getHeaderTheme = (project: string = 'site', themeStyle: string = 'default', curaApiService: CuraApiService) => {\n const theme: HeaderTheme = {\n hdr: {},\n 'hdr-aux': {},\n 'hdr-act': {},\n 'hdr-main': {},\n 'hdr-side': {},\n };\n\n const [primaryLighter, primaryLight, primaryBase, primaryDark, primaryDarker] = [\n curaApiService.theme.colors.getColor('primary-lighter'),\n curaApiService.theme.colors.getColor('primary-light'),\n curaApiService.theme.colors.getColor('primary-base'),\n curaApiService.theme.colors.getColor('primary-dark'),\n curaApiService.theme.colors.getColor('primary-darker'),\n ];\n const [accentLighter, accentLight, accentBase] = [\n curaApiService.theme.colors.getColor('accent-lighter'),\n curaApiService.theme.colors.getColor('accent-light'),\n curaApiService.theme.colors.getColor('accent-base'),\n ];\n const [neutralPurewhite, neutralBase] = [curaApiService.theme.colors.getColor('neutral-purewhite'), curaApiService.theme.colors.getColor('neutral-base')];\n\n switch (project) {\n case 'site':\n if (themeStyle === 'default') {\n theme.hdr = {\n 'bg-color': primaryBase,\n 'over-bg-color': primaryDarker,\n };\n theme['hdr-aux'] = {\n 'bg-color': primaryBase,\n 'container-bg-color': primaryDarker,\n 'drop-bg-color': neutralPurewhite,\n color: neutralPurewhite,\n hover: accentLight,\n active: accentBase,\n 'color-alt': primaryLighter,\n 'hover-alt': primaryLight,\n 'active-alt': primaryBase,\n };\n theme['hdr-act'] = {\n 'bg-color': neutralBase,\n 'items-bg-color': neutralPurewhite,\n 'items-color': primaryBase,\n 'items-hover': primaryLight,\n 'items-active': primaryDark,\n };\n theme['hdr-main'] = {\n 'bg-color': primaryBase,\n color: neutralPurewhite,\n hover: primaryLighter,\n 'bg-hover': primaryDarker,\n active: primaryLight,\n 'dd-bg-color': primaryDarker,\n 'dd-color': neutralPurewhite,\n 'dd-icon-color': primaryLight,\n 'dd-alt-color': primaryLighter,\n 'dd-alt-hover': neutralPurewhite,\n 'dd-lv2-content-bg': primaryBase,\n 'dd-lv2-bg': primaryDarker,\n 'dd-lv3-bg': primaryBase,\n 'dd-lv4-bg': primaryDark,\n 'dd-cta-bg': neutralPurewhite,\n 'dd-cta-color': primaryBase,\n };\n theme['hdr-side'] = {\n 'bg-color': primaryDarker,\n 'border-bottom': primaryBase,\n 'open-color': primaryLight,\n color: neutralPurewhite,\n hover: accentLighter,\n active: accentLight,\n 'alt-color': primaryLighter,\n 'alt-hover': neutralPurewhite,\n 'alt-active': primaryLight,\n };\n } else {\n theme.hdr = {\n 'bg-color': neutralPurewhite,\n 'over-bg-color': primaryDarker,\n };\n theme['hdr-aux'] = {\n 'bg-color': primaryDark,\n 'container-bg-color': primaryBase,\n 'drop-bg-color': neutralPurewhite,\n color: neutralPurewhite,\n hover: accentLight,\n active: accentBase,\n 'color-alt': neutralPurewhite,\n 'hover-alt': primaryLighter,\n 'active-alt': primaryLight,\n };\n theme['hdr-act'] = {\n 'bg-color': primaryBase,\n 'items-bg-color': primaryDark,\n 'items-color': primaryLight,\n 'items-hover': primaryLighter,\n 'items-active': primaryBase,\n };\n theme['hdr-main'] = {\n 'bg-color': neutralPurewhite,\n color: primaryBase,\n hover: primaryLighter,\n 'bg-hover': primaryDarker,\n active: primaryLight,\n 'dd-bg-color': primaryDarker,\n 'dd-color': neutralPurewhite,\n 'dd-icon-color': primaryLight,\n 'dd-alt-color': primaryLighter,\n 'dd-alt-hover': neutralPurewhite,\n 'dd-lv2-content-bg': primaryBase,\n 'dd-lv2-bg': primaryDarker,\n 'dd-lv3-bg': primaryBase,\n 'dd-lv4-bg': primaryDark,\n 'dd-cta-bg': neutralPurewhite,\n 'dd-cta-color': primaryBase,\n };\n theme['hdr-side'] = {\n 'bg-color': primaryDarker,\n 'border-bottom': primaryBase,\n 'open-color': primaryLight,\n color: neutralPurewhite,\n hover: accentLighter,\n active: accentLight,\n 'alt-color': primaryLighter,\n 'alt-hover': neutralPurewhite,\n 'alt-active': primaryLight,\n };\n }\n break;\n\n default:\n break;\n }\n\n return theme;\n};\n","import { CommonModule, isPlatformServer } from '@angular/common';\nimport {\n Component,\n effect,\n PLATFORM_ID,\n ViewEncapsulation,\n ElementRef,\n AfterViewInit,\n DOCUMENT,\n input,\n TemplateRef,\n signal,\n HostListener,\n output,\n inject,\n} from '@angular/core';\nimport { getHeaderTheme } from './helpers/headerTheme.func';\nimport { HeaderTheme } from './models/HeaderTheme.model';\nimport { HeaderService } from '@rededor/site-front-end-lib/components/header/services';\nimport { UntypedFormControl } from '@angular/forms';\nimport { HeaderLogoComponent } from './components/header-logo/header-logo.component';\nimport { HeaderActionMenuComponent } from '@rededor/site-front-end-lib/components/header/components/action';\nimport { MenuItem } from '@rededor/site-front-end-lib/core';\nimport { CuraApiService } from '@rededor/site-front-end-lib/cura/api';\nimport { OverlayComponent } from '@rededor/site-front-end-lib/components/overlay';\nimport { SearchComponent } from '@rededor/site-front-end-lib/components/search';\nimport { HeaderMainMenuItemComponent } from '@rededor/site-front-end-lib/components/header/components/main';\nimport { HeaderSideMenuComponent } from '@rededor/site-front-end-lib/components/header/components/side';\nimport { HeaderAuxMenuItemComponent } from '@rededor/site-front-end-lib/components/header/components/auxiliar';\n\n@Component({\n // eslint-disable-next-line @angular-eslint/component-selector\n selector: 'header[sl-hdr]',\n imports: [\n CommonModule,\n OverlayComponent,\n SearchComponent,\n HeaderLogoComponent,\n HeaderActionMenuComponent,\n HeaderMainMenuItemComponent,\n HeaderSideMenuComponent,\n HeaderAuxMenuItemComponent,\n ],\n encapsulation: ViewEncapsulation.None,\n templateUrl: './header.component.html',\n styleUrl: './header.component.scss',\n})\nexport class HeaderComponent implements AfterViewInit {\n private curaApiService = inject(CuraApiService);\n private elementRef = inject(ElementRef);\n private document = inject(DOCUMENT);\n private platformId = inject(PLATFORM_ID);\n headerService = inject(HeaderService);\n\n project = input<string>('site');\n theme = input<string>('default');\n loginUrl = input<string>('');\n homeUrl = input<string>('');\n showSearch = input<boolean>(true);\n logo = input<{ src: string; alt: string; title: string; href: string }>({ src: '', alt: '', title: '', href: '' });\n searchControl = input<UntypedFormControl | null>(null);\n\n mainMenu = input<MenuItem[]>([]);\n auxMenuGroups = input<MenuItem[][]>([]);\n auxMenuGeoloc = input<TemplateRef<any> | null>(null);\n sideMenuGroups = input<MenuItem[][]>([]);\n sideMenuGeoloc = input<TemplateRef<any> | null>(null);\n\n headerAuxMenuItemClick = output<Event>();\n headerAuxMenuItemDDClick = output<Event>();\n headerMainMenuCtaDDClick = output<{ event: Event; item: MenuItem }>();\n searchChange = output<string>();\n\n isDesktop = signal(false);\n scrollTop = 0;\n\n @HostListener('window:resize', ['$event'])\n checkWindowWidth(event: any) {\n this.isDesktop.set((event?.target?.innerWidth ?? 0) >= 1260);\n }\n\n constructor() {\n effect(() => {\n if (isPlatformServer(this.platformId) || !this.document.defaultView) return;\n if (this.headerService.showSearch() || this.headerService.showSideMenu()) {\n this.scrollTop = this.document.documentElement.scrollTop ?? 0;\n this.document.defaultView.onscroll = () => {\n this.document.documentElement.scrollTo({ top: this.scrollTop, behavior: 'auto' });\n };\n } else {\n this.document.defaultView.onscroll = null;\n this.scrollTop = 0;\n }\n });\n\n effect(() => {\n this.updateHeaderTheme();\n });\n }\n\n ngAfterViewInit() {\n this.updateHeaderTheme();\n }\n\n private updateHeaderTheme() {\n const headerTheme: HeaderTheme = getHeaderTheme(this.project(), this.theme(), this.curaApiService);\n Object.entries(headerTheme).forEach(([key, value]) => {\n Object.entries(value).forEach(([prop, val]) => {\n const cssVar = `--${key}-${prop}`;\n this.elementRef.nativeElement.style.setProperty(cssVar, val as string);\n });\n });\n }\n\n overlayClick() {\n this.headerService.toggleShowSearch(false);\n }\n\n doSearch(event: any) {\n this.searchChange.emit(event);\n this.headerService.toggleShowSearch(false);\n }\n}\n","<div class=\"sl-hdr-content\" [ngClass]=\"{ 'show-search': headerService.showSearch() }\">\n @defer (hydrate on hover) {\n <div sl-hdr-logo [href]=\"logo().href\" [title]=\"logo().title\" [alt]=\"logo().alt\" [src]=\"logo().src\" (click)=\"overlayClick()\"></div>\n }\n\n <nav class=\"sl-hdr-aux\" (click)=\"overlayClick()\">\n <div class=\"sl-hdr-aux-wrapper\">\n @defer (hydrate on hover) {\n @for (auxMenuGroup of auxMenuGroups(); track $index; let firstGroup = $first; let lastGroup = $last) {\n @if (firstGroup) {\n <ul class=\"sl-hdr-aux-container\">\n @for (auxMenuItem of auxMenuGroup; track auxMenuItem.title) {\n <li\n sl-hdr-aux-item\n [item]=\"auxMenuItem\"\n (headerAuxMenuItemClick)=\"headerAuxMenuItemClick.emit($event)\"\n (headerAuxMenuItemDDClick)=\"headerAuxMenuItemDDClick.emit($event)\"\n ></li>\n }\n </ul>\n } @else if (isDesktop()) {\n <ul class=\"sl-hdr-aux-container\">\n @for (auxMenuItem of auxMenuGroup; track auxMenuItem.title) {\n <li\n sl-hdr-aux-item\n [item]=\"auxMenuItem\"\n [altStyle]=\"true\"\n (headerAuxMenuItemClick)=\"headerAuxMenuItemClick.emit($event)\"\n (headerAuxMenuItemDDClick)=\"headerAuxMenuItemDDClick.emit($event)\"\n ></li>\n }\n </ul>\n }\n }\n }\n\n @if (auxMenuGeoloc()) {\n <ul class=\"sl-hdr-aux-container\">\n <ng-container *ngTemplateOutlet=\"auxMenuGeoloc()\"></ng-container>\n </ul>\n }\n </div>\n </nav>\n\n @defer (hydrate on hover) {\n <div sl-hdr-act [loginUrl]=\"loginUrl()\" [showSearch]=\"showSearch()\" [homeUrl]=\"homeUrl()\"></div>\n }\n\n <nav class=\"sl-hdr-main\">\n <ul class=\"sl-hdr-main-list\">\n @for (mainItem of mainMenu(); track mainItem.title) {\n @defer (hydrate on hover) {\n <li sl-hdr-main-item [item]=\"mainItem\" (headerMainMenuCtaDDClick)=\"headerMainMenuCtaDDClick.emit({ event: $event, item: mainItem })\"></li>\n }\n }\n </ul>\n </nav>\n\n @defer (hydrate when headerService.showSideMenu()) {\n <div sl-hdr-side [sideMenuGroups]=\"sideMenuGroups()\" [sideMenuGeoloc]=\"sideMenuGeoloc()\"></div>\n }\n\n @if (searchControl()) {\n @defer (hydrate when headerService.showSearch()) {\n <rdsite-search\n class=\"sl-hdr-search\"\n [searchControl]=\"searchControl()!\"\n [label]=\"'O que você procura?'\"\n [debounceTime]=\"1500\"\n [setFocus]=\"true\"\n (enterPress)=\"doSearch($event)\"\n >\n </rdsite-search>\n }\n }\n</div>\n\n@defer (hydrate when headerService.showSearch()) {\n <rdsite-overlay\n class=\"search-overlay\"\n [ngClass]=\"{ active: headerService.showSearch(), opacity: headerService.showSearchOpacity() }\"\n (overlayClick)=\"overlayClick()\"\n ></rdsite-overlay>\n}\n","import { ChangeDetectionStrategy, Component, input, output, ViewEncapsulation } from '@angular/core';\nimport { RdsiteLinkDirective } from '@rededor/site-front-end-lib/core';\n\n@Component({\n // eslint-disable-next-line @angular-eslint/component-selector\n selector: 'div[sl-hdr-logo]',\n imports: [RdsiteLinkDirective],\n encapsulation: ViewEncapsulation.None,\n changeDetection: ChangeDetectionStrategy.OnPush,\n templateUrl: './header-logo.component.html',\n styleUrl: './header-logo.component.scss',\n})\nexport class HeaderLogoComponent {\n href = input<string>('');\n title = input<string>('');\n alt = input<string>('');\n src = input<string>('');\n headerLogoClick = output<Event>();\n\n headerLogoClicked(event: Event) {\n this.headerLogoClick.emit(event);\n }\n}\n","<a [href]=\"href()\" (click)=\"headerLogoClicked($event)\" rdsitelink>\n <img loading=\"eager\" fetchpriority=\"high\" [src]=\"src()\" [alt]=\"alt()\" [title]=\"title()\" />\n</a>\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './public-api';\n"],"names":[],"mappings":";;;;;;;;AAGO,MAAM,cAAc,GAAG,CAAC,OAAA,GAAkB,MAAM,EAAE,UAAA,GAAqB,SAAS,EAAE,cAA8B,KAAI;AACzH,IAAA,MAAM,KAAK,GAAgB;AACzB,QAAA,GAAG,EAAE,EAAE;AACP,QAAA,SAAS,EAAE,EAAE;AACb,QAAA,SAAS,EAAE,EAAE;AACb,QAAA,UAAU,EAAE,EAAE;AACd,QAAA,UAAU,EAAE,EAAE;KACf;IAED,MAAM,CAAC,cAAc,EAAE,YAAY,EAAE,WAAW,EAAE,WAAW,EAAE,aAAa,CAAC,GAAG;QAC9E,cAAc,CAAC,KAAK,CAAC,MAAM,CAAC,QAAQ,CAAC,iBAAiB,CAAC;QACvD,cAAc,CAAC,KAAK,CAAC,MAAM,CAAC,QAAQ,CAAC,eAAe,CAAC;QACrD,cAAc,CAAC,KAAK,CAAC,MAAM,CAAC,QAAQ,CAAC,cAAc,CAAC;QACpD,cAAc,CAAC,KAAK,CAAC,MAAM,CAAC,QAAQ,CAAC,cAAc,CAAC;QACpD,cAAc,CAAC,KAAK,CAAC,MAAM,CAAC,QAAQ,CAAC,gBAAgB,CAAC;KACvD;AACD,IAAA,MAAM,CAAC,aAAa,EAAE,WAAW,EAAE,UAAU,CAAC,GAAG;QAC/C,cAAc,CAAC,KAAK,CAAC,MAAM,CAAC,QAAQ,CAAC,gBAAgB,CAAC;QACtD,cAAc,CAAC,KAAK,CAAC,MAAM,CAAC,QAAQ,CAAC,cAAc,CAAC;QACpD,cAAc,CAAC,KAAK,CAAC,MAAM,CAAC,QAAQ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,IAAA,EAAA,UAAA,EAAA,KAAA,EAAA,iBAAA,EAAA,IAAA,EAAA,EAAA,GAAA,EAAA,EAAA,iBAAA,EAAA,KAAA,EAAA,UAAA,EAAA,KAAA,EAAA,QAAA,EAAA,IAAA,EAAA,UAAA,EAAA,KAAA,EAAA,iBAAA,EAAA,IAAA,EAAA,EAAA,GAAA,EAAA,EAAA,iBAAA,EAAA,KAAA,EAAA,UAAA,EAAA,KAAA,EAAA,QAAA,EAAA,IAAA,EAAA,UAAA,EAAA,KAAA,EAAA,iBAAA,EAAA,IAAA,EAAA,EAAA,EAAA,OAAA,EAAA,EAAA,eAAA,EAAA,iBAAA,EAAA,EAAA,QAAA,EAAA,EAAA,EAAA,QAAA,ECZhC,wLAGA,EAAA,MAAA,EAAA,CAAA,qQAAA,CAAA,EAAA,YAAA,EAAA,CAAA,EAAA,IAAA,EAAA,WAAA,EAAA,IAAA,EDGY,mBAAmB,EAAA,QAAA,EAAA,cAAA,EAAA,MAAA,EAAA,CAAA,kBAAA,EAAA,uBAAA,EAAA,YAAA,CAAA,EAAA,CAAA,EAAA,eAAA,EAAA,EAAA,CAAA,uBAAA,CAAA,MAAA,EAAA,aAAA,EAAA,EAAA,CAAA,iBAAA,CAAA,IAAA,EAAA,CAAA,CAAA;;4FAMlB,mBAAmB,EAAA,UAAA,EAAA,CAAA;kBAT/B,SAAS;+BAEE,kBAAkB,EAAA,OAAA,EACnB,CAAC,mBAAmB,CAAC,EAAA,aAAA,EACf,iBAAiB,CAAC,IAAI,EAAA,eAAA,EACpB,uBAAuB,CAAC,MAAM,EAAA,QAAA,EAAA,wLAAA,EAAA,MAAA,EAAA,CAAA,qQAAA,CAAA,EAAA;;;;;;;;AERjD;;AAEG;;;;"}
|
|
1
|
+
{"version":3,"file":"rededor-site-front-end-lib-components-header.mjs","sources":["../../../projects/site-front-end-lib/components/header/helpers/headerTheme.func.ts","../../../projects/site-front-end-lib/components/header/header.component.ts","../../../projects/site-front-end-lib/components/header/header.component.html","../../../projects/site-front-end-lib/components/header/components/header-logo/header-logo.component.ts","../../../projects/site-front-end-lib/components/header/components/header-logo/header-logo.component.html","../../../projects/site-front-end-lib/components/header/rededor-site-front-end-lib-components-header.ts"],"sourcesContent":["import { CuraApiService } from '@rededor/site-front-end-lib/cura/api';\nimport { HeaderTheme } from '../models/HeaderTheme.model';\n\nexport const getHeaderTheme = (project: string = 'site', themeStyle: string = 'default', curaApiService: CuraApiService) => {\n const theme: HeaderTheme = {\n hdr: {},\n 'hdr-aux': {},\n 'hdr-act': {},\n 'hdr-main': {},\n 'hdr-side': {},\n };\n\n const [primaryLighter, primaryLight, primaryBase, primaryDark, primaryDarker] = [\n curaApiService.theme.colors.getColor('primary-lighter'),\n curaApiService.theme.colors.getColor('primary-light'),\n curaApiService.theme.colors.getColor('primary-base'),\n curaApiService.theme.colors.getColor('primary-dark'),\n curaApiService.theme.colors.getColor('primary-darker'),\n ];\n const [accentLighter, accentLight, accentBase] = [\n curaApiService.theme.colors.getColor('accent-lighter'),\n curaApiService.theme.colors.getColor('accent-light'),\n curaApiService.theme.colors.getColor('accent-base'),\n ];\n const [neutralPurewhite, neutralBase, neutralBlack, neutralDarker] = [\n curaApiService.theme.colors.getColor('neutral-purewhite'),\n curaApiService.theme.colors.getColor('neutral-base'),\n curaApiService.theme.colors.getColor('neutral-black'),\n curaApiService.theme.colors.getColor('neutral-darker'),\n ];\n\n const [secondaryLighter, secondaryLight, secondaryDark] = [\n curaApiService.theme.colors.getColor('secondary-lighter'),\n curaApiService.theme.colors.getColor('secondary-light'),\n curaApiService.theme.colors.getColor('secondary-dark'),\n ];\n\n switch (project) {\n case 'site':\n if (themeStyle === 'default') {\n theme.hdr = {\n 'bg-color': primaryBase,\n 'over-bg-color': primaryDarker,\n };\n theme['hdr-aux'] = {\n 'bg-color': primaryBase,\n 'container-bg-color': primaryDarker,\n 'drop-bg-color': neutralPurewhite,\n color: neutralPurewhite,\n hover: accentLight,\n active: accentBase,\n 'color-alt': primaryLighter,\n 'hover-alt': primaryLight,\n 'active-alt': primaryBase,\n };\n theme['hdr-act'] = {\n 'bg-color': neutralBase,\n 'items-bg-color': neutralPurewhite,\n 'items-color': primaryBase,\n 'items-hover': primaryLight,\n 'items-active': primaryDark,\n };\n theme['hdr-main'] = {\n 'bg-color': primaryBase,\n color: neutralPurewhite,\n hover: primaryLighter,\n 'bg-hover': primaryDarker,\n active: primaryLight,\n 'dd-bg-color': primaryDarker,\n 'dd-color': neutralPurewhite,\n 'dd-icon-color': primaryLight,\n 'dd-alt-color': primaryLighter,\n 'dd-alt-hover': neutralPurewhite,\n 'dd-lv2-content-bg': primaryBase,\n 'dd-lv2-bg': primaryDarker,\n 'dd-lv3-bg': primaryBase,\n 'dd-lv4-bg': primaryDark,\n 'dd-cta-bg': neutralPurewhite,\n 'dd-cta-color': primaryBase,\n };\n theme['hdr-side'] = {\n 'bg-color': primaryDarker,\n 'border-bottom': primaryBase,\n 'open-color': primaryLight,\n color: neutralPurewhite,\n hover: accentLighter,\n active: accentLight,\n 'alt-color': primaryLighter,\n 'alt-hover': neutralPurewhite,\n 'alt-active': primaryLight,\n };\n } else {\n theme.hdr = {\n 'bg-color': neutralPurewhite,\n 'over-bg-color': primaryDarker,\n };\n theme['hdr-aux'] = {\n 'bg-color': primaryDark,\n 'container-bg-color': primaryBase,\n 'drop-bg-color': neutralPurewhite,\n color: neutralPurewhite,\n hover: accentLight,\n active: accentBase,\n 'color-alt': neutralPurewhite,\n 'hover-alt': primaryLighter,\n 'active-alt': primaryLight,\n };\n theme['hdr-act'] = {\n 'bg-color': primaryBase,\n 'items-bg-color': primaryDark,\n 'items-color': primaryLight,\n 'items-hover': primaryLighter,\n 'items-active': primaryBase,\n };\n theme['hdr-main'] = {\n 'bg-color': neutralPurewhite,\n color: primaryBase,\n hover: primaryLighter,\n 'bg-hover': primaryDarker,\n active: primaryLight,\n 'dd-bg-color': primaryDarker,\n 'dd-color': neutralPurewhite,\n 'dd-icon-color': primaryLight,\n 'dd-alt-color': primaryLighter,\n 'dd-alt-hover': neutralPurewhite,\n 'dd-lv2-content-bg': primaryBase,\n 'dd-lv2-bg': primaryDarker,\n 'dd-lv3-bg': primaryBase,\n 'dd-lv4-bg': primaryDark,\n 'dd-cta-bg': neutralPurewhite,\n 'dd-cta-color': primaryBase,\n };\n theme['hdr-side'] = {\n 'bg-color': primaryDarker,\n 'border-bottom': primaryBase,\n 'open-color': primaryLight,\n color: neutralPurewhite,\n hover: accentLighter,\n active: accentLight,\n 'alt-color': primaryLighter,\n 'alt-hover': neutralPurewhite,\n 'alt-active': primaryLight,\n };\n }\n break;\n case 'star':\n if (themeStyle === 'star') {\n theme.hdr = {\n 'bg-color': neutralPurewhite,\n 'over-bg-color': primaryBase,\n };\n theme['hdr-aux'] = {\n 'bg-color': secondaryLighter,\n 'container-bg-color': secondaryLight,\n 'drop-bg-color': neutralPurewhite,\n color: neutralPurewhite,\n hover: accentLight,\n active: accentBase,\n 'color-alt': neutralBlack,\n 'hover-alt': primaryBase,\n 'active-alt': neutralDarker,\n };\n theme['hdr-act'] = {\n 'bg-color': secondaryLighter,\n 'items-bg-color': secondaryDark,\n 'items-color': neutralPurewhite,\n 'items-hover': secondaryLight,\n 'items-active': primaryBase,\n };\n theme['hdr-main'] = {\n 'bg-color': primaryBase,\n color: neutralBlack,\n hover: primaryLighter,\n 'bg-hover': primaryDark,\n active: primaryLight,\n 'dd-bg-color': primaryDark,\n 'dd-color': neutralPurewhite,\n 'dd-icon-color': primaryLight,\n 'dd-alt-color': primaryLighter,\n 'dd-alt-hover': neutralPurewhite,\n 'dd-lv2-content-bg': primaryBase,\n 'dd-lv2-bg': primaryDark,\n 'dd-lv3-bg': primaryBase,\n 'dd-lv4-bg': primaryDark,\n 'dd-cta-bg': neutralPurewhite,\n 'dd-cta-color': primaryBase,\n };\n theme['hdr-side'] = {\n 'bg-color': secondaryDark,\n 'border-bottom': primaryBase,\n 'open-color': primaryDark,\n color: neutralPurewhite,\n hover: accentLighter,\n active: accentLight,\n 'alt-color': primaryLighter,\n 'alt-hover': neutralPurewhite,\n 'alt-active': primaryLight,\n };\n } else {\n theme.hdr = {\n 'bg-color': neutralPurewhite,\n 'over-bg-color': primaryDarker,\n };\n theme['hdr-aux'] = {\n 'bg-color': primaryDark,\n 'container-bg-color': primaryBase,\n 'drop-bg-color': neutralPurewhite,\n color: neutralPurewhite,\n hover: accentLight,\n active: accentBase,\n 'color-alt': neutralPurewhite,\n 'hover-alt': primaryLighter,\n 'active-alt': primaryLight,\n };\n theme['hdr-act'] = {\n 'bg-color': primaryBase,\n 'items-bg-color': primaryDark,\n 'items-color': primaryLight,\n 'items-hover': primaryLighter,\n 'items-active': primaryBase,\n };\n theme['hdr-main'] = {\n 'bg-color': neutralPurewhite,\n color: primaryBase,\n hover: primaryLighter,\n 'bg-hover': primaryDarker,\n active: primaryLight,\n 'dd-bg-color': primaryDarker,\n 'dd-color': neutralPurewhite,\n 'dd-icon-color': primaryLight,\n 'dd-alt-color': primaryLighter,\n 'dd-alt-hover': neutralPurewhite,\n 'dd-lv2-content-bg': primaryBase,\n 'dd-lv2-bg': primaryDarker,\n 'dd-lv3-bg': primaryBase,\n 'dd-lv4-bg': primaryDark,\n 'dd-cta-bg': neutralPurewhite,\n 'dd-cta-color': primaryBase,\n };\n theme['hdr-side'] = {\n 'bg-color': primaryDarker,\n 'border-bottom': primaryBase,\n 'open-color': primaryLight,\n color: neutralPurewhite,\n hover: accentLighter,\n active: accentLight,\n 'alt-color': primaryLighter,\n 'alt-hover': neutralPurewhite,\n 'alt-active': primaryLight,\n };\n }\n break;\n\n default:\n break;\n }\n\n return theme;\n};\n","import { CommonModule, isPlatformServer } from '@angular/common';\nimport {\n Component,\n effect,\n PLATFORM_ID,\n ViewEncapsulation,\n ElementRef,\n AfterViewInit,\n DOCUMENT,\n input,\n TemplateRef,\n signal,\n HostListener,\n output,\n inject,\n} from '@angular/core';\nimport { getHeaderTheme } from './helpers/headerTheme.func';\nimport { HeaderTheme } from './models/HeaderTheme.model';\nimport { HeaderService } from '@rededor/site-front-end-lib/components/header/services';\nimport { UntypedFormControl } from '@angular/forms';\nimport { HeaderLogoComponent } from './components/header-logo/header-logo.component';\nimport { HeaderActionMenuComponent } from '@rededor/site-front-end-lib/components/header/components/action';\nimport { MenuItem } from '@rededor/site-front-end-lib/core';\nimport { CuraApiService } from '@rededor/site-front-end-lib/cura/api';\nimport { OverlayComponent } from '@rededor/site-front-end-lib/components/overlay';\nimport { SearchComponent } from '@rededor/site-front-end-lib/components/search';\nimport { HeaderMainMenuItemComponent } from '@rededor/site-front-end-lib/components/header/components/main';\nimport { HeaderSideMenuComponent } from '@rededor/site-front-end-lib/components/header/components/side';\nimport { HeaderAuxMenuItemComponent } from '@rededor/site-front-end-lib/components/header/components/auxiliar';\n\n@Component({\n // eslint-disable-next-line @angular-eslint/component-selector\n selector: 'header[sl-hdr]',\n imports: [\n CommonModule,\n OverlayComponent,\n SearchComponent,\n HeaderLogoComponent,\n HeaderActionMenuComponent,\n HeaderMainMenuItemComponent,\n HeaderSideMenuComponent,\n HeaderAuxMenuItemComponent,\n ],\n encapsulation: ViewEncapsulation.None,\n templateUrl: './header.component.html',\n styleUrl: './header.component.scss',\n host: {\n '[style.--font-family]': 'this.curaApiService.theme.fonts.getFamily()',\n },\n})\nexport class HeaderComponent implements AfterViewInit {\n public curaApiService = inject(CuraApiService);\n private elementRef = inject(ElementRef);\n private document = inject(DOCUMENT);\n private platformId = inject(PLATFORM_ID);\n headerService = inject(HeaderService);\n\n project = input<string>('site');\n theme = input<string>('default');\n loginUrl = input<string>('');\n homeUrl = input<string>('');\n showSearch = input<boolean>(true);\n logo = input<{ src: string; alt: string; title: string; href: string }>({ src: '', alt: '', title: '', href: '' });\n searchControl = input<UntypedFormControl | null>(null);\n\n mainMenu = input<MenuItem[]>([]);\n auxMenuGroups = input<MenuItem[][]>([]);\n auxMenuGeoloc = input<TemplateRef<any> | null>(null);\n sideMenuGroups = input<MenuItem[][]>([]);\n sideMenuGeoloc = input<TemplateRef<any> | null>(null);\n\n headerAuxMenuItemClick = output<Event>();\n headerAuxMenuItemDDClick = output<Event>();\n headerMainMenuCtaDDClick = output<{ event: Event; item: MenuItem }>();\n searchChange = output<string>();\n\n isDesktop = signal(false);\n scrollTop = 0;\n\n @HostListener('window:resize', ['$event'])\n checkWindowWidth(event: any) {\n this.isDesktop.set((event?.target?.innerWidth ?? 0) >= 1260);\n }\n\n constructor() {\n effect(() => {\n if (isPlatformServer(this.platformId) || !this.document.defaultView) return;\n if (this.headerService.showSearch() || this.headerService.showSideMenu()) {\n this.scrollTop = this.document.documentElement.scrollTop ?? 0;\n this.document.defaultView.onscroll = () => {\n this.document.documentElement.scrollTo({ top: this.scrollTop, behavior: 'auto' });\n };\n } else {\n this.document.defaultView.onscroll = null;\n this.scrollTop = 0;\n }\n });\n\n effect(() => {\n this.updateHeaderTheme();\n });\n }\n\n ngAfterViewInit() {\n this.updateHeaderTheme();\n }\n\n private updateHeaderTheme() {\n const headerTheme: HeaderTheme = getHeaderTheme(this.project(), this.theme(), this.curaApiService);\n Object.entries(headerTheme).forEach(([key, value]) => {\n Object.entries(value).forEach(([prop, val]) => {\n const cssVar = `--${key}-${prop}`;\n this.elementRef.nativeElement.style.setProperty(cssVar, val as string);\n });\n });\n }\n\n overlayClick() {\n this.headerService.toggleShowSearch(false);\n }\n\n doSearch(event: any) {\n this.searchChange.emit(event);\n this.headerService.toggleShowSearch(false);\n }\n}\n","<div class=\"sl-hdr-content\" [ngClass]=\"{ 'show-search': headerService.showSearch() }\">\n @defer (hydrate on hover) {\n <div sl-hdr-logo [href]=\"logo().href\" [title]=\"logo().title\" [alt]=\"logo().alt\" [src]=\"logo().src\" (click)=\"overlayClick()\"></div>\n }\n\n <nav class=\"sl-hdr-aux\" (click)=\"overlayClick()\">\n <div class=\"sl-hdr-aux-wrapper\">\n @defer (hydrate on hover) {\n @for (auxMenuGroup of auxMenuGroups(); track $index; let firstGroup = $first; let lastGroup = $last) {\n @if (firstGroup) {\n <ul class=\"sl-hdr-aux-container\">\n @for (auxMenuItem of auxMenuGroup; track auxMenuItem.title) {\n <li\n sl-hdr-aux-item\n [item]=\"auxMenuItem\"\n (headerAuxMenuItemClick)=\"headerAuxMenuItemClick.emit($event)\"\n (headerAuxMenuItemDDClick)=\"headerAuxMenuItemDDClick.emit($event)\"\n ></li>\n }\n </ul>\n } @else if (isDesktop()) {\n <ul class=\"sl-hdr-aux-container\">\n @for (auxMenuItem of auxMenuGroup; track auxMenuItem.title) {\n <li\n sl-hdr-aux-item\n [item]=\"auxMenuItem\"\n [altStyle]=\"true\"\n (headerAuxMenuItemClick)=\"headerAuxMenuItemClick.emit($event)\"\n (headerAuxMenuItemDDClick)=\"headerAuxMenuItemDDClick.emit($event)\"\n ></li>\n }\n </ul>\n }\n }\n }\n\n @if (auxMenuGeoloc()) {\n <ul class=\"sl-hdr-aux-container\">\n <ng-container *ngTemplateOutlet=\"auxMenuGeoloc()\"></ng-container>\n </ul>\n }\n </div>\n </nav>\n\n @defer (hydrate on hover) {\n <div sl-hdr-act [loginUrl]=\"loginUrl()\" [showSearch]=\"showSearch()\" [homeUrl]=\"homeUrl()\"></div>\n }\n\n <nav class=\"sl-hdr-main\">\n <ul class=\"sl-hdr-main-list\">\n @for (mainItem of mainMenu(); track mainItem.title) {\n @defer (hydrate on hover) {\n <li sl-hdr-main-item [item]=\"mainItem\" (headerMainMenuCtaDDClick)=\"headerMainMenuCtaDDClick.emit({ event: $event, item: mainItem })\"></li>\n }\n }\n </ul>\n </nav>\n\n @defer (hydrate when headerService.showSideMenu()) {\n <div sl-hdr-side [sideMenuGroups]=\"sideMenuGroups()\" [sideMenuGeoloc]=\"sideMenuGeoloc()\"></div>\n }\n\n @if (searchControl()) {\n @defer (hydrate when headerService.showSearch()) {\n <rdsite-search\n class=\"sl-hdr-search\"\n [searchControl]=\"searchControl()!\"\n [label]=\"'O que você procura?'\"\n [debounceTime]=\"1500\"\n [setFocus]=\"true\"\n (enterPress)=\"doSearch($event)\"\n >\n </rdsite-search>\n }\n }\n</div>\n\n@defer (hydrate when headerService.showSearch()) {\n <rdsite-overlay\n class=\"search-overlay\"\n [ngClass]=\"{ active: headerService.showSearch(), opacity: headerService.showSearchOpacity() }\"\n (overlayClick)=\"overlayClick()\"\n ></rdsite-overlay>\n}\n","import { ChangeDetectionStrategy, Component, input, output, ViewEncapsulation } from '@angular/core';\nimport { RdsiteLinkDirective } from '@rededor/site-front-end-lib/core';\n\n@Component({\n // eslint-disable-next-line @angular-eslint/component-selector\n selector: 'div[sl-hdr-logo]',\n imports: [RdsiteLinkDirective],\n encapsulation: ViewEncapsulation.None,\n changeDetection: ChangeDetectionStrategy.OnPush,\n templateUrl: './header-logo.component.html',\n styleUrl: './header-logo.component.scss',\n})\nexport class HeaderLogoComponent {\n href = input<string>('');\n title = input<string>('');\n alt = input<string>('');\n src = input<string>('');\n headerLogoClick = output<Event>();\n\n headerLogoClicked(event: Event) {\n this.headerLogoClick.emit(event);\n }\n}\n","<a [href]=\"href()\" (click)=\"headerLogoClicked($event)\" rdsitelink>\n <img loading=\"eager\" fetchpriority=\"high\" [src]=\"src()\" [alt]=\"alt()\" [title]=\"title()\" />\n</a>\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './public-api';\n"],"names":[],"mappings":";;;;;;;;AAGO,MAAM,cAAc,GAAG,CAAC,OAAA,GAAkB,MAAM,EAAE,UAAA,GAAqB,SAAS,EAAE,cAA8B,KAAI;AACzH,IAAA,MAAM,KAAK,GAAgB;AACzB,QAAA,GAAG,EAAE,EAAE;AACP,QAAA,SAAS,EAAE,EAAE;AACb,QAAA,SAAS,EAAE,EAAE;AACb,QAAA,UAAU,EAAE,EAAE;AACd,QAAA,UAAU,EAAE,EAAE;KACf;IAED,MAAM,CAAC,cAAc,EAAE,YAAY,EAAE,WAAW,EAAE,WAAW,EAAE,aAAa,CAAC,GAAG;QAC9E,cAAc,CAAC,KAAK,CAAC,MAAM,CAAC,QAAQ,CAAC,iBAAiB,CAAC;QAC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