@rededor/site-front-end-lib 0.0.14 → 0.0.16
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/header/components/header-side-menu-item/header-side-menu-item.component.mjs +3 -3
- package/esm2022/lib/components/header/header.component.mjs +14 -12
- package/esm2022/lib/components/index.mjs +6 -1
- package/esm2022/lib/components/search/search.component.mjs +3 -3
- package/esm2022/lib/components/side-ctas/components/side-ctas-bottom/side-ctas-bottom.component.mjs +34 -0
- package/esm2022/lib/components/side-ctas/components/side-ctas-right-bottom/side-ctas-right-bottom.component.mjs +48 -0
- package/esm2022/lib/components/side-ctas/components/side-ctas-right-middle/side-ctas-right-middle.component.mjs +33 -0
- package/esm2022/lib/components/side-ctas/components/side-ctas-right-top/side-ctas-right-top.component.mjs +11 -0
- package/esm2022/lib/components/side-ctas/models/SideCta.model.mjs +2 -0
- package/esm2022/lib/components/side-ctas/side-ctas.component.mjs +23 -0
- package/esm2022/lib/models/wordpress/unidade/wp-unidade-site-detalhe.model.mjs +1 -1
- package/fesm2022/rededor-site-front-end-lib.mjs +169 -37
- package/fesm2022/rededor-site-front-end-lib.mjs.map +1 -1
- package/lib/components/header/header.component.d.ts +1 -1
- package/lib/components/index.d.ts +5 -0
- package/lib/components/side-ctas/components/side-ctas-bottom/side-ctas-bottom.component.d.ts +19 -0
- package/lib/components/side-ctas/components/side-ctas-right-bottom/side-ctas-right-bottom.component.d.ts +23 -0
- package/lib/components/side-ctas/components/side-ctas-right-middle/side-ctas-right-middle.component.d.ts +18 -0
- package/lib/components/side-ctas/components/side-ctas-right-top/side-ctas-right-top.component.d.ts +5 -0
- package/lib/components/side-ctas/models/SideCta.model.d.ts +5 -0
- package/lib/components/side-ctas/side-ctas.component.d.ts +11 -0
- package/lib/models/wordpress/unidade/wp-unidade-site-detalhe.model.d.ts +7 -0
- package/package.json +1 -1
|
@@ -18,7 +18,7 @@ export declare class HeaderComponent {
|
|
|
18
18
|
scrollTop: number;
|
|
19
19
|
searchControl: UntypedFormControl;
|
|
20
20
|
searchChange: EventEmitter<string>;
|
|
21
|
-
constructor(curaService: CuraService, headerService: HeaderService, document: Document);
|
|
21
|
+
constructor(curaService: CuraService, headerService: HeaderService, document: Document, platformId: object);
|
|
22
22
|
getCuraCssVars(context: HeaderThemeKeys): Record<string, any>;
|
|
23
23
|
overlayClick(): void;
|
|
24
24
|
doSearch(event: any): void;
|
|
@@ -18,3 +18,8 @@ export * from './header/components/header-side-menu/header-side-menu.component';
|
|
|
18
18
|
export * from './header/components/header-side-menu-item/header-side-menu-item.component';
|
|
19
19
|
export * from './overlay/overlay.component';
|
|
20
20
|
export * from './search/search.component';
|
|
21
|
+
export * from './side-ctas/side-ctas.component';
|
|
22
|
+
export * from './side-ctas/components/side-ctas-bottom/side-ctas-bottom.component';
|
|
23
|
+
export * from './side-ctas/components/side-ctas-right-bottom/side-ctas-right-bottom.component';
|
|
24
|
+
export * from './side-ctas/components/side-ctas-right-middle/side-ctas-right-middle.component';
|
|
25
|
+
export * from './side-ctas/components/side-ctas-right-top/side-ctas-right-top.component';
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
import { SideCta } from '../../models/SideCta.model';
|
|
2
|
+
import { CuraService } from '../../../../services';
|
|
3
|
+
import * as i0 from "@angular/core";
|
|
4
|
+
export declare class SideCtasBottomComponent {
|
|
5
|
+
private curaService;
|
|
6
|
+
private _ctas;
|
|
7
|
+
set ctas(value: SideCta[]);
|
|
8
|
+
get ctas(): SideCta[];
|
|
9
|
+
style: {
|
|
10
|
+
'--font-color': string | null;
|
|
11
|
+
'--bg-color': string | null;
|
|
12
|
+
'--bg-cta-color': string | null;
|
|
13
|
+
'--bg-cta-hover-color': string | null;
|
|
14
|
+
'--bg-cta-active-color': string | null;
|
|
15
|
+
};
|
|
16
|
+
constructor(curaService: CuraService);
|
|
17
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<SideCtasBottomComponent, never>;
|
|
18
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<SideCtasBottomComponent, "rdsite-side-ctas-bottom", never, { "ctas": { "alias": "ctas"; "required": false; }; }, {}, never, never, true, never>;
|
|
19
|
+
}
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
import { CuraService } from '../../../../services';
|
|
2
|
+
import * as i0 from "@angular/core";
|
|
3
|
+
export declare class SideCtasRightBottomComponent {
|
|
4
|
+
private curaService;
|
|
5
|
+
link: string;
|
|
6
|
+
imgUrl: string;
|
|
7
|
+
icon: string;
|
|
8
|
+
text: string;
|
|
9
|
+
bgColor: string;
|
|
10
|
+
bgHover: string;
|
|
11
|
+
active: boolean;
|
|
12
|
+
style: {
|
|
13
|
+
'--border-top-color': string | null;
|
|
14
|
+
'--bg-color': string | null;
|
|
15
|
+
'--bg-button': string;
|
|
16
|
+
'--bg-button-hover': string;
|
|
17
|
+
'--color-button': string | null;
|
|
18
|
+
'--color-button-hover': string | null;
|
|
19
|
+
};
|
|
20
|
+
constructor(curaService: CuraService);
|
|
21
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<SideCtasRightBottomComponent, never>;
|
|
22
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<SideCtasRightBottomComponent, "rdsite-side-ctas-right-bottom", never, { "link": { "alias": "link"; "required": false; }; "imgUrl": { "alias": "imgUrl"; "required": false; }; "icon": { "alias": "icon"; "required": false; }; "text": { "alias": "text"; "required": false; }; "bgColor": { "alias": "bgColor"; "required": false; }; "bgHover": { "alias": "bgHover"; "required": false; }; }, {}, never, never, true, never>;
|
|
23
|
+
}
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
import { SideCta } from '../../models/SideCta.model';
|
|
2
|
+
import { CuraService } from '../../../../services';
|
|
3
|
+
import * as i0 from "@angular/core";
|
|
4
|
+
export declare class SideCtasRightMiddleComponent {
|
|
5
|
+
private curaService;
|
|
6
|
+
private _ctas;
|
|
7
|
+
set ctas(value: SideCta[]);
|
|
8
|
+
get ctas(): SideCta[];
|
|
9
|
+
style: {
|
|
10
|
+
'--icon-bg-color': string | null;
|
|
11
|
+
'--font-color': string | null;
|
|
12
|
+
'--font-hover': string | null;
|
|
13
|
+
'--font-active': string | null;
|
|
14
|
+
};
|
|
15
|
+
constructor(curaService: CuraService);
|
|
16
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<SideCtasRightMiddleComponent, never>;
|
|
17
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<SideCtasRightMiddleComponent, "rdsite-side-ctas-right-middle", never, { "ctas": { "alias": "ctas"; "required": false; }; }, {}, never, never, true, never>;
|
|
18
|
+
}
|
package/lib/components/side-ctas/components/side-ctas-right-top/side-ctas-right-top.component.d.ts
ADDED
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
import * as i0 from "@angular/core";
|
|
2
|
+
export declare class SideCtasRightTopComponent {
|
|
3
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<SideCtasRightTopComponent, never>;
|
|
4
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<SideCtasRightTopComponent, "rdsite-side-ctas-right-top", never, {}, {}, never, ["*"], true, never>;
|
|
5
|
+
}
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import { CuraService } from '../../services';
|
|
2
|
+
import * as i0 from "@angular/core";
|
|
3
|
+
export declare class SideCtasComponent {
|
|
4
|
+
private curaService;
|
|
5
|
+
style: {
|
|
6
|
+
'--color-right': string | null;
|
|
7
|
+
};
|
|
8
|
+
constructor(curaService: CuraService);
|
|
9
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<SideCtasComponent, never>;
|
|
10
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<SideCtasComponent, "rdsite-side-ctas", never, {}, {}, never, ["rdsite-side-ctas-right-top", "rdsite-side-ctas-right-middle", "rdsite-side-ctas-right-bottom", "rdsite-side-ctas-bottom"], true, never>;
|
|
11
|
+
}
|
|
@@ -138,6 +138,8 @@ export interface WpUnidadeSiteDetalhe {
|
|
|
138
138
|
unidade_estilo_whatsapp: UnidadeEstiloWhatsapp;
|
|
139
139
|
unidade_modal_agendamento: UnidadePhoneModal;
|
|
140
140
|
unidade_modal_generico: UnidadePhoneModal;
|
|
141
|
+
general_ctas?: UnidadeCta[];
|
|
142
|
+
side_ctas?: UnidadeCta[];
|
|
141
143
|
}
|
|
142
144
|
export interface UnidadeEstiloWhatsapp {
|
|
143
145
|
cor_da_borda: string;
|
|
@@ -147,6 +149,11 @@ export interface UnidadeEstiloWhatsapp {
|
|
|
147
149
|
cor_whatsapp: string;
|
|
148
150
|
imagem: any;
|
|
149
151
|
}
|
|
152
|
+
export interface UnidadeCta {
|
|
153
|
+
icon: string;
|
|
154
|
+
text: string;
|
|
155
|
+
url: string;
|
|
156
|
+
}
|
|
150
157
|
export interface UnidadePhoneModal {
|
|
151
158
|
titulo: string;
|
|
152
159
|
texto: string;
|