@rededor/site-front-end-lib 1.0.44 → 1.1.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/esm2022/lib/components/breadcrumbs/breadcrumbs.component.mjs +2 -2
- package/esm2022/lib/components/footer/footer.component.mjs +90 -22
- package/esm2022/lib/components/footer/helpers/footerTheme.func.mjs +35 -35
- package/esm2022/lib/components/footer/models/FooterTheme.model.mjs +1 -1
- package/esm2022/lib/components/header/components/header-action-menu/header-action-menu.component.mjs +12 -7
- package/esm2022/lib/components/header/components/header-aux-menu/header-aux-menu.component.mjs +4 -4
- package/esm2022/lib/components/header/components/header-aux-menu-container/header-aux-menu-container.component.mjs +4 -4
- package/esm2022/lib/components/header/components/header-aux-menu-item/header-aux-menu-item.component.mjs +12 -7
- package/esm2022/lib/components/header/components/header-aux-menu-item-dropdown/header-aux-menu-item-dropdown.component.mjs +4 -4
- package/esm2022/lib/components/header/components/header-logo/header-logo.component.mjs +4 -4
- package/esm2022/lib/components/header/components/header-main-menu/header-main-menu.component.mjs +4 -4
- package/esm2022/lib/components/header/components/header-main-menu-item/header-main-menu-item.component.mjs +17 -11
- package/esm2022/lib/components/header/components/header-main-menu-item-dropdown/header-main-menu-item-dropdown.component.mjs +43 -32
- package/esm2022/lib/components/header/components/header-side-menu/header-side-menu.component.mjs +12 -7
- package/esm2022/lib/components/header/components/header-side-menu-item/header-side-menu-item.component.mjs +13 -11
- package/esm2022/lib/components/header/header.component.mjs +32 -18
- package/esm2022/lib/components/header/helpers/headerTheme.func.mjs +98 -96
- package/esm2022/lib/components/header/models/HeaderTheme.model.mjs +1 -1
- package/esm2022/lib/components/index.mjs +1 -5
- package/esm2022/lib/components/search/search.component.mjs +3 -3
- package/fesm2022/rededor-site-front-end-lib.mjs +2080 -2096
- package/fesm2022/rededor-site-front-end-lib.mjs.map +1 -1
- package/lib/components/footer/footer.component.d.ts +32 -7
- package/lib/components/footer/models/FooterTheme.model.d.ts +4 -4
- package/lib/components/header/components/header-action-menu/header-action-menu.component.d.ts +4 -2
- package/lib/components/header/components/header-aux-menu/header-aux-menu.component.d.ts +1 -1
- package/lib/components/header/components/header-aux-menu-container/header-aux-menu-container.component.d.ts +1 -1
- package/lib/components/header/components/header-aux-menu-item/header-aux-menu-item.component.d.ts +4 -1
- package/lib/components/header/components/header-aux-menu-item-dropdown/header-aux-menu-item-dropdown.component.d.ts +1 -1
- package/lib/components/header/components/header-logo/header-logo.component.d.ts +1 -1
- package/lib/components/header/components/header-main-menu/header-main-menu.component.d.ts +1 -1
- package/lib/components/header/components/header-main-menu-item/header-main-menu-item.component.d.ts +7 -4
- package/lib/components/header/components/header-main-menu-item-dropdown/header-main-menu-item-dropdown.component.d.ts +10 -14
- package/lib/components/header/components/header-side-menu/header-side-menu.component.d.ts +4 -2
- package/lib/components/header/components/header-side-menu-item/header-side-menu-item.component.d.ts +4 -3
- package/lib/components/header/header.component.d.ts +15 -7
- package/lib/components/header/models/HeaderTheme.model.d.ts +5 -5
- package/lib/components/index.d.ts +0 -4
- package/package.json +1 -1
- package/esm2022/lib/components/footer/components/footer-disclaimer/footer-disclaimer.component.mjs +0 -33
- package/esm2022/lib/components/footer/components/footer-menu/footer-menu.component.mjs +0 -28
- package/esm2022/lib/components/footer/components/footer-menu-item/footer-menu-item.component.mjs +0 -39
- package/esm2022/lib/components/footer/components/footer-social-medias/footer-social-medias.component.mjs +0 -44
- package/lib/components/footer/components/footer-disclaimer/footer-disclaimer.component.d.ts +0 -15
- package/lib/components/footer/components/footer-menu/footer-menu.component.d.ts +0 -11
- package/lib/components/footer/components/footer-menu-item/footer-menu-item.component.d.ts +0 -15
- package/lib/components/footer/components/footer-social-medias/footer-social-medias.component.d.ts +0 -17
|
@@ -1,17 +1,42 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
1
|
+
import { EventEmitter, ElementRef, AfterViewInit } from '@angular/core';
|
|
2
|
+
import { CuraService, PrivacyToolsService } from '../../services';
|
|
3
|
+
import { MenuItem, MenuSocialMedia } from '../../models/menu-item.model';
|
|
4
|
+
import { LibConfig } from '../../tokens/LibConfig';
|
|
3
5
|
import * as i0 from "@angular/core";
|
|
4
|
-
export declare class FooterComponent {
|
|
6
|
+
export declare class FooterComponent implements AfterViewInit {
|
|
5
7
|
private curaService;
|
|
8
|
+
privacyTools: PrivacyToolsService;
|
|
9
|
+
private elementRef;
|
|
10
|
+
libConfig: LibConfig;
|
|
6
11
|
get project(): string;
|
|
7
12
|
set project(value: string);
|
|
8
13
|
private _project;
|
|
9
14
|
get theme(): string;
|
|
10
15
|
set theme(value: string);
|
|
11
16
|
private _theme;
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
17
|
+
disclaimer: string;
|
|
18
|
+
footerPrivacyClick: EventEmitter<Event>;
|
|
19
|
+
footerCookieClick: EventEmitter<Event>;
|
|
20
|
+
currentYear: number;
|
|
21
|
+
logo: any;
|
|
22
|
+
partnerLogo: any;
|
|
23
|
+
phone: string;
|
|
24
|
+
socialMenu: MenuSocialMedia[];
|
|
25
|
+
get logoWidth(): number;
|
|
26
|
+
set logoWidth(value: number);
|
|
27
|
+
private _logoWidth;
|
|
28
|
+
footerSocialMediaClick: EventEmitter<Event>;
|
|
29
|
+
footerMenu: MenuItem[];
|
|
30
|
+
footerMenuItemClick: EventEmitter<Event>;
|
|
31
|
+
constructor(curaService: CuraService, privacyTools: PrivacyToolsService, elementRef: ElementRef, libConfig: LibConfig);
|
|
32
|
+
ngAfterViewInit(): void;
|
|
33
|
+
private updateLogoWidth;
|
|
34
|
+
private updateFooterTheme;
|
|
35
|
+
footerSocialMediaClicked(event: Event): void;
|
|
36
|
+
toggleSubMenu(event: Event, menu: Partial<MenuItem>): void;
|
|
37
|
+
footerMenuItemClicked(event: Event): void;
|
|
38
|
+
footerPrivacyClicked(event: Event): void;
|
|
39
|
+
footerCookieClicked(event: Event): void;
|
|
15
40
|
static ɵfac: i0.ɵɵFactoryDeclaration<FooterComponent, never>;
|
|
16
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<FooterComponent, "
|
|
41
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<FooterComponent, "footer[sl-ftr]", never, { "project": { "alias": "project"; "required": false; }; "theme": { "alias": "theme"; "required": false; }; "disclaimer": { "alias": "disclaimer"; "required": false; }; "logo": { "alias": "logo"; "required": false; }; "partnerLogo": { "alias": "partnerLogo"; "required": false; }; "phone": { "alias": "phone"; "required": false; }; "socialMenu": { "alias": "socialMenu"; "required": false; }; "logoWidth": { "alias": "logoWidth"; "required": false; }; "footerMenu": { "alias": "footerMenu"; "required": false; }; }, { "footerPrivacyClick": "footerPrivacyClick"; "footerCookieClick": "footerCookieClick"; "footerSocialMediaClick": "footerSocialMediaClick"; "footerMenuItemClick": "footerMenuItemClick"; }, never, never, true, never>;
|
|
17
42
|
}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
export interface FooterTheme {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
menu: Record<string, any>;
|
|
5
|
-
social: Record<string, any>;
|
|
2
|
+
ftr: Record<string, any>;
|
|
3
|
+
'ftr-disc': Record<string, any>;
|
|
4
|
+
'ftr-menu': Record<string, any>;
|
|
5
|
+
'ftr-social': Record<string, any>;
|
|
6
6
|
}
|
|
7
7
|
export type FooterThemeKeys = keyof FooterTheme;
|
package/lib/components/header/components/header-action-menu/header-action-menu.component.d.ts
CHANGED
|
@@ -1,13 +1,15 @@
|
|
|
1
1
|
import { EventEmitter } from '@angular/core';
|
|
2
2
|
import { HeaderService } from '../../services/header.service';
|
|
3
|
+
import { LibConfig } from '../../../../tokens/LibConfig';
|
|
3
4
|
import * as i0 from "@angular/core";
|
|
4
5
|
export declare class HeaderActionMenuComponent {
|
|
5
6
|
headerService: HeaderService;
|
|
7
|
+
libConfig: LibConfig;
|
|
6
8
|
loginUrl: string;
|
|
7
9
|
showSearch: boolean;
|
|
8
10
|
headerLoginClick: EventEmitter<Event>;
|
|
9
|
-
constructor(headerService: HeaderService);
|
|
11
|
+
constructor(headerService: HeaderService, libConfig: LibConfig);
|
|
10
12
|
headerLoginClicked(event: Event): void;
|
|
11
13
|
static ɵfac: i0.ɵɵFactoryDeclaration<HeaderActionMenuComponent, never>;
|
|
12
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<HeaderActionMenuComponent, "
|
|
14
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<HeaderActionMenuComponent, "div[sl-hdr-act]", never, { "loginUrl": { "alias": "loginUrl"; "required": false; }; "showSearch": { "alias": "showSearch"; "required": false; }; }, { "headerLoginClick": "headerLoginClick"; }, never, never, true, never>;
|
|
13
15
|
}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import * as i0 from "@angular/core";
|
|
2
2
|
export declare class HeaderAuxMenuComponent {
|
|
3
3
|
static ɵfac: i0.ɵɵFactoryDeclaration<HeaderAuxMenuComponent, never>;
|
|
4
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<HeaderAuxMenuComponent, "
|
|
4
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<HeaderAuxMenuComponent, "div[sl-hdr-aux]", never, {}, {}, never, ["ul[sl-hdr-aux-container]"], true, never>;
|
|
5
5
|
}
|
|
@@ -2,5 +2,5 @@ import * as i0 from "@angular/core";
|
|
|
2
2
|
export declare class HeaderAuxMenuContainerComponent {
|
|
3
3
|
onlyDesktop: boolean;
|
|
4
4
|
static ɵfac: i0.ɵɵFactoryDeclaration<HeaderAuxMenuContainerComponent, never>;
|
|
5
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<HeaderAuxMenuContainerComponent, "
|
|
5
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<HeaderAuxMenuContainerComponent, "ul[sl-hdr-aux-container]", never, { "onlyDesktop": { "alias": "onlyDesktop"; "required": false; }; }, {}, never, ["li[sl-hdr-aux-item]", "li#geoloc"], true, never>;
|
|
6
6
|
}
|
package/lib/components/header/components/header-aux-menu-item/header-aux-menu-item.component.d.ts
CHANGED
|
@@ -1,7 +1,9 @@
|
|
|
1
1
|
import { EventEmitter } from '@angular/core';
|
|
2
2
|
import { MenuItem } from '../../../../models/menu-item.model';
|
|
3
|
+
import { LibConfig } from '../../../../tokens/LibConfig';
|
|
3
4
|
import * as i0 from "@angular/core";
|
|
4
5
|
export declare class HeaderAuxMenuItemComponent {
|
|
6
|
+
libConfig: LibConfig;
|
|
5
7
|
item: MenuItem | null;
|
|
6
8
|
altStyle: boolean;
|
|
7
9
|
onlyDesktop: boolean;
|
|
@@ -9,10 +11,11 @@ export declare class HeaderAuxMenuItemComponent {
|
|
|
9
11
|
headerAuxMenuItemDDClick: EventEmitter<Event>;
|
|
10
12
|
isMenuHover: boolean;
|
|
11
13
|
isDropdownHover: boolean;
|
|
14
|
+
constructor(libConfig: LibConfig);
|
|
12
15
|
headerAuxMenuItemClicked(event: Event): void;
|
|
13
16
|
headerAuxMenuItemDDClicked(event: Event): void;
|
|
14
17
|
btnHoverChange(value: boolean): void;
|
|
15
18
|
dropdownHoverChange(value: boolean): void;
|
|
16
19
|
static ɵfac: i0.ɵɵFactoryDeclaration<HeaderAuxMenuItemComponent, never>;
|
|
17
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<HeaderAuxMenuItemComponent, "
|
|
20
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<HeaderAuxMenuItemComponent, "li[sl-hdr-aux-item]", never, { "item": { "alias": "item"; "required": false; }; "altStyle": { "alias": "altStyle"; "required": false; }; "onlyDesktop": { "alias": "onlyDesktop"; "required": false; }; }, { "headerAuxMenuItemClick": "headerAuxMenuItemClick"; "headerAuxMenuItemDDClick": "headerAuxMenuItemDDClick"; }, never, never, true, never>;
|
|
18
21
|
}
|
|
@@ -6,5 +6,5 @@ export declare class HeaderAuxMenuItemDropdownComponent {
|
|
|
6
6
|
headerAuxMenuItemDDClick: EventEmitter<Event>;
|
|
7
7
|
headerAuxMenuItemDDClicked(event: Event): void;
|
|
8
8
|
static ɵfac: i0.ɵɵFactoryDeclaration<HeaderAuxMenuItemDropdownComponent, never>;
|
|
9
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<HeaderAuxMenuItemDropdownComponent, "
|
|
9
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<HeaderAuxMenuItemDropdownComponent, "div[sl-hdr-aux-item-dropdown]", never, { "items": { "alias": "items"; "required": false; }; }, { "headerAuxMenuItemDDClick": "headerAuxMenuItemDDClick"; }, never, never, true, never>;
|
|
10
10
|
}
|
|
@@ -8,5 +8,5 @@ export declare class HeaderLogoComponent {
|
|
|
8
8
|
headerLogoClick: EventEmitter<Event>;
|
|
9
9
|
headerLogoClicked(event: Event): void;
|
|
10
10
|
static ɵfac: i0.ɵɵFactoryDeclaration<HeaderLogoComponent, never>;
|
|
11
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<HeaderLogoComponent, "
|
|
11
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<HeaderLogoComponent, "div[sl-hdr-logo]", never, { "href": { "alias": "href"; "required": false; }; "title": { "alias": "title"; "required": false; }; "alt": { "alias": "alt"; "required": false; }; "src": { "alias": "src"; "required": false; }; }, { "headerLogoClick": "headerLogoClick"; }, never, never, true, never>;
|
|
12
12
|
}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import * as i0 from "@angular/core";
|
|
2
2
|
export declare class HeaderMainMenuComponent {
|
|
3
3
|
static ɵfac: i0.ɵɵFactoryDeclaration<HeaderMainMenuComponent, never>;
|
|
4
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<HeaderMainMenuComponent, "
|
|
4
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<HeaderMainMenuComponent, "ul[sl-hdr-main]", never, {}, {}, never, ["li[sl-hdr-main-item]"], true, never>;
|
|
5
5
|
}
|
package/lib/components/header/components/header-main-menu-item/header-main-menu-item.component.d.ts
CHANGED
|
@@ -1,9 +1,11 @@
|
|
|
1
1
|
import { EventEmitter, OnDestroy } from '@angular/core';
|
|
2
2
|
import { HeaderMainMenuItemDropdownComponent } from '../header-main-menu-item-dropdown/header-main-menu-item-dropdown.component';
|
|
3
3
|
import { MenuItem } from '../../../../models/menu-item.model';
|
|
4
|
-
import {
|
|
4
|
+
import { Subject, Subscription } from 'rxjs';
|
|
5
|
+
import { LibConfig } from '../../../../tokens/LibConfig';
|
|
5
6
|
import * as i0 from "@angular/core";
|
|
6
7
|
export declare class HeaderMainMenuItemComponent implements OnDestroy {
|
|
8
|
+
libConfig: LibConfig;
|
|
7
9
|
item: MenuItem | null;
|
|
8
10
|
headerMainMenuItemClick: EventEmitter<Event>;
|
|
9
11
|
headerMainMenuItemDDClick: EventEmitter<Event>;
|
|
@@ -12,8 +14,9 @@ export declare class HeaderMainMenuItemComponent implements OnDestroy {
|
|
|
12
14
|
isMenuHover: boolean;
|
|
13
15
|
isDropdownHover: boolean;
|
|
14
16
|
dropdownComponent: HeaderMainMenuItemDropdownComponent | null;
|
|
15
|
-
dropdownOpen$:
|
|
16
|
-
|
|
17
|
+
dropdownOpen$: Subject<boolean>;
|
|
18
|
+
dropdownSubscription: Subscription | null;
|
|
19
|
+
constructor(libConfig: LibConfig);
|
|
17
20
|
headerMainMenuItemClicked(event: Event): void;
|
|
18
21
|
headerMainMenuItemDDClicked(event: Event): void;
|
|
19
22
|
headerMainMenuHighlightDDClicked(event: Event): void;
|
|
@@ -22,5 +25,5 @@ export declare class HeaderMainMenuItemComponent implements OnDestroy {
|
|
|
22
25
|
dropdownHoverChange(value: boolean): void;
|
|
23
26
|
ngOnDestroy(): void;
|
|
24
27
|
static ɵfac: i0.ɵɵFactoryDeclaration<HeaderMainMenuItemComponent, never>;
|
|
25
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<HeaderMainMenuItemComponent, "
|
|
28
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<HeaderMainMenuItemComponent, "li[sl-hdr-main-item]", never, { "item": { "alias": "item"; "required": false; }; }, { "headerMainMenuItemClick": "headerMainMenuItemClick"; "headerMainMenuItemDDClick": "headerMainMenuItemDDClick"; "headerMainMenuHighlightDDClick": "headerMainMenuHighlightDDClick"; "headerMainMenuCtaDDClick": "headerMainMenuCtaDDClick"; }, never, never, true, never>;
|
|
26
29
|
}
|
|
@@ -1,8 +1,10 @@
|
|
|
1
|
-
import { EventEmitter } from '@angular/core';
|
|
1
|
+
import { EventEmitter, OnDestroy } from '@angular/core';
|
|
2
2
|
import { MenuItem } from '../../../../models/menu-item.model';
|
|
3
|
-
import {
|
|
3
|
+
import { Subject, Subscription } from 'rxjs';
|
|
4
|
+
import { LibConfig } from '../../../../tokens/LibConfig';
|
|
4
5
|
import * as i0 from "@angular/core";
|
|
5
|
-
export declare class HeaderMainMenuItemDropdownComponent {
|
|
6
|
+
export declare class HeaderMainMenuItemDropdownComponent implements OnDestroy {
|
|
7
|
+
libConfig: LibConfig;
|
|
6
8
|
item: MenuItem | null;
|
|
7
9
|
headerMainMenuItemDDClick: EventEmitter<Event>;
|
|
8
10
|
headerMainMenuHighlightDDClick: EventEmitter<Event>;
|
|
@@ -10,27 +12,21 @@ export declare class HeaderMainMenuItemDropdownComponent {
|
|
|
10
12
|
opened: import("@angular/core").WritableSignal<boolean>;
|
|
11
13
|
selectedLv2Item: MenuItem | null;
|
|
12
14
|
selectedLv3Item: MenuItem | null;
|
|
13
|
-
lv2Item$:
|
|
14
|
-
item: MenuItem | null;
|
|
15
|
-
list: MenuItem[];
|
|
16
|
-
}>;
|
|
17
|
-
lv3Item$: BehaviorSubject<{
|
|
15
|
+
lv2Item$: Subject<{
|
|
18
16
|
item: MenuItem | null;
|
|
19
17
|
list: MenuItem[];
|
|
20
18
|
}>;
|
|
19
|
+
lv2ItemSubscription: Subscription | null;
|
|
21
20
|
isLv2ItemHover: boolean;
|
|
22
21
|
isLv3ContainerHover: boolean;
|
|
23
|
-
|
|
24
|
-
isLv4ContainerHover: boolean;
|
|
25
|
-
constructor();
|
|
22
|
+
constructor(libConfig: LibConfig);
|
|
26
23
|
lv2ItemHoverChange(value: boolean, lv2Item: MenuItem, lv2List?: MenuItem[]): void;
|
|
27
24
|
lv3ContainerHoverChange(value: boolean, lv2List?: MenuItem[]): void;
|
|
28
|
-
lv3ItemHoverChange(value: boolean, lv3Item: MenuItem, lv3List?: MenuItem[]): void;
|
|
29
|
-
lv4ContainerHoverChange(value: boolean, lv3List?: MenuItem[]): void;
|
|
30
25
|
closeDropdown(): void;
|
|
31
26
|
headerMainMenuItemDDClicked(event: Event): void;
|
|
32
27
|
headerMainMenuHighlightDDClicked(event: Event): void;
|
|
33
28
|
headerMainMenuCtaDDClicked(event: Event): void;
|
|
29
|
+
ngOnDestroy(): void;
|
|
34
30
|
static ɵfac: i0.ɵɵFactoryDeclaration<HeaderMainMenuItemDropdownComponent, never>;
|
|
35
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<HeaderMainMenuItemDropdownComponent, "
|
|
31
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<HeaderMainMenuItemDropdownComponent, "div[sl-hdr-main-item-dropdown]", never, { "item": { "alias": "item"; "required": false; }; }, { "headerMainMenuItemDDClick": "headerMainMenuItemDDClick"; "headerMainMenuHighlightDDClick": "headerMainMenuHighlightDDClick"; "headerMainMenuCtaDDClick": "headerMainMenuCtaDDClick"; }, never, never, true, never>;
|
|
36
32
|
}
|
|
@@ -1,9 +1,11 @@
|
|
|
1
1
|
import { HeaderService } from '../../services/header.service';
|
|
2
|
+
import { LibConfig } from '../../../../tokens/LibConfig';
|
|
2
3
|
import * as i0 from "@angular/core";
|
|
3
4
|
export declare class HeaderSideMenuComponent {
|
|
4
5
|
headerService: HeaderService;
|
|
5
|
-
|
|
6
|
+
libConfig: LibConfig;
|
|
7
|
+
constructor(headerService: HeaderService, libConfig: LibConfig);
|
|
6
8
|
overlayClick(): void;
|
|
7
9
|
static ɵfac: i0.ɵɵFactoryDeclaration<HeaderSideMenuComponent, never>;
|
|
8
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<HeaderSideMenuComponent, "
|
|
10
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<HeaderSideMenuComponent, "div[sl-hdr-side]", never, {}, {}, never, ["li[sl-hdr-side-item]"], true, never>;
|
|
9
11
|
}
|
package/lib/components/header/components/header-side-menu-item/header-side-menu-item.component.d.ts
CHANGED
|
@@ -1,21 +1,22 @@
|
|
|
1
1
|
import { EventEmitter } from '@angular/core';
|
|
2
2
|
import { MenuItem } from '../../../../models/menu-item.model';
|
|
3
3
|
import { HeaderService } from '../../services/header.service';
|
|
4
|
+
import { LibConfig } from '../../../../tokens/LibConfig';
|
|
4
5
|
import * as i0 from "@angular/core";
|
|
5
6
|
export declare class HeaderSideMenuItemComponent {
|
|
6
7
|
headerService: HeaderService;
|
|
8
|
+
libConfig: LibConfig;
|
|
7
9
|
item: MenuItem | null;
|
|
8
10
|
altStyle: boolean;
|
|
9
|
-
level: number;
|
|
10
11
|
fontSize: number;
|
|
11
12
|
headerSideMenuItemClick: EventEmitter<Event>;
|
|
12
13
|
get style(): {
|
|
13
14
|
'--side-menu-item-font-size': string;
|
|
14
15
|
};
|
|
15
|
-
constructor(headerService: HeaderService);
|
|
16
|
+
constructor(headerService: HeaderService, libConfig: LibConfig);
|
|
16
17
|
overlayClick(): void;
|
|
17
18
|
toggleList(event: Event, sideMenuItem: MenuItem, canCloseSideMenu: boolean): void;
|
|
18
19
|
headerSideMenuItemClicked(event: Event): void;
|
|
19
20
|
static ɵfac: i0.ɵɵFactoryDeclaration<HeaderSideMenuItemComponent, never>;
|
|
20
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<HeaderSideMenuItemComponent, "
|
|
21
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<HeaderSideMenuItemComponent, "li[sl-hdr-side-item]", never, { "item": { "alias": "item"; "required": false; }; "altStyle": { "alias": "altStyle"; "required": false; }; "fontSize": { "alias": "fontSize"; "required": false; }; }, { "headerSideMenuItemClick": "headerSideMenuItemClick"; }, never, never, true, never>;
|
|
21
22
|
}
|
|
@@ -1,12 +1,12 @@
|
|
|
1
|
-
import { EventEmitter } from '@angular/core';
|
|
1
|
+
import { EventEmitter, ElementRef, AfterViewInit } from '@angular/core';
|
|
2
2
|
import { CuraService } from '../../services';
|
|
3
|
-
import { HeaderTheme, HeaderThemeKeys } from './models/HeaderTheme.model';
|
|
4
3
|
import { HeaderService } from './services/header.service';
|
|
5
4
|
import { UntypedFormControl } from '@angular/forms';
|
|
6
5
|
import * as i0 from "@angular/core";
|
|
7
|
-
export declare class HeaderComponent {
|
|
6
|
+
export declare class HeaderComponent implements AfterViewInit {
|
|
8
7
|
private curaService;
|
|
9
8
|
headerService: HeaderService;
|
|
9
|
+
private elementRef;
|
|
10
10
|
private document;
|
|
11
11
|
get project(): string;
|
|
12
12
|
set project(value: string);
|
|
@@ -14,14 +14,22 @@ export declare class HeaderComponent {
|
|
|
14
14
|
get theme(): string;
|
|
15
15
|
set theme(value: string);
|
|
16
16
|
private _theme;
|
|
17
|
-
|
|
17
|
+
loginUrl: string;
|
|
18
|
+
showSearch: boolean;
|
|
19
|
+
logo: {
|
|
20
|
+
src: string;
|
|
21
|
+
alt: string;
|
|
22
|
+
title: string;
|
|
23
|
+
href: string;
|
|
24
|
+
};
|
|
18
25
|
scrollTop: number;
|
|
19
26
|
searchControl: UntypedFormControl | null;
|
|
20
27
|
searchChange: EventEmitter<string>;
|
|
21
|
-
constructor(curaService: CuraService, headerService: HeaderService, document: Document, platformId: object);
|
|
22
|
-
|
|
28
|
+
constructor(curaService: CuraService, headerService: HeaderService, elementRef: ElementRef, document: Document, platformId: object);
|
|
29
|
+
ngAfterViewInit(): void;
|
|
30
|
+
private updateHeaderTheme;
|
|
23
31
|
overlayClick(): void;
|
|
24
32
|
doSearch(event: any): void;
|
|
25
33
|
static ɵfac: i0.ɵɵFactoryDeclaration<HeaderComponent, never>;
|
|
26
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<HeaderComponent, "
|
|
34
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<HeaderComponent, "header[sl-hdr]", never, { "project": { "alias": "project"; "required": false; }; "theme": { "alias": "theme"; "required": false; }; "loginUrl": { "alias": "loginUrl"; "required": false; }; "showSearch": { "alias": "showSearch"; "required": false; }; "logo": { "alias": "logo"; "required": false; }; "searchControl": { "alias": "searchControl"; "required": false; }; }, { "searchChange": "searchChange"; }, never, ["div[sl-hdr-aux]", "ul[sl-hdr-main]", "div[sl-hdr-side]"], true, never>;
|
|
27
35
|
}
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
export interface HeaderTheme {
|
|
2
|
-
|
|
3
|
-
aux: Record<string, any>;
|
|
4
|
-
|
|
5
|
-
main: Record<string, any>;
|
|
6
|
-
side: Record<string, any>;
|
|
2
|
+
hdr: Record<string, any>;
|
|
3
|
+
'hdr-aux': Record<string, any>;
|
|
4
|
+
'hdr-act': Record<string, any>;
|
|
5
|
+
'hdr-main': Record<string, any>;
|
|
6
|
+
'hdr-side': Record<string, any>;
|
|
7
7
|
}
|
|
8
8
|
export type HeaderThemeKeys = keyof HeaderTheme;
|
|
@@ -1,8 +1,4 @@
|
|
|
1
1
|
export * from './footer/footer.component';
|
|
2
|
-
export * from './footer/components/footer-disclaimer/footer-disclaimer.component';
|
|
3
|
-
export * from './footer/components/footer-menu/footer-menu.component';
|
|
4
|
-
export * from './footer/components/footer-menu-item/footer-menu-item.component';
|
|
5
|
-
export * from './footer/components/footer-social-medias/footer-social-medias.component';
|
|
6
2
|
export * from './header/header.component';
|
|
7
3
|
export * from './header/components/header-action-menu/header-action-menu.component';
|
|
8
4
|
export * from './header/components/header-aux-menu/header-aux-menu.component';
|
package/package.json
CHANGED
package/esm2022/lib/components/footer/components/footer-disclaimer/footer-disclaimer.component.mjs
DELETED
|
@@ -1,33 +0,0 @@
|
|
|
1
|
-
import { Component, EventEmitter, Input, Output } from '@angular/core';
|
|
2
|
-
import * as i0 from "@angular/core";
|
|
3
|
-
import * as i1 from "../../../../services";
|
|
4
|
-
export class FooterDisclaimerComponent {
|
|
5
|
-
constructor(privacyTools) {
|
|
6
|
-
this.privacyTools = privacyTools;
|
|
7
|
-
this.currentYear = new Date().getFullYear();
|
|
8
|
-
this.disclaimerText = '';
|
|
9
|
-
this.footerPrivacyClick = new EventEmitter();
|
|
10
|
-
this.footerCookieClick = new EventEmitter();
|
|
11
|
-
}
|
|
12
|
-
footerPrivacyClicked(event) {
|
|
13
|
-
this.footerPrivacyClick.emit(event);
|
|
14
|
-
}
|
|
15
|
-
footerCookieClicked(event) {
|
|
16
|
-
this.footerCookieClick.emit(event);
|
|
17
|
-
}
|
|
18
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: FooterDisclaimerComponent, deps: [{ token: i1.PrivacyToolsService }], target: i0.ɵɵFactoryTarget.Component }); }
|
|
19
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "17.3.12", type: FooterDisclaimerComponent, isStandalone: true, selector: "rdsite-footer-disclaimer", inputs: { currentYear: "currentYear", disclaimerText: "disclaimerText" }, outputs: { footerPrivacyClick: "footerPrivacyClick", footerCookieClick: "footerCookieClick" }, ngImport: i0, template: "<div class=\"rdsite-footer-disclaimer\">\n <div class=\"rdsite-footer-disclaimer-copy\">\u00A9{{ currentYear }} {{ disclaimerText }}</div>\n <ul class=\"rdsite-footer-disclaimer-links\">\n <li>\n <a\n href=\"https://dpo.privacytools.com.br/policy-view/DPO8r0aQk/1/aviso-de-privacidade/pt_BR\"\n target=\"_blank\"\n data-testid=\"_avisoPrivacidade\"\n (click)=\"footerPrivacyClicked($event)\"\n >\n Aviso de Privacidade\n </a>\n </li>\n <li>\n <a (click)=\"privacyTools.openCookieBanner(); footerCookieClicked($event)\" data-testid=\"_avisoCookies\"> Aviso de Cookies </a>\n </li>\n </ul>\n</div>\n", styles: [".rdsite-footer-disclaimer{height:auto;padding:12px 0;display:flex;align-items:flex-start;justify-content:flex-start;gap:8px;flex-direction:column}.rdsite-footer-disclaimer-copy{font-size:12px;font-style:normal;font-weight:500;text-transform:uppercase;color:var(--footer-disc-color)}.rdsite-footer-disclaimer-links{list-style:none;display:flex;flex-direction:row;align-items:flex-start;flex-wrap:wrap;gap:0px 36px}.rdsite-footer-disclaimer-links li a{font-size:12px;font-style:normal;font-weight:500;color:var(--footer-disc-alt-color);text-decoration:none;cursor:pointer}@media only screen and (min-width: 1024px){.rdsite-footer-disclaimer{height:40px;padding:0;align-items:center;flex-direction:row;gap:36px}.rdsite-footer-disclaimer-links{gap:36px}}\n"] }); }
|
|
20
|
-
}
|
|
21
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: FooterDisclaimerComponent, decorators: [{
|
|
22
|
-
type: Component,
|
|
23
|
-
args: [{ selector: 'rdsite-footer-disclaimer', standalone: true, imports: [], template: "<div class=\"rdsite-footer-disclaimer\">\n <div class=\"rdsite-footer-disclaimer-copy\">\u00A9{{ currentYear }} {{ disclaimerText }}</div>\n <ul class=\"rdsite-footer-disclaimer-links\">\n <li>\n <a\n href=\"https://dpo.privacytools.com.br/policy-view/DPO8r0aQk/1/aviso-de-privacidade/pt_BR\"\n target=\"_blank\"\n data-testid=\"_avisoPrivacidade\"\n (click)=\"footerPrivacyClicked($event)\"\n >\n Aviso de Privacidade\n </a>\n </li>\n <li>\n <a (click)=\"privacyTools.openCookieBanner(); footerCookieClicked($event)\" data-testid=\"_avisoCookies\"> Aviso de Cookies </a>\n </li>\n </ul>\n</div>\n", styles: [".rdsite-footer-disclaimer{height:auto;padding:12px 0;display:flex;align-items:flex-start;justify-content:flex-start;gap:8px;flex-direction:column}.rdsite-footer-disclaimer-copy{font-size:12px;font-style:normal;font-weight:500;text-transform:uppercase;color:var(--footer-disc-color)}.rdsite-footer-disclaimer-links{list-style:none;display:flex;flex-direction:row;align-items:flex-start;flex-wrap:wrap;gap:0px 36px}.rdsite-footer-disclaimer-links li a{font-size:12px;font-style:normal;font-weight:500;color:var(--footer-disc-alt-color);text-decoration:none;cursor:pointer}@media only screen and (min-width: 1024px){.rdsite-footer-disclaimer{height:40px;padding:0;align-items:center;flex-direction:row;gap:36px}.rdsite-footer-disclaimer-links{gap:36px}}\n"] }]
|
|
24
|
-
}], ctorParameters: () => [{ type: i1.PrivacyToolsService }], propDecorators: { currentYear: [{
|
|
25
|
-
type: Input
|
|
26
|
-
}], disclaimerText: [{
|
|
27
|
-
type: Input
|
|
28
|
-
}], footerPrivacyClick: [{
|
|
29
|
-
type: Output
|
|
30
|
-
}], footerCookieClick: [{
|
|
31
|
-
type: Output
|
|
32
|
-
}] } });
|
|
33
|
-
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiZm9vdGVyLWRpc2NsYWltZXIuY29tcG9uZW50LmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vLi4vLi4vLi4vLi4vcHJvamVjdHMvc2l0ZS1mcm9udC1lbmQtbGliL3NyYy9saWIvY29tcG9uZW50cy9mb290ZXIvY29tcG9uZW50cy9mb290ZXItZGlzY2xhaW1lci9mb290ZXItZGlzY2xhaW1lci5jb21wb25lbnQudHMiLCIuLi8uLi8uLi8uLi8uLi8uLi8uLi8uLi9wcm9qZWN0cy9zaXRlLWZyb250LWVuZC1saWIvc3JjL2xpYi9jb21wb25lbnRzL2Zvb3Rlci9jb21wb25lbnRzL2Zvb3Rlci1kaXNjbGFpbWVyL2Zvb3Rlci1kaXNjbGFpbWVyLmNvbXBvbmVudC5odG1sIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBLE9BQU8sRUFBRSxTQUFTLEVBQUUsWUFBWSxFQUFFLEtBQUssRUFBRSxNQUFNLEVBQUUsTUFBTSxlQUFlLENBQUM7OztBQVV2RSxNQUFNLE9BQU8seUJBQXlCO0lBTXBDLFlBQW1CLFlBQWlDO1FBQWpDLGlCQUFZLEdBQVosWUFBWSxDQUFxQjtRQUwzQyxnQkFBVyxHQUFXLElBQU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biAgICAgICAgaHJlZj1cImh0dHBzOi8vZHBvLnByaXZhY3l0b29scy5jb20uYnIvcG9saWN5LXZpZXcvRFBPOHIwYVFrLzEvYXZpc28tZGUtcHJpdmFjaWRhZGUvcHRfQlJcIlxuICAgICAgICB0YXJnZXQ9XCJfYmxhbmtcIlxuICAgICAgICBkYXRhLXRlc3RpZD1cIl9hdmlzb1ByaXZhY2lkYWRlXCJcbiAgICAgICAgKGNsaWNrKT1cImZvb3RlclByaXZhY3lDbGlja2VkKCRldmVudClcIlxuICAgICAgPlxuICAgICAgICBBdmlzbyBkZSBQcml2YWNpZGFkZVxuICAgICAgPC9hPlxuICAgIDwvbGk+XG4gICAgPGxpPlxuICAgICAgPGEgKGNsaWNrKT1cInByaXZhY3lUb29scy5vcGVuQ29va2llQmFubmVyKCk7IGZvb3RlckNvb2tpZUNsaWNrZWQoJGV2ZW50KVwiIGRhdGEtdGVzdGlkPVwiX2F2aXNvQ29va2llc1wiPiBBdmlzbyBkZSBDb29raWVzIDwvYT5cbiAgICA8L2xpPlxuICA8L3VsPlxuPC9kaXY+XG4iXX0=
|
|
@@ -1,28 +0,0 @@
|
|
|
1
|
-
import { Component, CUSTOM_ELEMENTS_SCHEMA, EventEmitter, Input, Output } from '@angular/core';
|
|
2
|
-
import { RdsiteLinkDirective } from '../../../../directives';
|
|
3
|
-
import { CommonModule } from '@angular/common';
|
|
4
|
-
import { FooterMenuItemComponent } from '../footer-menu-item/footer-menu-item.component';
|
|
5
|
-
import * as i0 from "@angular/core";
|
|
6
|
-
export class FooterMenuComponent {
|
|
7
|
-
constructor() {
|
|
8
|
-
this.footerMenu = [];
|
|
9
|
-
this.partnerships = null;
|
|
10
|
-
this.footerMenuItemClick = new EventEmitter();
|
|
11
|
-
}
|
|
12
|
-
footerMenuItemClicked(event) {
|
|
13
|
-
this.footerMenuItemClick.emit(event);
|
|
14
|
-
}
|
|
15
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: FooterMenuComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
|
16
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "17.3.12", type: FooterMenuComponent, isStandalone: true, selector: "rdsite-footer-menu", inputs: { footerMenu: "footerMenu", partnerships: "partnerships" }, outputs: { footerMenuItemClick: "footerMenuItemClick" }, ngImport: i0, template: "@if (footerMenu.length) {\n <div class=\"rdsite-footer-menu\">\n <nav>\n <ul class=\"rdsite-footer-menu-list\">\n @for (menu of footerMenu; track menu.title) {\n <li class=\"rdsite-footer-menu-list-item\">\n <rdsite-footer-menu-item\n [url]=\"menu.url\"\n [title]=\"menu.title\"\n [children]=\"menu?.children ?? []\"\n (footerMenuItemClick)=\"footerMenuItemClicked($event)\"\n ></rdsite-footer-menu-item>\n </li>\n }\n </ul>\n </nav>\n </div>\n}\n\n@if (partnerships) {\n <div class=\"rdsite-footer-partnerships\">\n <rdsite-footer-menu-item\n url=\"\"\n [title]=\"partnerships.title ?? ''\"\n [children]=\"partnerships.children ?? []\"\n (footerMenuItemClick)=\"footerMenuItemClicked($event)\"\n ></rdsite-footer-menu-item>\n </div>\n}\n", styles: [":host{display:flex;flex-direction:column;padding-top:20px}.rdsite-footer-menu{width:100%;height:auto;flex:auto;column-count:unset}.rdsite-footer-menu nav .rdsite-footer-menu-list{list-style:none}.rdsite-footer-partnerships{flex:auto}@media only screen and (min-width: 1024px){:host{flex-direction:row}.rdsite-footer-menu{flex:3 1 0;column-count:3}.rdsite-footer-menu nav .rdsite-footer-menu-list{list-style:none}.rdsite-footer-partnerships{flex:1 1 0}}\n"], dependencies: [{ kind: "ngmodule", type: CommonModule }, { kind: "component", type: FooterMenuItemComponent, selector: "rdsite-footer-menu-item", inputs: ["url", "title", "children", "altStyle"], outputs: ["footerMenuItemClick"] }] }); }
|
|
17
|
-
}
|
|
18
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: FooterMenuComponent, decorators: [{
|
|
19
|
-
type: Component,
|
|
20
|
-
args: [{ selector: 'rdsite-footer-menu', standalone: true, imports: [CommonModule, RdsiteLinkDirective, FooterMenuItemComponent], schemas: [CUSTOM_ELEMENTS_SCHEMA], template: "@if (footerMenu.length) {\n <div class=\"rdsite-footer-menu\">\n <nav>\n <ul class=\"rdsite-footer-menu-list\">\n @for (menu of footerMenu; track menu.title) {\n <li class=\"rdsite-footer-menu-list-item\">\n <rdsite-footer-menu-item\n [url]=\"menu.url\"\n [title]=\"menu.title\"\n [children]=\"menu?.children ?? []\"\n (footerMenuItemClick)=\"footerMenuItemClicked($event)\"\n ></rdsite-footer-menu-item>\n </li>\n }\n </ul>\n </nav>\n </div>\n}\n\n@if (partnerships) {\n <div class=\"rdsite-footer-partnerships\">\n <rdsite-footer-menu-item\n url=\"\"\n [title]=\"partnerships.title ?? ''\"\n [children]=\"partnerships.children ?? []\"\n (footerMenuItemClick)=\"footerMenuItemClicked($event)\"\n ></rdsite-footer-menu-item>\n </div>\n}\n", styles: [":host{display:flex;flex-direction:column;padding-top:20px}.rdsite-footer-menu{width:100%;height:auto;flex:auto;column-count:unset}.rdsite-footer-menu nav .rdsite-footer-menu-list{list-style:none}.rdsite-footer-partnerships{flex:auto}@media only screen and (min-width: 1024px){:host{flex-direction:row}.rdsite-footer-menu{flex:3 1 0;column-count:3}.rdsite-footer-menu nav .rdsite-footer-menu-list{list-style:none}.rdsite-footer-partnerships{flex:1 1 0}}\n"] }]
|
|
21
|
-
}], propDecorators: { footerMenu: [{
|
|
22
|
-
type: Input
|
|
23
|
-
}], partnerships: [{
|
|
24
|
-
type: Input
|
|
25
|
-
}], footerMenuItemClick: [{
|
|
26
|
-
type: Output
|
|
27
|
-
}] } });
|
|
28
|
-
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiZm9vdGVyLW1lbnUuY29tcG9uZW50LmpzIiwic291cmNlUm9vdCI6IiIsIn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IlxuICAgICAgICAgICAgPjwvcmRzaXRlLWZvb3Rlci1tZW51LWl0ZW0+XG4gICAgICAgICAgPC9saT5cbiAgICAgICAgfVxuICAgICAgPC91bD5cbiAgICA8L25hdj5cbiAgPC9kaXY+XG59XG5cbkBpZiAocGFydG5lcnNoaXBzKSB7XG4gIDxkaXYgY2xhc3M9XCJyZHNpdGUtZm9vdGVyLXBhcnRuZXJzaGlwc1wiPlxuICAgIDxyZHNpdGUtZm9vdGVyLW1lbnUtaXRlbVxuICAgICAgdXJsPVwiXCJcbiAgICAgIFt0aXRsZV09XCJwYXJ0bmVyc2hpcHMudGl0bGUgPz8gJydcIlxuICAgICAgW2NoaWxkcmVuXT1cInBhcnRuZXJzaGlwcy5jaGlsZHJlbiA/PyBbXVwiXG4gICAgICAoZm9vdGVyTWVudUl0ZW1DbGljayk9XCJmb290ZXJNZW51SXRlbUNsaWNrZWQoJGV2ZW50KVwiXG4gICAgPjwvcmRzaXRlLWZvb3Rlci1tZW51LWl0ZW0+XG4gIDwvZGl2PlxufVxuIl19
|
package/esm2022/lib/components/footer/components/footer-menu-item/footer-menu-item.component.mjs
DELETED
|
@@ -1,39 +0,0 @@
|
|
|
1
|
-
import { Component, CUSTOM_ELEMENTS_SCHEMA, EventEmitter, Input, Output } from '@angular/core';
|
|
2
|
-
import { RdsiteLinkDirective } from '../../../../directives';
|
|
3
|
-
import { CommonModule } from '@angular/common';
|
|
4
|
-
import * as i0 from "@angular/core";
|
|
5
|
-
import * as i1 from "@angular/common";
|
|
6
|
-
export class FooterMenuItemComponent {
|
|
7
|
-
constructor() {
|
|
8
|
-
this.url = '';
|
|
9
|
-
this.title = '';
|
|
10
|
-
this.children = [];
|
|
11
|
-
this.altStyle = false;
|
|
12
|
-
this.footerMenuItemClick = new EventEmitter();
|
|
13
|
-
this.active = false;
|
|
14
|
-
}
|
|
15
|
-
toggleSubMenu(event) {
|
|
16
|
-
event.stopPropagation();
|
|
17
|
-
this.active = !this.active;
|
|
18
|
-
}
|
|
19
|
-
footerMenuItemClicked(event) {
|
|
20
|
-
this.footerMenuItemClick.emit(event);
|
|
21
|
-
}
|
|
22
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: FooterMenuItemComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
|
23
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "17.3.12", type: FooterMenuItemComponent, isStandalone: true, selector: "rdsite-footer-menu-item", inputs: { url: "url", title: "title", children: "children", altStyle: "altStyle" }, outputs: { footerMenuItemClick: "footerMenuItemClick" }, ngImport: i0, template: "@if (title) {\n <div class=\"rdsite-footer-menu-item\" [ngClass]=\"{ alt: altStyle, 'have-children': children.length }\" (click)=\"toggleSubMenu($event)\">\n <a class=\"rdsite-footer-menu-item-link\" [href]=\"url\" rdsitelink [title]=\"title\" (click)=\"toggleSubMenu($event); footerMenuItemClicked($event)\">\n <span>{{ title }}</span>\n </a>\n\n @if (children.length) {\n <cura-icon [attr.name]=\"active ? 'up' : 'down'\" size=\"20\" color=\"neutral-purewhite\"></cura-icon>\n }\n </div>\n\n @if (children.length) {\n <ul class=\"rdsite-footer-menu-item-children\" [ngClass]=\"{ closed: !active }\">\n @for (submenu of children; track submenu.title) {\n <li class=\"rdsite-footer-menu-item-children-item\">\n <rdsite-footer-menu-item\n [url]=\"submenu.url\"\n [title]=\"submenu.title\"\n [children]=\"submenu?.children ?? []\"\n [altStyle]=\"true\"\n (footerMenuItemClick)=\"footerMenuItemClicked($event)\"\n ></rdsite-footer-menu-item>\n </li>\n }\n </ul>\n }\n}\n", styles: [".rdsite-footer-menu-item{display:flex;align-items:center;justify-content:space-between;background-color:transparent;width:auto;cursor:pointer}.rdsite-footer-menu-item a.rdsite-footer-menu-item-link{text-align:left;padding:8px 0;text-decoration:none}.rdsite-footer-menu-item a.rdsite-footer-menu-item-link span{color:var(--footer-color);font-size:14px;font-style:normal;font-weight:500;line-height:16px;letter-spacing:.56px}.rdsite-footer-menu-item:hover a span{color:var(--footer-menu-hover-color)}.rdsite-footer-menu-item:hover cura-icon{--color: var(--footer-menu-hover-color) !important}.rdsite-footer-menu-item:active a span{color:var(--footer-menu-active-color)}.rdsite-footer-menu-item:active cura-icon{--color: var(--footer-menu-active-color) !important}.rdsite-footer-menu-item.alt a.rdsite-footer-menu-item-link span{color:var(--footer-alt-color);font-size:12px;font-style:normal;font-weight:300;text-decoration:none}.rdsite-footer-menu-item.alt:hover a span{color:var(--footer-menu-alt-hover-color)}.rdsite-footer-menu-item.alt:hover cura-icon{--color: var(--footer-menu-alt-hover-color) !important}.rdsite-footer-menu-item.alt:active a span{color:var(--footer-menu-alt-active-color)}.rdsite-footer-menu-item.alt:active cura-icon{--color: var(--footer-menu-alt-active-color) !important}.rdsite-footer-menu-item.have-children{width:100%}.rdsite-footer-menu-item cura-icon{display:inline}.rdsite-footer-menu-item-children{list-style:none}.rdsite-footer-menu-item-children.closed{display:none}.rdsite-footer-menu-item-children-item{margin:0 0 0 12px}@media only screen and (min-width: 1024px){.rdsite-footer-menu-item cura-icon{display:none}.rdsite-footer-menu-item.have-children{width:auto}.rdsite-footer-menu-item-children.closed{display:block}.rdsite-footer-menu-item-children-item{margin:0 0 0 12px}}\n"], dependencies: [{ kind: "component", type: FooterMenuItemComponent, selector: "rdsite-footer-menu-item", inputs: ["url", "title", "children", "altStyle"], outputs: ["footerMenuItemClick"] }, { kind: "ngmodule", type: CommonModule }, { kind: "directive", type: i1.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { kind: "directive", type: RdsiteLinkDirective, selector: "[rdsitelink]", inputs: ["anchorAdjustment", "anchorExtraAdjustment", "phonemodal"] }] }); }
|
|
24
|
-
}
|
|
25
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: FooterMenuItemComponent, decorators: [{
|
|
26
|
-
type: Component,
|
|
27
|
-
args: [{ selector: 'rdsite-footer-menu-item', standalone: true, imports: [CommonModule, RdsiteLinkDirective], schemas: [CUSTOM_ELEMENTS_SCHEMA], template: "@if (title) {\n <div class=\"rdsite-footer-menu-item\" [ngClass]=\"{ alt: altStyle, 'have-children': children.length }\" (click)=\"toggleSubMenu($event)\">\n <a class=\"rdsite-footer-menu-item-link\" [href]=\"url\" rdsitelink [title]=\"title\" (click)=\"toggleSubMenu($event); footerMenuItemClicked($event)\">\n <span>{{ title }}</span>\n </a>\n\n @if (children.length) {\n <cura-icon [attr.name]=\"active ? 'up' : 'down'\" size=\"20\" color=\"neutral-purewhite\"></cura-icon>\n }\n </div>\n\n @if (children.length) {\n <ul class=\"rdsite-footer-menu-item-children\" [ngClass]=\"{ closed: !active }\">\n @for (submenu of children; track submenu.title) {\n <li class=\"rdsite-footer-menu-item-children-item\">\n <rdsite-footer-menu-item\n [url]=\"submenu.url\"\n [title]=\"submenu.title\"\n [children]=\"submenu?.children ?? []\"\n [altStyle]=\"true\"\n (footerMenuItemClick)=\"footerMenuItemClicked($event)\"\n ></rdsite-footer-menu-item>\n </li>\n }\n </ul>\n }\n}\n", styles: [".rdsite-footer-menu-item{display:flex;align-items:center;justify-content:space-between;background-color:transparent;width:auto;cursor:pointer}.rdsite-footer-menu-item a.rdsite-footer-menu-item-link{text-align:left;padding:8px 0;text-decoration:none}.rdsite-footer-menu-item a.rdsite-footer-menu-item-link span{color:var(--footer-color);font-size:14px;font-style:normal;font-weight:500;line-height:16px;letter-spacing:.56px}.rdsite-footer-menu-item:hover a span{color:var(--footer-menu-hover-color)}.rdsite-footer-menu-item:hover cura-icon{--color: var(--footer-menu-hover-color) !important}.rdsite-footer-menu-item:active a span{color:var(--footer-menu-active-color)}.rdsite-footer-menu-item:active cura-icon{--color: var(--footer-menu-active-color) !important}.rdsite-footer-menu-item.alt a.rdsite-footer-menu-item-link span{color:var(--footer-alt-color);font-size:12px;font-style:normal;font-weight:300;text-decoration:none}.rdsite-footer-menu-item.alt:hover a span{color:var(--footer-menu-alt-hover-color)}.rdsite-footer-menu-item.alt:hover cura-icon{--color: var(--footer-menu-alt-hover-color) !important}.rdsite-footer-menu-item.alt:active a span{color:var(--footer-menu-alt-active-color)}.rdsite-footer-menu-item.alt:active cura-icon{--color: var(--footer-menu-alt-active-color) !important}.rdsite-footer-menu-item.have-children{width:100%}.rdsite-footer-menu-item cura-icon{display:inline}.rdsite-footer-menu-item-children{list-style:none}.rdsite-footer-menu-item-children.closed{display:none}.rdsite-footer-menu-item-children-item{margin:0 0 0 12px}@media only screen and (min-width: 1024px){.rdsite-footer-menu-item cura-icon{display:none}.rdsite-footer-menu-item.have-children{width:auto}.rdsite-footer-menu-item-children.closed{display:block}.rdsite-footer-menu-item-children-item{margin:0 0 0 12px}}\n"] }]
|
|
28
|
-
}], propDecorators: { url: [{
|
|
29
|
-
type: Input
|
|
30
|
-
}], title: [{
|
|
31
|
-
type: Input
|
|
32
|
-
}], children: [{
|
|
33
|
-
type: Input
|
|
34
|
-
}], altStyle: [{
|
|
35
|
-
type: Input
|
|
36
|
-
}], footerMenuItemClick: [{
|
|
37
|
-
type: Output
|
|
38
|
-
}] } });
|
|
39
|
-
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiZm9vdGVyLW1lbnUtaXRlbS5jb21wb25lbnQuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi8uLi8uLi8uLi9wcm9qZWN0cy9zaXRlLWZyb250LWVuZC1saWIvc3JjL2xpYi9jb21wb25lbnRzL2Zvb3Rlci9jb21wb25lbnRzL2Zvb3Rlci1tZW51LWl0ZW0vZm9vdGVyLW1lbnUtaXRlbS5jb21wb25lbnQudHMiLCIuLi8uLi8uLi8uLi8uLi8uLi8uLi8uLi9wcm9qZWN0cy9zaXRlLWZyb250LWVuZC1saWIvc3JjL2xpYi9jb21wb25lbnRzL2Zvb3Rlci9jb21wb25lbnRzL2Zvb3Rlci1tZW51LWl0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NvbiBbYXR0ci5uYW1lXT1cImFjdGl2ZSA/ICd1cCcgOiAnZG93bidcIiBzaXplPVwiMjBcIiBjb2xvcj1cIm5ldXRyYWwtcHVyZXdoaXRlXCI+PC9jdXJhLWljb24+XG4gICAgfVxuICA8L2Rpdj5cblxuICBAaWYgKGNoaWxkcmVuLmxlbmd0aCkge1xuICAgIDx1bCBjbGFzcz1cInJkc2l0ZS1mb290ZXItbWVudS1pdGVtLWNoaWxkcmVuXCIgW25nQ2xhc3NdPVwieyBjbG9zZWQ6ICFhY3RpdmUgfVwiPlxuICAgICAgQGZvciAoc3VibWVudSBvZiBjaGlsZHJlbjsgdHJhY2sgc3VibWVudS50aXRsZSkge1xuICAgICAgICA8bGkgY2xhc3M9XCJyZHNpdGUtZm9vdGVyLW1lbnUtaXRlbS1jaGlsZHJlbi1pdGVtXCI+XG4gICAgICAgICAgPHJkc2l0ZS1mb290ZXItbWVudS1pdGVtXG4gICAgICAgICAgICBbdXJsXT1cInN1Ym1lbnUudXJsXCJcbiAgICAgICAgICAgIFt0aXRsZV09XCJzdWJtZW51LnRpdGxlXCJcbiAgICAgICAgICAgIFtjaGlsZHJlbl09XCJzdWJtZW51Py5jaGlsZHJlbiA/PyBbXVwiXG4gICAgICAgICAgICBbYWx0U3R5bGVdPVwidHJ1ZVwiXG4gICAgICAgICAgICAoZm9vdGVyTWVudUl0ZW1DbGljayk9XCJmb290ZXJNZW51SXRlbUNsaWNrZWQoJGV2ZW50KVwiXG4gICAgICAgICAgPjwvcmRzaXRlLWZvb3Rlci1tZW51LWl0ZW0+XG4gICAgICAgIDwvbGk+XG4gICAgICB9XG4gICAgPC91bD5cbiAgfVxufVxuIl19
|
|
@@ -1,44 +0,0 @@
|
|
|
1
|
-
import { Component, CUSTOM_ELEMENTS_SCHEMA, EventEmitter, HostBinding, Input, Output } from '@angular/core';
|
|
2
|
-
import { RdsiteLinkDirective } from '../../../../directives';
|
|
3
|
-
import { CommonModule } from '@angular/common';
|
|
4
|
-
import * as i0 from "@angular/core";
|
|
5
|
-
export class FooterSocialMediasComponent {
|
|
6
|
-
constructor() {
|
|
7
|
-
this.logo = null;
|
|
8
|
-
this.partnershipLogo = null;
|
|
9
|
-
this.phone = '';
|
|
10
|
-
this.socialMenu = [];
|
|
11
|
-
this.logoWidth = 72;
|
|
12
|
-
this.footerSocialMediaClick = new EventEmitter();
|
|
13
|
-
}
|
|
14
|
-
get styleBinding() {
|
|
15
|
-
return {
|
|
16
|
-
'--logo-width': `${this.logoWidth}px`,
|
|
17
|
-
};
|
|
18
|
-
}
|
|
19
|
-
footerSocialMediaClicked(event) {
|
|
20
|
-
this.footerSocialMediaClick.emit(event);
|
|
21
|
-
}
|
|
22
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: FooterSocialMediasComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
|
23
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "17.3.12", type: FooterSocialMediasComponent, isStandalone: true, selector: "rdsite-footer-social-medias", inputs: { logo: "logo", partnershipLogo: "partnershipLogo", phone: "phone", socialMenu: "socialMenu", logoWidth: "logoWidth" }, outputs: { footerSocialMediaClick: "footerSocialMediaClick" }, host: { properties: { "style": "this.styleBinding" } }, ngImport: i0, template: "@if (logo || phone) {\n <div class=\"rdsite-footer-social-medias-contact\">\n @if (logo) {\n <div class=\"logo\">\n <img [src]=\"logo?.url\" [alt]=\"logo?.alt\" [title]=\"logo?.title\" />\n </div>\n }\n @if (partnershipLogo) {\n <div class=\"partnership-logo\">\n <img [src]=\"partnershipLogo?.url\" [alt]=\"partnershipLogo?.alt\" [title]=\"partnershipLogo?.title\" />\n </div>\n }\n @if (phone) {\n <div class=\"phone\">\n <a rdsitelink href=\"tel:{{ phone }}\">\n <cura-icon name=\"phone\" size=\"20\" color=\"neutral-purewhite\"></cura-icon>\n {{ phone }}\n </a>\n </div>\n }\n </div>\n}\n\n<div class=\"rdsite-footer-social-medias-social\">\n <nav>\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 <cura-icon [name]=\"social.icon\" size=\"16\" color=\"neutral-purewhite\"></cura-icon>\n </a>\n </li>\n }\n </ul>\n </nav>\n</div>\n", styles: [":host{display:flex;flex-direction:column}.rdsite-footer-social-medias-contact{display:flex;flex-wrap:wrap;align-items:center;justify-content:flex-start;gap:20px 16px;margin-bottom:20px;width:100%;min-height:77px}.rdsite-footer-social-medias-contact .logo{display:contents}.rdsite-footer-social-medias-contact .logo:after{content:\"\";width:1px;height:60px;background-color:var(--footer-color)}.rdsite-footer-social-medias-contact .logo img{width:var(--logo-width, 72px)}.rdsite-footer-social-medias-contact .partnership-logo{display:contents}.rdsite-footer-social-medias-contact .partnership-logo img{width:var(--logo-width, 72px)}.rdsite-footer-social-medias-contact .phone a{display:flex;justify-content:center;align-items:center;gap:12px;font-size:17px;font-weight:500;color:var(--footer-color);text-decoration:none}.rdsite-footer-social-medias-social nav ul{list-style:none;display:flex;gap:16px 0px;flex-wrap:wrap;width:100%}.rdsite-footer-social-medias-social nav ul li{display:flex;justify-content:center;align-items:center;border-radius:100%;border:1px solid #ffffff;width:36px;height:36px;margin-right:12px}.rdsite-footer-social-medias-social nav 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){.rdsite-footer-social-medias-contact{width:280px}.rdsite-footer-social-medias-contact .phone a{font-size:19px}.rdsite-footer-social-medias-social nav ul li{margin-right:15px}}@media only screen and (min-width: 1024px){.rdsite-footer-social-medias-contact{gap:20px 24px;width:328px}.rdsite-footer-social-medias-social nav ul{flex-wrap:nowrap}}\n"], dependencies: [{ kind: "ngmodule", type: CommonModule }, { kind: "directive", type: RdsiteLinkDirective, selector: "[rdsitelink]", inputs: ["anchorAdjustment", "anchorExtraAdjustment", "phonemodal"] }] }); }
|
|
24
|
-
}
|
|
25
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: FooterSocialMediasComponent, decorators: [{
|
|
26
|
-
type: Component,
|
|
27
|
-
args: [{ selector: 'rdsite-footer-social-medias', standalone: true, imports: [CommonModule, RdsiteLinkDirective], schemas: [CUSTOM_ELEMENTS_SCHEMA], template: "@if (logo || phone) {\n <div class=\"rdsite-footer-social-medias-contact\">\n @if (logo) {\n <div class=\"logo\">\n <img [src]=\"logo?.url\" [alt]=\"logo?.alt\" [title]=\"logo?.title\" />\n </div>\n }\n @if (partnershipLogo) {\n <div class=\"partnership-logo\">\n <img [src]=\"partnershipLogo?.url\" [alt]=\"partnershipLogo?.alt\" [title]=\"partnershipLogo?.title\" />\n </div>\n }\n @if (phone) {\n <div class=\"phone\">\n <a rdsitelink href=\"tel:{{ phone }}\">\n <cura-icon name=\"phone\" size=\"20\" color=\"neutral-purewhite\"></cura-icon>\n {{ phone }}\n </a>\n </div>\n }\n </div>\n}\n\n<div class=\"rdsite-footer-social-medias-social\">\n <nav>\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 <cura-icon [name]=\"social.icon\" size=\"16\" color=\"neutral-purewhite\"></cura-icon>\n </a>\n </li>\n }\n </ul>\n </nav>\n</div>\n", styles: [":host{display:flex;flex-direction:column}.rdsite-footer-social-medias-contact{display:flex;flex-wrap:wrap;align-items:center;justify-content:flex-start;gap:20px 16px;margin-bottom:20px;width:100%;min-height:77px}.rdsite-footer-social-medias-contact .logo{display:contents}.rdsite-footer-social-medias-contact .logo:after{content:\"\";width:1px;height:60px;background-color:var(--footer-color)}.rdsite-footer-social-medias-contact .logo img{width:var(--logo-width, 72px)}.rdsite-footer-social-medias-contact .partnership-logo{display:contents}.rdsite-footer-social-medias-contact .partnership-logo img{width:var(--logo-width, 72px)}.rdsite-footer-social-medias-contact .phone a{display:flex;justify-content:center;align-items:center;gap:12px;font-size:17px;font-weight:500;color:var(--footer-color);text-decoration:none}.rdsite-footer-social-medias-social nav ul{list-style:none;display:flex;gap:16px 0px;flex-wrap:wrap;width:100%}.rdsite-footer-social-medias-social nav ul li{display:flex;justify-content:center;align-items:center;border-radius:100%;border:1px solid #ffffff;width:36px;height:36px;margin-right:12px}.rdsite-footer-social-medias-social nav 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){.rdsite-footer-social-medias-contact{width:280px}.rdsite-footer-social-medias-contact .phone a{font-size:19px}.rdsite-footer-social-medias-social nav ul li{margin-right:15px}}@media only screen and (min-width: 1024px){.rdsite-footer-social-medias-contact{gap:20px 24px;width:328px}.rdsite-footer-social-medias-social nav ul{flex-wrap:nowrap}}\n"] }]
|
|
28
|
-
}], propDecorators: { logo: [{
|
|
29
|
-
type: Input
|
|
30
|
-
}], partnershipLogo: [{
|
|
31
|
-
type: Input
|
|
32
|
-
}], phone: [{
|
|
33
|
-
type: Input
|
|
34
|
-
}], socialMenu: [{
|
|
35
|
-
type: Input
|
|
36
|
-
}], logoWidth: [{
|
|
37
|
-
type: Input
|
|
38
|
-
}], footerSocialMediaClick: [{
|
|
39
|
-
type: Output
|
|
40
|
-
}], styleBinding: [{
|
|
41
|
-
type: HostBinding,
|
|
42
|
-
args: ['style']
|
|
43
|
-
}] } });
|
|
44
|
-
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiZm9vdGVyLXNvY2lhbC1tZWRpYXMuY29tcG9uZW50LmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vLi4vLi4vLi4vLi4vcHJvamVjdHMvc2l0ZS1mcm9udC1lbmQtbGliL3NyYy9saWIvY29tcG9uZW50cy9mb290ZXIvY29tcG9uZW50cy9mb290ZXItc29jaWFsLW1lZGlhcy9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25hbWVdPVwic29jaWFsLmljb25cIiBzaXplPVwiMTZcIiBjb2xvcj1cIm5ldXRyYWwtcHVyZXdoaXRlXCI+PC9jdXJhLWljb24+XG4gICAgICAgICAgPC9hPlxuICAgICAgICA8L2xpPlxuICAgICAgfVxuICAgIDwvdWw+XG4gIDwvbmF2PlxuPC9kaXY+XG4iXX0=
|
|
@@ -1,15 +0,0 @@
|
|
|
1
|
-
import { EventEmitter } from '@angular/core';
|
|
2
|
-
import { PrivacyToolsService } from '../../../../services';
|
|
3
|
-
import * as i0 from "@angular/core";
|
|
4
|
-
export declare class FooterDisclaimerComponent {
|
|
5
|
-
privacyTools: PrivacyToolsService;
|
|
6
|
-
currentYear: number;
|
|
7
|
-
disclaimerText: string;
|
|
8
|
-
footerPrivacyClick: EventEmitter<Event>;
|
|
9
|
-
footerCookieClick: EventEmitter<Event>;
|
|
10
|
-
constructor(privacyTools: PrivacyToolsService);
|
|
11
|
-
footerPrivacyClicked(event: Event): void;
|
|
12
|
-
footerCookieClicked(event: Event): void;
|
|
13
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<FooterDisclaimerComponent, never>;
|
|
14
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<FooterDisclaimerComponent, "rdsite-footer-disclaimer", never, { "currentYear": { "alias": "currentYear"; "required": false; }; "disclaimerText": { "alias": "disclaimerText"; "required": false; }; }, { "footerPrivacyClick": "footerPrivacyClick"; "footerCookieClick": "footerCookieClick"; }, never, never, true, never>;
|
|
15
|
-
}
|