@rededor/site-front-end-lib 0.0.51 → 0.0.53
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 +78 -12
- package/esm2022/lib/components/cta-wrapper/cta-wrapper.component.mjs +72 -0
- package/esm2022/lib/components/error/error-service/error.service.mjs +17 -0
- package/esm2022/lib/components/error/error.component.mjs +125 -0
- package/esm2022/lib/components/index.mjs +5 -1
- package/esm2022/lib/components/page-header/page-header.component.mjs +1 -1
- package/esm2022/lib/components/page-template-sidebar/page-template-sidebar.component.mjs +3 -3
- package/esm2022/lib/components/section-navigation/section-navigation.component.mjs +67 -0
- package/esm2022/lib/enums/EnumError.enum.mjs +6 -0
- package/esm2022/lib/enums/EnumThemes.enum.mjs +8 -0
- package/esm2022/lib/enums/index.mjs +3 -1
- package/esm2022/lib/helpers/mediaQueries.mjs +11 -0
- package/esm2022/lib/models/section-navigation.model.mjs +2 -0
- package/esm2022/lib/services/log/log.service.mjs +4 -1
- package/esm2022/lib/services/scroll-service/scroll-service.service.mjs +39 -0
- package/esm2022/lib/services/seo/seo.service.mjs +13 -1
- package/fesm2022/rededor-site-front-end-lib.mjs +460 -62
- package/fesm2022/rededor-site-front-end-lib.mjs.map +1 -1
- package/lib/components/breadcrumbs/breadcrumbs.component.d.ts +17 -4
- package/lib/components/cta-wrapper/cta-wrapper.component.d.ts +29 -0
- package/lib/components/error/error-service/error.service.d.ts +17 -0
- package/lib/components/error/error.component.d.ts +42 -0
- package/lib/components/index.d.ts +4 -0
- package/lib/components/section-navigation/section-navigation.component.d.ts +19 -0
- package/lib/enums/EnumError.enum.d.ts +4 -0
- package/lib/enums/EnumThemes.enum.d.ts +6 -0
- package/lib/enums/index.d.ts +2 -0
- package/lib/helpers/mediaQueries.d.ts +6 -0
- package/lib/models/section-navigation.model.d.ts +9 -0
- package/lib/services/log/log.service.d.ts +1 -0
- package/lib/services/scroll-service/scroll-service.service.d.ts +7 -0
- package/lib/services/seo/seo.service.d.ts +1 -0
- package/package.json +1 -1
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import * as i0 from '@angular/core';
|
|
2
|
-
import { InjectionToken, Injectable, Inject, PLATFORM_ID, Optional, makeStateKey, signal, EventEmitter, Component, Input, Output, Directive, HostListener, CUSTOM_ELEMENTS_SCHEMA, ViewChild, HostBinding, effect, Pipe } from '@angular/core';
|
|
2
|
+
import { InjectionToken, Injectable, Inject, PLATFORM_ID, Optional, makeStateKey, signal, EventEmitter, Component, Input, Output, Directive, HostListener, CUSTOM_ELEMENTS_SCHEMA, ViewChild, HostBinding, effect, inject, Pipe } from '@angular/core';
|
|
3
3
|
import algoliasearch from 'algoliasearch';
|
|
4
4
|
import { from, fromEvent, startWith, timeout, catchError, of, Observable, debounceTime, BehaviorSubject } from 'rxjs';
|
|
5
5
|
import * as i2 from '@angular/common';
|
|
@@ -13,6 +13,7 @@ import { SearchAPISDK } from '@rededor/search-api-sdk/index.js';
|
|
|
13
13
|
import * as i1$2 from '@angular/router';
|
|
14
14
|
import * as i4 from '@angular/forms';
|
|
15
15
|
import { UntypedFormControl, ReactiveFormsModule } from '@angular/forms';
|
|
16
|
+
import { NguCarousel, NguItemComponent, NguCarouselDefDirective } from '@ngu/carousel';
|
|
16
17
|
|
|
17
18
|
// Configura a lib com informações especificas de cada projeto.
|
|
18
19
|
const LIB_CONFIG = new InjectionToken('libConfig');
|
|
@@ -256,6 +257,9 @@ class LogService {
|
|
|
256
257
|
log404(component) {
|
|
257
258
|
this.logMsg(`${this.getPageURL()}${component ? ' - ' + component : ''}`, '404');
|
|
258
259
|
}
|
|
260
|
+
log500(component) {
|
|
261
|
+
this.logMsg(`${this.getPageURL()}${component ? ' - ' + component : ''}`, '500');
|
|
262
|
+
}
|
|
259
263
|
getPageURL() {
|
|
260
264
|
return `${getSiteUrl(this.libConfig?.siteUrl, this.libConfig?.siteSufix)}${this.location.path()}`;
|
|
261
265
|
}
|
|
@@ -16515,6 +16519,18 @@ class SeoService {
|
|
|
16515
16519
|
this.title.setTitle(title);
|
|
16516
16520
|
return this;
|
|
16517
16521
|
}
|
|
16522
|
+
set500Title(component = 'Default Component') {
|
|
16523
|
+
if (component && component !== '') {
|
|
16524
|
+
component = he.decode(component);
|
|
16525
|
+
component = removeHtmlTags(component);
|
|
16526
|
+
if (this.unidadeName) {
|
|
16527
|
+
component = he.decode(`${component}${this.separator}${this.unidadeName}`);
|
|
16528
|
+
}
|
|
16529
|
+
}
|
|
16530
|
+
const title = `Erro 500 - ${component} - ${this.libConfig?.siteName} - ${this.location.path()}`;
|
|
16531
|
+
this.title.setTitle(title);
|
|
16532
|
+
return this;
|
|
16533
|
+
}
|
|
16518
16534
|
/** Cria tag script para JSON de breadcrumbs */
|
|
16519
16535
|
createBreadcrumbsJSONTag() {
|
|
16520
16536
|
const tag = this.document.createElement('script');
|
|
@@ -18638,31 +18654,364 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.12", ngImpo
|
|
|
18638
18654
|
type: Output
|
|
18639
18655
|
}] } });
|
|
18640
18656
|
|
|
18657
|
+
const xSmallBreakpoint = 361;
|
|
18658
|
+
const smallBreakpoint = 769;
|
|
18659
|
+
const mediumBreakPoint = 1024;
|
|
18660
|
+
const largeBreakpoint = 1366;
|
|
18661
|
+
const MediaQueries = {
|
|
18662
|
+
xSmallBreakpoint,
|
|
18663
|
+
smallBreakpoint,
|
|
18664
|
+
mediumBreakPoint,
|
|
18665
|
+
largeBreakpoint,
|
|
18666
|
+
};
|
|
18667
|
+
|
|
18668
|
+
class CtaWrapperComponent {
|
|
18669
|
+
onWindowResize() {
|
|
18670
|
+
if (isPlatformBrowser(this.platformId)) {
|
|
18671
|
+
this.bannerControl = window.innerWidth > MediaQueries.smallBreakpoint;
|
|
18672
|
+
}
|
|
18673
|
+
}
|
|
18674
|
+
constructor(curaService, nguService, platformId) {
|
|
18675
|
+
this.curaService = curaService;
|
|
18676
|
+
this.nguService = nguService;
|
|
18677
|
+
this.platformId = platformId;
|
|
18678
|
+
this.colors = {
|
|
18679
|
+
border: 'primary-darker',
|
|
18680
|
+
icon: 'primary-darker',
|
|
18681
|
+
};
|
|
18682
|
+
this.seeMoreControl = false;
|
|
18683
|
+
this.styleBinding = {
|
|
18684
|
+
'--more-options-color': this.curaService.getColor(this.colors.icon),
|
|
18685
|
+
'--border-color': this.curaService.getColor(this.colors.border),
|
|
18686
|
+
'--label-color': this.curaService.getColor(this.colors.icon),
|
|
18687
|
+
};
|
|
18688
|
+
this.class = true;
|
|
18689
|
+
}
|
|
18690
|
+
ngOnInit() {
|
|
18691
|
+
if (isPlatformBrowser(this.platformId)) {
|
|
18692
|
+
this.bannerControl = window.innerWidth > MediaQueries.smallBreakpoint;
|
|
18693
|
+
}
|
|
18694
|
+
this.carouselCtasConfig = this.nguService.customCarouselConfig({
|
|
18695
|
+
grid: { xs: 2.1, sm: 2.1, md: 2.1, lg: 2.1, all: 0 },
|
|
18696
|
+
loop: true,
|
|
18697
|
+
interval: {
|
|
18698
|
+
timing: 600000,
|
|
18699
|
+
initialDelay: 600000,
|
|
18700
|
+
},
|
|
18701
|
+
});
|
|
18702
|
+
}
|
|
18703
|
+
moreOptions() {
|
|
18704
|
+
this.seeMoreControl = !this.seeMoreControl;
|
|
18705
|
+
}
|
|
18706
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: CtaWrapperComponent, deps: [{ token: CuraService }, { token: NguCarouselService }, { token: PLATFORM_ID }], target: i0.ɵɵFactoryTarget.Component }); }
|
|
18707
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "17.3.12", type: CtaWrapperComponent, isStandalone: true, selector: "rdsite-cta-wrapper", inputs: { ctas: "ctas", colors: "colors" }, host: { listeners: { "window:resize": "onWindowResize()" }, properties: { "style": "this.styleBinding", "class.wp-content-wrapper": "this.class" } }, viewQueries: [{ propertyName: "nguCarouselCtas", first: true, predicate: ["nguCarouselCtas"], descendants: true }], ngImport: i0, template: "@if (!seeMoreControl) {\n @if (!bannerControl) {\n <ngu-carousel #nguCarouselCtas [inputs]=\"carouselCtasConfig\" [dataSource]=\"ctas\">\n <ngu-item *nguCarouselDef=\"let cta; let i = index\">\n <a rdsitelink class=\"cta\" [href]=\"cta?.link\">\n @if (cta?.icon) {\n <cura-icon [attr.name]=\"cta?.icon\" size=\"24\" [color]=\"colors.icon\"></cura-icon>\n }\n <p>{{ cta?.label }}</p>\n </a>\n </ngu-item>\n </ngu-carousel>\n @if (ctas.length > 3) {\n <div class=\"show-more\">\n <button type=\"button\" (click)=\"moreOptions()\">Mais op\u00E7\u00F5es</button>\n </div>\n }\n } @else {\n @for (cta of ctas; track cta) {\n <a rdsitelink class=\"cta\" [href]=\"cta?.link\">\n @if (cta?.icon) {\n <cura-icon [attr.name]=\"cta?.icon\" size=\"24\" [color]=\"colors.icon\"></cura-icon>\n }\n <p>{{ cta?.label }}</p>\n </a>\n }\n }\n}\n@if (seeMoreControl) {\n <div class=\"more-options\">\n @for (cta of ctas; track cta) {\n <a rdsitelink class=\"cta\" [href]=\"cta?.link\">\n @if (cta?.icon) {\n <cura-icon [attr.name]=\"cta?.icon\" size=\"24\" [color]=\"colors.icon\"></cura-icon>\n }\n <p>{{ cta?.label }}</p>\n </a>\n }\n </div>\n}\n", styles: [":host{display:flex;flex-wrap:wrap;gap:16px}:host ngu-carousel{max-width:100vw}:host ngu-item a{margin-right:16px}:host .show-more{display:flex;justify-content:flex-end;width:100%;height:auto}:host .show-more button{color:var(--more-options-color);background-color:transparent;font-size:16px;font-weight:500;line-height:145%;letter-spacing:.32px;text-decoration-line:underline;text-align:center}.more-options{display:flex;flex-wrap:wrap;gap:16px}.more-options .cta{height:auto}.cta{flex:1;display:flex;flex-direction:column;justify-content:center;align-items:center;gap:16px;min-width:150px;height:100%;min-height:150px;padding:24px 16px;border-radius:4px;border:1px solid var(--border-color);text-decoration:none}.cta p{color:var(--label-color);font-size:12px;font-weight:700;line-height:145%;letter-spacing:.32px;padding:0;margin:0;text-align:center}\n"], dependencies: [{ kind: "component", type: NguCarousel, selector: "ngu-carousel", inputs: ["inputs", "dataSource", "trackBy"], outputs: ["carouselLoad", "onMove"] }, { kind: "component", type: NguItemComponent, selector: "ngu-item" }, { kind: "directive", type: NguCarouselDefDirective, selector: "[nguCarouselDef]" }, { kind: "directive", type: RdsiteLinkDirective, selector: "[rdsitelink]", inputs: ["anchorAdjustment", "anchorExtraAdjustment", "phonemodal"] }] }); }
|
|
18708
|
+
}
|
|
18709
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: CtaWrapperComponent, decorators: [{
|
|
18710
|
+
type: Component,
|
|
18711
|
+
args: [{ selector: 'rdsite-cta-wrapper', standalone: true, imports: [NguCarousel, NguItemComponent, NguCarouselDefDirective, RdsiteLinkDirective], schemas: [CUSTOM_ELEMENTS_SCHEMA], template: "@if (!seeMoreControl) {\n @if (!bannerControl) {\n <ngu-carousel #nguCarouselCtas [inputs]=\"carouselCtasConfig\" [dataSource]=\"ctas\">\n <ngu-item *nguCarouselDef=\"let cta; let i = index\">\n <a rdsitelink class=\"cta\" [href]=\"cta?.link\">\n @if (cta?.icon) {\n <cura-icon [attr.name]=\"cta?.icon\" size=\"24\" [color]=\"colors.icon\"></cura-icon>\n }\n <p>{{ cta?.label }}</p>\n </a>\n </ngu-item>\n </ngu-carousel>\n @if (ctas.length > 3) {\n <div class=\"show-more\">\n <button type=\"button\" (click)=\"moreOptions()\">Mais op\u00E7\u00F5es</button>\n </div>\n }\n } @else {\n @for (cta of ctas; track cta) {\n <a rdsitelink class=\"cta\" [href]=\"cta?.link\">\n @if (cta?.icon) {\n <cura-icon [attr.name]=\"cta?.icon\" size=\"24\" [color]=\"colors.icon\"></cura-icon>\n }\n <p>{{ cta?.label }}</p>\n </a>\n }\n }\n}\n@if (seeMoreControl) {\n <div class=\"more-options\">\n @for (cta of ctas; track cta) {\n <a rdsitelink class=\"cta\" [href]=\"cta?.link\">\n @if (cta?.icon) {\n <cura-icon [attr.name]=\"cta?.icon\" size=\"24\" [color]=\"colors.icon\"></cura-icon>\n }\n <p>{{ cta?.label }}</p>\n </a>\n }\n </div>\n}\n", styles: [":host{display:flex;flex-wrap:wrap;gap:16px}:host ngu-carousel{max-width:100vw}:host ngu-item a{margin-right:16px}:host .show-more{display:flex;justify-content:flex-end;width:100%;height:auto}:host .show-more button{color:var(--more-options-color);background-color:transparent;font-size:16px;font-weight:500;line-height:145%;letter-spacing:.32px;text-decoration-line:underline;text-align:center}.more-options{display:flex;flex-wrap:wrap;gap:16px}.more-options .cta{height:auto}.cta{flex:1;display:flex;flex-direction:column;justify-content:center;align-items:center;gap:16px;min-width:150px;height:100%;min-height:150px;padding:24px 16px;border-radius:4px;border:1px solid var(--border-color);text-decoration:none}.cta p{color:var(--label-color);font-size:12px;font-weight:700;line-height:145%;letter-spacing:.32px;padding:0;margin:0;text-align:center}\n"] }]
|
|
18712
|
+
}], ctorParameters: () => [{ type: CuraService }, { type: NguCarouselService }, { type: undefined, decorators: [{
|
|
18713
|
+
type: Inject,
|
|
18714
|
+
args: [PLATFORM_ID]
|
|
18715
|
+
}] }], propDecorators: { ctas: [{
|
|
18716
|
+
type: Input
|
|
18717
|
+
}], colors: [{
|
|
18718
|
+
type: Input
|
|
18719
|
+
}], nguCarouselCtas: [{
|
|
18720
|
+
type: ViewChild,
|
|
18721
|
+
args: ['nguCarouselCtas']
|
|
18722
|
+
}], onWindowResize: [{
|
|
18723
|
+
type: HostListener,
|
|
18724
|
+
args: ['window:resize']
|
|
18725
|
+
}], styleBinding: [{
|
|
18726
|
+
type: HostBinding,
|
|
18727
|
+
args: ['style']
|
|
18728
|
+
}], class: [{
|
|
18729
|
+
type: HostBinding,
|
|
18730
|
+
args: ['class.wp-content-wrapper']
|
|
18731
|
+
}] } });
|
|
18732
|
+
|
|
18641
18733
|
class BreadcrumbsComponent {
|
|
18642
|
-
|
|
18734
|
+
set breadcrumbs(value) {
|
|
18735
|
+
this._breadcrumbs = value || [];
|
|
18736
|
+
if (value.length) {
|
|
18737
|
+
this.setBreadcrumbsJson(value);
|
|
18738
|
+
}
|
|
18739
|
+
}
|
|
18740
|
+
get breadcrumbs() {
|
|
18741
|
+
return this._breadcrumbs;
|
|
18742
|
+
}
|
|
18743
|
+
constructor(curaService, libConfig, document) {
|
|
18643
18744
|
this.curaService = curaService;
|
|
18644
|
-
this.
|
|
18745
|
+
this.libConfig = libConfig;
|
|
18746
|
+
this.document = document;
|
|
18747
|
+
this.fontColor = this.curaService.getColor('primary');
|
|
18748
|
+
this._breadcrumbs = [];
|
|
18749
|
+
this.breadcrumbsJsonTagId = 'breadcrumbsJSON';
|
|
18645
18750
|
this.style = {
|
|
18646
|
-
'--font-
|
|
18751
|
+
'--font-size': this.curaService.getFontSize(),
|
|
18752
|
+
'--font-color': this.fontColor,
|
|
18647
18753
|
'--symbol-color': this.curaService.getColor('neutral-dark'),
|
|
18648
18754
|
};
|
|
18649
18755
|
}
|
|
18650
|
-
|
|
18651
|
-
return
|
|
18756
|
+
getUrl(urls = []) {
|
|
18757
|
+
return urls.join('');
|
|
18758
|
+
}
|
|
18759
|
+
setBreadcrumbsJson(items) {
|
|
18760
|
+
this.breadcrumbsJsonTag = this.getBreadcrumbsJSONTag();
|
|
18761
|
+
const json = {
|
|
18762
|
+
'@context': 'http://schema.org',
|
|
18763
|
+
'@type': 'BreadcrumbList',
|
|
18764
|
+
itemListElement: this.getJsonBreadcrumbItems(items),
|
|
18765
|
+
};
|
|
18766
|
+
this.breadcrumbsJsonTag.innerHTML = JSON.stringify(json);
|
|
18767
|
+
return this;
|
|
18768
|
+
}
|
|
18769
|
+
getBreadcrumbsJSONTag() {
|
|
18770
|
+
const elements = this.document.head.children;
|
|
18771
|
+
let i;
|
|
18772
|
+
for (i = 0; i < elements.length; i++) {
|
|
18773
|
+
const elem = elements[i];
|
|
18774
|
+
if (elem && elem.id === this.breadcrumbsJsonTagId) {
|
|
18775
|
+
return elem;
|
|
18776
|
+
}
|
|
18777
|
+
}
|
|
18778
|
+
return this.createBreadcrumbsJSONTag();
|
|
18779
|
+
}
|
|
18780
|
+
createBreadcrumbsJSONTag() {
|
|
18781
|
+
const tag = this.document.createElement('script');
|
|
18782
|
+
tag.id = this.breadcrumbsJsonTagId;
|
|
18783
|
+
tag.type = 'application/ld+json';
|
|
18784
|
+
this.document.head.appendChild(tag);
|
|
18785
|
+
this.breadcrumbsJsonTag = tag;
|
|
18786
|
+
return tag;
|
|
18652
18787
|
}
|
|
18653
|
-
|
|
18654
|
-
|
|
18788
|
+
getJsonBreadcrumbItems(items) {
|
|
18789
|
+
return items.map((item, i) => {
|
|
18790
|
+
const jsonItem = {
|
|
18791
|
+
'@type': 'ListItem',
|
|
18792
|
+
position: i + 2,
|
|
18793
|
+
item: {
|
|
18794
|
+
'@id': `${this.libConfig.siteUrl.replace(/\/$/, '')}${this.getUrl(item.url)}`,
|
|
18795
|
+
name: he.encode(item.label),
|
|
18796
|
+
},
|
|
18797
|
+
};
|
|
18798
|
+
return jsonItem;
|
|
18799
|
+
});
|
|
18800
|
+
}
|
|
18801
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: BreadcrumbsComponent, deps: [{ token: CuraService }, { token: LIB_CONFIG }, { token: DOCUMENT }], target: i0.ɵɵFactoryTarget.Component }); }
|
|
18802
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "17.3.12", type: BreadcrumbsComponent, isStandalone: true, selector: "rdsite-breadcrumbs", inputs: { fontColor: "fontColor", breadcrumbs: "breadcrumbs" }, host: { properties: { "style": "this.style" } }, ngImport: i0, template: "@if (breadcrumbs.length) {\n <nav class=\"breadcrumbs\" aria-label=\"breadcrumbs\">\n <ul>\n @for (item of breadcrumbs; track item.label; let i = $index; let last = $last; let first = $first) {\n <li>\n @if (item.url) {\n <a [href]=\"item.url\" rdsitelink [class.last]=\"last\">\n @if (first && item.icon) {\n <cura-icon [name]=\"item.icon\" [color]=\"item.iconColor\" [size]=\"item.iconSize\" [disabled]=\"item.iconDisabled\"> </cura-icon>\n }\n {{ item.label }}\n </a>\n } @else {\n @if (first && item.icon) {\n <cura-icon [name]=\"item.icon\" [color]=\"item.iconColor\" [size]=\"item.iconSize\" [disabled]=\"item.iconDisabled\"> </cura-icon>\n }\n <p [class.last]=\"last\">{{ item.label }}</p>\n }\n @if (!last && breadcrumbs.length > 1) {\n <span>/</span>\n }\n </li>\n }\n </ul>\n </nav>\n}\n", styles: [".breadcrumbs{padding-block:16px;margin:0}ul{display:flex;justify-content:start;align-items:center;gap:8px;margin:0;padding:0}li{display:flex;justify-content:center;align-items:center;margin:0;padding:0;font-size:var(--font-size);font-weight:500;color:var(--font-color)}.last{color:var(--symbol-color);text-decoration:none}li span{margin-left:8px;color:var(--symbol-color)}a{display:flex;justify-content:space-between;align-items:flex-end;gap:4px;text-align:center;padding:0;text-decoration:underline;text-decoration-style:solid;text-decoration-skip-ink:none;text-decoration-thickness:1px;text-underline-offset:auto;text-decoration-color:var(--font-color);font-size:12px;color:var(--font-color)}a:hover{text-decoration:none;transition:text-decoration .5s ease-in-out}\n"], dependencies: [{ kind: "ngmodule", type: CommonModule }, { kind: "directive", type: RdsiteLinkDirective, selector: "[rdsitelink]", inputs: ["anchorAdjustment", "anchorExtraAdjustment", "phonemodal"] }] }); }
|
|
18655
18803
|
}
|
|
18656
18804
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: BreadcrumbsComponent, decorators: [{
|
|
18657
18805
|
type: Component,
|
|
18658
|
-
args: [{ selector: 'rdsite-breadcrumbs', standalone: true, imports: [CommonModule, RdsiteLinkDirective], schemas: [CUSTOM_ELEMENTS_SCHEMA], template: "<nav class=\"breadcrumbs\" aria-label=\"breadcrumbs\">\n
|
|
18659
|
-
}], ctorParameters: () => [{ type: CuraService }
|
|
18806
|
+
args: [{ selector: 'rdsite-breadcrumbs', standalone: true, imports: [CommonModule, RdsiteLinkDirective], schemas: [CUSTOM_ELEMENTS_SCHEMA], template: "@if (breadcrumbs.length) {\n <nav class=\"breadcrumbs\" aria-label=\"breadcrumbs\">\n <ul>\n @for (item of breadcrumbs; track item.label; let i = $index; let last = $last; let first = $first) {\n <li>\n @if (item.url) {\n <a [href]=\"item.url\" rdsitelink [class.last]=\"last\">\n @if (first && item.icon) {\n <cura-icon [name]=\"item.icon\" [color]=\"item.iconColor\" [size]=\"item.iconSize\" [disabled]=\"item.iconDisabled\"> </cura-icon>\n }\n {{ item.label }}\n </a>\n } @else {\n @if (first && item.icon) {\n <cura-icon [name]=\"item.icon\" [color]=\"item.iconColor\" [size]=\"item.iconSize\" [disabled]=\"item.iconDisabled\"> </cura-icon>\n }\n <p [class.last]=\"last\">{{ item.label }}</p>\n }\n @if (!last && breadcrumbs.length > 1) {\n <span>/</span>\n }\n </li>\n }\n </ul>\n </nav>\n}\n", styles: [".breadcrumbs{padding-block:16px;margin:0}ul{display:flex;justify-content:start;align-items:center;gap:8px;margin:0;padding:0}li{display:flex;justify-content:center;align-items:center;margin:0;padding:0;font-size:var(--font-size);font-weight:500;color:var(--font-color)}.last{color:var(--symbol-color);text-decoration:none}li span{margin-left:8px;color:var(--symbol-color)}a{display:flex;justify-content:space-between;align-items:flex-end;gap:4px;text-align:center;padding:0;text-decoration:underline;text-decoration-style:solid;text-decoration-skip-ink:none;text-decoration-thickness:1px;text-underline-offset:auto;text-decoration-color:var(--font-color);font-size:12px;color:var(--font-color)}a:hover{text-decoration:none;transition:text-decoration .5s ease-in-out}\n"] }]
|
|
18807
|
+
}], ctorParameters: () => [{ type: CuraService }, { type: undefined, decorators: [{
|
|
18808
|
+
type: Inject,
|
|
18809
|
+
args: [LIB_CONFIG]
|
|
18810
|
+
}] }, { type: Document, decorators: [{
|
|
18811
|
+
type: Inject,
|
|
18812
|
+
args: [DOCUMENT]
|
|
18813
|
+
}] }], propDecorators: { fontColor: [{
|
|
18814
|
+
type: Input
|
|
18815
|
+
}], breadcrumbs: [{
|
|
18660
18816
|
type: Input
|
|
18661
18817
|
}], style: [{
|
|
18662
18818
|
type: HostBinding,
|
|
18663
18819
|
args: ['style']
|
|
18664
18820
|
}] } });
|
|
18665
18821
|
|
|
18822
|
+
var Estados;
|
|
18823
|
+
(function (Estados) {
|
|
18824
|
+
Estados["AC"] = "Acre";
|
|
18825
|
+
Estados["AL"] = "Alagoas";
|
|
18826
|
+
Estados["AP"] = "Amap\u00E1";
|
|
18827
|
+
Estados["AM"] = "Amazonas";
|
|
18828
|
+
Estados["BA"] = "Bahia";
|
|
18829
|
+
Estados["CE"] = "Cear\u00E1";
|
|
18830
|
+
Estados["DF"] = "Distrito Federal";
|
|
18831
|
+
Estados["ES"] = "Esp\u00EDrito Santo";
|
|
18832
|
+
Estados["GO"] = "Go\u00EDas";
|
|
18833
|
+
Estados["MA"] = "Maranh\u00E3o";
|
|
18834
|
+
Estados["MT"] = "Mato Grosso";
|
|
18835
|
+
Estados["MS"] = "Mato Grosso do Sul";
|
|
18836
|
+
Estados["MG"] = "Minas Gerais";
|
|
18837
|
+
Estados["PA"] = "Par\u00E1";
|
|
18838
|
+
Estados["PB"] = "Para\u00EDba";
|
|
18839
|
+
Estados["PR"] = "Paran\u00E1";
|
|
18840
|
+
Estados["PE"] = "Pernambuco";
|
|
18841
|
+
Estados["PI"] = "Piau\u00ED";
|
|
18842
|
+
Estados["RJ"] = "Rio de Janeiro";
|
|
18843
|
+
Estados["RN"] = "Rio Grande do Norte";
|
|
18844
|
+
Estados["RS"] = "Rio Grande do Sul";
|
|
18845
|
+
Estados["RO"] = "Rond\u00F4nia";
|
|
18846
|
+
Estados["RR"] = "Rora\u00EDma";
|
|
18847
|
+
Estados["SC"] = "Santa Catarina";
|
|
18848
|
+
Estados["SP"] = "S\u00E3o Paulo";
|
|
18849
|
+
Estados["SE"] = "Sergipe";
|
|
18850
|
+
Estados["TO"] = "Tocantins";
|
|
18851
|
+
})(Estados || (Estados = {}));
|
|
18852
|
+
|
|
18853
|
+
var EnumDoencaTaxonomy;
|
|
18854
|
+
(function (EnumDoencaTaxonomy) {
|
|
18855
|
+
EnumDoencaTaxonomy["DOENCAS_CAT"] = "doencas_cat";
|
|
18856
|
+
EnumDoencaTaxonomy["DOENCAS_TAG"] = "doencas_tag";
|
|
18857
|
+
})(EnumDoencaTaxonomy || (EnumDoencaTaxonomy = {}));
|
|
18858
|
+
var EnumDoencaTaxonomyCat;
|
|
18859
|
+
(function (EnumDoencaTaxonomyCat) {
|
|
18860
|
+
EnumDoencaTaxonomyCat["DOENCA"] = "doencas";
|
|
18861
|
+
EnumDoencaTaxonomyCat["SINTOMA"] = "sintomas";
|
|
18862
|
+
})(EnumDoencaTaxonomyCat || (EnumDoencaTaxonomyCat = {}));
|
|
18863
|
+
|
|
18864
|
+
var RdsiteModalDrawerComponentStyle;
|
|
18865
|
+
(function (RdsiteModalDrawerComponentStyle) {
|
|
18866
|
+
RdsiteModalDrawerComponentStyle["DEFAULT"] = "default";
|
|
18867
|
+
RdsiteModalDrawerComponentStyle["DRAWERDOCTOR"] = "doctor-card";
|
|
18868
|
+
RdsiteModalDrawerComponentStyle["FORMFALLBACK"] = "form-fallback";
|
|
18869
|
+
})(RdsiteModalDrawerComponentStyle || (RdsiteModalDrawerComponentStyle = {}));
|
|
18870
|
+
|
|
18871
|
+
var Themes;
|
|
18872
|
+
(function (Themes) {
|
|
18873
|
+
Themes["REDE"] = "default";
|
|
18874
|
+
Themes["MATERNIDADE"] = "maternidade";
|
|
18875
|
+
Themes["ONCO"] = "oncologia";
|
|
18876
|
+
Themes["RICHET"] = "richet";
|
|
18877
|
+
})(Themes || (Themes = {}));
|
|
18878
|
+
|
|
18879
|
+
var Errors;
|
|
18880
|
+
(function (Errors) {
|
|
18881
|
+
Errors["NOT_FOUND"] = "not-found";
|
|
18882
|
+
Errors["SERVER_RESPONSE"] = "server-response";
|
|
18883
|
+
})(Errors || (Errors = {}));
|
|
18884
|
+
|
|
18885
|
+
class ErrorService {
|
|
18886
|
+
constructor() {
|
|
18887
|
+
this.ctas = new BehaviorSubject([]);
|
|
18888
|
+
}
|
|
18889
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: ErrorService, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
18890
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: ErrorService, providedIn: 'root' }); }
|
|
18891
|
+
}
|
|
18892
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: ErrorService, decorators: [{
|
|
18893
|
+
type: Injectable,
|
|
18894
|
+
args: [{
|
|
18895
|
+
providedIn: 'root',
|
|
18896
|
+
}]
|
|
18897
|
+
}] });
|
|
18898
|
+
|
|
18899
|
+
class ErrorComponent {
|
|
18900
|
+
constructor(errorService, curaService, logService, seoService, serverResponse, platformId) {
|
|
18901
|
+
this.errorService = errorService;
|
|
18902
|
+
this.curaService = curaService;
|
|
18903
|
+
this.logService = logService;
|
|
18904
|
+
this.seoService = seoService;
|
|
18905
|
+
this.serverResponse = serverResponse;
|
|
18906
|
+
this.platformId = platformId;
|
|
18907
|
+
this.theme = Themes.REDE;
|
|
18908
|
+
this.pageTitle = 'Default component';
|
|
18909
|
+
this.component = 'DefaultComponent';
|
|
18910
|
+
this.responseText = '';
|
|
18911
|
+
this.error = Errors;
|
|
18912
|
+
}
|
|
18913
|
+
ngOnInit() {
|
|
18914
|
+
if (this.type === Errors.NOT_FOUND) {
|
|
18915
|
+
this.responseText = 'A página que você acessou não existe mais ou foi movida para outra URL';
|
|
18916
|
+
if (isPlatformServer(this.platformId)) {
|
|
18917
|
+
this.serverResponse.setNotFound();
|
|
18918
|
+
}
|
|
18919
|
+
this.logService.log404(this.component);
|
|
18920
|
+
this.seoService.set404Title(this.pageTitle);
|
|
18921
|
+
}
|
|
18922
|
+
else if (this.type === Errors.SERVER_RESPONSE) {
|
|
18923
|
+
this.responseText = 'Recomendamos atualizar a página ou tentar novamente mais tarde.';
|
|
18924
|
+
if (isPlatformServer(this.platformId)) {
|
|
18925
|
+
this.serverResponse.setError();
|
|
18926
|
+
}
|
|
18927
|
+
this.logService.log500(this.component);
|
|
18928
|
+
this.seoService.set500Title(this.pageTitle);
|
|
18929
|
+
}
|
|
18930
|
+
this.ctasSubscription = this.errorService.ctas.subscribe((ctas) => {
|
|
18931
|
+
this.ctas = ctas;
|
|
18932
|
+
});
|
|
18933
|
+
}
|
|
18934
|
+
ngAfterViewInit() {
|
|
18935
|
+
this.setTheme(this.theme);
|
|
18936
|
+
}
|
|
18937
|
+
setTheme(theme) {
|
|
18938
|
+
switch (theme) {
|
|
18939
|
+
case Themes.REDE:
|
|
18940
|
+
this.backgroundColor = this.curaService.getColor('neutral-white') ?? '';
|
|
18941
|
+
this.labelColor = this.curaService.getColor('primary-lighter') ?? '';
|
|
18942
|
+
this.labelTextColor = 'primary-dark';
|
|
18943
|
+
this.curaButtonColor = 'primary';
|
|
18944
|
+
this.curaButtonOutlineColor = 'primary';
|
|
18945
|
+
this.ctasBorderColor = 'primary-darker';
|
|
18946
|
+
this.ctasIconColor = 'primary-darker';
|
|
18947
|
+
break;
|
|
18948
|
+
case Themes.ONCO:
|
|
18949
|
+
this.backgroundColor = this.curaService.getColor('neutral-light') ?? '';
|
|
18950
|
+
this.labelColor = this.curaService.getColor('auxiliar-lighter') ?? '';
|
|
18951
|
+
this.labelTextColor = 'primary-lighter';
|
|
18952
|
+
this.curaButtonColor = 'accent';
|
|
18953
|
+
this.curaButtonOutlineColor = 'accent';
|
|
18954
|
+
this.ctasBorderColor = 'accent-base';
|
|
18955
|
+
this.ctasIconColor = 'primary-base';
|
|
18956
|
+
break;
|
|
18957
|
+
case Themes.MATERNIDADE:
|
|
18958
|
+
this.backgroundColor = this.curaService.getColor('accent-lighter') ?? '';
|
|
18959
|
+
this.labelColor = this.curaService.getColor('primary-light') ?? '';
|
|
18960
|
+
this.labelTextColor = 'accent-base';
|
|
18961
|
+
this.curaButtonColor = 'accent';
|
|
18962
|
+
this.curaButtonOutlineColor = 'accent';
|
|
18963
|
+
this.ctasBorderColor = 'accent-base';
|
|
18964
|
+
this.ctasIconColor = 'accent-base';
|
|
18965
|
+
break;
|
|
18966
|
+
case Themes.RICHET:
|
|
18967
|
+
this.backgroundColor = this.curaService.getColor('neutral-white') ?? '';
|
|
18968
|
+
this.labelColor = this.curaService.getColor('primary-lighter') ?? '';
|
|
18969
|
+
this.labelTextColor = 'primary-dark';
|
|
18970
|
+
this.curaButtonColor = 'primary';
|
|
18971
|
+
this.curaButtonOutlineColor = 'primary';
|
|
18972
|
+
this.ctasBorderColor = 'primary-darker';
|
|
18973
|
+
this.ctasIconColor = 'primary-darker';
|
|
18974
|
+
break;
|
|
18975
|
+
}
|
|
18976
|
+
this.errorElement.nativeElement.style.setProperty('--backgroundColor', this.backgroundColor);
|
|
18977
|
+
this.errorElement.nativeElement.style.setProperty('--labelColor', this.labelColor);
|
|
18978
|
+
}
|
|
18979
|
+
reloadPage() {
|
|
18980
|
+
if (window !== undefined) {
|
|
18981
|
+
window.location.reload();
|
|
18982
|
+
}
|
|
18983
|
+
}
|
|
18984
|
+
ngOnDestroy() {
|
|
18985
|
+
this.ctasSubscription?.unsubscribe();
|
|
18986
|
+
}
|
|
18987
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: ErrorComponent, deps: [{ token: ErrorService }, { token: CuraService }, { token: LogService }, { token: SeoService }, { token: ServerResponseService }, { token: PLATFORM_ID }], target: i0.ɵɵFactoryTarget.Component }); }
|
|
18988
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "17.3.12", type: ErrorComponent, isStandalone: true, selector: "rdsite-error", inputs: { theme: "theme", type: "type", returnRoute: "returnRoute", returnLabel: "returnLabel", pageTitle: "pageTitle", component: "component", breadcrumbsItems: "breadcrumbsItems" }, viewQueries: [{ propertyName: "errorElement", first: true, predicate: ["errorElement"], descendants: true }], ngImport: i0, template: "<div class=\"rdsite-error\" #errorElement>\n <rdsite-breadcrumbs [breadcrumbs]=\"breadcrumbsItems\" [fontColor]=\"ctasBorderColor\"></rdsite-breadcrumbs>\n <div class=\"rdsite-error-container\">\n <cura-label [color]=\"labelTextColor\">\n {{ type === 'server-response' ? '500' : '404' }}\n </cura-label>\n\n <cura-heading color=\"neutral-black\" size=\"medium\" weight=\"bold\"> Algo deu errado :( </cura-heading>\n\n <cura-paragraph color=\"neutral-black\" size=\"large\">\n {{ responseText }}\n </cura-paragraph>\n\n @if (type === error.NOT_FOUND && returnRoute && returnLabel) {\n <cura-button\n rdsitelink\n [href]=\"returnRoute\"\n size=\"medium\"\n type=\"button\"\n [color]=\"curaButtonColor\"\n font-color=\"light\"\n icon-name=\"arrowLeft\"\n target=\"_self\"\n >\n Voltar para {{ returnLabel }}\n </cura-button>\n }\n\n @if (type === error.SERVER_RESPONSE) {\n @if (curaButtonColor) {\n <cura-button size=\"medium\" type=\"button\" (click)=\"reloadPage()\" [attr.color]=\"curaButtonColor\" font-color=\"light\" icon-name=\"arrowLeft\" target=\"_self\">\n Atualizar p\u00E1gina novamente\n </cura-button>\n }\n\n @if (returnLabel && returnRoute) {\n <cura-paragraph color=\"neutral-black\" size=\"large\">ou</cura-paragraph>\n @if (curaButtonOutlineColor) {\n <cura-button-outline\n rdsitelink\n [href]=\"returnRoute\"\n size=\"medium\"\n type=\"button\"\n [color]=\"curaButtonOutlineColor\"\n icon-name=\"arrowLeft\"\n target=\"_self\"\n >\n Voltar para {{ returnLabel }}\n </cura-button-outline>\n }\n }\n }\n\n <cura-paragraph class=\"wrapper-text\" color=\"neutral-black\" size=\"large\"> Voc\u00EA pode tamb\u00E9m: </cura-paragraph>\n\n @if (ctas.length > 0) {\n <rdsite-cta-wrapper [ctas]=\"ctas\" [colors]=\"{ border: ctasBorderColor, icon: ctasIconColor }\"></rdsite-cta-wrapper>\n }\n </div>\n</div>\n", styles: [".richet-container,.rdsite-error-container,.rdsite-error rdsite-breadcrumbs{display:block;box-sizing:border-box;width:90%;position:relative;max-width:1366px;margin-left:auto;margin-right:auto}.rdsite-error{width:100%;background-color:var(--backgroundColor)}.rdsite-error-container{padding:48px 0 40px}.rdsite-error-container cura-label{width:fit-content;padding:var(--sizes-space-tiny, 4px);border-radius:var(--sizes-cornerRadius-nano, 2px);background:var(--labelColor)}.rdsite-error-container cura-heading{--margin-block: 40px}.rdsite-error-container cura-paragraph.wrapper-text{margin-top:80px}\n"], dependencies: [{ kind: "component", type: CtaWrapperComponent, selector: "rdsite-cta-wrapper", inputs: ["ctas", "colors"] }, { kind: "directive", type: RdsiteLinkDirective, selector: "[rdsitelink]", inputs: ["anchorAdjustment", "anchorExtraAdjustment", "phonemodal"] }, { kind: "component", type: BreadcrumbsComponent, selector: "rdsite-breadcrumbs", inputs: ["fontColor", "breadcrumbs"] }] }); }
|
|
18989
|
+
}
|
|
18990
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: ErrorComponent, decorators: [{
|
|
18991
|
+
type: Component,
|
|
18992
|
+
args: [{ selector: 'rdsite-error', standalone: true, imports: [CtaWrapperComponent, RdsiteLinkDirective, BreadcrumbsComponent], schemas: [CUSTOM_ELEMENTS_SCHEMA], template: "<div class=\"rdsite-error\" #errorElement>\n <rdsite-breadcrumbs [breadcrumbs]=\"breadcrumbsItems\" [fontColor]=\"ctasBorderColor\"></rdsite-breadcrumbs>\n <div class=\"rdsite-error-container\">\n <cura-label [color]=\"labelTextColor\">\n {{ type === 'server-response' ? '500' : '404' }}\n </cura-label>\n\n <cura-heading color=\"neutral-black\" size=\"medium\" weight=\"bold\"> Algo deu errado :( </cura-heading>\n\n <cura-paragraph color=\"neutral-black\" size=\"large\">\n {{ responseText }}\n </cura-paragraph>\n\n @if (type === error.NOT_FOUND && returnRoute && returnLabel) {\n <cura-button\n rdsitelink\n [href]=\"returnRoute\"\n size=\"medium\"\n type=\"button\"\n [color]=\"curaButtonColor\"\n font-color=\"light\"\n icon-name=\"arrowLeft\"\n target=\"_self\"\n >\n Voltar para {{ returnLabel }}\n </cura-button>\n }\n\n @if (type === error.SERVER_RESPONSE) {\n @if (curaButtonColor) {\n <cura-button size=\"medium\" type=\"button\" (click)=\"reloadPage()\" [attr.color]=\"curaButtonColor\" font-color=\"light\" icon-name=\"arrowLeft\" target=\"_self\">\n Atualizar p\u00E1gina novamente\n </cura-button>\n }\n\n @if (returnLabel && returnRoute) {\n <cura-paragraph color=\"neutral-black\" size=\"large\">ou</cura-paragraph>\n @if (curaButtonOutlineColor) {\n <cura-button-outline\n rdsitelink\n [href]=\"returnRoute\"\n size=\"medium\"\n type=\"button\"\n [color]=\"curaButtonOutlineColor\"\n icon-name=\"arrowLeft\"\n target=\"_self\"\n >\n Voltar para {{ returnLabel }}\n </cura-button-outline>\n }\n }\n }\n\n <cura-paragraph class=\"wrapper-text\" color=\"neutral-black\" size=\"large\"> Voc\u00EA pode tamb\u00E9m: </cura-paragraph>\n\n @if (ctas.length > 0) {\n <rdsite-cta-wrapper [ctas]=\"ctas\" [colors]=\"{ border: ctasBorderColor, icon: ctasIconColor }\"></rdsite-cta-wrapper>\n }\n </div>\n</div>\n", styles: [".richet-container,.rdsite-error-container,.rdsite-error rdsite-breadcrumbs{display:block;box-sizing:border-box;width:90%;position:relative;max-width:1366px;margin-left:auto;margin-right:auto}.rdsite-error{width:100%;background-color:var(--backgroundColor)}.rdsite-error-container{padding:48px 0 40px}.rdsite-error-container cura-label{width:fit-content;padding:var(--sizes-space-tiny, 4px);border-radius:var(--sizes-cornerRadius-nano, 2px);background:var(--labelColor)}.rdsite-error-container cura-heading{--margin-block: 40px}.rdsite-error-container cura-paragraph.wrapper-text{margin-top:80px}\n"] }]
|
|
18993
|
+
}], ctorParameters: () => [{ type: ErrorService }, { type: CuraService }, { type: LogService }, { type: SeoService }, { type: ServerResponseService }, { type: undefined, decorators: [{
|
|
18994
|
+
type: Inject,
|
|
18995
|
+
args: [PLATFORM_ID]
|
|
18996
|
+
}] }], propDecorators: { theme: [{
|
|
18997
|
+
type: Input
|
|
18998
|
+
}], type: [{
|
|
18999
|
+
type: Input
|
|
19000
|
+
}], returnRoute: [{
|
|
19001
|
+
type: Input
|
|
19002
|
+
}], returnLabel: [{
|
|
19003
|
+
type: Input
|
|
19004
|
+
}], pageTitle: [{
|
|
19005
|
+
type: Input
|
|
19006
|
+
}], component: [{
|
|
19007
|
+
type: Input
|
|
19008
|
+
}], breadcrumbsItems: [{
|
|
19009
|
+
type: Input
|
|
19010
|
+
}], errorElement: [{
|
|
19011
|
+
type: ViewChild,
|
|
19012
|
+
args: ['errorElement']
|
|
19013
|
+
}] } });
|
|
19014
|
+
|
|
18666
19015
|
class PageHeaderComponent {
|
|
18667
19016
|
get headerClasses() {
|
|
18668
19017
|
return [this.layoutStyle === 'aligned' ? 'aligned-content' : '', this.useBackgroundImage ? 'with-bg-image' : ''].filter(Boolean).join(' ');
|
|
@@ -18690,7 +19039,7 @@ class PageHeaderComponent {
|
|
|
18690
19039
|
this.breadcrumbsItems = [];
|
|
18691
19040
|
}
|
|
18692
19041
|
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: PageHeaderComponent, deps: [{ token: CuraService }], target: i0.ɵɵFactoryTarget.Component }); }
|
|
18693
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "17.3.12", type: PageHeaderComponent, isStandalone: true, selector: "rdsite-page-header", inputs: { layoutStyle: "layoutStyle", pageTitle: "pageTitle", pageSubtitle: "pageSubtitle", headerImageUrl: "headerImageUrl", useBackgroundImage: "useBackgroundImage", showBreadcrumbs: "showBreadcrumbs", breadcrumbsItems: "breadcrumbsItems" }, host: { properties: { "style": "this.hostStyles" } }, ngImport: i0, template: "<header class=\"page-header\" [ngClass]=\"headerClasses\">\n <!-- Imagem de fundo do cabe\u00E7alho (opcional) -->\n @if (shouldShowHeaderImage) {\n <div class=\"header-background\">\n <img [src]=\"headerImageUrl\" [alt]=\"pageTitle\" />\n </div>\n }\n\n <!-- Conte\u00FAdo do cabe\u00E7alho -->\n <div class=\"header-content\">\n <!-- Breadcrumbs -->\n @if (shouldShowBreadcrumbs) {\n <rdsite-breadcrumbs [items]=\"breadcrumbsItems\"></rdsite-breadcrumbs>\n }\n\n <!-- T\u00EDtulo e subt\u00EDtulo -->\n @if (pageTitle) {\n <cura-display color=\"neutral-purewhite\" margin-block=\"12\">\n {{ pageTitle }}\n </cura-display>\n }\n\n @if (pageSubtitle) {\n <cura-paragraph color=\"neutral-purewhite\" [innerHTML]=\"pageSubtitle\"></cura-paragraph>\n }\n\n <!-- Conte\u00FAdo customizado -->\n <ng-content></ng-content>\n </div>\n</header>\n", styles: [".page-header{position:relative;width:100%;min-height:272px;display:flex;flex-direction:column;justify-content:center;background-color:var(--header-bg-color);padding:50px 140px 50px 142px}.page-header::ng-deep *{font-family:Gotham,Arial,Helvetica,sans-serif}.page-header.with-bg-image{background-color:transparent}.page-header.with-bg-image .header-background img{position:absolute;top:0;right:0;height:100%;max-width:100%;object-fit:cover;opacity:.7}.page-header .header-background{position:absolute;top:0;left:0;width:100%;height:100%;z-index:0;background-color:var(--header-bg-color)}.page-header .header-background img{width:100%;height:100%;object-fit:cover;opacity:.3}.page-header .header-content{position:relative;z-index:1;width:100%;max-width:688px!important;text-align:left}@media (max-width: 361px){.page-header{padding:20px 15px;min-height:148px}}@media (min-width: 361px) and (max-width: 769px){.page-header{padding:30px 40px}}@media (min-width: 769px) and (max-width: 1024px){.page-header{padding:40px 90px}}@media (min-width: 1024px) and (max-width: 1366px){.page-header{padding:45px 52px}}\n"], dependencies: [{ kind: "ngmodule", type: CommonModule }, { kind: "directive", type: i2.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { kind: "component", type: BreadcrumbsComponent, selector: "rdsite-breadcrumbs", inputs: ["
|
|
19042
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "17.3.12", type: PageHeaderComponent, isStandalone: true, selector: "rdsite-page-header", inputs: { layoutStyle: "layoutStyle", pageTitle: "pageTitle", pageSubtitle: "pageSubtitle", headerImageUrl: "headerImageUrl", useBackgroundImage: "useBackgroundImage", showBreadcrumbs: "showBreadcrumbs", breadcrumbsItems: "breadcrumbsItems" }, host: { properties: { "style": "this.hostStyles" } }, ngImport: i0, template: "<header class=\"page-header\" [ngClass]=\"headerClasses\">\n <!-- Imagem de fundo do cabe\u00E7alho (opcional) -->\n @if (shouldShowHeaderImage) {\n <div class=\"header-background\">\n <img [src]=\"headerImageUrl\" [alt]=\"pageTitle\" />\n </div>\n }\n\n <!-- Conte\u00FAdo do cabe\u00E7alho -->\n <div class=\"header-content\">\n <!-- Breadcrumbs -->\n @if (shouldShowBreadcrumbs) {\n <rdsite-breadcrumbs [items]=\"breadcrumbsItems\"></rdsite-breadcrumbs>\n }\n\n <!-- T\u00EDtulo e subt\u00EDtulo -->\n @if (pageTitle) {\n <cura-display color=\"neutral-purewhite\" margin-block=\"12\">\n {{ pageTitle }}\n </cura-display>\n }\n\n @if (pageSubtitle) {\n <cura-paragraph color=\"neutral-purewhite\" [innerHTML]=\"pageSubtitle\"></cura-paragraph>\n }\n\n <!-- Conte\u00FAdo customizado -->\n <ng-content></ng-content>\n </div>\n</header>\n", styles: [".page-header{position:relative;width:100%;min-height:272px;display:flex;flex-direction:column;justify-content:center;background-color:var(--header-bg-color);padding:50px 140px 50px 142px}.page-header::ng-deep *{font-family:Gotham,Arial,Helvetica,sans-serif}.page-header.with-bg-image{background-color:transparent}.page-header.with-bg-image .header-background img{position:absolute;top:0;right:0;height:100%;max-width:100%;object-fit:cover;opacity:.7}.page-header .header-background{position:absolute;top:0;left:0;width:100%;height:100%;z-index:0;background-color:var(--header-bg-color)}.page-header .header-background img{width:100%;height:100%;object-fit:cover;opacity:.3}.page-header .header-content{position:relative;z-index:1;width:100%;max-width:688px!important;text-align:left}@media (max-width: 361px){.page-header{padding:20px 15px;min-height:148px}}@media (min-width: 361px) and (max-width: 769px){.page-header{padding:30px 40px}}@media (min-width: 769px) and (max-width: 1024px){.page-header{padding:40px 90px}}@media (min-width: 1024px) and (max-width: 1366px){.page-header{padding:45px 52px}}\n"], dependencies: [{ kind: "ngmodule", type: CommonModule }, { kind: "directive", type: i2.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { kind: "component", type: BreadcrumbsComponent, selector: "rdsite-breadcrumbs", inputs: ["fontColor", "breadcrumbs"] }] }); }
|
|
18694
19043
|
}
|
|
18695
19044
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: PageHeaderComponent, decorators: [{
|
|
18696
19045
|
type: Component,
|
|
@@ -18720,7 +19069,7 @@ class PageTemplateSidebarComponent {
|
|
|
18720
19069
|
}
|
|
18721
19070
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: PageTemplateSidebarComponent, decorators: [{
|
|
18722
19071
|
type: Component,
|
|
18723
|
-
args: [{ selector: 'rdsite-page-template-sidebar', standalone: true, imports: [CommonModule], template: "<div class=\"page-template-sidebar\">\n <!-- Header Section -->\n <div class=\"header-content\">\n @if (headerContent) {\n <ng-container [ngTemplateOutlet]=\"headerContent\"></ng-container>\n }\n </div>\n\n <!-- Before Content Section -->\n <div class=\"before-content\">\n @if (beforeContent) {\n <ng-container [ngTemplateOutlet]=\"beforeContent\"></ng-container>\n }\n </div>\n\n <!-- Main Content -->\n <div class=\"main-content\">\n @if (mainContent) {\n <ng-container [ngTemplateOutlet]=\"mainContent\"></ng-container>\n }\n </div>\n\n <!-- Sidebars -->\n <div class=\"main-sidebar\">\n @if (mainSidebar) {\n <ng-container [ngTemplateOutlet]=\"mainSidebar\"></ng-container>\n }\n </div>\n <div class=\"secondary-sidebar\">\n @if (sidebarContent) {\n <ng-container [ngTemplateOutlet]=\"sidebarContent\"></ng-container>\n }\n </div>\n\n <!-- After Content -->\n <div class=\"after-content\">\n @if (afterContent) {\n <ng-container [ngTemplateOutlet]=\"afterContent\"></ng-container>\n }\n </div>\n</div>\n", styles: [".page-template-sidebar{display:grid;grid-template-columns:733px 292px;grid-template-rows:auto auto;grid-auto-rows:auto;gap:0px 53px;grid-auto-flow:row dense;padding:0 146px 0 142px;box-sizing:border-box}.page-template-sidebar .header-content{grid-area:1/1/2/4;margin:0 -146px 0 -142px;width:calc(100% + 288px)}.page-template-sidebar .main-sidebar{grid-area:1/3/3/4}.page-template-sidebar .secondary-sidebar{grid-area:3/3/5/4}.page-template-sidebar .before-content{grid-area:2/1/3/3}.page-template-sidebar .main-content{grid-area:3/1/5/3}.page-template-sidebar .after-content{grid-area:5/1/6/4}@media (max-width: 361px){.page-template-sidebar{padding:0 15px;min-height:148px}}@media (min-width: 361px) and (max-width: 769px){.page-template-sidebar{padding:0 40px}}@media (min-width: 769px) and (max-width: 1024px){.page-template-sidebar{padding:0 90px}}@media (min-width: 1024px) and (max-width: 1366px){.page-template-sidebar{padding:0 52px}}\n"] }]
|
|
19072
|
+
args: [{ selector: 'rdsite-page-template-sidebar', standalone: true, imports: [CommonModule], schemas: [CUSTOM_ELEMENTS_SCHEMA], template: "<div class=\"page-template-sidebar\">\n <!-- Header Section -->\n <div class=\"header-content\">\n @if (headerContent) {\n <ng-container [ngTemplateOutlet]=\"headerContent\"></ng-container>\n }\n </div>\n\n <!-- Before Content Section -->\n <div class=\"before-content\">\n @if (beforeContent) {\n <ng-container [ngTemplateOutlet]=\"beforeContent\"></ng-container>\n }\n </div>\n\n <!-- Main Content -->\n <div class=\"main-content\">\n @if (mainContent) {\n <ng-container [ngTemplateOutlet]=\"mainContent\"></ng-container>\n }\n </div>\n\n <!-- Sidebars -->\n <div class=\"main-sidebar\">\n @if (mainSidebar) {\n <ng-container [ngTemplateOutlet]=\"mainSidebar\"></ng-container>\n }\n </div>\n <div class=\"secondary-sidebar\">\n @if (sidebarContent) {\n <ng-container [ngTemplateOutlet]=\"sidebarContent\"></ng-container>\n }\n </div>\n\n <!-- After Content -->\n <div class=\"after-content\">\n @if (afterContent) {\n <ng-container [ngTemplateOutlet]=\"afterContent\"></ng-container>\n }\n </div>\n</div>\n", styles: [".page-template-sidebar{display:grid;grid-template-columns:733px 292px;grid-template-rows:auto auto;grid-auto-rows:auto;gap:0px 53px;grid-auto-flow:row dense;padding:0 146px 0 142px;box-sizing:border-box}.page-template-sidebar .header-content{grid-area:1/1/2/4;margin:0 -146px 0 -142px;width:calc(100% + 288px)}.page-template-sidebar .main-sidebar{grid-area:1/3/3/4}.page-template-sidebar .secondary-sidebar{grid-area:3/3/5/4}.page-template-sidebar .before-content{grid-area:2/1/3/3}.page-template-sidebar .main-content{grid-area:3/1/5/3}.page-template-sidebar .after-content{grid-area:5/1/6/4}@media (max-width: 361px){.page-template-sidebar{padding:0 15px;min-height:148px}}@media (min-width: 361px) and (max-width: 769px){.page-template-sidebar{padding:0 40px}}@media (min-width: 769px) and (max-width: 1024px){.page-template-sidebar{padding:0 90px}}@media (min-width: 1024px) and (max-width: 1366px){.page-template-sidebar{padding:0 52px}}\n"] }]
|
|
18724
19073
|
}], propDecorators: { headerContent: [{
|
|
18725
19074
|
type: Input
|
|
18726
19075
|
}], beforeContent: [{
|
|
@@ -18759,6 +19108,104 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.12", ngImpo
|
|
|
18759
19108
|
type: Output
|
|
18760
19109
|
}] } });
|
|
18761
19110
|
|
|
19111
|
+
class ScrollService {
|
|
19112
|
+
constructor() {
|
|
19113
|
+
this.document = inject(DOCUMENT);
|
|
19114
|
+
}
|
|
19115
|
+
scrollToElement(elementId, offset = 0, smooth = true) {
|
|
19116
|
+
const element = this.document.getElementById(elementId);
|
|
19117
|
+
if (!element) {
|
|
19118
|
+
console.warn(`Elemento com id "${elementId}" não encontrado`);
|
|
19119
|
+
return false;
|
|
19120
|
+
}
|
|
19121
|
+
try {
|
|
19122
|
+
const titleElement = element.querySelector('h1, h2, h3, h4, h5, h6') || element;
|
|
19123
|
+
const titlePosition = titleElement.getBoundingClientRect().top + window.scrollY;
|
|
19124
|
+
const stickyHeaderHeight = document.querySelector('.nav-container')?.clientHeight || 0;
|
|
19125
|
+
const offsetPosition = titlePosition - offset - stickyHeaderHeight - 16;
|
|
19126
|
+
window.scrollTo({
|
|
19127
|
+
top: offsetPosition,
|
|
19128
|
+
behavior: smooth ? 'smooth' : 'auto',
|
|
19129
|
+
});
|
|
19130
|
+
return true;
|
|
19131
|
+
}
|
|
19132
|
+
catch (error) {
|
|
19133
|
+
console.error('Erro ao fazer scroll para o elemento:', error);
|
|
19134
|
+
return false;
|
|
19135
|
+
}
|
|
19136
|
+
}
|
|
19137
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: ScrollService, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
19138
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: ScrollService, providedIn: 'root' }); }
|
|
19139
|
+
}
|
|
19140
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: ScrollService, decorators: [{
|
|
19141
|
+
type: Injectable,
|
|
19142
|
+
args: [{
|
|
19143
|
+
providedIn: 'root',
|
|
19144
|
+
}]
|
|
19145
|
+
}] });
|
|
19146
|
+
|
|
19147
|
+
class SectionNavigationComponent {
|
|
19148
|
+
set navigationSections(value) {
|
|
19149
|
+
if (!value?.length) {
|
|
19150
|
+
throw new Error('O SectionNavigationComponent requer pelo menos uma seção.');
|
|
19151
|
+
}
|
|
19152
|
+
this.sections.set(value);
|
|
19153
|
+
if (!this.activeSection()) {
|
|
19154
|
+
this.activeSection.set(value[0].id);
|
|
19155
|
+
}
|
|
19156
|
+
}
|
|
19157
|
+
set navigationConfig(value) {
|
|
19158
|
+
this.config.set(value);
|
|
19159
|
+
}
|
|
19160
|
+
constructor() {
|
|
19161
|
+
this.scrollService = inject(ScrollService);
|
|
19162
|
+
this.curaService = inject(CuraService);
|
|
19163
|
+
this.sections = signal([]);
|
|
19164
|
+
this.config = signal(undefined);
|
|
19165
|
+
this.activeSection = signal('');
|
|
19166
|
+
this.ariaLabel = 'Page Navigation';
|
|
19167
|
+
this.sectionChange = new EventEmitter();
|
|
19168
|
+
effect(() => {
|
|
19169
|
+
const sections = this.sections();
|
|
19170
|
+
if (sections.length && !this.activeSection()) {
|
|
19171
|
+
this.activeSection.set(sections[0].id);
|
|
19172
|
+
}
|
|
19173
|
+
});
|
|
19174
|
+
}
|
|
19175
|
+
ngOnInit() {
|
|
19176
|
+
const sections = this.sections();
|
|
19177
|
+
if (!sections.length) {
|
|
19178
|
+
throw new Error('O SectionNavigationComponent requer pelo menos uma seção.');
|
|
19179
|
+
}
|
|
19180
|
+
if (!this.activeSection()) {
|
|
19181
|
+
this.activeSection.set(sections[0].id);
|
|
19182
|
+
}
|
|
19183
|
+
}
|
|
19184
|
+
onSectionClick(section) {
|
|
19185
|
+
const config = this.config();
|
|
19186
|
+
const success = this.scrollService.scrollToElement(section.id, config?.offsetTop ?? 56, config?.smoothScroll ?? true);
|
|
19187
|
+
if (success) {
|
|
19188
|
+
this.activeSection.set(section.id);
|
|
19189
|
+
this.sectionChange.emit(section);
|
|
19190
|
+
}
|
|
19191
|
+
}
|
|
19192
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: SectionNavigationComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
|
19193
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "17.3.12", type: SectionNavigationComponent, isStandalone: true, selector: "rdsite-section-navigation", inputs: { navigationSections: "navigationSections", navigationConfig: "navigationConfig", ariaLabel: "ariaLabel" }, outputs: { sectionChange: "sectionChange" }, ngImport: i0, template: "<nav [class]=\"config()?.containerClass || 'nav-container'\" [attr.aria-label]=\"ariaLabel\">\n <div class=\"nav-inner\">\n <ul class=\"nav-menu\" role=\"menubar\">\n @for (section of sections(); track section.id) {\n <li role=\"none\">\n @if (activeSection() === section.id) {\n <cura-button\n size=\"small\"\n type=\"button\"\n color=\"primary\"\n font-color=\"light\"\n target=\"_self\"\n role=\"menuitem\"\n [id]=\"'nav-' + section.id\"\n [attr.aria-current]=\"'page'\"\n (click)=\"onSectionClick(section)\"\n [attr.aria-label]=\"'Navigate to ' + section.title\"\n >\n {{ section.title }}\n </cura-button>\n } @else {\n <cura-button-transparent\n size=\"small\"\n type=\"button\"\n color=\"neutral\"\n font-color=\"dark\"\n target=\"_self\"\n text-align=\"center\"\n role=\"menuitem\"\n [id]=\"'nav-' + section.id\"\n [attr.aria-current]=\"null\"\n (click)=\"onSectionClick(section)\"\n [attr.aria-label]=\"'Navigate to ' + section.title\"\n >\n {{ section.title }}\n </cura-button-transparent>\n }\n </li>\n }\n </ul>\n </div>\n</nav>\n", styles: [":host{display:block}.nav-container{width:100%;position:sticky;top:0;left:0;z-index:50;background-color:#fff;border-bottom:1px solid #b7b7b7;box-shadow:0 4px 8px #26262629;padding-top:26px}.nav-inner{max-width:1152px;margin-left:auto;margin-right:auto}.nav-menu{display:flex;list-style:none;padding:0;margin:0}cura-button{position:relative;--border-radius: 4px 4px 0 0 !important}\n"], dependencies: [{ kind: "ngmodule", type: CommonModule }] }); }
|
|
19194
|
+
}
|
|
19195
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: SectionNavigationComponent, decorators: [{
|
|
19196
|
+
type: Component,
|
|
19197
|
+
args: [{ selector: 'rdsite-section-navigation', standalone: true, imports: [CommonModule], schemas: [CUSTOM_ELEMENTS_SCHEMA], template: "<nav [class]=\"config()?.containerClass || 'nav-container'\" [attr.aria-label]=\"ariaLabel\">\n <div class=\"nav-inner\">\n <ul class=\"nav-menu\" role=\"menubar\">\n @for (section of sections(); track section.id) {\n <li role=\"none\">\n @if (activeSection() === section.id) {\n <cura-button\n size=\"small\"\n type=\"button\"\n color=\"primary\"\n font-color=\"light\"\n target=\"_self\"\n role=\"menuitem\"\n [id]=\"'nav-' + section.id\"\n [attr.aria-current]=\"'page'\"\n (click)=\"onSectionClick(section)\"\n [attr.aria-label]=\"'Navigate to ' + section.title\"\n >\n {{ section.title }}\n </cura-button>\n } @else {\n <cura-button-transparent\n size=\"small\"\n type=\"button\"\n color=\"neutral\"\n font-color=\"dark\"\n target=\"_self\"\n text-align=\"center\"\n role=\"menuitem\"\n [id]=\"'nav-' + section.id\"\n [attr.aria-current]=\"null\"\n (click)=\"onSectionClick(section)\"\n [attr.aria-label]=\"'Navigate to ' + section.title\"\n >\n {{ section.title }}\n </cura-button-transparent>\n }\n </li>\n }\n </ul>\n </div>\n</nav>\n", styles: [":host{display:block}.nav-container{width:100%;position:sticky;top:0;left:0;z-index:50;background-color:#fff;border-bottom:1px solid #b7b7b7;box-shadow:0 4px 8px #26262629;padding-top:26px}.nav-inner{max-width:1152px;margin-left:auto;margin-right:auto}.nav-menu{display:flex;list-style:none;padding:0;margin:0}cura-button{position:relative;--border-radius: 4px 4px 0 0 !important}\n"] }]
|
|
19198
|
+
}], ctorParameters: () => [], propDecorators: { navigationSections: [{
|
|
19199
|
+
type: Input,
|
|
19200
|
+
args: [{ required: true }]
|
|
19201
|
+
}], navigationConfig: [{
|
|
19202
|
+
type: Input
|
|
19203
|
+
}], ariaLabel: [{
|
|
19204
|
+
type: Input
|
|
19205
|
+
}], sectionChange: [{
|
|
19206
|
+
type: Output
|
|
19207
|
+
}] } });
|
|
19208
|
+
|
|
18762
19209
|
// Components
|
|
18763
19210
|
|
|
18764
19211
|
class PhonePipe {
|
|
@@ -18776,55 +19223,6 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.12", ngImpo
|
|
|
18776
19223
|
}]
|
|
18777
19224
|
}] });
|
|
18778
19225
|
|
|
18779
|
-
var Estados;
|
|
18780
|
-
(function (Estados) {
|
|
18781
|
-
Estados["AC"] = "Acre";
|
|
18782
|
-
Estados["AL"] = "Alagoas";
|
|
18783
|
-
Estados["AP"] = "Amap\u00E1";
|
|
18784
|
-
Estados["AM"] = "Amazonas";
|
|
18785
|
-
Estados["BA"] = "Bahia";
|
|
18786
|
-
Estados["CE"] = "Cear\u00E1";
|
|
18787
|
-
Estados["DF"] = "Distrito Federal";
|
|
18788
|
-
Estados["ES"] = "Esp\u00EDrito Santo";
|
|
18789
|
-
Estados["GO"] = "Go\u00EDas";
|
|
18790
|
-
Estados["MA"] = "Maranh\u00E3o";
|
|
18791
|
-
Estados["MT"] = "Mato Grosso";
|
|
18792
|
-
Estados["MS"] = "Mato Grosso do Sul";
|
|
18793
|
-
Estados["MG"] = "Minas Gerais";
|
|
18794
|
-
Estados["PA"] = "Par\u00E1";
|
|
18795
|
-
Estados["PB"] = "Para\u00EDba";
|
|
18796
|
-
Estados["PR"] = "Paran\u00E1";
|
|
18797
|
-
Estados["PE"] = "Pernambuco";
|
|
18798
|
-
Estados["PI"] = "Piau\u00ED";
|
|
18799
|
-
Estados["RJ"] = "Rio de Janeiro";
|
|
18800
|
-
Estados["RN"] = "Rio Grande do Norte";
|
|
18801
|
-
Estados["RS"] = "Rio Grande do Sul";
|
|
18802
|
-
Estados["RO"] = "Rond\u00F4nia";
|
|
18803
|
-
Estados["RR"] = "Rora\u00EDma";
|
|
18804
|
-
Estados["SC"] = "Santa Catarina";
|
|
18805
|
-
Estados["SP"] = "S\u00E3o Paulo";
|
|
18806
|
-
Estados["SE"] = "Sergipe";
|
|
18807
|
-
Estados["TO"] = "Tocantins";
|
|
18808
|
-
})(Estados || (Estados = {}));
|
|
18809
|
-
|
|
18810
|
-
var EnumDoencaTaxonomy;
|
|
18811
|
-
(function (EnumDoencaTaxonomy) {
|
|
18812
|
-
EnumDoencaTaxonomy["DOENCAS_CAT"] = "doencas_cat";
|
|
18813
|
-
EnumDoencaTaxonomy["DOENCAS_TAG"] = "doencas_tag";
|
|
18814
|
-
})(EnumDoencaTaxonomy || (EnumDoencaTaxonomy = {}));
|
|
18815
|
-
var EnumDoencaTaxonomyCat;
|
|
18816
|
-
(function (EnumDoencaTaxonomyCat) {
|
|
18817
|
-
EnumDoencaTaxonomyCat["DOENCA"] = "doencas";
|
|
18818
|
-
EnumDoencaTaxonomyCat["SINTOMA"] = "sintomas";
|
|
18819
|
-
})(EnumDoencaTaxonomyCat || (EnumDoencaTaxonomyCat = {}));
|
|
18820
|
-
|
|
18821
|
-
var RdsiteModalDrawerComponentStyle;
|
|
18822
|
-
(function (RdsiteModalDrawerComponentStyle) {
|
|
18823
|
-
RdsiteModalDrawerComponentStyle["DEFAULT"] = "default";
|
|
18824
|
-
RdsiteModalDrawerComponentStyle["DRAWERDOCTOR"] = "doctor-card";
|
|
18825
|
-
RdsiteModalDrawerComponentStyle["FORMFALLBACK"] = "form-fallback";
|
|
18826
|
-
})(RdsiteModalDrawerComponentStyle || (RdsiteModalDrawerComponentStyle = {}));
|
|
18827
|
-
|
|
18828
19226
|
/*
|
|
18829
19227
|
* Public API Surface of site-front-end-lib
|
|
18830
19228
|
*/
|
|
@@ -18834,5 +19232,5 @@ var RdsiteModalDrawerComponentStyle;
|
|
|
18834
19232
|
* Generated bundle index. Do not edit.
|
|
18835
19233
|
*/
|
|
18836
19234
|
|
|
18837
|
-
export { AbstractModalComponent, AbstractModalDrawerComponent, AlgoliaComponent, AlgoliaSearchApiService, AlgoliaService, BreadcrumbsComponent, CuraService, EnumDoencaTaxonomy, EnumDoencaTaxonomyCat, Estados, FilterLetterAndTermsComponent, FooterComponent, FooterDisclaimerComponent, FooterMenuComponent, FooterMenuItemComponent, FooterSocialMediasComponent, HeaderActionMenuComponent, HeaderAuxMenuComponent, HeaderAuxMenuContainerComponent, HeaderAuxMenuItemComponent, HeaderAuxMenuItemDropdownComponent, HeaderComponent, HeaderLogoComponent, HeaderMainMenuComponent, HeaderMainMenuItemComponent, HeaderMainMenuItemDropdownComponent, HeaderService, HeaderSideMenuComponent, HeaderSideMenuItemComponent, HttpClientService, IconCuraDefaultType, LIB_CONFIG, LoadScreenComponent, LogService, ModalDrawerService, ModalService, NguCarouselService, OverlayComponent, PageHeaderComponent, PageTemplateSidebarComponent, PhonePipe, PhoneService, PrivacyToolsService, REQUEST, RESPONSE, RdsiteClickOutsideDirective, RdsiteLinkDirective, RdsiteModalComponentStyle, RdsiteModalDrawerComponentStyle, RdsitePhoneModalDirective, SSR_CURA_API, SearchComponent, SeoService, ServerResponseService, SideCtasBottomComponent, SideCtasComponent, SideCtasRightBottomComponent, SideCtasRightMiddleComponent, SideCtasRightTopComponent, SiteBackendService, SsrLoadingService, TransferStateService, WhatsappComponent, formatPhone, getSiteUrl, removeDuplicateObjectsFromArray, removeDuplicateValuesFromArray, removeHtmlTags, toQueryParams };
|
|
19235
|
+
export { AbstractModalComponent, AbstractModalDrawerComponent, AlgoliaComponent, AlgoliaSearchApiService, AlgoliaService, BreadcrumbsComponent, CtaWrapperComponent, CuraService, EnumDoencaTaxonomy, EnumDoencaTaxonomyCat, ErrorComponent, ErrorService, Errors, Estados, FilterLetterAndTermsComponent, FooterComponent, FooterDisclaimerComponent, FooterMenuComponent, FooterMenuItemComponent, FooterSocialMediasComponent, HeaderActionMenuComponent, HeaderAuxMenuComponent, HeaderAuxMenuContainerComponent, HeaderAuxMenuItemComponent, HeaderAuxMenuItemDropdownComponent, HeaderComponent, HeaderLogoComponent, HeaderMainMenuComponent, HeaderMainMenuItemComponent, HeaderMainMenuItemDropdownComponent, HeaderService, HeaderSideMenuComponent, HeaderSideMenuItemComponent, HttpClientService, IconCuraDefaultType, LIB_CONFIG, LoadScreenComponent, LogService, ModalDrawerService, ModalService, NguCarouselService, OverlayComponent, PageHeaderComponent, PageTemplateSidebarComponent, PhonePipe, PhoneService, PrivacyToolsService, REQUEST, RESPONSE, RdsiteClickOutsideDirective, RdsiteLinkDirective, RdsiteModalComponentStyle, RdsiteModalDrawerComponentStyle, RdsitePhoneModalDirective, SSR_CURA_API, SearchComponent, SectionNavigationComponent, SeoService, ServerResponseService, SideCtasBottomComponent, SideCtasComponent, SideCtasRightBottomComponent, SideCtasRightMiddleComponent, SideCtasRightTopComponent, SiteBackendService, SsrLoadingService, Themes, TransferStateService, WhatsappComponent, formatPhone, getSiteUrl, removeDuplicateObjectsFromArray, removeDuplicateValuesFromArray, removeHtmlTags, toQueryParams };
|
|
18838
19236
|
//# sourceMappingURL=rededor-site-front-end-lib.mjs.map
|