@rededor/site-front-end-lib 1.0.14 → 1.0.15
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/index.d.ts +5 -0
- package/lib/components/algolia/algolia.component.d.ts +46 -0
- package/lib/components/banner/content-banner/content-banner.component.d.ts +14 -0
- package/lib/components/breadcrumbs/breadcrumbs.component.d.ts +31 -0
- package/lib/components/cards/card-unidade-planos-convenios/card-unidade-planos-convenios.component.d.ts +41 -0
- package/lib/components/cards/expandable-card/expandable-card.component.d.ts +27 -0
- package/lib/components/cta-wrapper/cta-wrapper.component.d.ts +28 -0
- package/lib/components/error/error-service/error.service.d.ts +17 -0
- package/lib/components/error/error.component.d.ts +44 -0
- package/lib/components/filter-letter-and-terms/filter-letter-and-terms.component.d.ts +11 -0
- package/lib/components/filters/filter-planos-convenios/filter-planos-convenios.component.d.ts +41 -0
- package/lib/components/footer/components/footer-disclaimer/footer-disclaimer.component.d.ts +15 -0
- package/lib/components/footer/components/footer-menu/footer-menu.component.d.ts +11 -0
- package/lib/components/footer/components/footer-menu-item/footer-menu-item.component.d.ts +15 -0
- package/lib/components/footer/components/footer-social-medias/footer-social-medias.component.d.ts +17 -0
- package/lib/components/footer/footer.component.d.ts +17 -0
- package/lib/components/footer/helpers/footerTheme.func.d.ts +3 -0
- package/lib/components/footer/models/FooterTheme.model.d.ts +7 -0
- package/lib/components/header/components/header-action-menu/header-action-menu.component.d.ts +13 -0
- package/lib/components/header/components/header-aux-menu/header-aux-menu.component.d.ts +5 -0
- package/lib/components/header/components/header-aux-menu-container/header-aux-menu-container.component.d.ts +6 -0
- package/lib/components/header/components/header-aux-menu-item/header-aux-menu-item.component.d.ts +18 -0
- package/lib/components/header/components/header-aux-menu-item-dropdown/header-aux-menu-item-dropdown.component.d.ts +10 -0
- package/lib/components/header/components/header-logo/header-logo.component.d.ts +12 -0
- package/lib/components/header/components/header-main-menu/header-main-menu.component.d.ts +5 -0
- package/lib/components/header/components/header-main-menu-item/header-main-menu-item.component.d.ts +26 -0
- package/lib/components/header/components/header-main-menu-item-dropdown/header-main-menu-item-dropdown.component.d.ts +36 -0
- package/lib/components/header/components/header-side-menu/header-side-menu.component.d.ts +9 -0
- package/lib/components/header/components/header-side-menu-item/header-side-menu-item.component.d.ts +21 -0
- package/lib/components/header/header.component.d.ts +27 -0
- package/lib/components/header/helpers/headerTheme.func.d.ts +3 -0
- package/lib/components/header/models/HeaderTheme.model.d.ts +8 -0
- package/lib/components/header/services/header.service.d.ts +11 -0
- package/lib/components/image/image.component.d.ts +22 -0
- package/lib/components/index.d.ts +40 -0
- package/lib/components/load-screen/load-screen.component.d.ts +13 -0
- package/lib/components/overlay/overlay.component.d.ts +8 -0
- package/lib/components/page-header/page-header.component.d.ts +17 -0
- package/lib/components/page-template-sidebar/page-template-sidebar.component.d.ts +12 -0
- package/lib/components/search/search.component.d.ts +48 -0
- package/lib/components/section-navigation/section-navigation.component.d.ts +36 -0
- package/lib/components/side-ctas/components/side-ctas-bottom/side-ctas-bottom.component.d.ts +22 -0
- package/lib/components/side-ctas/components/side-ctas-right-bottom/side-ctas-right-bottom.component.d.ts +14 -0
- package/lib/components/side-ctas/components/side-ctas-right-middle/side-ctas-right-middle.component.d.ts +21 -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/components/whatsapp/whatsapp.component.d.ts +26 -0
- package/lib/directives/index.d.ts +3 -0
- package/lib/directives/rdsite-click-outside/rdsite-click-outside.directive.d.ts +10 -0
- package/lib/directives/rdsite-link/rdsite-link.directive.d.ts +38 -0
- package/lib/directives/rdsite-phone-modal/rdsite-phone-modal.directive.d.ts +17 -0
- package/lib/enums/EnumDoencaTaxonomy.enum.d.ts +8 -0
- package/lib/enums/EnumError.enum.d.ts +4 -0
- package/lib/enums/EnumThemes.enum.d.ts +6 -0
- package/lib/enums/Estados.enum.d.ts +29 -0
- package/lib/enums/IconCuraDefaultType.enum.d.ts +119 -0
- package/lib/enums/ImageMimeType.enum.d.ts +5 -0
- package/lib/enums/RdsiteModalComponentStyle.enum.d.ts +11 -0
- package/lib/enums/RdsiteModalDrawerComponentStyle.enum.d.ts +5 -0
- package/lib/enums/UnidadeCoverageType.enum.d.ts +5 -0
- package/lib/enums/index.d.ts +9 -0
- package/lib/helpers/check-safari-agent.func.d.ts +2 -0
- package/lib/helpers/formatPhone.func.d.ts +1 -0
- package/lib/helpers/getSiteUrl.func.d.ts +2 -0
- package/lib/helpers/index.d.ts +7 -0
- package/lib/helpers/mediaQueries.d.ts +6 -0
- package/lib/helpers/removeDuplicateObjectsFromArray.func.d.ts +2 -0
- package/lib/helpers/removeDuplicateValuesFromArray.func.d.ts +2 -0
- package/lib/helpers/removeHtmlTags.func.d.ts +2 -0
- package/lib/helpers/toQueryParams.func.d.ts +5 -0
- package/lib/models/algolia-search-api.model.d.ts +167 -0
- package/lib/models/algolia.model.d.ts +12 -0
- package/lib/models/breadcrumbs/breadcrumbs-items.model.d.ts +10 -0
- package/lib/models/breadcrumbs/breadcrumbs-json-item.model.d.ts +8 -0
- package/lib/models/centro-estudos-backend.model.d.ts +8 -0
- package/lib/models/content-banner.model.d.ts +15 -0
- package/lib/models/cta-wrapper.model.d.ts +9 -0
- package/lib/models/doenca-backend.model.d.ts +25 -0
- package/lib/models/doenca-taxonomy.model.d.ts +11 -0
- package/lib/models/especialidade-backend.model.d.ts +24 -0
- package/lib/models/exame-backend.model.d.ts +25 -0
- package/lib/models/filters/filter-planos-convenios.model.d.ts +12 -0
- package/lib/models/images/rdsite-image.model.d.ts +5 -0
- package/lib/models/medico-cv.model.d.ts +10 -0
- package/lib/models/menu-de-unidade.model.d.ts +14 -0
- package/lib/models/menu-item.model.d.ts +67 -0
- package/lib/models/privacy-tools/privacy-tools.model.d.ts +8 -0
- package/lib/models/rdsl-cobertura.model.d.ts +71 -0
- package/lib/models/rdsl-convenio.model.d.ts +17 -0
- package/lib/models/rdsl-especialidade.model.d.ts +33 -0
- package/lib/models/rdsl-planos.model.d.ts +13 -0
- package/lib/models/rdsl-post-category.model.d.ts +8 -0
- package/lib/models/rdsl-unidade.model.d.ts +50 -0
- package/lib/models/section-navigation.model.d.ts +9 -0
- package/lib/models/seo/seo-data.model.d.ts +9 -0
- package/lib/models/seo/seo-unidade.model.d.ts +6 -0
- package/lib/models/social-meta-properties.model.d.ts +9 -0
- package/lib/models/wordpress/WpResponse.model.d.ts +31 -0
- package/lib/models/wordpress/category/wpCategory.model.d.ts +14 -0
- package/lib/models/wordpress/general/content.model.d.ts +4 -0
- package/lib/models/wordpress/general/excerpt.model.d.ts +4 -0
- package/lib/models/wordpress/general/featuredMedia.model.d.ts +26 -0
- package/lib/models/wordpress/general/guid.model.d.ts +3 -0
- package/lib/models/wordpress/general/index.d.ts +10 -0
- package/lib/models/wordpress/general/links.model.d.ts +47 -0
- package/lib/models/wordpress/general/meta.model.d.ts +3 -0
- package/lib/models/wordpress/general/title.model.d.ts +3 -0
- package/lib/models/wordpress/general/yoastData.model.d.ts +4 -0
- package/lib/models/wordpress/general/yoastHeadJson.model.d.ts +56 -0
- package/lib/models/wordpress/general/yoastMeta.model.d.ts +5 -0
- package/lib/models/wordpress/page/page.model.d.ts +10 -0
- package/lib/models/wordpress/post/post.model.d.ts +33 -0
- package/lib/models/wordpress/unidade/wp-unidade-onco.model.d.ts +55 -0
- package/lib/models/wordpress/unidade/wp-unidade-site-detalhe.model.d.ts +166 -0
- package/lib/models/wordpress/unidade/wp-unidade-site.model.d.ts +45 -0
- package/lib/pipes/index.d.ts +1 -0
- package/lib/pipes/phone/phone.pipe.d.ts +7 -0
- package/lib/services/algolia/algolia.service.d.ts +16 -0
- package/lib/services/algolia-search-api/algolia-search-api.service.d.ts +18 -0
- package/lib/services/cura/cura.service.d.ts +31 -0
- package/lib/services/http-client/http-client.service.d.ts +19 -0
- package/lib/services/index.d.ts +16 -0
- package/lib/services/log/log.service.d.ts +16 -0
- package/lib/services/modal/modal.service.d.ts +31 -0
- package/lib/services/modal-drawer/modal-drawer.service.d.ts +37 -0
- package/lib/services/ngu-carousel/ngu-carousel.service.d.ts +13 -0
- package/lib/services/phone/phone.service.d.ts +11 -0
- package/lib/services/privacy-tools/privacy-tools.service.d.ts +20 -0
- package/lib/services/seo/seo.service.d.ts +141 -0
- package/lib/services/server-response/server-response.service.d.ts +39 -0
- package/lib/services/site-back-end/site-back-end.service.d.ts +67 -0
- package/lib/services/ssr-loading/ssr-loading.service.d.ts +13 -0
- package/lib/services/transfer-state/transfer-state.service.d.ts +13 -0
- package/lib/tokens/CuraApi.d.ts +2 -0
- package/lib/tokens/LibConfig.d.ts +36 -0
- package/lib/tokens/express.tokens.d.ts +4 -0
- package/package.json +1 -1
- package/public-api.d.ts +9 -0
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
export interface RDSLPlano {
|
|
2
|
+
ID_DQ_PLANO: string;
|
|
3
|
+
ID_DQ_CONVENIOS: string;
|
|
4
|
+
NOME_CONVENIO_COMERCIAL: string;
|
|
5
|
+
DESCRICAO_PLANO_CONCATENADA: string;
|
|
6
|
+
CODIGO_PLANO_MOTION: string;
|
|
7
|
+
}
|
|
8
|
+
export interface RDSLPlanoParams {
|
|
9
|
+
id?: string;
|
|
10
|
+
idmotion?: string;
|
|
11
|
+
idconvenio?: string;
|
|
12
|
+
nomeconvenio?: string;
|
|
13
|
+
}
|
|
@@ -0,0 +1,50 @@
|
|
|
1
|
+
export interface RDSLUnidade {
|
|
2
|
+
BAIRRO_UNIDADE: string;
|
|
3
|
+
CEP_UNIDADE: string;
|
|
4
|
+
CNPJ_UNIDADE: string;
|
|
5
|
+
CODIGO_UNIDADE_MOTION: string;
|
|
6
|
+
COMPLEMENTO_ENDERECO_UNIDADE: string;
|
|
7
|
+
DESCRICAO_UNIDADE: string;
|
|
8
|
+
EMAIL_CHECKIN_INTERNACAO: string;
|
|
9
|
+
ENDERECO_UNIDADE: string;
|
|
10
|
+
FLAG_CHECKIN_EMERGENCIA: string;
|
|
11
|
+
FLAG_CHECKIN_INTERNACAO: string;
|
|
12
|
+
FLAG_EMERGENCIA_ADULTO: string;
|
|
13
|
+
FLAG_EMERGENCIA_INFANTIL: string;
|
|
14
|
+
FLAG_PEDIDO_VAGA: string;
|
|
15
|
+
FLAG_POSSUI_MATERINIDADE: string;
|
|
16
|
+
FLAG_UNIDADE_ATIVA_AGD_EXAME: string;
|
|
17
|
+
FLAG_UNIDADE_ATIVA_AGENDAMENTO: string;
|
|
18
|
+
FLAG_UNIDADE_ATIVA_SITE: string;
|
|
19
|
+
GEOLOCALIZACAO_UNIDADE: string;
|
|
20
|
+
ID_DQ_FRENTE_NEGOCIOS: number;
|
|
21
|
+
ID_DQ_UNIDADES_RDSL: number;
|
|
22
|
+
LATITUDE_UNIDADE: string;
|
|
23
|
+
LONGITUDE_UNIDADE: string;
|
|
24
|
+
MUNICIPIO_UNIDADE: string;
|
|
25
|
+
SIGLA_UNIDADE: string;
|
|
26
|
+
TELEFONE_SITE: string;
|
|
27
|
+
TELEFONES_UNIDADE: string;
|
|
28
|
+
UF_UNIDADE: string;
|
|
29
|
+
URL_IMAGE: string;
|
|
30
|
+
TIPO_COBERTURA: string;
|
|
31
|
+
slug: string;
|
|
32
|
+
slug_cidade_uf: string;
|
|
33
|
+
}
|
|
34
|
+
export interface RDSLUnidadesParams {
|
|
35
|
+
nome?: string;
|
|
36
|
+
id?: string;
|
|
37
|
+
idMotion?: string;
|
|
38
|
+
uf?: string;
|
|
39
|
+
municipio?: string;
|
|
40
|
+
ativaSite?: 'S' | 'N';
|
|
41
|
+
ativaAgConsultas?: 'S' | 'N';
|
|
42
|
+
ativaAgExames?: 'S' | 'N';
|
|
43
|
+
checkinEmergencia?: 'S' | 'N';
|
|
44
|
+
checkinInternacao?: 'S' | 'N';
|
|
45
|
+
emergenciaAdulto?: 'S' | 'N';
|
|
46
|
+
emergenciaInfantil?: 'S' | 'N';
|
|
47
|
+
maternidade?: 'S' | 'N';
|
|
48
|
+
pedidoVaga?: 'S' | 'N';
|
|
49
|
+
frenteNegocios?: number | string;
|
|
50
|
+
}
|
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
import { Content, Excerpt, FeaturedMedia, Guid, Links, Title, YoastData, YoastHeadJson } from './general';
|
|
2
|
+
export interface WpCommonResponse<T = any> {
|
|
3
|
+
id: number;
|
|
4
|
+
ID: number;
|
|
5
|
+
guid: Guid;
|
|
6
|
+
slug: string;
|
|
7
|
+
status: string;
|
|
8
|
+
type: string;
|
|
9
|
+
link: string;
|
|
10
|
+
title: Title;
|
|
11
|
+
content: Content;
|
|
12
|
+
excerpt: Excerpt;
|
|
13
|
+
featured_media: number | string | FeaturedMedia;
|
|
14
|
+
template: string;
|
|
15
|
+
acf?: T;
|
|
16
|
+
}
|
|
17
|
+
export interface WpGlobalResponse {
|
|
18
|
+
_embedded?: any;
|
|
19
|
+
_links?: Links;
|
|
20
|
+
}
|
|
21
|
+
export interface WpPublishingResponse {
|
|
22
|
+
date: string;
|
|
23
|
+
date_gmt: string;
|
|
24
|
+
modified: string;
|
|
25
|
+
modified_gmt: string;
|
|
26
|
+
}
|
|
27
|
+
export interface WpYoastResponse {
|
|
28
|
+
yoast_head?: string;
|
|
29
|
+
yoast_head_json?: YoastHeadJson;
|
|
30
|
+
yoast_data?: YoastData;
|
|
31
|
+
}
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import { WpGlobalResponse, WpYoastResponse } from '../WpResponse.model';
|
|
2
|
+
export interface WpCategory<T = any> extends WpGlobalResponse, Omit<WpYoastResponse, 'yoast_data'> {
|
|
3
|
+
id: number;
|
|
4
|
+
count: number;
|
|
5
|
+
description: string;
|
|
6
|
+
link: string;
|
|
7
|
+
name: string;
|
|
8
|
+
slug: string;
|
|
9
|
+
taxonomy: string;
|
|
10
|
+
parent: number;
|
|
11
|
+
meta: any;
|
|
12
|
+
acf?: T;
|
|
13
|
+
[propName: string]: any;
|
|
14
|
+
}
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
export interface FeaturedMediaDetails {
|
|
2
|
+
width: number;
|
|
3
|
+
height: number;
|
|
4
|
+
file: string;
|
|
5
|
+
sizes: any;
|
|
6
|
+
image_meta: any;
|
|
7
|
+
}
|
|
8
|
+
export interface FeaturedMedia {
|
|
9
|
+
id: number;
|
|
10
|
+
date: string;
|
|
11
|
+
slug: string;
|
|
12
|
+
type: string;
|
|
13
|
+
link: string;
|
|
14
|
+
title: {
|
|
15
|
+
rendered: string;
|
|
16
|
+
};
|
|
17
|
+
author: number;
|
|
18
|
+
caption: {
|
|
19
|
+
rendered: string;
|
|
20
|
+
};
|
|
21
|
+
alt_text: string;
|
|
22
|
+
media_type: string;
|
|
23
|
+
mime_type: string;
|
|
24
|
+
media_details: FeaturedMediaDetails;
|
|
25
|
+
source_url: any;
|
|
26
|
+
}
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
export * from './content.model';
|
|
2
|
+
export * from './excerpt.model';
|
|
3
|
+
export * from './featuredMedia.model';
|
|
4
|
+
export * from './guid.model';
|
|
5
|
+
export * from './links.model';
|
|
6
|
+
export * from './meta.model';
|
|
7
|
+
export * from './title.model';
|
|
8
|
+
export * from './yoastData.model';
|
|
9
|
+
export * from './yoastHeadJson.model';
|
|
10
|
+
export * from './yoastMeta.model';
|
|
@@ -0,0 +1,47 @@
|
|
|
1
|
+
export interface Links {
|
|
2
|
+
self?: {
|
|
3
|
+
href: string;
|
|
4
|
+
}[];
|
|
5
|
+
collection?: {
|
|
6
|
+
href: string;
|
|
7
|
+
}[];
|
|
8
|
+
about?: {
|
|
9
|
+
href: string;
|
|
10
|
+
}[];
|
|
11
|
+
author?: {
|
|
12
|
+
embeddable: boolean;
|
|
13
|
+
href: string;
|
|
14
|
+
}[];
|
|
15
|
+
replies?: {
|
|
16
|
+
embeddable: boolean;
|
|
17
|
+
href: string;
|
|
18
|
+
}[];
|
|
19
|
+
'version-history'?: {
|
|
20
|
+
count: number;
|
|
21
|
+
href: string;
|
|
22
|
+
}[];
|
|
23
|
+
'acf:term'?: {
|
|
24
|
+
embedabble: boolean;
|
|
25
|
+
taxonomy: string;
|
|
26
|
+
href: string;
|
|
27
|
+
}[];
|
|
28
|
+
'acf:post'?: {
|
|
29
|
+
embedabble: boolean;
|
|
30
|
+
href: string;
|
|
31
|
+
}[];
|
|
32
|
+
'wp:featuredmedia'?: {
|
|
33
|
+
embedabble: boolean;
|
|
34
|
+
href: string;
|
|
35
|
+
}[];
|
|
36
|
+
'wp:attachment'?: {
|
|
37
|
+
href: string;
|
|
38
|
+
}[];
|
|
39
|
+
'wp:post_type'?: {
|
|
40
|
+
href: string;
|
|
41
|
+
}[];
|
|
42
|
+
curies?: {
|
|
43
|
+
name: string;
|
|
44
|
+
href: string;
|
|
45
|
+
templated: boolean;
|
|
46
|
+
}[];
|
|
47
|
+
}
|
|
@@ -0,0 +1,56 @@
|
|
|
1
|
+
interface Robots {
|
|
2
|
+
index: string;
|
|
3
|
+
follow: string;
|
|
4
|
+
'max-snippet': string;
|
|
5
|
+
'max-image-preview': string;
|
|
6
|
+
'max-video-preview': string;
|
|
7
|
+
}
|
|
8
|
+
interface Graph {
|
|
9
|
+
'@type': string;
|
|
10
|
+
'@id': string;
|
|
11
|
+
url: string;
|
|
12
|
+
name: string;
|
|
13
|
+
isPartOf: {
|
|
14
|
+
'@id': string;
|
|
15
|
+
};
|
|
16
|
+
datePublished: string;
|
|
17
|
+
dateModified: string;
|
|
18
|
+
description: string;
|
|
19
|
+
breadcrumb: {
|
|
20
|
+
'@id': string;
|
|
21
|
+
};
|
|
22
|
+
inLanguage: string;
|
|
23
|
+
potentialAction: {
|
|
24
|
+
'@type': string;
|
|
25
|
+
target: string[];
|
|
26
|
+
}[];
|
|
27
|
+
}
|
|
28
|
+
interface Schema {
|
|
29
|
+
'@context': string;
|
|
30
|
+
'@graph': Graph[];
|
|
31
|
+
}
|
|
32
|
+
interface OgImage {
|
|
33
|
+
width: number;
|
|
34
|
+
height: number;
|
|
35
|
+
url: string;
|
|
36
|
+
type: string;
|
|
37
|
+
}
|
|
38
|
+
export interface YoastHeadJson {
|
|
39
|
+
title: string;
|
|
40
|
+
description?: string;
|
|
41
|
+
robots: Robots;
|
|
42
|
+
canonical: string;
|
|
43
|
+
og_locale: string;
|
|
44
|
+
og_type: string;
|
|
45
|
+
og_title: string;
|
|
46
|
+
og_description: string;
|
|
47
|
+
og_url: string;
|
|
48
|
+
og_site_name: string;
|
|
49
|
+
article_modified_time: string;
|
|
50
|
+
author?: string;
|
|
51
|
+
twitter_card: string;
|
|
52
|
+
twitter_misc?: any;
|
|
53
|
+
og_image?: OgImage;
|
|
54
|
+
schema: Schema;
|
|
55
|
+
}
|
|
56
|
+
export {};
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import { Meta } from '../general/meta.model';
|
|
2
|
+
import { WpCommonResponse, WpGlobalResponse, WpPublishingResponse, WpYoastResponse } from '../WpResponse.model';
|
|
3
|
+
export interface WpPage<T = any> extends WpCommonResponse<T>, WpGlobalResponse, WpPublishingResponse, WpYoastResponse {
|
|
4
|
+
author: number;
|
|
5
|
+
parent: number;
|
|
6
|
+
menu_order: number;
|
|
7
|
+
comment_status: string;
|
|
8
|
+
ping_status: string;
|
|
9
|
+
meta: Meta;
|
|
10
|
+
}
|
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
import { RdslPostCategory } from "../../rdsl-post-category.model";
|
|
2
|
+
import { WpCategory } from "../category/wpCategory.model";
|
|
3
|
+
import { WpCommonResponse, WpGlobalResponse, WpPublishingResponse, WpYoastResponse } from "../WpResponse.model";
|
|
4
|
+
export interface WpPost<T = any> extends WpCommonResponse<T>, WpGlobalResponse, WpPublishingResponse, WpYoastResponse {
|
|
5
|
+
author: number;
|
|
6
|
+
comment_status: string;
|
|
7
|
+
ping_status: string;
|
|
8
|
+
sticky: boolean;
|
|
9
|
+
format: string;
|
|
10
|
+
meta: any;
|
|
11
|
+
categories: number[];
|
|
12
|
+
tags: string[];
|
|
13
|
+
featured_media_path: string;
|
|
14
|
+
body?: WpPost[];
|
|
15
|
+
headers?: {
|
|
16
|
+
"X-WP-Total"?: number;
|
|
17
|
+
"X-WP-TotalPages": number;
|
|
18
|
+
};
|
|
19
|
+
rdslMainCategory?: RdslPostCategory;
|
|
20
|
+
downloadItemCategories: WpCategory[];
|
|
21
|
+
}
|
|
22
|
+
export interface WpCustomPost<T = any> extends WpCommonResponse<T>, WpGlobalResponse, WpPublishingResponse, WpYoastResponse {
|
|
23
|
+
author?: number;
|
|
24
|
+
comment_status?: string;
|
|
25
|
+
ping_status?: string;
|
|
26
|
+
sticky?: boolean;
|
|
27
|
+
format?: string;
|
|
28
|
+
categories?: number[];
|
|
29
|
+
tags?: string[];
|
|
30
|
+
acf?: T;
|
|
31
|
+
featured_media_path?: string;
|
|
32
|
+
[attr: string]: any;
|
|
33
|
+
}
|
|
@@ -0,0 +1,55 @@
|
|
|
1
|
+
import { WpCommonResponse, WpGlobalResponse, WpPublishingResponse, WpYoastResponse } from '../WpResponse.model';
|
|
2
|
+
export interface WpUnidadeOnco extends WpCommonResponse, WpGlobalResponse, WpPublishingResponse, WpYoastResponse {
|
|
3
|
+
path?: string;
|
|
4
|
+
details?: any;
|
|
5
|
+
info?: any;
|
|
6
|
+
acf: {
|
|
7
|
+
convenios: UnidadeConvenios;
|
|
8
|
+
descricao: string;
|
|
9
|
+
especialidades: UnidadeEspecialidades;
|
|
10
|
+
horario_atendimento: string;
|
|
11
|
+
id_qualidade: number | string;
|
|
12
|
+
id_motion: number | string;
|
|
13
|
+
instalacoes: any;
|
|
14
|
+
localizacao: UnidadeLocalizacao;
|
|
15
|
+
redes_sociais: any;
|
|
16
|
+
servicos: UnidadeServicos;
|
|
17
|
+
sobre: UnidadeSobre;
|
|
18
|
+
telefone: string;
|
|
19
|
+
tem_certificados?: boolean;
|
|
20
|
+
tratamentos: UnidadeTratamentos;
|
|
21
|
+
videos: any;
|
|
22
|
+
url_site?: string;
|
|
23
|
+
whatsapp_linhaverde?: any;
|
|
24
|
+
telefone_linhaverde?: any;
|
|
25
|
+
email_linhaverde?: any;
|
|
26
|
+
};
|
|
27
|
+
}
|
|
28
|
+
interface UnidadeConvenios {
|
|
29
|
+
texto: string;
|
|
30
|
+
lista: string;
|
|
31
|
+
}
|
|
32
|
+
interface UnidadeEspecialidades {
|
|
33
|
+
texto: string;
|
|
34
|
+
lista: Array<any>;
|
|
35
|
+
}
|
|
36
|
+
interface UnidadeLocalizacao {
|
|
37
|
+
bairro: string;
|
|
38
|
+
cep: string;
|
|
39
|
+
endereco: string;
|
|
40
|
+
municipio: string;
|
|
41
|
+
uf: string;
|
|
42
|
+
mapa: string;
|
|
43
|
+
}
|
|
44
|
+
interface UnidadeServicos {
|
|
45
|
+
texto: string;
|
|
46
|
+
}
|
|
47
|
+
interface UnidadeSobre {
|
|
48
|
+
titulo: string;
|
|
49
|
+
texto: string;
|
|
50
|
+
}
|
|
51
|
+
interface UnidadeTratamentos {
|
|
52
|
+
texto: string;
|
|
53
|
+
lista: Array<any>;
|
|
54
|
+
}
|
|
55
|
+
export {};
|
|
@@ -0,0 +1,166 @@
|
|
|
1
|
+
import { MenuSocialMedia } from '../../menu-item.model';
|
|
2
|
+
export interface HomeSlideshow {
|
|
3
|
+
home_slideshow_img_desktop: any;
|
|
4
|
+
home_slideshow_img_mobile: any;
|
|
5
|
+
home_slideshow_titulo: string;
|
|
6
|
+
home_slideshow_subtitulo: string;
|
|
7
|
+
home_sideshow_labelcta: string;
|
|
8
|
+
home_slideshow_linkcta: string;
|
|
9
|
+
}
|
|
10
|
+
export interface UnidadeEspecialidadeProcurada {
|
|
11
|
+
nome_da_especialidade: string;
|
|
12
|
+
icone_da_especialidade: string;
|
|
13
|
+
link_da_especialidade: string;
|
|
14
|
+
}
|
|
15
|
+
export interface UnidadeExamesProcurados {
|
|
16
|
+
nome_do_exame: string;
|
|
17
|
+
icone_do_exame: string;
|
|
18
|
+
link_do_exame: string;
|
|
19
|
+
}
|
|
20
|
+
export interface UnidadeEmergencia {
|
|
21
|
+
emergencia: string;
|
|
22
|
+
endereco_emergencia: string;
|
|
23
|
+
link: string;
|
|
24
|
+
especialidades: any[];
|
|
25
|
+
}
|
|
26
|
+
interface UnidadeEncontreFarma {
|
|
27
|
+
encontre_farma_enabled: boolean;
|
|
28
|
+
encontre_farma_sidebar_banner: UnidadeEncontreFarmaSidebarBanner;
|
|
29
|
+
encontre_farma_banner_home: {
|
|
30
|
+
show_banner_home: boolean;
|
|
31
|
+
banner_title: string;
|
|
32
|
+
banner_subtitle: string;
|
|
33
|
+
banner_cta_label: string;
|
|
34
|
+
banner_cta_url: string;
|
|
35
|
+
banner_img_background: any;
|
|
36
|
+
banner_style: string;
|
|
37
|
+
banner_cta_color: string;
|
|
38
|
+
};
|
|
39
|
+
}
|
|
40
|
+
interface UnidadeEncontreFarmaSidebarBanner {
|
|
41
|
+
img: any;
|
|
42
|
+
url: string;
|
|
43
|
+
show_sidebar_banner_everywhere: boolean;
|
|
44
|
+
show_sidebar_banner_doencas: boolean;
|
|
45
|
+
show_sidebar_banner_exames: boolean;
|
|
46
|
+
show_sidebar_banner_especialidades: boolean;
|
|
47
|
+
}
|
|
48
|
+
export interface UnidadeNossasMarcas {
|
|
49
|
+
title: string;
|
|
50
|
+
partners: {
|
|
51
|
+
name: string;
|
|
52
|
+
link: string;
|
|
53
|
+
}[];
|
|
54
|
+
}
|
|
55
|
+
export interface WpUnidadeSiteDetalhe {
|
|
56
|
+
unidade_nome: string;
|
|
57
|
+
consulta: boolean;
|
|
58
|
+
encontre_um_medico: boolean;
|
|
59
|
+
unidade_exibir_whatsapp_fab: boolean;
|
|
60
|
+
unidade_label_link_whatsapp_home?: string;
|
|
61
|
+
unidade_link_whatsapp_home?: string;
|
|
62
|
+
unidade_exibir_whatsapp_exames?: boolean;
|
|
63
|
+
unidade_label_link_whatsapp_exames?: string;
|
|
64
|
+
unidade_link_whatsapp_exames?: string;
|
|
65
|
+
unidade_url_oncologia?: string;
|
|
66
|
+
unidade_oferece_oncologia: string[] | string;
|
|
67
|
+
unidade_imagem: any;
|
|
68
|
+
unidade_endereco: string;
|
|
69
|
+
unidade_estado: string;
|
|
70
|
+
unidade_site: string;
|
|
71
|
+
unidade_telefone: string;
|
|
72
|
+
unidade_link_mapa: string;
|
|
73
|
+
unidade_logomarca: any;
|
|
74
|
+
unidade_logomarca_negativa?: any;
|
|
75
|
+
unidade_email?: string;
|
|
76
|
+
unidade_email_cirurgia: string;
|
|
77
|
+
unidade_telefone_central: string;
|
|
78
|
+
unidade_uf: string;
|
|
79
|
+
unidade_areas_busca: string[];
|
|
80
|
+
unidade_cidade: string;
|
|
81
|
+
home_slideshow?: HomeSlideshow[] | boolean;
|
|
82
|
+
cta1?: any;
|
|
83
|
+
cta2?: any;
|
|
84
|
+
home_destaques_secundarios?: any;
|
|
85
|
+
especialidades_procuradas?: UnidadeEspecialidadeProcurada[];
|
|
86
|
+
exames_procurados?: UnidadeExamesProcurados[];
|
|
87
|
+
home_servicos?: any;
|
|
88
|
+
id_qualidade_unidade: string;
|
|
89
|
+
id_motion_unidade: string;
|
|
90
|
+
id_motion_consultas?: string;
|
|
91
|
+
id_motion_exames?: string;
|
|
92
|
+
id_local?: string;
|
|
93
|
+
emergencias?: UnidadeEmergencia[] | false;
|
|
94
|
+
exames_unidade: boolean;
|
|
95
|
+
resultados_exames: boolean;
|
|
96
|
+
especialidades_unidade: boolean;
|
|
97
|
+
blog_id?: string;
|
|
98
|
+
domain: string;
|
|
99
|
+
path: string;
|
|
100
|
+
site_id: string;
|
|
101
|
+
registered: string;
|
|
102
|
+
last_updated: string;
|
|
103
|
+
public: string;
|
|
104
|
+
archived?: string;
|
|
105
|
+
mature: string;
|
|
106
|
+
spam: string;
|
|
107
|
+
deleted: string;
|
|
108
|
+
lang_id: string;
|
|
109
|
+
name?: string;
|
|
110
|
+
description?: string;
|
|
111
|
+
url?: string;
|
|
112
|
+
admin_email?: string;
|
|
113
|
+
charset?: string;
|
|
114
|
+
version?: string;
|
|
115
|
+
language?: string;
|
|
116
|
+
tipo_unidade?: string;
|
|
117
|
+
categoria_unidade?: string;
|
|
118
|
+
cadastro_de_unidade?: any[];
|
|
119
|
+
unidade_possui_outras_unidades: string[] | string;
|
|
120
|
+
unidade_outras_clinicas_oncologicas?: [
|
|
121
|
+
{
|
|
122
|
+
unidade_outrasclinicas_nome: string;
|
|
123
|
+
unidade_outrasclinicas_url: string;
|
|
124
|
+
unidade_outrasclinicas_uf: string[] | string;
|
|
125
|
+
}
|
|
126
|
+
];
|
|
127
|
+
unidade_oferece_maternidade: boolean;
|
|
128
|
+
unidade_maternidade_nome: string;
|
|
129
|
+
unidade_maternidade_url: string;
|
|
130
|
+
unidade_maternidade_endereco: {
|
|
131
|
+
unidade_maternidade_endereco_endereco: string;
|
|
132
|
+
unidade_maternidade_endereco_cidade: string;
|
|
133
|
+
unidade_maternidade_endereco_uf: string;
|
|
134
|
+
};
|
|
135
|
+
unidade_maternidade_show_site: boolean;
|
|
136
|
+
banners_encontre_farma?: UnidadeEncontreFarma;
|
|
137
|
+
hide_menu_unidades: boolean;
|
|
138
|
+
uses_nova_home?: boolean;
|
|
139
|
+
partnerships: UnidadeNossasMarcas;
|
|
140
|
+
unidade_estilo_whatsapp: UnidadeEstiloWhatsapp;
|
|
141
|
+
unidade_modal_agendamento: UnidadePhoneModal;
|
|
142
|
+
unidade_modal_generico: UnidadePhoneModal;
|
|
143
|
+
general_ctas?: UnidadeCta[];
|
|
144
|
+
side_ctas?: UnidadeCta[];
|
|
145
|
+
entrar_link?: string;
|
|
146
|
+
social_media?: MenuSocialMedia[];
|
|
147
|
+
}
|
|
148
|
+
export interface UnidadeEstiloWhatsapp {
|
|
149
|
+
cor_da_borda: string;
|
|
150
|
+
cor_de_fundo: string;
|
|
151
|
+
cor_fundo_label: string;
|
|
152
|
+
cor_label: string;
|
|
153
|
+
cor_whatsapp: string;
|
|
154
|
+
imagem: any;
|
|
155
|
+
}
|
|
156
|
+
export interface UnidadeCta {
|
|
157
|
+
icon: string;
|
|
158
|
+
text: string;
|
|
159
|
+
url: string;
|
|
160
|
+
}
|
|
161
|
+
export interface UnidadePhoneModal {
|
|
162
|
+
titulo: string;
|
|
163
|
+
texto: string;
|
|
164
|
+
imagem: any;
|
|
165
|
+
}
|
|
166
|
+
export {};
|
|
@@ -0,0 +1,45 @@
|
|
|
1
|
+
import { WpUnidadeSiteDetalhe } from './wp-unidade-site-detalhe.model';
|
|
2
|
+
export interface UnidadeInfo {
|
|
3
|
+
admin_email: string;
|
|
4
|
+
charset: string;
|
|
5
|
+
description: string;
|
|
6
|
+
language: string;
|
|
7
|
+
name: string;
|
|
8
|
+
url: string;
|
|
9
|
+
version: string;
|
|
10
|
+
}
|
|
11
|
+
export interface UnidadeOptions {
|
|
12
|
+
id_motion_unidade: string;
|
|
13
|
+
id_qualidade_unidade: string | number;
|
|
14
|
+
unidade_imagem: string;
|
|
15
|
+
unidade_link_mapa: string;
|
|
16
|
+
unidade_site: string;
|
|
17
|
+
unidade_telefone: string;
|
|
18
|
+
unidade_email?: string;
|
|
19
|
+
consulta: boolean;
|
|
20
|
+
categoria_unidade: string;
|
|
21
|
+
encontre_um_medico: boolean;
|
|
22
|
+
unidade_url_oncologia?: string;
|
|
23
|
+
unidade_oferece_oncologia: string[] | string;
|
|
24
|
+
exames_unidade: boolean;
|
|
25
|
+
especialidades_unidade: boolean;
|
|
26
|
+
unidade_exibir_whatsapp_fab: boolean;
|
|
27
|
+
unidade_exibir_whatsapp_exames?: boolean;
|
|
28
|
+
}
|
|
29
|
+
export interface WpUnidadeSite {
|
|
30
|
+
archived?: string | number;
|
|
31
|
+
blog_id?: string | number;
|
|
32
|
+
deleted?: string | number;
|
|
33
|
+
domain?: string;
|
|
34
|
+
info?: UnidadeInfo;
|
|
35
|
+
lang_id?: string | number;
|
|
36
|
+
last_updated?: string;
|
|
37
|
+
mature?: string | number;
|
|
38
|
+
path?: string;
|
|
39
|
+
public?: string | number;
|
|
40
|
+
registered?: string;
|
|
41
|
+
site_id?: string | number;
|
|
42
|
+
spam?: string | number;
|
|
43
|
+
details?: WpUnidadeSiteDetalhe;
|
|
44
|
+
externo?: boolean;
|
|
45
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from './phone/phone.pipe';
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import { PipeTransform } from '@angular/core';
|
|
2
|
+
import * as i0 from "@angular/core";
|
|
3
|
+
export declare class PhonePipe implements PipeTransform {
|
|
4
|
+
transform(phone: string): string;
|
|
5
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<PhonePipe, never>;
|
|
6
|
+
static ɵpipe: i0.ɵɵPipeDeclaration<PhonePipe, "phone", true>;
|
|
7
|
+
}
|